[gdb/symtab] Handle PU without import in "save gdb-index"
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-04-16 Tom de Vries <tdevries@suse.de>
2
3 PR symtab/25791
4 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5 (ensure_gdb_index): and factor out and move ...
6 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
7 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
8
9 2020-04-16 Tom de Vries <tdevries@suse.de>
10
11 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
12 loading exec.
13
14 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
15
16 * gdb.base/many-completions.exp: New file.
17
18 2020-04-14 Tom de Vries <tdevries@suse.de>
19
20 PR symtab/25718
21 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
22
23 2020-04-14 Tom de Vries <tdevries@suse.de>
24
25 PR symtab/25720
26 * gdb.base/maint-expand-symbols-header-file.c: New test.
27 * gdb.base/maint-expand-symbols-header-file.exp: New file.
28 * gdb.base/maint-expand-symbols-header-file.h: New test.
29
30 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
31
32 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
33 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
34 get_func_info.
35 (get_func_info): Delete.
36 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
37 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
38 * lib/dwarf.exp (get_func_info): New function.
39
40 2020-04-13 Tom de Vries <tdevries@suse.de>
41
42 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
43 to what find_gnatmake does.
44
45 2020-04-10 Tom de Vries <tdevries@suse.de>
46
47 * gdb.base/style.exp: Expect "Expanding full symbols" message for
48 -readnow.
49
50 2020-04-10 Tom de Vries <tdevries@suse.de>
51
52 PR cli/25808
53 * gdb.base/style.c: Add leading newlines.
54 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
55 Check listing of main's one-line body.
56
57 2020-04-08 Tom de Vries <tdevries@suse.de>
58
59 * lib/gdb.exp (psymtabs_p): New proc.
60 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
61 importing unit" unsupported if there are no partial symbols.
62
63 2020-04-08 Tom de Vries <tdevries@suse.de>
64
65 PR testsuite/25760
66 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
67
68 2020-04-07 Tom de Vries <tdevries@suse.de>
69
70 PR symtab/25796
71 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
72
73 2020-04-07 Tom de Vries <tdevries@suse.de>
74
75 * gdb.base/check-psymtab.c: New test.
76 * gdb.base/check-psymtab.exp: New file.
77
78 2020-04-06 Tom Tromey <tromey@adacore.com>
79
80 * gdb.ada/variant-record/proc.adb: New file.
81 * gdb.ada/variant-record/value.adb: New file.
82 * gdb.ada/variant-record/value.s: New file.
83 * gdb.ada/variant-record.exp: New file.
84
85 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
86
87 PR gdb/25325
88 * gdb.cp/typed-enum.cc: New test.
89 * gdb.cp/typed-enum.exp: New file.
90
91 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
94 * gdb.dwarf2/dw2-inline-small-func.c: New file.
95 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
96 * gdb.dwarf2/dw2-inline-small-func.h: New file.
97 * gdb.opt/inline-small-func.c: New file.
98 * gdb.opt/inline-small-func.exp: New file.
99 * gdb.opt/inline-small-func.h: New file.
100
101 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
104 function.
105
106 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * lib/dwarf.exp (function_range): Allow compiler options to be
109 specified.
110
111 2020-04-02 Tom de Vries <tdevries@suse.de>
112
113 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
114 __attribute__((always_inline)).
115 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
116
117 2020-04-02 Tom de Vries <tdevries@suse.de>
118
119 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
120 (gdbserver_gdb_exit): ... here. Add timeout warning.
121 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
122 (connect_target_extended_remote): Append new server_spawn_id to
123 server_spawn_ids.
124 (cleanup): New proc.
125 (setup, <toplevel>): Call cleanup.
126
127 2020-04-02 Tom de Vries <tdevries@suse.de>
128
129 * gdb.base/main-psymtab.exp: New file.
130
131 2020-04-02 Tom de Vries <tdevries@suse.de>
132
133 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
134
135 2020-04-01 Tom Tromey <tom@tromey.com>
136
137 * gdb.base/complex-parts.exp: Add type tests.
138
139 2020-04-01 Tom Tromey <tom@tromey.com>
140
141 * gdb.base/complex-parts.exp: Add arithmetic tests.
142
143 2020-04-01 Tom Tromey <tom@tromey.com>
144
145 * gdb.compile/compile.exp: Update.
146 * gdb.compile/compile-cplus.exp: Update.
147 * gdb.base/varargs.exp: Update.
148 * gdb.base/floatn.exp: Update.
149 * gdb.base/endianity.exp: Update.
150 * gdb.base/callfuncs.exp (do_function_calls): Update.
151 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
152 (complex_float_integral_args): Update.
153 * gdb.base/complex.exp: Update.
154 * gdb.base/complex-parts.exp: Update.
155
156 2020-04-01 Tom Tromey <tromey@adacore.com>
157
158 * gdb.rust/union.rs: New file.
159 * gdb.rust/union.exp: New file.
160 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
161 (main): Update.
162 * gdb.rust/simple.exp: Move union tests to union.exp.
163
164 2020-04-01 Tom Tromey <tromey@adacore.com>
165
166 * gdb.rust/simple.rs (main): Remove "y0".
167
168 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
169
170 * gdb.multi/stop-all-on-exit.c: New test.
171 * gdb.multi/stop-all-on-exit.exp: New file.
172
173 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
174
175 PR gdb/24789
176 * gdb.cp/misc.cc: Add integer reference variable.
177 * gdb.cp/misc.exp: Add test.
178
179 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
180
181 * gdb.server/stop-reply-no-thread.exp: Enhance the test
182 scenario to cover execution until the end and also the case
183
184 2020-03-31 Tom de Vries <tdevries@suse.de>
185
186 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
187 c. Use "maint info symtabs" to check symtab expansion.
188
189 2020-03-30 Tom de Vries <tdevries@suse.de>
190
191 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
192 unsupported.
193 (verify_psymtab_expanded): Move ...
194 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
195 test.
196 (readnow): New proc.
197
198 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
199
200 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
201 with $hex.
202
203 2020-03-20 Tom Tromey <tromey@adacore.com>
204
205 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
206
207 2020-03-20 Tom Tromey <tromey@adacore.com>
208
209 * gdb.ada/sub_variant/subv.adb: New file.
210 * gdb.ada/sub_variant.exp: New file.
211
212 2020-03-20 Tom de Vries <tdevries@suse.de>
213
214 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
215 first break fails.
216 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
217
218 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.server/exit-multiple-threads.c: New file.
221 * gdb.server/exit-multiple-threads.exp: New file.
222
223 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.fortran/mixed-lang-stack.c: New file.
226 * gdb.fortran/mixed-lang-stack.cpp: New file.
227 * gdb.fortran/mixed-lang-stack.exp: New file.
228 * gdb.fortran/mixed-lang-stack.f90: New file.
229
230 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.linespec/cp-completion-aliases.cc: New file.
233 * gdb.linespec/cp-completion-aliases.exp: New file.
234
235 2020-03-19 Tom de Vries <tdevries@suse.de>
236
237 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
238 more precise.
239
240 2020-03-18 Tom de Vries <tdevries@suse.de>
241
242 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
243 * gdb.dwarf2/break-inline-psymtab.c: New test.
244 * gdb.dwarf2/break-inline-psymtab.exp: New file.
245
246 2020-03-16 Tom de Vries <tdevries@suse.de>
247
248 * lib/cache.exp (gdb_do_cache): Add and handle local variables
249 cache_verify and cache_verify_proc.
250
251 2020-03-15 Tom de Vries <tdevries@suse.de>
252
253 * gdb.server/solib-list.exp: Handle
254 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
255
256 2020-03-15 Tom de Vries <tdevries@suse.de>
257
258 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
259 objfiles".
260
261 2020-03-14 Tom Tromey <tom@tromey.com>
262
263 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
264
265 2020-03-14 Tom de Vries <tdevries@suse.de>
266
267 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
268
269 2020-03-14 Tom de Vries <tdevries@suse.de>
270
271 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
272 result in line-by-line fashion.
273
274 2020-03-14 Tom de Vries <tdevries@suse.de>
275
276 * lib/gdb.exp (supports_statement_frontiers): New proc.
277 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
278
279 2020-03-14 Tom de Vries <tdevries@suse.de>
280
281 * gdb.base/printcmds.exp: Add missing quoting for "print
282 teststring2".
283
284 2020-03-13 Tom Tromey <tom@tromey.com>
285
286 * gdb.base/printcmds.exp (test_print_strings): Add regression
287 test.
288 * gdb.base/printcmds.c (charptr): New typedef.
289 (teststring2): New global.
290
291 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.base/break-interp.exp: Use the tail of the filename, not the
294 full path in the test name.
295 (test_ld): Add some with_test_prefix blocks to make test names
296 unique.
297
298 2020-03-13 Tom de Vries <tdevries@suse.de>
299
300 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
301
302 2020-03-13 Tom de Vries <tdevries@suse.de>
303
304 * gdb.mi/mi-sym-info.exp: Make matching more precise.
305
306 2020-03-13 Tom de Vries <tdevries@suse.de>
307
308 PR symtab/25646
309 * gdb.dwarf2/imported-unit.exp: Add test.
310
311 2020-03-13 Tom de Vries <tdevries@suse.de>
312
313 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
314 (var1, var2): New variable.
315 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
316 matching symbols.
317
318 2020-03-13 Tom de Vries <tdevries@suse.de>
319
320 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
321 (Term::command): Use prompt prefix.
322 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
323 * gdb.tui/tui-layout-asm-short-prog.exp: Use
324 command_no_prompt_prefix instead of prefix.
325 * gdb.tui/tui-layout-asm.exp: Same.
326
327 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
328
329 * gdb.base/break-interp.exp: Use foreach_with_prefix.
330
331 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
332
333 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
334 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
335 on" while stepping over the test instruction, match printed
336 message.
337
338 2020-03-12 Tom de Vries <tdevries@suse.de>
339
340 * gdb.base/info-types.exp: Use exp_continue during matching of output
341 of "info types".
342
343 2020-03-12 Tom de Vries <tdevries@suse.de>
344
345 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
346
347 2020-03-12 Tom de Vries <tdevries@suse.de>
348
349 * gdb.fortran/module.exp: Use exp_continue during matching of output
350 of "info variable -n".
351
352 2020-03-12 Tom de Vries <tdevries@suse.de>
353
354 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
355 gdb.dwarf2/dw2-ranges-base.c.
356
357 2020-03-12 Tom de Vries <tdevries@suse.de>
358
359 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
360 in presence of GLIBC debuginfo.
361
362 2020-03-12 Tom de Vries <tdevries@suse.de>
363
364 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
365 $core.
366
367 2020-03-12 Tom de Vries <tdevries@suse.de>
368
369 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
370 more precise.
371
372 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
373
374 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
375 from Unix to Windows path.
376
377 2020-03-11 Tom de Vries <tdevries@suse.de>
378
379 * gdb.ada/minsyms.exp: Set language to ada.
380
381 2020-03-11 Tom de Vries <tdevries@suse.de>
382
383 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
384
385 2020-03-11 Tom de Vries <tdevries@suse.de>
386
387 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
388
389 2020-03-11 Tom Tromey <tromey@adacore.com>
390
391 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
392
393 2020-03-11 Tom de Vries <tdevries@suse.de>
394
395 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
396
397 2020-03-11 Tom de Vries <tdevries@suse.de>
398
399 * gdb.base/break-interp.exp: Limit verbose scope.
400
401 2020-03-11 Tom de Vries <tdevries@suse.de>
402
403 * gdb.fortran/logical.f90: Define variable with character type.
404 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
405
406 2020-03-11 Tom de Vries <tdevries@suse.de>
407
408 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
409
410 2020-03-11 Tom de Vries <tdevries@suse.de>
411
412 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
413 symtabs.
414
415 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
416 Bernd Edlinger <bernd.edlinger@hotmail.de>
417
418 * gdb.cp/step-and-next-inline.cc: New file.
419 * gdb.cp/step-and-next-inline.exp: New file.
420 * gdb.cp/step-and-next-inline.h: New file.
421 * gdb.dwarf2/dw2-is-stmt.c: New file.
422 * gdb.dwarf2/dw2-is-stmt.exp: New file.
423 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
424 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
425 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
426
427 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
430 is-stmt flag in the line table.
431
432 2020-03-09 Tom de Vries <tdevries@suse.de>
433
434 * lib/gdb.exp (cached_file): Create cache dir.
435
436 2020-03-07 Tom de Vries <tdevries@suse.de>
437
438 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
439 * gdb.cp/rvalue-ref-params.exp: Same.
440
441 2020-03-06 Tom de Vries <tdevries@suse.de>
442
443 * lib/gdb.exp (tentative_rename, cached_file): New proc.
444 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
445
446 2020-03-06 Tom de Vries <tdevries@suse.de>
447
448 * README: Fix "the the".
449 * gdb.base/dprintf.exp: Same.
450
451 2020-03-05 Tom de Vries <tdevries@suse.de>
452
453 * gdb.base/maint.exp: Update "main print statistics" expected output.
454
455 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
456
457 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
458 (fortran_int8): Likewise.
459 (fortran_real4): Likewise.
460 (fortran_real8): Likewise.
461 (fortran_complex4): Likewise.
462 (fortran_logical4): Likewise.
463 (fortran_character1): Likewise.
464
465 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
466
467 * gdb.fortran/logical.exp: Add tests that any non-zero value is
468 printed as true.
469
470 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
471
472 * gdb.base/printcmds.exp: Add test to verify printf of a
473 variable holding an address.
474
475 2020-03-03 Tom de Vries <tdevries@suse.de>
476
477 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
478
479 2020-03-03 Tom de Vries <tdevries@suse.de>
480
481 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
482 gdb_test_multiple call.
483
484 2020-03-03 Tom de Vries <tdevries@suse.de>
485
486 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
487 gdb_test_multiple calls.
488
489 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
490
491 * gdb.base/default.exp: Remove test of 'set history filename'.
492 * gdb.base/gdbinit-history.exp: Add tests for setting the history
493 filename to the empty string.
494 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
495 and GDBHISTSIZE.
496
497 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
498
499 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
500 disabled.
501
502 2020-03-02 Pedro Alves <palves@redhat.com>
503 Tom de Vries <tdevries@suse.de>
504
505 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
506 -prompt prefix, before user_code argument. Add -lbl option likewise.
507 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
508 (gdb_is_target_1): Add -prompt prefix and move to before user_code
509 argument.
510 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
511 have "\r\n" at start-of-line, instead of at end-of-line.
512
513 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
514
515 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
516 libinproctrace.so.
517
518 2020-02-28 Luis Machado <luis.machado@linaro.org>
519
520 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
521 to "p/x".
522
523 2020-02-28 Luis Machado <luis.machado@linaro.org>
524
525 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
526 asm/ptrace.h and error.h.
527
528 2020-02-28 Tom de Vries <tdevries@suse.de>
529
530 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
531 (struct wrapper, do_something, mundane/symada__cS): Move ...
532 * gdb.base/c-linkage-name-2.c: ... here. New source file.
533 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
534 Update "print symada__cS before partial symtab expansion" regexp.
535 Update breakpoint location. Flush symbol cache after expansion.
536
537 2020-02-28 Luis Machado <luis.machado@linaro.org>
538
539 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
540
541 2020-02-27 Tom de Vries <tdevries@suse.de>
542
543 * config/sid.exp: Remove unused globals.
544 * gdb.base/attach.exp: Same.
545 * gdb.base/catch-load.exp: Same.
546 * gdb.base/dbx.exp: Same.
547 * lib/gdb.exp: Same.
548 * lib/mi-support.exp: Same.
549 * lib/prompt.exp: Same.
550
551 2020-02-27 Tom de Vries <tdevries@suse.de>
552
553 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
554 not set.
555
556 2020-02-26 Aaron Merey <amerey@redhat.com>
557
558 * gdb.debuginfod: New directory for debuginfod tests.
559 * gdb.debuginfod/main.c: New test file.
560 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
561
562 2020-02-26 Tom de Vries <tdevries@suse.de>
563
564 PR gdb/25603
565 * gdb.base/persistent-lang.cc: New test.
566 * gdb.base/persistent-lang.exp: New file.
567
568 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
569
570 * gdb.fortran/derived-type-striding.exp: Add a new test.
571 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
572 new test.
573
574 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
575
576 * gdb.base/cached-source-file.exp: Avoid source file paths in test
577 names.
578
579 2020-02-25 Tom de Vries <tdevries@suse.de>
580
581 PR go/18926
582 * gdb.go/methods.exp: Remove gcc/93866 xfail.
583
584 2020-02-24 Tom de Vries <tdevries@suse.de>
585
586 PR gdb/25592
587 * gdb.base/info-locals-unused-static-var.c: New test.
588 * gdb.base/info-locals-unused-static-var.exp: New file.
589
590 2020-02-22 Tom Tromey <tom@tromey.com>
591
592 * gdb.python/tui-window.exp: New file.
593 * gdb.python/tui-window.py: New file.
594
595 2020-02-22 Tom Tromey <tom@tromey.com>
596
597 PR tui/17850:
598 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
599 tests.
600
601 2020-02-22 Tom Tromey <tom@tromey.com>
602
603 * gdb.tui/new-layout.exp: Add sub-layout tests.
604
605 2020-02-22 Tom Tromey <tom@tromey.com>
606
607 * gdb.tui/new-layout.exp: New file.
608
609 2020-02-22 Tom Tromey <tom@tromey.com>
610
611 * gdb.rust/rust-style.rs: New file.
612 * gdb.rust/rust-style.exp: New file.
613 * gdb.base/style.exp: Test structure printing.
614 * gdb.base/style.c (struct some_struct): New type.
615 (enum etype): New type.
616 (struct_value): New global.
617
618 2020-02-21 Tom de Vries <tdevries@suse.de>
619
620 PR go/18926
621 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
622 Remove blanket xfails. Use message argument for gdb_breakpoint.
623 Make continuing to breakpoint test conditional on setting breakpoint.
624 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
625 DW_AT_name attribute. Add xfail for GCC PR93866.
626
627 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * gdb.dwarf2/cpp-linkage-name.c: New file.
630 * gdb.dwarf2/cpp-linkage-name.exp: New file.
631
632 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
633
634 * lib/gdb.exp (gdb_wrapper_init): Reset
635 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
636 not exist.
637
638 2020-02-20 Tom de Vries <tdevries@suse.de>
639
640 PR go/17018
641 * gdb.go/hello.exp: Copy ...
642 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
643 print of st to print value of global definition. Add xfail for GCC
644 PR93844.
645 * gdb.go/hello.exp: Remove printing of st before definition.
646 * gdb.go/hello.go: Copy ...
647 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
648 to st.
649 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
650
651 2020-02-20 Tom de Vries <tdevries@suse.de>
652
653 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
654 (gdb_simple_compile): Handle compile_flags go by using .go extension
655 for source file.
656 * gdb.go/chan.exp: Use support_go_compile.
657 * gdb.go/handcall.exp: Same.
658 * gdb.go/hello.exp: Same.
659 * gdb.go/integers.exp: Same.
660 * gdb.go/max-depth.exp: Same.
661 * gdb.go/methods.exp: Same.
662 * gdb.go/package.exp: Same.
663 * gdb.go/strings.exp: Same.
664 * gdb.go/types.exp: Same.
665 * gdb.go/unsafe.exp: Same.
666
667 2020-02-19 Tom de Vries <tdevries@suse.de>
668
669 * gdb.python/lib-types.exp: Make xfail more strict.
670
671 2020-02-19 Tom de Vries <tdevries@suse.de>
672
673 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
674
675 2020-02-19 Doug Evans <dje@google.com>
676
677 PR rust/25535
678 * gdb.rust/simple.exp: Add test.
679 * gdb.rust/simple.rs: Add test.
680
681 2020-02-19 Tom de Vries <tdevries@suse.de>
682
683 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
684 output line-by-line.
685
686 2020-02-19 Tom de Vries <tdevries@suse.de>
687
688 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
689
690 2020-02-19 Tom de Vries <tdevries@suse.de>
691
692 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
693 prelink.
694
695 2020-02-19 Tom de Vries <tdevries@suse.de>
696
697 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
698 (gdb_do_cache): Use gdb_do_cache_wrap.
699 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
700
701 2020-02-19 Tom de Vries <tdevries@suse.de>
702
703 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
704 gdb_compile option.
705
706 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
707
708 * gdb.base/printcmds.exp (test_print_enums): Update expected
709 output.
710
711 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
712
713 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
714 for "unknown".
715
716 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
717
718 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
719 enumerator.
720
721 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
722
723 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
724 FE_, add FE_NONE.
725 (three): Update.
726 (enum flag_enum_without_zero): New enum.
727 (flag_enum_without_zero): New variable.
728 (enum not_flag_enum): New enum.
729 (three_not_flag): New variable.
730 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
731 (test_print_enums): Add more tests for printing flag enums.
732
733 2020-02-18 Tom de Vries <tdevries@suse.de>
734
735 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
736 (gdb_compile_ada): ... here.
737 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
738 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
739
740 2020-02-14 Tom Tromey <tom@tromey.com>
741
742 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
743 build directory.
744 * boards/gdbserver-base.exp: Update path to gdbserver.
745
746 2020-02-13 Tom de Vries <tdevries@suse.de>
747
748 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
749
750 2020-02-13 Tom de Vries <tdevries@suse.de>
751
752 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
753 are missing.
754
755 2020-02-13 Tom de Vries <tdevries@suse.de>
756
757 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
758 call.
759
760 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
761
762 PR tui/25126
763 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
764 * gdb.base/cached-source-file.c: New file.
765 * gdb.base/cached-source-file.exp: New file.
766
767 2020-02-11 Tom de Vries <tdevries@suse.de>
768
769 PR testsuite/25488
770 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
771
772 2020-02-10 Tom de Vries <tdevries@suse.de>
773
774 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
775
776 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
777
778 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
779 and $after_addr are both integers before making a comparison.
780
781 2020-02-09 Tom de Vries <tdevries@suse.de>
782
783 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
784 command output and paste it into gdb.log. If any, paste catch message
785 to gdb.log.
786
787 2020-02-07 Tom Tromey <tromey@adacore.com>
788
789 PR breakpoints/24915:
790 * gdb.base/annotate-symlink.exp: Use setup_xfail.
791
792 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
793
794 * gdb.tui/tui-missing-src.exp: Add the "missing source
795 file" test for the TUI.
796
797 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
800 including a port number in the output.
801
802 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
803
804 * lib/fortran.exp (fortran_int4): Handle clang.
805 (fortran_int8): Likewise.
806 (fortran_real4): Likewise.
807 (fortran_real8): Likewise.
808 (fortran_complex4): Likewise.
809 (fortran_logical4): Likewise.
810 (fortran_character1): Likewise.
811
812 2020-02-04 Tom de Vries <tdevries@suse.de>
813
814 * README (Race detection): Add note.
815
816 2020-02-04 Tom de Vries <tdevries@suse.de>
817
818 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
819
820 2020-02-04 Tom de Vries <tdevries@suse.de>
821
822 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
823
824 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
825
826 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
827 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
828 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
829 blttar, bnetarl.
830 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
831 binary for blttar, bnetarl.
832 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
833 wait instruction. Delete ldmx test.
834 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
835
836 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
837
838 * gdb.fortran/array-bounds-high.exp: New file.
839 * gdb.fortran/array-bounds-high.f90: New file.
840
841 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
842
843 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
844 Replace #include of <sys/fcntl.h> by <fcntl.h>.
845
846 2020-02-01 Tom de Vries <tdevries@suse.de>
847
848 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
849
850 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
851
852 PR tui/9765
853 * gdb.tui/tui-layout-asm-short-prog.S: New file.
854 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
855
856 2020-01-29 Luis Machado <luis.machado@linaro.org>
857
858 * gdb.arch/aarch64-brk-patterns.c: New source file.
859 * gdb.arch/aarch64-brk-patterns.exp: New test.
860
861 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
862
863 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
864 GCC/Clang version.
865 * gdb.cp/pass-by-ref.exp: Ditto.
866
867 2020-01-29 Tom de Vries <tdevries@suse.de>
868
869 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
870 * gdb.threads/watchpoint-fork-mt.c: Same.
871 * gdb.threads/watchpoint-fork-parent.c: Same.
872 * gdb.threads/watchpoint-fork-st.c: Same.
873 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
874
875 2020-01-27 Luis Machado <luis.machado@linaro.org>
876
877 * gdb.base/step-over-syscall.exp (setup): Check if we're already
878 sitting at a syscall instruction when we hit the syscall function's
879 breakpoint.
880 Check PC against one obtained with the x command.
881 Validate syscall number.
882 (step_over_syscall): Don't continue to the syscall instruction if
883 we're already there.
884
885 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
886
887 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
888
889 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
892 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
893
894 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * gdb.dwarf2/dw2-inline-stepping.c: New file.
897 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
898
899 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.base/maint.exp: Update line table parsing test.
902 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
903
904 2020-01-24 Pedro Alves <palves@redhat.com>
905
906 PR gdb/25410
907 * gdb.multi/multi-re-run-1.c: New.
908 * gdb.multi/multi-re-run-2.c: New.
909 * gdb.multi/multi-re-run.exp: New.
910
911 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 PR gdb/23718
914 * gdb.server/server-kill-python.exp: New file.
915
916 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
917
918 * gdb.server/multi-ui-errors.c: New file.
919 * gdb.server/multi-ui-errors.exp: New file.
920
921 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
922
923 PR tui/9765
924 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
925
926 2020-01-19 Tom Tromey <tom@tromey.com>
927
928 * gdb.tui/main.exp: Add check for plain "file".
929
930 2020-01-16 Christian Biesinger <cbiesinger@google.com>
931
932 * lib/gdb.exp: Fix spelling error (seperatelly).
933
934 2020-01-14 Tom Tromey <tom@tromey.com>
935
936 PR symtab/12535:
937 * gdb.python/python.exp: Test decode_line with empty string
938 argument.
939
940 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
941
942 * gdb.base/skip-inline.exp: Extend test.
943
944 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
947 * gdb.dwarf2/dw2-bad-elf.c: New file.
948 * gdb.dwarf2/dw2-bad-elf.exp: New file.
949
950 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
951
952 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
953 _line_saw_file.
954
955 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
958 border.
959
960 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
961
962 * gdb.multi/multi-target.exp (setup): Factor out "info
963 connections" and "info inferiors" tests to ...
964 (test_info_inferiors): ... this new procedure.
965 (top level): Run new "info-inferiors" tests.
966
967 2020-01-10 Pedro Alves <palves@redhat.com>
968
969 * gdb.server/bkpt-other-inferior.exp: New file.
970
971 2020-01-10 Pedro Alves <palves@redhat.com>
972
973 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
974 of "add-inferior".
975 * gdb.base/quit-live.exp: Likewise.
976 * gdb.base/remote-exec-file.exp: Likewise.
977 * gdb.guile/scm-progspace.exp: Likewise.
978 * gdb.linespec/linespec.exp: Likewise.
979 * gdb.mi/new-ui-mi-sync.exp: Likewise.
980 * gdb.mi/user-selected-context-sync.exp: Likewise.
981 * gdb.multi/multi-target.exp (setup): Add "info connection" and
982 "info inferiors" tests.
983 * gdb.multi/remove-inferiors.exp: Adjust expected output of
984 "add-inferior".
985 * gdb.multi/watchpoint-multi.exp: Likewise.
986 * gdb.python/py-inferior.exp: Likewise.
987 * gdb.server/extended-remote-restart.exp: Likewise.
988 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
989 "info inferiors".
990 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
991 * gdb.trace/report.exp: Likewise.
992
993 2020-01-10 Pedro Alves <palves@redhat.com>
994
995 * gdb.multi/multi-target.c: New file.
996 * gdb.multi/multi-target.exp: New file.
997 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
998 mode requested, but remote does not support non-stop".
999
1000 2020-01-10 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1003 disconnect before reconnecting.
1004
1005 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1006 Pedro Alves <palves@redhat.com>
1007
1008 * gdb.server/connect-without-multi-process.exp: Also test
1009 continuing to end.
1010
1011 2020-01-10 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/remote-exec-file.exp: New file.
1014
1015 2020-01-10 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1018 output.
1019 * gdb.threads/async.c: New.
1020 * gdb.threads/async.exp: New.
1021 * gdb.multi/tids-gid-reset.c: New.
1022 * gdb.multi/tids-gid-reset.exp: New.
1023
1024 2020-01-10 George Barrett <bob@bob131.so>
1025
1026 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1027 to help in finding the image relocation offset.
1028 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1029 options in arguments.
1030 (stap_test_no_debuginfo): Likewise.
1031 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1032 test variants.
1033 (stap_test): Add null semaphore relocation test.
1034
1035 2020-01-10 George Barrett <bob@bob131.so>
1036
1037 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1038 * gdb.base/stap-probe.exp: Likewise.
1039 (stap_test): Pass argument as an additional flag.
1040 (stap_test_no_debuginfo): Likewise.
1041 (stap_test): Check `info probes stap' output for semaphore
1042 addresses if the test binary is supposed to have them.
1043
1044 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * gdb.tui/basic.exp: Add more scrolling tests.
1047
1048 2020-01-09 Tom Tromey <tom@tromey.com>
1049
1050 PR tui/18932:
1051 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1052 meangingful value.
1053 (Term::command, Term::resize): Update.
1054 * gdb.tui/basic.exp: Add scrolling test.
1055
1056 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1057
1058 * gdb.tui/tui-layout-asm.exp: New file.
1059
1060 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1061
1062 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1063
1064 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1067 (Term::enter_tui): Use Term::prepare_for_tui.
1068
1069 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1072 called.
1073
1074 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1075
1076 * gdb.base/skip.exp: Fix race condition in test.
1077
1078 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1079
1080 * gdb.base/backtrace.c: New file.
1081 * gdb.base/backtrace.exp: New file.
1082
1083 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1086
1087 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1088
1089 * gdb.base/style.exp: Test that warnings are styled.
1090
1091 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1092
1093 * gdb.base/line65535.exp: New file.
1094 * gdb.base/line65535.c: New file.
1095
1096 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1097
1098 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1099 * lib/gnat_debug_info_test.adb: New file.
1100 * gdb.ada/ptype_tagged_param.exp: Use
1101 gnat_runtime_has_debug_info, expect a different output if
1102 runtime does not have debug info.
1103
1104 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1105
1106 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1107 (another) quote in test name.
1108
1109 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1110
1111 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1112 Add quote in test name.
1113
1114 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1115
1116 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1117 directory instead.
1118 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1119 * gdb.cp/pass-by-ref-2.cc: New file.
1120 * gdb.cp/pass-by-ref-2.exp: New file.
1121
1122 2019-12-20 Tom Tromey <tom@tromey.com>
1123
1124 * gdb.tui/list-before.exp: New file.
1125
1126 2019-12-20 Tom Tromey <tom@tromey.com>
1127
1128 * gdb.tui/list.exp: Check for source on initial listing.
1129
1130 2019-12-11 Tom Tromey <tromey@adacore.com>
1131
1132 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1133 Add crlf test.
1134
1135 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1136
1137 * gdb.base/default.exp: Update value of $_gdb_major.
1138
1139 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1140
1141 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1142
1143 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1144
1145 * gdb.base/skip.exp: Whitespace fix.
1146
1147 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1148
1149 * gdb.base/skip-inline.c: New file.
1150 * gdb.base/skip-inline.exp: New file.
1151
1152 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1153
1154 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1155 jit_function_00 to jit_function_stack_mangle.
1156 * gdb.base/jithost.c (jit_function_t): Rename to...
1157 (jit_function_stack_mangle_t): ... this.
1158 (jit_function_add_t): New typedef.
1159 (jit_function_00_code): Rename to...
1160 (jit_function_stack_mangle_code): ... this, make static.
1161 (jit_function_add_code): New.
1162 (main): Generate "add" function and call it. Adjust to changes
1163 in jithost_abi.
1164 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1165 (struct jithost_abi) <begin, end>: Remove fields.
1166 <object, function_stack_mangle, function_add>: New fields.
1167 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1168 code_end>: Remove fields.
1169 <func_stack_mangle>: New field.
1170 (read_debug_info): Adjust to renaming, create block for "add"
1171 function.
1172 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1173
1174 2019-12-11 Tom Tromey <tom@tromey.com>
1175
1176 * gdb.tui/resize.exp: Fix regexp.
1177 * gdb.tui/regs.exp: Fix regexps.
1178 * gdb.tui/main.exp: Fix regexp.
1179
1180 2019-12-11 Tom Tromey <tom@tromey.com>
1181
1182 * gdb.tui/resize.exp: Update.
1183 * gdb.tui/empty.exp (layouts): Update.
1184
1185 2019-12-11 Tom Tromey <tom@tromey.com>
1186
1187 * gdb.tui/regs.exp: Update.
1188 * gdb.tui/empty.exp (layouts): Update.
1189 * gdb.tui/basic.exp: Update.
1190 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1191
1192 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1193
1194 * gdb.base/options.exp: Add -raw-values in the print completion list.
1195 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1196
1197 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1198
1199 * gdb.threads/omp-par-scope.c: New file.
1200 * gdb/threads/omp-par-scope.exp: New file.
1201
1202 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1203
1204 * lib/gdb.exp (support_nested_function_tests): New proc.
1205
1206 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1207
1208 * lib/gdb.exp (gdb_compile_openmp): New proc.
1209 (build_executable_from_specs): Add an "openmp" option.
1210 (gdb_compile_pthreads): Add non-executable case.
1211
1212 2019-12-10 Tom Tromey <tromey@adacore.com>
1213
1214 * gdb.ada/unchecked_union.exp: New file.
1215 * gdb.ada/unchecked_union/pck.adb: New file.
1216 * gdb.ada/unchecked_union/pck.ads: New file.
1217 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1218 * gdb-utils.exp (string_to_regexp): Also quote "?".
1219
1220 2019-12-10 George Barrett <bob@bob131.so>
1221
1222 Test scripted probe breakpoints.
1223 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1224 * gdb.python/py-breakpoint.c (main): Likewise.
1225 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1226 specifier test.
1227 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1228
1229 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1230
1231 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1232 an rvalue parameter.
1233 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1234 parameter.
1235
1236 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1237
1238 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1239 modules.
1240
1241 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1242
1243 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1244 broken version of GCC.
1245
1246 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1247
1248 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1249 sym-info-cmds library.
1250 * gdb.fortran/info-types.exp: Likewise.
1251 * lib/sym-info-cmds.exp: New file.
1252
1253 2019-12-08 Tom de Vries <tdevries@suse.de>
1254
1255 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1256
1257 2019-12-07 Keith Seitz <keiths@redhat.com>
1258
1259 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1260 * gdb.base/corefile-buildid-shlib.c: New file.
1261 * gdb.base/corefile-buildid.c: New file.
1262 * gdb.base/corefile-buildid.exp: New file.
1263
1264 2019-12-06 Tom de Vries <tdevries@suse.de>
1265
1266 * gdb.dwarf2/varval.exp: Add decl before def test.
1267
1268 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1269
1270 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1271
1272 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1273
1274 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1275 CV and reference conversion for overload resolution.
1276 * gdb.cp/rvalue-ref-overload.exp: Test it.
1277
1278 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1279
1280 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1281 * gdb.base/frameapply.exp: Test faas without command.
1282
1283 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1284
1285 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1286 Fortran tests.
1287 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1288 order.
1289
1290 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1291
1292 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1293 casting to type with no kind specified.
1294 (test_basic_parsing_of_type_kinds): Additional tests for types
1295 with no kind specified, and add tests for single/double
1296 precision/complex types.
1297
1298 2019-12-04 Tom Tromey <tromey@adacore.com>
1299
1300 * gdb.base/endianity.c (struct other) <x>: New field.
1301 (main): Initialize it.
1302 * gdb.base/endianity.exp: Update.
1303
1304 2019-12-04 Tom Tromey <tromey@adacore.com>
1305
1306 * gdb.ada/scalar_storage/storage.adb: New file.
1307 * gdb.ada/scalar_storage/pck.adb: New file.
1308 * gdb.ada/scalar_storage/pck.ads: New file.
1309 * gdb.ada/scalar_storage.exp: New file.
1310
1311 2019-12-04 Tom Tromey <tromey@adacore.com>
1312
1313 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1314 (main): Initialize it.
1315 * gdb.base/endianity.exp: Update.
1316
1317 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1318
1319 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1320
1321 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1322
1323 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1324 -symbol-info-module-functions and -symbol-info-module-variables.
1325
1326 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1327
1328 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1329
1330 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1331 Andrew Burgess <andrew.burgess@embecosm.com>
1332
1333 * gdb.fortran/derived-type-striding.exp: New file.
1334 * gdb.fortran/derived-type-striding.f90: New file.
1335 * gdb.fortran/array-slices.exp: New file.
1336 * gdb.fortran/array-slices.f90: New file.
1337
1338 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1339
1340 * gdb.base/define.exp: Test . in command names.
1341 * gdb.base/setshow.exp: Update test, as . is now part of
1342 command name.
1343
1344 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1345
1346 * gdb.base/define-prefix.exp: New file.
1347
1348 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1349
1350 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1351 compile.
1352 (skip_btrace_pt_tests): Likewise.
1353
1354 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1355
1356 * gdb.fortran/info-modules.exp: Compile source files in correct
1357 order.
1358
1359 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1360
1361 * gdb.dwarf2/imported-unit.exp: New file.
1362 * gdb.dwarf2/imported-unit.c: New file.
1363
1364 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1365
1366 * gdb.mi/mi-fortran-modules-2.f90: New file.
1367 * gdb.mi/mi-fortran-modules.exp: New file.
1368 * gdb.mi/mi-fortran-modules.f90: New file.
1369
1370 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1371
1372 * gdb.mi/mi-sym-info-1.c: New file.
1373 * gdb.mi/mi-sym-info-2.c: New file.
1374 * gdb.mi/mi-sym-info.exp: New file.
1375
1376 2019-11-22 Tom Tromey <tromey@adacore.com>
1377
1378 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1379 * gdb.ada/tasks/foo.adb: Add another stopping location.
1380
1381 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1382
1383 * gdb.base/endianity.c: New test.
1384 * gdb.base/endianity.exp: New file.
1385
1386 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1387
1388 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1389
1390 2019-11-21 Tom de Vries <tdevries@suse.de>
1391
1392 PR gdb/24956
1393 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1394
1395 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1396
1397 * gdb.python/py-progspace.exp: Add missing parentheses on some
1398 'print' commands.
1399
1400 2019-11-19 Tom Tromey <tom@tromey.com>
1401
1402 * gdb.tui/winheight.exp: New file.
1403
1404 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1405
1406 * gdb.base/ctf-whatis.c: Delete.
1407 * gdb.base/ctf-whatis.exp: Delete.
1408 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1409
1410 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.base/ctf-cvexpr.exp: Delete.
1413 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1414
1415 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1416
1417 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1418 the compiler. Clean up header comment a little.
1419 * gdb.base/ctf-ptype.exp: Likewise.
1420 * gdb.base/ctf-whatis.exp: Likewise.
1421 * lib/gdb.exp (skip_ctf_tests): New proc.
1422
1423 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1424
1425 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1426 * gdb.tui/corefile-run.exp: New file.
1427
1428 2019-11-14 Tom Tromey <tromey@adacore.com>
1429
1430 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1431 regression tests.
1432
1433 2019-11-12 Tom Tromey <tom@tromey.com>
1434
1435 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1436 after any command. Expect prompt after WAIT_FOR is seen.
1437 (enter_tui): Enable resize messages.
1438 (command): Expect command in output.
1439 (get_line): Avoid error when cursor appears to be off-screen.
1440 (dump_screen): Include screen size in title.
1441 (_do_resize): New proc, from "resize".
1442 (resize): Rewrite. Do resize in two steps.
1443 * gdb.tui/empty.exp (layouts): Fix entries.
1444 (check_boxes): Remove xfail.
1445 (check_text): Dump screen on failure.
1446
1447 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.python/py-symbol.exp: Add test for
1450 gdb.lookup_static_symbols.
1451
1452 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.python/py-symbol.c: Declare and call function from new
1455 py-symbol-2.c file.
1456 * gdb.python/py-symbol.exp: Compile both source files, and add new
1457 tests for gdb.lookup_static_symbol.
1458 * gdb.python/py-symbol-2.c: New file.
1459
1460 2019-11-02 Tom de Vries <tdevries@suse.de>
1461
1462 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1463 * gdb.base/anon.exp: Same.
1464 * gdb.base/auto-connect-native-target.exp: Same.
1465 * gdb.base/call-ar-st.exp: Same.
1466 * gdb.base/catch-syscall.exp: Same.
1467 * gdb.base/commands.exp: Same.
1468 * gdb.base/default.exp: Same.
1469 * gdb.base/display.exp: Same.
1470 * gdb.base/float.exp: Same.
1471 * gdb.base/foll-fork.exp: Same.
1472 * gdb.base/help.exp: Same.
1473 * gdb.base/info-macros.exp: Same.
1474 * gdb.base/info-proc.exp: Same.
1475 * gdb.base/info-target.exp: Same.
1476 * gdb.base/long_long.exp: Same.
1477 * gdb.base/macscp.exp: Same.
1478 * gdb.base/memattr.exp: Same.
1479 * gdb.base/nofield.exp: Same.
1480 * gdb.base/pointers.exp: Same.
1481 * gdb.base/printcmds.exp: Same.
1482 * gdb.base/ptype.exp: Same.
1483 * gdb.base/restore.exp: Same.
1484 * gdb.base/return.exp: Same.
1485 * gdb.base/scope.exp: Same.
1486 * gdb.base/set-noassign.exp: Same.
1487 * gdb.base/setshow.exp: Same.
1488 * gdb.base/shlib-call.exp: Same.
1489 * gdb.base/signals.exp: Same.
1490 * gdb.base/sigstep.exp: Same.
1491 * gdb.base/skip.exp: Same.
1492 * gdb.base/solib-symbol.exp: Same.
1493 * gdb.base/stap-probe.exp: Same.
1494 * gdb.base/step-line.exp: Same.
1495 * gdb.base/step-test.exp: Same.
1496 * gdb.base/style.exp: Same.
1497 * gdb.base/varargs.exp: Same.
1498 * gdb.base/vla-datatypes.exp: Same.
1499 * gdb.base/vla-ptr.exp: Same.
1500 * gdb.base/vla-sideeffect.exp: Same.
1501 * gdb.base/volatile.exp: Same.
1502 * gdb.base/watch-cond-infcall.exp: Same.
1503 * gdb.base/watchpoint.exp: Same.
1504
1505 2019-11-02 Tom de Vries <tdevries@suse.de>
1506
1507 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1508 * gdb.cp/cpexprs.exp: Same.
1509 * gdb.cp/except-multi-location.exp: Same.
1510 * gdb.cp/exceptprint.exp: Same.
1511 * gdb.cp/gdb2384.exp: Same.
1512 * gdb.cp/inherit.exp: Same.
1513 * gdb.cp/m-static.exp: Same.
1514 * gdb.cp/meth-typedefs.exp: Same.
1515 * gdb.cp/misc.exp: Same.
1516 * gdb.cp/namespace.exp: Same.
1517 * gdb.cp/non-trivial-retval.exp: Same.
1518 * gdb.cp/overload.exp: Same.
1519 * gdb.cp/pr17132.exp: Same.
1520 * gdb.cp/re-set-overloaded.exp: Same.
1521 * gdb.cp/rvalue-ref-types.exp: Same.
1522 * gdb.cp/templates.exp: Same.
1523
1524 2019-11-01 Luis Machado <luis.machado@linaro.org>
1525
1526 PR gdb/25124
1527
1528 * gdb.arch/pr25124.S: New file.
1529 * gdb.arch/pr25124.exp: New file.
1530
1531 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1532
1533 * gdb.fortran/info-modules.exp: Update expected results, and add
1534 additional tests for 'info module functinos', and 'info module
1535 variables'.
1536 * gdb.fortran/info-types.exp: Update expected results.
1537 * gdb.fortran/info-types.f90: Extend testcase with additional
1538 module variables and functions.
1539
1540 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * gdb.fortran/info-modules.exp: New file.
1543 * gdb.fortran/info-types.exp: Build with new file.
1544 * gdb.fortran/info-types.f90: Include and use new module.
1545 * gdb.fortran/info-types-2.f90: New file.
1546
1547 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1548
1549 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1550 * gdb.base/settings.exp: Test all settings types using
1551 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1552 that now verifies that the value of "maint show" is the same as
1553 returned by the settings functions. Test the type of the
1554 maintenance settings.
1555 * gdb.base/default.exp: Update show_conv_list.
1556
1557 2019-10-31 Tom de Vries <tdevries@suse.de>
1558
1559 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1560 gdb_test.
1561 * gdb.arch/amd64-disp-step.exp: Same.
1562 * gdb.asm/asm-source.exp: Same.
1563 * gdb.btrace/buffer-size.exp: Same.
1564 * gdb.btrace/cpu.exp: Same.
1565 * gdb.btrace/enable.exp: Same.
1566 * gdb.dwarf2/count.exp: Same.
1567 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1568 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1569 * gdb.fortran/vla-datatypes.exp: Same.
1570 * gdb.fortran/vla-history.exp: Same.
1571 * gdb.fortran/vla-ptype.exp: Same.
1572 * gdb.fortran/vla-value.exp: Same.
1573 * gdb.fortran/whatis_type.exp: Same.
1574 * gdb.guile/guile.exp: Same.
1575 * gdb.multi/tids.exp: Same.
1576 * gdb.python/py-finish-breakpoint.exp: Same.
1577 * gdb.python/py-framefilter.exp: Same.
1578 * gdb.python/py-pp-registration.exp: Same.
1579 * gdb.python/py-xmethods.exp: Same.
1580 * gdb.python/python.exp: Same.
1581 * gdb.server/connect-with-no-symbol-file.exp: Same.
1582 * gdb.server/no-thread-db.exp: Same.
1583 * gdb.server/run-without-local-binary.exp: Same.
1584 * gdb.stabs/weird.exp: Same.
1585 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1586 * gdb.threads/thread-find.exp: Same.
1587 * gdb.threads/tls-shared.exp: Same.
1588 * gdb.threads/tls.exp: Same.
1589 * gdb.threads/wp-replication.exp: Same.
1590 * gdb.trace/ax.exp: Same.
1591 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1592
1593 2019-10-31 Tom de Vries <tdevries@suse.de>
1594
1595 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1596 * gdb.ada/array_subscript_addr.exp: Same.
1597 * gdb.ada/arrayidx.exp: Same.
1598 * gdb.ada/arrayparam.exp: Same.
1599 * gdb.ada/arrayptr.exp: Same.
1600 * gdb.ada/boolean_expr.exp: Same.
1601 * gdb.ada/call_pn.exp: Same.
1602 * gdb.ada/complete.exp: Same.
1603 * gdb.ada/fixed_cmp.exp: Same.
1604 * gdb.ada/fun_addr.exp: Same.
1605 * gdb.ada/funcall_param.exp: Same.
1606 * gdb.ada/interface.exp: Same.
1607 * gdb.ada/mod_from_name.exp: Same.
1608 * gdb.ada/null_array.exp: Same.
1609 * gdb.ada/packed_array.exp: Same.
1610 * gdb.ada/packed_tagged.exp: Same.
1611 * gdb.ada/print_chars.exp: Same.
1612 * gdb.ada/print_pc.exp: Same.
1613 * gdb.ada/ptype_arith_binop.exp: Same.
1614 * gdb.ada/ptype_field.exp: Same.
1615 * gdb.ada/ptype_tagged_param.exp: Same.
1616 * gdb.ada/rec_return.exp: Same.
1617 * gdb.ada/ref_tick_size.exp: Same.
1618 * gdb.ada/str_ref_cmp.exp: Same.
1619 * gdb.ada/taft_type.exp: Same.
1620 * gdb.ada/tagged.exp: Same.
1621 * gdb.ada/type_coercion.exp: Same.
1622 * gdb.ada/uninitialized_vars.exp: Same.
1623
1624 2019-10-30 Tom de Vries <tdevries@suse.de>
1625
1626 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1627
1628 2019-10-26 Tom de Vries <tdevries@suse.de>
1629
1630 * gdb.base/bigcore.c: Fix typos in comments.
1631 * gdb.base/ctf-ptype.c: Same.
1632 * gdb.base/long_long.c: Same.
1633 * gdb.dwarf2/dw2-op-out-param.S: Same.
1634 * gdb.python/py-evthreads.c: Same.
1635 * gdb.reverse/i387-stack-reverse.c: Same.
1636 * gdb.trace/tfile.c: Same.
1637 * lib/compiler.c: Same.
1638 * lib/compiler.cc: Same.
1639
1640 2019-10-25 Tom de Vries <tdevries@suse.de>
1641
1642 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1643 gdb_test_multiple calls.
1644 * gdb.reverse/sigall-reverse.exp: Same.
1645 * gdb.reverse/solib-precsave.exp: Same.
1646 * gdb.reverse/solib-reverse.exp: Same.
1647 * gdb.reverse/until-precsave.exp: Same.
1648 * gdb.reverse/until-reverse.exp: Same.
1649
1650 2019-10-24 Tom de Vries <tdevries@suse.de>
1651
1652 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1653 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1654 kfail using -wrap pattern flag and convenience variable
1655 gdb_test_name.
1656
1657 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.python/py-progspace.exp: Add tests for the
1660 Progspace.block_for_pc method.
1661
1662 2019-10-23 Tom Tromey <tom@tromey.com>
1663
1664 * configure: Rebuild.
1665 * aclocal.m4: Use m4_include, not sinclude.
1666
1667 2019-10-21 Tom de Vries <tdevries@suse.de>
1668
1669 * gdb.base/infcall-nested-structs.c: Add
1670 __attribute__((noinline,noclone)) to all functions.
1671 (call_all): Add missing variable initialization. Simplify return value.
1672 (breakpt): Increment volatile variable, to prevent call from being
1673 optimized out.
1674 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1675
1676 2019-10-17 Tom de Vries <tdevries@suse.de>
1677
1678 * gdb.fortran/module.exp: Allow info variables to print info for files
1679 other than module.f90.
1680
1681 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1682
1683 * gdb.fortran/module.exp: Extend with 'info variables' test.
1684
1685 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1686
1687 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1688 F77_FOR_TARGET.
1689
1690 2019-10-16 Tom de Vries <tdevries@suse.de>
1691
1692 PR tdep/25096
1693 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1694
1695 2019-10-16 Tom de Vries <tdevries@suse.de>
1696
1697 PR tdep/24104
1698 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1699 Add KFAIL for PR tdep/25096.
1700
1701 2019-10-16 Tom de Vries <tdevries@suse.de>
1702
1703 PR testsuite/25059
1704 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1705
1706 2019-10-16 Tom de Vries <tdevries@suse.de>
1707
1708 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1709 as signed.
1710
1711 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1712
1713 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1714 one instead of increasing timeout.
1715
1716 2019-10-13 Tom de Vries <tdevries@suse.de>
1717
1718 PR record/25038
1719 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1720 * gdb.reverse/sigall-reverse.exp: Same.
1721 * gdb.reverse/solib-precsave.exp: Same.
1722 * gdb.reverse/solib-reverse.exp: Same.
1723 * gdb.reverse/step-precsave.exp: Same.
1724 * gdb.reverse/until-precsave.exp: Same.
1725 * gdb.reverse/until-reverse.exp: Same.
1726 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1727
1728 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1729
1730 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1731 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1732 (cmp_struct_05_01, cmp_struct_static_02_01)
1733 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1734 comparisons.
1735
1736 2019-10-10 Tom de Vries <tdevries@suse.de>
1737
1738 PR testsuite/24888
1739 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1740 gnatlink.
1741
1742 2019-10-09 Tom de Vries <tdevries@suse.de>
1743
1744 PR testsuite/25048
1745 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1746
1747 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1748
1749 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1750 exceptions due to missing debug information.
1751
1752 2019-10-07 Tom de Vries <tdevries@suse.de>
1753
1754 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1755
1756 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1759 * gdb.base/annota1.exp: Update to use gdb_test_name.
1760
1761 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1762
1763 * gdb.base/ctf-whatis.exp: New file.
1764 * gdb.base/ctf-whatis.c: New file.
1765 * gdb.base/ctf-ptype.exp: New file.
1766 * gdb.base/ctf-ptype.c: New file.
1767 * gdb.base/ctf-constvars.exp: New file.
1768 * gdb.base/ctf-constvars.c: New file.
1769 * gdb.base/ctf-cvexpr.exp: New file.
1770
1771 2019-10-04 Tom de Vries <tdevries@suse.de>
1772
1773 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1774 for loop.
1775
1776 2019-10-03 Tom Tromey <tom@tromey.com>
1777
1778 PR rust/24976:
1779 * gdb.rust/simple.rs (Union2): New type.
1780 (main): Use Union2.
1781 * gdb.rust/simple.exp: Add test.
1782
1783 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1784
1785 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1786 nested function prefix.
1787
1788 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1789 Richard Bunt <richard.bunt@arm.com>
1790 Andrew Burgess <andrew.burgess@embecosm.com>
1791
1792 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1793 nested functions.
1794 * gdb.fortran/nested-funcs.f90: Update expected results.
1795 * gdb.fortran/nested-funcs-2.exp: New file.
1796 * gdb.fortran/nested-funcs-2.f90: New file.
1797
1798 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.python/py-parameter.exp: Make test names unique.
1801 * gdb.python/py-template.exp: Likewise.
1802 * gdb.python/py-value.exp: Likewise.
1803
1804 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1805
1806 * gdb.base/break-interp.exp: Reduce test name duplication.
1807 * gdb.base/call-sc.exp: Likewise.
1808 * gdb.base/callfuncs.exp: Likewise.
1809 * gdb.base/charset.exp: Likewise.
1810 * gdb.base/dump.exp: Likewise.
1811 * gdb.base/ena-dis-br.exp: Likewise.
1812 * gdb.base/relational.exp: Likewise.
1813 * gdb.base/step-over-syscall.exp: Likewise.
1814 * gdb.base/structs.exp: Likewise.
1815
1816 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1817
1818 * gdb.linespec/explicit.exp: Make test names unique.
1819 * gdb.linespec/ls-errs.exp: Likewise.
1820
1821 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * gdb.reverse/break-precsave.exp: Make test names unique.
1824 * gdb.reverse/break-reverse.exp: Likewise.
1825 * gdb.reverse/finish-precsave.exp: Likewise.
1826 * gdb.reverse/finish-reverse.exp: Likewise.
1827 * gdb.reverse/machinestate-precsave.exp: Likewise.
1828 * gdb.reverse/machinestate.exp: Likewise.
1829 * gdb.reverse/readv-reverse.exp: Likewise.
1830 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1831 * gdb.reverse/sigall-precsave.exp: Likewise.
1832 * gdb.reverse/sigall-reverse.exp: Likewise.
1833 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1834 * gdb.reverse/watch-precsave.exp: Likewise.
1835 * gdb.reverse/watch-reverse.exp: Likewise.
1836
1837 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1838
1839 * gdb.threads/stop-with-handle.c: New file.
1840 * gdb.threads/stop-with-handle.exp: New file.
1841
1842 2019-10-03 Tom de Vries <tdevries@suse.de>
1843
1844 PR testsuite/25059
1845 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1846 directory" line to be missing.
1847
1848 2019-10-03 Tom de Vries <tdevries@suse.de>
1849
1850 PR testsuite/25059
1851 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1852 type optional.
1853
1854 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1855
1856 * gdb.python/py-format-string.c (string.h): New include.
1857 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1858 the same value, for endianness-independence.
1859 * gdb.python/py-format-string.exp (default_regexp_dict)
1860 (test_pretty_structs, test_format): Adjust expected output to the
1861 changed initialization.
1862
1863 2019-10-02 Tom Tromey <tromey@adacore.com>
1864
1865 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1866
1867 2019-10-02 Pedro Alves <palves@redhat.com>
1868 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1871 "print-file-var.h".
1872 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1873 (get_version_1): Print this_version_id and its address.
1874 Add extern "C" wrappers around interface functions.
1875 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1876 "print-file-var.h".
1877 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1878 (get_version_2): Print this_version_id and its address.
1879 Add extern "C" wrappers around interface functions.
1880 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1881 <stddef.h> and "print-file-var.h".
1882 Add extern "C" wrappers around interface functions.
1883 [VERSION_ID_MAIN] (this_version_id): Define.
1884 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1885 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1886 up extern "C" blocks.
1887 * gdb.base/print-file-var.exp (test): New, factored out from top
1888 level.
1889 (top level): Test all combinations of attribute hidden or not,
1890 dlopen or not, and this_version_id symbol in main file or not.
1891 Compile tests as both C++ and C, make test names unique.
1892
1893 2019-10-01 Tom Tromey <tom@tromey.com>
1894
1895 * gdb.base/style.exp: Test "show logging filename".
1896
1897 2019-10-01 Tom Tromey <tom@tromey.com>
1898
1899 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1900 * gdb.base/style.exp: Add metadata style test.
1901
1902 2019-10-01 Tom Tromey <tom@tromey.com>
1903
1904 * gdb.base/style.exp: Test "pwd".
1905
1906 2019-10-01 Tom Tromey <tom@tromey.com>
1907
1908 * gdb.base/style.exp: Update tests.
1909
1910 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1911
1912 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1913 'six' to unsigned.
1914 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1915 'five'. Use an all-ones bit pattern for each.
1916 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1917 to its changed values.
1918
1919 2019-09-30 Tom Tromey <tromey@adacore.com>
1920
1921 * gdb.rust/traits.rs: Disable all warnings.
1922
1923 2019-09-29 Tom de Vries <tdevries@suse.de>
1924
1925 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1926
1927 2019-09-29 Tom de Vries <tdevries@suse.de>
1928
1929 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1930
1931 2019-09-27 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1934
1935 2019-09-27 Tom de Vries <tdevries@suse.de>
1936
1937 PR record/23188
1938 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1939
1940 2019-09-26 Tom Tromey <tromey@adacore.com>
1941
1942 * gdb.ada/py_taft.exp: New file.
1943 * gdb.ada/py_taft/main.adb: New file.
1944 * gdb.ada/py_taft/pkg.adb: New file.
1945 * gdb.ada/py_taft/pkg.ads: New file.
1946
1947 2019-09-24 Tom de Vries <tdevries@suse.de>
1948
1949 PR gdb/24598
1950 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1951
1952 2019-09-22 Tom de Vries <tdevries@suse.de>
1953
1954 * gdb.base/restore.exp: Allow register variables to be optimized out at
1955 -O0.
1956
1957 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1958
1959 * gdb.arch/spu-info.exp: Remove file.
1960 * gdb.arch/spu-info.c: Remove file.
1961 * gdb.arch/spu-ls.exp: Remove file.
1962 * gdb.arch/spu-ls.c: Remove file.
1963
1964 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1965 * gdb.asm/spu.inc: Remove file.
1966
1967 * gdb.base/dump.exp: Remove support for spu*-*-*.
1968 * gdb.base/stack-checking.exp: Likewise.
1969 * gdb.base/overlays.exp: Likewise.
1970 * gdb.base/ovlymgr.c: Likewise.
1971 * gdb.base/spu.ld: Remove file.
1972
1973 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1974 * gdb.cp/cpexprs.exp: Likewise.
1975 * gdb.cp/exception.exp: Likewise.
1976 * gdb.cp/gdb2495.exp: Likewise.
1977 * gdb.cp/mb-templates.exp: Likewise.
1978 * gdb.cp/pr9167.exp: Likewise.
1979 * gdb.cp/userdef.exp: Likewise.
1980
1981 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1982
1983 * gdb.cell: Remove directory.
1984 * lib/cell.exp: Remove file.
1985
1986 2019-09-19 Tom de Vries <tdevries@suse.de>
1987
1988 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1989
1990 2019-09-19 Tom de Vries <tdevries@suse.de>
1991
1992 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1993
1994 2019-09-19 Tom de Vries <tdevries@suse.de>
1995
1996 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1997 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1998 (gdb_target_cmd): ... here.
1999 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2000 value 2.
2001
2002 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2003
2004 * gdb.base/source-dir.exp: Avoid having directory names in test
2005 names.
2006
2007 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2008
2009 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2010 directory.
2011
2012 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2013
2014 * gdb.base/list-missing-source.exp: New file.
2015
2016 2019-09-14 Tom de Vries <tdevries@suse.de>
2017
2018 PR teststuite/24599
2019 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2020 * lib/ada.exp (gnatmake_version_at_least): New proc.
2021
2022 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2023
2024 * gdb.base/maint.exp: Use exec_has_index_section.
2025
2026 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2027
2028 * gdb.base/maint.exp: Add test for 'maint info sections'.
2029
2030 2019-09-12 Tom de Vries <tdevries@suse.de>
2031
2032 * gdb.base/store.exp: Allow register variables to be optimized out at
2033 -O0.
2034
2035 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2036
2037 * gdb.ada/rdv_wait.exp: Update to new task names.
2038 * gdb.base/task_switch_in_core.exp: Likewise.
2039 * gdb.base/info_sources_base.c: Likewise.
2040
2041 2019-09-10 Tom Tromey <tromey@adacore.com>
2042
2043 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2044
2045 2019-09-10 Tom Tromey <tromey@adacore.com>
2046
2047 * gdb.ada/dgopt.exp: New file.
2048 * gdb.ada/dgopt/x.adb: New file.
2049
2050 2019-09-08 Tom Tromey <tom@tromey.com>
2051
2052 * gdb.tui/resize.exp: Remove setup_xfail.
2053 * gdb.tui/regs.exp: Remove setup_xfail.
2054 * gdb.tui/basic.exp: Remove setup_xfail.
2055
2056 2019-09-06 David Blaikie <dblaikie@gmail.com>
2057
2058 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2059 * gdb.cp/cplabel.exp: Ditto.
2060 * gdb.linespec/ls-errs.exp: Ditto.
2061
2062 2019-09-05 Tom de Vries <tdevries@suse.de>
2063
2064 * lib/gdb.exp (cmp_file_string): New proc.
2065 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2066 runto_main. Verify save breakpoints output.
2067
2068 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2069
2070 * gdb.base/info-var.exp: Test info variables without running
2071 to main, to avoid expect's buffer overflow.
2072
2073 2019-09-03 Tom Tromey <tromey@adacore.com>
2074
2075 * gdb.ada/bias.exp: New file.
2076 * gdb.ada/bias/bias.adb: New file.
2077 * gdb.ada/print_chars.exp: Add regression test.
2078 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2079 (MC): New variable.
2080
2081 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2082
2083 * gdb.base/argv0-symlink.exp: Run only on native target
2084 and local host.
2085
2086 2019-08-29 Tom de Vries <tdevries@suse.de>
2087
2088 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2089 diverse debug info.
2090 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2091
2092 2019-08-28 Tom de Vries <tdevries@suse.de>
2093
2094 * gdb.base/info-var.exp: Allow info variables to print info for files
2095 other than info-var-f1.c and info-var-f2.c.
2096
2097 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2098
2099 * gdb.fortran/info-types.exp: Add module.
2100 * gdb.fortran/info-types.f90: Update expected results.
2101
2102 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2103
2104 * gdb.fortran/info-types.exp: New file.
2105 * gdb.fortran/info-types.f90: New file.
2106 * lib/fortran.exp (fortran_character1): New proc.
2107
2108 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2111 functions'. Reindent as needed.
2112 * gdb.base/info-var-f1.c: New file.
2113 * gdb.base/info-var-f2.c: New file.
2114 * gdb.base/info-var.exp: New file.
2115 * gdb.base/info-var.h: New file.
2116
2117 2019-08-26 Tom de Vries <tdevries@suse.de>
2118
2119 PR c++/24852
2120 * gdb.cp/no-libstdcxx-probe.exp: New test.
2121
2122 2019-08-26 Tom de Vries <tdevries@suse.de>
2123
2124 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2125 * tests need to be skipped.
2126 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2127 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2128 mi_skip_libstdcxx_probe_tests.
2129
2130 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2131
2132 * gdb.python/py-xmethods.exp: Use raw strings when passing
2133 arguments to SimpleXMethodMatcher.
2134
2135 2019-08-22 Tom de Vries <tdevries@suse.de>
2136
2137 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2138 more informative.
2139
2140 2019-08-21 Pedro Alves <palves@redhat.com>
2141
2142 * gdb.base/with.exp: Test "with" with no arguments.
2143
2144 2019-08-21 Tom de Vries <tdevries@suse.de>
2145
2146 * gdb.base/gdb-caching-proc.exp: Sort files.
2147
2148 2019-08-20 Tom de Vries <tdevries@suse.de>
2149
2150 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2151 compilation.
2152
2153 2019-08-16 Tom de Vries <tdevries@suse.de>
2154
2155 * gdb.base/compare-sections.exp ("after run to main"): Allow
2156 mismatched read-only sections for PIE executables.
2157
2158 2019-08-16 Tom Tromey <tom@tromey.com>
2159
2160 * lib/tuiterm.exp (_csi_Z): New proc.
2161 * gdb.tui/basic.exp: Update window positions.
2162 * gdb.tui/empty.exp: Update window positions.
2163
2164 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2165
2166 * gdb.base/examine-backward.exp: Correct regexp for
2167 "examine 3 bytes backward from ${address_zero}".
2168
2169 2019-08-15 Tom Tromey <tom@tromey.com>
2170
2171 * gdb.tui/empty.exp: Enable resizing tests.
2172
2173 2019-08-15 Tom Tromey <tromey@adacore.com>
2174
2175 * gdb.ada/char_enum.exp: Add regression tests.
2176 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2177 and '0'.
2178 (Char, Gchar): Update.
2179 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2180
2181 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2182
2183 * gdb.python/python.exp: Expect a leading underscore on
2184 GdbOutput{,Error}File.
2185
2186 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2187
2188 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2189 Windows host.
2190
2191 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2192
2193 * gdb.base/batch-preserve-term-settings.exp
2194 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2195
2196 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2197
2198 * lib/gdb.exp: When running on a mingw target, replace
2199 /x/ with x:/.
2200
2201 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2202
2203 * gdb.arch/aarch64-prologue.c: New test.
2204 * gdb.arch/aarch64-prologue.exp: New file.
2205
2206 2019-08-13 Tom de Vries <tdevries@suse.de>
2207
2208 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2209 Thread.
2210
2211 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2212
2213 * gdb.python/py-completion.exp: Download the .py file to the host
2214 and use its host pathname. Conditionalize tests that use
2215 tab completion and manipulate files on the build machine.
2216 * gdb.python/py-events.exp: Download the .py file to the host
2217 and use its host pathname.
2218 * gdb.python/py-evsignal.exp: Likewise.
2219 * gdb.python/py-evthreads.exp: Likewise.
2220 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2221 pathname syntax.
2222 * gdb.python/py-framefilter.exp: Download the .py file to the right
2223 place on the host. Match Windows pathname syntax.
2224 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2225 .py file to the host and use its host pathname.
2226 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2227 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2228 build pathname. Skip symlink test on Windows host. Add missing
2229 newline at end of file.
2230 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2231 and use its host pathname.
2232 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2233 * gdb.python/py-section-script.exp: Use host location of binfile
2234 on safe-path. Use correct path separator on Windows host.
2235 Reorder alternatives in gdb_test_multiple to prevent matching
2236 the wrong alternative on success.
2237 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2238
2239 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2240
2241 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2242 expect the GDB inferior to no longer immediately stop after
2243 being resumed with "signal SIGINT".
2244
2245 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2246
2247 * gdb.linespec/break-ask.exp: Generalize regexps to match
2248 Windows pathnames too.
2249
2250 2019-08-08 Tom de Vries <tdevries@suse.de>
2251
2252 PR testsuite/24862
2253 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2254
2255 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2256
2257 * gdb.base/style.exp: Update tests for help doc new invariants.
2258 * gdb.base/help.exp: Likewise.
2259
2260 2019-08-06 Tom Tromey <tom@tromey.com>
2261
2262 * gdb.base/style.exp: Add disassemble test.
2263 * gdb.base/style.c (some_called_function): New function.
2264 (main): Use it.
2265
2266 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2267
2268 * gdb.python/py-block.exp: Test dictionary access on blocks.
2269
2270 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2271
2272 PR gdb/24863
2273 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2274 -list-thread-groups --available test when running under
2275 check-read1.
2276
2277 2019-08-05 Tom de Vries <tdevries@suse.de>
2278
2279 PR testsuite/24863
2280 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2281 * gdb.base/help.exp: Use with_read1_timeout_factor.
2282 * gdb.base/info-macros.exp: Same.
2283 * gdb.cp/nested-types.exp: Same.
2284
2285 2019-08-05 Tom de Vries <tdevries@suse.de>
2286
2287 * lib/gdb.exp (version_at_least): Factor out of ...
2288 (tcl_version_at_least): ... here.
2289 (gdb_compile): Fail if pie results in non-PIE executable.
2290 (readelf_version, readelf_prints_pie): New proc.
2291 (exec_is_pie): Return -1 if unknown.
2292
2293 2019-08-05 Tom de Vries <tdevries@suse.de>
2294
2295 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2296
2297 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2298
2299 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2300
2301 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2302
2303 * lib/completion-support.exp (test_gdb_complete_none): Skip
2304 tab completion tests if no readline support.
2305 (test_gdb_complete_unique_re): Likewise.
2306 (test_gdb_complete_multiple): Likewise.
2307
2308 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2309
2310 * gdb.base/info_sources.exp: New file.
2311 * gdb.base/info_sources.c: New file.
2312 * gdb.base/info_sources_base.c: New file.
2313
2314 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2315
2316 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2317 prefix argument.
2318 (test_exit_status): Add prefix argument.
2319
2320 2019-08-01 Tom de Vries <tdevries@suse.de>
2321
2322 PR testsuite/24863
2323 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2324 calling exp_continue for new thread and thread exited messages.
2325
2326 2019-08-01 Tom de Vries <tdevries@suse.de>
2327
2328 PR testsuite/24863
2329 * gdb.base/structs.exp: Fix check-read1 timeout using
2330 gdb_test_sequence.
2331 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2332
2333 2019-08-01 Tom de Vries <tdevries@suse.de>
2334
2335 PR testsuite/24863
2336 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2337 line.
2338
2339 2019-08-01 Tom de Vries <tdevries@suse.de>
2340
2341 PR testsuite/24863
2342 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2343
2344 2019-07-30 Tom Tromey <tromey@adacore.com>
2345
2346 * gdb.ada/display_nested.exp: New file.
2347 * gdb.ada/display_nested/foo.adb: New file.
2348 * gdb.ada/display_nested/pack.adb: New file.
2349 * gdb.ada/display_nested/pack.ads: New file.
2350
2351 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2352
2353 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2354 namespace.
2355 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2356
2357 2019-07-30 Tom de Vries <tdevries@suse.de>
2358
2359 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2360 instead.
2361
2362 2019-07-30 Tom de Vries <tdevries@suse.de>
2363
2364 PR testsuite/24834
2365 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2366 (exec_is_pie): New proc.
2367
2368 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2369
2370 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2371
2372 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2373
2374 * gdb.python/py-objfile.c: Add global and static vars.
2375 * gdb.python/py-objfile.exp: Test new functions Objfile.
2376 lookup_global_symbol and lookup_static_symbol.
2377
2378 2019-07-29 Tom Tromey <tom@tromey.com>
2379
2380 * lib/tuiterm.exp (Term::_csi_@): New proc.
2381 (Term::_csi_X): Don't move cursor.
2382
2383 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2384
2385 * gdb.base/options.exp: Update backtrace - completion to
2386 new option -frame-info.
2387 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2388 Test new 'set print frame-info'. Test backtrace -frame-info
2389 overriding 'set print frame-info'.
2390 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2391 Test new 'set print frame-info'.
2392 Verify consistency of backtrace with and without filters, with and
2393 without -no-filters.
2394 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2395 default.
2396
2397 2019-07-29 Tom de Vries <tdevries@suse.de>
2398
2399 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2400 no arguments".
2401
2402 2019-07-29 Tom de Vries <tdevries@suse.de>
2403
2404 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2405 is a substring of the first for "complete non-unique file name".
2406
2407 2019-07-29 Tom de Vries <tdevries@suse.de>
2408
2409 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2410 with ".*".
2411
2412 2019-07-29 Tom de Vries <tdevries@suse.de>
2413
2414 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2415 Pass prompt_regexp parameter to gdb_test_multiple calls.
2416
2417 2019-07-29 Tom de Vries <tdevries@suse.de>
2418
2419 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2420 print registers" regexps.
2421
2422 2019-07-29 Tom de Vries <tdevries@suse.de>
2423
2424 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2425
2426 2019-07-29 Tom de Vries <tdevries@suse.de>
2427
2428 PR gdb/24855
2429 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2430 (skip_python_tests_prompt): Add prompt_regexp argument to
2431 gdb_test_multiple calls.
2432
2433 2019-07-27 Tom Tromey <tom@tromey.com>
2434
2435 * gdb.tui/main.exp: New file.
2436
2437 2019-07-27 Tom Tromey <tom@tromey.com>
2438
2439 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2440 optional.
2441 * gdb.tui/empty.exp: New file.
2442
2443 2019-07-27 Tom Tromey <tom@tromey.com>
2444
2445 * lib/tuiterm.exp (spawn): New proc.
2446 (Term::resize): New proc.
2447 * gdb.tui/resize.exp: New file.
2448
2449 2019-07-27 Tom Tromey <tom@tromey.com>
2450
2451 * gdb.tui/list.exp: New file.
2452
2453 2019-07-27 Tom Tromey <tom@tromey.com>
2454
2455 * gdb.tui/regs.exp: New file.
2456
2457 2019-07-27 Tom Tromey <tom@tromey.com>
2458
2459 * gdb.tui/basic.exp: Add "layout split" test.
2460
2461 2019-07-27 Tom Tromey <tom@tromey.com>
2462
2463 * gdb.tui/basic.exp: Add "layout asm" test.
2464
2465 2019-07-27 Tom Tromey <tom@tromey.com>
2466
2467 * lib/tuiterm.exp: New file.
2468 * gdb.tui/basic.exp: New file.
2469
2470 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2471
2472 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2473 Enable tests associated with this flag. Adjust regex
2474 referencing "foo_low" to now refer to "foo_cold" instead.
2475
2476 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2477
2478 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2479 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2480 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2481 foo_cold. Revise comments to match.
2482 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2483 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2484 were wrapped into this proc; Call do_test in loop from outermost
2485 level.
2486 (foo_low): Rename all occurrences to "foo_cold".
2487 (backtrace from baz): New test.
2488 (x2/i foo_cold): New test.
2489 (info line *foo_cold): New test.
2490
2491 2019-07-26 Tom de Vries <tdevries@suse.de>
2492
2493 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2494
2495 2019-07-25 Tom de Vries <tdevries@suse.de>
2496
2497 PR testsuite/24830
2498 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2499 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2500 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2501 (skip_libstdcxx_probe_tests): ... here.
2502 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2503
2504 2019-07-24 Tom de Vries <tdevries@suse.de>
2505
2506 PR testsuite/24807
2507 * gdb.objc/basicclass.m: Include stdio.h.
2508 * gdb.objc/nondebug.m: Same.
2509 * gdb.objc/objcdecode.m: Same.
2510
2511 2019-07-24 Tom de Vries <tdevries@suse.de>
2512
2513 PR testsuite/24612
2514 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2515 additional_flags.
2516
2517 2019-07-24 Tom de Vries <tdevries@suse.de>
2518
2519 PR testsuite/24831
2520 * gdb.multi/tids.exp: Update error messages for info threads.
2521
2522 2019-07-24 Tom de Vries <tdevries@suse.de>
2523
2524 * gdb.base/info-types.exp: Allow info types to print info for more than
2525 one file.
2526
2527 2019-07-23 Tom de Vries <tdevries@suse.de>
2528
2529 PR testsuite/24842
2530 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2531 gdb_spawn_with_cmdline_opts.
2532
2533 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2534
2535 * gdb.arch/arm-cmse-sgstubs.c: New test.
2536 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2537
2538 2019-07-23 Tom de Vries <tdevries@suse.de>
2539
2540 PR testsuite/24711
2541 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2542 issuing next command.
2543
2544 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2545
2546 * gdb.ada/info_auto_lang.exp: Update expected results.
2547 * gdb.base/info-types.c: Add additional types to check.
2548 * gdb.base/info-types.exp: Update expected results.
2549
2550 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2551
2552 * gdb.base/info-types.c: New file.
2553 * gdb.base/info-types.exp: New file.
2554
2555 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2556
2557 * gdb.arch/riscv-bp-infcall.c: New file.
2558 * gdb.arch/riscv-bp-infcall.exp: New file.
2559
2560 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2561
2562 PR breakpoints/24541
2563 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2564
2565 2019-07-14 Tom de Vries <tdevries@suse.de>
2566
2567 PR testsuite/24760
2568 * gdb.objc/basicclass.exp: Fix unterminated string.
2569
2570 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2571 Andrew Burgess <andrew.burgess@embecosm.com>
2572
2573 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2574 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2575 negative bounds.
2576 * gdb.fortran/vla-value.exp: Print elements of an array with
2577 negative bounds.
2578 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2579 testing.
2580
2581 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2582
2583 * gdb.base/options.exp (expect_string): Dequote strings in
2584 results.
2585 (test-string): Test strings with different quoting and reindent.
2586
2587 2019-07-10 Tom Tromey <tromey@adacore.com>
2588
2589 * gdb.ada/mi_ex_cond.exp: Update expected results.
2590 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2591 * gdb.ada/mi_catch_ex.exp: Update expected results.
2592 * gdb.ada/mi_catch_assert.exp: Update expected results.
2593 * gdb.ada/catch_ex.exp (catch_exception_info)
2594 (catch_exception_entry, catch_assert_entry)
2595 (catch_unhandled_entry): Update.
2596 * gdb.ada/catch_assert_if.exp: Update expected results.
2597
2598 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2599 Stephen Roberts <stephen.roberts@arm.com>
2600
2601 * gdb.base/define.exp: Restore original prompt.
2602
2603 2019-07-09 Pedro Alves <palves@redhat.com>
2604
2605 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2606 breakpoints" output.
2607 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2608 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2609 throw" creates breakpoint.
2610 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2611 'type="catchpoint"'.
2612
2613 2019-07-09 Pedro Alves <palves@redhat.com>
2614
2615 PR c++/15468
2616 * gdb.cp/except-multi-location-lib.cc: New.
2617 * gdb.cp/except-multi-location-main.cc: New.
2618 * gdb.cp/except-multi-location.exp: New.
2619
2620 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2621
2622 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2623 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2624 argument and update callers.
2625
2626 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2627
2628 * gdb.arch/amd64-break-on-asm-line.S: New file.
2629 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2630
2631 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2632
2633 * gdb.base/printcmds.exp: Test printing C string and
2634 C wide string convenience vars without transiting via the inferior.
2635 Also make test names unique.
2636
2637 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2638
2639 PR breakpoints/25011
2640 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2641
2642 2019-07-04 Pedro Alves <palves@redhat.com>
2643
2644 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2645 body returned ok(0), break(3) or continue(4).
2646 * gdb.testsuite/foreach_with_prefix.exp: New file.
2647
2648 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2649
2650 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2651
2652 2019-07-03 Pedro Alves <palves@redhat.com>
2653
2654 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2655 "return -code".
2656
2657 2019-07-03 Pedro Alves <palves@redhat.com>
2658
2659 PR cli/24732
2660 * gdb.base/shell.exp: Load completion-support.exp.
2661 Adjust expected error output. Add completion tests.
2662
2663 2019-07-03 Pedro Alves <palves@redhat.com>
2664
2665 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2666 string_to_regexp.
2667
2668 2019-07-03 Pedro Alves <palves@redhat.com>
2669
2670 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2671 (expect_integer): Adjust to expect "-string".
2672 (expect_string): New.
2673 (all_options): Expect "-string".
2674 (test-flag, test-boolean): Adjust to expect "-string".
2675 (test-string): New proc.
2676 (top level): Call it.
2677
2678 2019-07-03 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2681 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2682 the expected output in the success.
2683
2684 2019-07-03 Pedro Alves <palves@redhat.com>
2685
2686 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2687 Split one gdb_test_multiple call in two to avoid a race.
2688
2689 2019-07-03 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.base/with.c: New file.
2692 * gdb.base/with.exp: New file.
2693
2694 2019-07-03 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.base/settings.exp: Replace all references to "maint
2697 test-settings set" with references to "maint set test-settings",
2698 and all references to "maint test-settings show" with references
2699 to "maint show test-settings".
2700
2701 2019-07-03 Pedro Alves <palves@redhat.com>
2702
2703 * gdb.base/settings.exp (test-string): Adjust expected out when
2704 testing "maint test-settings show filename"
2705
2706 2019-07-02 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.base/options.exp (test-info-threads): New procedure.
2709 (top level): Call it.
2710
2711 2019-06-28 Tom Tromey <tromey@adacore.com>
2712
2713 * gdb.dwarf2/ada-linkage-name.c: New file.
2714 * gdb.dwarf2/ada-linkage-name.exp: New file.
2715
2716 2019-06-27 Tom Tromey <tromey@adacore.com>
2717
2718 PR c++/20020:
2719 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2720
2721 2019-06-26 Tom de Vries <tdevries@suse.de>
2722
2723 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2724
2725 2019-06-26 Tom de Vries <tdevries@suse.de>
2726
2727 * gdb.base/index-cache.exp: Add back missing debug option.
2728
2729 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2730
2731 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2732
2733 2019-06-25 Tom de Vries <tdevries@suse.de>
2734
2735 PR testsuite/24727
2736 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2737
2738 2019-06-24 Tom de Vries <tdevries@suse.de>
2739
2740 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2741
2742 2019-06-24 Tom de Vries <tdevries@suse.de>
2743
2744 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2745 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2746 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2747
2748 2019-06-24 Tom de Vries <tdevries@suse.de>
2749
2750 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2751
2752 2019-06-21 Tom de Vries <tdevries@suse.de>
2753
2754 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2755
2756 2019-06-21 Tom de Vries <tdevries@suse.de>
2757
2758 PR testsuite/24518
2759 PR ada/24713
2760 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2761 index.
2762
2763 2019-06-19 Tom Tromey <tromey@adacore.com>
2764
2765 * gdb.ada/length_cond.exp: Add intro comment.
2766
2767 2019-06-19 Tom Tromey <tromey@adacore.com>
2768
2769 * gdb.ada/length_cond.exp: New file.
2770 * gdb.ada/length_cond/length_cond.adb: New file.
2771 * gdb.ada/length_cond/pck.adb: New file.
2772 * gdb.ada/length_cond/pck.ads: New file.
2773
2774 2019-06-18 Tom de Vries <tdevries@suse.de>
2775
2776 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2777
2778 2019-06-18 Tom Tromey <tromey@adacore.com>
2779
2780 * gdb.base/list0.h: Add comment explaining control character.
2781
2782 2019-06-18 Tom de Vries <tdevries@suse.de>
2783
2784 * boards/fission.exp: Break up long debug_flags line.
2785
2786 2019-06-16 Tom de Vries <tdevries@suse.de>
2787
2788 PR gdb/24445
2789 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2790 generated index.
2791
2792 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2793
2794 PR gdb/24686
2795 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2796 improve detection of bug gdb/24541.
2797
2798 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2799
2800 PR gdb/24669
2801 * gdb.base/index-cache.exp (uses_readnow,
2802 expecting_index_cache_use): Define global variable.
2803 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2804 expecting_index_cache_use.
2805
2806 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2807 Andrew Burgess <andrew.burgess@embecosm.com>
2808
2809 * gdb.fortran/pointers.f90: New file.
2810 * gdb.fortran/print_type.exp: New file.
2811 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2812 * gdb.fortran/vla-type.exp: Likewise.
2813 * gdb.fortran/vla-value.exp: Likewise.
2814 * gdb.mi/mi-vla-fortran.exp: Likewise.
2815
2816 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2819 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2820 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2821 as a stop reason.
2822
2823 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2824
2825 * gdb.base/annota1.exp: Update expected results.
2826 * gdb.cp/annota2.exp: Likewise.
2827 * gdb.cp/annota3.exp: Likewise.
2828
2829 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2830
2831 * gdb.base/style-logging.exp: Remove path from test name.
2832
2833 2019-06-14 Tom Tromey <tromey@adacore.com>
2834
2835 PR gdb/24502:
2836 * gdb.base/style-logging.exp: New file.
2837
2838 2019-06-14 Tom Tromey <tromey@adacore.com>
2839
2840 * gdb.base/symfile-warn.exp: New file.
2841 * gdb.base/symfile-warn.c: New file.
2842
2843 2019-06-14 Tom Tromey <tromey@adacore.com>
2844
2845 * gdb.base/annotate-symlink.exp: New file.
2846
2847 2019-06-14 Tom Tromey <tromey@adacore.com>
2848
2849 * gdb.ada/set_wstr.exp: Add reassignment test.
2850
2851 2019-06-14 Tom Tromey <tromey@adacore.com>
2852
2853 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2854 'unchecked_access and 'unrestricted_access as well.
2855
2856 2019-06-14 Tom Tromey <tromey@adacore.com>
2857
2858 PR ada/24539:
2859 * gdb.ada/vla.exp: Update tests.
2860 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2861 pragma.
2862
2863 2019-06-13 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/settings.exp (test-integer): Test junk after
2866 "unlimited".
2867
2868 2019-06-13 Pedro Alves <palves@redhat.com>
2869
2870 * gdb.base/options.exp (test-thread-apply): New.
2871 (top level): Call it.
2872
2873 2019-06-13 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.base/options.exp (test-frame-apply): New.
2876 (top level): Test print commands with different "frame apply"
2877 prefixes.
2878
2879 2019-06-13 Pedro Alves <palves@redhat.com>
2880
2881 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2882 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2883 'max_completions' parameter and handle it.
2884 (test_gdb_completion_offers_commands): New.
2885
2886 2019-06-13 Pedro Alves <palves@redhat.com>
2887
2888 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2889
2890 2019-06-13 Pedro Alves <palves@redhat.com>
2891
2892 * gdb.base/options.exp (test-backtrace): New.
2893 (top level): Call it.
2894
2895 2019-06-13 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.guile/scm-frame-args.exp: Use "set print
2898 raw-frame-arguments" instead of "set print raw frame-arguments".
2899 * gdb.python/py-frame-args.exp: Likewise.
2900
2901 2019-06-13 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.compile/compile.exp: Adjust expected output to option
2904 processing changes.
2905
2906 2019-06-13 Pedro Alves <palves@redhat.com>
2907
2908 * gdb.base/options.exp: Build executable.
2909 (test-print): New procedure.
2910 (top level): Call it, once for "print" and another for "compile
2911 print".
2912
2913 2019-06-13 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.base/options.c: New file.
2916 * gdb.base/options.exp: New file.
2917
2918 2019-06-13 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2921 that "o" is ambiguous.
2922
2923 2019-06-13 Pedro Alves <palves@redhat.com>
2924
2925 * gdb.base/settings.c: New file.
2926 * gdb.base/settings.exp: New file.
2927
2928 2019-06-13 Pedro Alves <palves@redhat.com>
2929
2930 * gdb.base/completion.exp: Fix comment typo.
2931
2932 2019-06-13 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2935 foo --1" test.
2936
2937 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2938
2939 * gdb.fortran/block-data.f: New.
2940 * gdb.fortran/block-data.exp: New.
2941
2942 2019-06-11 Tom de Vries <tdevries@suse.de>
2943
2944 PR testsuite/24521
2945 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2946 message.
2947
2948 2019-06-11 Tom de Vries <tdevries@suse.de>
2949
2950 PR testsuite/24521
2951 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2952
2953 2019-06-11 Tom de Vries <tdevries@suse.de>
2954
2955 * boards/readnow.exp: New file.
2956
2957 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2958
2959 * gdb.fortran/vla-sizeof.exp: Update expected results.
2960
2961 2019-06-06 Amos Bird <amosbird@gmail.com>
2962
2963 * gdb.base/annota1.exp (thread_switch): Add test for
2964 thread-exited annotation.
2965
2966 2019-06-06 Tom Tromey <tromey@adacore.com>
2967
2968 * gdb.base/maint.exp: Expect command started/finished output.
2969
2970 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2971
2972 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2973 comment.
2974 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2975
2976 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2977
2978 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2979 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2980 * gdb.arch/riscv-unwind-long-insn.c: New file.
2981 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2982
2983 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2984
2985 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2986
2987 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2988
2989 * lib/gdb.exp (help_list_trailer): New regexp variable
2990 factorizing the help trailer message.
2991 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2992 arg to allow to better factorize various tests.
2993 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2994 (test_prefix_command_help): Use help_list_trailer.
2995 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2996 * gdb.guile/scm-cmd.exp: Likewise.
2997 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2998 * gdb.base/help.exp: Use test_user_defined_class_help.
2999 * gdb.base/style.exp: Add tests for styling of help and apropos.
3000 * lib/gdb-utils.exp (style): Add title and highlight styles.
3001
3002 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3003
3004 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3005 $_shell_exitsignal.
3006 * gdb.base/default.exp: Update for new convenience variables.
3007
3008 2019-05-29 Tom Tromey <tromey@adacore.com>
3009
3010 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3011 to "break complete ada" test case's regexp.
3012
3013 2019-05-29 Tom Tromey <tromey@adacore.com>
3014
3015 PR c++/20020:
3016 * gdb.cp/constexpr-field.exp: New file.
3017 * gdb.cp/constexpr-field.cc: New file.
3018
3019 2019-05-29 Tom Tromey <tromey@adacore.com>
3020
3021 * gdb.base/finish.exp (finish_no_print): New proc.
3022 (finish_tests): Call it.
3023
3024 2019-05-24 Tom de Vries <tdevries@suse.de>
3025
3026 * gdb.dwarf2/gdb-add-index.exp: New file.
3027
3028 2019-05-22 Tom Tromey <tromey@adacore.com>
3029
3030 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3031 * gdb.base/style.exp: Use "style".
3032 * lib/gdb-utils.exp (style): New proc.
3033
3034 2019-05-22 Tom de Vries <tdevries@suse.de>
3035
3036 * gdb.base/align.exp: Require c++11.
3037
3038 2019-05-22 Tom de Vries <tdevries@suse.de>
3039
3040 PR testsuite/24586
3041 * gdb.python/py-mi-var-info-path-expression.exp: Call
3042 mi_skip_python_tests to check if python is supported.
3043
3044 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3045
3046 * gdb.arch/aarch64-pauth.c: New test.
3047 * gdb.arch/aarch64-pauth.exp: New file.
3048
3049 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3050
3051 * README (Re-running Tests Outside The Testsuite): New section.
3052
3053 2019-05-21 Tom de Vries <tdevries@suse.de>
3054
3055 * gdb.arch/amd64-eval.exp: Require c++11.
3056 * gdb.base/max-depth.exp: Same.
3057 * gdb.compile/compile-cplus-array-decay.exp: Same.
3058 * gdb.cp/meth-typedefs.exp: Same.
3059 * gdb.cp/subtypes.exp: Same.
3060 * gdb.cp/temargs.exp: Same.
3061
3062 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3063
3064 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3065
3066 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3067
3068 PR gdb/18644
3069 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3070 * gdb.fortran/printing-types.exp: Add new test.
3071 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3072 testing.
3073 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3074 setup_kfail call.
3075
3076 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3077
3078 * README (Running the Testsuite): Change example.
3079 (Testsuite Parameters): Remove TRANSCRIPT.
3080 * lib/gdb.exp: Remove TRANSCRIPT check.
3081
3082 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3083
3084 * README (Testsuite Parameters): Add replay logging to
3085 GDBSERVER_DEBUG.
3086 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3087 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3088 as a comma separated list.
3089 (gdb_debug_init): Override procedure.
3090
3091 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3092
3093 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3094 (gdb_write_cmd_file): New procedure.
3095 * lib/gdbserver-support.exp (gdbserver_start): Call
3096 gdbserver_write_cmd_file.
3097 (gdbserver_write_cmd_file): New procedure.
3098
3099 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3100
3101 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3102 (delete_breakpoints): Likewise.
3103 (gdb_run_cmd): Likewise.
3104 (gdb_start_cmd): Likewise.
3105 (gdb_starti_cmd): Likewise.
3106 (gdb_internal_error_resync): Likewise.
3107 (gdb_test_multiple): Likewise.
3108 (gdb_reinitialize_dir): Likewise.
3109 (default_gdb_exit): Likewise.
3110 (gdb_file_cmd): Mark kill as optional.
3111 (default_gdb_start): Call gdb_stdin_log_init.
3112 (send_gdb): Call gdb_stdin_log_write.
3113 (rerun_to_main): Mark Y as an answer.
3114 (gdb_stdin_log_init): New function.
3115 (gdb_stdin_log_write): Likewise.
3116
3117 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3118
3119 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3120 * gdb.base/debug-expr.exp: Likewise.
3121 * gdb.base/foll-fork.exp: Likewise.
3122 * gdb.base/foll-vfork.exp: Likewise.
3123 * gdb.base/fork-print-inferior-events.exp: Likewise.
3124 * gdb.base/gdb-sigterm.exp: Likewise.
3125 * gdb.base/gdbinit-history.exp: Likewise.
3126 * gdb.base/osabi.exp: Likewise.
3127 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3128 * gdb.base/ui-redirect.exp: Likewise.
3129 * gdb.gdb/unittest.exp: Likewise.
3130 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3131 * gdb.mi/mi-watch.exp: Likewise.
3132 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3133 * gdb.mi/user-selected-context-sync.exp: Likewise.
3134 * gdb.python/python.exp: Disable debug test when debugging.
3135 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3136 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3137 Likewise.
3138 * gdb.threads/stepi-random-signal.exp: Likewise.
3139
3140 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3141
3142 * Makefile.in: Pass through GDB_DEBUG.
3143 * README (Testsuite Parameters): Add GDB_DEBUG.
3144 (gdb,debug): Add board setting.
3145 * lib/gdb.exp (default_gdb_start): Start debugging.
3146 (gdb_debug_enabled): New procedure.
3147 (gdb_debug_init): Likewise.
3148
3149 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3150
3151 * Makefile.in: Pass through GDB_DEBUG.
3152 * README (Testsuite Parameters): Add GDB_DEBUG.
3153 (gdb,debug): Add board setting.
3154 * lib/gdb.exp (default_gdb_start): Start debugging.
3155 (gdb_debug_enabled): New procedure.
3156 (gdb_debug_init): Likewise.
3157
3158 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3159
3160 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3161
3162 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3163
3164 * gdb.base/ui-redirect.exp: Test redirection.
3165
3166 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3167
3168 * gdb.mi/mi-complete.exp: New file.
3169 * gdb.mi/mi-complete.cc: Likewise.
3170
3171 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3172
3173 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3174 indexed and sliced arrays, and pointers to arrays.
3175
3176 2019-05-14 Tom Tromey <tromey@adacore.com>
3177
3178 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3179 styling test.
3180
3181 2019-05-14 Tom de Vries <tdevries@suse.de>
3182
3183 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3184 selection entry encoding.
3185
3186 2019-05-10 Tom Tromey <tromey@adacore.com>
3187
3188 * gdb.ada/info_exc.exp: Add "complete" test.
3189
3190 2019-05-09 Tom de Vries <tdevries@suse.de>
3191
3192 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3193 CU-relative.
3194
3195 2019-05-09 Tom de Vries <tdevries@suse.de>
3196
3197 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3198 CU-relative.
3199
3200 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3201
3202 * gdb.ada/frame_arg_lang.exp: New testcase.
3203 * gdb.ada/frame_arg_lang/bla.adb: New file.
3204 * gdb.ada/frame_arg_lang/pck.ads: New file.
3205 * gdb.ada/frame_arg_lang/pck.adb: New file.
3206 * gdb.ada/frame_arg_lang/foo.c: New file.
3207
3208 2019-05-08 Tom Tromey <tromey@adacore.com>
3209
3210 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3211
3212 2019-05-08 Tom Tromey <tromey@adacore.com>
3213
3214 * gdb.base/ptype-offsets.exp: Update tests.
3215
3216 2019-05-08 Tom Tromey <tromey@adacore.com>
3217
3218 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3219 cases.
3220 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3221 "short".
3222
3223 2019-05-08 Tom Tromey <tromey@adacore.com>
3224
3225 * gdb.ada/vla.exp: New file.
3226 * gdb.ada/vla/vla.adb: New file.
3227
3228 2019-05-07 Tom de Vries <tdevries@suse.de>
3229
3230 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3231
3232 2019-05-07 Tom de Vries <tdevries@suse.de>
3233
3234 PR testsuite/24522
3235 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3236 section.
3237
3238 2019-05-07 Tom de Vries <tdevries@suse.de>
3239
3240 PR testsuite/24522
3241 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3242 .debug_aranges section.
3243
3244 2019-05-07 Tom de Vries <tdevries@suse.de>
3245
3246 PR testsuite/24159
3247 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3248
3249 2019-05-06 Tom de Vries <tdevries@suse.de>
3250
3251 * lib/gdb.exp (exec_has_index_section): New proc.
3252 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3253 section.
3254
3255 2019-05-04 Tom de Vries <tdevries@suse.de>
3256
3257 * boards/cc-with-debug-names.exp: New file.
3258
3259 2019-05-03 Tom Tromey <tromey@adacore.com>
3260
3261 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3262 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3263 * gdb.ada/char_enum.exp: Add test.
3264
3265 2019-05-03 Tom de Vries <tdevries@suse.de>
3266
3267 * boards/cc-with-gdb-index.exp: New file.
3268
3269 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 * gdb.rust/simple.exp: Add new test case.
3272 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3273 (main): Initialise an instance of the new struct.
3274
3275 2019-05-01 Tom Tromey <tromey@adacore.com>
3276
3277 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3278 record.
3279 (NPR): New variable.
3280 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3281 test.
3282
3283 2019-05-01 Tom Tromey <tromey@adacore.com>
3284
3285 * gdb.ada/packed_array_assign.exp: Add packed assignment
3286 regression test.
3287
3288 2019-05-01 Tom de Vries <tdevries@suse.de>
3289
3290 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3291
3292 2019-05-01 Tom de Vries <tdevries@suse.de>
3293
3294 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3295
3296 2019-04-30 Ali Tamur <tamur@google.com>
3297
3298 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3299
3300 2019-04-30 Tom Tromey <tromey@adacore.com>
3301
3302 * lib/ada.exp (find_ada_tool): New proc.
3303 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3304 * gdb.ada/catch_ex_std.exp: New file.
3305 * gdb.ada/catch_ex_std/foo.adb: New file.
3306 * gdb.ada/catch_ex_std/some_package.adb: New file.
3307 * gdb.ada/catch_ex_std/some_package.ads: New file.
3308
3309 2019-04-30 Tom Tromey <tromey@adacore.com>
3310
3311 PR c++/24470:
3312 * gdb.cp/temargs.cc: Add test code from PR.
3313
3314 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3315
3316 * gdb.fortran/vla-datatypes.exp: Update expected results.
3317 * gdb.fortran/vla-ptype.exp: Likewise.
3318 * gdb.fortran/vla-type.exp: Likewise.
3319 * gdb.fortran/vla-value.exp: Likewise.
3320
3321 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3322
3323 * gdb.fortran/ptr-indentation.exp: Update expected results.
3324 * gdb.fortran/ptype-on-functions.exp: Likewise.
3325 * gdb.fortran/vla-ptr-info.exp: Likewise.
3326 * gdb.fortran/vla-value.exp: Likewise.
3327
3328 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3329
3330 * gdb.fortran/ptype-on-functions.exp: New file.
3331 * gdb.fortran/ptype-on-functions.f90: New file.
3332
3333 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3334
3335 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3336 case void string.
3337
3338 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.fortran/complex.exp: Expand.
3341 * gdb.fortran/complex.f: Renamed to...
3342 * gdb.fortran/complex.f90: ...this, and extended to add more
3343 complex values.
3344
3345 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3346
3347 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3348 MODULO, CMPLX.
3349
3350 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3351 Richard Bunt <richard.bunt@arm.com>
3352
3353 * gdb.base/max-depth.c: New file.
3354 * gdb.base/max-depth.exp: New file.
3355 * gdb.python/py-nested-maps.c: New file.
3356 * gdb.python/py-nested-maps.exp: New file.
3357 * gdb.python/py-nested-maps.py: New file.
3358 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3359 (test_all_common): Call test_max_depth.
3360 * gdb.fortran/max-depth.exp: New file.
3361 * gdb.fortran/max-depth.f90: New file.
3362 * gdb.go/max-depth.exp: New file.
3363 * gdb.go/max-depth.go: New file.
3364 * gdb.modula2/max-depth.exp: New file.
3365 * gdb.modula2/max-depth.c: New file.
3366 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3367
3368 2019-04-29 Tom de Vries <tdevries@suse.de>
3369
3370 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3371
3372 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3373
3374 * gdb.base/callexit.exp: Test may-call-functions off.
3375
3376 2019-04-25 Keith Seitz <keiths@redhat.com>
3377
3378 PR c++/24367
3379 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3380 (another_incomplete_struct, test_incomplete): New definitions.
3381 (main): Use new definitions.
3382 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3383 functions.
3384
3385 2019-04-25 Ali Tamur <tamur@google.com>
3386
3387 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3388
3389 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3390
3391 PR corefiles/11608
3392 PR corefiles/18187
3393 * gdb.base/coredump-filter-build-id.exp: New file.
3394
3395 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3396
3397 * Makefile.in: Pass through GDBSERVER_DEBUG.
3398 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3399 (gdbserver,debug): Add board setting.
3400 * gdb.trace/tspeed.exp: Skip when debugging.
3401 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3402 * lib/gdbserver-support.exp: Likewise
3403
3404 2019-04-24 Tom Tromey <tromey@adacore.com>
3405
3406 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3407 Rust.
3408
3409 2019-04-24 Tom Tromey <tromey@adacore.com>
3410
3411 * gdb.arch/amd64-eval.exp: Test bitfield return.
3412 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3413 (class Foo) <return_bitfields>: New method.
3414 (main): Call it.
3415
3416 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3417
3418 * gdb.cp/many-args.cc: New file.
3419 * gdb.cp/many-args.exp: New file.
3420
3421 2019-04-23 Tom de Vries <tdevries@suse.de>
3422
3423 PR gdb/24433
3424 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3425
3426 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3427
3428 * gdb.trace/backtrace.exp: Use nopie flag.
3429 * gdb.trace/circ.exp: Likewise.
3430 * gdb.trace/collection.exp: Likewise.
3431 * gdb.trace/ftrace.exp: Likewise.
3432 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3433 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3434 * gdb.trace/qtro.exp: Likewise.
3435 * gdb.trace/read-memory.exp: Likewise.
3436 * gdb.trace/report.exp: Likewise.
3437 * gdb.trace/tfile.exp: Likewise.
3438 * gdb.trace/tfind.exp: Likewise.
3439 * gdb.trace/unavailable.exp: Likewise.
3440
3441 2019-04-22 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.base/solib-probes-nosharedlibrary.c,
3444 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3445
3446 2019-04-19 Tom Tromey <tromey@adacore.com>
3447
3448 * gdb.ada/ptype_union.c: New file.
3449 * gdb.ada/ptype_union.exp: New file.
3450
3451 2019-04-19 Tom Tromey <tromey@adacore.com>
3452
3453 PR symtab/24423:
3454 * gdb.base/list0.h (foo): Add a control-l character.
3455
3456 2019-04-18 Tom de Vries <tdevries@suse.de>
3457
3458 PR gdb/24433
3459 * boards/local-board.exp: Set sysroot to "".
3460
3461 2019-04-18 Tom de Vries <tdevries@suse.de>
3462 Pedro Alves <palves@redhat.com>
3463
3464 PR gdb/24454
3465 * gdb.threads/vfork-follow-child-exec.c: New file.
3466 * gdb.threads/vfork-follow-child-exec.exp: New file.
3467 * gdb.threads/vfork-follow-child-exit.c: New file.
3468 * gdb.threads/vfork-follow-child-exit.exp: New file.
3469
3470 2019-04-15 Leszek Swirski <leszeks@google.com>
3471
3472 * gdb.arch/amd64-eval.cc: New file.
3473 * gdb.arch/amd64-eval.exp: New file.
3474
3475 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3476
3477 * gdb.server/sysroot.c: New test.
3478 * gdb.server/sysroot.exp: New file.
3479 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3480 matching param.
3481
3482 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3483
3484 * gdb.base/align.exp: Extend test to cover structures containing
3485 only static fields.
3486
3487 2019-04-11 Tom de Vries <tdevries@suse.de>
3488
3489 * boards/cc-with-dwz-m.exp: New file.
3490 * boards/cc-with-dwz.exp: New file.
3491 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3492
3493 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3494
3495 * gdb.base/start-cpp.exp: New file.
3496 * gdb.base/start-cpp.cc: New file.
3497
3498 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3499
3500 * gdb.python/py-thrhandle.exp: Adjust tests to call
3501 thread_from_handle instead of thread_from_thread_handle.
3502
3503 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3504
3505 * gdb.python/py-thrhandle.exp: Add tests for
3506 gdb.InferiorThread.handle.
3507
3508 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3509
3510 * gdb.python/py-function.exp: Check calling helper function from
3511 all languages.
3512 * lib/gdb.exp (gdb_supported_languages): New proc.
3513
3514 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3515
3516 * gdb.base/complex-parts.c: New file.
3517 * gdb.base/complex-parts.exp: New file.
3518
3519 2019-04-01 Tom Tromey <tromey@adacore.com>
3520
3521 PR symtab/23331:
3522 * gdb.dwarf2/dw2-ranges-main.c: New file.
3523 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3524 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3525
3526 2019-03-30 Simon Marchi <simark@simark.ca>
3527
3528 * gdb.base/default.exp: Add values for $_gdb_major and
3529 $_gdb_minor.
3530
3531 2019-03-29 Tom Tromey <tromey@adacore.com>
3532
3533 * gdb.base/help.exp: Tighten apropos regexp.
3534
3535 2019-03-29 Keith Seitz <keiths@redhat.com>
3536
3537 * gdb.fortran/array-bounds.exp: New file.
3538 * gdb.fortran/array-bounds.f90: New file.
3539
3540 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3541
3542 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3543
3544 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3545
3546 * gdb.multi/hello.c (main): Increase alarm timer.
3547
3548 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3549
3550 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3551 factor when no hardware watchpoint support.
3552
3553 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3554 Pedro Alves <palves@redhat.com>
3555
3556 * boards/local-board.exp: set sysroot to /.
3557
3558 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3559
3560 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3561 in child.
3562
3563 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3566 field.
3567 (make_container): Initialise new field.
3568 * gdb.python/py-prettyprint.exp: Add new tests.
3569 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3570 <display_hint>: New method.
3571
3572 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3575 gdb_continue_to_breakpoint more throughout this test.
3576 (run_lang_tests) Supply unique test names, and use
3577 gdb_test_no_output.
3578
3579 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3580
3581 * gdb.base/finish-pretty.exp: Update expected results.
3582 * gdb.base/pretty-print.c: New file.
3583 * gdb.base/pretty-print.exp: New file.
3584
3585 2019-03-25 Pedro Alves <palves@redhat.com>
3586
3587 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3588 move comments outside list. Append '-i "" eof' section.
3589
3590 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3591
3592 PR testsuite/25016
3593 * README: Add pie options.
3594 * gdb.base/break-interp.exp: Ensure pie is disabled.
3595 * gdb.base/dump.exp: Likewise.
3596 * lib/gdb.exp (gdb_compile): Add pie option.
3597
3598 2019-03-19 Tom Tromey <tromey@adacore.com>
3599
3600 * gdb.mi/mi2-cli-display.c: New file.
3601 * gdb.mi/mi2-cli-display.exp: New file.
3602
3603 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3604 Tom Tromey <tromey@adacore.com>
3605
3606 * gdb.ada/ptype_array/pck.adb: New file.
3607 * gdb.ada/ptype_array/pck.ads: New file.
3608 * gdb.ada/ptype_array/foo.adb: New file.
3609 * gdb.ada/ptype_array.exp: New file.
3610
3611 2019-03-14 Tom Tromey <tromey@adacore.com>
3612
3613 * gdb.base/style.exp: Add "set style sources" test.
3614
3615 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3616
3617 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3618 * mi-breakpoint-multiple-locations.exp: ... this.
3619 (make_breakpoints_pattern): New proc.
3620 (do_test): Add mi_version parameter, test -break-insert,
3621 -break-info and =breakpoint-created.
3622
3623 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 * config/default.exp: Remove 'load_lib gdb.exp'.
3626 * config/monitor.exp: Likewise.
3627 * config/sid.exp: Likewise.
3628 * config/sim.exp: Likewise.
3629 * config/slite.exp: Likewise.
3630 * config/unix.exp: Likewise.
3631 * gdb.base/default.exp: Remove unhelpful comment.
3632
3633 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3636
3637 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3638
3639 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3640
3641 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3642
3643 * gdb.fortran/type-kinds.exp: Update expected results.
3644
3645 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3646
3647 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3648
3649 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3650
3651 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3652 function.
3653 (test_basic_parsing_of_type_kinds): Expand types tested.
3654 (test_parsing_invalid_type_kinds): New function.
3655
3656 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3657
3658 * gdb.fortran/intrinsics.exp: New file.
3659 * gdb.fortran/intrinsics.f90: New file.
3660 * gdb.fortran/type-kinds.exp: New file.
3661
3662 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3663
3664 * gdb.fortran/dot-ops.exp: New file.
3665
3666 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3667
3668 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3669 Check upper and lower case logical literals.
3670
3671 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3674 Remove duplicate tests.
3675
3676 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3677
3678 * lib/gdb.exp (builtin_cd): rename of cd.
3679 (cd): Override builtin.
3680
3681 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3682
3683 * gdb.fortran/function-calls.exp: New file.
3684 * gdb.fortran/function-calls.f90: New test.
3685
3686 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3687
3688 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3689 on user program standard output.
3690 * gdb.fortran/short-circuit-argument-list.f90: Record function
3691 calls.
3692
3693 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3694
3695 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3696 failure.
3697
3698 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3699
3700 PR gdb/8527
3701 * gdb.base/interrupt-daemon-attach.c,
3702 gdb.base/interrupt-daemon-attach.exp: New test.
3703
3704 2019-02-27 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/page.exp: Add tests for "set width/height -1".
3707
3708 2019-02-27 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/page.exp: Add tests for "set/show width/height" with
3711 "infinite" values.
3712
3713 2019-02-27 Tom Tromey <tromey@adacore.com>
3714
3715 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3716 2.4.
3717 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3718 workaround.
3719
3720 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3721
3722 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3723 tests for structs with static members.
3724
3725 2019-02-26 Tom Tromey <tromey@adacore.com>
3726
3727 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3728 ValueError, not TypeError.
3729
3730 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3731
3732 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3733 call from main program.
3734
3735 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3736
3737 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3738 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3739 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3740 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3741 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3742
3743 2019-02-22 Keith Seitz <keiths@redhat.com>
3744
3745 PR symtab/23853
3746 * gdb.base/symlink-sourcefile.c: New file.
3747 * gdb.base/symlink-sourcefile.exp: New file.
3748
3749 2019-02-20 Tom Tromey <tom@tromey.com>
3750
3751 * gdb.base/info_qt.exp: Update.
3752
3753 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3754
3755 * gdb.base/source.exp: Move "error in sourced script" code to
3756 the end.
3757 * gdb.base/source-error.gdb: Move contents to
3758 source-error-1.gdb. Add new code to source source-error-1.gdb.
3759 * gdb.base/source-error-1.gdb: New file, from previous
3760 source-error.gdb.
3761
3762 2019-02-17 Tom Tromey <tom@tromey.com>
3763
3764 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3765 for macro styling.
3766 * gdb.base/style.c (SOME_MACRO): New macro.
3767
3768 2019-02-17 Tom Tromey <tom@tromey.com>
3769
3770 * gdb.base/style.exp: Add line-wrapping tests.
3771 * gdb.base/page.exp: Add test for quitting during pagination.
3772
3773 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3774
3775 * gdb.ada/big_packed_array: New testcase.
3776 * gdb.ada/homonym.exp: Fix incorrect expected output for
3777 "break <homonym__get_value>" test.
3778
3779 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3780
3781 PR breakpoints/21870
3782 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3783 and prepare_for_testing. Add comment.
3784 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3785 redundant cleanup call. Clean up comment.
3786
3787 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3788
3789 PR breakpoints/21870
3790 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3791 * gdb.arch/aarch64-dbreg-contents.c: New file.
3792
3793 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3794
3795 * gdb.ada/mi_ref_changeable: New testcase.
3796
3797 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3798
3799 * gdb.base/attach.exp: Add double attach test.
3800
3801 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3802
3803 * lib/gdb.exp (default_gdb_start): Don't match pagination
3804 prompt.
3805 (gdb_init): Set stty_init.
3806
3807 2019-01-27 Tom Tromey <tom@tromey.com>
3808
3809 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3810 skip_python_tests.
3811
3812 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3813
3814 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3815 New structure.
3816 (struct struct_static_02_02): Likewise.
3817 (struct struct_static_02_03): Likewise.
3818 (struct struct_static_02_04): Likewise.
3819 (struct struct_static_04_01): Likewise.
3820 (struct struct_static_04_02): Likewise.
3821 (struct struct_static_04_03): Likewise.
3822 (struct struct_static_04_04): Likewise.
3823 (struct struct_static_06_01): Likewise.
3824 (struct struct_static_06_02): Likewise.
3825 (struct struct_static_06_03): Likewise.
3826 (struct struct_static_06_04): Likewise.
3827 (cmp_struct_static_02_01): Likewise.
3828 (cmp_struct_static_02_02): Likewise.
3829 (cmp_struct_static_02_03): Likewise.
3830 (cmp_struct_static_02_04): Likewise.
3831 (cmp_struct_static_04_01): Likewise.
3832 (cmp_struct_static_04_02): Likewise.
3833 (cmp_struct_static_04_03): Likewise.
3834 (cmp_struct_static_04_04): Likewise.
3835 (cmp_struct_static_06_01): Likewise.
3836 (cmp_struct_static_06_02): Likewise.
3837 (cmp_struct_static_06_03): Likewise.
3838 (cmp_struct_static_06_04): Likewise.
3839 (call_all): Test new structs.
3840 * gdb.base/infcall-nested-structs.exp: Likewise.
3841
3842 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3843 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3844
3845 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3846 * gdb.base/stack-protector.c: New test.
3847 * gdb.base/stack-protector.exp: New file.
3848 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3849 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3850 option.
3851 (gdb_compile): Remove stack protector for GCC and prevent
3852 recursion.
3853
3854 2019-01-16 Keith Seitz <keiths@redhat.com>
3855
3856 PR gdb/23773
3857 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3858
3859 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3860
3861 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3862 aliases.
3863 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3864 tests.
3865 * gdb.arch/powerpc-vector-regs.c: New file.
3866 * gdb.arch/powerpc-vector-regs.exp: New file.
3867
3868 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3869
3870 * gdb.arch/altivec-regs.exp: Fix the list passed to
3871 gdb_expect_list when testing "info vector".
3872
3873 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3874
3875 * gdb.base/style.exp: Don't include path in testname.
3876
3877 2019-01-10 Keith Seitz <keiths@redhat.com>
3878
3879 PR gdb/23712
3880 PR symtab/23010
3881 * gdb.dwarf2/multidictionary.exp: New file.
3882
3883 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3884
3885 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3886 (test_gnuv3_style_demangling): ... this.
3887 (test_lucid_style_demangling): Remove.
3888 (test_arm_style_demangling): Remove.
3889 (test_hp_style_demangling): Remove.
3890 (do_tests): Remove calls to the above.
3891
3892 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3893
3894 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3895 case.
3896
3897 2019-01-06 Tom Tromey <tom@tromey.com>
3898
3899 PR gdb/28155:
3900 * gdb.dwarf2/typedef-void-finish.exp: New file.
3901
3902 2018-12-28 Tom Tromey <tom@tromey.com>
3903 Simon Marchi <simark@simark.ca>
3904
3905 * gdb.base/jit-exec.exp: New file.
3906 * gdb.base/jit-exec.c: New file.
3907 * gdb.base/jit-execd.c: New file.
3908
3909 2018-12-28 Tom Tromey <tom@tromey.com>
3910
3911 * gdb.base/style.exp: Update test to check for address styling.
3912
3913 2018-12-28 Tom Tromey <tom@tromey.com>
3914
3915 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3916 message.
3917
3918 2018-12-28 Tom Tromey <tom@tromey.com>
3919
3920 * gdb.base/style.exp: Add test for version number styling.
3921
3922 2018-12-28 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.base/style.exp: Add test for print_address_symbolic.
3925
3926 2018-12-28 Tom Tromey <tom@tromey.com>
3927
3928 * gdb.base/style.exp: Add test for breakpoint setting.
3929
3930 2018-12-28 Tom Tromey <tom@tromey.com>
3931
3932 * gdb.base/style.exp: Add test for variable names.
3933
3934 2018-12-28 Tom Tromey <tom@tromey.com>
3935
3936 * gdb.base/style.exp: New file.
3937 * gdb.base/style.c: New file.
3938
3939 2018-12-28 Tom Tromey <tom@tromey.com>
3940
3941 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3942 "dumb".
3943 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3944 the TERM environment variable.
3945
3946 2018-12-27 Tom Tromey <tom@tromey.com>
3947
3948 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3949 pagination test.
3950
3951 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3954 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3955
3956 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3957
3958 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3959 Filename a.adb changed to bp_fun_addr.adb.
3960 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3961
3962 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3963
3964 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3965 non-PIE executables.
3966 * README: Mention the gdb,nopie_flag board setting.
3967 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3968 non-PIE executable.
3969 * gdb.arch/amd64-entry-value.exp: Likewise.
3970 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3971 * gdb.arch/i386-float.exp: Likewise.
3972 * gdb.arch/i386-signal.exp: Likewise.
3973 * gdb.mi/mi-reg-undefined.exp: Likewise.
3974
3975 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3976
3977 PR gdb/23974
3978 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3979
3980 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3981
3982 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3983 Update order of results accordingly.
3984
3985 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3986
3987 * gdb.base/annota1.exp: Update a test regexp.
3988
3989 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3990
3991 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3992
3993 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3994
3995 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3996 (reuse_time): Initialize to REUSE_TIME_CAP.
3997 (check_rc): New function.
3998 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3999 Check pthread_create rc.
4000 (spawner_thread_func): Check pthread_create and pthread_join rc.
4001
4002 2018-12-08 Pedro Alves <palves@redhat.com>
4003
4004 * gdb.base/list.exp (test_forward_search): Rename to ...
4005 (test_forward_reverse_search): ... this. Also test reverse-search
4006 and the forward-search alias.
4007
4008 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4009
4010 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4011 local timeout variable before return, and remove all local timeout
4012 variable entirely.
4013 (gdb_load): Likewise.
4014
4015 2018-12-01 Tom de Vries <tdevries@suse.de>
4016
4017 * gdb.base/gdb-caching-proc.exp: New file.
4018
4019 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4020
4021 * Makefile.in (TIMESTAMP): New variable.
4022 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4023 command.
4024 (check-single-racy): Likewise.
4025 (check/%.exp): Likewise.
4026 (check-racy/%.exp): Likewise.
4027 (workers/%.worker): Likewise.
4028 (build-perf): Likewise.
4029 (check-perf): Likewise.
4030 * README: Describe new "TS" and "TS_FORMAT" variables.
4031 * print-ts.py: New file.
4032
4033 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4034
4035 PR python/23714
4036 * gdb.python/python.exp: Test command repetition after
4037 gdb.execute.
4038
4039 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4040
4041 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4042 is correctly aligned.
4043
4044 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4045
4046 * gdb.ada/info_auto_lang.exp: New testcase.
4047 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4048 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4049 * gdb.ada/info_auto_lang/some_c.c: New file.
4050
4051 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4052
4053 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4054 FUNC_lang language syntax.
4055
4056 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4057
4058 * gdb.base/info_minsym.c: New file.
4059 * gdb.base/info_minsym.exp: New file.
4060
4061 2018-11-19 Tom Tromey <tom@tromey.com>
4062
4063 PR rust/23625:
4064 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4065 * gdb.rust/expr.exp: Update expected output. Change one test.
4066
4067 2018-11-19 Tom Tromey <tom@tromey.com>
4068
4069 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4070
4071 2018-11-19 Pedro Alves <palves@redhat.com>
4072
4073 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4074 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4075 see the expected warning.
4076
4077 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4078
4079 PR gdb/22736:
4080 * gdb.cp/infcall-nodebug-lib.c: New test.
4081 * gdb.cp/infcall-nodebug-main.c: New test.
4082 * gdb.cp/infcall-nodebug.exp: New file.
4083
4084 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4085
4086 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4087 completer tests.
4088
4089 2018-11-09 Tom de Vries <tdevries@suse.de>
4090
4091 * gdb.base/msym-lang.c: New test.
4092 * gdb.base/msym-lang.exp: New file.
4093 * gdb.base/msym-lang-main.c: New test.
4094
4095 2018-11-08 Tom Tromey <tom@tromey.com>
4096
4097 PR gdb/23555:
4098 PR gdb/23838:
4099 * gdb.base/warning.exp: New file.
4100
4101 2018-11-08 Jan Beulich <jbeulich@suse.com>
4102
4103 * testsuite/gdb.arch/i386-avx512.c,
4104 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4105
4106 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4107
4108 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4109 point hardware.
4110
4111 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4114 * gdb.dwarf2/missing-type-name.exp: New file.
4115
4116 2018-11-06 Tom de Vries <tdevries@suse.de>
4117
4118 * gdb.base/many-headers.c: New test.
4119 * gdb.base/many-headers.exp: New file.
4120
4121 2018-11-06 Jim Wilson <jimw@sifive.com>
4122
4123 * gdb.base/code_elim.exp: For riscv, set additional_flags
4124 to include -msmall-data-limit=0.
4125
4126 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4127
4128 * gdb.ada/watch_minus_l: New testcase.
4129
4130 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4131
4132 * gdb.arch/aix-sighandle.c: New file.
4133 * gdb.arch/aix-sighandle.exp: New file.
4134
4135 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4136
4137 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4138 registers being unions.
4139
4140 2018-10-31 Tom de Vries <tdevries@suse.de>
4141
4142 * lib/valgrind.exp: New file.
4143 (vgdb_start, vgdb_stop): New procs, factored out of ...
4144 * gdb.base/valgrind-bt.exp: ... here, ...
4145 * gdb.base/valgrind-disp-step.exp: ... here and ...
4146 * gdb.base/valgrind-infcall.exp: ... here.
4147
4148 2018-10-31 Tom de Vries <tdevries@suse.de>
4149
4150 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4151
4152 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4153
4154 * gdb.dwarf2/void-type.c: New file.
4155 * gdb.dwarf2/void-type.exp: New file.
4156
4157 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4158
4159 * gdb.base/info_qt.c: New file.
4160 * gdb.base/info_qt.exp: New file.
4161
4162 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4163
4164 * gdb.arch/powerpc-htm-regs.c: New file.
4165 * gdb.arch/powerpc-htm-regs.exp: New file.
4166
4167 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4168
4169 * gdb.arch/powerpc-tar.c: New file.
4170 * gdb.arch/powerpc-tar.exp: New file.
4171
4172 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4173
4174 * gdb.arch/powerpc-ppr-dscr.c: New file.
4175 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4176
4177 2018-10-25 Tom de Vries <tdevries@suse.de>
4178
4179 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4180
4181 2018-10-24 Tom de Vries <tdevries@suse.de>
4182
4183 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4184 longer exists error.
4185
4186 2018-10-24 Tom de Vries <tdevries@suse.de>
4187
4188 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4189
4190 2018-10-24 Tom de Vries <tdevries@suse.de>
4191
4192 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4193 --db-attach in valgrind.
4194
4195 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.arch/riscv-reg-aliases.c: New file.
4198 * gdb.arch/riscv-reg-aliases.exp: New file.
4199
4200 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4201
4202 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4203
4204 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4205
4206 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4207
4208 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4209
4210 * gdb.cp/ovldbreak.exp: Fix regexps.
4211
4212 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4213
4214 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4215
4216 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4217
4218 PR cli/23785
4219 * gdb.base/restore.exp: New test to check if "restore" with an
4220 invalid file doesn't segfault.
4221
4222 2018-10-18 Tom de Vries <tdevries@suse.de>
4223
4224 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4225 * gdb.ada/excep_handle.exp: Same.
4226 * gdb.ada/mi_string_access.exp: Same.
4227 * gdb.ada/mi_var_union.exp: Same.
4228 * gdb.arch/arc-analyze-prologue.exp: Same.
4229 * gdb.arch/arc-decode-insn.exp: Same.
4230 * gdb.base/readnever.exp: Same.
4231 * gdb.fortran/printing-types.exp: Same.
4232 * gdb.guile/scm-lazy-string.exp: Same.
4233
4234 2018-10-16 Tom de Vries <tdevries@suse.de>
4235
4236 PR gdb/23730
4237 * gdb.base/catch-follow-exec.c: Add copyright notice.
4238 * gdb.base/catch-follow-exec.exp: Rewrite to use
4239 gdb_spawn_with_cmdline_opts. Require gdb-native.
4240
4241 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4242
4243 * gdb.trace/actions-changed.exp: Check for arch support.
4244 * gdb.trace/actions.exp: Likewise.
4245 * gdb.trace/ax.exp: Likewise.
4246 * gdb.trace/backtrace.exp: Likewise.
4247 * gdb.trace/change-loc.exp: Likewise.
4248 * gdb.trace/deltrace.exp: Likewise.
4249 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4250 * gdb.trace/ftrace.exp: Likewise.
4251 * gdb.trace/infotrace.exp: Check for arch support.
4252 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4253 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4254 * gdb.trace/mi-tsv-changed.exp: Likewise.
4255 * gdb.trace/packetlen.exp: Likewise.
4256 * gdb.trace/passc-dyn.exp: Likewise.
4257 * gdb.trace/passcount.exp: Likewise.
4258 * gdb.trace/pending.exp: Likewise.
4259 * gdb.trace/range-stepping.exp: Check for shlib support.
4260 * gdb.trace/report.exp: Check for arch support.
4261 * gdb.trace/save-trace.exp: Likewise.
4262 * gdb.trace/signal.exp: Check for signal support.
4263 * gdb.trace/tfind.exp: Check for arch support.
4264 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4265 * gdb.trace/trace-common.h: Add comment.
4266 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4267 * gdb.trace/trace-enable-disable.exp: Likewise.
4268 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4269 * gdb.trace/tracecmd.exp: Check for arch support.
4270 * gdb.trace/tspeed.exp: Check for shlib and target support.
4271 * gdb.trace/tstatus.exp: Check for arch support.
4272 * gdb.trace/tsv.exp: Likewise.
4273 * gdb.trace/while-dyn.exp: Likewise.
4274 * gdb.trace/while-stepping.exp: Likewise.
4275 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4276
4277 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 * gdb.trace/tspeed.exp: Remove nowarnings.
4280 (prepare_for_trace_test): Declare "global ipalib".
4281 * gdb.trace/tspeed.c: Include unistd.h.
4282 (main): Remove superfluous printf argument.
4283
4284 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4285
4286 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4287 directory prefix on the filename.
4288
4289 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4290
4291 * gdb.gdb/unittest.exp: Update expected message informing that
4292 selftests have been disabled.
4293 * gdb.server/unittest.exp: Likewise.
4294
4295 2018-10-09 Tom de Vries <tdevries@suse.de>
4296
4297 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4298 with runto_main.
4299
4300 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4301
4302 PR c++/16841
4303 * gdb.cp/virtbase2.cc: New file.
4304 * gdb.cp/virtbase2.exp: New file.
4305
4306 2018-10-06 Tom Tromey <tom@tromey.com>
4307
4308 PR python/19399:
4309 * gdb.python/py-inferior.exp: Add architecture test.
4310
4311 2018-10-06 Tom Tromey <tom@tromey.com>
4312
4313 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4314 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4315
4316 2018-10-06 Tom Tromey <tom@tromey.com>
4317
4318 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4319 of a "throw" catchpoint.
4320
4321 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4322
4323 * gdb.base/info-proc.exp: Update string expected from "help info
4324 proc".
4325
4326 2018-10-04 Tom Tromey <tom@tromey.com>
4327
4328 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4329 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4330 (test_initial_complaints, test_empty_complaints): Update.
4331 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4332
4333 2018-10-04 Tom Tromey <tom@tromey.com>
4334
4335 PR cli/19551:
4336 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4337 * lib/gdb.exp (gdb_file_cmd): Update.
4338 * gdb.stabs/weird.exp (print_weird_var): Update.
4339 * gdb.server/solib-list.exp: Update.
4340 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4341 * gdb.mi/mi-cli.exp: Update.
4342 * gdb.linespec/linespec.exp: Update.
4343 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4344 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4345 * gdb.cp/cp-relocate.exp: Update.
4346 * gdb.base/sym-file.exp: Update.
4347 * gdb.base/relocate.exp: Update.
4348 * gdb.base/readnever.exp: Update.
4349 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4350 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4351 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4352 * gdb.base/code_elim.exp: Update.
4353 * gdb.base/break-unload-file.exp (test_break): Update.
4354 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4355 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4356 Update.
4357 * gdb.base/attach.exp (do_attach_tests): Update.
4358 * gdb.base/sepdebug.exp: Update.
4359 * gdb.python/py-section-script.exp: Update.
4360
4361 2018-10-04 Tom Tromey <tom@tromey.com>
4362
4363 PR cli/22234:
4364 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4365 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4366 output.
4367
4368 2018-10-04 Tom Tromey <tom@tromey.com>
4369
4370 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4371 set width and height to 0.
4372 (test_command_line_attach_run): Use -quiet.
4373
4374 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4375
4376 * lib/gdb.exp (skip_ifunc_tests): New.
4377 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4378 other compile failures.
4379 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4380
4381 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4382
4383 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4384 is_amd64_regs_target.
4385
4386 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4387
4388 * gdb.arch/aarch64-sighandler-regs.c: New test.
4389 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4390 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4391
4392 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4393
4394 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4395 assembly.
4396
4397 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4398
4399 * gdb.base/frame-selection.exp: New file.
4400 * gdb.base/frame-selection.c: New file.
4401
4402 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4403
4404 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4405 pthread barrier.
4406 (main): Likewise.
4407
4408 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4409
4410 * gdb.base/large-frame-1.c: New file.
4411 * gdb.base/large-frame-2.c: New file.
4412 * gdb.base/large-frame.exp: New file.
4413 * gdb.base/large-frame.h: New file.
4414
4415 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4416
4417 PR gdb/20948
4418 * gdb.base/write_mem.exp: New test.
4419 * gdb.base/write_mem.c: Likewise.
4420
4421 2018-09-23 Tom Tromey <tom@tromey.com>
4422
4423 PR python/18852:
4424 * gdb.python/py-parameter.exp: Add test for parameter that throws
4425 on "set".
4426
4427 2018-09-23 Tom Tromey <tom@tromey.com>
4428
4429 PR python/17284:
4430 * gdb.python/py-template.exp (test_template_arg): Add test for
4431 negative template argument number.
4432
4433 2018-09-23 Tom Tromey <tom@tromey.com>
4434
4435 PR python/14062:
4436 * gdb.python/python.exp: Add test for post_event error.
4437
4438 2018-09-23 Tom Tromey <tom@tromey.com>
4439
4440 PR python/18170:
4441 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4442 convert pointers to int and long.
4443
4444 2018-09-23 Tom Tromey <tom@tromey.com>
4445
4446 PR python/20126:
4447 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4448 signed-ness conversion tests.
4449
4450 2018-09-23 Tom Tromey <tom@tromey.com>
4451
4452 PR python/18352;
4453 * gdb.python/py-value.exp (test_float_conversion): New proc.
4454 Use it.
4455
4456 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4457
4458 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4459
4460 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4461
4462 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4463 no readline.
4464 * gdb.base/utf8-identifiers.exp: Likewise.
4465 * gdb.cp/cpcompletion.exp: Likewise.
4466 * gdb.linespec/cpcompletion.exp: Likewise.
4467 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4468 * gdb.linespec/cpls-ops.exp: Likewise.
4469
4470 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4471 Chris January <chris.january@arm.com>
4472
4473 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4474 * gdb.fortran/short-circuit-argument-list.exp: New file.
4475 * gdb.fortran/short-circuit-argument-list.f90: New test.
4476
4477 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4478
4479 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4480 "arch=" keyword when executing "-stack-list-frames".
4481
4482 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4483
4484 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4485 "arch=" keyword when executing "-stack-list-frames".
4486
4487 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4488
4489 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4490 break ada".
4491
4492 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4493
4494 PR python/23669
4495 * gdb.python/python.exp: Test gdb.execute("show commands").
4496
4497 2018-09-16 Tom Tromey <tom@tromey.com>
4498
4499 * gdb.base/new-ui.exp (do_execution_tests): Update.
4500 * gdb.base/dbx.exp (test_breakpoints): Update.
4501
4502 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4503
4504 * lib/gdb.exp (gdb_simple_compile): Add proc.
4505 (is_elf_target): Use gdb_simple_compile.
4506 (skip_altivec_tests): Likewise.
4507 (skip_vsx_tests): Likewise.
4508 (skip_tsx_tests): Likewise.
4509 (skip_btrace_tests): Likewise.
4510 (skip_btrace_pt_tests): Likewise.
4511 (gdb_can_simple_compile): Likewise.
4512 (gdb_has_argv0): Likewise.
4513 (gdb_target_symbol_prefix): Likewise.
4514 (target_supports_scheduler_locking): Likewise.
4515
4516 2018-09-13 Tom Tromey <tom@tromey.com>
4517
4518 * Makefile.in (TAGS): Recognize proc_with_prefix and
4519 gdb_caching_proc.
4520
4521 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4522
4523 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4524 method.
4525
4526 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4527
4528 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4529 and a few other Inferior properties when the Inferior is no
4530 longer valid.
4531
4532 2018-09-13 Tom Tromey <tom@tromey.com>
4533
4534 PR rust/23650:
4535 * gdb.rust/simple.exp: Add test for enum field access error.
4536
4537 2018-09-13 Tom Tromey <tom@tromey.com>
4538
4539 PR rust/23626:
4540 * gdb.rust/simple.rs (EmptyEnum): New type.
4541 (main): Use it.
4542 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4543
4544 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4545
4546 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4547 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4548 * gdb.python/py-symtab.exp: Update test printing an objfile.
4549
4550 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4551
4552 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4553 object.
4554
4555 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4556
4557 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4558 (support_complex_tests): Use gdb_can_simple_compile.
4559 (is_ilp32_target): Likewise.
4560 (is_lp64_target): Likewise.
4561 (is_64_target): Likewise.
4562 (is_amd64_regs_target): Likewise.
4563 (is_aarch32_target): Likewise.
4564 (gdb_int128_helper): Likewise.
4565
4566 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4569
4570 2018-09-10 Jerome Guitton <guitton@adacore.com>
4571
4572 * gdb.ada/same_component_name: Add test for case of tagged record
4573 with variable-length fields.
4574
4575 2018-09-10 Xavier Roirand <roirand@adacore.com>
4576
4577 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4578 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4579 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4580 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4581
4582 2018-09-10 Xavier Roirand <roirand@adacore.com>
4583
4584 * gdb.ada/mi_string_access.exp: New testcase.
4585 * gdb.ada/mi_string_access/bar.adb: New file.
4586 * gdb.ada/mi_string_access/pck.adb: New file.
4587 * gdb.ada/mi_string_access/pck.asd: New file.
4588
4589 2018-09-10 Xavier Roirand <roirand@adacore.com>
4590
4591 * gdb.ada/mi_var_union.exp: New testcase.
4592 * gdb.ada/mi_var_union/bar.adb: New file.
4593 * gdb.ada/mi_var_union/pck.adb: New file.
4594 * gdb.ada/mi_var_union/pck.asd: New file.
4595
4596 2018-09-08 Tom Tromey <tom@tromey.com>
4597
4598 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4599
4600 2018-09-08 Tom Tromey <tom@tromey.com>
4601
4602 PR python/16047:
4603 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4604 (register_pretty_printers): Register new printer.
4605 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4606 test.
4607 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4608 (an_int_type3): New global.
4609
4610 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4611
4612 * gdb.ada/expr_with_funcall: New testcase.
4613
4614 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4615
4616 * gdb.ada/packed_array_assign: New testcase.
4617
4618 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4619
4620 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4621 names, and add test prefixes to make test names unique.
4622
4623 2018-09-05 Tom de Vries <tdevries@suse.de>
4624
4625 * gdb.dwarf2/varval.exp: Add test.
4626
4627 2018-09-04 Gary Benson <gbenson@redhat.com>
4628
4629 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4630 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4631
4632 2018-08-31 Tom Tromey <tom@tromey.com>
4633
4634 * gdb.rust/simple.rs: Rename second variable "v".
4635
4636 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4637
4638 * gdb.base/funcargs.c (use_a): New function.
4639 (recurse): Call use_a.
4640
4641 2018-08-29 Keith Seitz <keiths@redhat.com>
4642
4643 * gdb.compile/compile-cplus-anonymous.cc: New file.
4644 * gdb.compile/compile-cplus-anonymous.exp: New file.
4645 * gdb.compile/compile-cplus-array-decay.cc: New file.
4646 * gdb.compile/compile-cplus-array-decay.exp: New file.
4647 * gdb.compile/compile-cplus-inherit.cc: New file.
4648 * gdb.compile/compile-cplus-inherit.exp: New file.
4649 * gdb.compile/compile-cplus-member.cc: New file.
4650 * gdb.compile/compile-cplus-member.exp: New file.
4651 * gdb.compile/compile-cplus-method.cc: New file.
4652 * gdb.compile/compile-cplus-method.exp: New file.
4653 * gdb.compile/compile-cplus-mod.c: "New" file.
4654 * gdb.compile/compile-cplus-namespace.cc: New file.
4655 * gdb.compile/compile-cplus-namespace.exp: New file.
4656 * gdb.compile/compile-cplus-nested.cc: New file.
4657 * gdb.compile/compile-cplus-nested.exp: New file.
4658 * gdb.compile/compile-cplus-print.c: "New" file.
4659 * gdb.compile/compile-cplus-print.exp: "New" file.
4660 * gdb.compile/compile-cplus-virtual.cc: New file.
4661 * gdb.compile/compile-cplus-virtual.exp: New file.
4662 * gdb.compile/compile-cplus.c: "New" file.
4663 * gdb.compile/compile-cplus.exp: "New" file.
4664 * lib/compile-support.exp: New file.
4665
4666 2018-08-16 Gary Benson <gbenson@redhat.com>
4667
4668 PR gdb/13000:
4669 * gdb.base/batch-exit-status.exp: New file.
4670 * gdb.base/batch-exit-status.good-commands: Likewise.
4671 * gdb.base/batch-exit-status.bad-commands: Likewise.
4672
4673 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4674
4675 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4676 (struct struct02): Likewise.
4677 (struct struct03): Likewise.
4678 (struct struct04): Likewise.
4679 (struct struct_01_01): New struct.
4680 (struct struct_01_02): Likewise.
4681 (struct struct_01_03): Likewise.
4682 (struct struct_01_04): Likewise.
4683 (struct struct_02_01): Likewise.
4684 (struct struct_02_02): Likewise.
4685 (struct struct_02_03): Likewise.
4686 (struct struct_02_04): Likewise.
4687 (struct struct_04_01): Likewise.
4688 (struct struct_04_02): Likewise.
4689 (struct struct_04_03): Likewise.
4690 (struct struct_04_04): Likewise.
4691 (struct struct_05_01): Likewise.
4692 (struct struct_05_02): Likewise.
4693 (struct struct_05_03): Likewise.
4694 (struct struct_05_04): Likewise.
4695 (cmp_struct01): Remove function.
4696 (cmp_struct02): Likewise.
4697 (cmp_struct03): Likewise.
4698 (cmp_struct04): Likewise.
4699 (cmp_struct_01_01): Add Function.
4700 (cmp_struct_01_02): Likewise.
4701 (cmp_struct_01_03): Likewise.
4702 (cmp_struct_01_04): Likewise.
4703 (cmp_struct_02_01): Likewise.
4704 (cmp_struct_02_02): Likewise.
4705 (cmp_struct_02_03): Likewise.
4706 (cmp_struct_02_04): Likewise.
4707 (cmp_struct_04_01): Likewise.
4708 (cmp_struct_04_02): Likewise.
4709 (cmp_struct_04_03): Likewise.
4710 (cmp_struct_04_04): Likewise.
4711 (cmp_struct_05_01): Likewise.
4712 (cmp_struct_05_02): Likewise.
4713 (cmp_struct_05_03): Likewise.
4714 (cmp_struct_05_04): Likewise.
4715 (call_all): Add new structs.
4716 * gdb.base/infcall-nested-structs.exp: Likewise.
4717
4718 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4719
4720 * gdb.python/py-framefilter-mi.exp: Update regexp to
4721 check for "arch" field in frame output.
4722
4723 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4724
4725 * gdb.dwarf2/dw2-ranges-func.c: New file.
4726 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4727
4728 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4729
4730 * gdb.base/term.exp: Compare terminal settings with values from
4731 the inferior.
4732 * gdb.base/term.c: Get and set terminal settings.
4733
4734 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4735
4736 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4737 accommodate new "arch" field in frame output.
4738 * gdb.mi/mi-return.exp: Likewise.
4739 * gdb.mi/mi-stack.exp: Likewise.
4740 * gdb.mi/mi-syn-frame.exp: Likewise.
4741 * gdb.mi/user-selected-context-sync.exp: Likewise.
4742
4743 2018-08-19 Michael Spang <spang@google.com>
4744
4745 PR gdb/11786
4746 * gdb.base/gcore-tls-pie.c: New file.
4747 * gdb.base/gcore-tls-pie.exp: New file.
4748
4749 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4750
4751 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4752 * gdb.dwarf2/varval.c: New file.
4753 * gdb.dwarf2/varval.exp: New file.
4754
4755 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4756
4757 PR gdb/18931
4758 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4759
4760 2018-08-16 Keith Seitz <keiths@redhat.com>
4761
4762 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4763 tests expected to pass.
4764
4765 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4766
4767 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4768 -data-disassemble -a.
4769 (test_disassembly_bogus_args): Likewise.
4770
4771 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4772
4773 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4774
4775 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4776
4777 * gdb.base/vla-optimized-out.exp: Add new test.
4778
4779 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4780
4781 * gdb.base/vla-optimized-out-o3.exp: Delete.
4782 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4783 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4784 deleted tests.
4785
4786 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4787
4788 PR gdb/18050:
4789 * gdb.server/extended-remote-restart.c: New file.
4790 * gdb.server/extended-remote-restart.exp: New file.
4791
4792 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4793
4794 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4795 "set variable index = 42".
4796
4797 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4798
4799 * boards/index-cache-gdb.exp: New file.
4800 * gdb.dwarf2/index-cache.exp: New file.
4801 * gdb.dwarf2/index-cache.c: New file.
4802 * gdb.base/maint.exp: Check if we are using the index cache.
4803
4804 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4805
4806 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4807 MAKEFLAGS.
4808
4809 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4810
4811 * dg-extract-results.sh: Move to toplevel contrib.
4812 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4813 * Makefile.in (check-parallel-racy): Likewise.
4814
4815 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4816
4817 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4818 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4819 tests if the target supports scheduler locking.
4820
4821 2018-08-04 Tom de Vries <tdevries@suse.de>
4822
4823 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4824
4825 2018-08-02 Tom Tromey <tom@tromey.com>
4826
4827 PR symtab/16842.
4828 * gdb.cp/temargs.exp: Test "info address" of a template
4829 parameter.
4830
4831 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4832
4833 * gdb.python/py-mi-var-info-path-expression.c: New file.
4834 * gdb.python/py-mi-var-info-path-expression.py: New file.
4835 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4836
4837 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4838
4839 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4840 error after "cannot resolve name" string.
4841
4842 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4843
4844 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4845 started.
4846 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4847
4848 2018-07-28 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4851
4852 2018-07-26 Tom de Vries <tdevries@suse.de>
4853
4854 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4855
4856 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4857
4858 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4859 is visible.
4860
4861 2018-07-26 Tom de Vries <tdevries@suse.de>
4862
4863 PR breakpoints/23366
4864 * gdb.base/catch-follow-exec.c: New test.
4865 * gdb.base/catch-follow-exec.exp: New file.
4866
4867 2018-07-25 Tom de Vries <tdevries@suse.de>
4868
4869 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4870 vla-optimized-out.c.
4871
4872 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4873
4874 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4875 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4876
4877 2018-07-20 Tom de Vries <tdevries@suse.de>
4878
4879 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4880 NOCLONE macro.
4881 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4882
4883 2018-07-19 Tom de Vries <tdevries@suse.de>
4884
4885 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4886 regular expression.
4887
4888 2018-07-18 Tom de Vries <tdevries@suse.de>
4889
4890 * gdb.base/vla-optimized-out.c: New test.
4891 * gdb.base/vla-optimized-out.exp: New file.
4892
4893 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4894
4895 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4896 message "No address associated with hostname" when gdbserver
4897 cannot resolve the hostname.
4898
4899 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4900
4901 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4902 Add some test prefixes to make tests unique.
4903
4904 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4905
4906 * gdb.base/frameapply.c: New file.
4907 * gdb.base/frameapply.exp: New file.
4908
4909 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4910
4911 * gdb.base/skip.exp: Update expected error message.
4912
4913 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4914 Jan Kratochvil <jan.kratochvil@redhat.com>
4915 Paul Fertser <fercerpav@gmail.com>
4916 Tsutomu Seki <sekiriki@gmail.com>
4917
4918 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4919 parameter.
4920 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4921 by default.
4922 * boards/native-gdbserver.exp: Likewise.
4923 * gdb.server/run-without-local-binary.exp: Improve regexp used
4924 for detecting when a remote debugging connection succeeds.
4925 * gdb.server/server-connect.exp: New file.
4926 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4927 Do not prefix the port number with ":".
4928 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4929 support for detecting and using it. Add '$debughost_gdbserver'
4930 to the list of arguments used to start gdbserver. Handle case
4931 when gdbserver cannot resolve a network name.
4932
4933 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4934
4935 PR c++/23373
4936 * gdb.base/ptype-offsets.cc (struct static_member): New
4937 struct.
4938 (main) <stmember>: New variable.
4939 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4940 with a static member in it.
4941
4942 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4943
4944 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4945 watchpoints enabled and disabled.
4946
4947 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4948
4949 * gdb.base/examine-backward.exp: Still run tests around address
4950 0x0, even if address 0x0 is not readable. Update the pattern for
4951 matching address 0x0 in expected output.
4952
4953 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4956 malloc/free.
4957
4958 2018-07-04 Tom de Vries <tdevries@suse.de>
4959
4960 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4961
4962 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4963
4964 PR tdep/8282
4965 * gdb.arch/mips-disassembler-options.exp: New test.
4966 * gdb.arch/mips-disassembler-options.s: New test source.
4967
4968 2018-06-29 Pedro Alves <palves@redhat.com>
4969
4970 * gdb.threads/names.exp: Adjust expected "info threads" output.
4971
4972 2018-06-29 Pedro Alves <palves@redhat.com>
4973
4974 * gdb.opt/inline-break.exp (line number, address): Add "info
4975 break" tests.
4976
4977 2018-06-29 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4980 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4981 number and address and running to them.
4982
4983 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4984
4985 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4986
4987 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4988
4989 * lib/compiler.c: Remove executable permission flag.
4990
4991 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4992
4993 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4994 code.
4995 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4996
4997 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4998
4999 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5000
5001 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5002
5003 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5004 address argument is omitted.
5005
5006 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5007
5008 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5009
5010 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5011
5012 PR gdb/21695
5013 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5014 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5015
5016 2018-06-26 Tom Tromey <tom@tromey.com>
5017
5018 PR rust/22574:
5019 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5020 * gdb.rust/simple.rs (struct SimpleLayout): New.
5021
5022 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5023
5024 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5025 "info registers" output.
5026
5027 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5028
5029 * gdb.base/watchpoint-hw-attach.c: New test.
5030 * gdb.base/watchpoint-hw-attach.exp: New file.
5031
5032 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5035 through /bin/sh.
5036 * boards/dwarf4-gdb-index.exp: Likewise.
5037 * boards/fission-dwp.exp: Likewise.
5038
5039 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5040
5041 * gdb.base/float128.exp: Add comment and improved fail message
5042 to the failure case of "print large128" test.
5043
5044 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5045
5046 * configure.ac: Remove AC_PREREQ.
5047 * configure: Re-generate.
5048
5049 2018-06-19 Pedro Alves <palves@redhat.com>
5050
5051 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5052 (func_extern_caller): New.
5053 (main): Call func_extern_caller.
5054 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5055 logic change.
5056
5057 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5058
5059 PR gdb/16841
5060 * gdb.cp/typedef-base.cc: New file.
5061 * gdb.cp/typedef-base.exp: New file.
5062
5063 2018-06-18 Tom de Vries <tdevries@suse.de>
5064
5065 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5066
5067 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5068 Richard Bunt <Richard.Bunt@arm.com>
5069
5070 * gdb.threads/attach-slow-waitpid.c: New file.
5071 * gdb.threads/attach-slow-waitpid.exp: New file.
5072 * gdb.threads/slow-waitpid.c: New file.
5073
5074 2018-06-14 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.base/fork-running-state.c: Include <errno.h>.
5077 (exit_if_relative_exits): New.
5078 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5079 exits.
5080 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5081 child exits.
5082
5083 2018-06-14 Tom de Vries <tdevries@suse.de>
5084
5085 PR cli/22573
5086 * gdb.base/finish-pretty.c: New test.
5087 * gdb.base/finish-pretty.exp: New file.
5088
5089 2018-06-14 Pedro Alves <palves@redhat.com>
5090
5091 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5092 gdb's expected startup output.
5093
5094 2018-06-14 Pedro Alves <palves@redhat.com>
5095
5096 * lib/selftest-support.exp (selftest_setup): Remove inlined
5097 function handling.
5098
5099 2018-06-14 Tom de Vries <tdevries@suse.de>
5100
5101 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5102 matching of breakpoint printing.
5103
5104 2018-06-13 Tom de Vries <tdevries@suse.de>
5105
5106 PR testsuite/23269
5107 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5108 (fork_child): ... here, and ...
5109 (fork_parent): ... here.
5110
5111 2018-06-12 Tom de Vries <tdevries@suse.de>
5112
5113 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5114
5115 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5116 Stephen Roberts <stephen.roberts@arm.com>
5117
5118 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5119 rewrite test to describe action performed, rather than possible
5120 failure.
5121
5122 2018-06-08 Gary Benson <gbenson@redhat.com>
5123
5124 * gdb.threads/check-libthread-db.exp: New file.
5125 * gdb.threads/check-libthread-db.c: Likewise.
5126
5127 2018-06-05 Tom Tromey <tom@tromey.com>
5128
5129 * gdb.base/default.exp: Update expected "show version" output.
5130
5131 2018-06-05 Tom Tromey <tom@tromey.com>
5132
5133 PR cli/12326:
5134 * gdb.cp/static-print-quit.exp: Update.
5135 * lib/gdb.exp (pagination_prompt): Update.
5136 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5137 * gdb.python/python.exp: Update.
5138
5139 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5140
5141 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5142
5143 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5144
5145 * gdb.ada/bp_fun_addr: New testcase.
5146
5147 2018-06-01 Tom Tromey <tom@tromey.com>
5148
5149 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5150 results.
5151 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5152 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5153 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5154 * gdb.base/maint.exp (maint_pass_if): Update.
5155
5156 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5157
5158 * gdb.base/endian.exp: New test.
5159 * gdb.base/endian.c: New test source.
5160
5161 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5162
5163 PR gdb/23203
5164 * gdb.base/bt-selected-frame.c: New file.
5165 * gdb.base/bt-selected-frame.exp: New file.
5166 * lib/gdb.exp (get_current_frame_number): New function.
5167
5168 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5169 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/tls-core.c: Include <stdlib.h>
5172 (thread_proc): Call `abort'.
5173 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5174 (tls_core_test): New procedure, bits factored out from ...
5175 (top level): ... here. Test both native cores and gcore cores.
5176
5177 2018-05-23 Tom Tromey <tom@tromey.com>
5178
5179 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5180
5181 2018-05-23 Tom Tromey <tom@tromey.com>
5182
5183 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5184 symfile_complaints.
5185 (test_short_complaints): Likewise.
5186 (test_empty_complaints): Likewise.
5187 (test_initial_complaints): Update.
5188
5189 2018-05-23 Tom Tromey <tom@tromey.com>
5190
5191 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5192
5193 2018-05-23 Tom Tromey <tom@tromey.com>
5194
5195 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5196 (test_short_complaints): Update.
5197
5198 2018-05-22 Pedro Alves <palves@redhat.com>
5199
5200 * gdb.base/remote.exp: Only gdb_start after compiling the
5201 testcase. Issue "disconnect" before testing "set remote" command
5202 defaults. Issue clean_restart before running to main.
5203
5204 2018-05-22 Pedro Alves <palves@redhat.com>
5205
5206 * gdb.base/remote.exp: Adjust expected output of "show remote
5207 memory-write-packet-size". Add tests for "set remote
5208 memory-write-packet-size 0" and "set remote
5209 memory-write-packet-size fixed/limit".
5210
5211 2018-05-22 Pedro Alves <palves@redhat.com>
5212
5213 PR gdb/22973
5214 * gdb.base/utf8-identifiers.c: New file.
5215 * gdb.base/utf8-identifiers.exp: New file.
5216
5217 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5218
5219 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5220
5221 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5222
5223 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5224
5225 2018-05-18 Tom Tromey <tom@tromey.com>
5226
5227 * gdb.base/ptype-offsets.exp: Update.
5228
5229 2018-05-17 Keith Seitz <keiths@redhat.com>
5230
5231 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5232 in expected breakpoint stop locations.
5233 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5234 move to proper scope to test variable values.
5235 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5236 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5237 New functions.
5238 (main): Call not_inline_func3.
5239 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5240 inline_func1, inline_func2, and inline_func3. Test that when each
5241 breakpoint is hit, GDB properly reports both the stop location
5242 and the backtrace. Repeat tests for temporary breakpoints.
5243
5244 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5245
5246 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5247 rather then trying to access it in determining whether the PID
5248 of `gdbserver' could have been retrieved.
5249
5250 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5251
5252 * gdb.arch/amd64-init-x87-values.S: New file.
5253 * gdb.arch/amd64-init-x87-values.exp: New file.
5254
5255 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5258
5259 2018-05-04 Tom Tromey <tom@tromey.com>
5260
5261 PR python/22730:
5262 * gdb.python/python.exp: Test multi-line execute.
5263
5264 2018-05-04 Tom Tromey <tom@tromey.com>
5265
5266 PR python/22731:
5267 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5268
5269 2018-05-04 Tom Tromey <tom@tromey.com>
5270
5271 PR gdb/11750:
5272 * gdb.base/define.exp: Test defining a user command inside a user
5273 command.
5274 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5275
5276 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5277 Pedro Alves <palves@redhat.com>
5278
5279 PR breakpoints/19806 and support for PR external/20207.
5280 * gdb.base/watchpoint-unaligned.c: New file.
5281 * gdb.base/watchpoint-unaligned.exp: New file.
5282
5283 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5284
5285 * gdb.base/maint.exp: Make test names unique, use
5286 test_prefix_command_help to test 'help maint info', and remove
5287 repeated test of 'help maint'.
5288
5289 2018-05-04 Tom Tromey <tom@tromey.com>
5290
5291 PR gdb/22619:
5292 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5293 behavior.
5294
5295 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5296
5297 * gdb.base/maint.exp: Process output from 'maint print registers'
5298 line at a time.
5299
5300 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5301
5302 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5303 timeout.
5304
5305 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5306
5307 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5308 filter pattern.
5309
5310 2018-05-02 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5313 to_log_command renames.
5314 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5315
5316 2018-05-02 Tom Tromey <tom@tromey.com>
5317
5318 * gdb.python/py-parameter.exp: Set test message.
5319
5320 2018-05-02 Tom Tromey <tom@tromey.com>
5321
5322 PR python/20084:
5323 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5324 PARAM_ZUINTEGER_UNLIMITED tests.
5325
5326 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5327
5328 PR rust/23124
5329 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5330 when casting.
5331
5332 2018-04-30 Tom Tromey <tom@tromey.com>
5333
5334 * gdb.python/py-type.exp: Check align attribute.
5335 * gdb.python/py-type.c: New "aligncheck" global.
5336
5337 2018-04-30 Tom Tromey <tom@tromey.com>
5338
5339 PR exp/17095:
5340 * gdb.dwarf2/dw2-align.exp: New file.
5341 * gdb.cp/align.exp: New file.
5342 * gdb.base/align.exp: New file.
5343 * lib/gdb.exp (gdb_int128_helper): New proc.
5344 (has_int128_c, has_int128_cxx): New caching procs.
5345
5346 2018-04-27 Tom Tromey <tom@tromey.com>
5347
5348 PR rust/22545:
5349 * gdb.rust/simple.exp: Add inclusive range tests.
5350
5351 2018-04-26 Pedro Alves <palves@redhat.com>
5352
5353 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5354 ifunc breakpoint locations correctly of ifunc breakpoints set
5355 while the program resolves the ifunc.
5356
5357 2018-04-26 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.base/gnu-ifunc-final.c: New file.
5360 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5361 * gdb.base/gnu-ifunc.exp (executable): Delete.
5362 (staticexecutable): Adjust.
5363 (lib_opts, exec_opts): Delete.
5364 (make_binsuffix, build, set-break): New procedures.
5365 (misc_tests): New, with tests factored out from the top level.
5366 (top level): Test different combinations of ifunc resolver name,
5367 resolver with and with debug info, and ifunc target with and
5368 without debug info. Wrap static tests with with_target_prefix.
5369
5370 2018-04-26 Pedro Alves <palves@redhat.com>
5371
5372 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5373 return type" warnings.
5374
5375 2018-04-25 Pedro Alves <palves@redhat.com>
5376
5377 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5378 killed".
5379 * gdb.base/kill-after-signal.exp: Likewise.
5380 * gdb.threads/kill.exp: Likewise.
5381
5382 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5383 Sergio Durigan Junior <sergiodj@redhat.com>
5384 Pedro Alves <palves@redhat.com>
5385
5386 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5387 regexps to expect for '[Inferior ... detached]' as well.
5388 * gdb.base/attach.exp: Likewise.
5389 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5390 "gdb_continue_to_end".
5391 (test_catch_syscall_with_wrong_args): Likewise.
5392 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5393 ']'. Don't set 'verbose' on.
5394 * gdb.base/foll-vfork.exp: Likewise.
5395 * gdb.base/fork-print-inferior-events.c: New file.
5396 * gdb.base/fork-print-inferior-events.exp: New file.
5397 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5398 '[Inferior ... has been killed]' message.
5399 * gdb.base/kill-after-signal.exp: Likewise.
5400 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5401 detach message.
5402 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5403 message.
5404 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5405 regexps to expect for '[Inferior ... detached]' as well.
5406 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5407
5408 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5409
5410 PR gdb/23104
5411 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5412
5413 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5414
5415 PR gdb/23095
5416 * gdb.base/break-probes.exp: Pass shlib_load to
5417 prepare_for_testing. Set normal_bp to r_debug_state if target is
5418 bsd.
5419
5420 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5421
5422 * gdb.threads/multiple-successive-infcall.c: New test.
5423 * gdb.threads/multiple-successive-infcall.exp: New file.
5424
5425 2018-04-17 Tom Tromey <tom@tromey.com>
5426
5427 * gdb.rust/simple.rs (Union): New type.
5428 (main): New local "u".
5429 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5430
5431 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5432
5433 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5434 number information in output of "whereis" command.
5435 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5436
5437 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5438
5439 * gdb.ada/info_types.exp: Adjust expected output to the line
5440 numbers now printed by "info var/func/type".
5441 * gdb.base/completion.exp: Likewise.
5442 * gdb.base/included.exp: Likewise.
5443 * gdb.cp/cp-relocate.exp: Likewise.
5444 * gdb.cp/cplusfuncs.exp: Likewise.
5445 * gdb.cp/namespace.exp: Likewise.
5446 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5447
5448 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5449
5450 * gdb.btrace/cpu.exp: New.
5451
5452 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5453
5454 * gdb.base/step-indirect-call-thunk.exp: New.
5455 * gdb.base/step-indirect-call-thunk.c: New.
5456 * gdb.reverse/step-indirect-call-thunk.exp: New.
5457 * gdb.reverse/step-indirect-call-thunk.c: New.
5458
5459 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5460
5461 * gdb.base/pie-fork.c: New file.
5462 * gdb.base/pie-fork.exp: New file.
5463
5464 2018-04-11 Tom Tromey <tom@tromey.com>
5465
5466 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5467
5468 2018-04-10 Pedro Alves <palves@redhat.com>
5469
5470 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5471 exits. Instead loop running forever.
5472 (fork_parent): Run forever too.
5473
5474 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5475
5476 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5477 mi_continue_to_line.
5478 * gdb.mi/mi-stack.c (callee4): Add comment.
5479
5480 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5481
5482 * gdb.mi/mi-stack.exp: Fix indentation.
5483
5484 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5485
5486 PR gdb/22979
5487 * gdb.arch/amd64-osabi.exp: New file.
5488
5489 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5490
5491 PR gdb/22980
5492 * gdb.base/osabi.exp: New file.
5493
5494 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5495
5496 * gdb.cp/static-typedef-print.exp: New file.
5497 * gdb.cp/static-typedef-print.cc: New file.
5498
5499 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5500
5501 * gdb.ada/varsize_limit: New testcase.
5502
5503 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5504
5505 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5506
5507 * gdb.ada/notcplusplus: New testcase.
5508
5509 * gdb.base/c-linkage-name.c: New file.
5510 * gdb.base/c-linkage-name.exp: New testcase.
5511
5512 2018-03-26 Tom Tromey <tom@tromey.com>
5513
5514 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5515 * gdb.python/py-framefilter.py (name_error): New global.
5516 (ErrorInName.function): Use name_error.
5517
5518 2018-03-26 Tom Tromey <tom@tromey.com>
5519
5520 PR backtrace/15582:
5521 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5522
5523 2018-03-23 Keith Seitz <keiths@redhat.com>
5524
5525 PR c++/22968
5526 * gdb.cp/subtypes.exp: New file.
5527 * gdb.cp/subtypes.h: New file.
5528 * gdb.cp/subtypes.cc: New file.
5529 * gdb.cp/subtypes-2.cc: New file.
5530
5531 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5532
5533 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5534 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5535 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5536 -nostartfiles when compiling the test. Confirm that all registers
5537 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5538
5539 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5540
5541 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5542 option, syntax was wrong anyway.
5543 * gdb.arch/arm-disp-step.exp: Likewise.
5544 * gdb.arch/sparc64-regs.exp: Likewise.
5545 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5546 option, syntax was wrong anyway, switch to use
5547 prepare_for_testing.
5548 * gdb.arch/i386-disp-step.exp: Likewise.
5549
5550 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5551
5552 * gdb.ada/exec_changed.exp: Replace "target_info exists
5553 use_gdb_stub" by "use_gdb_stub".
5554 * gdb.ada/start.exp: Likewise.
5555 * gdb.base/async-shell.exp: Likewise.
5556 * gdb.base/attach-pie-misread.exp: Likewise.
5557 * gdb.base/attach-wait-input.exp: Likewise.
5558 * gdb.base/break-entry.exp: Likewise.
5559 * gdb.base/break-interp.exp: Likewise.
5560 * gdb.base/dprintf-detach.exp: Likewise.
5561 * gdb.base/nostdlib.exp: Likewise.
5562 * gdb.base/solib-nodir.exp: Likewise.
5563 * gdb.base/statistics.exp: Likewise.
5564 * gdb.base/testenv.exp: Likewise.
5565 * gdb.mi/mi-exec-run.exp: Likewise.
5566 * gdb.mi/mi-start.exp: Likewise.
5567 * gdb.multi/dummy-frame-restore.exp: Likewise.
5568 * gdb.multi/multi-arch-exec.exp: Likewise.
5569 * gdb.multi/multi-arch.exp: Likewise.
5570 * gdb.multi/tids.exp: Likewise.
5571 * gdb.multi/watchpoint-multi.exp: Likewise.
5572 * gdb.python/py-events.exp: Likewise.
5573 * gdb.threads/attach-into-signal.exp: Likewise.
5574 * gdb.threads/attach-stopped.exp: Likewise.
5575 * gdb.threads/threadapply.exp: Likewise.
5576 * lib/selftest-support.exp: Likewise.
5577
5578 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5579
5580 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5581
5582 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5583
5584 * gdb.perf/template-breakpoints.cc: New file.
5585 * gdb.perf/template-breakpoints.exp: New file.
5586 * gdb.perf/template-breakpoints.py: New file.
5587
5588 2018-03-19 Tom Tromey <tom@tromey.com>
5589
5590 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5591 y0.
5592 * gdb.rust/simple.exp: Test bare identifier form of struct
5593 initializer.
5594
5595 2018-03-19 Tom Tromey <tom@tromey.com>
5596
5597 * gdb.gdb/observer.exp: Remove.
5598
5599 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5600
5601 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5602 "qualified" option when setting breakpoints.
5603 * gdb.trace/backtrace.exp: Likewise.
5604 * gdb.trace/circ.exp: Likewise.
5605 * gdb.trace/collection.exp: Likewise.
5606 * gdb.trace/disconnected-tracing.exp: Likewise.
5607 * gdb.trace/ftrace-lock.exp: Likewise.
5608 * gdb.trace/ftrace.exp: Likewise.
5609 * gdb.trace/infotrace.exp: Likewise.
5610 * gdb.trace/packetlen.exp: Likewise.
5611 * gdb.trace/passc-dyn.exp: Likewise.
5612 * gdb.trace/qtro.exp: Likewise.
5613 * gdb.trace/read-memory.exp: Likewise.
5614 * gdb.trace/report.exp: Likewise.
5615 * gdb.trace/signal.exp: Likewise.
5616 * gdb.trace/status-stop.exp: Likewise.
5617 * gdb.trace/strace.exp: Likewise.
5618 * gdb.trace/tfind.exp: Likewise.
5619 * gdb.trace/trace-break.exp: Likewise.
5620 * gdb.trace/trace-condition.exp: Likewise.
5621 * gdb.trace/trace-mt.exp: Likewise.
5622 * gdb.trace/tstatus.exp: Likewise.
5623 * gdb.trace/tsv.exp: Likewise.
5624 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5625 * gdb.trace/unavailable.exp: Likewise.
5626 * gdb.trace/while-dyn.exp: Likewise.
5627
5628 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5629
5630 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5631 that libinproctrace is copied to the target.
5632
5633 2018-03-14 Tom Tromey <tom@tromey.com>
5634
5635 PR cli/14977:
5636 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5637 a null pointer.
5638 * gdb.base/wchar.exp: Likewise.
5639
5640 2018-03-14 Tom Tromey <tom@tromey.com>
5641
5642 PR cli/19918:
5643 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5644 flag.
5645
5646 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5647
5648 PR gdb/22841
5649 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5650 "target" to remote_exec.
5651
5652 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5653
5654 PR gdb/22841
5655 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5656 ${board}_upload): Remove.
5657
5658 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5659
5660 * gdb.cp/watch-cp.cc: New test.
5661 * gdb.cp/watch-cp.exp: New file.
5662
5663 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5664
5665 * gdb.base/infcall-nested-structs.exp: New file.
5666 * gdb.base/infcall-nested-structs.c: New file.
5667 * gdb.base/float.exp: Add riscv support.
5668
5669 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5670
5671 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5672 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5673
5674 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5675
5676 * gdb.server/abspath.exp: New file.
5677 * lib/gdb.exp (with_cwd): New procedure.
5678
5679 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5680
5681 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5682 use it.
5683 (gdb_is_target_remote_prompt): New proc.
5684 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5685 (gdb_is_target_native): Pass prompt parameter to
5686 gdb_is_target_1.
5687
5688 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5689
5690 * gdb.base/load-command.c: New file.
5691 * gdb.base/load-command.exp: New file.
5692 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5693 (gdb_is_target_1): ...this, and generalize for other targets
5694 than just remote.
5695 (gdb_is_target_remote): Use gdb_is_target_1.
5696 (gdb_is_target_native): use gdb_is_target_1.
5697
5698 2018-02-26 Tom Tromey <tom@tromey.com>
5699
5700 PR python/16497:
5701 * gdb.python/py-framefilter.exp: Update test.
5702
5703 2018-02-26 Tom Tromey <tom@tromey.com>
5704
5705 * gdb.dwarf2/variant.c: New file.
5706 * gdb.dwarf2/variant.exp: New file.
5707
5708 2018-02-26 Tom Tromey <tom@tromey.com>
5709
5710 * gdb.rust/simple.exp: Accept more possible results in enum test.
5711
5712 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5713
5714 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5715 parentheses.
5716
5717 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5718
5719 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5720 name of a variable: $actual_linejj -> $actual_line.
5721
5722 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5723
5724 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5725
5726 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5727
5728 * gdb.btrace/buffer-size.exp: Do not force BTS.
5729
5730 2018-02-14 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5733 getting a "Quit".
5734
5735 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5736
5737 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5738 Fix test name.
5739
5740 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5741
5742 * gdb.cp/m-static.exp: Check type of optimized out static
5743 member.
5744
5745 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5746
5747 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5748 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5749
5750 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5751 Leszek Swirski <leszeks@google.com>
5752
5753 * gdb.python/py-prettyprint.c
5754 (struct to_string_returns_value_inner,
5755 struct to_string_returns_value_wrapper): New.
5756 (main): Add tsrvw variable.
5757 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5758 ToStringReturnsValueWrapper): New classes.
5759 (register_pretty_printers): Register new pretty-printers.
5760 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5761 recursive pretty printer.
5762 * gdb.python/py-mi.exp: Likewise.
5763
5764 2018-02-01 Leszek Swirski <leszeks@google.com>
5765
5766 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5767 functions with the same name as an include file are parsed
5768 correctly.
5769
5770 2018-02-01 Yao Qi <yao.qi@linaro.org>
5771
5772 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5773 "\[^\r\n\]*".
5774
5775 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5776
5777 * gdb.arch/powerpc-prologue-frame.s: New file.
5778 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5779 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5780
5781 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5782
5783 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5784
5785 2018-01-30 Pedro Alves <palves@redhat.com>
5786
5787 PR gdb/13211
5788 * gdb.base/interrupt-daemon.c: New.
5789 * gdb.base/interrupt-daemon.exp: New.
5790 * gdb.multi/multi-term-settings.c: New.
5791 * gdb.multi/multi-term-settings.exp: New.
5792
5793 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5794
5795 * gdb.base/break.exp: Save the location where the breakpoint
5796 on break.c:47 was actually inserted when debugging the version
5797 compiled at -O2 and use it in the expected output of the "info
5798 break" test performed soon after.
5799
5800 2018-01-22 Pedro Alves <palves@redhat.com>
5801 Sergio Durigan Junior <sergiodj@redhat.com>
5802
5803 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5804 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5805
5806 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5807
5808 * gdb.base/break-include.c, gdb.base/break-include.inc,
5809 gdb.base/break-include.exp: New files.
5810 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5811 line number now being the actual line number where the breakpoint
5812 was inserted.
5813 * gdb.mi/mi-break.exp: Likewise.
5814 * gdb.mi/mi-reverse.exp: Likewise.
5815 * gdb.mi/mi-simplerun.exp: Ditto.
5816
5817 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5818
5819 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5820 varobj.
5821 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5822
5823 2018-01-21 Don Breazeal <donb@codesourcery.com>
5824 Andrew Burgess <andrew.burgess@embecosm.com>
5825
5826 * gdb.mi/basics.c: Add new global.
5827 * gdb.mi/mi-frame-regs.exp: New file.
5828 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5829 case.
5830
5831 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5832
5833 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5834 non-parameter, and on an unknown symbol.
5835
5836 2018-01-19 Tom Tromey <tom@tromey.com>
5837
5838 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5839 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5840
5841 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5842
5843 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5844 setrlimit and chdir to int.
5845
5846 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5847
5848 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5849 function.
5850 (my_tend): Likewise.
5851 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5852 rationale of avoiding FP- and vector instructions.
5853
5854 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5855
5856 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5857 "info reg" with "\[ \t\]*".
5858 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5859 "\[ \t\]+".
5860 * gdb.arch/s390-multiarch.exp: Ditto.
5861 * gdb.base/pc-fp.exp: Ditto.
5862 * gdb.reverse/i386-precsave.exp: Ditto.
5863 * gdb.reverse/i386-reverse.exp: Ditto.
5864 * gdb.reverse/i387-env-reverse.exp: Ditto.
5865 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5866
5867 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5868
5869 * lib/gdb.exp (gdb_compile): Re-enable use of
5870 universal_compile_options for languages other than Rust.
5871
5872 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5873
5874 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5875
5876 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5877
5878 PR gdb/16577
5879 * gdb.base/solib-vanish.exp: New.
5880 * gdb.base/solib-vanish-main.c: New.
5881 * gdb.base/solib-vanish-lib1.c: New.
5882 * gdb.base/solib-vanish-lib2.c: New.
5883
5884 2018-01-17 Yao Qi <yao.qi@linaro.org>
5885
5886 * gdb.compile/compile.exp: Match the address printed for
5887 frame in the output of command "bt".
5888
5889 2018-01-15 Tom Tromey <tom@tromey.com>
5890
5891 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5892 compute sp_reg.
5893
5894 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5895
5896 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5897 to prepare.
5898 (prepare): Return 0 on error, 1 on success.
5899
5900 2018-01-12 Pedro Alves <palves@redhat.com>
5901
5902 * gdb.base/continue-after-aborted-step-over.c: New.
5903 * gdb.base/continue-after-aborted-step-over.exp: New.
5904
5905 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5906
5907 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5908 options when not creating an executable.
5909
5910 2018-01-11 Pedro Alves <palves@redhat.com>
5911
5912 PR remote/22597
5913 * gdb.server/stop-reply-no-thread.c: New file.
5914 * gdb.server/stop-reply-no-thread.exp: New file.
5915
5916 2018-01-10 Pedro Alves <palves@redhat.com>
5917
5918 PR gdb/22670
5919 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5920 functions too. Test setting breakpoints and printing C functions
5921 with no debug info too.
5922 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5923
5924 2018-01-10 Pedro Alves <palves@redhat.com>
5925
5926 PR gdb/22670
5927 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5928 a fail.
5929
5930 2018-01-10 Pedro Alves <palves@redhat.com>
5931
5932 PR gdb/22670
5933 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5934
5935 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5936
5937 * gdb.server/unittest.exp: Match the output in non-development
5938 mode.
5939
5940 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5941
5942 * gdb.gdb/unittest.exp: Match output in non-development mode.
5943
5944 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5945
5946 * gdb.ada/access_tagged_param.exp: Relax expected output
5947 for value of "ObjL" in "continue" to pck.inspect breakpoint
5948 test.
5949
5950 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5951
5952 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5953 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5954
5955 2018-01-05 Pedro Alves <palves@redhat.com>
5956
5957 PR gdb/18653
5958 * gdb.base/libsegfault.exp: New.
5959
5960 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5961
5962 PR gdb/22670
5963 * gdb.ada/access_tagged_param.exp: New file.
5964 * gdb.ada/access_tagged_param/foo.adb: New file.
5965
5966 2018-01-05 Pedro Alves <palves@redhat.com>
5967
5968 PR gdb/22670
5969 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5970 exercise lower case too, and to exercise both full matching and
5971 wild matching.
5972
5973 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5974
5975 * gdb.ada/rename_subscript_param: New testcase.
5976
5977 2018-01-05 Jerome Guitton <guitton@adacore.com>
5978
5979 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5980
5981 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5982
5983 * gdb.ada/convvar_comp: New testcase.
5984
5985 2018-01-05 Xavier Roirand <roirand@adacore.com>
5986
5987 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5988 (My_Table): New global variable.
5989 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5990
5991 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5992
5993 PR gdb/22670
5994 * gdb.ada/maint_with_ada: New testcase.
5995
5996 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5997
5998 PR gdb/22670
5999 * gdb.ada/bp_c_mixed_case: New testcase.
6000
6001 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6002
6003 PR gdb/22670
6004 * gdb.ada/complete.exp: Add "complete break ada" test.
6005
6006 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6007
6008 PR gdb/22670
6009 * gdb.ada/info_addr_mixed_case: New testcase.
6010
6011 2018-01-03 Xavier Roirand <roirand@adacore.com>
6012
6013 * gdb.ada/excep_handle.exp: New testcase.
6014 * gdb.ada/excep_handle/foo.adb: New file.
6015 * gdb.ada/excep_handle/pck.ads: New file.
6016
6017 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6018
6019 * gdb.base/step-line.c: Add extra empty line in copyright header.
6020 * gdb.base/step-line.inp: Likewise.
6021
6022 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6023
6024 * gdb.ada/dyn_stride.exp: Add slice test.
6025
6026 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.ada/dyn_stride: New testcase.
6029
6030 2017-12-27 Stafford Horne <shorne@gmail.com>
6031
6032 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6033 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6034
6035 2017-12-27 Stafford Horne <shorne@gmail.com>
6036
6037 * gdb.base/reggroups.c: New file.
6038 * gdb.base/reggroups.exp: New file.
6039
6040 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6041
6042 * gdb.dwarf2/ada-valprint-error.c: New file.
6043 * gdb.dwarf2/ada-valprint-error.exp: New file.
6044
6045 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6046
6047 * gdb.ada/assign_arr: New testcase.
6048
6049 2017-12-18 Xavier Roirand <roirand@adacore.com>
6050
6051 * gdb.ada/funcall_ptr: New testcase.
6052
6053 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6054
6055 PR cli/16224
6056 * gdb.base/ptype-offsets.cc: New file.
6057 * gdb.base/ptype-offsets.exp: New file.
6058
6059 2017-12-15 Yao Qi <yao.qi@linaro.org>
6060
6061 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6062 if XML is disabled.
6063
6064 2017-12-15 Xavier Roirand <roirand@adacore.com>
6065
6066 * gdb.ada/same_component_name: New testcase.
6067
6068 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6069
6070 * gdb.ada/str_binop_equal: New testcase.
6071
6072 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.ada/task_switch_in_core: New testcase.
6075
6076 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6077
6078 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6079 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6080 call test_bkpt_qualified.
6081 (test_bkpt_qualified): New proc.
6082
6083 2017-12-13 Pedro Alves <palves@redhat.com>
6084
6085 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6086 Tighten regexp by matching with an anchor.
6087
6088 2017-12-13 Pedro Alves <palves@redhat.com>
6089
6090 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6091 ("expression with namespace"): New set of tests.
6092 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6093 (Nested::Test_NS::qux): New.
6094 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6095 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6096
6097 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6098
6099 * gdb.base/server-del-break.c: New file.
6100 * gdb.base/server-del-break.exp: New file.
6101
6102 2017-12-12 Stafford Horne <shorne@gmail.com>
6103
6104 * gdb.xml/tdesc-regs.exp: Add or1k support.
6105
6106 2017-12-12 Stafford Horne <shorne@gmail.com>
6107
6108 * gdb.base/bp-permanent.c: Define nop of or1k.
6109
6110 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6111
6112 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6113 output with components being reordered.
6114
6115 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6116
6117 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6118 output with components being reordered.
6119
6120 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6121 Pedro Alves <palves@redhat.com>
6122
6123 * gdb.base/maint.exp (check for .gdb_index): Check also for
6124 .debug_names.
6125 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6126 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6127 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6128 (.gdb_index used after symbol reloading): Support also .debug_names.
6129 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6130
6131 2017-12-08 Yao Qi <yao.qi@linaro.org>
6132
6133 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6134 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6135
6136 2017-12-08 Yao Qi <yao.qi@linaro.org>
6137
6138 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6139 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6140
6141 2017-12-08 Yao Qi <yao.qi@linaro.org>
6142
6143 * gdb.arch/aarch64-tagged-pointer.c: New file.
6144 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6145
6146 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6147
6148 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6149 "int".
6150
6151 2017-12-07 Keith Seitz <keiths@redhat.com>
6152
6153 PR breakpoints/22569
6154 * gdb.linespec/ls-errs.exp: Change expected result of "break
6155 -source this file has spaces.c -line 3".
6156 Check that an explicit source file followed by whitespace is
6157 identified as an invalid explicit location.
6158
6159 2017-12-07 Keith Seitz <keiths@redhat.com>
6160
6161 * gdb.cp/nested-types.cc: New file.
6162 * gdb.cp/nested-types.exp: New file.
6163 * lib/cp-support.exp: Load data-structures.exp library.
6164 (debug_cp_test_ptype_class): New global.
6165 (cp_ptype_class_verbose, next_line): New procedures.
6166 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6167 Add and document new return value.
6168 Switch the list of lines to a queue.
6169 Add support for new `type' key for nested type definitions.
6170 Add debugging/troubleshooting messages.
6171 * lib/data-structures.exp: New file.
6172
6173 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6174
6175 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6176 with proc_with_prefix, don't use with_test_prefix.
6177
6178 2017-12-07 Tom Tromey <tom@tromey.com>
6179
6180 * gdb.base/break.exp: Add test for empty "commands".
6181
6182 2017-12-07 Yao Qi <yao.qi@linaro.org>
6183
6184 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6185 malloc and catch syscall.
6186
6187 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6188
6189 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6190 tests for explicit locations.
6191
6192 2017-12-06 Pedro Alves <palves@redhat.com>
6193
6194 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6195 force-disabling XML descriptions.
6196
6197 2017-12-04 Pedro Alves <palves@redhat.com>
6198
6199 PR gdb/22499
6200 * gdb.arch/amd64-disp-step-avx.S: New file.
6201 * gdb.arch/amd64-disp-step-avx.exp: New file.
6202
6203 2017-12-03 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6206 and <string.h>.
6207 (parent_function): Print distinct messages when waitpid fails, or
6208 the child exits with a signal, or the child exits for an unhandled
6209 reason.
6210 * gdb.threads/process-dies-while-detaching.exp
6211 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6212 it. Wait for both inferior output and GDB's prompt. Use an
6213 indirect spawn id list.
6214 (do_detach): New parameter 'child_exit'. Use it to compute
6215 expected inferior output.
6216 (test_detach, test_detach_watch, test_detach_killed_outside):
6217 Adjust to pass down the expected child exit kind.
6218
6219 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6220 Sergio Durigan Junior <sergiodj@redhat.com>
6221 Pedro Alves <palves@redhat.com>
6222
6223 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6224
6225 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6226
6227 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6228 to 'symbol-file' and 'add-symbol-file' can be
6229 position-independent.
6230
6231 2017-12-01 Yao Qi <yao.qi@linaro.org>
6232
6233 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6234 the URL in copyright header.
6235 * gdb.arch/aarch64-fp.exp: Likewise.
6236 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6237 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6238 * gdb.base/expand-psymtabs.exp: Likewise.
6239 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6240 * gdb.fortran/common-block.exp: Likewise.
6241 * gdb.fortran/common-block.f90: Likewise.
6242 * gdb.fortran/logical.exp: Likewise.
6243 * gdb.fortran/vla-datatypes.f90: Likewise.
6244 * gdb.fortran/vla-sub.f90: Likewise.
6245
6246 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6247
6248 * gdb.ada/repeat_dyn: New testcase.
6249
6250 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6251
6252 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6253 Update for changed thread numbering.
6254 * gdb.cell/bt.exp: Update for changed GDB output.
6255
6256 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6257
6258 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6259 setting isremote by hand.
6260 * boards/dwarf4-gdb-index.exp: Likewise.
6261 * boards/fission.exp: Likewise.
6262 * boards/stabs.exp: Likewise.
6263
6264 2017-11-30 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.linespec/cpls-ops.exp
6267 (check_explicit_skips_function_argument): Extract the underlying
6268 type of size_t instead of hardcoding it.
6269
6270 2017-11-29 Pedro Alves <palves@redhat.com>
6271
6272 PR c++/19436
6273 * gdb.linespec/cpls-abi-tag.cc: New file.
6274 * gdb.linespec/cpls-abi-tag.exp: New file.
6275
6276 2017-11-29 Pedro Alves <palves@redhat.com>
6277
6278 * gdb.base/langs.exp: Use -qualified.
6279 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6280 it.
6281 * gdb.cp/namespace.exp: Use -qualified.
6282 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6283 (overload-3, template-overload, template-ret-type, const-overload)
6284 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6285 procedures.
6286 (test_driver): Call them.
6287 * gdb.cp/save-bp-qualified.cc: New.
6288 * gdb.cp/save-bp-qualified.exp: New.
6289 * gdb.linespec/explicit.exp: Test -qualified.
6290 * lib/completion-support.exp (completion::explicit_opts_list): Add
6291 "-qualified".
6292 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6293
6294 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6295
6296 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6297
6298 2017-11-29 Tom Tromey <tom@tromey.com>
6299
6300 * gdb.base/relocate.exp: Update invalid argument test.
6301 Add new tests for invalid arguments.
6302
6303 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6304
6305 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6306 Return 0 as a long.
6307 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6308
6309 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6310
6311 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6312 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6313 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6314 func ().
6315 * gdb.cp/shadow.cc (B.func): Return 0.
6316
6317 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6318
6319 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6320 expected output in gdb_expect call to allow the exception
6321 message to be present as well. Fix syntax confusion to avoid
6322 TCL thinking that exception_name is an array.
6323
6324 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6325
6326 * gdb.arch/spu-info.c: Include <unistd.h>.
6327 (do_signal_test): Fix broken calls to write.
6328 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6329 Fix checks for empty mailboxes. Update signal tests for corrected
6330 do_signal_test routine. Allow nonzero event status.
6331 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6332 * gdb.cell/arch.exp: Use standard_output_file.
6333 * gdb.cell/break.exp: Likewise.
6334 * gdb.cell/bt.exp: Likewise.
6335 * gdb.cell/core.exp: Likewise.
6336 * gdb.cell/dwarfaddr.exp: Likewise.
6337 * gdb.cell/ea-cache.exp: Likewise.
6338 * gdb.cell/ea-standalone.exp: Likewise.
6339 * gdb.cell/f-regs.exp: Likewise.
6340 * gdb.cell/fork.exp: Likewise.
6341 * gdb.cell/gcore.exp: Likewise.
6342 * gdb.cell/mem-access.exp: Likewise.
6343 * gdb.cell/ptype.exp: Likewise.
6344 * gdb.cell/registers.exp: Likewise.
6345 * gdb.cell/sizeof.exp: Likewise.
6346 * gdb.cell/solib-symbol.exp: Likewise.
6347 * gdb.cell/solib.exp: Likewise.
6348
6349 2017-11-25 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.base/complete-empty.exp: New file.
6352 * gdb.base/completion.exp: Adjust.
6353
6354 2017-11-25 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.linespec/cpls-ops.cc: New file.
6357 * gdb.linespec/cpls-ops.exp: New file.
6358 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6359 factored out from ...
6360 (test_complete_prefix_range): ... this.
6361
6362 2017-11-24 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.linespec/cpcompletion.exp: New file.
6365 * gdb.linespec/cpls-hyphen.cc: New file.
6366 * gdb.linespec/cpls.cc: New file.
6367 * gdb.linespec/cpls2.cc: New file.
6368 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6369 test to use test_gdb_complete_unique. Add label completion,
6370 keyword completion and explicit location completion tests.
6371 * lib/completion-support.exp: New file.
6372
6373 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6374
6375 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6376 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6377 when hitting an exception catchpoint.
6378
6379 2017-11-22 Yao Qi <yao.qi@linaro.org>
6380
6381 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6382
6383 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6384
6385 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6386 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6387 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6388
6389 2017-11-22 Yao Qi <yao.qi@linaro.org>
6390
6391 * gdb.base/info-os.exp: Pass pthreads.
6392 * gdb.multi/multi-attach.exp: Likewise.
6393
6394 2017-11-22 Yao Qi <yao.qi@linaro.org>
6395
6396 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6397 compiler.
6398
6399 2017-11-22 Yao Qi <yao.qi@linaro.org>
6400
6401 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6402 * gdb.base/break-interp.exp: Likewise.
6403 * gdb.base/jit-attach-pie.exp: Likewise.
6404
6405 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6406
6407 * gdb.base/float128.c (large128): New variable.
6408 * gdb.base/float128.exp: Add test to print largest __float128 value.
6409
6410 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6411
6412 * gdb.arch/vsx-regs.exp: Update register content checks.
6413
6414 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6415
6416 * gdb.arch/ppc-longdouble.exp: New file.
6417 * gdb.arch/ppc-longdouble.c: Likewise.
6418
6419 2017-11-21 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6422
6423 2017-11-20 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6426 (long_double_typedef): New typedefs.
6427 Use DEF on double and long double.
6428 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6429 cases.
6430 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6431 and 'long_double_ptr_same_size' locals. Use them to decide
6432 whether cast from array/function to float is valid/invalid.
6433
6434 2017-11-17 Tom Tromey <tom@tromey.com>
6435
6436 * gdb.rust/traits.rs: New file.
6437 * gdb.rust/traits.exp: New file.
6438
6439 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.ada/minsyms: New testcase.
6442
6443 2017-11-16 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6446 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6447
6448 2017-11-16 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6451 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6452
6453 2017-11-16 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.server/reconnect-ctrl-c.c: New file.
6456 * gdb.server/reconnect-ctrl-c.exp: New file.
6457
6458 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6459
6460 * gdb.python/py-rbreak.exp: New file.
6461 * gdb.python/py-rbreak.c: New file.
6462 * gdb.python/py-rbreak-func2.c: New file.
6463
6464 2017-11-16 Pedro Alves <palves@redhat.com>
6465
6466 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6467 pattern.
6468 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6469 GDB.
6470
6471 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6472
6473 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6474 regex.
6475
6476 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6477
6478 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6479 test names.
6480
6481 2017-11-09 Pedro Alves <palves@redhat.com>
6482
6483 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6484 factored out from ...
6485 (top level): ... here, and adjusted to avoid expecting beyond the
6486 prompt in a single gdb_test_multiple.
6487
6488 2017-11-09 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6491 output.
6492 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6493 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6494 * gdb.server/ext-run.exp ("kill" test): Likewise.
6495 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6496
6497 2017-11-09 Pedro Alves <palves@redhat.com>
6498
6499 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6500 match till end of line.
6501
6502 2017-11-09 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6505
6506 2017-11-09 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6509 New procedures, factored out from ...
6510 (top level): ... here, and adjusted to avoid expecting beyond the
6511 prompt in one go.
6512
6513 2017-11-09 Pedro Alves <palves@redhat.com>
6514
6515 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6516 output. Fix '?' match.
6517
6518 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6519
6520 * gdb.ada/scoped_watch: New testcase.
6521 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6522 which is actually correct.
6523 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6524 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6525
6526 2017-11-08 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.gdb/complaints.exp (test_initial_complaints)
6529 (test_serial_complaints, test_short_complaints): Call
6530 complaint_internal instead of complaint.
6531
6532 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6533
6534 * gdb.threads/tls-core.c: New file.
6535 * gdb.threads/tls-core.exp: Likewise.
6536
6537 2017-11-08 Pedro Alves <palves@redhat.com>
6538
6539 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6540 (p Exported_Capitalized): New test.
6541 (p exported_capitalized): New test.
6542
6543 2017-11-07 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6546
6547 2017-11-07 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6550 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6551 (disable_invalid, disable_inverted, disable_negative): New
6552 procedures.
6553 ("bad numbers"): New set of tests.
6554
6555 2017-11-07 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.cp/ena-dis-br-range.exp: Add tests.
6558
6559 2017-11-07 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6562
6563 2017-11-07 Xavier Roirand <roirand@adacore.com>
6564 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.base/ena-dis-br.exp: Add reference to
6567 gdb.cp/ena-dis-br-range.exp.
6568 * gdb.cp/ena-dis-br-range.exp: New file.
6569 * gdb.cp/ena-dis-br-range.cc: New file.
6570
6571 2017-11-06 Pedro Alves <palves@redhat.com>
6572
6573 * gdb.base/attach-non-pgrp-leader.c: New.
6574 * gdb.base/attach-non-pgrp-leader.exp: New.
6575
6576 2017-11-06 Pedro Alves <palves@redhat.com>
6577
6578 * configure.ac: No longer check for termio.h and sgtty.h.
6579 * configure: Regenerate.
6580 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6581 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6582 Remove termio and sgtty code.
6583
6584 2017-11-03 Yao Qi <yao.qi@linaro.org>
6585
6586 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6587 in GDB is disabled.
6588
6589 2017-11-03 Yao Qi <yao.qi@linaro.org>
6590
6591 * gdb.python/py-thrhandle.exp: Skip it if python is not
6592 enabled.
6593
6594 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6595
6596 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6597 as a breakpoint command.
6598
6599 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6600
6601 PR python/21213
6602 * gdb.python/py-infthread.exp: Test calling
6603 InferiorThread.inferior () multiple times in a row.
6604
6605 2017-10-27 Keith Seitz <keiths@redhat.com>
6606
6607 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6608 Test "info break" for every inlined function breakpoint.
6609
6610 2017-10-27 Yao Qi <yao.qi@linaro.org>
6611
6612 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6613
6614 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6615
6616 * gdb.cp/classes.exp (test_static_members): Test printing
6617 Outer::instance.
6618 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6619 (Inner::instance, Outer::instance): New.
6620
6621 2017-10-24 Pedro Alves <palves@redhat.com>
6622
6623 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6624 extra console" test in two stages.
6625
6626 2017-10-24 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6629
6630 2017-10-24 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6633 loop.
6634
6635 2017-10-24 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6638 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6639
6640 2017-10-24 Pedro Alves <palves@redhat.com>
6641
6642 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6643 parameter and handle it. Don't output read value in test name.
6644
6645 2017-10-24 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6648 custom test name.
6649
6650 2017-10-24 Pedro Alves <palves@redhat.com>
6651
6652 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6653 include the unstable output directory name in the test's name.
6654 (initial_setup_simple) <'set args'>: Use custom test name.
6655
6656 2017-10-24 Pedro Alves <palves@redhat.com>
6657
6658 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6659 with explicit test name.
6660
6661 2017-10-20 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6664 'wait -i'. Use gdb_assert and remote_close.
6665
6666 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6667
6668 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6669 number from variable rather than hard-coded.
6670
6671 2017-10-19 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.base/long-inferior-output.c: New file.
6674 * gdb.base/long-inferior-output.exp: New file.
6675
6676 2017-11-18 Keith Seitz <keiths@redhat.com>
6677
6678 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6679 method.
6680 (main): Call it.
6681 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6682 Add additional user-defined conversion operator tests.
6683
6684 2017-10-17 Pedro Alves <palves@redhat.com>
6685
6686 * boards/native-stdio-gdbserver.exp: Load "local-board".
6687
6688 2017-10-17 Pedro Alves <palves@redhat.com>
6689
6690 * gdb.base/quit-live.c: New file.
6691 * gdb.base/quit-live.exp: New file.
6692
6693 2017-10-16 Keith Seitz <keiths@redhat.com>
6694
6695 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6696 (class_with_protected_typedef, class_with_private_typedef)
6697 (struct_with_public_typedef, struct_with_protected_typedef)
6698 (struct_with_private_typedef): New classes/structs.
6699 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6700 typedefs and access specifiers.
6701
6702 2017-10-16 Pedro Alves <palves@redhat.com>
6703 Simon Marchi <simon.marchi@polymtl.ca>
6704
6705 * README (Local vs Remote vs Native): New section.
6706 * boards/local-board.exp: New file, with bits factored out from
6707 ...
6708 * boards/native-extended-gdbserver.exp: ... here. Load
6709 "local-board".
6710 * boards/native-gdbserver.exp: Load "local-board".
6711 (${board}_spawn, ${board}_exec): Delete.
6712 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6713 ...
6714 * boards/stdio-gdbserver-base.exp: ... this new file.
6715 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6716 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6717 procedure.
6718 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6719 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6720 stdio_gdbserver_command.
6721 (${board}_get_remote_address, ${board}_get_comm_port)
6722 (${board}_download, ${board}_upload): Delete.
6723 (get_target_remote_pipe_cmd): New.
6724
6725 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6726
6727 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6728 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6729 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6730 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6731 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6732 remove with_test_prefix.
6733
6734 2017-10-13 Pedro Alves <palves@redhat.com>
6735
6736 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6737 * gdb.base/annota1.exp: Use it instead of is_remote.
6738 * gdb.base/annota3.exp: Use it instead of is_remote.
6739 * gdb.cp/annota2.exp: Use it instead of is_remote.
6740 * gdb.cp/annota3.exp: Use it instead of is_remote.
6741 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6742
6743 2017-10-13 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6746 (test_num_test_vars, run_and_count_vars, find_env)
6747 (test_set_unset_env, test_inherit_env_var): New procedures.
6748 (top level): Use them.
6749
6750 2017-10-13 Pedro Alves <palves@redhat.com>
6751
6752 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6753 also skip on stub-like targets.
6754
6755 2017-10-13 Pedro Alves <palves@redhat.com>
6756
6757 PR gdb/22293
6758 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6759 (top level): Move some tests to ...
6760 (test_not_found): ... this new procedure.
6761 (top level): Call it.
6762
6763 2017-10-13 Pedro Alves <palves@redhat.com>
6764
6765 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6766 expect different "info terminal" output if testing with a
6767 non-native target.
6768
6769 2017-10-13 Pedro Alves <palves@redhat.com>
6770 Simon Marchi <simon.marchi@polymtl.ca>
6771
6772 PR python/12966
6773 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6774
6775 2017-10-13 Pedro Alves <palves@redhat.com>
6776
6777 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6778 already.
6779
6780 2017-10-13 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6783 is_remote.
6784
6785 2017-10-13 Pedro Alves <palves@redhat.com>
6786
6787 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6788 is_remote.
6789
6790 2017-10-13 Pedro Alves <palves@redhat.com>
6791
6792 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6793 is set.
6794 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6795 instead of is_remote.
6796
6797 2017-10-13 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6800 (top level): Add comment.
6801
6802 2017-10-13 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.base/remote.exp (top level): Fix comment typo and add
6805 missing return.
6806
6807 2017-10-13 Pedro Alves <palves@redhat.com>
6808 Simon Marchi <simon.marchi@polymtl.ca>
6809
6810 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6811 calls and add comments. Skip test if use_gdb_stub is set.
6812 (top level): Use "set cwd" command instead of "cd" command.
6813
6814 2017-10-13 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6817 is_remote target check.
6818
6819 2017-10-13 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.base/scope.exp: Use build_executable + clean_restart +
6822 gdb_file_cmd instead of prepare_for_testing and no longer skip
6823 "before run" tests on is_remote target boards. Update comments.
6824 * boards/native-extended-gdbserver.exp
6825 (extended_gdbserver_load_last_file): New, factored out from ...
6826 (gdb_load): ... this. Move further below and add comment.
6827 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6828
6829 2017-10-12 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.base/attach.exp: Remove references to gdb64.
6832 * gdb.base/dbx.exp: Remove references to gdb64.
6833
6834 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6835 Pedro Alves <palves@redhat.com>
6836
6837 * gdb.base/label.exp: Remove is_remote target check.
6838
6839 2017-10-12 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.base/auvx.exp (coredir): Update comment.
6842 (top level) <core_works>: Use "set cwd" command instead of "cd"
6843 command.
6844
6845 2017-10-12 Pedro Alves <palves@redhat.com>
6846 Simon Marchi <simon.marchi@polymtl.ca>
6847
6848 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6849 target boards.
6850
6851 2017-10-12 Pedro Alves <palves@redhat.com>
6852 Simon Marchi <simon.marchi@polymtl.ca>
6853
6854 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6855 Instead skip if there's any gdb_protocol set.
6856
6857 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6858 Pedro Alves <palves@redhat.com>
6859
6860 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6861
6862 2017-10-12 Pedro Alves <palves@redhat.com>
6863 Simon Marchi <simon.marchi@polymtl.ca>
6864
6865 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6866 instead of on dejagnu remote boards.
6867
6868 2017-10-12 Pedro Alves <palves@redhat.com>
6869 Simon Marchi <simon.marchi@polymtl.ca>
6870
6871 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6872 checks. Use build_executable + clean_restart instead of
6873 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6874 of enabling non-stop after starting gdb.
6875
6876 2017-10-12 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6879 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6880 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6881 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6882
6883 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6884
6885 * gdb.arch/arc-tdesc-cpu.exp: New file.
6886 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6887
6888 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6889
6890 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6891
6892 2017-10-10 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6895 expect CLI output.
6896
6897 2017-10-10 Pedro Alves <palves@redhat.com>
6898
6899 * lib/selftest-support.exp (selftest_setup): Update for
6900 captured_command_loop's prototype change.
6901
6902 2017-10-09 Pedro Alves <palves@redhat.com>
6903
6904 Test both arch1=>arch2 and arch2=>arch1.
6905
6906 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6907 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6908 factored out to...
6909 (append_arch1_options, append_arch2_options, append_arch_options)
6910 (build_executables): New procedures.
6911 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6912 local.
6913 (top level): Add new 'first_arch' testing axis.
6914
6915 2017-10-09 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6918 (barrier): New.
6919 (thread_start, all_started): New functions.
6920 (main): Spawn new thread and wait until it is scheduled.
6921 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6922 option.
6923 (do_test): Add 'selected_thread' parameter. Run to all_started
6924 instead of main. Explicitly set the breakpoint at main. Switch
6925 to the SELECTED_THREAD thread.
6926 (top level): Test handling the exec event with either the main
6927 thread or the second thread selected.
6928
6929 2017-10-09 Pedro Alves <palves@redhat.com>
6930
6931 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6932 logic. Move STOP marker after the value checks.
6933 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6934 regexp.
6935
6936 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6937
6938 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6939
6940 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6941
6942 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6943 integer-to-dfp conversion.
6944 * gdb.base/dfp-test.exp: Likewise.
6945
6946 2017-10-04 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.multi/hangout.c: Include <unistd.h>.
6949 (hangout_loop): New function.
6950 (main): Call alarm. Call hangout_loop in a loop.
6951 * gdb.multi/hello.c: Include <unistd.h>.
6952 (hello_loop): New function.
6953 (main): Call alarm. Call hangout_loop in a loop.
6954 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6955 inferior with the other selected.
6956
6957 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6958
6959 * gdb.mi/list-thread-groups-available.exp: New file.
6960 * gdb.mi/list-thread-groups-available.c: New file.
6961
6962 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6963
6964 * gdb.base/set-cwd.exp: Make it available on
6965 native-extended-gdbserver.
6966
6967 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6968
6969 * gdb.base/set-cwd.c: New file.
6970 * gdb.base/set-cwd.exp: Likewise.
6971
6972 2017-10-02 Tom Tromey <tom@tromey.com>
6973
6974 PR rust/22236:
6975 * gdb.rust/simple.rs (main): New variable "fslice".
6976 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6977
6978 2017-10-02 Tom Tromey <tom@tromey.com>
6979
6980 * gdb.rust/simple.exp: Test ptype of a slice.
6981
6982 2017-10-02 Tom Tromey <tom@tromey.com>
6983
6984 * gdb.rust/simple.exp: Test index of slice.
6985
6986 2017-09-27 Tom Tromey <tom@tromey.com>
6987
6988 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6989
6990 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6991 Pedro Alves <palves@redhat.com>
6992
6993 * gdb.base/compare-sections.exp (get value of read-only section): Read
6994 as unsigned value.
6995 (corrupt read-only section): Likewise and don't set written if patching
6996 failed.
6997
6998 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6999
7000 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7001 files.
7002
7003 2017-09-20 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7006 symbol names in gdb's output.
7007 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7008
7009 2017-09-20 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7012 Rename to ...
7013 (test_list_ambiguous_symbol): ... this and add a symbol name
7014 parameter. Adjust.
7015 (test_list_ambiguous_function): Reimplement on top of
7016 test_list_ambiguous_symbol and also test listing ambiguous
7017 variables.
7018 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7019 (ambiguous_fun): ... this.
7020 (ambiguous_var): New.
7021 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7022 (ambiguous_fun): ... this.
7023 (ambiguous_var): New.
7024
7025 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7026
7027 * gdb.base/starti.c: New file.
7028 * gdb.base/starti.exp: New file.
7029 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7030
7031 2017-09-14 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7034 (top level): Use it instead of runto.
7035
7036 2017-09-11 Tom Tromey <tom@tromey.com>
7037
7038 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7039
7040 2017-09-11 Tom Tromey <tom@tromey.com>
7041
7042 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7043 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7044
7045 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7046
7047 * gdb.fortran/printing-types.exp: New file.
7048 * gdb.fortran/printing-types.exp: New file.
7049
7050 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7051
7052 * gdb.fortran/vla-ptype.exp: Fix typos.
7053 * gdb.fortran/vla-value.exp: Same.
7054
7055 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7056
7057 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7058 * gdb.mi/mi-var-child-f.exp: Likewise.
7059 * gdb.mi/mi-vla-fortran.exp: Likewise.
7060
7061 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7062 Christoph Weinmann <christoph.t.weinmann@intel.com>
7063 Bernhard Heckel <bernhard.heckel@intel.com>
7064
7065 * gdb.fortran/ptr-indentation.f90: New file.
7066 * gdb.fortran/ptr-indentation.exp: New file.
7067
7068 2017-09-05 Tom Tromey <tom@tromey.com>
7069
7070 PR gdb/22010:
7071 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7072
7073 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7074
7075 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7076
7077 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7078
7079 * gdb.threads/tls-nodebug-pie.c: New file.
7080 * gdb.threads/tls-nodebug-pie.exp: New file.
7081
7082 2017-09-05 Tom Tromey <tom@tromey.com>
7083
7084 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7085 for rust.
7086
7087 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7088
7089 * gdb.multi/multi-arch-exec.exp: Test with different
7090 "follow-exec-mode" settings.
7091 (do_test): New procedure.
7092
7093 2017-09-04 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.base/func-static.c (S::method const, S::method volatile)
7096 (S::method volatile const): New methods.
7097 (c_s, v_s, cv_s): New instances.
7098 (main): Call method() on them.
7099 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7100 (cannot_resolve): New procedure.
7101 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7102 print-quote-unquoted columns.
7103 (do_test): Test printing each scope too.
7104
7105 2017-09-04 Pedro Alves <palves@redhat.com>
7106
7107 * gdb.base/local-static.exp: Also test with
7108 class::method::variable wholly quoted.
7109 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7110
7111 2017-09-04 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.base/local-static.c: New.
7114 * gdb.base/local-static.cc: New.
7115 * gdb.base/local-static.exp: New.
7116
7117 2017-09-04 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.asm/asm-source.exp: Add casts to int.
7120 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7121 (dataglobal64_1, dataglobal64_2): New globals.
7122 * gdb.base/nodebug.exp: Test different expressions involving the
7123 new globals, with print, whatis and ptype. Add casts to int.
7124 * gdb.base/solib-display.exp: Add casts to int.
7125 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7126 * gdb.cp/m-static.exp: Add cast to int.
7127 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7128 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7129 tls variable with no debug info without a cast. Test with a cast
7130 to int too.
7131 * gdb.trace/entry-values.exp: Add casts.
7132
7133 2017-09-04 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/nodebug.exp: Test that ptype's error about functions
7136 with unknown return type includes the function name too.
7137
7138 2017-09-04 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7141 return type of munmap in infcall.
7142 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7143 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7144 type of ftell in infcall.
7145 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7146 type of getpid in infcall.
7147 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7148 infcall.
7149 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7150 Bail on failure to extract the pid.
7151 * gdb.base/nodebug.c: #include <stdint.h>.
7152 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7153 New functions.
7154 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7155 Change expected output of print/whatis/ptype with functions with
7156 no debug info. Test all supported languages. Call
7157 test_call_promotion.
7158 * gdb.compile/compile.exp: Adjust expected output to expect
7159 warning.
7160 * gdb.threads/siginfo-threads.exp: Likewise.
7161
7162 2017-09-04 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7165 "prototypes". Test calling float functions via prototyped and
7166 unprototyped function pointers.
7167 (perform_all_tests): New parameter "prototypes". Pass it down.
7168 (top level): Pass down "prototypes" parameter to
7169 perform_all_tests.
7170
7171 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7172
7173 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7174 Test with nested loops.
7175
7176 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7177
7178 * gdb.base/commands.exp: Call the new procedures.
7179 (loop_break_test, loop_continue_test): New procedures.
7180
7181 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7182
7183 * gdb.base/commands.exp: Call new procedure.
7184 (define_if_without_arg_test): New procedure.
7185
7186 2017-09-04 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/list-ambiguous.exp: New file.
7189 * gdb.base/list-ambiguous0.c: New file.
7190 * gdb.base/list-ambiguous1.c: New file.
7191 * gdb.base/list.exp (test_list_range): Adjust expected output.
7192
7193 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7194
7195 * gdb.base/share-env-with-gdbserver.c: New file.
7196 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7197
7198 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7199
7200 * gdb.base/commands.exp (gdbvar_simple_if_test,
7201 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7202 progvar_simple_if_test, progvar_simple_while_test,
7203 progvar_complex_if_while_test, user_defined_command_test,
7204 user_defined_command_args_eval,
7205 user_defined_command_args_stack_test,
7206 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7207 temporary_breakpoint_commands,
7208 gdb_test_no_prompt, redefine_hook_test,
7209 redefine_backtrace_test): Remove "global gdb_prompt".
7210
7211 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7212
7213 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7214 New proc, call it from toplevel.
7215
7216 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7217
7218 PR remote/21852
7219 * gdb.server/normal.c: New file, copied from gdb.base.
7220 * gdb.server/run-without-local-binary.exp: New file.
7221
7222 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7223
7224 * gdb.arch/sparc64-adi.exp: New file.
7225 * gdb.arch/sparc64-adi.c: New file.
7226
7227 2017-08-22 Pedro Alves <palves@redhat.com>
7228
7229 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7230 (top level): Add "list all overloads" tests.
7231
7232 2017-08-22 Tom Tromey <tom@tromey.com>
7233
7234 * gdb.gdb/xfullpath.exp: Remove.
7235
7236 2017-08-21 Pedro Alves <palves@redhat.com>
7237
7238 PR gdb/19487
7239 * gdb.base/symbol-alias.c: New.
7240 * gdb.base/symbol-alias2.c: New.
7241 * gdb.base/symbol-alias.exp: New.
7242
7243 2017-08-21 Pedro Alves <palves@redhat.com>
7244
7245 * gdb.base/dfp-test.c
7246 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7247 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7248 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7249 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7250 * gdb.base/whatis-ptype-typedefs.c: New.
7251 * gdb.base/whatis-ptype-typedefs.exp: New.
7252 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7253 (an_int, an_int_type, an_int_type2): New globals.
7254 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7255 involving typedefs and cast expressions.
7256 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7257 (lookup_typedefs_function): New.
7258 (typedefs_pretty_printers_dict): New.
7259 (top level): Register lookup_typedefs_function in
7260 gdb.pretty_printers.
7261
7262 2017-08-18 Yao Qi <yao.qi@linaro.org>
7263
7264 * gdb.server/unittest.exp: New.
7265
7266 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7267
7268 PR gdb/21954
7269 * gdb.base/environ.exp: Add test to check if 'unset environment'
7270 works.
7271
7272 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7273
7274 * lib/gdb.exp (universal_compile_options): New caching proc.
7275 (gdb_compile): Suppress GCC's coloring of messages.
7276
7277 2017-08-14 Tom Tromey <tom@tromey.com>
7278
7279 PR gdb/21675:
7280 * gdb.base/printcmds.exp (test_radices): New function.
7281 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7282 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7283 * lib/gdb.exp (get_integer_valueof): Use p/d.
7284
7285 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7286
7287 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7288 characters.
7289
7290 2017-08-05 Tom Tromey <tom@tromey.com>
7291
7292 * gdb.rust/simple.exp: Allow String to appear in a different
7293 namespace.
7294
7295 2017-07-26 Yao Qi <yao.qi@linaro.org>
7296
7297 * gdb.gdb/unittest.exp: Invoke command
7298 "maintenance check xml-descriptions".
7299
7300 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7301
7302 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7303 calling context.
7304 (hex128): Drop erroneous calculation of parameters.
7305
7306 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7307
7308 * gdb.python/py-unwind.exp: Disable stack protection when
7309 building test file.
7310
7311 2017-07-20 Pedro Alves <palves@redhat.com>
7312
7313 * gdb.base/default.exp (set language): Adjust expected output.
7314
7315 2017-07-20 Pedro Alves <palves@redhat.com>
7316
7317 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7318 (test_minsym): ... this, and make static.
7319 (get_pck__foo__bar__minsym): Rename to ...
7320 (get_test_minsym): ... this.
7321 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7322 symbol names and comments.
7323 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7324 (get_test_minsym): ... this.
7325 (pck__foo__bar__minsym__2): Rename to ...
7326 (test_minsym): ... this.
7327 (main): Adjust.
7328
7329 2017-07-17 Pedro Alves <palves@redhat.com>
7330
7331 * gdb.base/completion.exp: Adjust expected output.
7332 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7333 the completer works.
7334
7335 2017-07-17 Pedro Alves <palves@redhat.com>
7336
7337 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7338
7339 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7340
7341 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7342
7343 2017-07-14 Tom Tromey <tom@tromey.com>
7344
7345 PR rust/21764:
7346 * gdb.rust/simple.exp: Add tests.
7347
7348 2017-07-14 Tom Tromey <tom@tromey.com>
7349
7350 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7351
7352 2017-07-14 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.linespec/base/one/thefile.cc (z1): New function.
7355 * gdb.linespec/base/two/thefile.cc (z2): New function.
7356 * gdb.linespec/linespec.exp: Add tests.
7357
7358 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7359
7360 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7361 to mi_create_breakpoint.
7362
7363 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7364
7365 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7366 mi_create_breakpoint.
7367
7368 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7369
7370 * gdb.dlang/demangle.exp: Update for demangling changes.
7371
7372 2017-07-09 Tom Tromey <tom@tromey.com>
7373
7374 * gdb.dwarf2/shortpiece.exp: New file.
7375
7376 2017-07-06 David Blaikie <dblaikie@gmail.com>
7377
7378 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7379 built from fissiont-multi-cu{1,2}.c.
7380 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7381 except putting 'main' and 'func' in separate CUs in the same DWO file.
7382 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7383 test.
7384 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7385 test.
7386
7387 2017-07-06 Pedro Alves <palves@redhat.com>
7388
7389 * gdb.python/py-unwind.exp: Test flushregs.
7390
7391 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7392
7393 PR cli/21688
7394 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7395 tests for alias commands and trailing whitespace.
7396
7397 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7398
7399 PR cli/21688
7400 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7401 procedure. Call it.
7402
7403 2017-06-29 Pedro Alves <palves@redhat.com>
7404
7405 * gdb.base/printcmds.exp: Add tests.
7406
7407 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7408
7409 PR gdb/21337
7410 * gdb.base/reread-readsym.exp: New file.
7411 * gdb.base/reread-readsym.c: New file.
7412
7413 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7414
7415 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7416 subpattern.
7417
7418 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7419
7420 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7421 extended mnemonic.
7422 * gdb.arch/powerpc-power9.s: Likewise.
7423
7424 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7425
7426 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7427 on 32-bit x86 targets. Exploit is_*_target macros where
7428 appropriate.
7429
7430 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7431
7432 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7433 register pieces.
7434
7435 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7436
7437 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7438 located in one or more DWARF pieces.
7439
7440 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7441
7442 * lib/gdb.exp (get_endianness): New proc.
7443 * gdb.arch/aarch64-fp.exp: Use it.
7444 * gdb.arch/altivec-regs.exp: Likewise.
7445 * gdb.arch/e500-regs.exp: Likewise.
7446 * gdb.arch/vsx-regs.exp: Likewise.
7447 * gdb.base/dump.exp: Likewise.
7448 * gdb.base/funcargs.exp: Likewise.
7449 * gdb.base/gnu_vector.exp: Likewise.
7450 * gdb.dwarf2/formdata16.exp: Likewise.
7451 * gdb.dwarf2/implptrpiece.exp: Likewise.
7452 * gdb.dwarf2/nonvar-access.exp: Likewise.
7453 * gdb.python/py-inferior.exp: Likewise.
7454 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7455
7456 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7457
7458 PR gdb/21226
7459 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7460 stack value pieces are taken from the LSB end.
7461
7462 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7463
7464 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7465 variable at nonzero offset.
7466
7467 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7468
7469 * gdb.dwarf2/var-access.c: New file.
7470 * gdb.dwarf2/var-access.exp: New test.
7471 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7472
7473 2017-06-12 Tom Tromey <tom@tromey.com>
7474
7475 * gdb.dwarf2/formdata16.exp: Add tests.
7476
7477 2017-06-12 Tom Tromey <tom@tromey.com>
7478
7479 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7480
7481 2017-06-12 Tom Tromey <tom@tromey.com>
7482
7483 PR exp/16225:
7484 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7485 * gdb.arch/vsx-regs.exp: Update tests.
7486 * gdb.arch/s390-vregs.exp (hex128): New proc.
7487 Update test.
7488 * gdb.arch/altivec-regs.exp: Update tests.
7489
7490 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7491
7492 * gdb.base/startup-with-shell.c: New file.
7493 * gdb.base/startup-with-shell.exp: Likewise.
7494
7495 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7496
7497 * gdb.server/non-existing-program.exp: Update regex in order to
7498 reflect the fact that gdbserver is now using fork_inferior (with a
7499 shell) to startup the inferior.
7500
7501 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7502
7503 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7504 support function calls from GDB.
7505
7506 2017-05-21 Tom Tromey <tom@tromey.com>
7507
7508 PR rust/21466:
7509 * gdb.rust/unsized.exp: New file.
7510 * gdb.rust/unsized.rs: New file.
7511
7512 2017-05-19 Tom Tromey <tom@tromey.com>
7513
7514 PR rust/21484:
7515 * gdb.rust/watch.exp: New file.
7516 * gdb.rust/watch.rs: New file.
7517
7518 2017-05-18 Tom Tromey <tom@tromey.com>
7519
7520 * gdb.rust/simple.exp: Allow Box to be qualified.
7521
7522 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7523
7524 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7525
7526 2017-05-18 Pedro Alves <palves@redhat.com>
7527
7528 * gdb.base/fileio.c (test_write, test_read, test_close)
7529 (test_fstat): Don't print 'ret' in the fail path.
7530
7531 2017-05-18 Pedro Alves <palves@redhat.com>
7532
7533 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7534 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7535 (test_system, test_rename, test_unlink, test_time): Change
7536 prototypes.
7537 * gdb.base/fileio.exp (stop_msg): Adjust.
7538
7539 2017-05-18 Pedro Alves <palves@redhat.com>
7540
7541 * gdb.base/fileio.c (null_str): New global.
7542 (test_stat): Use it.
7543 * gdb.base/fileio.exp: Remove nowarnings.
7544
7545 2017-05-17 Yao Qi <yao.qi@linaro.org>
7546
7547 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7548
7549 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7550
7551 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7552 argument command.
7553 (top-level): Invoke test_set_inferior_tty.
7554
7555 2017-05-04 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7558 Add parens to print call for Python 3.
7559
7560 2017-05-03 Keith Seitz <keiths@redhat.com>
7561
7562 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7563 (main): Call it.
7564
7565 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7566
7567 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7568 to prev and next.
7569
7570 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7571
7572 * gdb.python/py-record-btrace.exp: Remove test for
7573 gdb.BtraceInstruction.error.
7574
7575 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7576
7577 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7578
7579 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7580
7581 * gdb.python/py-record-btrace-threads.c: New file.
7582 * gdb.python/py-record-btrace-threads.exp: New file.
7583
7584 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7585
7586 PR testsuite/8595
7587 * gdb.base/environ.exp: Make test available in all architectures.
7588 Move bits related to "info program" testing to
7589 gdb.base/info-program.exp. Rewrite tests to use the two new
7590 procedures mentione below.
7591 (test_set_show_env_var) New procedure.
7592 (test_set_show_env_var_equal): Likewise.
7593 * gdb.base/info-program.exp: New file.
7594
7595 2017-04-27 Keith Seitz <keiths@redhat.com>
7596
7597 * gdb.cp/oranking.cc (test15): New function.
7598 (main): Call test15 and declare additional variables for testing.
7599 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7600 "p foo101('abc')" tests.
7601 Add tests for cv qualifier overloads.
7602 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7603 "lvalue reference overload" test.
7604 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7605 "print value of f1 on Child&& in f2" test.
7606
7607 2017-04-19 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7610 procedure.
7611 (top level): Call it.
7612 * lib/gdb.exp (gdb_define_cmd): New procedure.
7613
7614 2017-04-12 Pedro Alves <palves@redhat.com>
7615
7616 PR gdb/21323
7617 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7618 (wchar): New global.
7619 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7620 (do_test_wide_char, wide_char_types_no_program, top level): Add
7621 wchar_t testing.
7622
7623 2017-04-12 Pedro Alves <palves@redhat.com>
7624
7625 PR c++/21323
7626 * gdb.cp/wide_char_types.c: New file.
7627 * gdb.cp/wide_char_types.exp: New file.
7628
7629 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7630
7631 PR gdb/21352
7632 * gdb.trace/tsv.exp: Add test for "tsave -r".
7633
7634 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7635
7636 * gdb.dlang/watch-loc.c: New file.
7637 * gdb.dlang/watch-loc.exp: New file.
7638
7639 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7640
7641 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7642
7643 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7644
7645 * gdb.arch/arc-analyze-prologue.S: New file.
7646 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7647
7648 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7649
7650 * gdb.arch/arc-decode-insn.S: New file.
7651 * gdb.arch/arc-decode-insn.exp: Likewise.
7652
7653 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7654
7655 PR tdep/20928
7656 * gdb.arch/sparc64-regs.exp: New file.
7657 * gdb.arch/sparc64-regs.S: Likewise.
7658
7659 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7660
7661 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7662 and memory view on Python 3.
7663
7664 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7665 Keith Seitz <keiths@redhat.com>
7666
7667 PR gdb/14441
7668 * gdb.cp/demangle.exp: Add rvalue reference tests.
7669 * gdb.cp/rvalue-ref-casts.cc: New file.
7670 * gdb.cp/rvalue-ref-casts.exp: New file.
7671 * gdb.cp/rvalue-ref-overload.cc: New file.
7672 * gdb.cp/rvalue-ref-overload.exp: New file.
7673 * gdb.cp/rvalue-ref-params.cc: New file.
7674 * gdb.cp/rvalue-ref-params.exp: New file.
7675 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7676 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7677 * gdb.cp/rvalue-ref-types.cc: New file.
7678 * gdb.cp/rvalue-ref-types.exp: New file.
7679 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7680 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7681
7682 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7683
7684 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7685 New procedure.
7686
7687 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7688
7689 * lib/mi-support.exp (mi_gdb_test): Add additional message
7690 for unexpected output.
7691
7692 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7693
7694 * gdb.base/examine-backward.c (Barrier): New character array
7695 constant, to ensure that TestStrings is preceded by a string
7696 terminator.
7697
7698 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7699
7700 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7701 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7702 and implicit pointer into such a location.
7703
7704 2017-03-16 Doug Evans <dje@google.com>
7705
7706 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7707
7708 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7709
7710 * gdb.cp/m-static.exp: Fix expectation for prototype of
7711 test5.single_constructor and single_constructor::single_constructor.
7712
7713 2017-03-16 Doug Evans <dje@google.com>
7714
7715 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7716 * gdb.guile/scm-lazy-string.c: New file.
7717 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7718 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7719 for pointer, array, typedef lazy strings.
7720
7721 2017-03-16 Doug Evans <dje@google.com>
7722
7723 PR python/17728, python/18439, python/18779
7724 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7725 * gdb.python/py-lazy-string.c (pointer): New typedef.
7726 (main): New locals ptr, array, typedef_ptr.
7727 * gdb.python/py-value.exp: Move lazy string tests to ...
7728 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7729 array, typedef lazy strings.
7730
7731 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7732
7733 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7734 Add optional 'test' parameter.
7735
7736 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7737
7738 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7739 Skip for versions of DejaGnu < 1.5.
7740
7741 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7742
7743 * lib/gdb.exp (dejagnu_version): New proc.
7744 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7745 Use dejagnu_version.
7746
7747 2017-03-10 Keith Seitz <keiths@redhat.com>
7748
7749 PR c++/8128
7750 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7751 type from destructor regexps.
7752 Add a branch which actually passes the test.
7753 Adjust "ptype t5i" test names.
7754
7755 2017-03-08 Pedro Alves <palves@redhat.com>
7756
7757 * gdb.base/step-over-exit.exp: Add explicit test message.
7758
7759 2017-03-08 Pedro Alves <palves@redhat.com>
7760
7761 PR gdb/18360
7762 * gdb.threads/interrupt-while-step-over.c: New file.
7763 * gdb.threads/interrupt-while-step-over.exp: New file.
7764
7765 2017-03-08 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7768 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7769
7770 2017-03-08 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7773 PKRU as not supported as a PASS.
7774
7775 2017-03-08 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7778 prefix instead of $binfile1/$binfile2.
7779 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7780 in test message.
7781 * gdb.python/py-completion.exp: Use "load python file" as test
7782 messages instead of unstable path names.
7783
7784 2017-03-08 Pedro Alves <palves@redhat.com>
7785 Jan Kratochvil <jan.kratochvil@redhat.com>
7786
7787 PR cli/21218
7788 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7789 New proc.
7790 (top level): Call it.
7791
7792 2017-03-08 Pedro Alves <palves@redhat.com>
7793
7794 PR tui/21216
7795 * gdb.tui/tui-nl-filtered-output.exp: New file.
7796
7797 2017-03-08 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.base/completion.exp: Move TUI completion tests to ...
7800 * gdb.tui/completion.exp: ... this new file.
7801
7802 2017-03-08 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.base/tui-disasm-long-lines.c,
7805 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7806 gdb.base/tui-layout.exp: Move to ...
7807 * gdb.tui/: ... this new directory.
7808
7809 2017-03-07 Pedro Alves <palves@redhat.com>
7810
7811 * gdb.base/tui-layout.c: New file.
7812 * gdb.base/tui-layout.exp: New file.
7813
7814 2017-03-07 Pedro Alves <palves@redhat.com>
7815
7816 * gdb.base/tui-layout.c: Rename to ...
7817 * gdb.base/tui-disasm-long-lines.c: ... this.
7818 * gdb.base/tui-layout.exp: Rename to ...
7819 * gdb.base/tui-disasm-long-lines.exp: ... this.
7820
7821 2017-03-07 Pedro Alves <palves@redhat.com>
7822
7823 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7824
7825 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7826
7827 * i386-mpx-call.c: New file.
7828 * i386-mpx-call.exp: New file.
7829
7830 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7831
7832 * gdb.arch/powerpc-power.exp: Delete test.
7833 * gdb.arch/powerpc-power.s: Likewise.
7834 * gdb.disasm/disassembler-options.exp: New test.
7835 * gdb.arch/powerpc-altivec.exp: Likewise.
7836 * gdb.arch/powerpc-altivec.s: Likewise.
7837 * gdb.arch/powerpc-altivec2.exp: Likewise.
7838 * gdb.arch/powerpc-altivec2.s: Likewise.
7839 * gdb.arch/powerpc-altivec3.exp: Likewise.
7840 * gdb.arch/powerpc-altivec3.s: Likewise.
7841 * gdb.arch/powerpc-power7.exp: Likewise.
7842 * gdb.arch/powerpc-power7.s: Likewise.
7843 * gdb.arch/powerpc-power8.exp: Likewise.
7844 * gdb.arch/powerpc-power8.s: Likewise.
7845 * gdb.arch/powerpc-power9.exp: Likewise.
7846 * gdb.arch/powerpc-power9.s: Likewise.
7847 * gdb.arch/powerpc-vsx.exp: Likewise.
7848 * gdb.arch/powerpc-vsx.s: Likewise.
7849 * gdb.arch/powerpc-vsx2.exp: Likewise.
7850 * gdb.arch/powerpc-vsx2.s: Likewise.
7851 * gdb.arch/powerpc-vsx3.exp: Likewise.
7852 * gdb.arch/powerpc-vsx3.s: Likewise.
7853 * gdb.arch/arm-disassembler-options.exp: Likewise.
7854 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7855 * gdb.arch/s390-disassembler-options.exp: Likewise.
7856
7857 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7858
7859 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7860 (check_supported_features): ... this. Changed return type to void.
7861 (supports_rdseed): New static global.
7862 (rdseed): Check supports_rdseed.
7863 (initialize): Call check_supported_features.
7864
7865 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7866
7867 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7868 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7869 and lqarx/stqcx.
7870 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7871 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7872
7873 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7874
7875 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7876 uppercase.
7877
7878 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7879
7880 * gdb.dwarf2/formdata16.c: New file.
7881 * gdb.dwarf2/formdata16.exp: New file.
7882 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7883
7884 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7885
7886 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7887 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7888 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7889 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7890 DW_AT_GNU_*.
7891
7892 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7893
7894 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7895
7896 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7897
7898 PR gdb/21164
7899 * gdb.base/maint.exp: Add testcases for when the commands do
7900 not have arguments.
7901
7902 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7903
7904 * gdb.cp/chained-calls.exp: Use p instead of P.
7905
7906 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7907
7908 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7909 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7910
7911 2017-02-14 Tom Tromey <tom@tromey.com>
7912
7913 PR python/13598:
7914 * gdb.python/py-events.exp: Add before_prompt event tests.
7915
7916 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7917
7918 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7919
7920 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7921
7922 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7923 (main): Call my_unique_function_name.
7924 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7925 completion of patterns with a single match.
7926 Add missing -re switches to gdb_test_multiple calls.
7927
7928 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7929
7930 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7931 return if core file is not recognized.
7932
7933 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7934
7935 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7936 and extra UIs.
7937
7938 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7939
7940 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7941 proc_with_prefix.
7942
7943 2017-02-10 Tom Tromey <tom@tromey.com>
7944
7945 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7946
7947 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7948
7949 PR gdb/21122
7950 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7951
7952 2017-02-08 Jerome Guitton <guitton@adacore.com>
7953
7954 * gdb.base/define.exp: Add test for command abbreviations
7955 in define.
7956
7957 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7958
7959 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7960 * gdb.reverse/insn-reverse-x86.c: New file.
7961
7962 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7963
7964 PR tdep/20936
7965 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7966
7967 2017-02-03 Tom Tromey <tom@tromey.com>
7968
7969 PR rust/21097:
7970 * gdb.rust/simple.exp: Add new tests.
7971
7972 2017-02-02 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7975 tests.
7976
7977 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7978
7979 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7980 taking a 2-byte value out of a 4-byte DWARF implicit value on
7981 big-endian targets.
7982 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7983 logic. Add test cases for DW_OP_implicit.
7984
7985 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7986
7987 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7988
7989 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7990
7991 * gdb.btrace/enable.exp: Call gdb_exit before
7992 skip_gdbserver_tests.
7993
7994 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7995
7996 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7997 GDBFLAGS.
7998
7999 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8000
8001 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8002 the test is skipped.
8003 * gdb.btrace/data.exp: Likewise.
8004 * gdb.btrace/delta.exp: Likewise.
8005 * gdb.btrace/dlopen.exp: Likewise.
8006 * gdb.btrace/enable-running.exp: Likewise.
8007 * gdb.btrace/enable.exp: Likewise.
8008 * gdb.btrace/exception.exp: Likewise.
8009 * gdb.btrace/function_call_history.exp: Likewise.
8010 * gdb.btrace/gcore.exp: Likewise.
8011 * gdb.btrace/instruction_history.exp: Likewise.
8012 * gdb.btrace/multi-thread-step.exp: Likewise.
8013 * gdb.btrace/nohist.exp: Likewise.
8014 * gdb.btrace/non-stop.exp: Likewise.
8015 * gdb.btrace/reconnect.exp: Likewise.
8016 * gdb.btrace/record_goto-step.exp: Likewise.
8017 * gdb.btrace/record_goto.exp: Likewise.
8018 * gdb.btrace/rn-dl-bind.exp: Likewise.
8019 * gdb.btrace/segv.exp: Likewise.
8020 * gdb.btrace/step.exp: Likewise.
8021 * gdb.btrace/stepi.exp: Likewise.
8022 * gdb.btrace/tailcall-only.exp: Likewise.
8023 * gdb.btrace/tailcall.exp: Likewise.
8024 * gdb.btrace/tsx.exp: Likewise.
8025 * gdb.btrace/unknown_functions.exp: Likewise.
8026 * gdb.btrace/vdso.exp: Likewise.
8027
8028 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8029
8030 * gdb.btrace/enable-running.c: New.
8031 * gdb.btrace/enable-running.exp: New.
8032
8033 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8034
8035 * gdb.arch/amd64-gs_base.c: New file.
8036 * gdb.arch/amd64-gs_base.exp: New file.
8037
8038 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8039
8040 * lib/memory.exp: Remove spurious empty newlines.
8041
8042 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8043
8044 * gdb.python/py-bad-printers.exp: Load python file using "source".
8045 * gdb.python/py-events.exp: Likewise.
8046 * gdb.python/py-evsignal.exp: Likewise.
8047 * gdb.python/py-evthreads.exp: Likewise.
8048 * gdb.python/py-frame-args.exp: Likewise.
8049 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8050 * gdb.python/py-framefilter-mi.exp: Likewise.
8051 * gdb.python/py-framefilter.exp: Likewise.
8052 * gdb.python/py-mi.exp: Likewise.
8053 * gdb.python/py-pp-maint.exp: Likewise.
8054 * gdb.python/py-pp-registration.exp: Likewise.
8055 * gdb.python/py-prettyprint.exp: Likewise.
8056 (run_lang_tests): Likewise.
8057 * gdb.python/py-typeprint.exp: Likewise.
8058
8059 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8060
8061 * lib/memory.exp: New file.
8062 * lib/gdb.exp: Load memory.exp.
8063 * gdb.base/memattr.exp (delete_memory): Move proc to
8064 lib/memory.exp and rename to delete_memory_regions.
8065 Replace delete_memory with delete_memory_regions.
8066 Cleanup memory regions before tests.
8067 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8068 before tests.
8069
8070 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8071
8072 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8073 files.
8074 (initialize): New function conditionally defined.
8075 (testcases): Move within conditional block.
8076 (main): Call initialize.
8077 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8078 of gdb.reverse/insn-reverse.c.
8079 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8080 gdb.reverse/insn-reverse.c.
8081
8082 2017-01-26 Yao Qi <yao.qi@linaro.org>
8083
8084 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8085 disassemble on address 0.
8086
8087 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8088 Yao Qi <yao.qi@linaro.org>
8089
8090 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8091 * gdb.dwarf2/implptr-64bit.S: Remove.
8092 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8093 variables in caller's context. Add DW_OP_implicit_value.
8094
8095 2017-01-25 Yao Qi <yao.qi@linaro.org>
8096
8097 * lib/dwarf.exp (Dwarf::_location): Handle
8098 DW_OP_GNU_implicit_pointer with proper size.
8099
8100 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8101
8102 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8103 and add untested calls.
8104
8105 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8106
8107 * gdb.python/python.exp: Check line number against what GDB thinks
8108 the line number is for func1.
8109
8110 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8111
8112 * gdb.dlang/debug-expr.exp: New file.
8113
8114 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8115
8116 Fix test names for the following files:
8117
8118 * gdb.ada/exec_changed.exp
8119 * gdb.ada/info_types.exp
8120 * gdb.arch/aarch64-atomic-inst.exp
8121 * gdb.arch/aarch64-fp.exp
8122 * gdb.arch/altivec-abi.exp
8123 * gdb.arch/altivec-regs.exp
8124 * gdb.arch/amd64-byte.exp
8125 * gdb.arch/amd64-disp-step.exp
8126 * gdb.arch/amd64-dword.exp
8127 * gdb.arch/amd64-entry-value-inline.exp
8128 * gdb.arch/amd64-entry-value-param.exp
8129 * gdb.arch/amd64-entry-value-paramref.exp
8130 * gdb.arch/amd64-entry-value.exp
8131 * gdb.arch/amd64-i386-address.exp
8132 * gdb.arch/amd64-invalid-stack-middle.exp
8133 * gdb.arch/amd64-invalid-stack-top.exp
8134 * gdb.arch/amd64-optimout-repeat.exp
8135 * gdb.arch/amd64-prologue-skip.exp
8136 * gdb.arch/amd64-prologue-xmm.exp
8137 * gdb.arch/amd64-stap-special-operands.exp
8138 * gdb.arch/amd64-stap-wrong-subexp.exp
8139 * gdb.arch/amd64-tailcall-cxx.exp
8140 * gdb.arch/amd64-tailcall-noret.exp
8141 * gdb.arch/amd64-tailcall-ret.exp
8142 * gdb.arch/amd64-tailcall-self.exp
8143 * gdb.arch/amd64-word.exp
8144 * gdb.arch/arm-bl-branch-dest.exp
8145 * gdb.arch/arm-disp-step.exp
8146 * gdb.arch/arm-neon.exp
8147 * gdb.arch/arm-single-step-kernel-helper.exp
8148 * gdb.arch/avr-flash-qualifier.exp
8149 * gdb.arch/disp-step-insn-reloc.exp
8150 * gdb.arch/e500-abi.exp
8151 * gdb.arch/e500-regs.exp
8152 * gdb.arch/ftrace-insn-reloc.exp
8153 * gdb.arch/i386-avx512.exp
8154 * gdb.arch/i386-bp_permanent.exp
8155 * gdb.arch/i386-byte.exp
8156 * gdb.arch/i386-cfi-notcurrent.exp
8157 * gdb.arch/i386-disp-step.exp
8158 * gdb.arch/i386-dr3-watch.exp
8159 * gdb.arch/i386-float.exp
8160 * gdb.arch/i386-gnu-cfi.exp
8161 * gdb.arch/i386-mpx-map.exp
8162 * gdb.arch/i386-mpx-sigsegv.exp
8163 * gdb.arch/i386-mpx-simple_segv.exp
8164 * gdb.arch/i386-mpx.exp
8165 * gdb.arch/i386-permbkpt.exp
8166 * gdb.arch/i386-prologue.exp
8167 * gdb.arch/i386-signal.exp
8168 * gdb.arch/i386-size-overlap.exp
8169 * gdb.arch/i386-unwind.exp
8170 * gdb.arch/i386-word.exp
8171 * gdb.arch/mips-fcr.exp
8172 * gdb.arch/powerpc-d128-regs.exp
8173 * gdb.arch/powerpc-stackless.exp
8174 * gdb.arch/ppc64-atomic-inst.exp
8175 * gdb.arch/s390-stackless.exp
8176 * gdb.arch/s390-tdbregs.exp
8177 * gdb.arch/s390-vregs.exp
8178 * gdb.arch/sparc-sysstep.exp
8179 * gdb.arch/thumb-bx-pc.exp
8180 * gdb.arch/thumb-singlestep.exp
8181 * gdb.arch/thumb2-it.exp
8182 * gdb.arch/vsx-regs.exp
8183 * gdb.asm/asm-source.exp
8184 * gdb.base/a2-run.exp
8185 * gdb.base/advance.exp
8186 * gdb.base/all-bin.exp
8187 * gdb.base/anon.exp
8188 * gdb.base/args.exp
8189 * gdb.base/arithmet.exp
8190 * gdb.base/async-shell.exp
8191 * gdb.base/async.exp
8192 * gdb.base/attach-pie-noexec.exp
8193 * gdb.base/attach-twice.exp
8194 * gdb.base/auto-load.exp
8195 * gdb.base/bang.exp
8196 * gdb.base/bitfields.exp
8197 * gdb.base/break-always.exp
8198 * gdb.base/break-caller-line.exp
8199 * gdb.base/break-entry.exp
8200 * gdb.base/break-inline.exp
8201 * gdb.base/break-on-linker-gcd-function.exp
8202 * gdb.base/break-probes.exp
8203 * gdb.base/break.exp
8204 * gdb.base/breakpoint-shadow.exp
8205 * gdb.base/call-ar-st.exp
8206 * gdb.base/call-sc.exp
8207 * gdb.base/call-signal-resume.exp
8208 * gdb.base/call-strs.exp
8209 * gdb.base/callfuncs.exp
8210 * gdb.base/catch-fork-static.exp
8211 * gdb.base/catch-gdb-caused-signals.exp
8212 * gdb.base/catch-load.exp
8213 * gdb.base/catch-signal-fork.exp
8214 * gdb.base/catch-signal.exp
8215 * gdb.base/catch-syscall.exp
8216 * gdb.base/charset.exp
8217 * gdb.base/checkpoint.exp
8218 * gdb.base/chng-syms.exp
8219 * gdb.base/code-expr.exp
8220 * gdb.base/code_elim.exp
8221 * gdb.base/commands.exp
8222 * gdb.base/completion.exp
8223 * gdb.base/complex.exp
8224 * gdb.base/cond-expr.exp
8225 * gdb.base/condbreak.exp
8226 * gdb.base/consecutive.exp
8227 * gdb.base/continue-all-already-running.exp
8228 * gdb.base/coredump-filter.exp
8229 * gdb.base/corefile.exp
8230 * gdb.base/dbx.exp
8231 * gdb.base/debug-expr.exp
8232 * gdb.base/define.exp
8233 * gdb.base/del.exp
8234 * gdb.base/disabled-location.exp
8235 * gdb.base/disasm-end-cu.exp
8236 * gdb.base/disasm-optim.exp
8237 * gdb.base/display.exp
8238 * gdb.base/duplicate-bp.exp
8239 * gdb.base/ena-dis-br.exp
8240 * gdb.base/ending-run.exp
8241 * gdb.base/enumval.exp
8242 * gdb.base/environ.exp
8243 * gdb.base/eu-strip-infcall.exp
8244 * gdb.base/eval-avoid-side-effects.exp
8245 * gdb.base/eval-skip.exp
8246 * gdb.base/exitsignal.exp
8247 * gdb.base/expand-psymtabs.exp
8248 * gdb.base/filesym.exp
8249 * gdb.base/find-unmapped.exp
8250 * gdb.base/finish.exp
8251 * gdb.base/float.exp
8252 * gdb.base/foll-exec-mode.exp
8253 * gdb.base/foll-exec.exp
8254 * gdb.base/foll-fork.exp
8255 * gdb.base/fortran-sym-case.exp
8256 * gdb.base/freebpcmd.exp
8257 * gdb.base/func-ptr.exp
8258 * gdb.base/func-ptrs.exp
8259 * gdb.base/funcargs.exp
8260 * gdb.base/gcore-buffer-overflow.exp
8261 * gdb.base/gcore-relro-pie.exp
8262 * gdb.base/gcore-relro.exp
8263 * gdb.base/gcore.exp
8264 * gdb.base/gdb1090.exp
8265 * gdb.base/gdb11530.exp
8266 * gdb.base/gdb11531.exp
8267 * gdb.base/gdb1821.exp
8268 * gdb.base/gdbindex-stabs.exp
8269 * gdb.base/gdbvars.exp
8270 * gdb.base/hbreak.exp
8271 * gdb.base/hbreak2.exp
8272 * gdb.base/included.exp
8273 * gdb.base/infcall-input.exp
8274 * gdb.base/inferior-died.exp
8275 * gdb.base/infnan.exp
8276 * gdb.base/info-macros.exp
8277 * gdb.base/info-os.exp
8278 * gdb.base/info-proc.exp
8279 * gdb.base/info-shared.exp
8280 * gdb.base/info-target.exp
8281 * gdb.base/infoline.exp
8282 * gdb.base/interp.exp
8283 * gdb.base/interrupt.exp
8284 * gdb.base/jit-reader.exp
8285 * gdb.base/jit-simple.exp
8286 * gdb.base/kill-after-signal.exp
8287 * gdb.base/kill-detach-inferiors-cmd.exp
8288 * gdb.base/label.exp
8289 * gdb.base/langs.exp
8290 * gdb.base/ldbl_e308.exp
8291 * gdb.base/line-symtabs.exp
8292 * gdb.base/linespecs.exp
8293 * gdb.base/list.exp
8294 * gdb.base/long_long.exp
8295 * gdb.base/longest-types.exp
8296 * gdb.base/maint.exp
8297 * gdb.base/max-value-size.exp
8298 * gdb.base/memattr.exp
8299 * gdb.base/mips_pro.exp
8300 * gdb.base/morestack.exp
8301 * gdb.base/moribund-step.exp
8302 * gdb.base/multi-forks.exp
8303 * gdb.base/nested-addr.exp
8304 * gdb.base/nextoverexit.exp
8305 * gdb.base/noreturn-finish.exp
8306 * gdb.base/noreturn-return.exp
8307 * gdb.base/nostdlib.exp
8308 * gdb.base/offsets.exp
8309 * gdb.base/opaque.exp
8310 * gdb.base/pc-fp.exp
8311 * gdb.base/permissions.exp
8312 * gdb.base/print-symbol-loading.exp
8313 * gdb.base/prologue-include.exp
8314 * gdb.base/psymtab.exp
8315 * gdb.base/ptype.exp
8316 * gdb.base/random-signal.exp
8317 * gdb.base/randomize.exp
8318 * gdb.base/range-stepping.exp
8319 * gdb.base/readline-ask.exp
8320 * gdb.base/recpar.exp
8321 * gdb.base/recurse.exp
8322 * gdb.base/relational.exp
8323 * gdb.base/restore.exp
8324 * gdb.base/return-nodebug.exp
8325 * gdb.base/return.exp
8326 * gdb.base/run-after-attach.exp
8327 * gdb.base/save-bp.exp
8328 * gdb.base/scope.exp
8329 * gdb.base/sect-cmd.exp
8330 * gdb.base/set-lang-auto.exp
8331 * gdb.base/set-noassign.exp
8332 * gdb.base/setvar.exp
8333 * gdb.base/sigall.exp
8334 * gdb.base/sigbpt.exp
8335 * gdb.base/siginfo-addr.exp
8336 * gdb.base/siginfo-infcall.exp
8337 * gdb.base/siginfo-obj.exp
8338 * gdb.base/siginfo.exp
8339 * gdb.base/signals-state-child.exp
8340 * gdb.base/signest.exp
8341 * gdb.base/sigstep.exp
8342 * gdb.base/sizeof.exp
8343 * gdb.base/skip.exp
8344 * gdb.base/solib-corrupted.exp
8345 * gdb.base/solib-nodir.exp
8346 * gdb.base/solib-search.exp
8347 * gdb.base/stack-checking.exp
8348 * gdb.base/stale-infcall.exp
8349 * gdb.base/stap-probe.exp
8350 * gdb.base/start.exp
8351 * gdb.base/step-break.exp
8352 * gdb.base/step-bt.exp
8353 * gdb.base/step-line.exp
8354 * gdb.base/step-over-exit.exp
8355 * gdb.base/step-over-syscall.exp
8356 * gdb.base/step-resume-infcall.exp
8357 * gdb.base/step-test.exp
8358 * gdb.base/store.exp
8359 * gdb.base/structs3.exp
8360 * gdb.base/sym-file.exp
8361 * gdb.base/symbol-without-target_section.exp
8362 * gdb.base/term.exp
8363 * gdb.base/testenv.exp
8364 * gdb.base/ui-redirect.exp
8365 * gdb.base/until.exp
8366 * gdb.base/unwindonsignal.exp
8367 * gdb.base/value-double-free.exp
8368 * gdb.base/vla-datatypes.exp
8369 * gdb.base/vla-ptr.exp
8370 * gdb.base/vla-sideeffect.exp
8371 * gdb.base/volatile.exp
8372 * gdb.base/watch-cond-infcall.exp
8373 * gdb.base/watch-cond.exp
8374 * gdb.base/watch-non-mem.exp
8375 * gdb.base/watch-read.exp
8376 * gdb.base/watch-vfork.exp
8377 * gdb.base/watchpoint-cond-gone.exp
8378 * gdb.base/watchpoint-delete.exp
8379 * gdb.base/watchpoint-hw-hit-once.exp
8380 * gdb.base/watchpoint-hw.exp
8381 * gdb.base/watchpoint-stops-at-right-insn.exp
8382 * gdb.base/watchpoints.exp
8383 * gdb.base/wchar.exp
8384 * gdb.base/whatis-exp.exp
8385 * gdb.btrace/buffer-size.exp
8386 * gdb.btrace/data.exp
8387 * gdb.btrace/delta.exp
8388 * gdb.btrace/dlopen.exp
8389 * gdb.btrace/enable.exp
8390 * gdb.btrace/exception.exp
8391 * gdb.btrace/function_call_history.exp
8392 * gdb.btrace/gcore.exp
8393 * gdb.btrace/instruction_history.exp
8394 * gdb.btrace/nohist.exp
8395 * gdb.btrace/reconnect.exp
8396 * gdb.btrace/record_goto-step.exp
8397 * gdb.btrace/record_goto.exp
8398 * gdb.btrace/rn-dl-bind.exp
8399 * gdb.btrace/segv.exp
8400 * gdb.btrace/step.exp
8401 * gdb.btrace/stepi.exp
8402 * gdb.btrace/tailcall-only.exp
8403 * gdb.btrace/tailcall.exp
8404 * gdb.btrace/tsx.exp
8405 * gdb.btrace/unknown_functions.exp
8406 * gdb.btrace/vdso.exp
8407 * gdb.compile/compile-ifunc.exp
8408 * gdb.compile/compile-ops.exp
8409 * gdb.compile/compile-print.exp
8410 * gdb.compile/compile-setjmp.exp
8411 * gdb.cp/abstract-origin.exp
8412 * gdb.cp/ambiguous.exp
8413 * gdb.cp/annota2.exp
8414 * gdb.cp/annota3.exp
8415 * gdb.cp/anon-ns.exp
8416 * gdb.cp/anon-struct.exp
8417 * gdb.cp/anon-union.exp
8418 * gdb.cp/arg-reference.exp
8419 * gdb.cp/baseenum.exp
8420 * gdb.cp/bool.exp
8421 * gdb.cp/breakpoint.exp
8422 * gdb.cp/bs15503.exp
8423 * gdb.cp/call-c.exp
8424 * gdb.cp/casts.exp
8425 * gdb.cp/chained-calls.exp
8426 * gdb.cp/class2.exp
8427 * gdb.cp/classes.exp
8428 * gdb.cp/cmpd-minsyms.exp
8429 * gdb.cp/converts.exp
8430 * gdb.cp/cp-relocate.exp
8431 * gdb.cp/cpcompletion.exp
8432 * gdb.cp/cpexprs.exp
8433 * gdb.cp/cplabel.exp
8434 * gdb.cp/cplusfuncs.exp
8435 * gdb.cp/cpsizeof.exp
8436 * gdb.cp/ctti.exp
8437 * gdb.cp/derivation.exp
8438 * gdb.cp/destrprint.exp
8439 * gdb.cp/dispcxx.exp
8440 * gdb.cp/enum-class.exp
8441 * gdb.cp/exception.exp
8442 * gdb.cp/exceptprint.exp
8443 * gdb.cp/expand-psymtabs-cxx.exp
8444 * gdb.cp/expand-sals.exp
8445 * gdb.cp/extern-c.exp
8446 * gdb.cp/filename.exp
8447 * gdb.cp/formatted-ref.exp
8448 * gdb.cp/fpointer.exp
8449 * gdb.cp/gdb1355.exp
8450 * gdb.cp/gdb2495.exp
8451 * gdb.cp/hang.exp
8452 * gdb.cp/impl-this.exp
8453 * gdb.cp/infcall-dlopen.exp
8454 * gdb.cp/inherit.exp
8455 * gdb.cp/iostream.exp
8456 * gdb.cp/koenig.exp
8457 * gdb.cp/local.exp
8458 * gdb.cp/m-data.exp
8459 * gdb.cp/m-static.exp
8460 * gdb.cp/mb-ctor.exp
8461 * gdb.cp/mb-inline.exp
8462 * gdb.cp/mb-templates.exp
8463 * gdb.cp/member-name.exp
8464 * gdb.cp/member-ptr.exp
8465 * gdb.cp/meth-typedefs.exp
8466 * gdb.cp/method.exp
8467 * gdb.cp/method2.exp
8468 * gdb.cp/minsym-fallback.exp
8469 * gdb.cp/misc.exp
8470 * gdb.cp/namelessclass.exp
8471 * gdb.cp/namespace-enum.exp
8472 * gdb.cp/namespace-nested-import.exp
8473 * gdb.cp/namespace.exp
8474 * gdb.cp/nextoverthrow.exp
8475 * gdb.cp/no-dmgl-verbose.exp
8476 * gdb.cp/non-trivial-retval.exp
8477 * gdb.cp/noparam.exp
8478 * gdb.cp/nsdecl.exp
8479 * gdb.cp/nsimport.exp
8480 * gdb.cp/nsnested.exp
8481 * gdb.cp/nsnoimports.exp
8482 * gdb.cp/nsrecurs.exp
8483 * gdb.cp/nsstress.exp
8484 * gdb.cp/nsusing.exp
8485 * gdb.cp/operator.exp
8486 * gdb.cp/oranking.exp
8487 * gdb.cp/overload-const.exp
8488 * gdb.cp/overload.exp
8489 * gdb.cp/ovldbreak.exp
8490 * gdb.cp/ovsrch.exp
8491 * gdb.cp/paren-type.exp
8492 * gdb.cp/parse-lang.exp
8493 * gdb.cp/pass-by-ref.exp
8494 * gdb.cp/pr-1023.exp
8495 * gdb.cp/pr-1210.exp
8496 * gdb.cp/pr-574.exp
8497 * gdb.cp/pr10687.exp
8498 * gdb.cp/pr12028.exp
8499 * gdb.cp/pr17132.exp
8500 * gdb.cp/pr17494.exp
8501 * gdb.cp/pr9067.exp
8502 * gdb.cp/pr9167.exp
8503 * gdb.cp/pr9631.exp
8504 * gdb.cp/printmethod.exp
8505 * gdb.cp/psmang.exp
8506 * gdb.cp/psymtab-parameter.exp
8507 * gdb.cp/ptype-cv-cp.exp
8508 * gdb.cp/ptype-flags.exp
8509 * gdb.cp/re-set-overloaded.exp
8510 * gdb.cp/ref-types.exp
8511 * gdb.cp/rtti.exp
8512 * gdb.cp/scope-err.exp
8513 * gdb.cp/shadow.exp
8514 * gdb.cp/smartp.exp
8515 * gdb.cp/static-method.exp
8516 * gdb.cp/static-print-quit.exp
8517 * gdb.cp/temargs.exp
8518 * gdb.cp/templates.exp
8519 * gdb.cp/try_catch.exp
8520 * gdb.cp/typedef-operator.exp
8521 * gdb.cp/typeid.exp
8522 * gdb.cp/userdef.exp
8523 * gdb.cp/using-crash.exp
8524 * gdb.cp/var-tag.exp
8525 * gdb.cp/virtbase.exp
8526 * gdb.cp/virtfunc.exp
8527 * gdb.cp/virtfunc2.exp
8528 * gdb.cp/vla-cxx.exp
8529 * gdb.disasm/t01_mov.exp
8530 * gdb.disasm/t02_mova.exp
8531 * gdb.disasm/t03_add.exp
8532 * gdb.disasm/t04_sub.exp
8533 * gdb.disasm/t05_cmp.exp
8534 * gdb.disasm/t06_ari2.exp
8535 * gdb.disasm/t07_ari3.exp
8536 * gdb.disasm/t08_or.exp
8537 * gdb.disasm/t09_xor.exp
8538 * gdb.disasm/t10_and.exp
8539 * gdb.disasm/t11_logs.exp
8540 * gdb.disasm/t12_bit.exp
8541 * gdb.disasm/t13_otr.exp
8542 * gdb.dlang/circular.exp
8543 * gdb.dwarf2/arr-stride.exp
8544 * gdb.dwarf2/arr-subrange.exp
8545 * gdb.dwarf2/atomic-type.exp
8546 * gdb.dwarf2/bad-regnum.exp
8547 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8548 * gdb.dwarf2/callframecfa.exp
8549 * gdb.dwarf2/clztest.exp
8550 * gdb.dwarf2/corrupt.exp
8551 * gdb.dwarf2/data-loc.exp
8552 * gdb.dwarf2/dup-psym.exp
8553 * gdb.dwarf2/dw2-anon-mptr.exp
8554 * gdb.dwarf2/dw2-anonymous-func.exp
8555 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8556 * gdb.dwarf2/dw2-bad-unresolved.exp
8557 * gdb.dwarf2/dw2-basic.exp
8558 * gdb.dwarf2/dw2-canonicalize-type.exp
8559 * gdb.dwarf2/dw2-case-insensitive.exp
8560 * gdb.dwarf2/dw2-common-block.exp
8561 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8562 * gdb.dwarf2/dw2-compressed.exp
8563 * gdb.dwarf2/dw2-const.exp
8564 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8565 * gdb.dwarf2/dw2-cu-size.exp
8566 * gdb.dwarf2/dw2-dup-frame.exp
8567 * gdb.dwarf2/dw2-entry-value.exp
8568 * gdb.dwarf2/dw2-icycle.exp
8569 * gdb.dwarf2/dw2-ifort-parameter.exp
8570 * gdb.dwarf2/dw2-inline-break.exp
8571 * gdb.dwarf2/dw2-inline-param.exp
8572 * gdb.dwarf2/dw2-intercu.exp
8573 * gdb.dwarf2/dw2-intermix.exp
8574 * gdb.dwarf2/dw2-lexical-block-bare.exp
8575 * gdb.dwarf2/dw2-linkage-name-trust.exp
8576 * gdb.dwarf2/dw2-minsym-in-cu.exp
8577 * gdb.dwarf2/dw2-noloc.exp
8578 * gdb.dwarf2/dw2-op-call.exp
8579 * gdb.dwarf2/dw2-op-out-param.exp
8580 * gdb.dwarf2/dw2-opt-structptr.exp
8581 * gdb.dwarf2/dw2-param-error.exp
8582 * gdb.dwarf2/dw2-producer.exp
8583 * gdb.dwarf2/dw2-ranges-base.exp
8584 * gdb.dwarf2/dw2-ref-missing-frame.exp
8585 * gdb.dwarf2/dw2-reg-undefined.exp
8586 * gdb.dwarf2/dw2-regno-invalid.exp
8587 * gdb.dwarf2/dw2-restore.exp
8588 * gdb.dwarf2/dw2-restrict.exp
8589 * gdb.dwarf2/dw2-single-line-discriminators.exp
8590 * gdb.dwarf2/dw2-strp.exp
8591 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8592 * gdb.dwarf2/dw2-unresolved.exp
8593 * gdb.dwarf2/dw2-var-zero-addr.exp
8594 * gdb.dwarf2/dw4-sig-types.exp
8595 * gdb.dwarf2/dwz.exp
8596 * gdb.dwarf2/dynarr-ptr.exp
8597 * gdb.dwarf2/enum-type.exp
8598 * gdb.dwarf2/gdb-index.exp
8599 * gdb.dwarf2/implptr-64bit.exp
8600 * gdb.dwarf2/implptr-optimized-out.exp
8601 * gdb.dwarf2/implptr.exp
8602 * gdb.dwarf2/implref-array.exp
8603 * gdb.dwarf2/implref-const.exp
8604 * gdb.dwarf2/implref-global.exp
8605 * gdb.dwarf2/implref-struct.exp
8606 * gdb.dwarf2/mac-fileno.exp
8607 * gdb.dwarf2/main-subprogram.exp
8608 * gdb.dwarf2/member-ptr-forwardref.exp
8609 * gdb.dwarf2/method-ptr.exp
8610 * gdb.dwarf2/missing-sig-type.exp
8611 * gdb.dwarf2/nonvar-access.exp
8612 * gdb.dwarf2/opaque-type-lookup.exp
8613 * gdb.dwarf2/pieces-optimized-out.exp
8614 * gdb.dwarf2/pieces.exp
8615 * gdb.dwarf2/pr10770.exp
8616 * gdb.dwarf2/pr13961.exp
8617 * gdb.dwarf2/staticvirtual.exp
8618 * gdb.dwarf2/subrange.exp
8619 * gdb.dwarf2/symtab-producer.exp
8620 * gdb.dwarf2/trace-crash.exp
8621 * gdb.dwarf2/typeddwarf.exp
8622 * gdb.dwarf2/valop.exp
8623 * gdb.dwarf2/watch-notconst.exp
8624 * gdb.fortran/array-element.exp
8625 * gdb.fortran/charset.exp
8626 * gdb.fortran/common-block.exp
8627 * gdb.fortran/complex.exp
8628 * gdb.fortran/derived-type-function.exp
8629 * gdb.fortran/derived-type.exp
8630 * gdb.fortran/logical.exp
8631 * gdb.fortran/module.exp
8632 * gdb.fortran/multi-dim.exp
8633 * gdb.fortran/nested-funcs.exp
8634 * gdb.fortran/print-formatted.exp
8635 * gdb.fortran/subarray.exp
8636 * gdb.fortran/vla-alloc-assoc.exp
8637 * gdb.fortran/vla-datatypes.exp
8638 * gdb.fortran/vla-history.exp
8639 * gdb.fortran/vla-ptr-info.exp
8640 * gdb.fortran/vla-ptype-sub.exp
8641 * gdb.fortran/vla-ptype.exp
8642 * gdb.fortran/vla-sizeof.exp
8643 * gdb.fortran/vla-type.exp
8644 * gdb.fortran/vla-value-sub-arbitrary.exp
8645 * gdb.fortran/vla-value-sub-finish.exp
8646 * gdb.fortran/vla-value-sub.exp
8647 * gdb.fortran/vla-value.exp
8648 * gdb.fortran/whatis_type.exp
8649 * gdb.go/chan.exp
8650 * gdb.go/handcall.exp
8651 * gdb.go/hello.exp
8652 * gdb.go/integers.exp
8653 * gdb.go/methods.exp
8654 * gdb.go/package.exp
8655 * gdb.go/strings.exp
8656 * gdb.go/types.exp
8657 * gdb.go/unsafe.exp
8658 * gdb.guile/scm-arch.exp
8659 * gdb.guile/scm-block.exp
8660 * gdb.guile/scm-breakpoint.exp
8661 * gdb.guile/scm-cmd.exp
8662 * gdb.guile/scm-disasm.exp
8663 * gdb.guile/scm-equal.exp
8664 * gdb.guile/scm-frame-args.exp
8665 * gdb.guile/scm-frame-inline.exp
8666 * gdb.guile/scm-frame.exp
8667 * gdb.guile/scm-iterator.exp
8668 * gdb.guile/scm-math.exp
8669 * gdb.guile/scm-objfile.exp
8670 * gdb.guile/scm-ports.exp
8671 * gdb.guile/scm-symbol.exp
8672 * gdb.guile/scm-symtab.exp
8673 * gdb.guile/scm-value-cc.exp
8674 * gdb.guile/types-module.exp
8675 * gdb.linespec/break-ask.exp
8676 * gdb.linespec/cpexplicit.exp
8677 * gdb.linespec/explicit.exp
8678 * gdb.linespec/keywords.exp
8679 * gdb.linespec/linespec.exp
8680 * gdb.linespec/ls-dollar.exp
8681 * gdb.linespec/ls-errs.exp
8682 * gdb.linespec/skip-two.exp
8683 * gdb.linespec/thread.exp
8684 * gdb.mi/mi-async.exp
8685 * gdb.mi/mi-basics.exp
8686 * gdb.mi/mi-break.exp
8687 * gdb.mi/mi-catch-load.exp
8688 * gdb.mi/mi-cli.exp
8689 * gdb.mi/mi-cmd-param-changed.exp
8690 * gdb.mi/mi-console.exp
8691 * gdb.mi/mi-detach.exp
8692 * gdb.mi/mi-disassemble.exp
8693 * gdb.mi/mi-eval.exp
8694 * gdb.mi/mi-file-transfer.exp
8695 * gdb.mi/mi-file.exp
8696 * gdb.mi/mi-fill-memory.exp
8697 * gdb.mi/mi-inheritance-syntax-error.exp
8698 * gdb.mi/mi-linespec-err-cp.exp
8699 * gdb.mi/mi-logging.exp
8700 * gdb.mi/mi-memory-changed.exp
8701 * gdb.mi/mi-read-memory.exp
8702 * gdb.mi/mi-record-changed.exp
8703 * gdb.mi/mi-reg-undefined.exp
8704 * gdb.mi/mi-regs.exp
8705 * gdb.mi/mi-return.exp
8706 * gdb.mi/mi-reverse.exp
8707 * gdb.mi/mi-simplerun.exp
8708 * gdb.mi/mi-solib.exp
8709 * gdb.mi/mi-stack.exp
8710 * gdb.mi/mi-stepi.exp
8711 * gdb.mi/mi-syn-frame.exp
8712 * gdb.mi/mi-until.exp
8713 * gdb.mi/mi-var-block.exp
8714 * gdb.mi/mi-var-child.exp
8715 * gdb.mi/mi-var-cmd.exp
8716 * gdb.mi/mi-var-cp.exp
8717 * gdb.mi/mi-var-display.exp
8718 * gdb.mi/mi-var-invalidate.exp
8719 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8720 * gdb.mi/mi-vla-fortran.exp
8721 * gdb.mi/mi-watch.exp
8722 * gdb.mi/mi2-var-child.exp
8723 * gdb.mi/user-selected-context-sync.exp
8724 * gdb.modula2/unbounded-array.exp
8725 * gdb.multi/dummy-frame-restore.exp
8726 * gdb.multi/multi-arch-exec.exp
8727 * gdb.multi/multi-arch.exp
8728 * gdb.multi/tids.exp
8729 * gdb.multi/watchpoint-multi.exp
8730 * gdb.opencl/callfuncs.exp
8731 * gdb.opencl/convs_casts.exp
8732 * gdb.opencl/datatypes.exp
8733 * gdb.opencl/operators.exp
8734 * gdb.opencl/vec_comps.exp
8735 * gdb.opt/clobbered-registers-O2.exp
8736 * gdb.opt/inline-break.exp
8737 * gdb.opt/inline-bt.exp
8738 * gdb.opt/inline-cmds.exp
8739 * gdb.opt/inline-locals.exp
8740 * gdb.pascal/case-insensitive-symbols.exp
8741 * gdb.pascal/floats.exp
8742 * gdb.pascal/gdb11492.exp
8743 * gdb.python/lib-types.exp
8744 * gdb.python/py-arch.exp
8745 * gdb.python/py-as-string.exp
8746 * gdb.python/py-bad-printers.exp
8747 * gdb.python/py-block.exp
8748 * gdb.python/py-breakpoint-create-fail.exp
8749 * gdb.python/py-breakpoint.exp
8750 * gdb.python/py-caller-is.exp
8751 * gdb.python/py-cmd.exp
8752 * gdb.python/py-explore-cc.exp
8753 * gdb.python/py-explore.exp
8754 * gdb.python/py-finish-breakpoint.exp
8755 * gdb.python/py-finish-breakpoint2.exp
8756 * gdb.python/py-frame-args.exp
8757 * gdb.python/py-frame-inline.exp
8758 * gdb.python/py-frame.exp
8759 * gdb.python/py-framefilter-mi.exp
8760 * gdb.python/py-infthread.exp
8761 * gdb.python/py-lazy-string.exp
8762 * gdb.python/py-linetable.exp
8763 * gdb.python/py-mi-events.exp
8764 * gdb.python/py-mi-objfile.exp
8765 * gdb.python/py-mi.exp
8766 * gdb.python/py-objfile.exp
8767 * gdb.python/py-pp-integral.exp
8768 * gdb.python/py-pp-maint.exp
8769 * gdb.python/py-pp-re-notag.exp
8770 * gdb.python/py-pp-registration.exp
8771 * gdb.python/py-recurse-unwind.exp
8772 * gdb.python/py-strfns.exp
8773 * gdb.python/py-symbol.exp
8774 * gdb.python/py-symtab.exp
8775 * gdb.python/py-sync-interp.exp
8776 * gdb.python/py-typeprint.exp
8777 * gdb.python/py-unwind-maint.exp
8778 * gdb.python/py-unwind.exp
8779 * gdb.python/py-value-cc.exp
8780 * gdb.python/py-xmethods.exp
8781 * gdb.reverse/amd64-tailcall-reverse.exp
8782 * gdb.reverse/break-precsave.exp
8783 * gdb.reverse/break-reverse.exp
8784 * gdb.reverse/consecutive-precsave.exp
8785 * gdb.reverse/consecutive-reverse.exp
8786 * gdb.reverse/finish-precsave.exp
8787 * gdb.reverse/finish-reverse-bkpt.exp
8788 * gdb.reverse/finish-reverse.exp
8789 * gdb.reverse/fstatat-reverse.exp
8790 * gdb.reverse/getresuid-reverse.exp
8791 * gdb.reverse/i386-precsave.exp
8792 * gdb.reverse/i386-reverse.exp
8793 * gdb.reverse/i386-sse-reverse.exp
8794 * gdb.reverse/i387-env-reverse.exp
8795 * gdb.reverse/i387-stack-reverse.exp
8796 * gdb.reverse/insn-reverse.exp
8797 * gdb.reverse/machinestate-precsave.exp
8798 * gdb.reverse/machinestate.exp
8799 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8800 * gdb.reverse/pipe-reverse.exp
8801 * gdb.reverse/readv-reverse.exp
8802 * gdb.reverse/recvmsg-reverse.exp
8803 * gdb.reverse/rerun-prec.exp
8804 * gdb.reverse/s390-mvcle.exp
8805 * gdb.reverse/step-precsave.exp
8806 * gdb.reverse/step-reverse.exp
8807 * gdb.reverse/time-reverse.exp
8808 * gdb.reverse/until-precsave.exp
8809 * gdb.reverse/until-reverse.exp
8810 * gdb.reverse/waitpid-reverse.exp
8811 * gdb.reverse/watch-precsave.exp
8812 * gdb.reverse/watch-reverse.exp
8813 * gdb.rust/generics.exp
8814 * gdb.rust/methods.exp
8815 * gdb.rust/modules.exp
8816 * gdb.rust/simple.exp
8817 * gdb.server/connect-with-no-symbol-file.exp
8818 * gdb.server/ext-attach.exp
8819 * gdb.server/ext-restart.exp
8820 * gdb.server/ext-wrapper.exp
8821 * gdb.server/file-transfer.exp
8822 * gdb.server/server-exec-info.exp
8823 * gdb.server/server-kill.exp
8824 * gdb.server/server-mon.exp
8825 * gdb.server/wrapper.exp
8826 * gdb.stabs/exclfwd.exp
8827 * gdb.stabs/gdb11479.exp
8828 * gdb.threads/clone-new-thread-event.exp
8829 * gdb.threads/corethreads.exp
8830 * gdb.threads/current-lwp-dead.exp
8831 * gdb.threads/dlopen-libpthread.exp
8832 * gdb.threads/gcore-thread.exp
8833 * gdb.threads/sigstep-threads.exp
8834 * gdb.threads/watchpoint-fork.exp
8835 * gdb.trace/actions-changed.exp
8836 * gdb.trace/backtrace.exp
8837 * gdb.trace/change-loc.exp
8838 * gdb.trace/circ.exp
8839 * gdb.trace/collection.exp
8840 * gdb.trace/disconnected-tracing.exp
8841 * gdb.trace/ftrace.exp
8842 * gdb.trace/mi-trace-frame-collected.exp
8843 * gdb.trace/mi-trace-unavailable.exp
8844 * gdb.trace/mi-traceframe-changed.exp
8845 * gdb.trace/mi-tsv-changed.exp
8846 * gdb.trace/no-attach-trace.exp
8847 * gdb.trace/passc-dyn.exp
8848 * gdb.trace/qtro.exp
8849 * gdb.trace/range-stepping.exp
8850 * gdb.trace/read-memory.exp
8851 * gdb.trace/save-trace.exp
8852 * gdb.trace/signal.exp
8853 * gdb.trace/status-stop.exp
8854 * gdb.trace/tfile.exp
8855 * gdb.trace/trace-break.exp
8856 * gdb.trace/trace-buffer-size.exp
8857 * gdb.trace/trace-condition.exp
8858 * gdb.trace/tracefile-pseudo-reg.exp
8859 * gdb.trace/tstatus.exp
8860 * gdb.trace/unavailable.exp
8861 * gdb.trace/while-dyn.exp
8862 * gdb.trace/while-stepping.exp
8863
8864 2016-12-22 Doug Evans <xdje42@gmail.com>
8865
8866 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8867 and msymbols.
8868
8869 2016-12-19 Yao Qi <yao.qi@linaro.org>
8870
8871 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8872 (test_with_self): Don't call do_steps_and_nexts, and remove
8873 code about stepping into xmalloc.
8874
8875 2016-12-09 Yao Qi <yao.qi@linaro.org>
8876
8877 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8878
8879 2016-12-09 Yao Qi <yao.qi@linaro.org>
8880
8881 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8882
8883 2016-12-09 Pedro Alves <palves@redhat.com>
8884
8885 * gdb.base/all-architectures-0.exp: New file.
8886 * gdb.base/all-architectures-1.exp: New file.
8887 * gdb.base/all-architectures-2.exp: New file.
8888 * gdb.base/all-architectures-3.exp: New file.
8889 * gdb.base/all-architectures-4.exp: New file.
8890 * gdb.base/all-architectures-5.exp: New file.
8891 * gdb.base/all-architectures-6.exp: New file.
8892 * gdb.base/all-architectures-7.exp: New file.
8893 * gdb.base/all-architectures.exp.in: New file.
8894
8895 2016-12-09 Yao Qi <yao.qi@linaro.org>
8896
8897 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8898
8899 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8900
8901 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8902 possible.
8903 Remove useless pattern-matching code.
8904
8905 2016-12-02 Pedro Alves <palves@redhat.com>
8906
8907 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8908 procedure.
8909 (top level): Call it.
8910
8911 2016-12-02 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8914 New procedure.
8915 (top level): Call it.
8916
8917 2016-12-02 Pedro Alves <palves@redhat.com>
8918
8919 PR cli/20559
8920 * gdb.base/commands.exp (user_defined_command_args_eval): New
8921 procedure.
8922 (top level): Call it.
8923
8924 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8925
8926 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8927 timeout handling.
8928
8929 2016-12-02 Tom Tromey <tom@tromey.com>
8930
8931 * gdb.dwarf2/main-subprogram.c: New file.
8932 * gdb.dwarf2/main-subprogram.exp: New file.
8933
8934 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8935
8936 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8937 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8938 gdb_test_no_output for a couple of cases.
8939 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8940
8941 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8942
8943 Fix test names and standardize compilation error messages throughout
8944 the following files:
8945
8946 * gdb.ada/start.exp
8947 * gdb.arch/alpha-step.exp
8948 * gdb.arch/e500-prologue.exp
8949 * gdb.arch/ftrace-insn-reloc.exp
8950 * gdb.arch/gdb1291.exp
8951 * gdb.arch/gdb1431.exp
8952 * gdb.arch/gdb1558.exp
8953 * gdb.arch/i386-dr3-watch.exp
8954 * gdb.arch/i386-sse-stack-align.exp
8955 * gdb.arch/ia64-breakpoint-shadow.exp
8956 * gdb.arch/pa-nullify.exp
8957 * gdb.arch/powerpc-aix-prologue.exp
8958 * gdb.arch/thumb-bx-pc.exp
8959 * gdb.base/annota1.exp
8960 * gdb.base/annota3.exp
8961 * gdb.base/arrayidx.exp
8962 * gdb.base/assign.exp
8963 * gdb.base/attach.exp
8964 * gdb.base/auxv.exp
8965 * gdb.base/bang.exp
8966 * gdb.base/bfp-test.exp
8967 * gdb.base/bigcore.exp
8968 * gdb.base/bitfields2.exp
8969 * gdb.base/break-fun-addr.exp
8970 * gdb.base/break-probes.exp
8971 * gdb.base/call-rt-st.exp
8972 * gdb.base/callexit.exp
8973 * gdb.base/catch-fork-kill.exp
8974 * gdb.base/charset.exp
8975 * gdb.base/checkpoint.exp
8976 * gdb.base/comprdebug.exp
8977 * gdb.base/constvars.exp
8978 * gdb.base/coredump-filter.exp
8979 * gdb.base/cursal.exp
8980 * gdb.base/cvexpr.exp
8981 * gdb.base/detach.exp
8982 * gdb.base/display.exp
8983 * gdb.base/dmsym.exp
8984 * gdb.base/dprintf-pending.exp
8985 * gdb.base/dso2dso.exp
8986 * gdb.base/dtrace-probe.exp
8987 * gdb.base/dump.exp
8988 * gdb.base/enum_cond.exp
8989 * gdb.base/exe-lock.exp
8990 * gdb.base/exec-invalid-sysroot.exp
8991 * gdb.base/execl-update-breakpoints.exp
8992 * gdb.base/exprs.exp
8993 * gdb.base/fileio.exp
8994 * gdb.base/find.exp
8995 * gdb.base/finish.exp
8996 * gdb.base/fixsection.exp
8997 * gdb.base/foll-vfork.exp
8998 * gdb.base/frame-args.exp
8999 * gdb.base/gcore.exp
9000 * gdb.base/gdb1250.exp
9001 * gdb.base/global-var-nested-by-dso.exp
9002 * gdb.base/gnu-ifunc.exp
9003 * gdb.base/hashline1.exp
9004 * gdb.base/hashline2.exp
9005 * gdb.base/hashline3.exp
9006 * gdb.base/hbreak-in-shr-unsupported.exp
9007 * gdb.base/huge.exp
9008 * gdb.base/infcall-input.exp
9009 * gdb.base/info-fun.exp
9010 * gdb.base/info-shared.exp
9011 * gdb.base/jit-simple.exp
9012 * gdb.base/jit-so.exp
9013 * gdb.base/jit.exp
9014 * gdb.base/jump.exp
9015 * gdb.base/label.exp
9016 * gdb.base/lineinc.exp
9017 * gdb.base/logical.exp
9018 * gdb.base/longjmp.exp
9019 * gdb.base/macscp.exp
9020 * gdb.base/miscexprs.exp
9021 * gdb.base/new-ui-echo.exp
9022 * gdb.base/new-ui-pending-input.exp
9023 * gdb.base/new-ui.exp
9024 * gdb.base/nodebug.exp
9025 * gdb.base/nofield.exp
9026 * gdb.base/offsets.exp
9027 * gdb.base/overlays.exp
9028 * gdb.base/pending.exp
9029 * gdb.base/pointers.exp
9030 * gdb.base/pr11022.exp
9031 * gdb.base/printcmds.exp
9032 * gdb.base/prologue.exp
9033 * gdb.base/ptr-typedef.exp
9034 * gdb.base/realname-expand.exp
9035 * gdb.base/relativedebug.exp
9036 * gdb.base/relocate.exp
9037 * gdb.base/remote.exp
9038 * gdb.base/reread.exp
9039 * gdb.base/return2.exp
9040 * gdb.base/savedregs.exp
9041 * gdb.base/sep.exp
9042 * gdb.base/sepdebug.exp
9043 * gdb.base/sepsymtab.exp
9044 * gdb.base/set-inferior-tty.exp
9045 * gdb.base/setshow.exp
9046 * gdb.base/shlib-call.exp
9047 * gdb.base/sigaltstack.exp
9048 * gdb.base/siginfo-addr.exp
9049 * gdb.base/signals.exp
9050 * gdb.base/signull.exp
9051 * gdb.base/sigrepeat.exp
9052 * gdb.base/so-impl-ld.exp
9053 * gdb.base/solib-display.exp
9054 * gdb.base/solib-overlap.exp
9055 * gdb.base/solib-search.exp
9056 * gdb.base/solib-symbol.exp
9057 * gdb.base/structs.exp
9058 * gdb.base/structs2.exp
9059 * gdb.base/symtab-search-order.exp
9060 * gdb.base/twice.exp
9061 * gdb.base/unload.exp
9062 * gdb.base/varargs.exp
9063 * gdb.base/watchpoint-solib.exp
9064 * gdb.base/watchpoint.exp
9065 * gdb.base/whatis.exp
9066 * gdb.base/wrong_frame_bt_full.exp
9067 * gdb.btrace/dlopen.exp
9068 * gdb.cell/ea-standalone.exp
9069 * gdb.cell/ea-test.exp
9070 * gdb.cp/dispcxx.exp
9071 * gdb.cp/gdb2384.exp
9072 * gdb.cp/method2.exp
9073 * gdb.cp/nextoverthrow.exp
9074 * gdb.cp/pr10728.exp
9075 * gdb.disasm/am33.exp
9076 * gdb.disasm/h8300s.exp
9077 * gdb.disasm/mn10300.exp
9078 * gdb.disasm/sh3.exp
9079 * gdb.dwarf2/dw2-dir-file-name.exp
9080 * gdb.fortran/complex.exp
9081 * gdb.fortran/library-module.exp
9082 * gdb.guile/scm-pretty-print.exp
9083 * gdb.guile/scm-symbol.exp
9084 * gdb.guile/scm-type.exp
9085 * gdb.guile/scm-value.exp
9086 * gdb.linespec/linespec.exp
9087 * gdb.mi/gdb701.exp
9088 * gdb.mi/gdb792.exp
9089 * gdb.mi/mi-breakpoint-changed.exp
9090 * gdb.mi/mi-dprintf-pending.exp
9091 * gdb.mi/mi-dprintf.exp
9092 * gdb.mi/mi-exit-code.exp
9093 * gdb.mi/mi-pending.exp
9094 * gdb.mi/mi-solib.exp
9095 * gdb.mi/new-ui-mi-sync.exp
9096 * gdb.mi/pr11022.exp
9097 * gdb.mi/user-selected-context-sync.exp
9098 * gdb.opt/solib-intra-step.exp
9099 * gdb.python/py-events.exp
9100 * gdb.python/py-finish-breakpoint.exp
9101 * gdb.python/py-mi.exp
9102 * gdb.python/py-prettyprint.exp
9103 * gdb.python/py-shared.exp
9104 * gdb.python/py-symbol.exp
9105 * gdb.python/py-template.exp
9106 * gdb.python/py-type.exp
9107 * gdb.python/py-value.exp
9108 * gdb.reverse/solib-precsave.exp
9109 * gdb.reverse/solib-reverse.exp
9110 * gdb.server/solib-list.exp
9111 * gdb.stabs/weird.exp
9112 * gdb.threads/reconnect-signal.exp
9113 * gdb.threads/stepi-random-signal.exp
9114 * gdb.trace/actions.exp
9115 * gdb.trace/ax.exp
9116 * gdb.trace/backtrace.exp
9117 * gdb.trace/change-loc.exp
9118 * gdb.trace/deltrace.exp
9119 * gdb.trace/ftrace-lock.exp
9120 * gdb.trace/ftrace.exp
9121 * gdb.trace/infotrace.exp
9122 * gdb.trace/mi-tracepoint-changed.exp
9123 * gdb.trace/packetlen.exp
9124 * gdb.trace/passcount.exp
9125 * gdb.trace/pending.exp
9126 * gdb.trace/range-stepping.exp
9127 * gdb.trace/report.exp
9128 * gdb.trace/stap-trace.exp
9129 * gdb.trace/tfind.exp
9130 * gdb.trace/trace-break.exp
9131 * gdb.trace/trace-condition.exp
9132 * gdb.trace/trace-enable-disable.exp
9133 * gdb.trace/trace-mt.exp
9134 * gdb.trace/tracecmd.exp
9135 * gdb.trace/tspeed.exp
9136 * gdb.trace/tsv.exp
9137 * lib/perftest.exp
9138
9139 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9140
9141 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9142 with gdb_test_no_output.
9143 Use command as test name.
9144
9145 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9146
9147 Fix test names starting with uppercase throughout the files.
9148
9149 * gdb.ada/assign_1.exp
9150 * gdb.ada/boolean_expr.exp
9151 * gdb.base/arrayidx.exp
9152 * gdb.base/del.exp
9153 * gdb.base/gcore-buffer-overflow.exp
9154 * gdb.base/testenv.exp
9155 * gdb.compile/compile.exp
9156 * gdb.python/py-framefilter-invalidarg.exp
9157 * gdb.python/py-framefilter.exp
9158
9159 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9160
9161 Fix test names starting with uppercase throughout the files.
9162
9163 * gdb.ada/array_return.exp
9164 * gdb.ada/expr_delims.exp
9165 * gdb.ada/mi_dyn_arr.exp
9166 * gdb.ada/mi_interface.exp
9167 * gdb.ada/mi_var_array.exp
9168 * gdb.ada/watch_arg.exp
9169 * gdb.arch/alpha-step.exp
9170 * gdb.arch/altivec-regs.exp
9171 * gdb.arch/e500-regs.exp
9172 * gdb.arch/powerpc-d128-regs.exp
9173 * gdb.base/arrayidx.exp
9174 * gdb.base/break.exp
9175 * gdb.base/checkpoint.exp
9176 * gdb.base/debug-expr.exp
9177 * gdb.base/dmsym.exp
9178 * gdb.base/radix.exp
9179 * gdb.base/sepdebug.exp
9180 * gdb.base/testenv.exp
9181 * gdb.base/watch_thread_num.exp
9182 * gdb.base/watchpoint-cond-gone.exp
9183 * gdb.cell/break.exp
9184 * gdb.cell/ea-cache.exp
9185 * gdb.compile/compile.exp
9186 * gdb.cp/gdb2495.exp
9187 * gdb.gdb/selftest.exp
9188 * gdb.gdb/xfullpath.exp
9189 * gdb.go/hello.exp
9190 * gdb.go/integers.exp
9191 * gdb.objc/basicclass.exp
9192 * gdb.pascal/hello.exp
9193 * gdb.pascal/integers.exp
9194 * gdb.python/py-breakpoint.exp
9195 * gdb.python/py-cmd.exp
9196 * gdb.python/py-linetable.exp
9197 * gdb.python/py-xmethods.exp
9198 * gdb.python/python.exp
9199 * gdb.reverse/consecutive-precsave.exp
9200 * gdb.reverse/finish-precsave.exp
9201 * gdb.reverse/i386-precsave.exp
9202 * gdb.reverse/machinestate-precsave.exp
9203 * gdb.reverse/sigall-precsave.exp
9204 * gdb.reverse/solib-precsave.exp
9205 * gdb.reverse/step-precsave.exp
9206 * gdb.reverse/until-precsave.exp
9207 * gdb.reverse/watch-precsave.exp
9208 * gdb.threads/leader-exit.exp
9209 * gdb.threads/pthreads.exp
9210 * gdb.threads/wp-replication.exp
9211 * gdb.trace/actions.exp
9212 * gdb.trace/mi-tsv-changed.exp
9213 * gdb.trace/tsv.exp
9214
9215 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9216
9217 Fix test names starting with uppercase throughout the files.
9218
9219 * gdb.arch/i386-bp_permanent.exp
9220 * gdb.arch/i386-gnu-cfi.exp
9221 * gdb.base/disasm-end-cu.exp
9222 * gdb.base/macscp.exp
9223 * gdb.base/pending.exp
9224 * gdb.base/watch_thread_num.exp
9225 * gdb.cp/exception.exp
9226 * gdb.cp/gdb2495.exp
9227 * gdb.cp/local.exp
9228 * gdb.python/py-evsignal.exp
9229 * gdb.python/python.exp
9230 * gdb.trace/tracecmd.exp
9231
9232 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9233
9234 Fix test names starting with uppercase throughout the files.
9235
9236 * gdb.base/charset.exp
9237 * gdb.base/eval.exp
9238 * gdb.base/multi-forks.exp
9239 * gdb.guile/scm-progspace.exp
9240 * gdb.opencl/datatypes.exp
9241 * gdb.python/py-block.exp
9242 * gdb.python/py-function.exp
9243 * gdb.python/py-symbol.exp
9244 * gdb.python/py-symtab.exp
9245 * gdb.python/py-xmethods.exp
9246 * gdb.reverse/break-precsave.exp
9247 * gdb.reverse/break-reverse.exp
9248 * gdb.reverse/consecutive-precsave.exp
9249 * gdb.reverse/consecutive-reverse.exp
9250 * gdb.reverse/finish-precsave.exp
9251 * gdb.reverse/finish-reverse-bkpt.exp
9252 * gdb.reverse/finish-reverse.exp
9253 * gdb.reverse/fstatat-reverse.exp
9254 * gdb.reverse/getresuid-reverse.exp
9255 * gdb.reverse/i386-precsave.exp
9256 * gdb.reverse/i386-reverse.exp
9257 * gdb.reverse/i386-sse-reverse.exp
9258 * gdb.reverse/i387-stack-reverse.exp
9259 * gdb.reverse/insn-reverse.exp
9260 * gdb.reverse/machinestate-precsave.exp
9261 * gdb.reverse/machinestate.exp
9262 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9263 * gdb.reverse/pipe-reverse.exp
9264 * gdb.reverse/readv-reverse.exp
9265 * gdb.reverse/recvmsg-reverse.exp
9266 * gdb.reverse/rerun-prec.exp
9267 * gdb.reverse/s390-mvcle.exp
9268 * gdb.reverse/sigall-precsave.exp
9269 * gdb.reverse/sigall-reverse.exp
9270 * gdb.reverse/solib-precsave.exp
9271 * gdb.reverse/solib-reverse.exp
9272 * gdb.reverse/step-precsave.exp
9273 * gdb.reverse/step-reverse.exp
9274 * gdb.reverse/time-reverse.exp
9275 * gdb.reverse/until-precsave.exp
9276 * gdb.reverse/until-reverse.exp
9277 * gdb.reverse/waitpid-reverse.exp
9278 * gdb.reverse/watch-precsave.exp
9279 * gdb.reverse/watch-reverse.exp
9280
9281 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9282
9283 Fix test names starting with uppercase throughout the files.
9284
9285 * gdb.arch/i386-mpx-simple_segv.exp
9286 * gdb.arch/i386-mpx.exp
9287 * gdb.arch/i386-permbkpt.exp
9288 * gdb.arch/pa-nullify.exp
9289 * gdb.arch/powerpc-d128-regs.exp
9290 * gdb.arch/vsx-regs.exp
9291 * gdb.base/bfp-test.exp
9292 * gdb.base/break.exp
9293 * gdb.base/breakpoint-shadow.exp
9294 * gdb.base/callfuncs.exp
9295 * gdb.base/charset.exp
9296 * gdb.base/commands.exp
9297 * gdb.base/completion.exp
9298 * gdb.base/dfp-test.exp
9299 * gdb.base/echo.exp
9300 * gdb.base/ending-run.exp
9301 * gdb.base/eval.exp
9302 * gdb.base/expand-psymtabs.exp
9303 * gdb.base/float128.exp
9304 * gdb.base/floatn.exp
9305 * gdb.base/foll-exec-mode.exp
9306 * gdb.base/gdb1056.exp
9307 * gdb.base/gdb11531.exp
9308 * gdb.base/kill-after-signal.exp
9309 * gdb.base/multi-forks.exp
9310 * gdb.base/overlays.exp
9311 * gdb.base/pending.exp
9312 * gdb.base/sepdebug.exp
9313 * gdb.base/testenv.exp
9314 * gdb.base/valgrind-db-attach.exp
9315 * gdb.base/watch_thread_num.exp
9316 * gdb.base/watchpoint-cond-gone.exp
9317 * gdb.base/watchpoint.exp
9318 * gdb.base/watchpoints.exp
9319 * gdb.cp/arg-reference.exp
9320 * gdb.cp/baseenum.exp
9321 * gdb.cp/operator.exp
9322 * gdb.cp/shadow.exp
9323 * gdb.dwarf2/dw2-op-out-param.exp
9324 * gdb.dwarf2/dw2-reg-undefined.exp
9325 * gdb.go/chan.exp
9326 * gdb.go/hello.exp
9327 * gdb.go/integers.exp
9328 * gdb.go/methods.exp
9329 * gdb.go/package.exp
9330 * gdb.guile/scm-parameter.exp
9331 * gdb.guile/scm-progspace.exp
9332 * gdb.guile/scm-value.exp
9333 * gdb.mi/mi-pending.exp
9334 * gdb.mi/user-selected-context-sync.exp
9335 * gdb.multi/multi-attach.exp
9336 * gdb.multi/tids.exp
9337 * gdb.opt/clobbered-registers-O2.exp
9338 * gdb.pascal/floats.exp
9339 * gdb.pascal/integers.exp
9340 * gdb.python/py-block.exp
9341 * gdb.python/py-events.exp
9342 * gdb.python/py-parameter.exp
9343 * gdb.python/py-symbol.exp
9344 * gdb.python/py-symtab.exp
9345 * gdb.python/py-type.exp
9346 * gdb.python/py-value.exp
9347 * gdb.python/py-xmethods.exp
9348 * gdb.python/python.exp
9349 * gdb.reverse/break-precsave.exp
9350 * gdb.reverse/consecutive-precsave.exp
9351 * gdb.reverse/finish-precsave.exp
9352 * gdb.reverse/i386-precsave.exp
9353 * gdb.reverse/machinestate-precsave.exp
9354 * gdb.reverse/sigall-precsave.exp
9355 * gdb.reverse/solib-precsave.exp
9356 * gdb.reverse/step-precsave.exp
9357 * gdb.reverse/until-precsave.exp
9358 * gdb.reverse/watch-precsave.exp
9359 * gdb.server/ext-attach.exp
9360 * gdb.server/ext-restart.exp
9361 * gdb.server/ext-run.exp
9362 * gdb.server/ext-wrapper.exp
9363 * gdb.stabs/gdb11479.exp
9364 * gdb.stabs/weird.exp
9365 * gdb.threads/attach-many-short-lived-threads.exp
9366 * gdb.threads/kill.exp
9367 * gdb.threads/watchpoint-fork.exp
9368
9369 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9370
9371 Fix test names starting with uppercase throughout all the files below.
9372
9373 * gdb.ada/array_return.exp
9374 * gdb.ada/catch_ex.exp
9375 * gdb.ada/info_exc.exp
9376 * gdb.ada/mi_catch_ex.exp
9377 * gdb.ada/mi_dyn_arr.exp
9378 * gdb.ada/mi_ex_cond.exp
9379 * gdb.ada/mi_exc_info.exp
9380 * gdb.ada/mi_interface.exp
9381 * gdb.ada/mi_task_arg.exp
9382 * gdb.ada/mi_task_info.exp
9383 * gdb.ada/mi_var_array.exp
9384 * gdb.arch/alpha-step.exp
9385 * gdb.arch/amd64-disp-step.exp
9386 * gdb.arch/arm-disp-step.exp
9387 * gdb.arch/disp-step-insn-reloc.exp
9388 * gdb.arch/e500-prologue.exp
9389 * gdb.arch/ftrace-insn-reloc.exp
9390 * gdb.arch/gdb1558.exp
9391 * gdb.arch/i386-bp_permanent.exp
9392 * gdb.arch/i386-disp-step.exp
9393 * gdb.arch/i386-float.exp
9394 * gdb.arch/i386-gnu-cfi.exp
9395 * gdb.arch/ia64-breakpoint-shadow.exp
9396 * gdb.arch/mips16-thunks.exp
9397 * gdb.arch/pa-nullify.exp
9398 * gdb.arch/powerpc-aix-prologue.exp
9399 * gdb.arch/powerpc-power.exp
9400 * gdb.arch/ppc-dfp.exp
9401 * gdb.arch/s390-tdbregs.exp
9402 * gdb.arch/spu-info.exp
9403 * gdb.arch/spu-ls.exp
9404 * gdb.arch/thumb-bx-pc.exp
9405 * gdb.base/advance.exp
9406 * gdb.base/annota-input-while-running.exp
9407 * gdb.base/arrayidx.exp
9408 * gdb.base/asmlabel.exp
9409 * gdb.base/async.exp
9410 * gdb.base/attach-wait-input.exp
9411 * gdb.base/auto-connect-native-target.exp
9412 * gdb.base/batch-preserve-term-settings.exp
9413 * gdb.base/bfp-test.exp
9414 * gdb.base/bigcore.exp
9415 * gdb.base/bp-permanent.exp
9416 * gdb.base/break-always.exp
9417 * gdb.base/break-fun-addr.exp
9418 * gdb.base/break-idempotent.exp
9419 * gdb.base/break-main-file-remove-fail.exp
9420 * gdb.base/break-probes.exp
9421 * gdb.base/break-unload-file.exp
9422 * gdb.base/break.exp
9423 * gdb.base/call-ar-st.exp
9424 * gdb.base/call-rt-st.exp
9425 * gdb.base/call-sc.exp
9426 * gdb.base/call-signal-resume.exp
9427 * gdb.base/call-strs.exp
9428 * gdb.base/callexit.exp
9429 * gdb.base/callfuncs.exp
9430 * gdb.base/catch-gdb-caused-signals.exp
9431 * gdb.base/catch-signal-siginfo-cond.exp
9432 * gdb.base/catch-syscall.exp
9433 * gdb.base/compare-sections.exp
9434 * gdb.base/cond-eval-mode.exp
9435 * gdb.base/condbreak-call-false.exp
9436 * gdb.base/consecutive-step-over.exp
9437 * gdb.base/cursal.exp
9438 * gdb.base/disabled-location.exp
9439 * gdb.base/disasm-end-cu.exp
9440 * gdb.base/display.exp
9441 * gdb.base/double-prompt-target-event-error.exp
9442 * gdb.base/dprintf-bp-same-addr.exp
9443 * gdb.base/dprintf-detach.exp
9444 * gdb.base/dprintf-next.exp
9445 * gdb.base/dprintf-non-stop.exp
9446 * gdb.base/dprintf-pending.exp
9447 * gdb.base/dso2dso.exp
9448 * gdb.base/ending-run.exp
9449 * gdb.base/enum_cond.exp
9450 * gdb.base/examine-backward.exp
9451 * gdb.base/exe-lock.exp
9452 * gdb.base/exec-invalid-sysroot.exp
9453 * gdb.base/execl-update-breakpoints.exp
9454 * gdb.base/execution-termios.exp
9455 * gdb.base/fileio.exp
9456 * gdb.base/fixsection.exp
9457 * gdb.base/foll-exec-mode.exp
9458 * gdb.base/foll-exec.exp
9459 * gdb.base/fork-running-state.exp
9460 * gdb.base/frame-args.exp
9461 * gdb.base/fullpath-expand.exp
9462 * gdb.base/func-ptr.exp
9463 * gdb.base/gcore-relro-pie.exp
9464 * gdb.base/gdb1090.exp
9465 * gdb.base/gdb1555.exp
9466 * gdb.base/global-var-nested-by-dso.exp
9467 * gdb.base/gnu-ifunc.exp
9468 * gdb.base/hbreak-in-shr-unsupported.exp
9469 * gdb.base/hbreak-unmapped.exp
9470 * gdb.base/hook-stop.exp
9471 * gdb.base/infcall-input.exp
9472 * gdb.base/info-fun.exp
9473 * gdb.base/info-shared.exp
9474 * gdb.base/interrupt-noterm.exp
9475 * gdb.base/jit-so.exp
9476 * gdb.base/jit.exp
9477 * gdb.base/line-symtabs.exp
9478 * gdb.base/list.exp
9479 * gdb.base/longjmp.exp
9480 * gdb.base/macscp.exp
9481 * gdb.base/max-value-size.exp
9482 * gdb.base/nodebug.exp
9483 * gdb.base/nofield.exp
9484 * gdb.base/overlays.exp
9485 * gdb.base/paginate-after-ctrl-c-running.exp
9486 * gdb.base/paginate-bg-execution.exp
9487 * gdb.base/paginate-inferior-exit.exp
9488 * gdb.base/pending.exp
9489 * gdb.base/pr11022.exp
9490 * gdb.base/printcmds.exp
9491 * gdb.base/ptr-typedef.exp
9492 * gdb.base/ptype.exp
9493 * gdb.base/randomize.exp
9494 * gdb.base/range-stepping.exp
9495 * gdb.base/realname-expand.exp
9496 * gdb.base/relativedebug.exp
9497 * gdb.base/remote.exp
9498 * gdb.base/savedregs.exp
9499 * gdb.base/sepdebug.exp
9500 * gdb.base/set-noassign.exp
9501 * gdb.base/shlib-call.exp
9502 * gdb.base/shreloc.exp
9503 * gdb.base/sigaltstack.exp
9504 * gdb.base/sigbpt.exp
9505 * gdb.base/siginfo-addr.exp
9506 * gdb.base/siginfo-obj.exp
9507 * gdb.base/siginfo-thread.exp
9508 * gdb.base/signest.exp
9509 * gdb.base/signull.exp
9510 * gdb.base/sigrepeat.exp
9511 * gdb.base/skip.exp
9512 * gdb.base/so-impl-ld.exp
9513 * gdb.base/solib-corrupted.exp
9514 * gdb.base/solib-disc.exp
9515 * gdb.base/solib-display.exp
9516 * gdb.base/solib-overlap.exp
9517 * gdb.base/solib-search.exp
9518 * gdb.base/solib-symbol.exp
9519 * gdb.base/source-execution.exp
9520 * gdb.base/sss-bp-on-user-bp-2.exp
9521 * gdb.base/sss-bp-on-user-bp.exp
9522 * gdb.base/stack-checking.exp
9523 * gdb.base/stale-infcall.exp
9524 * gdb.base/step-break.exp
9525 * gdb.base/step-line.exp
9526 * gdb.base/step-over-exit.exp
9527 * gdb.base/step-test.exp
9528 * gdb.base/structs.exp
9529 * gdb.base/sym-file.exp
9530 * gdb.base/symtab-search-order.exp
9531 * gdb.base/term.exp
9532 * gdb.base/type-opaque.exp
9533 * gdb.base/unload.exp
9534 * gdb.base/until-nodebug.exp
9535 * gdb.base/until.exp
9536 * gdb.base/unwindonsignal.exp
9537 * gdb.base/watch-cond.exp
9538 * gdb.base/watch-non-mem.exp
9539 * gdb.base/watch_thread_num.exp
9540 * gdb.base/watchpoint-reuse-slot.exp
9541 * gdb.base/watchpoint-solib.exp
9542 * gdb.base/watchpoint.exp
9543 * gdb.btrace/dlopen.exp
9544 * gdb.cell/arch.exp
9545 * gdb.cell/break.exp
9546 * gdb.cell/bt.exp
9547 * gdb.cell/core.exp
9548 * gdb.cell/data.exp
9549 * gdb.cell/dwarfaddr.exp
9550 * gdb.cell/ea-cache.exp
9551 * gdb.cell/ea-standalone.exp
9552 * gdb.cell/ea-test.exp
9553 * gdb.cell/f-regs.exp
9554 * gdb.cell/fork.exp
9555 * gdb.cell/gcore.exp
9556 * gdb.cell/mem-access.exp
9557 * gdb.cell/ptype.exp
9558 * gdb.cell/registers.exp
9559 * gdb.cell/sizeof.exp
9560 * gdb.cell/solib-symbol.exp
9561 * gdb.cell/solib.exp
9562 * gdb.compile/compile-tls.exp
9563 * gdb.cp/exception.exp
9564 * gdb.cp/gdb2495.exp
9565 * gdb.cp/local.exp
9566 * gdb.cp/mb-inline.exp
9567 * gdb.cp/mb-templates.exp
9568 * gdb.cp/pr10687.exp
9569 * gdb.cp/pr9167.exp
9570 * gdb.cp/scope-err.exp
9571 * gdb.cp/templates.exp
9572 * gdb.cp/virtfunc.exp
9573 * gdb.dwarf2/dw2-dir-file-name.exp
9574 * gdb.dwarf2/dw2-single-line-discriminators.exp
9575 * gdb.fortran/complex.exp
9576 * gdb.fortran/library-module.exp
9577 * gdb.guile/guile.exp
9578 * gdb.guile/scm-cmd.exp
9579 * gdb.guile/scm-frame-inline.exp
9580 * gdb.guile/scm-objfile.exp
9581 * gdb.guile/scm-pretty-print.exp
9582 * gdb.guile/scm-symbol.exp
9583 * gdb.guile/scm-type.exp
9584 * gdb.guile/scm-value.exp
9585 * gdb.linespec/keywords.exp
9586 * gdb.linespec/ls-errs.exp
9587 * gdb.linespec/macro-relative.exp
9588 * gdb.linespec/thread.exp
9589 * gdb.mi/mi-breakpoint-changed.exp
9590 * gdb.mi/mi-dprintf-pending.exp
9591 * gdb.mi/mi-fullname-deleted.exp
9592 * gdb.mi/mi-logging.exp
9593 * gdb.mi/mi-pending.exp
9594 * gdb.mi/mi-solib.exp
9595 * gdb.mi/new-ui-mi-sync.exp
9596 * gdb.mi/user-selected-context-sync.exp
9597 * gdb.multi/dummy-frame-restore.exp
9598 * gdb.multi/multi-arch-exec.exp
9599 * gdb.multi/remove-inferiors.exp
9600 * gdb.multi/watchpoint-multi-exit.exp
9601 * gdb.opt/solib-intra-step.exp
9602 * gdb.perf/backtrace.exp
9603 * gdb.perf/single-step.exp
9604 * gdb.perf/skip-command.exp
9605 * gdb.perf/skip-prologue.exp
9606 * gdb.perf/solib.exp
9607 * gdb.python/lib-types.exp
9608 * gdb.python/py-as-string.exp
9609 * gdb.python/py-bad-printers.exp
9610 * gdb.python/py-block.exp
9611 * gdb.python/py-breakpoint.exp
9612 * gdb.python/py-cmd.exp
9613 * gdb.python/py-events.exp
9614 * gdb.python/py-evthreads.exp
9615 * gdb.python/py-finish-breakpoint.exp
9616 * gdb.python/py-finish-breakpoint2.exp
9617 * gdb.python/py-frame-inline.exp
9618 * gdb.python/py-frame.exp
9619 * gdb.python/py-inferior.exp
9620 * gdb.python/py-infthread.exp
9621 * gdb.python/py-mi.exp
9622 * gdb.python/py-objfile.exp
9623 * gdb.python/py-pp-maint.exp
9624 * gdb.python/py-pp-registration.exp
9625 * gdb.python/py-prettyprint.exp
9626 * gdb.python/py-recurse-unwind.exp
9627 * gdb.python/py-shared.exp
9628 * gdb.python/py-symbol.exp
9629 * gdb.python/py-symtab.exp
9630 * gdb.python/py-template.exp
9631 * gdb.python/py-type.exp
9632 * gdb.python/py-unwind-maint.exp
9633 * gdb.python/py-unwind.exp
9634 * gdb.python/py-value.exp
9635 * gdb.python/python.exp
9636 * gdb.reverse/finish-reverse-bkpt.exp
9637 * gdb.reverse/insn-reverse.exp
9638 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9639 * gdb.reverse/solib-precsave.exp
9640 * gdb.reverse/solib-reverse.exp
9641 * gdb.stabs/gdb11479.exp
9642 * gdb.stabs/weird.exp
9643 * gdb.threads/fork-child-threads.exp
9644 * gdb.threads/fork-plus-threads.exp
9645 * gdb.threads/fork-thread-pending.exp
9646 * gdb.threads/forking-threads-plus-breakpoint.exp
9647 * gdb.threads/hand-call-in-threads.exp
9648 * gdb.threads/interrupted-hand-call.exp
9649 * gdb.threads/linux-dp.exp
9650 * gdb.threads/local-watch-wrong-thread.exp
9651 * gdb.threads/next-while-other-thread-longjmps.exp
9652 * gdb.threads/non-ldr-exit.exp
9653 * gdb.threads/pending-step.exp
9654 * gdb.threads/print-threads.exp
9655 * gdb.threads/process-dies-while-detaching.exp
9656 * gdb.threads/process-dies-while-handling-bp.exp
9657 * gdb.threads/pthreads.exp
9658 * gdb.threads/queue-signal.exp
9659 * gdb.threads/reconnect-signal.exp
9660 * gdb.threads/signal-command-handle-nopass.exp
9661 * gdb.threads/signal-command-multiple-signals-pending.exp
9662 * gdb.threads/signal-delivered-right-thread.exp
9663 * gdb.threads/signal-sigtrap.exp
9664 * gdb.threads/sigthread.exp
9665 * gdb.threads/staticthreads.exp
9666 * gdb.threads/stepi-random-signal.exp
9667 * gdb.threads/thread-unwindonsignal.exp
9668 * gdb.threads/thread_check.exp
9669 * gdb.threads/thread_events.exp
9670 * gdb.threads/tid-reuse.exp
9671 * gdb.threads/tls-nodebug.exp
9672 * gdb.threads/tls-shared.exp
9673 * gdb.threads/tls-so_extern.exp
9674 * gdb.threads/tls.exp
9675 * gdb.threads/wp-replication.exp
9676 * gdb.trace/actions-changed.exp
9677 * gdb.trace/actions.exp
9678 * gdb.trace/backtrace.exp
9679 * gdb.trace/change-loc.exp
9680 * gdb.trace/collection.exp
9681 * gdb.trace/deltrace.exp
9682 * gdb.trace/disconnected-tracing.exp
9683 * gdb.trace/entry-values.exp
9684 * gdb.trace/ftrace-lock.exp
9685 * gdb.trace/ftrace.exp
9686 * gdb.trace/infotrace.exp
9687 * gdb.trace/mi-trace-frame-collected.exp
9688 * gdb.trace/mi-trace-unavailable.exp
9689 * gdb.trace/mi-traceframe-changed.exp
9690 * gdb.trace/mi-tracepoint-changed.exp
9691 * gdb.trace/mi-tsv-changed.exp
9692 * gdb.trace/no-attach-trace.exp
9693 * gdb.trace/packetlen.exp
9694 * gdb.trace/passc-dyn.exp
9695 * gdb.trace/passcount.exp
9696 * gdb.trace/pending.exp
9697 * gdb.trace/pr16508.exp
9698 * gdb.trace/qtro.exp
9699 * gdb.trace/range-stepping.exp
9700 * gdb.trace/read-memory.exp
9701 * gdb.trace/report.exp
9702 * gdb.trace/save-trace.exp
9703 * gdb.trace/signal.exp
9704 * gdb.trace/stap-trace.exp
9705 * gdb.trace/status-stop.exp
9706 * gdb.trace/strace.exp
9707 * gdb.trace/tfile.exp
9708 * gdb.trace/tfind.exp
9709 * gdb.trace/trace-break.exp
9710 * gdb.trace/trace-condition.exp
9711 * gdb.trace/trace-enable-disable.exp
9712 * gdb.trace/trace-mt.exp
9713 * gdb.trace/tracecmd.exp
9714 * gdb.trace/tracefile-pseudo-reg.exp
9715 * gdb.trace/tspeed.exp
9716 * gdb.trace/tstatus.exp
9717 * gdb.trace/tsv.exp
9718 * gdb.trace/unavailable.exp
9719 * gdb.trace/while-dyn.exp
9720 * gdb.trace/while-stepping.exp
9721 * lib/gdb-guile.exp
9722 * lib/gdb.exp
9723 * lib/mi-support.exp
9724 * lib/pascal.exp
9725 * lib/perftest.exp
9726 * lib/prelink-support.exp
9727 * lib/selftest-support.exp
9728
9729 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9730
9731 * Makefile.in: Include disable-implicit-rules.mk.
9732
9733 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9734
9735 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9736 non-byte-aligned bit fields.
9737
9738 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9739
9740 PR gdb/12616
9741 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9742 respects the DW_AT_data_bit_offset attribute.
9743
9744 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9745
9746 * gdb.base/default.exp: Fix output of "set language".
9747
9748 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9749
9750 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9751 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9752 make.
9753 * configure.ac: Remove checks for the make program.
9754 * configure: Re-generate.
9755
9756 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9757
9758 * gdb.python/py-recurse-unwind.c (main): Add loop.
9759 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9760 to read_register() and gdb.parse_and_eval(). Make each code
9761 call a separate case that can be individually tested.
9762 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9763 proc. Call cont_and_backtrace for each of the code paths that
9764 we want to test in the unwinder.
9765
9766 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9767
9768 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9769 the definition of struct S.
9770
9771 2016-11-11 Catherine Moore <clm@codesourcery.com>
9772
9773 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9774
9775 2016-11-09 Pedro Alves <palves@redhat.com>
9776
9777 * gdb.base/commands.exp (runto_or_return): New procedure.
9778 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9779 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9780 (progvar_simple_while_test, progvar_complex_if_while_test)
9781 (if_while_breakpoint_command_test)
9782 (infrun_breakpoint_command_test, breakpoint_command_test)
9783 (user_defined_command_test, watchpoint_command_test)
9784 (test_command_prompt_position, redefine_hook_test)
9785 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9786 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9787 multi_line_input and multi_line. Remove gdb_expect and
9788 gdb_stop_suppressing_tests uses.
9789 * lib/gdb.exp (valnum_re): New global.
9790 (multi_line_input): New procedure.
9791
9792 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9793
9794 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9795 Remove.
9796 (test_setup): Define with proc_with_prefix.
9797 (test_cli_inferior): Likewise.
9798 (test_cli_thread): Likewise.
9799 (test_cli_frame): Likewise.
9800 (test_cli_select_frame): Likewise.
9801 (test_cli_up_down): Likewise.
9802 (test_mi_thread_select): Likewise.
9803 (test_mi_stack_select_frame): Likewise.
9804 (test_cli_in_mi_inferior): Likewise.
9805 (test_cli_in_mi_thread): Likewise.
9806 (test_cli_in_mi_frame): Likewise.
9807 (top level): Do not use with_test_prefix_procname.
9808
9809 2016-11-09 Pedro Alves <palves@redhat.com>
9810
9811 * gdb.base/commands.exp (gdbvar_simple_if_test)
9812 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9813 (progvar_simple_if_test, progvar_simple_while_test)
9814 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9815 (infrun_breakpoint_command_test, breakpoint_command_test)
9816 (user_defined_command_test, watchpoint_command_test)
9817 (test_command_prompt_position, deprecated_command_test)
9818 (bp_deleted_in_command, temporary_breakpoint_commands)
9819 (stray_arg0_test, source_file_with_indented_comment)
9820 (recursive_source_test, if_commands_test)
9821 (error_clears_commands_left, redefine_hook_test)
9822 (redefine_backtrace_test): Use proc_with_prefix.
9823 * lib/gdb.exp (proc_with_prefix): New proc.
9824
9825 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9826
9827 * gdb.base/tui-layout.c: New file.
9828 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9829 disassembly window contains very long lines.
9830
9831 2016-11-08 Tom Tromey <tom@tromey.com>
9832
9833 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9834 depend on Python 2.
9835
9836 2016-11-08 Tom Tromey <tom@tromey.com>
9837
9838 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9839 New method.
9840
9841 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9842
9843 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9844
9845 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9846
9847 * gdb.rust/simple.rs: Add test for univariant enums without
9848 discriminants and for encoded struct-like enums.
9849
9850 2016-10-28 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9853 gdb_test_multiple, tighten regexps and match symtabs and line
9854 tables incrementally.
9855
9856 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9857
9858 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9859 general.
9860
9861 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9862
9863 * gdb.base/exec-invalid-sysroot.exp: New file.
9864
9865 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9866
9867 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9868
9869 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9870
9871 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9872
9873 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9874
9875 * gdb.base/killed-outside.exp: Remove $options from a call to
9876 `prepare_for_testing'.
9877
9878 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9879
9880 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9881 Change test message.
9882
9883 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9884
9885 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9886 Update comment.
9887
9888 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9889
9890 * gdb.trace/mi-trace-save.exp: New file.
9891
9892 2016-10-13 Yao Qi <yao.qi@linaro.org>
9893
9894 * gdb.base/code_elim.exp (get_var_address): Remove.
9895 * gdb.base/relocate.exp: Likewise.
9896 * gdb.base/shreloc.exp: Likewise.
9897 * lib/gdb.exp (get_var_address): New.
9898
9899 2016-10-13 Yao Qi <yao.qi@linaro.org>
9900
9901 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9902 floating point tests if $skip_float_test is false.
9903
9904 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9905
9906 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9907 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9908 argc values.
9909 Add 1 to argc so we guarantee distinct initial/modified argc values.
9910
9911 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9914
9915 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9916
9917 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9918 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9919 * gdb.arch/vsx-regs.exp: Likewise.
9920
9921 2016-10-07 Yao Qi <yao.qi@linaro.org>
9922
9923 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9924
9925 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9926
9927 * gdb.python/python.exp: Test decode_line("*0").
9928
9929 2016-10-06 Doug Evans <dje@google.com>
9930
9931 * gdb.python/py-value.exp (test_value_creation): Add test for large
9932 unsigned 64-bit value.
9933
9934 2016-10-06 Tom Tromey <tom@tromey.com>
9935
9936 * gdb.compile/compile.exp: Change java tests to rust.
9937 * gdb.base/setshow.exp: Change java tests to rust.
9938 * gdb.base/default.exp: Remove java from language list.
9939 * README (Examples): Update language example.
9940 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9941 test.
9942 * lib/gdb.exp (skip_java_tests): Remove.
9943 * lib/java.exp: Remove.
9944 * gdb.java: Remove.
9945
9946 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9947
9948 * gdb.arch/mips-fcr.exp: New test.
9949 * gdb.arch/mips-fcr.c: Source for the new test.
9950
9951 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9952
9953 * gdb.base/solib-disc.exp: Use `standard_output_file'
9954 throughout.
9955
9956 2016-10-06 Pedro Alves <palves@redhat.com>
9957
9958 * gdb.base/jit-simple-dl.c: New file.
9959 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9960 * gdb.base/jit-simple.c: ... this.
9961 * gdb.base/jit-simple.exp (jit_run): Delete.
9962 (build_jit): New proc.
9963 (jit_test_reread): Recompile either the main program or the shared
9964 library, depending on what is being tested. Skip changing address
9965 if caller wants to. Compare before/after addresses. If testing
9966 standalone, explicitly load the binary. Test "maint info
9967 breakpoints".
9968 (top level): Add "standalone vs shared lib" and "change address"
9969 vs "same address" axes.
9970
9971 2016-10-06 Pedro Alves <palves@redhat.com>
9972
9973 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9974 call.
9975 (jit_run): Delete.
9976 (jit_test_reread): Use with_test_prefix. Reload the main binary
9977 explicitly. Compare the before/after addresses of the JIT
9978 descriptor.
9979
9980 2016-08-15 Doug Evans <dje@google.com>
9981
9982 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9983 for single bitfields is bool.
9984 * gdb.xml/tdesc-regs.exp: Ditto.
9985
9986 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9989
9990 2016-10-05 Yao Qi <yao.qi@linaro.org>
9991
9992 * lib/gdb.exp (support_complex_tests): Return zero if
9993 gdb_skip_float_test return true.
9994
9995 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9996 Simon Marchi <simon.marchi@ericsson.com>
9997
9998 PR gdb/20487
9999 * gdb.mi/user-selected-context-sync.exp: New file.
10000 * gdb.mi/user-selected-context-sync.c: New file.
10001
10002 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10003 Simon Marchi <simon.marchi@ericsson.com>
10004
10005 PR gdb/20487
10006 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10007 =thread-select-event check.
10008
10009 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10010
10011 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10012 the compulsory L operand changes.
10013 * gdb.arch/powerpc-power.s: Likewise.
10014
10015 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10016
10017 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10018 * gdb.base/jit-attach-pie.c: New file.
10019 * gdb.base/jit-attach-pie.exp: New file.
10020
10021 2016-09-28 Pedro Alves <palves@redhat.com>
10022
10023 * gdb.base/infcall-input.c: New file.
10024 * gdb.base/infcall-input.exp: New file.
10025
10026 2016-09-22 Yao Qi <yao.qi@linaro.org>
10027
10028 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10029 (gdb_exit): Rename it to ...
10030 (gdbserver_gdb_exit): ... Close GDBserver.
10031 (gdb_exit): New proc, call gdbserver_gdb_exit.
10032 (mi_gdb_exit): Likewise.
10033
10034 2016-09-22 Yao Qi <yao.qi@linaro.org>
10035
10036 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10037 path.
10038 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10039 Remove duplication.
10040
10041 2016-09-22 Yao Qi <yao.qi@linaro.org>
10042
10043 * lib/gdbserver-support.exp: Check the existence of
10044 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10045
10046 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10047
10048 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10049
10050 2016-09-21 Tom Tromey <tom@tromey.com>
10051
10052 PR gdb/20604:
10053 * gdb.base/quit.exp: New file.
10054
10055 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10056
10057 * .gitignore: New file.
10058
10059 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10060
10061 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10062 throughout.
10063
10064 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10065
10066 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10067
10068 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10069
10070 * gdb.cp/casts.cc (decltype): Move it ...
10071 (main): ... with its call to ...
10072 * gdb.cp/casts03.cc: ... a new file.
10073 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10074
10075 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10076
10077 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10078
10079 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10080
10081 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10082 and sync up the test with tests in gas/testsuite/gas/ppc.
10083 * gdb.arch/powerpc-power.exp: Likewise.
10084
10085 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10086
10087 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10088
10089 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10090 Jan Kratochvil <jan.kratochvil@redhat.com>
10091
10092 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10093 make m1's definition to be different from m2's. Use 'dummy' as an
10094 argument for probe 'two'.
10095
10096 2016-09-10 Jon Beniston <jon@beniston.com>
10097
10098 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10099 for sim target.
10100
10101 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10102
10103 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10104 variable declaration.
10105 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10106 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10107 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10108 received HWCAP as its argument.
10109
10110 2016-09-06 Pedro Alves <palves@redhat.com>
10111
10112 * gdb.base/new-ui-pending-input.c: New file.
10113 * gdb.base/new-ui-pending-input.exp: New file.
10114 * gdb.exp (clear_gdb_spawn_id): New procedure.
10115 (with_spawn_id): Check whether gdb_spawn_id exists before
10116 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10117 on exit.
10118
10119 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10120
10121 * gdb.base/float128.c: New file.
10122 * gdb.base/float128.exp: Likewise.
10123 * gdb.base/floatn.c: Likewise.
10124 * gdb.base/floatn.exp: Likewise.
10125
10126 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10127
10128 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10129
10130 2016-09-05 Pedro Alves <palves@redhat.com>
10131
10132 PR backtrace/19927
10133 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10134 unwinders are immediately called as side effect of "source" or
10135 "disable unwinder" commands.
10136 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10137
10138 2016-09-02 Yao Qi <yao.qi@linaro.org>
10139
10140 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10141 is true and $type is "float" or "double".
10142
10143 2016-09-02 Yao Qi <yao.qi@linaro.org>
10144
10145 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10146 true.
10147 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10148 * gdb.base/call-rt-st.exp: Likewise.
10149 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10150 return value instead of gdb,skip_float_test.
10151 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10152 (do_function_calls): Use its return value instead of
10153 gdb,skip_float_test.
10154 * gdb.base/finish.exp: Likewise.
10155 * gdb.base/funcargs.exp: Likewise.
10156 * gdb.base/return.exp: Likewise.
10157 * gdb.base/return2.exp: Likewise.
10158 * gdb.base/varargs.exp: Likewise.
10159 * lib/gdb.exp (gdb_skip_float_test): Change it to
10160 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10161
10162 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10163
10164 * gdb.multi/tids.exp: Test "thread apply all".
10165
10166 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10167
10168 * gdb.base/default.exp (tty): Remove.
10169
10170 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10171
10172 * gdb.python/py-recurse-unwind.c: New file.
10173 * gdb.python/py-recurse-unwind.py: New file.
10174 * gdb.python/py-recurse-unwind.exp: New file.
10175
10176 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10177
10178 * gdb.base/set-inferior-tty.exp: New file.
10179 * gdb.base/set-inferior-tty.c: New file.
10180
10181 2016-08-23 Pedro Alves <palves@redhat.com>
10182
10183 PR gdb/20494
10184 * gdb.base/new-ui-echo.c: New file.
10185 * gdb.base/new-ui-echo.exp: New file.
10186
10187 2016-08-23 Yao Qi <yao.qi@linaro.org>
10188
10189 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10190 gdbserver_spawn.
10191 * gdb.server/connect-without-multi-process.exp (do_test):
10192 Likewise.
10193
10194 2016-08-23 Yao Qi <yao.qi@linaro.org>
10195
10196 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10197 standalone_txt. Delete gdb_txt and standalone_txt on host
10198 and target. Spawn the binary on target. Copy files from
10199 target to host.
10200
10201 2016-08-22 Pedro Alves <palves@redhat.com>
10202
10203 PR gdb/20505
10204 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10205 with_test_prefix. Factor out bits to ...
10206 (test_no_vdso): ... this new procedure.
10207
10208 2016-08-19 Carl Love <cel@us.ibm.com>
10209
10210 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10211 maintaining separate logic for constructing the output path.
10212 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10213 * gdb.arch/ppc-dfp.exp: Likewise.
10214 * gdb.arch/ppc-fp.exp: Likewise.
10215 * gdb.arch/vsx-regs.exp: Likewise.
10216 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10217 binprefix for generating the additional binary files.
10218
10219 2016-08-19 Pedro Alves <palves@redhat.com>
10220
10221 * gdb.trace/mi-trace-frame-collected.exp
10222 (test_trace_frame_collected): On x32, expect two registers.
10223
10224 2016-08-18 Carl Love <cel@us.ibm.com>
10225
10226 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10227 and sync up the test with tests in gas/testsuite/gas/ppc.
10228 * gdb.arch/powerpc-power.exp: Likewise.
10229
10230 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10231
10232 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10233 expected error message.
10234
10235 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10236
10237 * gdb.multi/remove-inferiors.exp: New file.
10238 * gdb.multi/remove-inferiors.c: New file.
10239
10240 2016-08-12 Yao Qi <yao.qi@linaro.org>
10241
10242 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10243 argument list.
10244
10245 2016-08-10 Pedro Alves <palves@redhat.com>
10246
10247 PR gdb/19187
10248 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10249 setup_kfails.
10250
10251 2016-08-09 Pedro Alves <palves@redhat.com>
10252 Simon Marchi <simon.marchi@ericsson.com>
10253
10254 PR gdb/20418
10255 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10256 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10257
10258 2016-08-09 Pedro Alves <palves@redhat.com>
10259
10260 PR mi/20431
10261 * gdb.mi/mi-cmd-error.exp: New file.
10262
10263 2016-08-09 Pedro Alves <palves@redhat.com>
10264
10265 PR gdb/18653
10266 * gdb.base/signals-state-child.c: New file.
10267 * gdb.base/signals-state-child.exp: New file.
10268 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10269
10270 2016-08-09 Pedro Alves <palves@redhat.com>
10271
10272 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10273
10274 2016-08-03 Tom Tromey <tom@tromey.com>
10275
10276 PR python/18565:
10277 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10278
10279 2016-08-01 Yao Qi <yao.qi@linaro.org>
10280
10281 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10282 variable mode to "multi-process" if $multi_process is 1, otherwise
10283 set it to "single-process".
10284
10285 2016-08-01 Yao Qi <yao.qi@linaro.org>
10286
10287 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10288 * gdb.cp/cpexprs.exp: Likewise.
10289 * gdb.cp/m-static.exp: Likewise.
10290
10291 2016-07-26 Tom Tromey <tom@tromey.com>
10292
10293 PR python/20190:
10294 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10295 test.
10296
10297 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10298
10299 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10300 selecting assembly source files.
10301 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10302 assembly source files.
10303 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10304 assembly source files.
10305 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10306 selecting assembly source files.
10307
10308 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10309
10310 * gdb.base/new-ui.exp (do_test_invalid_args): New
10311 procedure.
10312
10313 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10314
10315 * gdb.btrace/reconnect.c: New file.
10316 * gdb.btrace/reconnect.exp: New file.
10317
10318 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10319
10320 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10321 to test_catch_syscall_group.
10322 (test_catch_syscall_group): New.
10323
10324 2016-07-21 Tom Tromey <tom@tromey.com>
10325
10326 * gdb.rust/simple.rs (main): Use empty struct expression.
10327 * gdb.rust/simple.exp: Add tests for empty struct expression.
10328
10329 2016-07-21 Yao Qi <yao.qi@linaro.org>
10330
10331 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10332 if gdb_skip_xml_test is true on some targets.
10333
10334 2016-07-21 Yao Qi <yao.qi@linaro.org>
10335
10336 * gdb.server/solib-list.exp: Unset last_loaded_file.
10337
10338 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10339
10340 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10341 "step into captured_main (args)".
10342
10343 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10344
10345 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10346
10347 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10348
10349 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10350
10351 2016-07-19 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10354 * gdb.opt/inline-bt.exp: Likewise.
10355 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10356 additional_flags=-Winline.
10357 * gdb.opt/inline-locals.exp: Likewise.
10358 * gdb.opt/inline-markers.c (ATTR): Define.
10359 (inlined_fn): Use it.
10360
10361 2016-07-19 Yao Qi <yao.qi@linaro.org>
10362
10363 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10364 (test_with_self): Remove some code. Remove argument executable.
10365 (top-level): Use do_self_tests.
10366
10367 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10368 Don Breazeal <donb@codesourcery.com>
10369
10370 * gdb.base/maint.exp: Escape paths used in regular expressions.
10371 * gdb.stabs/weird.exp: Likewise.
10372
10373 2016-07-13 Tom Tromey <tom@tromey.com>
10374
10375 PR python/15620, PR python/18620:
10376 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10377 (test_bkpt_events): New procs.
10378
10379 2016-07-13 Tom Tromey <tom@tromey.com>
10380
10381 PR python/17698:
10382 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10383 test.
10384 (test_watchpoints): Likewise.
10385 (test_bkpt_pending): New proc.
10386
10387 2016-07-13 Tom Tromey <tom@tromey.com>
10388
10389 PR cli/18053:
10390 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10391 completion test.
10392
10393 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10394
10395 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10396 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10397 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10398 f_label.
10399 (g): Rename g_end_lbl to g_label.
10400 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10401 low_pc and high_pc.
10402 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10403
10404 2016-07-12 Tom Tromey <tom@tromey.com>
10405
10406 PR python/19293:
10407 * gdb.python/py-unwind-maint.exp: Update tests.
10408
10409 2016-07-12 Yao Qi <yao.qi@linaro.org>
10410
10411 * lib/selftest-support.exp (selftest_setup): Match the output
10412 when captured_main is inlined.
10413
10414 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10415
10416 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10417 New variables.
10418 (print this%a, print this%b, print this): New tests.
10419 * gdb.fortran/derived-types.f90 (this): New object and
10420 initialization.
10421
10422 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10423
10424 * gdb.ada/arraydim.exp: Remove extra directory level in build
10425 directory.
10426
10427 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10428
10429 * lib/ada.exp: Remove extra directory level in build directory.
10430 * gdb.ada/cond_lang.exp: Likewise.
10431 * gdb.ada/exec_changed.exp: Likewise.
10432 * gdb.ada/lang_switch.exp: Likewise.
10433
10434 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10435
10436 * simple.rs: Add test for raw pointer subscripting.
10437 * simple.exp: Add test expectations.
10438
10439 2016-07-05 Yao Qi <yao.qi@linaro.org>
10440
10441 * gdb.mi/mi-reverse.exp: Match =record-started output.
10442
10443 2016-07-01 Pedro Alves <palves@redhat.com>
10444
10445 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10446 procedure.
10447 (jit_reader_test): Test the jit reader's unwinder.
10448 * gdb.base/jithost.c (jit_function_00_code): New global.
10449 (main): Use memcpy to fill in the mmapped code, instead of poking
10450 bytes manually here.
10451 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10452 value.
10453 (read_debug_info): Save the function's range.
10454 (read_sp): New function.
10455 (unwind_frame): Use it. Also unwind RBP.
10456 (get_frame_id): Use read_sp.
10457 (gdb_init_reader): Use calloc instead of malloc.
10458 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10459 parameter. Use gdb_test_multiple.
10460
10461 2016-07-01 Pedro Alves <palves@redhat.com>
10462 Antoine Tremblay <antoine.tremblay@ericsson.com>
10463
10464 * gdb.threads/process-dies-while-detaching.c: New file.
10465 * gdb.threads/process-dies-while-detaching.exp: New file.
10466
10467 2016-07-01 Pedro Alves <palves@redhat.com>
10468
10469 * gdb.multi/watchpoint-multi-exit.c: New file.
10470 * gdb.multi/watchpoint-multi-exit.exp: New file.
10471
10472 2016-06-30 Pedro Alves <palves@redhat.com>
10473
10474 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10475 unset inferior_spawn_id.
10476
10477 2016-06-30 Pedro Alves <palves@redhat.com>
10478
10479 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10480 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10481
10482 2016-06-29 Yao Qi <yao.qi@linaro.org>
10483
10484 * gdb.base/return.c: Add copyright header.
10485
10486 2016-06-29 Tom Tromey <tom@tromey.com>
10487
10488 PR python/20129:
10489 * gdb.python/py-framefilter.exp: Add tests for setting priority
10490 and disabling of non-existent frame filter.
10491
10492 2016-06-29 Yao Qi <yao.qi@linaro.org>
10493
10494 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10495 0x0f07ff.
10496
10497 2016-06-28 Yao Qi <yao.qi@linaro.org>
10498
10499 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10500 triplets. Start gdb, execute catch syscall, and continue. Check
10501 gdb's output to determine catch syscall is supported.
10502
10503 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10504
10505 * gdb.rust/simple.rs: Add test for returning unit in a function.
10506 * gdb.rust/simple.exp: Add expectation for functions returning
10507 unit.
10508
10509 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10510
10511 * gdb.python/py-breakpoint-create-fail.c,
10512 gdb.python/py-breakpoint-create-fail.exp,
10513 gdb.python/py-breakpoint-create-fail.py: New testcase.
10514
10515 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10516
10517 PR gdb/20239
10518 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10519 * gdb.rust/simple.exp: Add test expectations for new NonZero
10520 tests.
10521
10522 2016-06-24 David Taylor <dtaylor@emc.com>
10523
10524 * gdb.base/offsets.exp: New file.
10525 * gdb.base/offsets.c: New file.
10526
10527 2016-06-23 Tom Tromey <tom@tromey.com>
10528
10529 PR gdb/16483:
10530 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10531 before any filters are loaded.
10532
10533 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10534
10535 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10536 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10537 structs.
10538 * gdb.fortran/derived-type-function.exp: New file.
10539 * gdb.fortran/derived-type-function.f90: New file.
10540
10541
10542 2016-06-21 Pedro Alves <palves@redhat.com>
10543
10544 * gdb.base/new-ui.exp: New file.
10545 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10546 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10547 (with_spawn_id): New procedure.
10548
10549 2016-06-21 Pedro Alves <palves@redhat.com>
10550
10551 * gdb.mi/mi-exec-run.exp: New file.
10552
10553 2016-06-21 Pedro Alves <palves@redhat.com>
10554
10555 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10556 breakpoint command's output on the main UI.
10557 (test_break): New procedure, factored out from calls in the top
10558 level.
10559 (top level): Use foreach_with_prefix to test MI as main UI and as
10560 separate UI.
10561
10562 2016-06-21 Pedro Alves <palves@redhat.com>
10563
10564 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10565 (test_awatch_creation_and_listing)
10566 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10567 Remove 'type' parameter.
10568 (test_watchpoint_all): New parameter mi_mode. Remove
10569 with_test_prefix.
10570 (top level): Use foreach_with_prefix, and add main/separate UI MI
10571 testing axis.
10572
10573 2016-06-21 Pedro Alves <palves@redhat.com>
10574
10575 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10576 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10577 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10578 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10579 (gdb_main_spawn_id, mi_spawn_id): Declare and
10580 comment.
10581 (mi_create_inferior_pty): New procedure,
10582 factored out from default_mi_gdb_start.
10583 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10584 procedures.
10585 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10586 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10587 Use mi_create_inferior_pty.
10588 (mi_gdb_start): Use eval to pass down args list.
10589
10590 2016-06-21 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10593 * gdb.opt/inline-cmds.exp: Add MI tests.
10594
10595 2016-06-21 Pedro Alves <palves@redhat.com>
10596
10597 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10598
10599 2016-06-21 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10602 (top level): Use it instead of mi_execute_to.
10603
10604 2016-06-21 Pedro Alves <palves@redhat.com>
10605
10606 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10607 (cont_handler_str): New.
10608 (signal_stop_handler): Set stop_handler_str instead of printing to
10609 stdout.
10610 (continue_handler): Set cont_handler_str instead of printing to
10611 stdout.
10612 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10613 mi_send_resuming_command. Print stop_handler_str and
10614 cont_handler_str instead of expecting the python events print
10615 directly.
10616
10617 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10618
10619 * gdb.base/jit-reader.exp: New file.
10620 * gdb.base/jithost.c: New file.
10621 * gdb.base/jithost.h: New file.
10622 * gdb.base/jitreader.c : New file.
10623 * gdb.base/jit-protocol.h: New file.
10624
10625 2016-06-17 Yao Qi <yao.qi@linaro.org>
10626
10627 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10628 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10629 and detach-on-fork. Adjust tests.
10630 (top level): Invoke break_cond_on_syscall with combinations of
10631 syscall, follow-fork-mode and detach-on-fork.
10632
10633 2016-06-17 Yao Qi <yao.qi@linaro.org>
10634
10635 * gdb.base/step-over-exit.c: New.
10636 * gdb.base/step-over-exit.exp: New.
10637
10638 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10639
10640 * gdb.base/float.exp: Add target check for nds32*-*-*.
10641 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10642
10643 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10644
10645 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10646 for unsupported target features.
10647 * gdb.base/call-rt-st.exp: Likewise.
10648 * gdb.base/call-sc.exp: Likewise.
10649 * gdb.base/call-signal-resume.exp: Likewise.
10650 * gdb.base/call-strs.exp: Likewise.
10651 * gdb.base/callexit.exp: Likewise.
10652 * gdb.base/callfuncs.exp: Likewise.
10653 * gdb.base/nodebug.exp: Likewise.
10654 * gdb.base/printcmds.exp: Likewise.
10655 * gdb.base/ptype.exp: Likewise.
10656 * gdb.base/structs.exp: Likewise.
10657 * gdb.base/unwindonsignal.exp: Likewise.
10658 * gdb.cp/gdb2495.exp: Likewise.
10659 * gdb.cp/templates.exp: Likewise.
10660 * gdb.cp/virtfunc.exp: Likewise.
10661 * gdb.threads/hand-call-in-threads.exp: Likewise.
10662 * gdb.threads/interrupted-hand-call.exp: Likewise.
10663 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10664
10665 2016-06-10 Tom Tromey <tom@tromey.com>
10666
10667 PR rust/20110:
10668 * gdb.rust/expr.exp: Add test for integer constant larger than
10669 i32.
10670
10671 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10672
10673 * gdb.fortran/nested-funcs.exp: New.
10674 * gdb.fortran/nested-funcs.f90: New.
10675
10676 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10677
10678 * gdb.base/examine-backward.c: New file.
10679 * gdb.base/examine-backward.exp: New file.
10680
10681 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10682
10683 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10684 matching.
10685
10686 2016-06-02 Tom Tromey <tom@tromey.com>
10687
10688 PR python/18984:
10689 * gdb.python/py-shared.exp: Add solib_name test.
10690
10691 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10692
10693 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10694
10695 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10696
10697 PR c++/19893
10698 * gdb.dwarf2/implref.exp: Rename to...
10699 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10700 * gdb.dwarf2/implref-array.c: New file.
10701 * gdb.dwarf2/implref-array.exp: Likewise.
10702 * gdb.dwarf2/implref-global.c: Likewise.
10703 * gdb.dwarf2/implref-global.exp: Likewise.
10704 * gdb.dwarf2/implref-struct.c: Likewise.
10705 * gdb.dwarf2/implref-struct.exp: Likewise.
10706
10707 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10708
10709 * gdb.trace/trace-condition.exp: Add 64bit tests.
10710
10711 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10712
10713 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10714 bits types.
10715 (main): Adapt to 8 to 64 bits types.
10716 * gdb.trace/trace-condition.exp: Add new tests.
10717
10718 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10719
10720 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10721
10722 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10723
10724 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10725 Move condition tests...
10726 * gdb.trace/trace-condition.exp: Here.
10727
10728 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10729
10730 * gdb.trace/trace-condition.exp: Add counter-case tests.
10731
10732 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10733
10734 PR c++/15231
10735 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10736 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10737
10738 2016-05-27 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10741 New procedure.
10742 (top level): Call it, and bail out of DejaGnu is known to be bad.
10743
10744 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10745
10746 * gdb.base/whatis.c: Extend the test case.
10747 * gdb.base/whatis.exp: Add additional tests.
10748
10749 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10750
10751 * gdb.fortran/type.f90: Add pointer variable.
10752 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10753
10754 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10755
10756 * gdb.fortran/vla-type.exp: Fix testcase name.
10757
10758 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10759
10760 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10761
10762 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10763
10764 * gdb.fortran/type.f90: Add nested structures.
10765 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10766 * gdb.fortran/derived-type.exp: Adapt expected output.
10767 * gdb.fortran/vla-type.exp: Adapt expected output.
10768
10769 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10770
10771 * gdb.fortran/whatis_type.exp: Adapt expected output.
10772
10773 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10774
10775 * gdb.fortran/print_type.exp: Fix expected output.
10776 * gdb.fortran/whatis_type.exp: Fix expected output.
10777
10778 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10779
10780 * gdb.fortran/whatis_type.exp: Use multi_line.
10781
10782 2016-05-24 Tom Tromey <tom@tromey.com>
10783
10784 PR python/17386:
10785 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10786 use value as an index.
10787
10788 2016-05-23 Tom Tromey <tom@tromey.com>
10789
10790 PR python/17981:
10791 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10792 no-breakpoint case.
10793
10794 2016-05-24 Pedro Alves <palves@redhat.com>
10795
10796 PR gdb/19828
10797 * gdb.threads/clone-attach-detach.c: New file.
10798 * gdb.threads/clone-attach-detach.exp: New file.
10799
10800 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10801
10802 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10803
10804 2016-05-23 Tom Tromey <tom@tromey.com>
10805
10806 PR python/19438, PR python/18393:
10807 * gdb.python/py-progspace.exp: Add "dir" test.
10808 * gdb.python/py-objfile.exp: Add "dir" test.
10809
10810 2016-05-23 Yao Qi <yao.qi@linaro.org>
10811
10812 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10813 * gdb.arch/thumb2-it.exp: Likewise.
10814
10815 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10816
10817 * gdb.mi/mi-threads-interrupt.c: New file.
10818 * gdb.mi/mi-threads-interrupt.exp: New file.
10819
10820 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10821
10822 PR gdb/18077
10823 * gdb.mi/mi-async-run.exp: New file.
10824 * gdb.mi/mi-async-run.c: New file.
10825
10826 2016-05-17 Tom Tromey <tom@tromey.com>
10827 Manish Goregaokar <manishsmail@gmail.com>
10828
10829 * lib/rust-support.exp: New file.
10830 * lib/gdb.exp (skip_rust_tests): New proc.
10831 (build_executable_from_specs): Handle rust.
10832 * lib/future.exp (gdb_find_rustc): New proc.
10833 (gdb_default_target_compile): Handle rust.
10834 * gdb.rust/expr.exp: New file.
10835 * gdb.rust/generics.exp: New file.
10836 * gdb.rust/generics.rs: New file.
10837 * gdb.rust/methods.exp: New file.
10838 * gdb.rust/methods.rs: New file.
10839 * gdb.rust/modules.exp: New file.
10840 * gdb.rust/modules.rs: New file.
10841 * gdb.rust/simple.exp: New file.
10842 * gdb.rust/simple.rs: New file.
10843
10844 2016-05-17 Tom Tromey <tom@tromey.com>
10845
10846 * gdb.base/default.exp (set language): Add rust.
10847
10848 2016-05-17 Tom Tromey <tom@tromey.com>
10849
10850 * gdb.gdb/unittest.exp: New file.
10851
10852 2016-05-16 Yao Qi <yao.qi@linaro.org>
10853
10854 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10855 shell_prompt. Update shell_prompt_re.
10856
10857 2016-05-12 Doug Evans <dje@google.com>
10858
10859 PR symtab/19999
10860 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10861 $options when building executable.
10862 * gdb.dwarf2/fission-loclists-pie.S: New file.
10863 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10864
10865 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10866
10867 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10868 of [is_remote target],
10869
10870 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10871
10872 * lib/gdb.exp (use_gdb_stub): New procedure.
10873
10874 2016-05-03 Yunlian Jiang <yunlian@google.com>
10875 Doug Evans <dje@google.com>
10876
10877 PR symtab/19914
10878 * gdb.dwarf2/dwp-sepdebug.c: New file.
10879 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10880
10881 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10882
10883 * gdb.base/detach.exp: Remove is_remote check.
10884
10885 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10886
10887 * gdb.base/annota-input-while-running.exp: Don't check for
10888 [is_remote target]. Enable annotations after running to main.
10889 Remove unused "set test..." line.
10890
10891 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10892
10893 * gdb.trace/trace-enable-disable.exp: New file.
10894 * gdb.trace/trace-enable-disable.c: New file.
10895
10896 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10897
10898 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10899 use it in info sharedlibrary test.
10900 * gdb.trace/ftrace-lock.exp: Likewise.
10901 * gdb.trace/ftrace.exp: Likewise.
10902 * gdb.trace/range-stepping.exp: Likewise.
10903 * gdb.trace/trace-break.exp: Likewise.
10904 * gdb.trace/trace-condition.exp: Likewise.
10905 * gdb.trace/trace-mt.exp: Likewise.
10906
10907 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10908
10909 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10910 (gdb_load_shlib): ... this.
10911 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10912 gdb_load_shlib.
10913 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10914 * gdb.base/ctxobj.exp: Likewise.
10915 * gdb.base/dprintf-pending.exp: Likewise.
10916 * gdb.base/dso2dso.exp: Likewise.
10917 * gdb.base/fixsection.exp: Likewise.
10918 * gdb.base/gcore-relro.exp: Likewise.
10919 * gdb.base/gdb1555.exp: Likewise.
10920 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10921 * gdb.base/gnu-ifunc.exp: Likewise.
10922 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10923 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10924 * gdb.base/pending.exp: Likewise.
10925 * gdb.base/print-file-var.exp: Likewise.
10926 * gdb.base/print-symbol-loading.exp: Likewise.
10927 * gdb.base/shlib-call.exp: Likewise.
10928 * gdb.base/shreloc.exp: Likewise.
10929 * gdb.base/so-impl-ld.exp: Likewise.
10930 * gdb.base/solib-disc.exp: Likewise.
10931 * gdb.base/solib-nodir.exp: Likewise.
10932 * gdb.base/solib-overlap.exp: Likewise.
10933 * gdb.base/solib-symbol.exp: Likewise.
10934 * gdb.base/solib-weak.exp (do_test): Likewise.
10935 * gdb.base/sym-file.exp: Likewise.
10936 * gdb.base/symtab-search-order.exp: Likewise.
10937 * gdb.base/type-opaque.exp: Likewise.
10938 * gdb.base/unload.exp: Likewise.
10939 * gdb.base/watchpoint-solib.exp: Likewise.
10940 * gdb.compile/compile.exp: Likewise.
10941 * gdb.cp/gdb2384.exp: Likewise.
10942 * gdb.cp/infcall-dlopen.exp: Likewise.
10943 * gdb.cp/re-set-overloaded.exp: Likewise.
10944 * gdb.fortran/library-module.exp: Likewise.
10945 * gdb.opt/solib-intra-step.exp: Likewise.
10946 * gdb.python/py-finish-breakpoint.exp: Likewise.
10947 * gdb.python/py-shared.exp: Likewise.
10948 * gdb.reverse/solib-precsave.exp: Likewise.
10949 * gdb.reverse/solib-reverse.exp: Likewise.
10950 * gdb.server/solib-list.exp: Likewise.
10951 * gdb.threads/dlopen-libpthread.exp: Likewise.
10952 * gdb.threads/tls-shared.exp: Likewise.
10953 * gdb.threads/tls-so_extern.exp: Likewise.
10954 * gdb.trace/change-loc.exp: Likewise.
10955 * gdb.trace/ftrace-lock.exp: Likewise.
10956 * gdb.trace/ftrace.exp: Likewise.
10957 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10958 * gdb.trace/pending.exp: Likewise.
10959 * gdb.trace/range-stepping.exp: Likewise.
10960 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10961 (strace_info_marker): Likewise.
10962 (strace_probe_marker): Likewise.
10963 (strace_trace_on_same_addr): Likewise.
10964 (strace_trace_on_diff_addr): Likewise.
10965 * gdb.trace/trace-break.exp: Likewise.
10966 * gdb.trace/trace-condition.exp: Likewise.
10967 * gdb.trace/trace-mt.exp: Likewise.
10968
10969 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10970
10971 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10972 result of gdb_remote_download.
10973 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10974 * gdb.base/dso2dso.exp: Likewise.
10975 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10976 * gdb.base/print-file-var.exp: Likewise.
10977 * gdb.base/shlib-call.exp: Likewise.
10978 * gdb.base/shreloc.exp: Likewise.
10979 * gdb.base/solib-overlap.exp: Likewise.
10980 * gdb.base/solib-weak.exp (do_test): Likewise.
10981 * gdb.base/unload.exp: Likewise.
10982
10983 2016-04-27 Yao Qi <yao.qi@linaro.org>
10984
10985 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10986 exists.
10987
10988 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10989
10990 * vla-type.exp: Print structure from toplevel.
10991
10992 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10993
10994 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10995 of dynamic types.
10996 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10997 of dynamic types.
10998
10999 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11000
11001 * gdb.fortran/vla-type.f90: New file.
11002 * gdb.fortran/vla-type.exp: New file.
11003
11004 2016-04-25 Yao Qi <yao.qi@linaro.org>
11005
11006 * gdb.base/branch-to-self.c: New file.
11007 * gdb.base/branch-to-self.exp: New file.
11008
11009 2016-04-22 Yao Qi <yao.qi@linaro.org>
11010
11011 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11012 more after $hex.
11013
11014 2016-04-22 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11017 * gdb.base/annota3.exp: Likewise.
11018
11019 2016-04-22 Yao Qi <yao.qi@linaro.org>
11020
11021 * gdb.reverse/step-precsave.exp: Do one step and test program
11022 stops in "callee" and do multiple steps until program goes out
11023 of "callee".
11024 * gdb.reverse/step-reverse.exp: Likewise.
11025
11026 2016-04-22 Yao Qi <yao.qi@linaro.org>
11027
11028 * gdb.trace/signal.exp: Also pass if
11029 $tracepoint_hits($i) > $iterations.
11030
11031 2016-04-22 Yao Qi <yao.qi@linaro.org>
11032
11033 * gdb.trace/signal.c: New file.
11034 * gdb.trace/signal.exp: New file.
11035
11036 2016-04-19 Doug Evans <xdje42@gmail.com>
11037
11038 * gdb.base/bad-file.exp: New file.
11039
11040 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11041
11042 * gdb.dwarf2/implref.exp: New file.
11043
11044 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11045
11046 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11047 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11048 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11049 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11050 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11051 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11052 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11053 * lib/fortran.exp (fortran_int4): New procedure.
11054 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11055 (fortran_logical4): Likewise.
11056
11057 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11058
11059 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11060
11061 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11062
11063 * lib/compiler.c: Add Intel specific preprocessor macros.
11064 * lib/compiler.cc: Likewise.
11065
11066 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11067
11068 * gdb.server/connect-with-no-symbol-file.c: New file.
11069 * gdb.server/connect-with-no-symbol-file.exp: New file.
11070
11071 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11072
11073 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11074
11075 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11076
11077 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11078 standard output directory.
11079
11080 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11081
11082 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11083
11084 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11085
11086 * gdb.btrace/instruction_history.c (loop): Add declaration.
11087
11088 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11089
11090 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11091
11092 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11093
11094 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11095 parentheses to print.
11096 (continue_handler): Likewise.
11097
11098 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11099
11100 * gdb.server/solib-list.exp: Remove is_remote check.
11101 Pass shlib= to gdb_compile. Don't link shared library with
11102 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11103 Run binary filename through "readlink -f" on the target.
11104
11105 2016-04-08 Pedro Alves <palves@redhat.com>
11106
11107 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11108 interpreter filename as argument to gdbserver_spawn.
11109 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11110 Return empty if $last_loaded_file does not exist.
11111
11112 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11113
11114 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11115 * gdb.base/jit-main.c: Use exit after usage.
11116
11117 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11118
11119 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11120 GDBHISTSIZE prior to the tests.
11121 * gdb.base/gdbinit-history.exp: Likewise.
11122
11123 2016-04-07 Pedro Alves <palves@redhat.com>
11124
11125 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11126 instead of build_executable. Use gdb_load_shlibs.
11127
11128 2016-04-07 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11131 Execute "si" command.
11132
11133 2016-04-07 Yao Qi <yao.qi@linaro.org>
11134
11135 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11136 number instead of the comments on some line.
11137
11138 2016-04-06 Don Breazeal <donb@codesourcery.com>
11139
11140 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11141 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11142
11143 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11144
11145 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11146 standard_output_file. Remove unused binfile variable.
11147
11148 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11149
11150 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11151 * gdb.python/py-mi-objfile.exp: Match "list main" output
11152 in console format.
11153
11154 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11155
11156 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11157 absolute.
11158
11159 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11160
11161 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11162 absolute.
11163 * gdb.trace/ftrace.exp: Likewise.
11164 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11165 targets as well.
11166 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11167 (gdb_load_shlibs): Copy libraries to test directory when testing
11168 natively. Only set solib-search-path if testing remotely.
11169 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11170
11171 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11172
11173 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11174 gdb_download. Use it even if the target is not remote.
11175 * gdb.base/jit.exp (compile_jit_test): Likewise.
11176 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11177 output directory if the destination board is local, otherwise use
11178 the standard remote_download from DejaGnu.
11179 (gdb_download): Remove.
11180 (gdb_load_shlibs): Use gdb_remote_download instead of
11181 gdb_download.
11182 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11183 Use gdb_remote_download instead of gdb_download. Use it even if
11184 the target is not remote.
11185 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11186 instead of gdb_download.
11187
11188 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11189
11190 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11191 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11192 run.
11193
11194 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11195
11196 PR gdb/19820
11197 * gdb.base/printcmds.exp: Add artificial arrays tests.
11198
11199 2016-03-31 Pedro Alves <palves@redhat.com>
11200
11201 PR gdb/19858
11202 * gdb.base/jit-main.c: Include unistd.h.
11203 (ATTACH): Define to 0 if not already defined.
11204 (wait_for_gdb, mypid): New globals.
11205 (WAIT_FOR_GDB): New macro.
11206 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11207 some breakpoint locations.
11208 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11209 New procedures.
11210 (one_jit_test): Add REATTACH parameter, and handle it. Use
11211 continue_to_test_location.
11212 (top level): Test attach, and adjusts calls to one_jit_test.
11213
11214 2016-03-31 Pedro Alves <palves@redhat.com>
11215
11216 PR gdb/19858
11217 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11218 BINSUFFIX parameter, and handle it.
11219 (top level): Adjust calls compile_jit_test.
11220
11221 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11222
11223 PR python/19743
11224 * gdb.python/py-mi-events-gdb.py: New file.
11225 * gdb.python/py-mi-events.c: New file.
11226 * gdb.python/py-mi-events.exp: New file.
11227
11228 2016-03-30 Yao Qi <yao.qi@linaro.org>
11229
11230 * gdb.reverse/until-precsave.exp: Match function name only.
11231 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11232 Move malloc to a condition block.
11233 * gdb.reverse/until-reverse.exp: Match function name only.
11234
11235 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11236
11237 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11238 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11239 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11240 variable for GPR 0 instead of assuming it is register 0.
11241 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11242 * lib/trace-support.exp: Add s390 registers.
11243
11244 2016-03-29 Yao Qi <yao.qi@linaro.org>
11245
11246 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11247
11248 2016-03-24 Yao Qi <yao.qi@linaro.org>
11249
11250 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11251 test message.
11252
11253 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11254
11255 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11256 maintaining separate logic for constructing the output path.
11257
11258 2016-03-16 Don Breazeal <donb@codesourcery.com>
11259
11260 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11261 Retry fork and waitpid on interrupted system call errors.
11262 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11263 Use with_timeout_factor to increase timeout by factor of 10.
11264
11265 2016-03-15 Don Breazeal <donb@codesourcery.com>
11266
11267 * gdb.cp/scope-err.cc: New test program.
11268 * gdb.cp/scope-err.exp: New test script.
11269 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11270 lines and "set breakpoint here" comment.
11271 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11272 Fixed some whitespace and format issues.
11273 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11274 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11275
11276 2016-03-15 Doug Evans <dje@google.com>
11277
11278 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11279 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11280 All callers updated. Add tests for enums, mixed flags register.
11281
11282 2016-03-15 Doug Evans <dje@google.com>
11283
11284 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11285 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11286
11287 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11288
11289 * gdb.base/default.exp: Add $_as_string to the list of expected
11290 convenience functions.
11291
11292 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11293
11294 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11295
11296 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11297
11298 * gdb.python/py-as-string.exp: New file.
11299 * gdb.python/py-as-string.c: New file.
11300
11301 2016-03-09 Pedro Alves <palves@redhat.com>
11302
11303 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11304 signal" -> "Thread NN received signal" output change.
11305 * gdb.threads/ia64-sigill.exp: Likewise.
11306 * gdb.threads/linux-dp.exp: Likewise.
11307 * gdb.threads/manythreads.exp: Likewise.
11308 * gdb.threads/pending-step.exp: Likewise.
11309 * gdb.threads/print-threads.exp: Likewise.
11310 * gdb.threads/sigstep-threads.exp: Likewise.
11311 * gdb.threads/staticthreads.exp: Likewise.
11312 * gdb.threads/tls.exp: Likewise.
11313
11314 2016-03-09 Pedro Alves <palves@redhat.com>
11315
11316 * gdb.base/command-line-input.exp: New file.
11317
11318 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11319
11320 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11321 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11322 * gdb.trace/pending.exp: Accept leading dot before function name.
11323 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11324 * lib/trace-support.exp: Set registers for ppc.
11325
11326 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11327
11328 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11329 use it for disassembly; accept .main in addition to main in backtrace.
11330
11331 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11332 Marcin Kościelnicki <koriakin@0x04.net>
11333
11334 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11335 (gdb_recursion_test_ptr): New global variable.
11336 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11337 gdb_recursion_test.
11338 (gdb_c_test): Ditto.
11339
11340 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11341
11342 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11343 ordering.
11344
11345 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11346
11347 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11348 (bar): Add bar_start_lbl label.
11349 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11350 of foo/bar for emitting DWARF and tracing.
11351
11352 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11353
11354 * analyze-racy-logs.py: Set executable bit.
11355
11356 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11357
11358 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11359 (CHECK_TARGET_TMP): Likewise.
11360 (check-single-racy): New rule.
11361 (check-parallel-racy): Likewise.
11362 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11363 (do-check-parallel-racy): New rule.
11364 (check-racy/%.exp): Likewise.
11365 * README (Racy testcases): New section.
11366 * analyze-racy-logs.py: New file.
11367
11368 2016-03-03 Doug Evans <dje@google.com>
11369
11370 * gdb.base/skip.exp: Use with_test_prefix.
11371
11372 2016-03-03 Yao Qi <yao.qi@linaro.org>
11373
11374 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11375 Invoke step_over_syscall "clone" and break_cond_on_syscall
11376 "clone".
11377 * gdb.base/step-over-clone.c: New file.
11378
11379 2016-03-03 Yao Qi <yao.qi@linaro.org>
11380
11381 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11382 code format.
11383
11384 2016-03-03 Yao Qi <yao.qi@linaro.org>
11385
11386 * gdb.base/disp-step-fork.c: Rename to ...
11387 * gdb.base/step-over-fork.c: ... it. New file.
11388 * gdb.base/disp-step-vfork.c: Rename to ...
11389 * gdb.base/step-over-vfork.c: ... it. New file.
11390 * gdb.base/disp-step-syscall.exp: Rename to ...
11391 * gdb.base/step-over-syscall.exp: ... it. New file.
11392 (disp_step_cross_syscall): Rename to ...
11393 (step_over_syscall): ... it.
11394
11395 2016-03-03 Yao Qi <yao.qi@linaro.org>
11396
11397 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11398 If target supports condition evaluation on target, invoke
11399 break_cond_on_syscall for fork and vfork.
11400
11401 2016-03-03 Yao Qi <yao.qi@linaro.org>
11402
11403 * gdb.base/disp-step-syscall.exp: Don't invoke
11404 support_displaced_stepping.
11405 (disp_step_cross_syscall): Test with displaced stepping off and
11406 on if supported.
11407
11408 2016-03-03 Yao Qi <yao.qi@linaro.org>
11409
11410 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11411 proc.
11412 (setup): New proc.
11413 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11414 and setup.
11415
11416 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11417
11418 * gdb.fortran/vla-history.exp: Remove breakpoint.
11419
11420 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11421
11422 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11423 exceeds timeout.
11424
11425 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11426
11427 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11428 breakpoint.
11429
11430 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11431
11432 * gdb.mi/vla.f90: Nullify pointer after declaration.
11433
11434 2016-03-01 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11437
11438 2016-03-01 Pedro Alves <palves@redhat.com>
11439
11440 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11441 before anything else.
11442 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11443 _GNU_SOURCE here.
11444 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11445 before anything else.
11446 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11447
11448 2016-03-01 Pedro Alves <palves@redhat.com>
11449
11450 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11451
11452 2016-03-01 Yao Qi <yao.qi@linaro.org>
11453
11454 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11455 prepare_for_testing.
11456
11457 2016-03-01 Yao Qi <yao.qi@linaro.org>
11458
11459 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11460
11461 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11462
11463 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11464 manually constructing the output path.
11465
11466 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11467
11468 * gdb.arch/s390-stackless.S: New.
11469 * gdb.arch/s390-stackless.exp: New.
11470
11471 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11472
11473 * gdb.dlang/circular.c: New file.
11474 * gdb.dlang/circular.exp: New file.
11475
11476 2016-02-26 Yao Qi <yao.qi@linaro.org>
11477
11478 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11479 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11480 (testcases): Update.
11481
11482 2016-02-26 Yao Qi <yao.qi@linaro.org>
11483
11484 * gdb.reverse/aarch64.c: Rename to ...
11485 * gdb.reverse/insn-reverse.c: ... it.
11486 * gdb.reverse/aarch64.exp: Rename to ...
11487 * gdb.reverse/insn-reverse.exp: ... it.
11488
11489 2016-02-26 Yao Qi <yao.qi@linaro.org>
11490
11491 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11492 (testcase_ftype): New.
11493 (testcases): New array.
11494 (n_testcases): New.
11495 (main): Call each element in testcases.
11496 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11497 (read_testcase): New.
11498 Do the tests in a loop.
11499
11500 2016-02-25 Yao Qi <yao.qi@linaro.org>
11501
11502 * gdb.base/branches.c: Remove.
11503
11504 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11505
11506 PR gdb/13808
11507 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11508
11509 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11510
11511 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11512
11513 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11514
11515 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11516 change x86_64 call_insn to 'callq'.
11517
11518 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11519
11520 * gdb.trace/tfile-avx.c: Move to...
11521 * gdb.trace/tracefile-pseudo-reg.c: Here.
11522 * gdb.trace/tfile-avx.exp: Move to...
11523 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11524
11525 2016-02-24 Gary Benson <gbenson@redhat.com>
11526
11527 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11528 message on attach.
11529
11530 2016-02-23 Doug Evans <dje@google.com>
11531
11532 * gdb.base/skip.c (test_skip): New function.
11533 (end_test_skip_file_and_function): New function.
11534 (test_skip_file_and_function): New function.
11535 * gdb.base/skip1.c (test_skip): New function.
11536 (skip1_test_skip_file_and_function): New function.
11537 * gdb.base/skip.exp: Add tests for new skip options.
11538 * gdb.base/skip-solib.exp: Update expected output.
11539 * gdb.perf/skip-command.cc: New file.
11540 * gdb.perf/skip-command.exp: New file.
11541 * gdb.perf/skip-command.py: New file.
11542
11543 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11544
11545 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11546 info registers pattern.
11547
11548 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11549
11550 * lib/future.exp: Add D support.
11551 (gdb_find_gdc): New proc.
11552 (gdb_default_target_compile): Add D support.
11553
11554 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11555
11556 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11557 user+system time.
11558 (trace_speed_test): Determine the iteration count for a time
11559 between 15..30 seconds.
11560
11561 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11562
11563 * gdb.arch/i386-mpx-sigsegv.c: New file.
11564 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11565 * gdb.arch/i386-mpx-simple_segv.c: New file.
11566 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11567
11568 2016-02-18 Yao Qi <yao.qi@linaro.org>
11569
11570 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11571 Don't call setup_kfail.
11572
11573 2016-02-18 Yao Qi <yao.qi@linaro.org>
11574
11575 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11576 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11577
11578 2016-02-16 Doug Evans <dje@google.com>
11579
11580 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11581 * gdb.base/skip1.c: Ditto.
11582 * gdb.base/skip.exp: Whitespace cleanup.
11583
11584 2016-02-16 Don Breazeal <donb@codesourcery.com>
11585
11586 PR remote/19496
11587 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11588 Remove kfail for PR remote/19496.
11589
11590 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11591
11592 * lib/gdb.exp (standard_temp_file): Return a path specific to
11593 the runtest invocation.
11594
11595 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11596
11597 * gdb.trace/save-trace.exp: Change relative path to be in the
11598 standard output directory.
11599
11600 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11601
11602 * gdb.arch/i386-prologue.c: Add missing prototypes.
11603
11604 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11605
11606 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11607 * gdb.arch/i386-prologue.exp: Likewise.
11608 * gdb.arch/i386-size.exp: Likewise.
11609
11610 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11611
11612 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11613 define object file path.
11614 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11615 file path.
11616 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11617 standard_output_file to define binfile.
11618
11619 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11620
11621 Fix compatibility with recent gfortran-5.3.1.
11622 * gdb.fortran/vla-history.exp (print vla1 allocated)
11623 (print vla2 allocated, print $2, print $3): Remove
11624 (print $4): Rename to ...
11625 (print $2): ... here.
11626 (print $9): Rename to ...
11627 (print $5): ... here.
11628 (print $10): Rename to ...
11629 (print $6): ... here.
11630 * gdb.fortran/vla.f90: Add pvla initialization.
11631
11632 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11633
11634 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11635 New test.
11636 * gdb.fortran/vla-value-sub.exp: Likewise.
11637
11638 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11639
11640 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11641
11642 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11643
11644 * i386-biarch-core.exp: Define corefile using
11645 standard_output_file.
11646
11647 2016-02-12 Yao Qi <yao.qi@linaro.org>
11648
11649 * gdb.arch/arm-single-step-kernel-helper.c: New.
11650 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11651
11652 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11653
11654 * gdb.btrace/tailcall-only.exp: New.
11655 * gdb.btrace/tailcall-only.c: New.
11656 * gdb.btrace/x86_64-tailcall-only.S: New.
11657 * gdb.btrace/i686-tailcall-only.S: New.
11658
11659 2016-02-11 Pedro Alves <palves@redhat.com>
11660
11661 * README (Parallel testing): Add missing double quotes.
11662
11663 2016-02-11 Pedro Alves <palves@redhat.com>
11664
11665 * README (Parallel testing): New section.
11666 (GDB_PARALLEL): Rewrite.
11667 (FORCE_PARALLEL): Document.
11668
11669 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11670
11671 * gdb.trace/tfile-avx.c: New test.
11672 * gdb.trace/tfile-avx.exp: New test.
11673
11674 2016-02-09 Keith Seitz <keiths@redhat.com>
11675
11676 PR breakpoints/19546
11677 * gdb.base/infcall-exec.c: New file.
11678 * gdb.base/infcall-exec2.c: New file.
11679 * gdb.base/infcall-exec.exp: New file.
11680
11681 2016-02-09 Keith Seitz <keiths@redhat.com>
11682
11683 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11684 (toplevel): Call test_bkpt_address.
11685
11686 2016-02-09 Keith Seitz <keiths@redhat.com>
11687
11688 PR python/19506
11689 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11690 (toplevel): Call test_bkpt_address.
11691
11692 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11693
11694 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11695 to AC_OUTPUT.
11696 * configure: Regenerate.
11697
11698 2016-02-09 Pedro Alves <palves@redhat.com>
11699
11700 PR breakpoints/19548
11701 * gdb.base/execl-update-breakpoints.c (some_function): New
11702 function.
11703 (main): Call it.
11704 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11705 Tighten expected GDB output.
11706
11707 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11708
11709 * Makefile.in (ALL_SUBDIRS): Remove.
11710 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11711 (distclean maintainer-clean realclean): Likewise.
11712 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11713 * configure: Regenerate.
11714 * gdb.ada/Makefile.in: Delete.
11715 * gdb.arch/Makefile.in: Likewise.
11716 * gdb.asm/Makefile.in: Likewise.
11717 * gdb.base/Makefile.in: Likewise.
11718 * gdb.btrace/Makefile.in: Likewise.
11719 * gdb.cell/Makefile.in: Likewise.
11720 * gdb.compile/Makefile.in: Likewise.
11721 * gdb.cp/Makefile.in: Likewise.
11722 * gdb.disasm/Makefile.in: Likewise.
11723 * gdb.dlang/Makefile.in: Likewise.
11724 * gdb.dwarf2/Makefile.in: Likewise.
11725 * gdb.fortran/Makefile.in: Likewise.
11726 * gdb.gdb/Makefile.in: Likewise.
11727 * gdb.go/Makefile.in: Likewise.
11728 * gdb.guile/Makefile.in: Likewise.
11729 * gdb.java/Makefile.in: Likewise.
11730 * gdb.linespec/Makefile.in: Likewise.
11731 * gdb.mi/Makefile.in: Likewise.
11732 * gdb.modula2/Makefile.in: Likewise.
11733 * gdb.multi/Makefile.in: Likewise.
11734 * gdb.objc/Makefile.in: Likewise.
11735 * gdb.opencl/Makefile.in: Likewise.
11736 * gdb.opt/Makefile.in: Likewise.
11737 * gdb.pascal/Makefile.in: Likewise.
11738 * gdb.perf/Makefile.in: Likewise.
11739 * gdb.python/Makefile.in: Likewise.
11740 * gdb.reverse/Makefile.in: Likewise.
11741 * gdb.server/Makefile.in: Likewise.
11742 * gdb.stabs/Makefile.in: Likewise.
11743 * gdb.threads/Makefile.in: Likewise.
11744 * gdb.trace/Makefile.in: Likewise.
11745 * gdb.xml/Makefile.in: Likewise.
11746 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11747 GDB_PARALLEL.
11748 (standard_output_file): Remove check for GDB_PARALLEL, always
11749 return path in outputs/$subdir/$testname.
11750
11751 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11752
11753 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11754 (site.exp): Assign abs_srcdir to tcl's srcdir.
11755
11756 2016-02-04 Yao Qi <yao.qi@linaro.org>
11757
11758 * gdb.base/foll-exec-mode.c: Include limits.h.
11759 (main): Add parameters argc and argv. Get directory from
11760 argv[0].
11761 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11762 compilation.
11763 * gdb.base/foll-exec.c: Include limits.h.
11764 (main): Add parameters argc and argv.
11765 Get directory from argv[0].
11766 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11767 Adjust tests on the number of lines as source code changed.
11768 * gdb.base/foll-vfork-exit.c: Include limits.h.
11769 (main): Add one line of statement before vfork.
11770 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11771 (main): Add parameters argc and argv. Get directory from
11772 argv[0].
11773 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11774 (setup_gdb): Set tbreak to skip some source lines.
11775 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11776 (main): Add parameters argc and argv. Get directory from
11777 argv[0].
11778 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11779 compilation.
11780 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11781 (main): Add parameters argc and argv. Get directory from
11782 argv[0].
11783 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11784 compilation.
11785
11786 2016-02-01 Doug Evans <dje@google.com>
11787
11788 * gdb.base/skip.exp: Clean up multiple references to same test name.
11789
11790 2016-02-01 Pedro Alves <palves@redhat.com>
11791
11792 PR remote/19496
11793 * gdb.threads/forking-threads-plus-breakpoint.exp
11794 (displaced_stepping_supported): New global.
11795 (probe_displaced_stepping_support): New procedure.
11796 (do_test): Add 'displaced' parameter, and use it.
11797 (top level): Check for displaced stepping support. Add displaced
11798 stepping on/off testing axis.
11799
11800 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11801
11802 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11803 pointer. Don't perform further tests on the unassociated pointer
11804 if the first test fails.
11805
11806 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11807
11808 * gdb.base/max-value-size.c: New file.
11809 * gdb.base/max-value-size.exp: New file.
11810 * gdb.base/huge.exp: Disable max-value-size for this test.
11811
11812 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11813
11814 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11815
11816 2016-01-28 Yao Qi <yao.qi@linaro.org>
11817
11818 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11819
11820 2016-01-25 Pedro Alves <palves@redhat.com>
11821
11822 PR threads/19461
11823 * gdb.base/fork-running-state.c: New file.
11824 * gdb.base/fork-running-state.exp: New file.
11825
11826 2016-01-25 Pedro Alves <palves@redhat.com>
11827
11828 PR gdb/19494
11829 * gdb.base/catch-fork-kill.c: New file.
11830 * gdb.base/catch-fork-kill.exp: New file.
11831
11832 2016-01-25 Pedro Alves <palves@redhat.com>
11833
11834 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11835 Delete, moved to lib/gdb.exp.
11836 * gdb.threads/forking-threads-plus-breakpoint.exp
11837 (foreach_with_prefix): Likewise.
11838 * gdb.threads/process-dies-while-handling-bp.exp
11839 (foreach_with_prefix): Likewise.
11840 * lib/gdb.exp (foreach_with_prefix): New procedure.
11841
11842 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11843
11844 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11845 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11846
11847 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11848
11849 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11850 endian targets.
11851
11852 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11853 Pedro Alves <palves@redhat.com>
11854
11855 Fix testsuite compatibility with Guile.
11856 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11857 number.
11858
11859 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11860
11861 Fix testsuite compatibility with Guile.
11862 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11863 (thread 1): New test for backtrace through signal handler.
11864
11865 2016-01-22 Yao Qi <yao.qi@linaro.org>
11866
11867 PR testsuite/19491
11868 * gdb.base/multi-forks.c: Include
11869 ../lib/unbuffer_output.c
11870 (main): Call gdb_unbuffer_output.
11871
11872 2016-01-21 Doug Evans <dje@google.com>
11873
11874 * lib/ada.exp (gdb_compile_ada): Fix typo.
11875
11876 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11877
11878 * gdb.base/break-fun-addr.exp: New file.
11879 * gdb.base/break-fun-addr1.c: New file.
11880 * gdb.base/break-fun-addr2.c: New file.
11881
11882 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11883
11884 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11885 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11886 enum flag values.
11887
11888 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11889
11890 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11891 when GDB can not set the vector return value. Add more comments
11892 for clarification.
11893
11894 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11895
11896 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11897 command.
11898
11899 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11900
11901 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11902
11903 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11904
11905 * Makefile.in (check-single): Pass --status to runtest.
11906 (check/%.exp): Likewise.
11907
11908 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11909
11910 * Makefile.in (check-parallel): Propagate return code from make
11911 do-check-parallel.
11912
11913 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11914
11915 * gdb.trace/ftrace.exp: Fix expected message on continue.
11916 * gdb.trace/pending.exp: Fix expected message on continue.
11917 * gdb.trace/trace-break.exp: Fix expected message on continue.
11918
11919 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11920
11921 * lib/gdb.exp (gdb_test): Remove unused global references.
11922
11923 2016-01-18 Pedro Alves <palves@redhat.com>
11924
11925 * gdb.base/async-shell.exp: Adjust expected output.
11926 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11927 * gdb.base/siginfo-thread.exp: Adjust expected output.
11928 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11929 * gdb.java/jnpe.exp: Adjust expected output.
11930 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11931 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11932 * gdb.threads/leader-exit.exp: Adjust expected output.
11933 * gdb.threads/manythreads.exp: Adjust expected output.
11934 * gdb.threads/pthreads.exp: Adjust expected output.
11935 * gdb.threads/schedlock.exp: Adjust expected output.
11936 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11937 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11938 expected output.
11939 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11940 output.
11941 * gdb.threads/sigthread.exp: Adjust expected output.
11942 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11943
11944 2016-01-18 Yao Qi <yao.qi@linaro.org>
11945
11946 * gdb.guile/scm-section-script.c: Replace @progbits with
11947 %progbits.
11948 * gdb.python/py-section-script.c: Likewise.
11949
11950 2016-01-15 Pedro Alves <palves@redhat.com>
11951
11952 * gdb.multi/tids.exp: Test star wildcard ranges.
11953
11954 2016-01-15 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11957 command from "thread apply" invocation.
11958 (thr_apply_info_thr_invalid): Default the expected output to the
11959 input tid list.
11960 (top level): Add tests that use convenience variables. Add tests
11961 for "thread apply" with a valid TID list, but missing the command.
11962
11963 2016-01-13 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.base/default.exp: Expect $_gthread as well.
11966 * gdb.multi/tids.exp: Test $_gthread.
11967 * gdb.threads/thread-specific.exp: Test $_gthread.
11968
11969 2016-01-13 Pedro Alves <palves@redhat.com>
11970
11971 * gdb.multi/tids.exp: Test "info threads -gid".
11972
11973 2016-01-13 Pedro Alves <palves@redhat.com>
11974
11975 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11976 Breakpoint.thread.
11977 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11978
11979 2016-01-07 Pedro Alves <palves@redhat.com>
11980
11981 * gdb.base/break.exp: Adjust to output changes.
11982 * gdb.base/hbreak2.exp: Likewise.
11983 * gdb.base/sepdebug.exp: Likewise.
11984 * gdb.base/watch_thread_num.exp: Likewise.
11985 * gdb.linespec/keywords.exp: Likewise.
11986 * gdb.multi/info-threads.exp: Likewise.
11987 * gdb.threads/thread-find.exp: Likewise.
11988 * gdb.multi/tids.c: New file.
11989 * gdb.multi/tids.exp: New file.
11990
11991 2016-01-13 Pedro Alves <palves@redhat.com>
11992
11993 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11994
11995 2016-01-13 Pedro Alves <palves@redhat.com>
11996
11997 * gdb.base/default.exp: Expect $_inferior as well.
11998 * gdb.multi/base.exp: Test $_inferior.
11999
12000 2016-01-13 Pedro Alves <palves@redhat.com>
12001
12002 PR breakpoints/19388
12003 * gdb.base/catch-signal-siginfo-cond.c: New file.
12004 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12005
12006 2016-01-12 Josh Stone <jistone@redhat.com>
12007 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12008
12009 * gdb.base/catch-syscall.c (do_execve): New variable.
12010 (main): Conditionally trigger an execve.
12011 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12012 (test_catch_syscall_execve): New, check entry/return across execve.
12013 (do_syscall_tests): Call test_catch_syscall_execve.
12014
12015 2016-01-12 Pedro Alves <palves@redhat.com>
12016
12017 * gdb.base/random-signal.exp (do_test): New procedure, with body
12018 of testcase moved in.
12019
12020 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12021 Pedro Alves <palves@redhat.com>
12022
12023 * gdb.base/funcargs.exp (finish from indirectly called function):
12024 Reintroduce the case for 'First'.
12025
12026 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12027 Pedro Alves <palves@redhat.com>
12028
12029 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12030 (tcatch_vfork_then_child_follow_exec)
12031 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12032 identification.
12033
12034 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12035
12036 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12037 and repeats to unlimited.
12038 * gdb.python/py-value.exp: Likewise.
12039 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12040 and repeats to unlimited.
12041
12042 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12043
12044 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12045 and reordering the functions.
12046 * gdb.multi/hangout.c: Likewise.
12047 * gdb.multi/hello.c: Likewise.
12048
12049 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12050
12051 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12052 absolute.
12053 (SingleStatisticTestResult.report): Use dict.keys instead of
12054 dict.iterkeys.
12055
12056 2016-01-06 Pedro Alves <palves@redhat.com>
12057
12058 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12059
12060 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12061
12062 * gdb.btrace/dlopen.exp: New.
12063 * gdb.btrace/dlopen.c: New.
12064 * gdb.btrace/dlopen-dso.c: New.
12065
12066 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12067
12068 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12069 PATTERN argument is optional.
12070
12071 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12072
12073 * lib/ada.exp (target_compile_ada_from_dir): New function.
12074 (gdb_compile_ada): Reimplement avoiding the use of project files.
12075 * gdb.ada/gnat_ada.gpr: Delete.
12076 * gdb.ada/cond_lang.exp: Adjust test to make path before
12077 filename optional.
12078 * gdb.ada/small_reg_param.exp: Likewise.
12079
12080 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12081
12082 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12083
12084 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12085
12086 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12087 case.
12088
12089 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12090
12091 * gdb.base/break.exp: Remove dead code.
12092 * gdb.base/sepdebug.exp: Likewise.
12093
12094 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12095
12096 * gdb.asm/asm-source.exp: Remove HP-UX references.
12097 * gdb.base/annota1.exp: Likewise.
12098 * gdb.base/annota3.exp: Likewise.
12099 * gdb.base/attach.exp: Likewise.
12100 * gdb.base/bigcore.exp: Likewise.
12101 * gdb.base/break.exp: Likewise.
12102 * gdb.base/call-ar-st.exp: Likewise.
12103 * gdb.base/callfuncs.exp: Likewise.
12104 * gdb.base/catch-fork-static.exp: Likewise.
12105 * gdb.base/display.exp: Likewise.
12106 * gdb.base/foll-exec-mode.exp: Likewise.
12107 * gdb.base/foll-exec.exp: Likewise.
12108 * gdb.base/foll-fork.exp: Likewise.
12109 * gdb.base/foll-vfork.exp: Likewise.
12110 * gdb.base/funcargs.exp: Likewise.
12111 * gdb.base/hbreak2.exp: Likewise.
12112 * gdb.base/inferior-died.exp: Likewise.
12113 * gdb.base/interrupt.exp: Likewise.
12114 * gdb.base/multi-forks.exp: Likewise.
12115 * gdb.base/nodebug.exp: Likewise.
12116 * gdb.base/sepdebug.exp: Likewise.
12117 * gdb.base/solib1.c: Likewise.
12118 * gdb.base/step-test.exp: Likewise.
12119 * gdb.mi/non-stop.c: Likewise.
12120 * gdb.mi/pthreads.c: Likewise.
12121 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12122 * gdb.threads/pthreads.c: Likewise.
12123 * gdb.threads/staticthreads.exp: Likewise.
12124 * lib/future.exp: Likewise.
12125 * lib/gdb.exp: Likewise.
12126 * gdb.base/so-indr-cl.c: Remove.
12127 * gdb.base/so-indr-cl.exp: Likewise.
12128 * gdb.base/solib.c: Likewise.
12129 * gdb.base/solib.exp: Likewise.
12130 * gdb.base/solib2.c: Likewise.
12131
12132 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12133
12134 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12135 * gdb.base/call-ar-st.exp: Likewise.
12136 * gdb.base/callfuncs.exp: Likewise.
12137 * gdb.base/condbreak.exp: Likewise.
12138 * gdb.base/constvars.exp: Likewise.
12139 * gdb.base/hbreak2.exp: Likewise.
12140 * gdb.base/langs.exp: Likewise.
12141 * gdb.base/list.exp: Likewise.
12142 * gdb.base/long_long.exp: Likewise.
12143 * gdb.base/ptype.exp: Likewise.
12144 * gdb.base/scope.exp: Likewise.
12145 * gdb.base/signals.exp: Likewise.
12146 * gdb.base/so-impl-ld.exp: Likewise.
12147 * gdb.base/varargs.exp: Likewise.
12148 * gdb.base/volatile.exp: Likewise.
12149 * gdb.base/whatis.exp: Likewise.
12150 * gdb.cp/cplusfuncs.exp: Likewise.
12151 * gdb.cp/inherit.exp: Likewise.
12152 * gdb.cp/local.exp: Likewise.
12153 * gdb.cp/member-ptr.exp: Likewise.
12154 * gdb.cp/method.exp: Likewise.
12155 * gdb.cp/overload.exp: Likewise.
12156 * gdb.cp/templates.exp: Likewise.
12157 * gdb.stabs/weird.exp: Likewise.
12158 * lib/compiler.c: Likewise.
12159 * lib/compiler.cc: Likewise.
12160 * lib/cp-support.exp: Likewise.
12161 * lib/gdb.exp: Likewise.
12162
12163 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12164
12165 * configure.ac: Remove HP-UX case.
12166 * configure: Regenerate.
12167
12168 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12169
12170 * lib/gdb.exp (gdb_compile): Add function doc.
12171
12172 2015-12-17 Pedro Alves <palves@redhat.com>
12173
12174 PR threads/19354
12175 * gdb.multi/info-threads.exp: New file.
12176
12177 2015-12-15 Yao Qi <yao.qi@linaro.org>
12178
12179 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12180 is aarch64*-*-*.
12181
12182 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12183
12184 * gdb.base/history-duplicates.exp: Skip if no readline support.
12185
12186 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12187
12188 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12189
12190 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12191
12192 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12193
12194 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12195
12196 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12197 ctrl-C if nointerrupts target property is set.
12198 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12199 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12200 * gdb.base/paginate-bg-execution.exp: Likewise.
12201 * gdb.base/paginate-execution-startup.exp: Likewise.
12202 * gdb.base/random-signal.exp: Likewise.
12203 * gdb.base/range-stepping.exp: Likewise.
12204 * gdb.cp/annota2.exp: Likewise.
12205 * gdb.cp/annota3.exp: Likewise.
12206 * gdb.gdb/selftest.exp: Likewise.
12207 * gdb.threads/continue-pending-status.exp: Likewise.
12208 * gdb.threads/leader-exit.exp: Likewise.
12209 * gdb.threads/manythreads.exp: Likewise.
12210 * gdb.threads/pthreads.exp: Likewise.
12211 * gdb.threads/schedlock.exp: Likewise.
12212 * gdb.threads/sigthread.exp: Likewise.
12213
12214 2015-12-11 Don Breazeal <donb@codesourcery.com>
12215
12216 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12217 remote.
12218 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12219 * gdb.base/foll-exec.exp (main): Enable for target remote.
12220 * gdb.base/foll-fork.exp (main): Likewise.
12221 * gdb.base/foll-vfork.exp (main): Likewise.
12222 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12223 (proc continue_to_exit_bp_loc): Use clean_restart.
12224 * gdb.base/pie-execl.exp (main): Disable for target remote.
12225 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12226 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12227 * gdb.threads/execl.exp (main): Likewise.
12228 * gdb.threads/fork-child-threads.exp (main): Likewise.
12229 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12230 remote.
12231 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12232 remote.
12233 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12234 pid.tid style ptids, instead of just tid.
12235 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12236 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12237 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12238 ptids, instead of just tid.
12239
12240 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12241
12242 * gdb.base/list.exp (test_list_forward): Add end of file error
12243 test.
12244 (test_repeat_list_command): Add end of file error test.
12245 (test_list_backwards): Add beginning of file error test.
12246
12247 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12248
12249 * gdb.base/list.exp (test_list_invalid_args): New function,
12250 defined, and called.
12251
12252 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12253
12254 * gdb.base/list.exp (test_list): Make test names unique.
12255
12256 2015-12-11 Yao Qi <yao.qi@linaro.org>
12257
12258 * gdb.base/coremaker2.c: Remove.
12259
12260 2015-12-10 Pedro Alves <palves@redhat.com>
12261
12262 * gdb.multi/base.exp: Remove stale "spaces" references.
12263
12264 2015-12-10 Pedro Alves <palves@redhat.com>
12265
12266 * gdb.multi/base.exp: Don't use nowarnings.
12267 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12268 * gdb.multi/hangout.c: Include stdio.h.
12269 * gdb.multi/hello.c: Include stdlib.h.
12270 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12271 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12272 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12273
12274 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12275
12276 * gdb.dwarf2/dw2-ranges-base.c: New file.
12277 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12278 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12279 support additional line table, and debug ranges generation.
12280 (Dwarf::ranges): New function, generate .debug_ranges.
12281 (Dwarf::lines): Support generating simple line table programs.
12282 (Dwarf::assemble): Initialise new namespace variables.
12283
12284 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12285
12286 * gdb.base/async.exp (proc test_background): Add case for
12287 asynchronous execution not supported.
12288
12289 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12290
12291 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12292 format and change test names to make them unique.
12293
12294 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12295 Pedro Alves <pedro@redhat.com>
12296
12297 PR gdb/18702
12298 Add checking of floatformats setup on x86_64 hosts.
12299 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12300 (smallval, bigval): New labels/constants.
12301 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12302 float" after loading bigval and smallval.
12303
12304 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12305
12306 * gdb.ada/fun_overload_menu.exp: New testcase.
12307 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12308
12309 2015-12-04 Josh Stone <jistone@redhat.com>
12310
12311 * gdb.base/catch-fork-static.exp: New.
12312
12313 2015-12-03 Yao Qi <yao.qi@linaro.org>
12314
12315 * gdb.base/sizeof.c: Don't include stdio.h and
12316 ../lib/unbuffer_output.c.
12317 (main): New variable 'size' and 'value'. Remove printf and
12318 gdb_unbuffer_output. Assign return value to size and value.
12319 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12320 at the beginning.
12321 (check_sizeof): Check the result by printing variable 'size'.
12322 (check_valueof): Check the result by printing variable 'value'.
12323
12324 2015-12-01 Yao Qi <yao.qi@linaro.org>
12325
12326 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12327 for aarch64*-*-linux* target.
12328
12329 2015-11-30 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12332
12333 2015-11-30 Pedro Alves <palves@redhat.com>
12334
12335 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12336 Handle non-stop mode vCont replies.
12337
12338 2015-11-30 Pedro Alves <palves@redhat.com>
12339
12340 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12341 prepare_for_testing. Start gdb with "set non-stop on" appended to
12342 GDBFLAGS. Lax expected stop output.
12343
12344 2015-11-27 Yao Qi <yao.qi@linaro.org>
12345
12346 * gdb.arch/arm-neon.exp: New.
12347 * gdb.arch/arm-neon.c: New.
12348
12349 2015-11-27 Yao Qi <yao.qi@linaro.org>
12350
12351 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12352
12353 2015-11-27 Yao Qi <yao.qi@linaro.org>
12354
12355 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12356 frames-invalid annotation.
12357
12358 2015-11-27 Yao Qi <yao.qi@linaro.org>
12359
12360 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12361
12362 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12363
12364 * gdb.threads/names.exp: New file.
12365 * gdb.threads/names.c: New file.
12366 * README: Mention gdb,no_thread_names.
12367
12368 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12369
12370 PR 19297
12371 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12372 support" error.
12373
12374 2015-11-24 Pedro Alves <palves@redhat.com>
12375
12376 PR 17539
12377 * gdb.base/display.exp: Expect displays to be sorted in ascending
12378 order. Use multi_line.
12379 * gdb.base/solib-display.exp: Likewise.
12380
12381 2015-11-24 Pedro Alves <palves@redhat.com>
12382
12383 PR 17539
12384 * gdb.base/display.exp: Expect displays to be sorted in ascending
12385 order. Use multi_line.
12386 * gdb.base/solib-display.exp: Likewise.
12387
12388 2015-11-24 Pedro Alves <palves@redhat.com>
12389
12390 PR 17539
12391 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12392 threads in ascending order.
12393 * gdb.base/foll-fork.exp: Likewise.
12394 * gdb.base/foll-vfork.exp: Likewise.
12395 * gdb.base/multi-forks.exp: Likewise.
12396 * gdb.mi/mi-nonstop.exp: Likewise.
12397 * gdb.mi/mi-nsintrall.exp: Likewise.
12398 * gdb.multi/base.exp: Likewise.
12399 * gdb.multi/multi-arch.exp: Likewise.
12400 * gdb.python/py-inferior.exp: Likewise.
12401 * gdb.threads/break-while-running.exp: Likewise.
12402 * gdb.threads/execl.exp: Likewise.
12403 * gdb.threads/gcore-thread.exp: Likewise.
12404 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12405 * gdb.threads/kill.exp: Likewise.
12406 * gdb.threads/linux-dp.exp: Likewise.
12407 * gdb.threads/multiple-step-overs.exp: Likewise.
12408 * gdb.threads/next-bp-other-thread.exp: Likewise.
12409 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12410 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12411 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12412 * gdb.threads/thread-find.exp: Likewise.
12413 * gdb.threads/tls.exp: Likewise.
12414 * lib/mi-support.exp (mi_reverse_list): Delete.
12415 (mi_check_thread_states): No longer reverse list.
12416
12417 2015-11-24 Pedro Alves <palves@redhat.com>
12418
12419 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12420 use lowercase.
12421
12422 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12423
12424 * gdb.trace/actions.c: Include trace-common.h.
12425 (main): Add a location for a fast tracepoint.
12426 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12427 the normal tracepoints.
12428 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12429
12430 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12431
12432 * save-trace.exp: Factor out code to these...
12433 (gdb_save_tracepoints): New.
12434 (gdb_load_tracepoints): New.
12435 (do_save_load_test): New.
12436
12437 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12438
12439 * gdb.base/asmlabel.exp: New test.
12440 * gdb.base/asmlabel.c: New test case.
12441
12442 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12443
12444 * gdb.base/wrong_frame_bt_full-main.c: New file.
12445 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12446 * gdb.base/wrong_frame_bt_full.exp: New file.
12447
12448 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12449
12450 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12451
12452 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12453
12454 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12455 pstate register when comparing registers values in
12456 sparc64-*-linux-gnu targets to avoid spurious differences.
12457
12458 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12459
12460 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12461
12462 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12463
12464 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12465 as type argument to gdb_compile.
12466 * gdb.base/nested-subp2.exp: Likewise.
12467 * gdb.base/nested-subp3.exp: Likewise.
12468
12469 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12470
12471 * lib/dwarf.exp (_note): Fix left shift of negative value.
12472 * gdb.trace/trace-condition.exp: Likewise.
12473
12474 2015-11-13 Yao Qi <yao.qi@linaro.org>
12475
12476 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12477 comments about d10v.
12478 (test_scalar_returns): Likewise.
12479 * gdb.base/d10v.ld: Remove.
12480 * gdb.base/overlays.exp: Remove the target triplet checking for
12481 d10v-*-*.
12482 * gdb.base/structs.exp (test_struct_returns): Remove the
12483 comments about d10v.
12484 (test_struct_calls): Likewise.
12485
12486 2015-11-13 Yao Qi <yao.qi@linaro.org>
12487
12488 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12489 * gdb.base/gnu_vector.c: Don't include stdio.h.
12490 (main): Don't print res and call add_some_intvecs.
12491
12492 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12493
12494 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12495 macro.
12496 (func5): Removed.
12497 (func4): Use FAST_TRACEPOINT_LABEL.
12498 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12499 macro.
12500 (func): Removed.
12501 (thread_function): Use FAST_TRACEPOINT_LABEL.
12502 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12503 (func): Remove.
12504 (marker): Use FAST_TRACEPOINT_LABEL.
12505 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12506 (pendfunc1): Remove.
12507 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12508 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12509 (foo): Remove.
12510 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12511 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12512 macro.
12513 (func): Remove.
12514 (marker): Use FAST_TRACEPOINT_LABEL.
12515 * gdb.trace/trace-common.h: New header.
12516 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12517 macro.
12518 (func): Remove.
12519 (marker): Use FAST_TRACEPOINT_LABEL.
12520 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12521 (func): Remove.
12522 (thread_function): Use FAST_TRACEPOINT_LABEL.
12523
12524 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12525
12526 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12527 in front.
12528 * gdb.trace/change-loc.exp: Use global pcreg definition.
12529 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12530 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12531 in front.
12532 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12533 * gdb.trace/pending.exp: Likewise.
12534 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12535 * gdb.trace/trace-break.exp: Likewise.
12536 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12537 in front.
12538 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12539 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12540 in front.
12541 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12542
12543 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12544
12545 * gdb.ada/fin_fun_out: New testcase.
12546
12547 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12548
12549 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12550 value associated with DW_AT_byte_size.
12551 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12552 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12553 DW_AT_upper_bound.
12554
12555 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12556
12557 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12558 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12559 version.
12560 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12561 gdb.dwarf2/dw2-canonicalize-type.exp,
12562 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12563 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12564 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12565 provided by gdb_target_symbol_prefix_flags_asm.
12566 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12567 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12568 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12569 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12570 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12571 macros where needed). Use this macro for symbols which require
12572 the prefix provided by SYMBOL_PREFIX.
12573
12574 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12575
12576 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12577 New procs.
12578 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12579 representing expressions, of more than one list element.
12580 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12581 to prepend linker symbol prefix to f.
12582 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12583 table_1 and table_2.
12584 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12585 Likewise, for f and g.
12586 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12587 for ptr.
12588 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12589 for main.
12590 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12591 table_1_ptr and table_2_ptr.
12592
12593 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12594 Joel Brobecker <brobecker@adacore.com>
12595
12596 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12597
12598 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12599
12600 * gdb.reverse/s390-mvcle.c: New test.
12601 * gdb.reverse/s390-mvcle.exp: New file.
12602 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12603
12604 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12605
12606 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12607
12608 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12609
12610 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12611 reaching marker2.
12612 * gdb.reverse/getresuid-reverse.exp: Likewise.
12613 * gdb.reverse/pipe-reverse.exp: Likewise.
12614 * gdb.reverse/readv-reverse.exp: Likewise.
12615 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12616 * gdb.reverse/time-reverse.exp: Likewise.
12617 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12618
12619 2015-10-30 Yao Qi <yao.qi@linaro.org>
12620
12621 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12622 (empty_cycle): Remove.
12623 (main): Don't call empty_cycle. Don't use watch_count_done.
12624 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12625 empty_cycle. Rewrite the code counting HW watchpoints.
12626
12627 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12628
12629 * gdb.reverse/fstatat-reverse.c: New test.
12630 * gdb.reverse/fstatat-reverse.exp: New file.
12631 * gdb.reverse/getresuid-reverse.c: New test.
12632 * gdb.reverse/getresuid-reverse.exp: New file.
12633 * gdb.reverse/pipe-reverse.c: New test.
12634 * gdb.reverse/pipe-reverse.exp: New file.
12635 * gdb.reverse/readv-reverse.c: New test.
12636 * gdb.reverse/readv-reverse.exp: New file.
12637 * gdb.reverse/recvmsg-reverse.c: New test.
12638 * gdb.reverse/recvmsg-reverse.exp: New file.
12639 * gdb.reverse/time-reverse.c: New test.
12640 * gdb.reverse/time-reverse.exp: New file.
12641 * gdb.reverse/waitpid-reverse.c: New test.
12642 * gdb.reverse/waitpid-reverse.exp: New file.
12643
12644 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12645
12646 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12647
12648 2015-10-26 Doug Evans <dje@google.com>
12649
12650 PR symtab/17391
12651 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12652 * gdb.dwarf2/bad-regnum.c: New file.
12653 * gdb.dwarf2/bad-regnum.exp: New file.
12654
12655 2015-10-26 Doug Evans <dje@google.com>
12656
12657 PR python/18938
12658 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12659 file.
12660
12661 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12662
12663 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12664 for a change by "Mention language in compile error message".
12665
12666 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12667
12668 PR python/18073
12669 * gdb.python/py-type.c (C::a_method): New.
12670 (C::a_const_method): New.
12671 (C::a_static_method): New.
12672 (a_function): New.
12673 * gdb.python/py-type.exp (test_fields): Test getting fields
12674 from function and method.
12675
12676 2015-10-21 Keven Boell <keven.boell@intel.com>
12677
12678 * gdb.fortran/vla-alloc-assoc.exp: New file.
12679 * gdb.fortran/vla-datatypes.exp: New file.
12680 * gdb.fortran/vla-datatypes.f90: New file.
12681 * gdb.fortran/vla-history.exp: New file.
12682 * gdb.fortran/vla-ptype-sub.exp: New file.
12683 * gdb.fortran/vla-ptype.exp: New file.
12684 * gdb.fortran/vla-sizeof.exp: New file.
12685 * gdb.fortran/vla-sub.f90: New file.
12686 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12687 * gdb.fortran/vla-value-sub-finish.exp: New file.
12688 * gdb.fortran/vla-value-sub.exp: New file.
12689 * gdb.fortran/vla-value.exp: New file.
12690 * gdb.fortran/vla-ptr-info.exp: New file.
12691 * gdb.mi/mi-vla-fortran.exp: New file.
12692 * gdb.mi/vla.f90: New file.
12693
12694 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12695
12696 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12697 of hardwired timeout value.
12698
12699 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12700 Pedro Alves <palves@redhat.com>
12701
12702 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12703 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12704
12705 2015-10-19 Josh Stone <jistone@redhat.com>
12706
12707 * gdb.base/catch-syscall.c: Include <sched.h>.
12708 (unknown_syscall): New variable.
12709 (main): Trigger a vfork and an unknown syscall.
12710 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12711 (unknown_syscall_number): Likewise.
12712 (check_call_to_syscall): Accept an optional syscall pattern.
12713 (check_return_from_syscall): Likewise.
12714 (check_continue): Likewise.
12715 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12716 (test_catch_syscall_skipping_return): New test toggling off 'catch
12717 syscall' to step over the syscall return, then toggling back on.
12718 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12719 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12720 (do_syscall_tests): Call test_catch_syscall_without_args and
12721 test_catch_syscall_mid_vfork.
12722 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12723 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12724
12725 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12726
12727 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12728 print g_vE): Add new pass patterns.
12729 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12730 print various symbol names for vptr fields.
12731
12732 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12733
12734 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12735 results.
12736
12737 2015-10-12 Yao Qi <yao.qi@linaro.org>
12738
12739 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12740
12741 2015-10-12 Yao Qi <yao.qi@linaro.org>
12742
12743 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12744 is aarch64*-*-linux*.
12745
12746 2015-10-12 Yao Qi <yao.qi@linaro.org>
12747
12748 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12749 (can_relocate_bcond_true): ... it.
12750 (can_relocate_bcond_false): New function.
12751 (foo): Likewise.
12752 (can_relocate_bl): Likewise.
12753 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12754 can_relocate_bl.
12755
12756 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12757
12758 * gdb.base/nested-addr.c: New file.
12759 * gdb.base/nested-addr.exp: New testcase.
12760
12761 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12762
12763 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12764 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12765 its output. Ignore the output of "record goto begin" and instead
12766 check that GDB is replaying.
12767
12768 2015-10-09 Pedro Alves <palves@redhat.com>
12769
12770 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12771 (top level): Use it in the run with no args test.
12772
12773 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12774
12775 * gdb.dlang/properties.exp: New file.
12776
12777 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12778
12779 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12780 whether or not address 0x1000 is mapped on the target.
12781
12782 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12783
12784 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12785 build.
12786
12787 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12788
12789 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12790 instruction-history test.
12791
12792 2015-09-28 Doug Evans <dje@google.com>
12793
12794 * gdb.base/gcore.c (array_func): Add reference to static_array.
12795
12796 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12797
12798 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12799 source line.
12800
12801 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12802
12803 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12804 short or char as base type.
12805
12806 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12807
12808 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12809 to allow any size enum.
12810
12811 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12812
12813 * gdb.ada/array_ptr_renaming.exp: New testcase.
12814 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12815 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12816
12817 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12818
12819 * gdb.trace/ftrace-lock.c: New file.
12820 * gdb.trace/ftrace-lock.exp: New file.
12821
12822 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12823
12824 * gdb.arch/insn-reloc.c: New file.
12825 * gdb.arch/ftrace-insn-reloc.exp: New file.
12826
12827 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12828
12829 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12830 instruction.
12831 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12832 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12833 * gdb.trace/range-stepping.c: Likewise.
12834 * gdb.trace/trace-break.c: Likewise.
12835 * gdb.trace/trace-mt.c (thread_function): Likewise.
12836 * gdb.trace/ftrace.c (marker): Likewise.
12837 * gdb.trace/trace-condition.c (marker): Likewise.
12838 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12839 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12840 is_aarch64_target.
12841
12842 2015-09-18 Doug Evans <xdje42@gmail.com>
12843
12844 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12845 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12846
12847 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12848
12849 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12850 the breakpoint.
12851
12852 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12853
12854 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12855 the pending breakpoint. Remove timeout override for "Run till
12856 MI pending breakpoint on pendfunc3 on thread 2" test.
12857
12858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12859
12860 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12861 filename pattern.
12862
12863 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12864
12865 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12866 in breakpoint filename pattern.
12867
12868 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12869
12870 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12871
12872 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12873
12874 * gdb.linespec/explicit.exp: Check for readline support for
12875 tab-completion tests. Fix obvious typo.
12876
12877 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12878
12879 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12880 and replay.
12881
12882 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12883
12884 * gdb.btrace/non-stop.c: New.
12885 * gdb.btrace/non-stop.exp: New.
12886
12887 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12888 Yao Qi <yao.qi@linaro.org>
12889
12890 * gdb.trace/trace-condition.c: New file.
12891 * gdb.trace/trace-condition.exp: New file.
12892
12893 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12894
12895 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12896 for testing bytecode compilation.
12897
12898 2015-09-16 Pedro Alves <palves@redhat.com>
12899 Sandra Loosemore <sandra@codesourcery.com>
12900
12901 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12902 (SECONDS): Redefine.
12903 (main): Call pthread_kill and alarm early.
12904 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12905 support.
12906 (test): If the target can't hardware step and doesn't support
12907 displaced stepping, increase the timeout.
12908
12909 2015-09-16 Pedro Alves <palves@redhat.com>
12910
12911 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12912 (enable_debug): New procedures.
12913 (test): Use them. Bail out if waiting for threads fails.
12914 (top level): Bail out if a test fails.
12915
12916 2015-09-16 Yao Qi <yao.qi@linaro.org>
12917
12918 * gdb.asm/asm-source.exp: Set asm-arch for
12919 aarch64*-*-* target.
12920 * gdb.asm/aarch64.inc: New file.
12921
12922 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12923
12924 * gdb.ada/array_of_variable_length.exp: New testcase.
12925 * gdb.ada/array_of_variable_length/foo.adb: New file.
12926 * gdb.ada/array_of_variable_length/pck.adb: New file.
12927 * gdb.ada/array_of_variable_length/pck.ads: New file.
12928
12929 2015-09-15 Doug Evans <dje@google.com>
12930
12931 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12932 of function static local variable.
12933
12934 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12935
12936 * gdb.threads/tls-so_extern.exp: New test file.
12937 * gdb.threads/tls-so_extern.c: New test file.
12938 * gdb.threads/tls-so_extern_main.c: New test file.
12939
12940 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12941
12942 * gdb.opt/solib-intra-step-lib.c: New file.
12943 * gdb.opt/solib-intra-step-main.c: New file.
12944 * gdb.opt/solib-intra-step.exp: New file.
12945
12946 2015-09-15 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12949 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12950
12951 2015-09-14 Pedro Alves <palves@redhat.com>
12952
12953 * gdb.base/hook-stop-continue.c: Delete.
12954 * gdb.base/hook-stop-continue.exp: Delete.
12955 * gdb.base/hook-stop-frame.c: Delete.
12956 * gdb.base/hook-stop-frame.exp: Delete.
12957 * gdb.base/hook-stop.c: New file.
12958 * gdb.base/hook-stop.exp: New file.
12959
12960 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12961
12962 * gdb.ada/access_to_packed_array.exp: New testcase.
12963 * gdb.ada/access_to_packed_array/foo.adb: New file.
12964 * gdb.ada/access_to_packed_array/pack.adb: New file.
12965 * gdb.ada/access_to_packed_array/pack.ads: New file.
12966
12967 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12968
12969 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12970 buffer size test.
12971
12972 2015-09-11 Don Breazeal <donb@codesourcery.com>
12973
12974 * gdb.base/foll-exec.c: Add copyright header. Fix
12975 formatting issues.
12976 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12977 (do_exec_tests): Use clean_restart in place of zap_session,
12978 and for test initialization. Fix formatting issues. Use
12979 fail in place of perror.
12980 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12981 an expect statement to match an expression with output from
12982 the program under debug.
12983 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12984 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12985 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12986 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12987 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12988
12989 2015-09-09 Doug Evans <dje@google.com>
12990
12991 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12992
12993 2015-09-09 Doug Evans <dje@google.com>
12994
12995 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12996
12997 2015-09-09 Doug Evans <dje@google.com>
12998
12999 * gdb.base/savedregs.exp: Fix typo.
13000
13001 2015-09-09 Pedro Alves <palves@redhat.com>
13002
13003 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13004
13005 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13006
13007 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13008 command actually switches threads. Give up on remaining
13009 tests if target fails to stop at breakpoint.
13010
13011 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13012
13013 * gdb.ada/funcall_char.exp: New testcase.
13014 * gdb.ada/funcall_char/foo.adb: New file.
13015
13016 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13017
13018 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13019 expected outputs. Add two testcases for completing ambiguous
13020 functions.
13021 * gdb.ada/complete/aux_pck.adb: New file.
13022 * gdb.ada/complete/aux_pck.ads: New file.
13023 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13024 Ambiguous_Func functions.
13025 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13026 * gdb.ada/complete/pck.adb: Likewise.
13027
13028 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13029
13030 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13031 failures to run the test program under GDB.
13032
13033 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13034
13035 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13036 to C.
13037
13038 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13039
13040 * gdb.base/run-after-attach.exp: New test file.
13041 * gdb.base/run-after-attach.c: New test file.
13042
13043 2015-08-26 Don Breazeal <donb@codesourcery.com>
13044
13045 * gdb.base/foll-exec-2.c: New test program.
13046 * gdb.base/foll-exec-2.exp: New test.
13047
13048 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13049
13050 * gdb.base/nested-subp1.exp: New file.
13051 * gdb.base/nested-subp1.c: New file.
13052 * gdb.base/nested-subp2.exp: New file.
13053 * gdb.base/nested-subp2.c: New file.
13054 * gdb.base/nested-subp3.exp: New file.
13055 * gdb.base/nested-subp3.c: New file.
13056
13057 2015-08-24 Pedro Alves <palves@redhat.com>
13058
13059 * gdb.server/connect-without-multi-process.c: New file.
13060 * gdb.server/connect-without-multi-process.exp: New file.
13061
13062 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13063
13064 * gdb.opt/inline-markers.c: Make z int.
13065
13066 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13067
13068 * gdb.opt/inline-markers.c: Make z volatile.
13069
13070 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13071
13072 * gdb.opt/inline-bt.c: New volatile global z.
13073 * gdb.opt/inline-cmds.c: Likewise.
13074 * gdb.opt/inline-locals.c: Likewise.
13075 * gdb.opt/inline-markers.c: New extern global z.
13076 (marker): Use z.
13077 (inline_fn): Likewise.
13078
13079 2015-08-24 Pedro Alves <palves@redhat.com>
13080
13081 * config/m32r-stub.exp: Remove file.
13082 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13083 * gdb.base/call-rt-st.exp: Likewise.
13084 * gdb.base/call-strs.exp: Likewise.
13085 * gdb.base/default.exp: Remove references to h8300-*-hms and
13086 *-*-udi*.
13087 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13088
13089 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13090
13091 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13092 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13093 and "return" use KFAIL when GDB can not read/write the vector
13094 return value.
13095
13096 2015-08-21 Gary Benson <gbenson@redhat.com>
13097
13098 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13099
13100 2015-08-20 Pedro Alves <palves@redhat.com>
13101
13102 * gdb.server/solib-list.exp: No longer expect an interior stop in
13103 non-stop mode.
13104
13105 2015-08-20 Pedro Alves <palves@redhat.com>
13106
13107 * gdb.server/connect-stopped-target.c: New file.
13108 * gdb.server/connect-stopped-target.exp: New file.
13109
13110 2015-08-20 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.dwarf2/comp-unit-lang.exp: New file.
13113 * gdb.dwarf2/comp-unit-lang.c: New file.
13114
13115 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13116
13117 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13118 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13119
13120 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13121
13122 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13123 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13124
13125 2015-08-18 Doug Evans <dje@google.com>
13126 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13127
13128 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13129 skip_python_tests. New arg prompt_regexp.
13130 (skip_python_tests): New function.
13131 * lib/mi-support.exp (mi_skip_python_tests): New function.
13132 * gdb.python/py-mi-objfile-gdb.py: New file.
13133 * gdb.python/py-mi-objfile.c: New file.
13134 * gdb.python/py-mi-objfile.exp: New file.
13135
13136 2015-08-17 Keith Seitz <keiths@redhat.com>
13137
13138 * gdb.linespec/explicit.exp: Move strace test from here ...
13139 * gdb.trace/strace.exp: ... to here.
13140
13141 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13142
13143 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13144 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13145
13146 2015-08-14 Doug Evans <xdje42@gmail.com>
13147
13148 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13149 inferior before selecting a new file.
13150
13151 2015-08-14 Doug Evans <xdje42@gmail.com>
13152
13153 * gdb.mi/mi-disassemble.exp: Update.
13154 * gdb.base/disasm-optim.S: New file.
13155 * gdb.base/disasm-optim.c: New file.
13156 * gdb.base/disasm-optim.h: New file.
13157 * gdb.base/disasm-optim.exp: New file.
13158
13159 2015-08-14 Keith Seitz <keiths@redhat.com>
13160
13161 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13162 "evaluated-by".
13163
13164 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13165
13166 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13167
13168 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13169
13170 * gdb.ada/fun_renaming.exp: New testcase.
13171 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13172 * gdb.ada/fun_renaming/pack.adb: New file.
13173 * gdb.ada/fun_renaming/pack.ads: New file.
13174
13175 2015-08-12 Keith Seitz <keiths@redhat.com>
13176
13177 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13178 gdb_get_line_number.
13179
13180 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13181
13182 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13183 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13184 gdb.base/dso2dso.exp: New files.
13185
13186 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13187 Pedro Alves <palves@redhat.com>
13188 Keith Seitz <keiths@redhat.com>
13189
13190 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13191 GDBFLAGS.
13192
13193 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13194
13195 * gdb.base/gdbhistsize-history.exp
13196 (test_histsize_history_setting): Use save_vars.
13197 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13198 Use save_vars.
13199 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13200 * gdb.base/readline.exp: Use save_vars.
13201
13202 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13203
13204 * lib/gdb.exp (save_vars): New proc.
13205
13206 2015-08-11 Keith Seitz <keiths@redhat.com>
13207
13208 * gdb.base/help.exp: Update help_breakpoint_text.
13209
13210 2015-08-11 Keith Seitz <keiths@redhat.com>
13211
13212 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13213 (at toplevel): Call test_explicit_breakpoints.
13214 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13215 breakpoints.
13216 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13217 breakpoint conditions, "-cond".
13218
13219 2015-08-11 Keith Seitz <keiths@redhat.com>
13220
13221 * gdb.linespec/3explicit.c: New file.
13222 * gdb.linespec/cpexplicit.cc: New file.
13223 * gdb.linespec/cpexplicit.exp: New file.
13224 * gdb.linespec/explicit.c: New file.
13225 * gdb.linespec/explicit.exp: New file.
13226 * gdb.linespec/explicit2.c: New file.
13227 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13228 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13229 before using in the matching pattern.
13230 Clarify that `prefix' is a regular expression.
13231
13232 2015-08-11 Keith Seitz <keiths@redhat.com>
13233
13234 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13235 test.
13236 Add tests for missing ",FMT" and ",".
13237
13238 2015-08-10 Doug Evans <dje@google.com>
13239 Keith Seitz <keiths@redhat.com>
13240
13241 PR gdb/17960
13242 * gdb.base/completion.exp: Add location completer tests.
13243
13244 2015-08-07 Pedro Alves <palves@redhat.com>
13245
13246 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13247 tests here.
13248 (top level): Run do_test with and without displaced stepping.
13249
13250 2015-08-07 Pedro Alves <palves@redhat.com>
13251
13252 * gdb.base/valgrind-disp-step.c: New file.
13253 * gdb.base/valgrind-disp-step.exp: New file.
13254
13255 2015-08-07 Pedro Alves <palves@redhat.com>
13256
13257 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13258 Delete function.
13259 (main): Add alarm. Run an infinite loop instead of calling
13260 wait_threads.
13261 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13262 comment.
13263 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13264 Delete function.
13265 (main): Add alarm. Run an infinite loop instead of calling
13266 wait_threads.
13267 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13268 comment.
13269
13270 2015-08-07 Pedro Alves <palves@redhat.com>
13271
13272 * gdb.base/checkpoint-ns.exp: New file.
13273 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13274 standard_testfile.
13275
13276 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13277
13278 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13279 * gdb.btrace/instruction_history.exp: Update.
13280 * gdb.btrace/tsx.exp: New.
13281 * gdb.btrace/tsx.c: New.
13282
13283 2015-08-06 Pedro Alves <palves@redhat.com>
13284
13285 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13286 increase timeout.
13287 * gdb.reverse/until-precsave.exp: Bump timeouts.
13288
13289 2015-08-06 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13292
13293 2015-08-06 Pedro Alves <palves@redhat.com>
13294
13295 PR gdb/18749
13296 * gdb.threads/process-dies-while-handling-bp.c: New file.
13297 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13298
13299 2015-08-06 Pedro Alves <palves@redhat.com>
13300
13301 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13302 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13303
13304 2015-08-05 Pedro Alves <palves@redhat.com>
13305
13306 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13307 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13308
13309 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13310
13311 * gdb.base/bp-permanent.exp: Report test as unsupported if
13312 the target cannot stop at the permanent breakpoint.
13313
13314 2015-08-03 Doug Evans <dje@google.com>
13315
13316 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13317 10000.
13318
13319 2015-08-03 Doug Evans <dje@google.com>
13320
13321 * Makefile.in (workers/%.worker, build-perf): New rule.
13322 (GDB_PERFTEST_MODE): New variable.
13323 (check-perf): Use it.
13324 (clean): Clean up gdb.perf parallel build subdirs.
13325 * lib/build-piece.exp: New file.
13326 * lib/gdb.exp (make_gdb_parallel_path): New function
13327 (standard_output_file, standard_temp_file): Call it.
13328 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13329 of $GDB_PARALLEL.
13330 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13331
13332 2015-08-03 Doug Evans <dje@google.com>
13333
13334 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13335 (LOG_FILE_NAME): New global.
13336 (TextReporter.__init__): Initialize self.txt_sum.
13337 (TextReporter.report): Add support for multiple data-points.
13338 Move report to perftest.sum, put raw data in perftest.log.
13339 (TextReporter.start): Open sum and log files.
13340 (TextReporter.end): Close sum and log files.
13341 * gdb.perf/lib/perftest/testresult.py
13342 (SingleStatisticTestResult.record): Handle multiple data-points.
13343
13344 2015-07-31 Pedro Alves <palves@redhat.com>
13345
13346 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13347 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13348 kill_wait_spawned_process instead of explicit "kill -9".
13349 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13350 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13351 kill_wait_spawned_process.
13352 * gdb.base/attach-twice.exp: Likewise.
13353 * gdb.base/attach.exp: Likewise.
13354 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13355 gdb_test_multiple.
13356 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13357 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13358 kill_wait_spawned_process.
13359 * gdb.base/valgrind-infcall.exp: Likewise.
13360 * gdb.multi/multi-attach.exp: Likewise.
13361 * gdb.python/py-prompt.exp: Likewise.
13362 * gdb.python/py-sync-interp.exp: Likewise.
13363 * gdb.server/ext-attach.exp: Likewise.
13364 * gdb.threads/attach-into-signal.exp (corefunc): Use
13365 spawn_wait_for_attach, spawn_id_get_pid and
13366 kill_wait_spawned_process.
13367 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13368 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13369 spawn_id_get_pid and kill_wait_spawned_process.
13370 * gdb.threads/attach-stopped.exp (corefunc): Use
13371 spawn_wait_for_attach, spawn_id_get_pid and
13372 kill_wait_spawned_process.
13373 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13374 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13375 kill_wait_spawned_process instead of explicit "kill -9".
13376 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13377 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13378 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13379 processes. Don't map cygwin/windows pids here. Now returns a
13380 spawn id list.
13381
13382 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13383
13384 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13385 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13386 correct patch.
13387
13388 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13389
13390 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13391
13392 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13393
13394 Reapply:
13395 2014-05-21 Mark Wielaard <mjw@redhat.com>
13396
13397 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13398
13399 2015-07-30 Pedro Alves <palves@redhat.com>
13400
13401 * linux-low.c (handle_extended_wait): Set the child's last
13402 reported status to TARGET_WAITKIND_STOPPED.
13403
13404 2015-07-30 Pedro Alves <palves@redhat.com>
13405
13406 PR threads/18600
13407 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13408 only shows inferior 1.
13409
13410 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13411 Pedro Alves <palves@redhat.com>
13412
13413 PR threads/18600
13414 * gdb.threads/fork-plus-threads.c: New file.
13415 * gdb.threads/fork-plus-threads.exp: New file.
13416
13417 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13418
13419 * gdb.base/batch-preserve-term-settings.exp
13420 (test_terminal_settings_preserved_after_cli_exit): Use
13421 send_quit_command.
13422
13423 2015-07-29 Pedro Alves <palves@redhat.com>
13424 Don Breazeal <donb@codesourcery.com>
13425
13426 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13427 output from both inferior_spawn_id and gdb_spawn_id.
13428
13429 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13430
13431 * gdb.threads/attach-into-signal.exp (corefunc): Use
13432 with_test_prefix on nested loops, uniquefying the test messages.
13433
13434 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13435
13436 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13437 commit.
13438
13439 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13440
13441 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13442 New proc.
13443 (test_terminal_settings_preserved_after_sigterm): New test.
13444
13445 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13446
13447 * gdb.base/batch-preserve-term-settings.exp
13448 (test_terminal_settings_preserved_after_cli_exit): New test.
13449
13450 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13451
13452 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13453 manipulation of saved_gdbflags.
13454 (test_terminal_settings_preserved): Remove global declaration of
13455 the unused variable pagination_prompt. Remove manipulation of
13456 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13457 GDBFLAGS.
13458
13459 2015-07-29 Pedro Alves <palves@redhat.com>
13460
13461 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13462
13463 2015-07-29 Pedro Alves <palves@redhat.com>
13464
13465 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13466 at the top.
13467
13468 2015-07-29 Pedro Alves <palves@redhat.com>
13469
13470 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13471 (main): Call gdb_unbuffer_output.
13472 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13473 (main): Call gdb_unbuffer_output.
13474 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13475 (main): Call gdb_unbuffer_output.
13476 * gdb.base/call-strs.exp: Adjust to step over the
13477 gdb_unbuffer_output call.
13478 * gdb.base/catch-gdb-caused-signals.c: Include
13479 "../lib/unbuffer_output.c".
13480 (main): Call gdb_unbuffer_output.
13481 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13482 (main): Call gdb_unbuffer_output.
13483 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13484 (main): Call gdb_unbuffer_output.
13485 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13486 (main): Call gdb_unbuffer_output.
13487 * gdb.base/shlib-call.exp: Adjust to step over the
13488 gdb_unbuffer_output call.
13489 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13490 (main): Call gdb_unbuffer_output.
13491 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13492 (main): Call gdb_unbuffer_output.
13493 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13494 (main): Rename to ...
13495 (test): ... this.
13496 (main): Reimplement.
13497 * gdb.base/varargs.exp: Run to test instead of to main.
13498 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13499 (main): Call gdb_unbuffer_output.
13500
13501 2015-07-29 Pedro Alves <palves@redhat.com>
13502
13503 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13504 factore out from mi_continue_dprintf. For call-style dprintfs,
13505 expect dprintf output out of $inferior_spawn_id.
13506 (mi_continue_dprintf): Use mi_expect_dprintf.
13507 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13508 (main): Call gdb_unbuffer_output.
13509
13510 2015-07-29 Pedro Alves <palves@redhat.com>
13511
13512 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13513 (default_mi_gdb_start): Set inferior_spawn_id instead of
13514 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13515 gdb_spawn_id.
13516 (mi_gdb_test): Always expect inferior output from both
13517 $inferior_spawn_id and $gdb_spawn_id.
13518
13519 2015-07-29 Pedro Alves <palves@redhat.com>
13520
13521 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13522 send_inferior and $inferior_spawn_id.
13523
13524 2015-07-29 Pedro Alves <palves@redhat.com>
13525
13526 * gdb.gdb/complaints.exp (test_initial_complaints)
13527 (test_serial_complaints, test_short_complaints): Use
13528 gdb_test_stdio.
13529 (test_empty_complaint): Handle $inferior_spawn_id !=
13530 $gdb_spawn_id.
13531
13532 2015-07-29 Pedro Alves <palves@redhat.com>
13533
13534 * gdb.base/varargs.exp: Use gdb_test_stdio.
13535
13536 2015-07-29 Pedro Alves <palves@redhat.com>
13537
13538 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13539
13540 2015-07-29 Pedro Alves <palves@redhat.com>
13541
13542 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13543
13544 2015-07-29 Pedro Alves <palves@redhat.com>
13545
13546 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13547 parameter into two new parameters, "inf_result" and "gdb_result".
13548 Expect inferior output and gdb output from $inferior_spawn_id and
13549 $gdb_spawn_id, respectively. Adjust all callers.
13550
13551 2015-07-29 Pedro Alves <palves@redhat.com>
13552
13553 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13554 of gdb_test_sequence.
13555
13556 2015-07-29 Pedro Alves <palves@redhat.com>
13557
13558 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13559 (saw_spurious_output): Expect inferior output from
13560 $inferior_spawn_id. Use gdb_test_stdio.
13561
13562 2015-07-29 Pedro Alves <palves@redhat.com>
13563
13564 * gdb.base/dprintf.exp: Use standard_testfile. Change
13565 prepare_for_testing call.
13566 (srcfile): Don't set.
13567 (restart): New procedure.
13568 (test_dprintf): New procecure, use to continue over dprintfs.
13569 (test_call, test_agent): New procedures, tests moved here.
13570 Restart gdb and recreate dprintfs. Adjust expected output.
13571
13572 2015-07-29 Pedro Alves <palves@redhat.com>
13573
13574 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13575
13576 2015-07-29 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13579
13580 2015-07-29 Pedro Alves <palves@redhat.com>
13581
13582 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13583 gdb_test_stdio.
13584
13585 2015-07-29 Pedro Alves <palves@redhat.com>
13586
13587 * lib/gdb.exp (gdb_test_stdio): New procedure.
13588
13589 2015-07-29 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13592
13593 2015-07-29 Pedro Alves <palves@redhat.com>
13594
13595 * gdb.base/call-signal-resume.exp: Remove check for
13596 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13597 * gdb.base/unwindonsignal.exp: Likewise.
13598 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13599 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13600
13601 2015-07-29 Pedro Alves <palves@redhat.com>
13602
13603 * gdb.base/siginfo-addr.c (pass): New function.
13604 (handler): Call it iff si_addr is correct.
13605 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13606 Set a breakpoint at "pass" and continue to it.
13607
13608 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13609
13610 * gdb.python/py-objfile.exp: Make some tests have unique names.
13611 * gdb.python/py-pp-registration.exp: Likewise.
13612
13613 2015-07-28 Pedro Alves <palves@redhat.com>
13614
13615 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13616
13617 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13618
13619 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13620
13621 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13622
13623 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13624
13625 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13626
13627 * gdb.base/gdb-sigterm-2.exp: New test.
13628
13629 2015-07-25 Doug Evans <xdje42@gmail.com>
13630
13631 Revert:
13632 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13633 (workers/%.worker, build-perf): New rule.
13634 (GDB_PERFTEST_MODE): New variable.
13635 (check-perf): Use it.
13636 (clean): Clean up gdb.perf parallel build subdirs.
13637 * lib/build-piece.exp: New file.
13638 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13639 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13640 name.
13641 (standard_temp_file): Ditto.
13642 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13643 of $GDB_PARALLEL.
13644
13645 2015-07-24 Doug Evans <dje@google.com>
13646
13647 * gdb.perf/lib/perftest/utils.py: New file.
13648 * gdb.perf/gm-hello.cc: New file.
13649 * gdb.perf/gm-pervasive-typedef.cc: New file.
13650 * gdb.perf/gm-pervasive-typedef.h: New file.
13651 * gdb.perf/gm-std.cc: New file.
13652 * gdb.perf/gm-std.h: New file.
13653 * gdb.perf/gm-use-cerr.cc: New file.
13654 * gdb.perf/gm-utils.h: New file.
13655 * gdb.perf/gmonster-null-lookup.py: New file.
13656 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13657 * gdb.perf/gmonster-print-cerr.py: New file.
13658 * gdb.perf/gmonster-ptype-string.py: New file.
13659 * gdb.perf/gmonster-runto-main.py: New file.
13660 * gdb.perf/gmonster-select-file.py: New file.
13661 * gdb.perf/gmonster1-null-lookup.exp: New file.
13662 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13663 * gdb.perf/gmonster1-print-cerr.exp: New file.
13664 * gdb.perf/gmonster1-ptype-string.exp: New file.
13665 * gdb.perf/gmonster1-runto-main.exp: New file.
13666 * gdb.perf/gmonster1-select-file.exp: New file.
13667 * gdb.perf/gmonster1.cc: New file.
13668 * gdb.perf/gmonster1.exp: New file.
13669 * gdb.perf/gmonster2-null-lookup.exp: New file.
13670 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13671 * gdb.perf/gmonster2-print-cerr.exp: New file.
13672 * gdb.perf/gmonster2-ptype-string.exp: New file.
13673 * gdb.perf/gmonster2-runto-main.exp: New file.
13674 * gdb.perf/gmonster2-select-file.exp: New file.
13675 * gdb.perf/gmonster2.cc: New file.
13676 * gdb.perf/gmonster2.exp: New file.
13677
13678 2015-07-24 Doug Evans <dje@google.com>
13679
13680 * gdb.perf/README: New file.
13681 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13682 * lib/gen-perf-test.exp: New file.
13683
13684 2015-07-24 Doug Evans <dje@google.com>
13685
13686 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13687 (PerfTest::startup): New function.
13688 (PerfTest::run): Return result of calling body.
13689 (PerfTest::assemble): Rewrite.
13690 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13691 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13692 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13693 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13694 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13695
13696 2015-07-24 Doug Evans <dje@google.com>
13697
13698 * lib/gdb.exp (clean_restart): Make executable optional.
13699
13700 2015-07-24 Doug Evans <dje@google.com>
13701
13702 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13703 compiler_info references.
13704 * gdb.cp/temargs.exp: Ditto.
13705 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13706 (get_compiler_info): Early exit if already computed. Set compiler_info
13707 to "unknown" if there was a problem.
13708 (test_compiler_info): Add function comment. Call get_compiler_info.
13709
13710 2015-07-24 Doug Evans <dje@google.com>
13711
13712 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13713 (workers/%.worker, build-perf): New rule.
13714 (GDB_PERFTEST_MODE): New variable.
13715 (check-perf): Use it.
13716 (clean): Clean up gdb.perf parallel build subdirs.
13717 * lib/build-piece.exp: New file.
13718 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13719 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13720 name.
13721 (standard_temp_file): Ditto.
13722 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13723 of $GDB_PARALLEL.
13724
13725 2015-07-24 Doug Evans <dje@google.com>
13726
13727 * lib/future.exp (gdb_default_target_compile): New option
13728 "early_flags".
13729 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13730 --as-needed.
13731
13732 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13733
13734 * gdb.base/catch-syscall.exp: Call gdb_exit before
13735 gdb_skip_xml_test.
13736
13737 2015-07-24 Pedro Alves <palves@redhat.com>
13738
13739 * gdb.python/py-events.exp: Accept output between the stop event
13740 and the prompt.
13741 * gdb.python/py-evsignal.exp: Likewise.
13742 * gdb.python/py-evthreads.exp: Likewise.
13743
13744 2015-07-24 Pedro Alves <palves@redhat.com>
13745
13746 PR gdb/18717
13747 * gdb.threads/non-ldr-exit.c: New file.
13748 * gdb.threads/non-ldr-exit.exp: New file.
13749
13750 2015-07-24 Yao Qi <yao.qi@linaro.org>
13751
13752 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13753 restarting process.
13754
13755 2015-07-24 Yao Qi <yao.qi@linaro.org>
13756
13757 * gdb.server/ext-restart.exp: New file.
13758
13759 2015-07-24 Yao Qi <yao.qi@linaro.org>
13760
13761 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13762 argument options.
13763 * gdb.server/ext-wrapper.exp: New file.
13764
13765 2015-07-23 Doug Evans <dje@google.com>
13766
13767 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13768 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13769
13770 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13771
13772 * gdb.ada/var_arr_typedef.exp: New testcase.
13773 * gdb.ada/var_arr_typedef/pack.adb: New file.
13774 * gdb.ada/var_arr_typedef/pack.ads: New file.
13775 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13776
13777 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13778
13779 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13780
13781 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13782
13783 * gdb.arch/i386-biarch-core.exp: Replace istarget
13784 by "complete set gnutarget". Remove expectation for the "core-file"
13785 command.
13786
13787 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13788
13789 Revert the previous commit:
13790 Tests for validate symbol file using build-id.
13791
13792 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13793
13794 Tests for validate symbol file using build-id.
13795 * gdb.base/solib-mismatch-lib.c: New file.
13796 * gdb.base/solib-mismatch-libmod.c: New file.
13797 * gdb.base/solib-mismatch.c: New file.
13798 * gdb.base/solib-mismatch.exp: New file.
13799
13800 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13801
13802 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13803 nios2-*-linux*.
13804 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13805 * gdb.base/siginfo.exp: Likewise.
13806 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13807
13808 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13809
13810 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13811 Move it to ...
13812 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13813 ... here.
13814 * gdb.trace/range-stepping.exp: Check that the target supports
13815 range stepping.
13816
13817 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13818
13819 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13820
13821 2015-07-14 Pedro Alves <palves@redhat.com>
13822
13823 * gdb.base/killed-outside.exp: New file.
13824 * gdb.base/killed-outside.c: New file.
13825
13826 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13827
13828 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13829 (n at main): New.
13830 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13831
13832 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13833
13834 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13835 infcall tests instead of setting up for KFAIL.
13836
13837 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13838
13839 * gdb.btrace/record_goto-step.exp: New.
13840
13841 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13842
13843 PR compile/18484
13844 * gdb.compile/compile.c (struct struct_type): Add volatile to
13845 selffield's type.
13846 * gdb.compile/compile.exp
13847 (compile code struct_object.selffield = &struct_object): Skip further
13848 struct_object tests if this one xfails.
13849
13850 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13851
13852 PR exp/18617
13853 * gdb.trace/ax.exp: Add test.
13854
13855 2015-07-07 Yao Qi <yao.qi@linaro.org>
13856
13857 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13858 instead of istarget "aarch64*-*-*".
13859 * gdb.arch/aarch64-fp.exp: Likewise.
13860 * gdb.base/float.exp: Likewise.
13861 * gdb.reverse/aarch64.exp: Likewise.
13862 * lib/gdb.exp (is_aarch64_target): New proc.
13863
13864 2015-07-07 Yao Qi <yao.qi@linaro.org>
13865
13866 * lib/gdb.exp (is_aarch32_target): New proc.
13867 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13868 instead of "istarget "arm*-*-*"".
13869 * gdb.arch/arm-disp-step.exp: Likewise.
13870 * gdb.arch/thumb-bx-pc.exp: Likewise.
13871 * gdb.arch/thumb-prologue.exp: Likewise.
13872 * gdb.arch/thumb-singlestep.exp: Likewise.
13873 * gdb.base/disp-step-syscall.exp: Likewise.
13874 * gdb.base/float.exp: Likewise.
13875
13876 2015-07-07 Yao Qi <yao.qi@linaro.org>
13877
13878 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13879 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13880
13881 2015-07-07 Yao Qi <yao.qi@linaro.org>
13882
13883 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13884 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13885 if it exists.
13886 * gdb.multi/multi-arch.exp: Likewise.
13887
13888 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13889
13890 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13891 print.
13892
13893 2015-07-07 Yao Qi <yao.qi@linaro.org>
13894
13895 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13896
13897 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13898
13899 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13900 '[' and ']' characters.
13901
13902 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13903
13904 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13905
13906 2015-06-29 Pedro Alves <palves@redhat.com>
13907
13908 PR threads/18127
13909 * gdb.threads/hand-call-new-thread.c: New file.
13910 * gdb.threads/hand-call-new-thread.c: New file.
13911
13912 2015-06-26 Keith Seitz <keiths@redhat.com>
13913 Doug Evans <dje@google.com>
13914
13915 PR 16253
13916 * gdb.cp/var-tag-2.cc: New file.
13917 * gdb.cp/var-tag-3.cc: New file.
13918 * gdb.cp/var-tag-4.cc: New file.
13919 * gdb.cp/var-tag.cc: New file.
13920 * gdb.cp/var-tag.exp: New file.
13921
13922 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13923
13924 * gdb.base/history-duplicates.exp: New test.
13925
13926 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13927
13928 * gdb.base/completion.exp: Test the completion of the "focus"
13929 command.
13930
13931 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13932
13933 * gdb.arch/amd64-prologue-skip.S: New file.
13934 * gdb.arch/amd64-prologue-skip.exp: New file.
13935
13936 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13937
13938 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13939 is_address_zero_readable check.
13940
13941 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13942
13943 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13944 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13945
13946 2015-06-24 Yao Qi <yao.qi@linaro.org>
13947
13948 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13949 linux targets.
13950
13951 2015-06-24 Yao Qi <yao.qi@linaro.org>
13952
13953 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13954 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13955 * gdb.base/siginfo-thread.exp: Likewise.
13956
13957 2015-06-22 Yao Qi <yao.qi@linaro.org>
13958
13959 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13960
13961 2015-06-22 Yao Qi <yao.qi@linaro.org>
13962
13963 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13964 aarch64*-*-*.
13965 (skip_hw_watchpoint_tests): Likewise.
13966
13967 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13968
13969 * gdb.base/gdbinit-history.exp: Test the interaction between
13970 setting GDBHISTSIZE and setting the history size via .gdbinit.
13971
13972 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13973
13974 PR gdb/16999
13975 * gdb.base/gdbhistsize-history.exp: New test.
13976
13977 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13978
13979 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13980 with GDBHISTSIZE.
13981 * gdb.base/readline.exp: Likewise.
13982
13983 2015-06-17 Yao Qi <yao.qi@linaro.org>
13984
13985 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13986 line.
13987
13988 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13989
13990 * gdb.base/gdbinit-history.exp: Add test case to check that
13991 an unlimited history file does not get truncated on exit.
13992
13993 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13994
13995 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13996 (VECTOR): New macro. Use it...
13997 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13998 ...for these typedefs.
13999 (int8, char1, int1, double1): New typedefs.
14000 (struct just_int2, struct two_int2): New structures.
14001 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14002 (add_structvecs, add_singlevecs): New functions.
14003 (main): Call add_some_intvecs twice.
14004 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14005 the compile and exit upon failure. Try compiling for the "native"
14006 architecture. Test inferior function calls with vector arguments
14007 and vector return value handling with "finish" and "return".
14008
14009 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14010
14011 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14012 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14013 PE file.
14014 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14015
14016 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14017
14018 PR breakpoints/16465
14019 * gdb.mi/mi-dprintf-pending.c: New file.
14020 * gdb.mi/mi-dprintf-pending.exp: New test.
14021 * gdb.mi/mi-dprintf-pendshr.c: New file.
14022
14023 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14024 Mircea Gherzan <mircea.gherzan@intel.com>
14025
14026 * gdb.arch/i386-mpx-map.c: New file.
14027 * gdb.arch/i386-mpx-map.exp: New File.
14028
14029 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14030
14031 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14032 * gdb.arch/i386-mpx.exp: Indentation fixed.
14033
14034 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14035
14036 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14037 function and improved indentation.
14038 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14039 gdb_test_multiple. Added additional tests to skip the test.
14040
14041 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14042
14043 * gdb.arch/i386-avx512.c: Change path in include file.
14044 * gdb.arch/i386-avx512.exp: Change include dir path
14045 compilation flag.
14046 * gdb.arch/i386-mpx.c: Change path in include file.
14047 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14048 flag.
14049
14050 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14051
14052 * gdb.compile/compile-print.exp (compile print *vararray@3)
14053 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14054
14055 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14056
14057 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14058 (do not keep jit in memory): ... this.
14059 (expect 5): Change it to ...
14060 (expect no 5): ... this.
14061
14062 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14063
14064 PR gdb/15564
14065 * gdb.mi/mi-detach.exp: New file.
14066
14067 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14068
14069 PR symtab/18392
14070 * gdb.arch/amd64-tailcall-self.S: New file.
14071 * gdb.arch/amd64-tailcall-self.c: New file.
14072 * gdb.arch/amd64-tailcall-self.exp: New file.
14073
14074 2015-05-28 Don Breazeal <donb@codesourcery.com>
14075
14076 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14077 tests for remote targets by checking is_target_gdbserver.
14078
14079 2015-05-27 Doug Evans <dje@google.com>
14080
14081 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14082 * gdb.dwarf2/opaque-type-lookup.c: New file.
14083 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14084
14085 2015-05-26 Doug Evans <dje@google.com>
14086
14087 * gdb.cp/iostream.cc: New file.
14088 * gdb.cp/iostream.exp: New file.
14089
14090 2015-05-26 Doug Evans <dje@google.com>
14091
14092 * gdb.dwarf2/dw2-op-call.exp: Update.
14093 * gdb.dwarf2/dw4-sig-types.exp: Update.
14094 * gdb.dwarf2/implptr.exp: Update.
14095 * gdb.mi/mi-cmd-param-changed.exp: Update.
14096
14097 2015-05-26 Doug Evans <dje@google.com>
14098
14099 * gdb.python/py-lazy-string.c: New file.
14100 * gdb.python/py-lazy-string.exp: New file.
14101 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14102 (main): Update. Add estring3.
14103 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14104 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14105
14106 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14107 Yao Qi <yao.qi@linaro.org>
14108
14109 * gdb.reverse/aarch64.c: New.
14110 * gdb.reverse/aarch64.exp: New.
14111
14112 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14113
14114 * lib/gdb.exp (supports_process_record): Return true for
14115 aarch64*-linux*.
14116 (supports_reverse): Likewise.
14117
14118 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14119
14120 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14121 Use with_test_prefix.
14122
14123 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14124
14125 * gdb.base/completion.exp: Add test for completion of layout
14126 names.
14127
14128 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14129
14130 * lib/gdb.exp (skip_tui_tests): New proc.
14131 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14132
14133 2015-05-19 Pedro Alves <palves@redhat.com>
14134
14135 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14136 Save the whole env array instead of just HOME. Unset HISTSIZE in
14137 the environment while testing. Restore whole environment
14138 afterwards.
14139
14140 2015-05-16 Doug Evans <xdje42@gmail.com>
14141
14142 * gdb.guile/scm-ports.c: New file.
14143 * gdb.guile/scm-ports.exp: Add memory port tests.
14144
14145 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14146
14147 * gdb.compile/compile-print.c: New file.
14148 * gdb.compile/compile-print.exp: New file.
14149
14150 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14151
14152 * gdb.compile/compile-ops.exp: Cast param to void.
14153 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14154 (compile code struct_object.selffield = &struct_object): Add xfail.
14155
14156 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14157
14158 * gdb.ada/arr_enum_with_gap: New testcase.
14159
14160 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14161
14162 * gdb.ada/byte_packed_arr: New testcase.
14163
14164 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14165
14166 * gdb.ada/pckd_neg: New testcase.
14167
14168 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14169
14170 PR gdb/17820
14171 * gdb.base/gdbinit-history.exp: New test.
14172 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14173 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14174
14175 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14176
14177 * gdb.python/py-xmethods.cc: Enhance test case.
14178 * gdb.python/py-xmethods.exp: New tests.
14179 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14180 function.
14181 (B_indexoper): Likewise.
14182 (global_dm_list) : Add new xmethod worker functions.
14183
14184 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14185
14186 * gdb.base/coredump-filter.exp: Correctly unset
14187 "coredump_var_addr" array.
14188
14189 2015-05-08 Pedro Alves <palves@redhat.com>
14190
14191 * gdb.server/non-existing-program.exp: Unset spawn_id.
14192
14193 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14194
14195 PR python/18291
14196 * gdb.python/py-xmethods.exp: Add tests.
14197
14198 2015-05-08 Yao Qi <yao.qi@linaro.org>
14199
14200 PR gdb/18208
14201 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14202 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14203 function set_coredump_filter, and remove remote_exec call.
14204 Remove argument ipid. Callers update.
14205 (top level): Don't get inferior's PID.
14206
14207 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14208
14209 * gdb.base/watch_thread_num.exp: Skip test on targets without
14210 access watchpoints.
14211
14212 2015-05-06 Pedro Alves <palves@redhat.com>
14213
14214 PR server/18081
14215 * gdb.server/non-existing-program.exp: New file.
14216
14217 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14218
14219 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14220
14221 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14222
14223 * gdb.ada/out_of_line_in_inlined: New testcase.
14224
14225 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14226
14227 * gdb.ada/var_rec_arr: New testcase.
14228
14229 2015-04-30 Yao Qi <yao.qi@linaro.org>
14230
14231 * gdb.base/break-idempotent.exp: If
14232 skip_hw_watchpoint_multi_tests returns true, skip the tests
14233 on "rwatch" and "awatch".
14234
14235 2015-04-30 Yao Qi <yao.qi@linaro.org>
14236
14237 * gdb.base/relativedebug.exp: Invoke gdb command
14238 "info sharedlibrary", and if libc.so doesn't have debug info,
14239 skip the test.
14240
14241 2015-04-29 Doug Evans <dje@google.com>
14242
14243 * gdb.python/py-xmethods.exp: Add ptype tests.
14244 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14245 get_result_type method.
14246
14247 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14248
14249 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14250 the target does not support hardware watchpoints.
14251
14252 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14253
14254 * gdb.base/break-always.exp: Abort testing if writing to memory
14255 causes an error.
14256
14257 2015-04-28 Doug Evans <dje@google.com>
14258
14259 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14260 * gdb.python/py-pp-registration.exp: ... here. New file.
14261 * gdb.python/py-pp-registration.c: New file.
14262 * gdb.python/py-pp-registration.py: New file.
14263
14264 2015-04-28 Doug Evans <dje@google.com>
14265
14266 * gdb.python/py-bad-printers.c: New file.
14267 * gdb.python/py-bad-printers.py: New file.
14268 * gdb.python/py-bad-printers.exp: New file.
14269
14270 2015-04-28 Sasha Smundak <asmundak@google.com>
14271
14272 * gdb.python/py-type.exp: New test.
14273
14274 2015-04-28 Andy Wingo <wingo@igalia.com>
14275
14276 * gdb.python/py-parameter.exp:
14277 * gdb.guile/scm-parameter.exp: Escape the path that we are
14278 matching against, as it might contain characters that are special
14279 to regular expressions.
14280
14281 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14282
14283 * gdb.ada/rec_comp: New testcase.
14284
14285 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14286
14287 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14288 before using it.
14289
14290 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14291
14292 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14293 new tests for verilog output.
14294
14295 2015-04-24 Yao Qi <yao.qi@linaro.org>
14296
14297 * boards/remote-gdbserver-on-localhost.exp: New file.
14298
14299 2015-04-23 Pedro Alves <palves@redhat.com>
14300
14301 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14302 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14303 "end of file", remove $inferior_spawn_id from the indirect list.
14304
14305 2015-04-23 Pedro Alves <palves@redhat.com>
14306
14307 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14308
14309 2015-04-23 Pedro Alves <palves@redhat.com>
14310
14311 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14312 on $any_spawn_id instead of only on $gdb_spawn_id.
14313
14314 2015-04-21 Pierre Muller <muller@sourceware.org>
14315
14316 PR pascal/17815
14317 * lib/pascal.exp (gpc_compile): Add new option "class".
14318 (fpc_compile): Likewise.
14319 * gdb.pascal/case-insensitive-symbols.pas: New file.
14320 * gdb.pascal/case-insensitive-symbols.exp: New file.
14321
14322 2015-04-20 Gary Benson <gbenson@redhat.com>
14323
14324 * gdb.base/attach.exp: Fix three extended remote failures.
14325
14326 2015-04-17 Gary Benson <gbenson@redhat.com>
14327
14328 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14329 the main executable over the remote protocol.
14330
14331 2015-04-16 Pedro Alves <palves@redhat.com>
14332
14333 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14334 a new gdbserver if gdbserver_reconnect_p is set.
14335
14336 2015-04-16 Pedro Alves <palves@redhat.com>
14337
14338 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14339 is set, don't exit gdbserver.
14340
14341 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14342
14343 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14344 appropriate .insn, such that an older assembler can be used.
14345 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14346 the z/Architecture instruction set on 31-bit targets as well.
14347
14348 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14349
14350 * gdb.go/handcall.exp: Remove all logic related to the first
14351 breakpoint and rely on go_runto_main instead.
14352 * gdb.go/strings.exp: Likewise.
14353 * gdb.go/unsafe.exp: Likewise.
14354 * gdb.go/hello.exp: Likewise. Also rename the remaining
14355 breakpoint marker to "breakpoint 1".
14356 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14357 * gdb.go/strings.go: Likewise.
14358 * gdb.go/unsafe.go: Likewise.
14359 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14360 "set breakpoint 2 here" and rename the remaining breakpoint marker
14361 to "breakpoint 1".
14362
14363 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14364
14365 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14366 if itertools.imap is not present.
14367 * gdb.python/py-objfile.exp: Add parentheses.
14368 * gdb.python/py-type.exp: Same.
14369 * gdb.python/py-unwind-maint.py: Same.
14370
14371 2015-04-15 Yao Qi <yao.qi@linaro.org>
14372
14373 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14374 of ":$ptr_size" and set its form explicitly.
14375
14376 2015-04-15 Pedro Alves <palves@redhat.com>
14377 Yao Qi <yao.qi@linaro.org>
14378
14379 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14380 timeout by factor of 4.
14381 (test_regular_watch): Likewise.
14382 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14383 * gdb.reverse/sigall-reverse.exp: Likewise.
14384 * gdb.reverse/until-precsave.exp: Likewise.
14385 * lib/gdb.exp (with_timeout_factor): New proc.
14386 (gdb_expect): Move some code to ...
14387 (get_largest_timeout): ... here. New procedure.
14388
14389 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14390
14391 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14392
14393 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14394
14395 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14396 to write to the .text section.
14397
14398 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14399
14400 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14401 Handle the case of targets that do not provide PID information.
14402
14403 2015-04-13 Yao Qi <yao.qi@linaro.org>
14404
14405 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14406 and use expect instead of gdb_expect.
14407
14408 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14409
14410 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14411 "coredump_var_addr" to avoid naming conflict with other testcases.
14412
14413 2015-04-10 Pedro Alves <palves@redhat.com>
14414
14415 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14416 gdb_test_sequence and gdb_assert.
14417
14418 2015-04-10 Pedro Alves <palves@redhat.com>
14419
14420 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14421 test messages that don't include the breakpoint address.
14422
14423 2015-04-10 Yao Qi <yao.qi@linaro.org>
14424
14425 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14426 false for some offset and width combinations which aren't
14427 supported by linux kernel.
14428
14429 2015-04-10 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14432 procedure, factored out from ...
14433 (top level): ... here. Add "set displaced-stepping" testing axis.
14434 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14435 parameter "displaced". Use it.
14436 (top level): Use foreach and add "set displaced-stepping" testing
14437 axis.
14438
14439 2015-04-10 Pedro Alves <palves@redhat.com>
14440
14441 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14442 Remove comment.
14443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14444 both the address of the instruction that triggers the watchpoint
14445 and the address of the instruction immediately after, and use
14446 those addresses for the test. Fix comment.
14447
14448 2015-04-10 Pedro Alves <palves@redhat.com>
14449
14450 * gdb.base/sigstep.exp (breakpoint_to_handler)
14451 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14452 Test "backtrace" in handler.
14453 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14454 (top level): Add new "displaced" test axis to
14455 breakpoint_to_handler, breakpoint_to_handler_entry and
14456 breakpoint_over_handler.
14457
14458 2015-04-10 Pedro Alves <palves@redhat.com>
14459
14460 PR gdb/18216
14461 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14462
14463 2015-04-10 Yao Qi <yao.qi@linaro.org>
14464
14465 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14466 (test_add_rn_pc): New function.
14467 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14468 (top level): Invoke test_add_rn_pc.
14469
14470 2015-04-10 Pedro Alves <palves@redhat.com>
14471
14472 PR gdb/13858
14473 * gdb.base/step-over-no-symbols.exp: New file.
14474
14475 2015-04-09 Andy Wingo <wingo@igalia.com>
14476
14477 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14478 after the Python tests.
14479
14480 2015-04-08 Keith Seitz <keiths@redhat.com>
14481
14482 PR python/16699
14483 * gdb.python/py-completion.exp: New tests for completion.
14484 * gdb.python/py-completion.py (CompleteLimit1): New class.
14485 (CompleteLimit2): Likewise.
14486 (CompleteLimit3): Likewise.
14487 (CompleteLimit4): Likewise.
14488 (CompleteLimit5): Likewise.
14489 (CompleteLimit6): Likewise.
14490 (CompleteLimit7): Likewise.
14491
14492 2015-04-08 Pedro Alves <palves@redhat.com>
14493
14494 PR gdb/18214
14495 PR gdb/18216
14496 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14497 function.
14498 (main): Install it as SIGUSR1 handler.
14499 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14500 parameter. Always use "setup" as prefix. Toggle "set
14501 displaced-stepping" off/on depending on global. Don't switch to
14502 thread 1 here.
14503 (top level): Add displaced stepping "off/on" test axis. Update
14504 "setup" calls. Wrap each subtest with with_test_prefix. Test
14505 continuing with a queued signal in each thread.
14506
14507 2015-04-08 Pedro Alves <palves@redhat.com>
14508
14509 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14510 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14511 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14512 Return early if running to main fails.
14513 * gdb.trace/while-stepping.exp: Likewise.
14514
14515 2015-04-07 Pedro Alves <palves@redhat.com>
14516
14517 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14518 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14519 interact with inferior program.
14520
14521 2015-04-07 Pedro Alves <palves@redhat.com>
14522
14523 * lib/gdb.exp (inferior_spawn_id): New global.
14524 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14525 spawn id after processing the user code.
14526 (default_gdb_start): Set inferior_spawn_id.
14527 (send_inferior): New procedure.
14528 * lib/gdbserver-support.exp (gdbserver_start): Set
14529 inferior_spawn_id.
14530 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14531
14532 2015-04-07 Pedro Alves <palves@redhat.com>
14533
14534 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14535 * lib/gdbserver-support.exp (gdbserver_start): Make
14536 $server_spawn_id global.
14537 (gdbserver_start): Don't wait for gdbserver's spawn id with
14538 expect_background.
14539 (close_gdbserver): New procedure.
14540 (gdb_exit): Rename the default version and reimplement.
14541
14542 2015-04-07 Pedro Alves <palves@redhat.com>
14543
14544 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14545 append the substituted item, not the original item.
14546
14547 2015-04-07 Pedro Alves <palves@redhat.com>
14548
14549 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14550 gdb_expect.
14551
14552 2015-04-07 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14555 output appearing once only.
14556
14557 2015-04-07 Pedro Alves <palves@redhat.com>
14558
14559 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14560 that doesn't expect anything. Return early if running to main
14561 fails.
14562
14563 2015-04-07 Yao Qi <yao.qi@linaro.org>
14564
14565 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14566 (child_function): Call alarm.
14567 (main): Move call to alarm into the loop.
14568 * gdb.threads/non-stop-fair-events.exp: Build program with
14569 -DTIMEOUT=$timeout.
14570
14571 2015-04-06 Doug Evans <xdje42@gmail.com>
14572
14573 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14574 Fix dest parameter to board_info.
14575 (fpc_compile): Ditto.
14576 (gdb_compile_pascal): Rename dest arg to destfile.
14577
14578 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14579
14580 * gdb.ada/funcall_ref.exp: New file.
14581 * gdb.ada/funcall_ref/foo.adb: New file.
14582
14583 2015-04-02 Yao Qi <yao.qi@linaro.org>
14584
14585 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14586 is remote.
14587
14588 2015-04-02 Gary Benson <gbenson@redhat.com>
14589
14590 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14591
14592 2015-04-01 Sasha Smundak <asmundak@google.com>
14593
14594 * gdb.python/py-unwind-maint.c: New file.
14595 * gdb.python/py-unwind-maint.exp: New test.
14596 * gdb.python/py-unwind-maint.py: New file.
14597 * gdb.python/py-unwind.c: New file.
14598 * gdb.python/py-unwind.exp: New test.
14599 * gdb.python/py-unwind.py: New test.
14600
14601 2015-04-01 Pedro Alves <palves@redhat.com>
14602
14603 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14604 to fail instead of non-existent $test.
14605
14606 2015-04-01 Pedro Alves <palves@redhat.com>
14607
14608 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14609 GDBFLAGS if not empty.
14610
14611 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14612
14613 * gdb.ada/complete.exp: Remove "multi_line".
14614 * gdb.ada/info_exc.exp: Remove "multi_line".
14615 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14616 * gdb.ada/ptype_field.exp: Remove "multi_line".
14617 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14618 * gdb.ada/tagged.exp: Remove "multi_line".
14619 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14620 [multi_line ...]
14621 * gdb.btrace/delta.exp: Likewise.
14622 * gdb.btrace/exception.exp: Likewise.
14623 * gdb.btrace/function_call_history.exp: Likewise.
14624 * gdb.btrace/instruction_history.exp: Likewise.
14625 * gdb.btrace/nohist.exp: Likewise.
14626 * gdb.btrace/record_goto.exp: Likewise.
14627 * gdb.btrace/segv.exp: Likewise.
14628 * gdb.btrace/stepi.exp: Likewise.
14629 * gdb.btrace/tailcall.exp: Likewise.
14630 * gdb.btrace/unknown_functions.exp: Likewise.
14631 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14632 * lib/gdb.exp: Add the "multi_line" helper.
14633
14634 2015-04-01 Pedro Alves <palves@redhat.com>
14635
14636 * gdb.threads/tid-reuse.c: New file.
14637 * gdb.threads/tid-reuse.exp: New file.
14638
14639 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14640
14641 PR corefiles/16092
14642 * gdb.base/coredump-filter.c: New file.
14643 * gdb.base/coredump-filter.exp: Likewise.
14644
14645 2015-03-27 Petr Machata <pmachata@redhat.com>
14646
14647 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14648 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14649 (Dwarf::assemble): Initialize them.
14650 (Dwarf::lines): New function.
14651
14652 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14653
14654 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14655 SYMBOL_PREFIX for x86_64-*-cygwin.
14656
14657 2015-03-26 Andy Wingo <wingo@igalia.com>
14658
14659 PR symtab/18148
14660 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14661 const_value but not a location.
14662 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14663 location defined in non-main CUs are visible.
14664
14665 2015-03-26 Yao Qi <yao.qi@linaro.org>
14666
14667 PR testsuite/18139
14668 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14669 Add a line number entry for the same line.
14670 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14671 Add a line number entry for the same line.
14672
14673 2015-03-26 Yao Qi <yao.qi@linaro.org>
14674
14675 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14676 .int 0.
14677 (func): Likewise. Add .Lfunc_1 label.
14678 Use .Lfunc_1 label.
14679 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14680 .int 0.
14681 (func): Likewise.
14682 Use .Lfunc_1 label.
14683
14684 2015-03-26 Yao Qi <yao.qi@linaro.org>
14685
14686 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14687 Call gdb_compile instead to compile each .s files without debug
14688 information.
14689
14690 2015-03-26 Yao Qi <yao.qi@linaro.org>
14691
14692 * gdb.base/savedregs.exp (process_saved_regs): Make
14693 "Saved registers:" optional in the pattern.
14694
14695 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14696
14697 * gdb.btrace/next.exp: Merged into step.exp.
14698 * gdb.btrace/finish.exp: Merged into step.exp.
14699 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14700 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14701 "record goto" and checking the exact replay position.
14702 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14703 check for "Recording format" in "info record" output.
14704 * gdb.btrace/record_goto.exp: Choose test file based on target.
14705 * gdb.btrace/x86-record_goto.S: Renamed into ...
14706 * gdb.btrace/x86_64-record_goto.S: ... this.
14707 * gdb.btrace/i686-record_goto.S: New.
14708 * gdb.btrace/x86-tailcall.S: Renamed into ...
14709 * gdb.btrace/x86_64-tailcall.S: ... this.
14710 * gdb.btrace/i686-tailcall.S: New.
14711 * gdb.btrace/x86-tailcall.c: Renamed into ...
14712 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14713 separate statements. Update test.
14714 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14715 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14716 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14717 * gdb.btrace/tailcall.exp: Choose test file based on target.
14718 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14719
14720 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14721
14722 * gdb.btrace/exception.exp: Increase BTS buffer size.
14723
14724 2015-03-24 Pedro Alves <palves@redhat.com>
14725
14726 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14727
14728 2015-03-24 Pedro Alves <palves@redhat.com>
14729
14730 * gdb.threads/schedlock.exp (test_step): No longer expect that
14731 "set scheduler-locking step" with "next" over a function call runs
14732 threads unlocked.
14733
14734 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14735
14736 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14737
14738 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14739
14740 PR breakpoints/16466
14741 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14742 * gdb.mi/mi-pending.c (thread_func): New function.
14743 (int main): Add threading support required.
14744 * gdb.mi/mi-pending.exp: Add tests for this issue.
14745 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14746 (pendfunc2): Remove stdio dependency.
14747 * gdb.mi/mi-pendshr2.c: New file.
14748
14749 2015-03-23 Keith Seitz <keiths@redhat.com>
14750
14751 * gdb.linespec/keywords.c: New file.
14752 * gdb.linespec/keywords.exp: New file.
14753
14754 2015-03-23 Keith Seitz <keiths@redhat.com>
14755
14756 PR gdb/18021
14757 * gdb.dwarf2/staticvirtual.exp: New test.
14758
14759 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14760
14761 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14762 * README: Remove HP-UX and gdb.hp.
14763 (configuration):
14764 * configure: Regenerate.
14765 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14766 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14767 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14768 gdb.hp/gdb.defects/Makefile.
14769 * gdb.hp/Makefile.in: File deleted.
14770 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14771 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14772 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14773 * gdb.hp/gdb.aCC/run.c: File deleted.
14774 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14775 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14776 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14777 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14778 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14779 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14780 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14781 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14782 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14783 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14784 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14785 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14786 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14787 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14788 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14789 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14790 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14791 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14792 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14793 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14794 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14795 * gdb.hp/gdb.compat/average.c: File deleted.
14796 * gdb.hp/gdb.compat/sum.c: File deleted.
14797 * gdb.hp/gdb.compat/xdb.c: File deleted.
14798 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14799 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14800 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14801 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14802 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14803 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14804 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14805 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14806 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14807 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14808 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14809 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14810 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14811 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14812 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14813 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14814 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14815 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14816 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14817 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14818 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14819 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14820 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14821 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14822 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14823 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14824 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14825 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14826 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14827 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14828 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14829 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14830 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14831 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14832 * gdb.hp/tools/odump: File deleted.
14833
14834 2015-03-19 Pedro Alves <palves@redhat.com>
14835
14836 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14837 (saw_thread_3): New globals.
14838 (top level): Increment them when an event for the corresponding
14839 thread is seen.
14840 (no thread starvation): New test.
14841
14842 2015-03-19 Pedro Alves <palves@redhat.com>
14843
14844 * gdb.threads/continue-pending-status.c: New file.
14845 * gdb.threads/continue-pending-status.exp: New file.
14846
14847 2015-03-18 Pedro Alves <palves@redhat.com>
14848
14849 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14850 Use gdb_is_target_remote instead of is_remote. Use
14851 gdb_test_multiple instead of gdb_expect. Exit early if
14852 gdb_test_multiple hits its internal matches. Tighten stepi tests
14853 expected output. Fail on exit with any signal, instead of just
14854 SIGILL.
14855
14856 2015-03-18 Yao Qi <yao.qi@linaro.org>
14857
14858 PR tdep/18107
14859 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14860 variable.
14861 * gdb.base/catch-syscall.exp: Don't skip it on
14862 aarch64*-*-linux* target. Remove elements in all_syscalls.
14863 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14864 target.
14865 (setup_all_syscalls): New proc.
14866
14867 2015-03-16 Yao Qi <yao.qi@linaro.org>
14868
14869 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14870 (top level): Skip tests if valid_addr_p returns false for
14871 $cmd1 or $cmd2.
14872
14873 2015-03-11 Andy Wingo <wingo@igalia.com>
14874
14875 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14876
14877 2015-03-11 Yao Qi <yao.qi@linaro.org>
14878
14879 * gdb.base/catch-syscall.exp: Fix typo in comments.
14880
14881 2015-03-11 Yao Qi <yao.qi@linaro.org>
14882
14883 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14884
14885 2015-03-09 Pedro Alves <palves@redhat.com>
14886
14887 * dg-extract-results.py: Delete.
14888
14889 2015-03-09 Pedro Alves <palves@redhat.com>
14890
14891 Merge dg-extract-results.sh from GCC upstream (r218843).
14892
14893 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14894 * dg-extract-results.sh: Use --text with grep to avoid issues with
14895 binary files. Fall back to cat -v, if that doesn't work.
14896
14897 2015-03-05 Pedro Alves <palves@redhat.com>
14898
14899 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14900
14901 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14902
14903 * lib/mi-support.exp (mi_expect_interrupt): Accept
14904 alternative event for when in all-stop mode.
14905
14906 2015-03-04 Pedro Alves <palves@redhat.com>
14907
14908 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14909
14910 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14911
14912 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14913
14914 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14915
14916 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14917 regexps for GDB's current line display, accept a hex address
14918 preceding the line number.
14919
14920 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14921
14922 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14923 the 'arch1' variable for "s390*-linux*" targets.
14924
14925 2015-03-04 Pedro Alves <palves@redhat.com>
14926
14927 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14928 (main): Pass missing retval argument to pthread_join call.
14929
14930 2015-03-02 Pedro Alves <palves@redhat.com>
14931
14932 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14933 (top level): Call do_test with non-stop as well.
14934
14935 2015-03-02 Pedro Alves <palves@redhat.com>
14936
14937 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14938 -1.
14939
14940 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14941
14942 * gdb.arch/s390-vregs.exp: New test.
14943 * gdb.arch/s390-vregs.S: New file.
14944
14945 2015-02-27 Pedro Alves <palves@redhat.com>
14946
14947 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14948 call to catch_command_errors.
14949 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14950 catch_command_errors.
14951
14952 2015-02-27 Pedro Alves <palves@redhat.com>
14953
14954 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14955 "true" for boolean result.
14956 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14957 prototype of main.
14958
14959 2015-02-27 Pedro Alves <palves@redhat.com>
14960
14961 * lib/unbuffer_output.c: New file.
14962 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14963 (main): Call gdb_unbuffer_output.
14964
14965 2015-02-27 Yao Qi <yao.qi@linaro.org>
14966
14967 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14968 target.
14969
14970 2015-02-26 Doug Evans <dje@google.com>
14971
14972 * gdb.cp/class2.cc (Dbase, D): New classes.
14973 (main): New local delta.
14974 * gdb.cp/class2.exp: Test printing delta.
14975 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14976 (dynbar): New global.
14977 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14978
14979 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14980
14981 * gdb.compile/compile-ifunc.c: New file.
14982 * gdb.compile/compile-ifunc.exp: New file.
14983
14984 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14985
14986 * gdb.base/structs.exp: Check for correct struct on finish.
14987
14988 2015-02-26 Yao Qi <yao.qi@linaro.org>
14989
14990 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14991 is zero.
14992
14993 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14994
14995 * gdb.arch/cordic.ko.bz2: New file.
14996 * gdb.arch/cordic.ko.debug.bz2: New file.
14997 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14998
14999 2015-02-25 Yao Qi <yao.qi@linaro.org>
15000
15001 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15002 aarch64*-*-* target.
15003
15004 2015-02-23 Pedro Alves <palves@redhat.com>
15005
15006 * lib/gdb.exp (delete_breakpoints): Rewrite using
15007 gdb_test_multiple.
15008
15009 2015-02-23 Pedro Alves <palves@redhat.com>
15010
15011 * gdb.base/info-os.c: Include stdlib.h.
15012
15013 2015-02-22 Doug Evans <xdje42@gmail.com>
15014
15015 PR symtab/17855
15016 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15017 is read after symbols have been re-read.
15018 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15019 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15020
15021 2015-02-21 Doug Evans <dje@google.com>
15022
15023 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15024
15025 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15026
15027 PR corefiles/17808
15028 * gdb.arch/i386-biarch-core.core.bz2: New file.
15029 * gdb.arch/i386-biarch-core.exp: New file.
15030
15031 2015-02-21 Pedro Alves <palves@redhat.com>
15032
15033 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15034 runto_main fails.
15035
15036 2015-02-20 Pedro Alves <palves@redhat.com>
15037
15038 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15039 info probes.
15040
15041 2015-02-20 Pedro Alves <palves@redhat.com>
15042
15043 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15044
15045 2015-02-20 Pedro Alves <palves@redhat.com>
15046
15047 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15048 clean_restart before gdb_target_supports_trace.
15049
15050 2015-02-20 Pedro Alves <palves@redhat.com>
15051
15052 PR threads/18006
15053 * gdb.threads/clone-thread_db.c: New file.
15054 * gdb.threads/clone-thread_db.exp: New file.
15055
15056 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15057
15058 PR breakpoints/16812
15059 * gdb.base/catch-gdb-caused-signals.c: New file.
15060 * gdb.base/catch-gdb-caused-signals.exp: New file.
15061
15062 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15063
15064 * configure: Regenerated.
15065 * configure.ac: Use GDB_AC_TRANSFORM.
15066 * aclocal.m4: sinclude ../transform.m4.
15067
15068 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15069
15070 * lib/dtrace.exp: New file.
15071 * gdb.base/dtrace-probe.exp: Likewise.
15072 * gdb.base/dtrace-probe.d: Likewise.
15073 * gdb.base/dtrace-probe.c: Likewise.
15074 * lib/pdtrace.in: Likewise.
15075 * configure.ac: Output variables with the transformed names of
15076 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15077 * configure: Regenerated.
15078
15079 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15080
15081 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15082 expected message when trying to access $_probe_* convenience
15083 variables while not on a probe.
15084
15085 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15086
15087 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15088
15089 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15090
15091 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15092 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15093
15094 2015-02-10 Doug Evans <xdje42@gmail.com>
15095
15096 * lib/gdb.exp (gdb_load): Always return a result.
15097
15098 2015-02-10 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.threads/signal-sigtrap.c: New file.
15101 * gdb.threads/signal-sigtrap.exp: New file.
15102
15103 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15104
15105 * gdb.trace/no-attach-trace.c: New file.
15106 * gdb.trace/no-attach-trace.exp: New file.
15107
15108 2015-02-09 Mark Wielaard <mjw@redhat.com>
15109
15110 * gdb.dwarf2/atomic.c: New file.
15111 * gdb.dwarf2/atomic-type.exp: Likewise.
15112
15113 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15114
15115 * gdb.btrace/buffer-size.exp: Update "info record" output.
15116 * gdb.btrace/delta.exp: Update "info record" output.
15117 * gdb.btrace/enable.exp: Update "info record" output.
15118 * gdb.btrace/finish.exp: Update "info record" output.
15119 * gdb.btrace/instruction_history.exp: Update "info record" output.
15120 * gdb.btrace/next.exp: Update "info record" output.
15121 * gdb.btrace/nexti.exp: Update "info record" output.
15122 * gdb.btrace/step.exp: Update "info record" output.
15123 * gdb.btrace/stepi.exp: Update "info record" output.
15124 * gdb.btrace/nohist.exp: Update "info record" output.
15125
15126 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15127
15128 * gdb.btrace/buffer-size: New.
15129
15130 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15131
15132 * gdb.btrace/delta.exp: Update "info record" output.
15133 * gdb.btrace/enable.exp: Update "info record" output.
15134 * gdb.btrace/finish.exp: Update "info record" output.
15135 * gdb.btrace/instruction_history.exp: Update "info record" output.
15136 * gdb.btrace/next.exp: Update "info record" output.
15137 * gdb.btrace/nexti.exp: Update "info record" output.
15138 * gdb.btrace/step.exp: Update "info record" output.
15139 * gdb.btrace/stepi.exp: Update "info record" output.
15140 * gdb.btrace/nohist.exp: Update "info record" output.
15141
15142 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15143
15144 PR gdb/15678
15145 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15146
15147 2015-02-06 Pedro Alves <palves@redhat.com>
15148
15149 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15150 macro.
15151 (seconds_left, again): New globals.
15152 (main): Wait seconds_left in a 1-second sleep loop instead of
15153 sleeping 180 seconds. If 'again' is set, reset the seconds
15154 counter.
15155 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15156 'again' in the inferior before detaching. Print the seconds left.
15157 (options): New global.
15158 (top level): Build program with -DTIMEOUT=$timeout.
15159
15160 2015-02-06 Pedro Alves <palves@redhat.com>
15161
15162 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15163 determine how many seconds to pass to 'alarm'.
15164 * gdb.base/gdb-sigterm.exp (top level): Build program with
15165 -DTIMEOUT=$timeout.
15166 (do_test): Return success/failure indication. Add more verbose
15167 logging. Don't fail if 200 single steps are seen. Instead, fail
15168 when the test times out.
15169 (passes): New global.
15170 (top level): Break the testing loop if testing fails on any
15171 iteration. Use gdb_assert.
15172
15173 2015-02-04 Don Breazeal <donb@codesourcery.com>
15174
15175 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15176 and initialize them.
15177 (ipc_cleanup): New function.
15178 (main): Don't declare shmid, semid, and msqid. Add a call to
15179 atexit so that we call ipc_cleanup on exit.
15180
15181 2015-02-04 Pedro Alves <palves@redhat.com>
15182
15183 * boards/native-extended-gdbserver.exp: Remove any target variant
15184 specifications from the board name before clearing the isremote
15185 flag from board_info.
15186
15187 2015-01-31 Doug Evans <xdje42@gmail.com>
15188
15189 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15190
15191 2015-01-31 Gary Benson <gbenson@redhat.com>
15192
15193 * gdb.base/completion.exp: Disable completion limiting for
15194 existing tests. Add new tests to check completion limiting.
15195 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15196
15197 2015-01-31 Doug Evans <xdje42@gmail.com>
15198
15199 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15200
15201 2015-01-31 Doug Evans <xdje42@gmail.com>
15202
15203 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15204 entries. Duplicate file section script entries.
15205 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15206 inlined entries. Add test for safe-path rejection.
15207 * gdb.python/py-section-script.c: Add duplicate inlined section script
15208 entries. Duplicate file section script entries.
15209 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15210 inlined entries. Add test for safe-path rejection.
15211
15212 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15213
15214 * gdb.ada/disc_arr_bound: New testcase.
15215
15216 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15217
15218 * gdb.ada/mi_var_array: New testcase.
15219
15220 2015-01-27 Doug Evans <dje@google.com>
15221
15222 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15223 Add test for objfile.filename, objfile.username after objfile
15224 has been unloaded.
15225
15226 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15227
15228 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15229 the second test to print the name attribute of value
15230 returned by the call to gdb.lookup_type, and adjust
15231 the expected output accordingly.
15232
15233 2015-01-25 Mark Wielaard <mjw@redhat.com>
15234
15235 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15236 * gdb.base/disp-step-fork.c: Include unistd.h.
15237 * gdb.base/siginfo-obj.c: Include stdio.h.
15238 * gdb.base/siginfo-thread.c: Likewise.
15239 * gdb.mi/non-stop.c: Include unistd.h.
15240 * gdb.mi/nsthrexec.c: Include stdio.h.
15241 * gdb.mi/pthreads.c: Include unistd.h.
15242 * gdb.modula2/unbounded1.c (main): Declare returns int.
15243 * gdb.reverse/consecutive-reverse.c: Likewise.
15244 * gdb.threads/create-fail.c: Include unistd.h.
15245 * gdb.threads/killed.c: Likewise.
15246 * gdb.threads/linux-dp.c: Likewise.
15247 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15248 * gdb.threads/non-ldr-exc-2.c: Likewise.
15249 * gdb.threads/non-ldr-exc-3.c: Likewise.
15250 * gdb.threads/non-ldr-exc-4.c: Likewise.
15251 * gdb.threads/pthreads.c: Include unistd.h.
15252 (main): Declare returns int.
15253 * gdb.threads/tls-main.c (foo): New declaration.
15254 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15255
15256 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15257
15258 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15259 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15260
15261 2015-01-15 Mark Wielaard <mjw@redhat.com>
15262
15263 * gdb.base/noreturn-return.c: New file.
15264 * gdb.base/noreturn-return.exp: New file.
15265 * gdb.base/noreturn-finish.c: New file.
15266 * gdb.base/noreturn-finish.exp: New file.
15267
15268 2015-01-23 Pedro Alves <palves@redhat.com>
15269
15270 * gdb.threads/continue-pending-after-query.c: New file.
15271 * gdb.threads/continue-pending-after-query.exp: New file.
15272
15273 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15274 Simon Marchi <simon.marchi@ericsson.com>
15275
15276 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15277 * gdb.base/valgrind-db-attach.exp: Same.
15278 * gdb.base/valgrind-infcall.exp: Same.
15279 * lib/mi-support.exp (default_mi_gdb_start): Same.
15280 * lib/prompt.exp (default_prompt_gdb_start): Same.
15281 * lib/gdb.exp (default_gdb_spawn): Same.
15282 (gdb_interact): New.
15283
15284
15285 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15286
15287 * gdb.compile/compile.exp (pointer to jit function): New test.
15288
15289 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15290
15291 * lib/gdb.exp (supports_process_record): Return true for
15292 powerpc*-*-linux*.
15293 (supports_reverse): Likewise.
15294
15295 2015-01-15 Don Breazeal <donb@codesourcery.com>
15296
15297 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15298 instead of checking whether the target board is remote and
15299 use spawn_wait_for_attach instead of exec/sleep.
15300 * gdb.base/attach-twice.exp: Likewise.
15301
15302 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15303
15304 * gdb.ada/var_arr_attrs: New testcase.
15305
15306 2015-01-14 Pedro Alves <palves@redhat.com>
15307 Joel Brobecker <brobecker@adacore.com>
15308
15309 PR gdb/17525
15310 * gdb.base/bp-cmds-execution-x-script.c: New file.
15311 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15312 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15313
15314 2015-01-14 Pedro Alves <palves@redhat.com>
15315
15316 PR cli/17828
15317 * gdb.base/batch-preserve-term-settings.c: New file.
15318 * gdb.base/batch-preserve-term-settings.exp: New file.
15319
15320 2015-01-13 Doug Evans <dje@google.com>
15321
15322 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15323 binary.
15324
15325 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15326
15327 * Makefile.in (clean mostlyclean): Do not delete *.py.
15328
15329 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15330
15331 * gdb.python/py-lookup-type.exp: New file.
15332
15333 2015-01-12 Pedro Alves <palves@redhat.com>
15334
15335 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15336 restore GDBFLAGS before returning.
15337
15338 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15339
15340 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15341 is_amd64_regs_target and is_x86_like_target.
15342
15343 2015-01-11 Doug Evans <xdje42@gmail.com>
15344
15345 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15346 is given without an explicit form.
15347 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15348 attributes.
15349 * gdb.dwarf/corrupt.exp: Ditto.
15350 * gdb.dwarf2/enum-type.exp: Ditto.
15351 * gdb.trace/entry-values.exp: Ditto.
15352 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15353
15354 2015-01-11 Doug Evans <xdje42@gmail.com>
15355
15356 PR gdb/15830
15357 * gdb.base/maint.exp: Remove references to "maint demangle".
15358 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15359 Add tests for explicitly specifying language to demangle.
15360 * gdb.dlang/demangle.exp: Ditto.
15361
15362 2015-01-09 Pedro Alves <palves@redhat.com>
15363
15364 * gdb.threads/non-stop-fair-events.c: New file.
15365 * gdb.threads/non-stop-fair-events.exp: New file.
15366
15367 2015-01-09 Pedro Alves <palves@redhat.com>
15368
15369 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15370 the global scope. Set a breakpoint after all threads are started
15371 rather than stepping over two source lines. Expect the prompt.
15372 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15373 global.
15374 (NUM): Now 15.
15375 (main): Use threads_started_barrier to wait for all threads to
15376 start. Main thread no longer calls thread_function. Exit after
15377 180 seconds.
15378 (loop): New function.
15379 (thread_function): Wait on threads_started_barrier barrier. Call
15380 'loop' at each iteration.
15381 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15382 threads have started, instead of hardcoding number of "next"
15383 steps. Use an access watchpoint instead of a write watchpoint.
15384
15385 2015-01-09 Pedro Alves <palves@redhat.com>
15386
15387 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15388 (thread_func): Wait on barrier.
15389 (main): Wait for all threads to start before stopping GDB.
15390 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15391 global.
15392 (thread1_func, thread2_func): Wait on barrier.
15393 (main): Wait for all threads to start before stopping GDB.
15394 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15395 New global.
15396 (thread1_func, thread2_func): Wait on barrier.
15397 (main): Wait for all threads to start before stopping GDB.
15398
15399 2015-01-09 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.threads/attach-many-short-lived-threads.c: New file.
15402 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15403
15404 2014-01-09 Pedro Alves <palves@redhat.com>
15405
15406 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15407 instead of to thread 2.
15408 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15409 Add barrier around each pthread_create call instead of around all
15410 calls.
15411 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15412 Set a break on thread_function and have the child threads hit it
15413 one at at a time.
15414
15415 2015-01-09 Pedro Alves <palves@redhat.com>
15416
15417 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15418 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15419 false.
15420 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15421 checking whether the target board is remote.
15422 * gdb.multi/multi-attach.exp: Likewise.
15423 * gdb.python/py-sync-interp.exp: Likewise.
15424 * gdb.server/ext-attach.exp: Likewise.
15425 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15426 tests that need to attach, instead of checking whether the target
15427 board is remote at the top of the file.
15428
15429 2015-01-08 Yao Qi <yao@codesourcery.com>
15430
15431 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15432
15433 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15434
15435 Fix testcase compilation.
15436 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15437
15438 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15439
15440 * gdb.python/py-type.exp: Add a couple test about empty
15441 array creation, and negative-length array creation.
15442
15443 2015-01-02 Doug Evans <xdje42@gmail.com>
15444
15445 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15446
15447 2015-01-02 Doug Evans <dje@google.com>
15448
15449 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15450
15451 2014-12-29 Yao Qi <yao@codesourcery.com>
15452
15453 * gdb.trace/entry-values.exp: Update comments. Rename variable
15454 bar_call_foo to returned_from_foo.
15455
15456 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15457
15458 PR gdb/17394
15459 * gdb.linespec/break-asm-file.c: New file.
15460 * gdb.linespec/break-asm-file.exp: New file.
15461 * gdb.linespec/break-asm-file0.s: New file.
15462 * gdb.linespec/break-asm-file1.s: New file.
15463
15464 2014-12-18 Nigel Stephens <nigel@mips.com>
15465 Maciej W. Rozycki <macro@codesourcery.com>
15466
15467 * gdb.base/float.exp: Handle the new output from "info float" on
15468 MIPS targets.
15469
15470 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15471
15472 Fix MinGW compilation.
15473 * gdb.compile/compile-ops.exp: Update untested message if
15474 !skip_compile_feature_tests.
15475 * gdb.compile/compile-setjmp.exp: Likewise.
15476 * gdb.compile/compile-tls.exp: Likewise.
15477 * gdb.compile/compile.exp: Likewise.
15478 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15479 supported on this host".
15480
15481 2014-12-16 Doug Evans <xdje42@gmail.com>
15482
15483 * boards/stabs.exp: New file.
15484
15485 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15486
15487 * gdb.base/completion.exp: Adjust to format changes of "maint
15488 print user-registers".
15489
15490 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15491
15492 PR server/17457
15493 * gdb.arch/aarch64-fp.c: New file.
15494 * gdb.arch/aarch64-fp.exp: New file.
15495
15496 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15497
15498 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15499 r210637, r210913, r211666, r215400, r215817).
15500
15501 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15502 * dg-extract-results.py: New file.
15503 * dg-extract-results.sh: Use it if the environment seems
15504 suitable.
15505
15506 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15507
15508 * dg-extract-results.py (parse_run): Handle warnings that
15509 are printed before a test harness is run.
15510
15511 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15512
15513 * dg-extract-results.py (Named): Remove __cmp__ method.
15514 (output_variation): Use a key to sort variation.harnesses.
15515
15516 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15517
15518 * dg-extract-results.py: For Python 3, force sys.stdout to
15519 handle surrogate escape sequences.
15520 (safe_open): New function.
15521 (output_segment, main): Use it.
15522
15523 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15524
15525 * dg-extract-results.py (Prog.result_re): Include options
15526 in test name.
15527
15528 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15529
15530 * dg-extract-results.py (output_variation): Always sort if
15531 do_sum.
15532
15533 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15534
15535 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15536 as long as we get pagination notifications.
15537
15538 2014-12-15 Jason Merrill <jason@redhat.com>
15539
15540 * Makefile.in (check-gdb.%): Restore.
15541 * README: Mention it.
15542
15543 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15544
15545 * gdb.ada/str_uninit: New testcase.
15546
15547 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15548
15549 PR symtab/17642
15550 * gdb.base/vla-stub-define.c: New file.
15551 * gdb.base/vla-stub.c: New file.
15552 * gdb.base/vla-stub.exp: New file.
15553
15554 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15555 Jan Kratochvil <jan.kratochvil@redhat.com>
15556 Tom Tromey <tromey@redhat.com>
15557
15558 * configure.ac: Add gdb.compile/.
15559 * configure: Regenerate.
15560 * gdb.compile/Makefile.in: New file.
15561 * gdb.compile/compile-ops.exp: New file.
15562 * gdb.compile/compile-ops.c: New file.
15563 * gdb.compile/compile-tls.c: New file.
15564 * gdb.compile/compile-tls.exp: New file.
15565 * gdb.compile/compile-constvar.S: New file.
15566 * gdb.compile/compile-constvar.c: New file.
15567 * gdb.compile/compile-mod.c: New file.
15568 * gdb.compile/compile-nodebug.c: New file.
15569 * gdb.compile/compile-setjmp-mod.c: New file.
15570 * gdb.compile/compile-setjmp.c: New file.
15571 * gdb.compile/compile-setjmp.exp: New file.
15572 * gdb.compile/compile-shlib.c: New file.
15573 * gdb.compile/compile.c: New file.
15574 * gdb.compile/compile.exp: New file.
15575 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15576
15577 2014-12-12 Tom Tromey <tromey@redhat.com>
15578
15579 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15580 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15581
15582 2014-12-12 Doug Evans <dje@google.com>
15583
15584 * lib/gdb-python.exp (get_python_valueof): New function.
15585 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15586
15587 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15588
15589 * gdb.base/completion.exp: Add test for completion of "info
15590 registers ".
15591
15592 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15593
15594 * gdb.base/func-ptrs.c: New file.
15595 * gdb.base/func-ptrs.exp: New file.
15596
15597 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15598
15599 PR breakpoints/17012
15600 * gdb.base/dprintf-detach.c: New file.
15601 * gdb.base/dprintf-detach.exp: New file.
15602
15603 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15604
15605 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15606 * lib/gdb.exp (target_is_gdbserver): New procedure.
15607
15608 2014-12-08 Doug Evans <dje@google.com>
15609
15610 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15611
15612 2014-12-05 Yao Qi <yao@codesourcery.com>
15613
15614 * gdb.guile/scm-error.exp: Remove the third argument to
15615 gdb_remote_download.
15616 * gdb.guile/scm-frame-args.exp: Likewise.
15617 * gdb.guile/scm-section-script.exp: Likewise.
15618
15619 2014-12-05 Yao Qi <yao@codesourcery.com>
15620
15621 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15622
15623 2014-12-04 Doug Evans <dje@google.com>
15624
15625 * gdb.python/py-objfile.exp: Add tests for
15626 objfile.add_separate_debug_file.
15627
15628 2014-12-04 Doug Evans <dje@google.com>
15629
15630 * lib/gdb.exp (get_build_id): New function.
15631 (build_id_debug_filename_get): Rewrite to use it.
15632 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15633
15634 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15635
15636 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15637 `method(long)', not just 0x0.
15638 * gdb.cp/nsalias.exp: Align code labels to 4.
15639 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15640 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15641 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15642 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15643 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15644 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15645
15646 2014-12-02 Doug Evans <dje@google.com>
15647
15648 PR symtab/17602
15649 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15650 * gdb.cp/anon-ns2.cc: ... here. New file.
15651 * gdb.cp/anon-ns.exp: Update.
15652
15653 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15654
15655 * gdb.python/py-events.py (inferior_call_handler): New.
15656 (register_changed_handler, memory_changed_handler): New.
15657 (test_events.invoke): Register new handlers.
15658 * gdb.python/py-events.exp: Add tests for inferior call,
15659 memory_changed and register_changed events.
15660
15661 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15662
15663 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15664 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15665 if the linker doesn't understand this.
15666
15667 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15668
15669 * gdb.python/python.exp: Change expected reply to help().
15670
15671 2014-12-01 Yao Qi <yao@codesourcery.com>
15672
15673 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15674 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15675 * configure: Re-generated.
15676
15677 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15678
15679 * gdb.cp/chained-calls.cc: New file.
15680 * gdb.cp/chained-calls.exp: New file.
15681 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15682
15683 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15684
15685 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15686 * gdb.dwarf2/symtab-producer.exp: Same.
15687 * gdb.gdb/python-interrupts.exp: Same.
15688 * gdb.gdb/python-selftest.exp: Same.
15689 * gdb.python/py-linetable.exp: Same.
15690 * gdb.python/py-type.exp: Same.
15691 * gdb.python/py-value-cc.exp: Same.
15692 * gdb.python/py-value.exp: Same.
15693
15694 2014-11-28 Yao Qi <yao@codesourcery.com>
15695
15696 * gdb.base/break-probes.exp: Match library name prefixed with
15697 sysroot.
15698
15699 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15700
15701 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15702 test expected output. Add parentheses for the call to print.
15703 Remove L suffix from integers.
15704
15705 2014-11-26 Doug Evans <dje@google.com>
15706
15707 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15708
15709 2014-11-22 Yao Qi <yao@codesourcery.com>
15710
15711 * gdb.trace/entry-values.c: Remove asms.
15712 (foo): Add foo_label.
15713 (bar): Add bar_label.
15714 * gdb.trace/entry-values.exp: Remove code computing foo's
15715 length and bar's length.
15716 (Dwarf::assemble): Invoke function_range for bar and use
15717 MACRO_AT_func for foo.
15718
15719 2014-11-22 Yao Qi <yao@codesourcery.com>
15720
15721 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15722 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15723 Use .Lgcc43_procstart instead of gcc43.
15724
15725 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15726
15727 * gdb.ada/n_arr_bound: New testcase.
15728
15729 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15730
15731 PR breakpoints/10737
15732 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15733 test_catch_syscall_multi_arch.
15734 (test_catch_syscall_multi_arch): New function.
15735
15736 2014-11-20 Doug Evans <xdje42@gmail.com>
15737
15738 * gdb.base/maint.exp: Update expected output.
15739
15740 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15741
15742 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15743 4-byte instruction on S390.
15744
15745 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15746
15747 * gdb.ada/arr_arr: New testcase.
15748
15749 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15750
15751 * gdb.ada/pkd_arr_elem: New Testcase.
15752
15753 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15754
15755 * gdb.reverse/break-precsave: Expect completion message for
15756 core file reads.
15757 * gdb.reverse/consecutive-precsave.exp: Likewise.
15758 * gdb.reverse/finish-precsave.exp: Likewise.
15759 * gdb.reverse/i386-precsave.exp: Likewise.
15760 * gdb.reverse/machinestate-precsave.exp: Likewise.
15761 * gdb.reverse/sigall-precsave.exp: Likewise.
15762 * gdb.reverse/solib-precsave.exp: Likewise.
15763 * gdb.reverse/step-precsave.exp: Likewise.
15764 * gdb.reverse/until-precsave.exp: Likewise.
15765 * gdb.reverse/watch-precsave.exp: Likewise.
15766
15767 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15768
15769 * gdb.base/bp-permanent.c: Include unistd.h.
15770 * gdb.python/py-framefilter-mi.c (main): Add return type.
15771 * gdb.python/py-framefilter.c (main): Likewise.
15772 * gdb.trace/actions-changed.c (main): Likewise.
15773
15774 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15775
15776 * gdb.mi/until.c: Add eye-catchers.
15777 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15778 line numbers.
15779
15780 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15781
15782 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15783 function header variants in break1.c.
15784 * gdb.base/ena-dis-br.exp: Likewise.
15785 * gdb.base/hbreak2.exp: Likewise.
15786 * gdb.reverse/until-precsave.exp: Drop references to removed
15787 non-prototype function header variants in ur1.c.
15788 * gdb.reverse/until-reverse.exp: Likewise.
15789
15790 2014-11-17 Petr Machata <pmachata@redhat.com>
15791
15792 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15793 ${_cu_offset_size} bytes abbrev offset.
15794
15795 2014-11-15 Doug Evans <xdje42@gmail.com>
15796
15797 PR symtab/17559
15798 * gdb.base/line-symtabs.exp: New file.
15799 * gdb.base/line-symtabs.c: New file.
15800 * gdb.base/line-symtabs.h: New file.
15801
15802 2014-11-14 Yao Qi <yao@codesourcery.com>
15803
15804 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15805 (func): Add label func_label.
15806 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15807 Replace low_pc and high_pc with MACRO_AT_range.
15808 Replace name, low_pc and high_pc with MACRO_AT_func.
15809
15810 2014-11-14 Yao Qi <yao@codesourcery.com>
15811
15812 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15813 Replace name, low_pc and high_pc with MACRO_AT_func.
15814
15815 2014-11-14 Yao Qi <yao@codesourcery.com>
15816
15817 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15818 produce debug information.
15819 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15820
15821 2014-11-14 Yao Qi <yao@codesourcery.com>
15822
15823 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15824 object and get function length.
15825 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15826 with MACRO_AT_func.
15827 (top-level): Replace gdb_compile and clean_restart with
15828 prepare_for_testing.
15829 * gdb.dwarf2/main.c (main): Add label main_label.
15830
15831 2014-11-14 Yao Qi <yao@codesourcery.com>
15832
15833 * lib/dwarf.exp (function_range): New procedure.
15834 (Dwarf::_handle_macro_at_func): New procedure.
15835 (Dwarf::_handle_macro_at_range): New procedure.
15836 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15837
15838 2014-11-14 Yao Qi <yao@codesourcery.com>
15839
15840 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15841 (_handle_attribute): New procedure.
15842
15843 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15844
15845 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15846 * gdb.base/call-sc.c (zed): Likewise.
15847 * gdb.base/checkpoint.c (main): Likewise.
15848 * gdb.base/dump.c (main): Likewise.
15849 * gdb.base/gcore.c (main): Likewise.
15850 * gdb.base/huge.c (main): Likewise.
15851 * gdb.base/multi-forks.c (main): Likewise.
15852 * gdb.base/pr10179-a.c (main): Likewise.
15853 * gdb.base/savedregs.c (main): Likewise.
15854 * gdb.base/sigaltstack.c (main): Likewise.
15855 * gdb.base/siginfo.c (main): Likewise.
15856 * gdb.base/structs.c (zed): Likewise.
15857 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15858 * gdb.mi/mi-syn-frame.c (main): Likewise.
15859 * gdb.mi/until.c (foo, main): Likewise.
15860 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15861 * gdb.base/solib-weak.c (foo): Declare.
15862 * gdb.base/attach-twice.c: Include stdio.h.
15863 * gdb.base/weaklib1.c: Likewise.
15864 * gdb.base/weaklib2.c: Likewise.
15865 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15866 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15867 unistd.h.
15868 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15869 * gdb.mi/mi-exit-code.c: Likewise.
15870 * gdb.base/break-interp-lib.c: Include string.h.
15871 * gdb.base/coremaker.c: Likewise.
15872 * gdb.base/testenv.c: Likewise.
15873 * gdb.python/py-finish-breakpoint.c: Likewise.
15874 * gdb.base/inferior-died.c: Include sys/wait.h.
15875 * gdb.base/fileio.c: Include time.h.
15876 * gdb.base/async-shell.c: Include unistd.h.
15877 * gdb.base/dprintf-non-stop.c: Likewise.
15878 * gdb.base/info-os.c: Likewise.
15879 * gdb.mi/mi-console.c: Likewise.
15880 * gdb.mi/watch-nonstop.c: Likewise.
15881 * gdb.python/py-events.c: Likewise.
15882 * gdb.base/async.c (baz): Move up before its invocation.
15883 * gdb.base/code_elim2.c (my_global_func): Likewise.
15884 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15885 * gdb.base/advance.c (func2): Likewise.
15886
15887 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15888
15889 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15890 variant.
15891 * gdb.base/annota3.c: Likewise.
15892 * gdb.base/async.c: Likewise.
15893 * gdb.base/average.c: Likewise.
15894 * gdb.base/call-ar-st.c: Likewise.
15895 * gdb.base/call-rt-st.c: Likewise.
15896 * gdb.base/call-sc.c: Likewise.
15897 * gdb.base/call-strs.c: Likewise.
15898 * gdb.base/ending-run.c: Likewise.
15899 * gdb.base/execd-prog.c: Likewise.
15900 * gdb.base/exprs.c: Likewise.
15901 * gdb.base/foll-exec.c: Likewise.
15902 * gdb.base/foll-fork.c: Likewise.
15903 * gdb.base/foll-vfork.c: Likewise.
15904 * gdb.base/funcargs.c: Likewise.
15905 * gdb.base/gcore.c: Likewise.
15906 * gdb.base/jump.c: Likewise.
15907 * gdb.base/langs0.c: Likewise.
15908 * gdb.base/langs1.c: Likewise.
15909 * gdb.base/langs2.c: Likewise.
15910 * gdb.base/mips_pro.c: Likewise.
15911 * gdb.base/nodebug.c: Likewise.
15912 * gdb.base/opaque0.c: Likewise.
15913 * gdb.base/opaque1.c: Likewise.
15914 * gdb.base/recurse.c: Likewise.
15915 * gdb.base/run.c: Likewise.
15916 * gdb.base/scope0.c: Likewise.
15917 * gdb.base/scope1.c: Likewise.
15918 * gdb.base/setshow.c: Likewise.
15919 * gdb.base/setvar.c: Likewise.
15920 * gdb.base/shmain.c: Likewise.
15921 * gdb.base/shr1.c: Likewise.
15922 * gdb.base/shr2.c: Likewise.
15923 * gdb.base/sigall.c: Likewise.
15924 * gdb.base/signals.c: Likewise.
15925 * gdb.base/so-indr-cl.c: Likewise.
15926 * gdb.base/solib2.c: Likewise.
15927 * gdb.base/structs.c: Likewise.
15928 * gdb.base/sum.c: Likewise.
15929 * gdb.base/vforked-prog.c: Likewise.
15930 * gdb.base/watchpoint.c: Likewise.
15931 * gdb.reverse/shr2.c: Likewise.
15932 * gdb.reverse/until-reverse.c: Likewise.
15933 * gdb.reverse/ur1.c: Likewise.
15934 * gdb.reverse/watch-reverse.c: Likewise.
15935
15936 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15937
15938 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15939 variant.
15940 * gdb.base/sepdebug.exp: Drop references to removed code.
15941
15942 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15943
15944 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15945 variant. Preserve original line numbering.
15946 * gdb.base/list1.c: Likewise.
15947
15948 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15949
15950 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15951 variant.
15952 * gdb.base/break1.c: Likewise.
15953 * gdb.base/break.exp: Drop references to removed code.
15954
15955 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15956
15957 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15958 variant.
15959
15960 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15961
15962 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15963
15964 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15965
15966 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15967 logic into perform_all_tests() and invoke it with and without
15968 function header prototypes.
15969 (do_function_calls): Remove conditional XFAIL for PR 5318.
15970 (rerun_and_prepare): Remove duplicate code.
15971 (perform_all_tests): New. Main logic moved here.
15972
15973 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15974
15975 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15976 code guarded by #ifdef NO_PROTOTYPES.
15977 (t_double_many_args): Likewise.
15978 (DEF_FUNC_MANY_ARGS_1): Likewise.
15979 (DEF_FUNC_VALUES_1): Likewise.
15980 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15981 guarded by #ifdef PROTOTYPES.
15982
15983 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15984
15985 * gdb.mi/mi-console.c: Add eye-catcher.
15986 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15987 instead of literal line number.
15988
15989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15990
15991 * gdb.base/shr2.c: Add eye-catcher.
15992 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15993 line number.
15994
15995 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15996
15997 * gdb.base/jump.c: Add eye-catchers.
15998 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15999 numbers.
16000
16001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16002
16003 * gdb.base/execd-prog.c: Add eye-catchers.
16004 * gdb.base/foll-exec.c: Likewise.
16005 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16006 line numbers.
16007
16008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16009
16010 * gdb.base/ending-run.c: Add eye-catchers.
16011 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16012 literal line numbers.
16013
16014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16015
16016 * gdb.base/call-rt-st.c: Add eye-catchers.
16017 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16018 literal line numbers.
16019
16020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16021
16022 * gdb.base/call-ar-st.c: Add eye-catchers.
16023 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16024 literal line numbers.
16025
16026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16027
16028 * gdb.base/average.c: Add eye-catchers.
16029 * gdb.base/sum.c: Likewise.
16030 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16031 regexps dynamically.
16032
16033 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16034
16035 * gdb.base/solib1.c: Add eye-catchers.
16036 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16037 literal line numbers.
16038
16039 2014-11-12 Pedro Alves <palves@redhat.com>
16040
16041 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16042 leader has exited.
16043
16044 2014-11-12 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.arch/i386-bp_permanent.c: New file.
16047 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16048 (srcfile): Set to i386-bp_permanent.c.
16049 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16050 that stepi does not execute the 'leave' instruction, instead of
16051 testing it does execute.
16052 * gdb.base/bp-permanent.c: New file.
16053 * gdb.base/bp-permanent.exp: New file.
16054
16055 2014-11-10 Doug Evans <xdje42@gmail.com>
16056
16057 PR symtab/17564
16058 * gdb.base/symtab-search-order.exp: New file.
16059 * gdb.base/symtab-search-order.c: New file.
16060 * gdb.base/symtab-search-order-1.c: New file.
16061 * gdb.base/symtab-search-order-shlib-1.c: New file.
16062
16063 2014-11-07 Pedro Alves <palves@redhat.com>
16064
16065 PR gdb/17511
16066 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16067 i?86-*-linux*.
16068
16069 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16070
16071 PR c++/17494
16072 * gdb.cp/pr17494.cc: New file.
16073 * gdb.cp/pr17494.exp: New file.
16074
16075 2014-11-02 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.python/python.exp: Get working directory and match the
16078 output of "set extended-prompt \\w " with it.
16079
16080 2014-10-30 Doug Evans <dje@google.com>
16081
16082 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16083 in objfiles.
16084 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16085 in progspaces.
16086
16087 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16088
16089 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16090 * gdb.base/realname-expand.exp: Likewise.
16091 * gdb.linespec/macro-relative.exp: Likewise.
16092
16093 2014-10-29 Pedro Alves <palves@redhat.com>
16094
16095 PR gdb/17408
16096 * gdb.threads/schedlock.c (some_function): New function.
16097 (call_function): New global.
16098 (MAYBE_CALL_SOME_FUNCTION): New macro.
16099 (thread_function): Call it.
16100 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16101 and use it instead of a global counter. Adjust all callers.
16102 (get_current_thread): Use "find current thread" for test message
16103 here rather than having all callers pass down the same string.
16104 (goto_loop): New procedure, factored out from ...
16105 (my_continue): ... this.
16106 (step_ten_loops): Change parameter from test message to command to
16107 use. Adjust.
16108 (list_count): Delete global.
16109 (check_result): New procedure, factored out from duplicate top
16110 level code.
16111 (continue tests): Wrap in with_test_prefix.
16112 (test_step): New procedure, factored out from duplicate top level
16113 code.
16114 (top level): Test "step" in combination with all scheduler-locking
16115 modes. Test "next" in combination with all scheduler-locking
16116 modes, and in combination with stepping over a function call or
16117 not.
16118 * gdb.threads/next-bp-other-thread.c: New file.
16119 * gdb.threads/next-bp-other-thread.exp: New file.
16120
16121 2014-10-29 Pedro Alves <palves@redhat.com>
16122
16123 PR python/17372
16124 * gdb.python/python.exp: Test a multi-line command that spawns
16125 interactive Python.
16126 * gdb.base/multi-line-starts-subshell.exp: New file.
16127
16128 2014-10-29 Yao Qi <yao@codesourcery.com>
16129
16130 * gdb.base/fileio.exp: Make directories on host.
16131
16132 2014-10-29 Yao Qi <yao@codesourcery.com>
16133
16134 * gdb.base/fileio.c (test_write): Close the file.
16135
16136 2014-10-28 Pedro Alves <palves@redhat.com>
16137
16138 PR gdb/12623
16139 * gdb.base/sigstep.c (no_handler): New global.
16140 (main): If 'no_handler is true, set the signal handlers to
16141 SIG_IGN.
16142 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16143 with_sw_watch and no_handler parameters. Handle them.
16144 (top level) <stepping over handler when stopped at a breakpoint
16145 test>: Add a test axis for testing with a software watchpoint, and
16146 another for testing with the signal handler set to SIG_IGN.
16147 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16148 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16149
16150 2014-10-28 Pedro Alves <palves@redhat.com>
16151
16152 PR gdb/17511
16153 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16154 * gdb.base/sigstep.exp (other_handler_location): New global.
16155 (advance): Support stepping into the signal handler, and running
16156 commands while in the handler.
16157 (in_handler_map): New global.
16158 (top level): In the advance test, add combinations for getting
16159 into the handler with stepping commands, and for running commands
16160 in the handler. Add comment descripting the advancei tests.
16161
16162 2014-10-28 Pedro Alves <palves@redhat.com>
16163
16164 * gdb.base/sigstep.exp: Use build_executable instead of
16165 prepare_for_testing.
16166 (top level): Move code that starts GDB, runs to main and creates a
16167 display to ...
16168 (restart): ... this new procedure.
16169 (top level): Move backtrace from signal handler test to ...
16170 (validate_backtrace): ... this new procedure.
16171 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16172 with_test_prefix. Always restart GDB.
16173 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16174 with_test_prefix. Always restart GDB. No need to delete
16175 breakpoints after the test.
16176 (test_skip_handler): Remove prefix parameter.
16177 (skip_over_handler, breakpoint_to_handler)
16178 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16179 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16180 restart GDB. No need to delete breakpoints after the test.
16181 (top level): Use foreach to call the test procedures with
16182 different commands.
16183
16184 2014-10-28 Pedro Alves <palves@redhat.com>
16185
16186 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16187 instead of GNATS numbers.
16188 * gdb.base/sigbpt.exp: Likewise.
16189 * gdb.base/siginfo.exp: Likewise.
16190 * gdb.base/sigstep.exp: Likewise.
16191
16192 2014-10-27 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.base/sigstep.c (dummy): New global.
16195 (main): Issue a couple writes to the new global.
16196 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16197 procedures.
16198 (skip_over_handler): Use test_skip_handler.
16199 (top level): Call skip_over_handler for stepi and nexti too.
16200 (breakpoint_over_handler): Use test_skip_handler.
16201 (top level): Call breakpoint_over_handler for stepi and nexti too.
16202
16203 2014-10-27 Yao Qi <yao@codesourcery.com>
16204
16205 * gdb.trace/tfile.c (adjust_function_address)
16206 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16207 function descriptor.
16208
16209 2014-10-24 Don Breazeal <donb@codesourcery.com>
16210
16211 * gdb.base/foll-fork.exp (test_follow_fork,
16212 catch_fork_child_follow): Check for updated fork messages emitted
16213 from infrun.c.
16214 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16215 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16216 vfork_and_exec_child_follow_through_step): Check for updated vfork
16217 messages emitted from infrun.c.
16218
16219 2014-10-24 Pedro Alves <palves@redhat.com>
16220
16221 * gdb.base/corefile.exp: Remove references to ultrix.
16222 * gdb.base/interrupt.exp: Likewise.
16223 * gdb.base/whatis.exp: Likewise.
16224 * gdb.gdb/selftest.exp: Likewise.
16225 * gdb.threads/manythreads.exp: Likewise.
16226 * gdb.threads/print-threads.exp: Likewise.
16227 * gdb.threads/pthreads.exp:: Likewise.
16228 * gdb.threads/schedlock.exp: Likewise.
16229
16230 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16231
16232 * gdb.cp/non-trivial-retval.cc: Add a test case.
16233 * gdb.cp/non-trivial-retval.exp: Add a test.
16234
16235 2014-10-20 Yao Qi <yao@codesourcery.com>
16236
16237 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16238 * gdb.python/py-objfile-script-gdb.py: New file.
16239 * gdb.python/py-objfile-script.exp: Update reference to
16240 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16241 of remote_download. Remove the dest file.
16242
16243 2014-10-20 Yao Qi <yao@codesourcery.com>
16244
16245 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16246 * gdb.base/step-line.exp: Likewise.
16247 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16248 * gdb.dwarf2/dw2-basic.exp: Likewise.
16249 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16250 * gdb.dwarf2/dw2-filename.exp: Likewise.
16251 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16252 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16253 * gdb.dwarf2/dw2-producer.exp: Likewise.
16254 * gdb.dwarf2/mac-fileno.exp: Likewise.
16255 * gdb.python/py-frame-args.exp: Likewise.
16256 * gdb.python/py-framefilter.exp: Likewise.
16257 * gdb.python/py-mi.exp: Likewise.
16258 * gdb.python/py-objfile-script.exp: Likewise
16259 * gdb.python/py-pp-integral.exp: Likewise.
16260 * gdb.python/py-pp-re-notag.exp: Likewise.
16261 * gdb.python/py-prettyprint.exp: Likewise.
16262 * gdb.python/py-section-script.exp: Likewise.
16263 * gdb.python/py-typeprint.exp: Likewise.
16264 * gdb.python/py-xmethods.exp: Likewise.
16265 * gdb.stabs/weird.exp: Likewise.
16266 * gdb.xml/tdesc-regs.exp: Likewise.
16267
16268 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16269
16270 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16271 (out_cu): Use addr_len for the size of addresses.
16272 (out_line): Likewise. Size DW_LNE_set_address instruction
16273 according to addr_len.
16274 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16275 (FUNC): Add START_INSNS to definition.
16276
16277 2014-10-18 Yao Qi <yao@codesourcery.com>
16278
16279 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16280 gdb_has_argv0 return true.
16281 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16282 check [target_info exists noargs], check [gdb_has_argv0]
16283 instead.
16284 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16285 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16286 procedures.
16287
16288 2014-10-17 Doug Evans <dje@google.com>
16289
16290 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16291 event.
16292 * gdb.python/py-events.py: Add clear_objfiles event.
16293
16294 2014-10-17 Doug Evans <dje@google.com>
16295
16296 * gdb.python/py-objfile.exp: Test progspace attribute.
16297
16298 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16299
16300 * gdb.guile/scm-breakpoint.exp: Do not assume any
16301 directory separators when matching source file paths.
16302 * gdb.python/py-breakpoint.exp: Likewise.
16303 * gdb.reverse/break-precsave.exp: Likewise.
16304 * gdb.reverse/break-reverse.exp: Likewise.
16305 * gdb.reverse/consecutive-precsave.exp: Likewise.
16306 * gdb.reverse/finish-precsave.exp: Likewise.
16307 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16308 * gdb.reverse/finish-reverse.exp: Likewise.
16309 * gdb.reverse/i386-precsave.exp: Likewise.
16310 * gdb.reverse/i387-env-reverse.exp: Likewise.
16311 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16312 * gdb.reverse/machinestate-precsave.exp: Likewise.
16313 * gdb.reverse/machinestate.exp: Likewise.
16314 * gdb.reverse/sigall-precsave.exp: Likewise.
16315 * gdb.reverse/solib-precsave.exp: Likewise.
16316 * gdb.reverse/step-precsave.exp: Likewise.
16317 * gdb.reverse/until-precsave.exp: Likewise.
16318 * gdb.reverse/watch-precsave.exp: Likewise.
16319 * gdb.reverse/watch-reverse.exp: Likewise.
16320
16321 2014-10-17 Yao Qi <yao@codesourcery.com>
16322
16323 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16324 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16325
16326 2014-10-17 Pedro Alves <palves@redhat.com>
16327
16328 PR gdb/17471
16329 * gdb.base/bg-execution-repeat.c: New file.
16330 * gdb.base/bg-execution-repeat.exp: New file.
16331
16332 2014-10-17 Pedro Alves <palves@redhat.com>
16333
16334 PR gdb/17300
16335 * gdb.base/continue-all-already-running.c: New file.
16336 * gdb.base/continue-all-already-running.exp: New file.
16337
16338 2014-10-17 Pedro Alves <palves@redhat.com>
16339
16340 PR gdb/17472
16341 * gdb.base/annota-input-while-running.c: New file.
16342 * gdb.base/annota-input-while-running.exp: New file.
16343
16344 2014-10-17 Pedro Alves <palves@redhat.com>
16345
16346 * gdb.base/callfuncs.exp: emove references to osf.
16347 * gdb.base/sigall.exp: Likewise.
16348 * gdb.gdb/selftest.exp: Likewise.
16349 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16350 * gdb.mi/non-stop.c: Likewise.
16351 * gdb.mi/pthreads.c: Likewise.
16352 * gdb.reverse/sigall-precsave.exp: Likewise.
16353 * gdb.reverse/sigall-reverse.exp: Likewise.
16354 * gdb.threads/pthreads.c: Likewise.
16355 * gdb.threads/pthreads.exp: Likewise.
16356
16357 2014-10-17 Yao Qi <yao@codesourcery.com>
16358
16359 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16360 check 'target_info exists noargs'.
16361 (test_command_prompt_position): Likewise.
16362 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16363 Remove "set args".
16364 (progvar_simple_while_test): Likewise.
16365 (progvar_complex_if_while_test): Likewise.
16366 (if_while_breakpoint_command_test): Likewise.
16367 (infrun_breakpoint_command_test): Likewise.
16368 (breakpoint_command_test): Likewise.
16369 (watchpoint_command_test): Likewise.
16370 (bp_deleted_in_command_test): Likewise.
16371 (temporary_breakpoint_commands): Likewise.
16372
16373 2014-10-16 Yao Qi <yao@codesourcery.com>
16374
16375 * gdb.base/remotetimeout.exp: Remove noargs checking.
16376
16377 2014-10-15 Pedro Alves <palves@redhat.com>
16378
16379 PR breakpoints/9649
16380 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16381 * gdb.base/breakpoint-in-ro-region.exp
16382 (probe_target_hardware_step): New procedure.
16383 (top level): Probe hardware stepping and hardware breakpoint
16384 support. Test stepping through a read-only region, with both
16385 "breakpoint auto-hw" on and off and both "always-inserted" on and
16386 off.
16387
16388 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16389
16390 * gdb.dlang/demangle.exp: Update for demangling changes.
16391
16392 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16393
16394 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16395 * gdb.cp/non-trivial-retval.exp: Add new tests.
16396
16397 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16398
16399 PR c++/13403
16400 PR c++/15154
16401 * gdb.cp/non-trivial-retval.cc: New file.
16402 * gdb.cp/non-trivial-retval.exp: New file.
16403
16404 2014-10-15 Yao Qi <yao@codesourcery.com>
16405
16406 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16407 remote host.
16408
16409 2014-10-15 Yao Qi <yao@codesourcery.com>
16410
16411 * gdb.python/py-symbol.exp: Match file base name if host is
16412 remote, otherwise match file name with dir name.
16413 * gdb.python/py-symtab.exp: Likewise.
16414 * gdb.python/python.exp: Likewise.
16415
16416 2014-10-15 Yao Qi <yao@codesourcery.com>
16417
16418 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16419 pattern.
16420 * gdb.python/py-symtab.exp: Likewise.
16421 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16422 locationn.
16423
16424 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16425
16426 * gdb.ada/addr_arith: New testcase.
16427
16428 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16429
16430 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16431 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16432 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16433 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16434
16435 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16436
16437 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16438 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16439 * gdb.arch/stap-eval-lang-ada.exp: New file.
16440
16441 2014-10-14 Yao Qi <yao@codesourcery.com>
16442
16443 * gdb.mi/mi-var-child.c (nothing1): New function.
16444 (nothing2): New function.
16445 (do_children_tests): Set function pointers by nothing1 and
16446 nothing2.
16447 * gdb.mi/mi-var-child.exp: Step over new added statements.
16448 Update test to match the new output.
16449 * gdb.mi/var-cmd.c (nothing1): New function.
16450 (nothing2): New function.
16451 (do_children_tests): Set function pointers by nothing1 and
16452 nothing2.
16453 * gdb.mi/mi-var-display.exp: Update test to match output.
16454 Step to the line specified by $line_dct_nothing.
16455 Increase the number of lines to step.
16456
16457 2014-10-14 Yao Qi <yao@codesourcery.com>
16458
16459 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16460 tests.
16461 * gdb.mi/mi2-var-child.exp: Likewise.
16462
16463 2014-10-13 Doug Evans <dje@google.com>
16464
16465 * gdb.python/py-objfile.exp: Change name of file name test.
16466
16467 2014-10-13 Doug Evans <dje@google.com>
16468
16469 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16470 from the start of the CU.
16471
16472 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16473 Yao Qi <yao@codesourcery.com>
16474
16475 Fix "save breakpoints" for "catch" command.
16476 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16477 Remove -nonewline. Match also the added "main" line.
16478
16479 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16480
16481 Fix "save breakpoints" for "disable $bpnum" command.
16482 * gdb.base/save-bp.c (main): Add label.
16483 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16484
16485 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16486
16487 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16488
16489 2014-10-11 Yao Qi <yao@codesourcery.com>
16490
16491 * gdb.server/server-kill.exp: Execute command
16492 "set remote trace-status-packet on" before "tstatus".
16493
16494 2014-10-11 Yao Qi <yao@codesourcery.com>
16495
16496 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16497 (main): Call getppid.
16498 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16499 and continue to it. Read variable "server_pid".
16500
16501 2014-10-11 Yao Qi <yao@codesourcery.com>
16502
16503 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16504
16505 2014-10-11 Yao Qi <yao@codesourcery.com>
16506
16507 * gdb.threads/thread-find.exp: Don't execute command
16508 "info threads".
16509 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16510 * gdb.threads/linux-dp.exp: Don't check the condition
16511 $threads_created equals to zero.
16512
16513 2014-10-10 Pedro Alves <palves@redhat.com>
16514
16515 * gdb.base/bigcore.exp: Remove references to IRIX.
16516 * gdb.base/funcargs.exp: Likewise.
16517 * gdb.base/interrupt.exp: Likewise.
16518 * gdb.base/mips_pro.exp: Likewise.
16519 * gdb.base/nodebug.exp: Likewise.
16520 * gdb.base/setvar.exp: Likewise.
16521 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16522
16523 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16524 Pedro Alves <palves@redhat.com>
16525
16526 PR symtab/14466
16527 * gdb.base/vdso-warning.c: New file.
16528 * gdb.base/vdso-warning.exp: New file.
16529
16530 2014-10-02 Doug Evans <dje@google.com>
16531
16532 * gdb.base/structs.c (main): Don't run forever.
16533
16534 2014-10-02 Pedro Alves <palves@redhat.com>
16535
16536 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16537 (top level) <stop threads 1, stop threads 2>: Use it.
16538
16539 2014-10-02 Pedro Alves <palves@redhat.com>
16540
16541 * gdb.threads/break-while-running.exp (test): Add new
16542 'update_thread_list' argument. Skip "info threads" if false.
16543 (top level): Add new 'update_thread_list' axis.
16544
16545 2014-10-02 Pedro Alves <palves@redhat.com>
16546
16547 PR breakpoints/17431
16548 * gdb.base/execl-update-breakpoints.c: New file.
16549 * gdb.base/execl-update-breakpoints.exp: New file.
16550
16551 2014-10-01 Pedro Alves <palves@redhat.com>
16552
16553 * gdb.base/breakpoint-in-ro-region.c: New file.
16554 * gdb.base/breakpoint-in-ro-region.exp: New file.
16555
16556 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16557
16558 * gdb.mi/mi-exit-code.exp: New file.
16559 * gdb.mi/mi-exit-code.c: New file.
16560
16561 2014-09-30 Yao Qi <yao@codesourcery.com>
16562
16563 * lib/prelink-support.exp (build_executable_own_libs): Error if
16564 the target isn't native.
16565
16566 2014-09-30 Yao Qi <yao@codesourcery.com>
16567
16568 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16569 false.
16570
16571 2014-09-22 Pedro Alves <palves@redhat.com>
16572
16573 * gdb.threads/break-while-running.exp: New file.
16574 * gdb.threads/break-while-running.c: New file.
16575
16576 2014-09-19 Yao Qi <yao@codesourcery.com>
16577
16578 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16579 Invoke test. Restart GDB with --readnow and invoke test again.
16580
16581 2014-09-19 Yao Qi <yao@codesourcery.com>
16582
16583 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16584 proc set_breakpoint_on_gcd_function. Invoke
16585 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16586 invoke set_breakpoint_on_gcd_function again.
16587
16588 2014-09-18 Doug Evans <dje@google.com>
16589
16590 * gdb.dwarf2/symtab-producer.exp: New file.
16591
16592 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16593
16594 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16595 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16596 * gdb.base/global-var-nested-by-dso.c: Likewise.
16597 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16598
16599 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16600 Pedro Alves <palves@redhat.com>
16601
16602 * gdb.base/watch-bitfields.exp: Pass string other than test file
16603 name to prepare_for_testing.
16604 (watch): New procedure.
16605 (expect_watchpoint): Use with_test_prefix.
16606 (top level): Factor out tests to ...
16607 (test_watch_location, test_regular_watch): ... these new
16608 procedures, and use with_test_prefix and gdb_continue_to_end.
16609
16610 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16611
16612 PR breakpoints/12526
16613 * gdb.base/watch-bitfields.exp: New file.
16614 * gdb.base/watch-bitfields.c: New file.
16615
16616 2014-09-16 Pedro Alves <palves@redhat.com>
16617
16618 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16619 software and hardware addresses, not software address against
16620 itself.
16621
16622 2014-09-16 Pedro Alves <palves@redhat.com>
16623
16624 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16625 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16626
16627 2014-09-16 Pedro Alves <palves@redhat.com>
16628
16629 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16630 files.
16631 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16632 "*-*-vxworks*" throughout.
16633 * gdb.base/break.exp: Likewise.
16634 * gdb.base/default.exp: Likewise.
16635 * gdb.base/scope.exp: Likewise.
16636 * gdb.base/sepdebug.exp: Likewise.
16637 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16638 throughout.
16639 * gdb.base/run.c: Likewise.
16640 * gdb.base/sepdebug.c: Likewise.
16641 * gdb.hp/gdb.aCC/run.c: Likewise.
16642 * gdb.reverse/until-reverse.c: Likewise.
16643 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16644
16645 2014-09-16 Yao Qi <yao@codesourcery.com>
16646
16647 * boards/local-remote-host-native.exp: New file.
16648
16649 2014-09-14 Doug Evans <xdje42@gmail.com>
16650
16651 * gdb.threads/queue-signal.c (thread_count): New variable.
16652 (thread_count_mutex, thread_count_condvar): New variables.
16653 (incr_thread_count, wait_all_threads_running): New functions.
16654 (main): Wait for all threads to be in their thread functions.
16655
16656 2014-09-13 Doug Evans <xdje42@gmail.com>
16657
16658 * gdb.threads/queue-signal.c: New file.
16659 * gdb.threads/queue-signal.exp: New file.
16660
16661 2014-09-13 Doug Evans <xdje42@gmail.com>
16662
16663 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16664 be consistent with what default_gdb_init uses.
16665 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16666 the plain text of the prompt. Add some logging printfs.
16667 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16668
16669 2014-09-12 Pedro Alves <palves@redhat.com>
16670
16671 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16672 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16673 * gdb.arch/i386-size-overlap.exp: Likewise.
16674 * gdb.arch/i386-size.exp: Likewise.
16675 * gdb.arch/i386-unwind.exp: Likewise.
16676 * gdb.base/a2-run.exp: Likewise.
16677 * gdb.base/break.exp: Likewise.
16678 * gdb.base/charset.exp: Likewise.
16679 * gdb.base/chng-syms.exp: Likewise.
16680 * gdb.base/commands.exp: Likewise.
16681 * gdb.base/dbx.exp: Likewise.
16682 * gdb.base/find.exp: Likewise.
16683 * gdb.base/funcargs.exp: Likewise.
16684 * gdb.base/jit-simple.exp: Likewise.
16685 * gdb.base/reread.exp: Likewise.
16686 * gdb.base/sepdebug.exp: Likewise.
16687 * gdb.base/step-bt.exp: Likewise.
16688 * gdb.cp/mb-inline.exp: Likewise.
16689 * gdb.cp/mb-templates.exp: Likewise.
16690 * gdb.objc/basicclass.exp: Likewise.
16691 * gdb.threads/killed.exp: Likewise.
16692
16693 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16694
16695 PR tdep/17379
16696 * gdb.arch/powerpc-stackless.S: New file.
16697 * gdb.arch/powerpc-stackless.exp: New file.
16698
16699 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16700
16701 * gdb.base/attach.c: Include unistd.h.
16702 (main): Call alarm. Add label postloop.
16703 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16704 gdb_breakpoint, gdb_continue_to_breakpoint.
16705 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16706
16707 2014-09-11 Pedro Alves <palves@redhat.com>
16708
16709 PR gdb/17347
16710 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16711 * gdb.base/attach.exp (test_command_line_attach_run): New
16712 procedure.
16713 (top level): Call it.
16714
16715 2014-09-11 Pedro Alves <palves@redhat.com>
16716
16717 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16718 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16719 (do_command_attach_tests): Use spawn_wait_for_attach.
16720 * gdb.base/solib-overlap.exp: Likewise.
16721 * gdb.multi/multi-attach.exp: Likewise.
16722 * gdb.python/py-prompt.exp: Likewise.
16723 * gdb.python/py-sync-interp.exp: Likewise.
16724 * gdb.server/ext-attach.exp: Likewise.
16725
16726 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16727
16728 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16729 command in testcase. Simplify testcase.
16730
16731 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16732
16733 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16734
16735 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16736
16737 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16738
16739 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16740
16741 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16742
16743 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16744
16745 * gdb.dwarf2/dynarr-ptr.c: New file.
16746 * gdb.dwarf2/dynarr-ptr.exp: New file.
16747
16748 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16749
16750 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16751 of 30 rather than hardcoding 120 for a slow test case. Take the
16752 `gdb,timeout' target setting into account for this calculation.
16753 Don't extend the timeout for the test cases that don't need it.
16754
16755 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16756
16757 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16758 a factor of 2 for a slow test case. Take the `gdb,timeout'
16759 target setting into account for this calculation.
16760 * gdb.reverse/until-precsave.exp: Increase the timeout by
16761 a factor of 15 and 3 respectively rather than adding 120
16762 for a pair of slow test cases. Take the `gdb,timeout'
16763 target setting into account for this calculation.
16764
16765 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16766
16767 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16768 timeout, don't pass one down to gdb_expect.
16769 (gdb_expect): Rework timeout selection.
16770
16771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16772
16773 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16774 exception on timeout.
16775 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16776 (gdbserver_start_extended): Catch any `gdbserver_start' error
16777 exceptions.
16778 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16779 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16780 `gdbserver_gdb_load' error exceptions.
16781
16782 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16783
16784 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16785 120 on waiting for the TCP socket to open.
16786
16787 2014-09-09 Doug Evans <xdje42@gmail.com>
16788
16789 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16790 _caller_matches, _any_caller_is, _any_caller_matches.
16791
16792 2014-09-09 Doug Evans <xdje42@gmail.com>
16793
16794 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16795
16796 2014-09-09 Yao Qi <yao@codesourcery.com>
16797
16798 * gdb.mi/mi-var-display.exp: Set print symbol off.
16799
16800 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16801
16802 PR gdb/17035
16803 * gdb.base/commands.exp: Add tests to verify user-defined
16804 commands with empty bodies.
16805 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16806 python commands in `show user command`.
16807 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16808 scheme commands in `show user command`.
16809
16810 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16811
16812 PR python/17355
16813 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16814 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16815 * gdb.python/py-framefilter-invalidarg.exp: New file.
16816 * gdb.python/py-framefilter-invalidarg.py: New file.
16817
16818 2014-09-06 Doug Evans <xdje42@gmail.com>
16819
16820 PR 15276
16821 * gdb.python/py-caller-is.c: New file.
16822 * gdb.python/py-caller-is.exp: New file.
16823
16824 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16825
16826 PR gdb/17235
16827 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16828 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16829
16830 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16831
16832 PR fortran/17237
16833 * gdb.fortran/print-formatted.exp: New file.
16834 * gdb.fortran/print-formatted.f90: Likewise.
16835
16836 2014-09-03 Sasha Smundak <asmundak@google.com>
16837
16838 * gdb.python/py-frame.exp: Test Frame.read_register.
16839
16840 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16841
16842 PR python/16699
16843 * gdb.python/py-completion.exp: New file.
16844 * gdb.python/py-completion.py: Likewise.
16845
16846 2014-08-28 Doug Evans <dje@google.com>
16847
16848 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16849 eax,etc. are live with values set by gdb and thus the compiler can't
16850 use them.
16851 * gdb.arch/i386-pseudo.c (main): Ditto.
16852
16853 2014-08-27 Doug Evans <dje@google.com>
16854
16855 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16856
16857 2014-08-25 Doug Evans <dje@google.com>
16858
16859 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16860 (main): Ditto.
16861
16862 2014-08-25 Doug Evans <dje@google.com>
16863
16864 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16865
16866 2014-08-24 Yao Qi <yao@codesourcery.com>
16867
16868 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16869 symbol off.
16870 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16871
16872 2014-08-22 Doug Evans <dje@google.com>
16873
16874 PR 17276
16875 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16876 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16877 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16878
16879 2014-08-22 Yao Qi <yao@codesourcery.com>
16880
16881 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16882 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16883 * gdb.python/python.exp: Likewise. Use .py file on the host
16884 instead of the build.
16885
16886 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16887
16888 * gdb.threads/gcore-stale-thread.c: New file.
16889 * gdb.threads/gcore-stale-thread.exp: New file.
16890
16891 2014-08-21 Pedro Alves <palves@redhat.com>
16892
16893 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16894 * gdb.base/gcore-relro-pie.exp: Likewise.
16895 * gdb.base/gcore-relro.exp: Likewise.
16896 * gdb.base/gcore.exp: Likewise.
16897 * gdb.base/print-symbol-loading.exp: Likewise.
16898 * gdb.threads/gcore-thread.exp: Likewise.
16899 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16900
16901 2014-08-20 Pedro Alves <palves@redhat.com>
16902 Jan Kratochvil <jan.kratochvil@redhat.com>
16903
16904 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16905 configure.
16906 (EXPECT): Handle READ1 being set.
16907 (all): Depend on EXTRA_RULES.
16908 (check-read1, expect-read1, read1.so, read1): New rules.
16909 * README (Testsuite Parameters): Document the READ1 make variable.
16910 (Race detection): New section.
16911 * configure: Regenerate.
16912 * configure.ac: If build==host==target, and running under a
16913 GNU/glibc system, add read1 to the extra Makefile rules.
16914 (EXTRA_RULES): AC_SUBST it.
16915 * lib/read1.c: New file.
16916
16917 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16918
16919 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16920 the handling of variables declared as a typedef to an array
16921 which a DW_AT_data_location attribute.
16922
16923 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16924 Pedro Alves <palves@redhat.com>
16925
16926 PR symtab/14604
16927 PR symtab/14605
16928 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16929 gdb_test.
16930
16931 2014-08-19 Pedro Alves <palves@redhat.com>
16932
16933 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16934
16935 2014-08-19 Yao Qi <yao@codesourcery.com>
16936
16937 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16938 right line.
16939
16940 2014-08-18 David Blaikie <dblaikie@gmail.com>
16941
16942 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16943
16944 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16945
16946 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16947 attribute in array range.
16948
16949 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16950
16951 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16952
16953 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16954
16955 PR c++/17132
16956 * gdb.cp/pr17132.cc: New file.
16957 * gdb.cp/pr17132.exp: New file.
16958
16959 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16960
16961 * gdb.python/py-xmethods.py (A_getarrayind)
16962 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16963 Use 'print' with function call syntax.
16964 (E_method_matcher.match): Fix tab vs space indentation mixup.
16965
16966 2014-08-15 Yao Qi <yao@codesourcery.com>
16967
16968 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16969 false.
16970
16971 2014-08-15 Yao Qi <yao@codesourcery.com>
16972
16973 * gdb.cp/casts.exp: Set print symbol off.
16974 * gdb.cp/class2.exp: Likewise.
16975 * gdb.cp/overload.exp: Likewise.
16976 * gdb.cp/templates.exp: Likewise.
16977
16978 2014-08-11 Doug Evans <dje@google.com>
16979
16980 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16981 (test_load_shlib): Update.
16982
16983 2014-08-09 Yao Qi <yao@codesourcery.com>
16984
16985 * gdb.base/display.exp: Invoke is_address_zero_readable.
16986 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16987 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16988 * gdb.base/hbreak-unmapped.exp: Return if
16989 is_address_zero_readable returns true.
16990 * gdb.base/signest.exp: Likewise.
16991 * gdb.base/signull.exp: Likewise.
16992 * gdb.base/sigbpt.exp: Likewise.
16993 * gdb.guile/scm-disasm.exp: Do the test if
16994 is_address_zero_readable returns false.
16995 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16996 * gdb.python/py-arch.exp: Likewise.
16997 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16998 * lib/gdb.exp (is_address_zero_readable): New proc.
16999
17000 2014-08-09 Yao Qi <yao@codesourcery.com>
17001
17002 PR testsuite/13443
17003 * gdb.mi/mi-var-display.exp: Make test messages unique.
17004
17005 2014-08-04 Tom Tromey <tromey@redhat.com>
17006
17007 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17008 target 0".
17009
17010 2014-08-04 Tom Tromey <tromey@redhat.com>
17011
17012 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17013 "target_resume".
17014
17015 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17016
17017 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17018 inner_vla_struct_object_size.
17019 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17020 as xfail.
17021
17022 2014-07-30 Pedro Alves <palves@redhat.com>
17023
17024 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17025 comment.
17026
17027 2014-07-29 Yao Qi <yao@codesourcery.com>
17028
17029 PR gdb/17206
17030 * gdb.base/until-nodebug.exp: New.
17031
17032 2014-07-28 Doug Evans <xdje42@gmail.com>
17033
17034 PR guile/17203
17035 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17036 previously existing parameter, and previously ambiguously spelled
17037 parameter.
17038
17039 2014-07-28 Will Newton <will.newton@linaro.org>
17040
17041 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17042
17043 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17044 Doug Evans <xdje42@gmail.com>
17045
17046 PR guile/17146
17047 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17048
17049 2014-07-25 Pedro Alves <palves@redhat.com>
17050
17051 * gdb.threads/signal-command-handle-nopass.c: New file.
17052 * gdb.threads/signal-command-handle-nopass.exp: New file.
17053 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17054 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17055 * gdb.threads/signal-delivered-right-thread.c: New file.
17056 * gdb.threads/signal-delivered-right-thread.exp: New file.
17057
17058 2014-07-25 Pedro Alves <palves@redhat.com>
17059
17060 * gdb.base/double-prompt-target-event-error.exp
17061 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17062 match.
17063 (cancel_pagination_in_target_event): Rework double prompt
17064 detection.
17065 * gdb.base/paginate-after-ctrl-c-running.exp
17066 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17067 <return>' match.
17068 * gdb.base/paginate-bg-execution.exp
17069 (test_bg_execution_pagination_return)
17070 (test_bg_execution_pagination_cancel): Remove '-notransfer
17071 <return>' matches.
17072 * gdb.base/paginate-execution-startup.exp
17073 (test_fg_execution_pagination_return)
17074 (test_fg_execution_pagination_cancel): Remove '-notransfer
17075 <return>' matches.
17076 * gdb.base/paginate-inferior-exit.exp
17077 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17078 match.
17079 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17080 * lib/gdb.exp (pagination_prompt): Run text through
17081 string_to_regexp.
17082 (gdb_test_multiple): Match $pagination_prompt instead of
17083 "<return>".
17084 (string_to_regexp): Move to lib/gdb-utils.exp.
17085
17086 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17087
17088 * gdb.arch/amd64-entry-value-paramref.S: New file.
17089 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17090 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17091 * gdb.arch/amd64-optimout-repeat.S: New file.
17092 * gdb.arch/amd64-optimout-repeat.c: New file.
17093 * gdb.arch/amd64-optimout-repeat.exp: New file.
17094
17095 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17096
17097 PR gdb/17170
17098 * gdb.base/statistics.exp: New file.
17099
17100 2014-07-17 Doug Evans <dje@google.com>
17101
17102 PR gdb/17170
17103 * gdb.base/maint.exp: Update testing of per-command stats.
17104
17105 2014-07-16 Pedro Alves <palves@redhat.com>
17106
17107 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17108 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17109 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17110 (tfile_write_buf): New functions.
17111 (add_memory_block): Rewrite using the above.
17112 (adjust_function_address): New function.
17113 (FUNCTION_ADDRESS): New macro.
17114 (write_basic_trace_file): Remove short_x local, and use
17115 tfile_write_16. Change type of func_addr local to unsigned long
17116 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17117 here. Cast argument of add_memory_block to char pointer.
17118 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17119 (main): Remove parameters.
17120 * gdb.trace/tfile.exp: Remove nowarnings.
17121
17122 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17123
17124 * gdb.base/debug-expr.exp: Test string evaluation with
17125 "debug expression" on.
17126
17127 2014-07-15 Pedro Alves <palves@redhat.com>
17128
17129 * gdb.base/reread.exp: Use clean_restart.
17130
17131 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17132
17133 * gdb.arch/avr-flash-qualifer.c: New.
17134 * gdb.arch/avr-flash-qualifer.exp: New.
17135
17136 2014-07-14 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17139 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17140
17141 2014-07-14 Pedro Alves <palves@redhat.com>
17142
17143 * gdb.base/double-prompt-target-event-error.c: New file.
17144 * gdb.base/double-prompt-target-event-error.exp: New file.
17145
17146 2014-07-14 Pedro Alves <palves@redhat.com>
17147
17148 PR gdb/17072
17149 * gdb.base/paginate-inferior-exit.c: New file.
17150 * gdb.base/paginate-inferior-exit.exp: New file.
17151
17152 2014-07-14 Pedro Alves <palves@redhat.com>
17153
17154 PR gdb/17072
17155 * gdb.base/paginate-bg-execution.c: New file.
17156 * gdb.base/paginate-bg-execution.exp: New file.
17157
17158 2014-07-14 Pedro Alves <palves@redhat.com>
17159
17160 PR gdb/17072
17161 * gdb.base/paginate-execution-startup.c: New file.
17162 * gdb.base/paginate-execution-startup.exp: New file.
17163 * lib/gdb.exp (pagination_prompt): New global.
17164 (default_gdb_spawn): New procedure, factored out from
17165 default_gdb_spawn.
17166 (default_gdb_start): Adjust to call default_gdb_spawn.
17167 (gdb_spawn): New procedure.
17168
17169 2014-07-14 Pedro Alves <palves@redhat.com>
17170
17171 * lib/gdb.exp (gdb_assert): New procedure.
17172 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17173
17174 2014-07-14 Pedro Alves <palves@redhat.com>
17175
17176 * gdb.base/execution-termios.c: New file.
17177 * gdb.base/execution-termios.exp: New file.
17178
17179 2014-07-14 Tom Tromey <tromey@redhat.com>
17180
17181 * gdb.cp/vla-cxx.cc: New file.
17182 * gdb.cp/vla-cxx.exp: New file.
17183
17184 2014-07-14 Tom Tromey <tromey@redhat.com>
17185
17186 * gdb.reverse/rerun-prec.c: New file.
17187 * gdb.reverse/rerun-prec.exp: New file.
17188
17189 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17190 Maciej W. Rozycki <macro@codesourcery.com>
17191
17192 * lib/gdb-utils.exp: New file.
17193 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17194 inline `gdb_init_command' processing.
17195 (gdb_start_cmd): Likewise.
17196 * lib/mi-support.exp (mi_run_cmd): Likewise.
17197 * README: Document `gdb_init_command' and `gdb_init_commands'.
17198
17199 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17200
17201 Fix false FAIL running under a very long directory name.
17202 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17203 and "set print elements 10000". Twice.
17204
17205 2014-07-11 Yao Qi <yao@codesourcery.com>
17206
17207 * gdb.base/exprs.exp: "set print symbol off".
17208
17209 2014-07-11 Pedro Alves <palves@redhat.com>
17210
17211 * gdb.threads/kill.c: New file.
17212 * gdb.threads/kill.exp: New file.
17213
17214 2014-07-10 Yao Qi <yao@codesourcery.com>
17215
17216 * gdb.trace/tfile.c (write_basic_trace_file)
17217 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17218 address written to trace file.
17219
17220 2014-07-09 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.base/attach-wait-input.exp: New file.
17223 * gdb.base/attach-wait-input.c: New file.
17224
17225 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17226
17227 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17228 setting up test structures.
17229 (main): Call new test function.
17230 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17231 test function, continue into test function and walk test
17232 structures.
17233
17234 2014-07-02 Yao Qi <yao@codesourcery.com>
17235
17236 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17237 'bar_start' at the beginning of functions 'foo' and 'bar'
17238 respectively.
17239 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17240 instead of 'foo' and 'bar'.
17241
17242 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17243
17244 * gdb.btrace/segv.exp: New.
17245 * gdb.btrace/segv.c: New.
17246
17247 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17248
17249 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17250 instruction.
17251
17252 2014-06-30 Mark Wielaard <mjw@redhat.com>
17253
17254 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17255 vulture, vilify, villar): New volatile array constants.
17256 (vindictive, vegetation): New const volatile array constants.
17257 * gdb.base/volatile.exp: Test volatile and const volatile array
17258 types.
17259
17260 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17261
17262 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17263 target lacks support for awatch, rwatch, or hbreak.
17264
17265 2014-06-27 Yao Qi <yao@codesourcery.com>
17266
17267 * gdb.multi/dummy-frame-restore.exp: New.
17268 * gdb.multi/dummy-frame-restore.c: New.
17269
17270 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17271
17272 * gdb.btrace/gcore.exp: New.
17273
17274 2014-06-23 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.base/watchpoint-reuse-slot.c: New file.
17277 * gdb.base/watchpoint-reuse-slot.exp: New file.
17278
17279 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17280
17281 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17282 progspace's filename in 'info', 'enable' and 'disable' command
17283 tests.
17284
17285 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17286
17287 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17288 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17289 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17290
17291 2014-06-20 Gary Benson <gbenson@redhat.com>
17292
17293 * gdb.arch/i386-avx.exp: Fix include file location.
17294 * gdb.arch/i386-sse.exp: Likewise.
17295
17296 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17297
17298 * gdb.dlang/expression.exp: New file.
17299
17300 2014-06-19 Pedro Alves <palves@redhat.com>
17301
17302 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17303 out from ...
17304 (top level): ... here. Iterate running tests under different
17305 scheduler-locking settings.
17306
17307 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17308
17309 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17310 to DW_FORM_addr and use non-zero addresses.
17311
17312 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17313
17314 PR gdb/17017
17315 * gdb.python/py-xmethods.cc: Add global function call counters and
17316 increment them in their respective functions. Remove "cout"
17317 statements.
17318 * gdb.python/py-xmethods.exp: Make tests check the global function
17319 call counters instead of depending on inferior IO.
17320
17321 2014-06-18 Don Breazeal <donb@codesourcery.com>
17322
17323 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17324 Deleted procedure.
17325 (explicit_fork_parent_follow): Deleted procedure.
17326 (explicit_fork_child_follow): Deleted procedure.
17327 (test_follow_fork): New procedure.
17328 (do_fork_tests): Replace calls to deleted procedures with
17329 calls to test_follow_fork and reset GDB for subsequent
17330 procedure calls.
17331
17332 2014-06-17 Yao Qi <yao@codesourcery.com>
17333
17334 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17335 CP1252.
17336
17337 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17338
17339 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17340 Initialize ptr and S explicitly.
17341 (skip_type_update_when_not_use_rtti_test): Likewise.
17342
17343 2014-06-16 Keith Seitz <keiths@redhat.com>
17344
17345 PR mi/15863
17346 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17347 the inferior is started.
17348
17349 2014-06-16 Pedro Alves <palves@redhat.com>
17350
17351 * gdb.base/break-main-file-remove-fail.c: New file.
17352 * gdb.base/break-main-file-remove-fail.exp: New file.
17353 * gdb.base/break-unload-file.exp: Use build_executable instead of
17354 prepare_for_testing.
17355 (test_break): New parameter "initial_load". Handle it.
17356 (top level): Add initial_load cmdline/file axis.
17357
17358 2014-06-12 Tom Tromey <tromey@redhat.com>
17359
17360 * gdb.base/completion.exp: Don't use directory name in test.
17361
17362 2014-06-09 Gary Benson <gbenson@redhat.com>
17363
17364 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17365 separate the always-available ANSI-standard signals from the
17366 signals that require checking.
17367 (main): Likewise.
17368 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17369 Likewise.
17370 (main): Likewise.
17371
17372 2014-06-07 Keith Seitz <keiths@redhat.com>
17373
17374 Revert:
17375 PR c++/16253
17376 * gdb.cp/var-tag.cc: New file.
17377 * gdb.cp/var-tag.exp: New file.
17378 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17379 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17380 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17381 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17382
17383 2014-06-06 Doug Evans <xdje42@gmail.com>
17384
17385 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17386
17387 2014-06-06 Pedro Alves <palves@redhat.com>
17388
17389 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17390 in target debug output instead of looking at RSP packets,
17391 disabling the test on any target that uses hardware stepping.
17392 Update comments.
17393
17394 2014-06-06 Pedro Alves <palves@redhat.com>
17395
17396 * gdb.base/break-unload-file.exp: Fix typo.
17397
17398 2014-06-06 Yao Qi <yao@codesourcery.com>
17399
17400 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17401 from "jit_function" to "^jit_function".
17402
17403 2014-06-06 Yao Qi <yao@codesourcery.com>
17404
17405 * gdb.base/async.c (foo): Add one statement.
17406 * gdb.base/async.exp: Get the next instruction address and
17407 match the output of "nexti" by instruction address. Match
17408 the hex address in the output of "finish".
17409
17410 2014-06-06 Gary Benson <gbenson@redhat.com>
17411
17412 * gdb.base/call-signals.c: Remove preprocessor conditionals
17413 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17414 SIGSEGV and SIGTERM.
17415 * gdb.base/sigall.c: Likewise.
17416 * gdb.base/unwindonsignal.c: Likewise.
17417 * gdb.reverse/sigall-reverse.c: Likewise.
17418
17419 2014-06-06 Yao Qi <yao@codesourcery.com>
17420
17421 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17422 readable, skip the test.
17423
17424 2014-06-06 Yao Qi <yao@codesourcery.com>
17425
17426 * gdb.threads/staticthreads.c (thread_function): Move the line
17427 setting breakpoint on forward.
17428 * gdb.threads/staticthreads.exp: Update comments.
17429
17430 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17431
17432 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17433 "history-append! type error".
17434
17435 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17436
17437 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17438 erroneous dprintf expected input.
17439
17440 2014-06-04 Doug Evans <xdje42@gmail.com>
17441
17442 * gdb.guile/scm-generics.exp: Delete.
17443
17444 2014-06-04 Doug Evans <xdje42@gmail.com>
17445
17446 * gdb.guile/scm-breakpoint.exp: Update.
17447 Add tests for breakpoint registration.
17448
17449 2014-06-04 Tom Tromey <tromey@redhat.com>
17450
17451 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17452 VLA-in-union.
17453 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17454 inner_vla_struct, vla_union types. Initialize objects of those
17455 types and compute their sizes.
17456
17457 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17458 Hui Zhu <hui@codesourcery.com>
17459
17460 * gdb.base/fileio.exp: Add test for shell not available as well as
17461 available.
17462 * gdb.base/fileio.c (test_system): Check for shell twice.
17463
17464 2014-06-04 Yao Qi <yao@codesourcery.com>
17465
17466 * gdb.base/auto-connect-native-target.exp: Remove redundant
17467 space from the regexp pattern.
17468
17469 2014-06-04 Yao Qi <yao@codesourcery.com>
17470
17471 * gdb.base/default.exp: Replace "child" with "native" in
17472 regexp pattern.
17473
17474 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17475
17476 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17477 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17478 * gdb.python/py-xmethods.py: Python script supporting the
17479 new testcase and tests.
17480
17481 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17482 Pedro Alves <palves@redhat.com>
17483
17484 PR breakpoints/17000
17485 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17486 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17487
17488 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17489
17490 * gdb.base/subst.exp: Add tests to verify partial path matching
17491 output.
17492
17493 2014-06-03 Pedro Alves <palves@redhat.com>
17494
17495 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17496 target that doesn't use software single-stepping.
17497
17498 2014-06-03 Pedro Alves <palves@redhat.com>
17499
17500 PR breakpoints/17000
17501 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17502 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17503
17504 2014-06-02 Doug Evans <xdje42@gmail.com>
17505
17506 * gdb.guile/scm-parameter.exp: New file.
17507
17508 2014-06-02 Doug Evans <xdje42@gmail.com>
17509
17510 * gdb.guile/scm-cmd.c: New file.
17511 * gdb.guile/scm-cmd.exp: New file.
17512
17513 2014-06-02 Doug Evans <xdje42@gmail.com>
17514
17515 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17516 pretty-printer lookup.
17517 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17518 (make-pp_s-printer): Call it.
17519 (make-pretty-printer-from-dict): New function.
17520 (lookup-pretty-printer-maker-from-dict): New function.
17521 (*pretty-printer*): Simplify.
17522 (make-objfile-pp_s-printer): New function.
17523 (install-objfile-pretty-printers!): New function.
17524 (make-progspace-pp_s-printer): New function.
17525 (install-progspace-pretty-printers!): New function.
17526 * gdb.guile/scm-progspace.c: New file.
17527 * gdb.guile/scm-progspace.exp: New file.
17528
17529 2014-06-02 Pedro Alves <palves@redhat.com>
17530
17531 * gdb.base/dprintf-bp-same-addr.c: New file.
17532 * gdb.base/dprintf-bp-same-addr.exp: New file.
17533
17534 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17535
17536 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17537 * gdb.arch/powerpc-power.s: Likewise.
17538
17539 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17540
17541 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17542
17543 2014-06-01 Yao Qi <yao@codesourcery.com>
17544
17545 * gdb.base/watchpoint.exp (test_watch_location): Check null
17546 pointer can be dereferenced. If not, do the test, otherwise
17547 skip it.
17548
17549 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17550
17551 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17552 results.
17553 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17554
17555 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17556
17557 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17558 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17559 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17560 * gdb.arch/amd64-invalid-stack-top.c: New file.
17561 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17562
17563 2014-05-30 Pedro Alves <palves@redhat.com>
17564
17565 PR breakpoints/17000
17566 * gdb.base/sss-bp-on-user-bp.c: New file.
17567 * gdb.base/sss-bp-on-user-bp.exp: New file.
17568
17569 2014-05-30 David Blaikie <dblaikie@gmail.com>
17570
17571 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17572 gnu_inline semantics via attribute.
17573 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17574 source explicitly specifies the required semantics.
17575
17576 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17577
17578 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17579
17580 2014-05-29 Pedro Alves <palves@redhat.com>
17581 Tom Tromey <tromey@redhat.com>
17582
17583 * gdb.base/async-shell.exp: Don't enable target-async.
17584 * gdb.base/async.exp
17585 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17586 parameter. Adjust.
17587 (top level): Don't test with "target-async".
17588 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17589 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17590 * gdb.base/inferior-died.exp: Don't enable target-async.
17591 * gdb.base/interrupt-noterm.exp: Likewise.
17592 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17593 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17594 * gdb.mi/mi-nonstop.exp: Likewise.
17595 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17596 * gdb.mi/mi-nsintrall.exp: Likewise.
17597 * gdb.mi/mi-nsmoribund.exp: Likewise.
17598 * gdb.mi/mi-nsthrexec.exp: Likewise.
17599 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17600 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17601 * gdb.python/py-evsignal.exp: Don't enable target-async.
17602 * gdb.python/py-evthreads.exp: Likewise.
17603 * gdb.python/py-prompt.exp: Likewise.
17604 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17605 * gdb.server/solib-list.exp: Don't enable target-async.
17606 * gdb.threads/thread-specific-bp.exp: Likewise.
17607 * lib/mi-support.exp: Adjust to use mi-async.
17608
17609 2014-05-29 Pedro Alves <palves@redhat.com>
17610
17611 PR gdb/13860
17612 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17613 reason, even in sync mode.
17614
17615 2014-05-29 Pedro Alves <palves@redhat.com>
17616 Hui Zhu <hui@codesourcery.com>
17617
17618 PR PR15693
17619 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17620 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17621 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17622 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17623
17624 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17625
17626 * config/monitor.exp (gdb_target_monitor): Replace use of
17627 "set remotebaud" by "set serial baud".
17628
17629 2014-05-26 Andy Wingo <wingo@igalia.com>
17630
17631 * gdb.guile/scm-breakpoint.exp:
17632 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17633 properties instead of gdb-object-properties.
17634
17635 2014-05-26 Yao Qi <yao@codesourcery.com>
17636
17637 * gdb.server/no-thread-db.exp: Specify source file name
17638 explicitly when setting a breakpoint.
17639
17640 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17641
17642 * gdb.btrace/vdso.c: New.
17643 * gdb.btrace/vdso.exp: New.
17644
17645 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17646
17647 * gdb.base/gcore.exp (capture_command_output): Move ...
17648 * lib/gdb.exp (capture_command_output): ... here.
17649
17650 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17651
17652 * gdb.btrace/data.exp: Test memory access during btrace replay.
17653
17654 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17655
17656 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17657
17658 2014-05-21 Pedro Alves <palves@redhat.com>
17659
17660 PR gdb/13860
17661 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17662 (top level): Test that output related to execution commands is
17663 sent to the console with CLI commands, but not with MI commands.
17664 Test that breakpoint events are always mirrored to the console.
17665 Also expect the new source line to be output after a "next" in
17666 async mode too. Make it a pass/fail test.
17667 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17668 output.
17669 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17670
17671 2014-05-21 Pedro Alves <palves@redhat.com>
17672
17673 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17674 Use them to test variations of "list" after reaching a breakpoint.
17675 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17676 Test "list" with listsize 10 after reaching a breakpoint.
17677 * gdb.python/python.exp (decode_line current location line
17678 number): Adjust expected line number.
17679
17680 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17681
17682 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17683 behavior for $args, pass it directly to "run".
17684
17685 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17686
17687 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17688 30000 to 65536.
17689
17690 2014-05-21 Pedro Alves <palves@redhat.com>
17691
17692 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17693 auto-connect-native-target off".
17694 * gdb.base/auto-connect-native-target.c: New file.
17695 * gdb.base/auto-connect-native-target.exp: New file.
17696
17697 2014-05-21 Pedro Alves <palves@redhat.com>
17698
17699 * gdb.base/default.exp: Test "target native" instead of "target
17700 child".
17701
17702 2014-05-21 Mark Wielaard <mjw@redhat.com>
17703
17704 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17705
17706 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17707
17708 Fix TLS access for -static -pthread.
17709 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17710 <HAVE_TLS> (thread_function, main): Initialize it.
17711 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17712 Add clean_restart.
17713 <$have_tls != "">: Check TLSVAR.
17714
17715 2014-05-21 Pedro Alves <palves@redhat.com>
17716
17717 * gdb.base/dcache-line-read-error.c: New.
17718 * gdb.base/dcache-line-read-error.exp: New.
17719
17720 2014-05-20 Pedro Alves <palves@redhat.com>
17721
17722 * gdb.base/compare-sections.c: New file.
17723 * gdb.base/compare-sections.exp: New file.
17724
17725 2014-05-20 Pedro Alves <palves@redhat.com>
17726
17727 * gdb.base/break-idempotent.c: New file.
17728 * gdb.base/break-idempotent.exp: New file.
17729
17730 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17731
17732 * gdb.btrace/nohist.exp: New.
17733
17734 2014-05-20 Yao Qi <yao@codesourcery.com>
17735
17736 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17737 gdb.reverse directory and gdb_reverse_timeout exists in board
17738 setting.
17739 * README: Document gdb_reverse_timeout.
17740
17741 2014-05-20 Yao Qi <yao@codesourcery.com>
17742
17743 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17744 'test_file_name'. Treat args as a string instead of a list.
17745 (gdb_init): Rename argument 'args' by 'test_file_name'.
17746
17747 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17748
17749 * gdb.arch/powerpc-power.exp: New file.
17750 * gdb.arch/powerpc-power.s: New file.
17751
17752 2014-05-16 Doug Evans <dje@google.com>
17753
17754 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17755 * gdb.base/completion.exp: Check that all expected files exist
17756 before doing file completion.
17757
17758 2014-05-16 Doug Evans <dje@google.com>
17759
17760 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17761 Update.
17762 (do_syscall_tests_without_xml): Update.
17763
17764 2014-05-16 Pedro Alves <palves@redhat.com>
17765
17766 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17767 instead of "unknown output after running".
17768
17769 2014-05-16 Yao Qi <yao@codesourcery.com>
17770
17771 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17772 file1.txt from host at the end.
17773 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17774
17775 2014-05-15 Doug Evans <dje@google.com>
17776
17777 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17778 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17779 loading file. Add test for TU lookup.
17780
17781 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17782
17783 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17784 calling "-exec-arguments" or "set args" before running the
17785 inferior.
17786
17787 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17788
17789 * lib/mi-support.exp (mi_expect_stop): Expect message for
17790 inferiors that exit with non-zero exit code.
17791
17792 2014-05-14 Yao Qi <yao@codesourcery.com>
17793
17794 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17795 match absolute path on remote host.
17796 (test_file_list_exec_source_files): Remove "/" from the
17797 pattern.
17798
17799 2014-05-14 Yao Qi <yao@codesourcery.com>
17800
17801 * boards/local-remote-host-notty.exp (${board}_file): New
17802 proc.
17803
17804 2014-05-07 Kyle McMartin <kyle@redhat.com>
17805
17806 Pushed by Joel Brobecker <brobecker@adacore.com>.
17807 * gdb.arch/aarch64-atomic-inst.c: New file.
17808 * gdb.arch/aarch64-atomic-inst.exp: New file.
17809
17810 2014-05-07 Yao Qi <yao@codesourcery.com>
17811
17812 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17813 in current context" too.
17814
17815 2014-05-05 Keith Seitz <keiths@redhat.com>
17816
17817 * gdb.linespec/ls-dollar.exp: Add test for linespec
17818 file:convenience_variable.
17819
17820 2014-05-05 Yao Qi <yao@codesourcery.com>
17821
17822 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17823 traceframes into tfile and ctf trace files. Read data from
17824 trace file and test collected data.
17825 (gdb_collect_locals_test): Likewise.
17826 (gdb_unavailable_registers_test): Likewise.
17827 (gdb_unavailable_floats): Likewise.
17828 (gdb_collect_globals_test): Likewise.
17829 (top-level): Append "ctf" to trace_file_targets if GDB
17830 supports.
17831
17832 2014-05-05 Yao Qi <yao@codesourcery.com>
17833
17834 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17835 code to ...
17836 (gdb_collect_args_test_1): ... it. New proc.
17837 (gdb_collect_locals_test): Move some code to ...
17838 (gdb_collect_locals_test_1): ... it. New proc.
17839 (gdb_unavailable_registers_test): Move some code to ...
17840 (gdb_unavailable_registers_test_1): ... it. New proc.
17841 (gdb_unavailable_floats): Move some code to ...
17842 (gdb_unavailable_floats_1): ... it. New proc.
17843
17844 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17845
17846 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17847 probes to test for bitness recognition.
17848 * gdb.arch/amd64-stap-optional-prefix.exp
17849 (test_probe_value_without_reg): New procedure.
17850 Add code to test for different kinds of bitness.
17851
17852 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17853
17854 PR breakpoints/16889
17855 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17856 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17857
17858 2014-05-01 Pedro Alves <palves@redhat.com>
17859
17860 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17861 gdb_file_cmd if no file is specified.
17862 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17863 last_loaded_file to set the remote exec-file.
17864
17865 2014-05-01 Pedro Alves <palves@redhat.com>
17866
17867 * boards/local-remote-host.exp: New file.
17868
17869 2014-05-01 Pedro Alves <palves@redhat.com>
17870
17871 * boards/local-remote-host.exp: Rename to ...
17872 * boards/local-remote-host-notty.exp: ... this.
17873
17874 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17875
17876 * gdb.ada/dyn_arrayidx: New testcase.
17877
17878 2014-04-26 Yao Qi <yao@codesourcery.com>
17879
17880 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17881 and compute the length of function main. Save it in
17882 $main_length.
17883 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17884 (top-level): Use gdb_compile to compile objects into
17885 executable and restart GDB. Remove invocation to
17886 prepare_for_testing.
17887
17888 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17889 Pedro Alves <palves@redhat.com>
17890
17891 PR server/16255
17892 * gdb.multi/multi-attach.c: New file.
17893 * gdb.multi/multi-attach.exp: New file.
17894
17895 2014-04-25 Pedro Alves <palves@redhat.com>
17896
17897 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17898 user.
17899 (top level): Test that "set remote conditional-breakpoints-packet
17900 off" works as intended.
17901 * gdb.base/dprintf.exp: Test that "set remote
17902 breakpoint-commands-packet off" works as intended.
17903 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17904 New function.
17905 (top level): Call it.
17906 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17907 remote fast-tracepoints-packet off" works as intended.
17908 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17909 * lib/gdb.exp (gdb_is_target_remote): ... here.
17910
17911 2014-04-24 David Blaikie <dblaikie@gmail.com>
17912
17913 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17914 ensure clang would not discard them.
17915 * gdb.base/gdbvars.c: Ditto.
17916 * gdb.base/memattr.c: Ditto.
17917 * gdb.base/whatis.c: Ditto.
17918 * gdb.python/py-prettyprint.c: Ditto.
17919 * gdb.trace/actions.c: Ditto.
17920 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17921 ensure clang would not discard it.
17922
17923 2014-04-24 David Blaikie <dblaikie@gmail.com>
17924
17925 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17926 clang to emit the full definition of type required by the test
17927 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17928
17929 2014-04-24 David Blaikie <dblaikie@gmail.com>
17930
17931 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17932 coax Clang into emitting the definition of the type.
17933 * gdb.cp/pr10728-x.h (y): Ditto.
17934 * gdb.cp/pr10728-y.cc (y): Ditto.
17935
17936 2014-04-24 David Blaikie <dblaikie@gmail.com>
17937
17938 * gdb.base/label.exp: XFAIL label related tests under Clang.
17939 * gdb.cp/cplabel.exp: Ditto.
17940 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17941 under Clang those using labels.
17942
17943 2014-04-25 Yao Qi <yao@codesourcery.com>
17944
17945 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17946 double_label.
17947 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17948 partial_label and double_label.
17949
17950 2014-04-24 David Blaikie <dblaikie@gmail.com>
17951
17952 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17953
17954 2014-04-24 David Blaikie <dblaikie@gmail.com>
17955
17956 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17957 of the function to work across GCC and Clang.
17958 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17959 pointer types (const void ** const V void **).
17960
17961 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17962 Walfred Tedeschi <walfred.tedeschi@intel.com>
17963
17964 * Makefile.in (EXECUTABLES): Added i386-avx512.
17965 * gdb.arch/i386-avx512.c: New file.
17966 * gdb.arch/i386-avx512.exp: Likewise.
17967
17968 2014-04-23 Keith Seitz <keiths@redhat.com>
17969
17970 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17971 (mi_make_breakpoint_table): New procedure.
17972 (mi_create_breakpoint): Use mi_make_breakpoint
17973 and return the result.
17974 (mi_make_breakpoint): New procedure.
17975 (mi_build_kv_pairs): New procedure.
17976
17977 * gdb.mi/mi-break.exp: Remove unused globals,
17978 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17979 All callers updated.
17980 * gdb.mi/mi-dprintf.exp: Use variable to track command
17981 number.
17982 Update all callers of mi_create_breakpoint and use
17983 mi_make_breakpoint_table.
17984 Remove any unused global variables.
17985 * gdb.mi/mi-nonstop.exp: Likewise.
17986 * gdb.mi/mi-nsintrall.exp: Likewise.
17987 * gdb.mi/mi-nsmoribund.exp: Likewise.
17988 * gdb.mi/mi-nsthrexec.exp: Likewise.
17989 * gdb.mi/mi-reverse.exp: Likewise.
17990 * gdb.mi/mi-simplerun.exp: Likewise.
17991 * gdb.mi/mi-stepn.exp: Likewise.
17992 * gdb.mi/mi-syn-frame.exp: Likewise.
17993 * gdb.mi/mi-until.exp: Likewise.
17994 * gdb.mi/mi-var-cp.exp: Likewise.
17995 * gdb.mi/mi-var-display.exp: Likewise.
17996 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17997 * gdb.mi/mi2-var-child.exp: Likewise.
17998 * gdb.mi/mi-vla-c99.exp: Likewise.
17999 * lib/mi-support.exp: Likewise.
18000
18001 From Ian Lance Taylor <iant@cygnus.com>:
18002 * lib/gdb.exp (parse_args): New procedure.
18003
18004 2014-04-23 Pedro Alves <palves@redhat.com>
18005
18006 * gdb.base/break-unload-file.c: New file.
18007 * gdb.base/break-unload-file.exp: New file.
18008 * gdb.base/sym-file-lib.c (baz): New function.
18009 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18010 field.
18011 (load): Store the segment's mapped size.
18012 (unload): New function.
18013 (unload_shlib): New function.
18014 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18015 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18016 set a breakpoint at baz, and call it.
18017 * gdb.base/sym-file.exp: New tests for stale breakpoint
18018 instructions.
18019
18020 2014-04-23 Pedro Alves <palves@redhat.com>
18021
18022 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18023 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18024 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18025 * gdb.base/hbreak-unmapped.c: New file.
18026 * gdb.base/hbreak-unmapped.exp: New file.
18027 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18028 * lib/gdb.exp (gdb_is_target_remote): ... here.
18029
18030 2014-04-22 Pedro Alves <palves@redhat.com>
18031
18032 * gdb.base/consecutive-step-over.c: New file.
18033 * gdb.base/consecutive-step-over.exp: New file.
18034
18035 2014-04-22 Pedro Alves <palves@redhat.com>
18036
18037 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18038 instead of send_gdb/gdb_expect.
18039
18040 2014-04-22 Yao Qi <yao@codesourcery.com>
18041
18042 * lib/trace-support.exp (generate_tracefile): New procedure.
18043 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18044 return 0.
18045 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18046 if generate_tracefile returns 1.
18047
18048 2014-04-18 Tom Tromey <palves@redhat.com>
18049 Pedro alves <tromey@redhat.com>
18050
18051 PR backtrace/15558
18052 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18053 with a backtrace limit.
18054 * gdb.python/py-frame-inline.exp: Test running to an inline
18055 function with a backtrace limit, and printing the newest frame.
18056 * gdb.python/py-frame-inline.c (main): Call f.
18057
18058 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18059
18060 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18061
18062 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18063
18064 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18065 Drop prefix from unsupported source file path.
18066
18067 2014-04-17 Yao Qi <yao@codesourcery.com>
18068
18069 * lib/gdb.exp (with_target_charset): New proc.
18070 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18071 with_target_charset.
18072 (test_print_strings): Likewise.
18073 (test_repeat_bytes): Likewise.
18074 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18075 for some tests.
18076
18077 2014-04-16 Keith Seitz <keiths@redhat.com>
18078
18079 PR gdb/15827
18080 * gdb.dwarf2/corrupt.c: New file.
18081 * gdb.dwarf2/corrupt.exp: New file.
18082
18083 2014-04-16 Keith Seitz <keiths@redhat.com>
18084
18085 PR c++/16597
18086 * gdb.cp/namelessclass.cc: New file.
18087 * gdb.cp/namelessclass.exp: New file.
18088 * gdb.cp/namelessclass.S: New file.
18089
18090 2014-04-16 Doug Evans <dje@google.com>
18091
18092 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18093 Add comment.
18094 (gdbserver_default_get_comm_port): New function.
18095 (gdbserver_start): Check if board file provided
18096 "gdbserver,get_comm_port" and use it if so.
18097 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18098 (gdb,socketport): Set to "stdio".
18099 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18100 (stdio_gdbserver_template): Delete.
18101 (${board}_get_remote_address): Update.
18102 (${board}_build_remote_cmd): Delete.
18103 (${board}_get_comm_port): New function.
18104 (${board}_spawn): Update.
18105 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18106 Delete.
18107 (${board}_get_remote_address): Update.
18108 (${board}_get_comm_port): New function.
18109
18110 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18111
18112 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18113 appearing in any order.
18114
18115 2014-04-15 Doug Evans <dje@google.com>
18116
18117 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18118 uninitialized value of "description".
18119
18120 2014-04-15 Keith Seitz <keiths@redhat.com>
18121
18122 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18123 Remove unused globals.
18124 (test_running_the_program): Likewise.
18125 (test_controlled_execution): Likewise.
18126 (test_controlling_breakpoints): Likewise.
18127 (test_program_termination): Likewise.
18128
18129 2014-04-15 Keith Seitz <keiths@redhat.com>
18130
18131 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18132 unused globals.
18133 (test_rbreak_creation_and_listing): Likewise.
18134 (test_ignore_count): Likewise.
18135 (test_error): Likewise.
18136
18137 2014-04-15 Pedro Alves <palves@redhat.com>
18138
18139 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18140 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18141 sym-file-loader.c.
18142 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18143 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18144 to sym-file-loader.c.
18145 (struct library): Forward declare.
18146 (load_shlib, lookup_function): Change prototypes.
18147 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18148 (translate_offset): Remove declarations.
18149 (get_text_addr): New declaration.
18150 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18151 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18152 sym-file-loader.h.
18153 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18154 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18155 here from sym-file-loader.h.
18156 (struct library): New structure.
18157 (load_shlib, lookup_function): Change prototypes and adjust to
18158 work with a struct library.
18159 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18160 (translate_offset): Make static.
18161 (get_text_addr): New function.
18162 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18163
18164 2014-04-15 Pedro Alves <palves@redhat.com>
18165
18166 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18167
18168 2014-04-15 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.base/sym-file-loader.c: Include <limits.h>.
18171 (SELF_LINK): New define.
18172 (get_origin): New function.
18173 (load_shlib): Use it.
18174 * gdb.base/sym-file.exp: Don't early return if the target is
18175 remote. Use runto_main, and issue fail is that fails. Use
18176 gdb_load_shlibs.
18177 (shlib_name): Delete.
18178 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18179
18180 2014-04-15 Pedro Alves <palves@redhat.com>
18181
18182 * gdb.base/sym-file.exp: Remove regex characters from test
18183 message. Don't refer to breakpoint numbers in test messages.
18184
18185 2014-04-14 Keith Seitz <keiths@redhat.com>
18186
18187 PR c++/16253
18188 * gdb.cp/var-tag.cc: New file.
18189 * gdb.cp/var-tag.exp: New file.
18190 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18191 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18192 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18193 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18194
18195 2014-04-14 Tom Tromey <tromey@redhat.com>
18196
18197 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18198 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18199 type.
18200 * gdb.cp/enum-class.exp: New file.
18201 * gdb.cp/enum-class.cc: New file.
18202
18203 2014-04-14 Tom Tromey <tromey@redhat.com>
18204
18205 * gdb.dwarf2/enum-type.exp: New file.
18206
18207 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18208
18209 * gdb.mi/mi-vla-c99.exp: New file.
18210 * gdb.mi/vla.c: New file.
18211
18212 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18213
18214 * gdb.base/vla-datatypes.c: New file.
18215 * gdb.base/vla-datatypes.exp: New file.
18216
18217 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18218
18219 * gdb.base/vla-ptr.c: New file.
18220 * gdb.base/vla-ptr.exp: New file.
18221
18222 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18223
18224 * gdb.dwarf2/count.exp: New file.
18225
18226 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18227
18228 * gdb.base/vla-sideeffect.c: New file.
18229 * gdb.base/vla-sideeffect.exp: New file.
18230
18231 2014-04-14 David Blaikie <dblaikie@gmail.com>
18232
18233 * gdb.mi/non-stop.c: Add return value for non-void function return
18234 statement.
18235 * gdb.threads/staticthreads.c: Ditto.
18236
18237 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18238 Doug Evans <xdje42@gmail.com>
18239
18240 * gdb.guile/scm-value.c: Improve test case.
18241 * gdb.guile/scm-value.exp: Add new test.
18242
18243 2014-04-11 David Blaikie <dblaikie@gmail.com>
18244
18245 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18246 override Clang's default.
18247
18248 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18249
18250 Revert the following changes (regressions):
18251
18252 * gdb.base/vla-sideeffect.c: New file.
18253 * gdb.base/vla-sideeffect.exp: New file.
18254
18255 * gdb.dwarf2/count.exp: New file.
18256
18257 * gdb.base/vla-multi.c: New file.
18258 * gdb.base/vla-multi.exp: New file.
18259
18260 * gdb.base/vla-ptr.c: New file.
18261 * gdb.base/vla-ptr.exp: New file.
18262
18263 * gdb.base/vla-datatypes.c: New file.
18264 * gdb.base/vla-datatypes.exp: New file.
18265
18266 * gdb.mi/mi-vla-c99.exp: New file.
18267 * gdb.mi/vla.c: New file.
18268
18269 2014-04-11 Keith Seitz <keiths@redhat.com>
18270
18271 PR c++/16675
18272 * gdb.cp/cpsizeof.exp: New file.
18273 * gdb.cp/cpsizeof.cc: New file.
18274
18275 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18276
18277 * gdb.mi/mi-vla-c99.exp: New file.
18278 * gdb.mi/vla.c: New file.
18279
18280 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18281
18282 * gdb.base/vla-datatypes.c: New file.
18283 * gdb.base/vla-datatypes.exp: New file.
18284
18285 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18286
18287 * gdb.base/vla-ptr.c: New file.
18288 * gdb.base/vla-ptr.exp: New file.
18289
18290 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18291
18292 * gdb.base/vla-multi.c: New file.
18293 * gdb.base/vla-multi.exp: New file.
18294
18295 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18296
18297 * gdb.dwarf2/count.exp: New file.
18298
18299 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18300
18301 * gdb.base/vla-sideeffect.c: New file.
18302 * gdb.base/vla-sideeffect.exp: New file.
18303
18304 2014-04-11 Yao Qi <yao@codesourcery.com>
18305
18306 * gdb.base/completion.exp: Check file exists before running tests
18307 on file completion.
18308
18309 2014-04-10 Pedro Alves <palves@redhat.com>
18310
18311 * gdb.base/cond-eval-mode.c: New file.
18312 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18313 prepare_for_testing to build the new file. Check result of
18314 runto_main.
18315 (test_break, test_watch): New procedures.
18316 (top level): Use them.
18317
18318 2014-04-08 Pierre Muller <muller@sourceware.org>
18319
18320 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18321 Ctrl-V use for mingw hosts.
18322
18323 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18324
18325 * gdb.python/py-value.c: Improve test case.
18326 * gdb.python/py-value.exp: Add new test.
18327
18328 2014-04-07 David Blaikie <dblaikie@gmail.com>
18329
18330 * lib/compiler.c: Identify the clang compiler.
18331 * lib/compiler.cc: Ditto.
18332
18333 2014-04-03 Yao Qi <yao@codesourcery.com>
18334
18335 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18336
18337 2014-04-01 Anton Blanchard <anton@samba.org>
18338
18339 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18340 messages unique.
18341
18342 2014-04-01 Anton Blanchard <anton@samba.org>
18343
18344 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18345 prepare_for_testing.
18346
18347 2014-04-01 Anton Blanchard <anton@samba.org>
18348
18349 * gdb.arch/ppc64-atomic-inst.c: Remove.
18350 * gdb.arch/ppc64-atomic-inst.S: New file.
18351 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18352
18353 2014-03-31 Doug Evans <dje@google.com>
18354
18355 * gdb.base/print-symbol-loading-lib.c: New file.
18356 * gdb.base/print-symbol-loading-main.c: New file.
18357 * gdb.base/print-symbol-loading.exp: New file.
18358
18359 2014-03-31 Yao Qi <yao@codesourcery.com>
18360
18361 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18362
18363 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18364
18365 * gdb.ada/mi_dyn_arr: New testcase.
18366
18367 2014-03-27 Doug Evans <dje@google.com>
18368
18369 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18370
18371 2014-03-27 Yao Qi <yao@codesourcery.com>
18372
18373 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18374 if target is nios2-*-*.
18375
18376 2014-03-26 Yao Qi <yao@codesourcery.com>
18377
18378 * lib/gdb.exp (readline_is_used): New proc.
18379 * gdb.base/completion.exp: Move tests on command complete up.
18380 Skip the rest of tests if readline is not used.
18381 * gdb.ada/complete.exp: Skp the test if readline is not
18382 used.
18383 * gdb.base/filesym.exp: Likewise.
18384 * gdb.base/macscp.exp: Likewise.
18385 * gdb.base/readline-ask.exp: Likewise.
18386 * gdb.base/readline.exp: Likewise.
18387 * gdb.python/py-cmd.exp: Likewise.
18388 * gdb.trace/tfile.exp: Likewise.
18389
18390 2014-03-26 Yao Qi <yao@codesourcery.com>
18391
18392 * gdb.base/macscp.exp: Fix code format issues.
18393
18394 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18395
18396 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18397 * gdb.asm/powerpc64le.inc: New file.
18398
18399 2014-03-25 Pedro Alves <palves@redhat.com>
18400 Doug Evans <dje@google.com>
18401
18402 * gdb.base/source-execution.c: New file.
18403 * gdb.base/source-execution.exp: New file.
18404 * gdb.base/source-execution.gdb: New file.
18405
18406 2014-03-24 Doug Evans <dje@google.com>
18407
18408 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18409 using fission.
18410
18411 2014-03-24 Hui Zhu <hui@codesourcery.com>
18412 Pedro Alves <palves@redhat.com>
18413
18414 PR breakpoints/16101
18415 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18416 test pass/fail messages. Detect missing support for dprintf when
18417 breakpoints are actually inserted.
18418 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18419 breakpoints are actually inserted.
18420 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18421 fails.
18422
18423 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18424
18425 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18426
18427 2014-03-22 Doug Evans <xdje42@gmail.com>
18428
18429 * gdb.python/python.exp (python not supported): Verify multi-line
18430 python command issues an error.
18431 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18432 guile command issues an error.
18433
18434 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18435
18436 * gdb.threads/thread-specific.exp: Handle the lack of usable
18437 $this_breakpoint and $this_thread.
18438
18439 2014-03-21 Hui Zhu <hui@codesourcery.com>
18440
18441 * gdb.base/attach.exp (do_command_attach_tests): New.
18442
18443 2014-03-20 Tom Tromey <tromey@redhat.com>
18444 Pedro Alves <palves@redhat.com>
18445
18446 PR cli/15718
18447 * gdb.base/condbreak-call-false.c: New file.
18448 * gdb.base/condbreak-call-false.exp: New file.
18449
18450 2014-03-20 Pedro Alves <palves@redhat.com>
18451
18452 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18453 Delete.
18454 (block_signals, unblock_signals): Delete.
18455 (child_function_2, main): Remove references to deleted variable
18456 and functions.
18457
18458 2014-03-20 Pedro Alves <palves@redhat.com>
18459
18460 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18461 Use pthread_kill to signal thread 2.
18462 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18463 Adjust to make the test send itself a signal rather than using the
18464 host's "kill" command.
18465
18466 2014-03-20 Pedro Alves <palves@redhat.com>
18467
18468 * gdb.threads/multiple-step-overs.c: New file.
18469 * gdb.threads/multiple-step-overs.exp: New file.
18470 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18471 Adjust expected infrun debug output.
18472
18473 2014-03-20 Pedro Alves <palves@redhat.com>
18474
18475 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18476 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18477
18478 2014-03-20 Pedro Alves <palves@redhat.com>
18479
18480 PR breakpoints/7143
18481 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18482 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18483 of gdb_test_multiple.
18484 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18485 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18486
18487 2014-03-20 Pedro Alves <palves@redhat.com>
18488
18489 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18490 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18491
18492 2014-03-19 Pedro Alves <palves@redhat.com>
18493
18494 * gdb.base/async.exp: Remove early return.
18495
18496 2014-03-19 Pedro Alves <palves@redhat.com>
18497
18498 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18499
18500 2014-03-19 Pedro Alves <palves@redhat.com>
18501
18502 * gdb.base/async.exp (test_background): Expect \r\n after
18503 "completed." in the fail pattern.
18504
18505 2014-03-19 Pedro Alves <palves@redhat.com>
18506
18507 * gdb.base/async.exp (test_background): New procedure.
18508 Use it for all background execution command tests.
18509
18510 2014-03-19 Pedro Alves <palves@redhat.com>
18511
18512 * gdb.base/async.exp: Use prepare_for_testing.
18513
18514 2014-03-19 Pedro Alves <palves@redhat.com>
18515
18516 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18517 the same line.
18518
18519 2014-03-19 Pedro Alves <palves@redhat.com>
18520
18521 * gdb.base/async.c (main): Add "jump here" and "until here" line
18522 marker comments.
18523 * gdb.base/async.exp (jump_here): New global.
18524 (jump& test): Use it.
18525 (until_here): New global.
18526 (until& test): Use it.
18527
18528 2014-03-19 Pedro Alves <palves@redhat.com>
18529
18530 * gdb.base/async.exp: Don't frob gdb_protocol.
18531
18532 2014-03-18 Doug Evans <xdje42@gmail.com>
18533
18534 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18535 Fix spelling of exec-done-display.
18536
18537 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18538
18539 PR gdb/15358
18540 * gdb.base/gdb-sigterm.c: New file.
18541 * gdb.base/gdb-sigterm.exp: New file.
18542
18543 2014-03-18 Pedro Alves <palves@redhat.com>
18544
18545 PR gdb/13860
18546 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18547 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18548 solib-event.
18549
18550 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18551
18552 * gdb.ada/pckd_arr_ren: New testcase.
18553
18554 2014-03-13 Doug Evans <xdje42@gmail.com>
18555
18556 PR guile/16612
18557 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18558 collect after discarding symbols.
18559
18560 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18561 Doug Evans <xdje42@gmail.com>
18562
18563 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18564 to history survives a gc.
18565
18566 2014-03-13 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.base/default.exp: Don't test "target procfs".
18569
18570 2014-03-13 Pedro Alves <palves@redhat.com>
18571
18572 * gdb.base/default.exp: Update "target child" and "target procfs"
18573 tests to not expect "Unix".
18574
18575 2014-03-12 Tom Tromey <tromey@redhat.com>
18576
18577 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18578 New procs. Add target-async tests.
18579 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18580 Add target-async tests.
18581
18582 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18583
18584 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18585 'func_start' and 'func_end' for the beginning and end of the
18586 function code, respectively.
18587 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18588 'func_end' instead of 'func' and 'main'.
18589
18590 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18591
18592 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18593 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18594 generate the debug info assembler source.
18595
18596 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18597
18598 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18599 * gdb.dwarf2/arr-subrange.exp: Likewise.
18600 * gdb.dwarf2/dwz.exp: Likewise.
18601 * gdb.dwarf2/method-ptr.exp: Likewise.
18602 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18603 * gdb.dwarf2/subrange.exp: Likewise.
18604 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18605 * gdb.dwarf2/implptrpiece.exp: Likewise.
18606 * gdb.dwarf2/nostaticblock.exp: Likewise.
18607
18608 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18609
18610 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18611 directory to absolute path name arguments.
18612
18613 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18614
18615 * gdb.ada/tagged_access: New testcase.
18616
18617 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18618
18619 * gdb.btrace/data.exp: Update expected output.
18620
18621 2014-03-06 Yao Qi <yao@codesourcery.com>
18622
18623 * gdb.trace/pr16508.exp: New file.
18624
18625 2014-03-05 Pedro Alves <palves@redhat.com>
18626
18627 PR gdb/16575
18628 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18629 procedure.
18630 (top level): Adjust to use it. Add tests that exercise breakpoint
18631 interaction with the code-cache.
18632
18633 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18634
18635 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18636 test for 'history-append!'.
18637
18638 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18639
18640 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18641 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18642 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18643 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18644 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18645 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18646
18647 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18648
18649 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18650 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18651 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18652
18653 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18654
18655 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18656
18657 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18658
18659 * gdb.dwarf2/arr-stride.c: New file.
18660 * gdb.dwarf2/arr-stride.exp: New file.
18661
18662 2014-02-26 Pedro Alves <palves@redhat.com>
18663
18664 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18665 that won't ever trigger. Make sure that GDB reports the correct
18666 breakpoint that caused the stop.
18667
18668 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18669
18670 PR gdb/16626
18671 * gdb.base/auto-load-script: New file.
18672 * gdb.base/auto-load.c: New file.
18673 * gdb.base/auto-load.exp: New file.
18674
18675 PR gdb/16626
18676 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18677
18678 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18679
18680 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18681 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18682
18683 2014-02-24 Doug Evans <dje@google.com>
18684
18685 * lib/gdb.exp (run_on_host): Log error output if program fails.
18686
18687 2014-02-21 Pedro Alves <palves@redhat.com>
18688
18689 * gdb.threads/step-after-sr-lock.c: Rename to ...
18690 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18691 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18692 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18693 ... this.
18694
18695 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18696
18697 PR tdep/16397
18698 * gdb.arch/amd64-stap-special-operands.exp: New file.
18699 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18700 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18701 * gdb.arch/amd64-stap-triplet.S: Likewise.
18702 * gdb.arch/amd64-stap-triplet.c: Likewise.
18703
18704 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18705
18706 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18707 in .section pseudo-op.
18708
18709 2014-02-20 lin zuojian <manjian2006@gmail.com>
18710 Joel Brobecker <brobecker@adacore.com>
18711 Doug Evans <xdje42@gmail.com>
18712
18713 PR symtab/16581
18714 * gdb.dwarf2/dw2-icycle.S: New file.
18715 * gdb.dwarf2/dw2-icycle.c: New file.
18716 * gdb.dwarf2/dw2-icycle.exp: New file.
18717
18718 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18719
18720 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18721 operations on gdb.Value objects.
18722 * gdb.python/py-value-cc.exp: Add new test to test operations on
18723 gdb.Value objects.
18724
18725 2014-02-18 Doug Evans <dje@google.com>
18726
18727 * Makefile.in (TESTS): New variable.
18728 (expanded_tests, expanded_tests_or_none): New variables
18729 (check-single): Pass $(expanded_tests_or_none) to runtest.
18730 (check-parallel): Only run tests in $(TESTS) if non-empty.
18731 (check/no-matching-tests-found): New rule.
18732 * README: Document TESTS makefile variable.
18733
18734 2014-02-18 Doug Evans <dje@google.com>
18735
18736 * Makefile.in (check-parallel): rm -rf outputs temp.
18737
18738 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18739
18740 Fix "ERROR: no fileid for" in the testsuite.
18741 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18742
18743 2014-02-12 Doug Evans <dje@google.com>
18744
18745 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18746 (MISCELLANEOUS): New variable.
18747 (clean): rm -rf $(MISCELLANEOUS).
18748 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18749 dwp live in the same directory as symlinks, with each symlink pointed
18750 to a differently named file in a different directory.
18751
18752 2014-02-11 Doug Evans <dje@google.com>
18753
18754 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18755 of Tcl file commands.
18756
18757 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18758
18759 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18760 "kill -SIGUSR1 -1".
18761
18762 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18763
18764 * gdb.ada/tick_length_array_enum_idx: New testcase.
18765
18766 2014-02-10 Doug Evans <xdje42@gmail.com>
18767
18768 * configure.ac (AC_OUTPUT): Add gdb.guile.
18769 * configure: Regenerate.
18770 * lib/gdb-guile.exp: New file.
18771 * lib/gdb.exp (get_target_charset): New function.
18772 * gdb.base/help.exp: Update expected output from "apropos apropos".
18773 * gdb.guile/Makefile.in: New file.
18774 * gdb.guile/guile.exp: New file.
18775 * gdb.guile/scm-arch.c: New file.
18776 * gdb.guile/scm-arch.exp: New file.
18777 * gdb.guile/scm-block.c: New file.
18778 * gdb.guile/scm-block.exp: New file.
18779 * gdb.guile/scm-breakpoint.c: New file.
18780 * gdb.guile/scm-breakpoint.exp: New file.
18781 * gdb.guile/scm-disasm.c: New file.
18782 * gdb.guile/scm-disasm.exp: New file.
18783 * gdb.guile/scm-equal.c: New file.
18784 * gdb.guile/scm-equal.exp: New file.
18785 * gdb.guile/scm-error.exp: New file.
18786 * gdb.guile/scm-error.scm: New file.
18787 * gdb.guile/scm-frame-args.c: New file.
18788 * gdb.guile/scm-frame-args.exp: New file.
18789 * gdb.guile/scm-frame-args.scm: New file.
18790 * gdb.guile/scm-frame-inline.c: New file.
18791 * gdb.guile/scm-frame-inline.exp: New file.
18792 * gdb.guile/scm-frame.c: New file.
18793 * gdb.guile/scm-frame.exp: New file.
18794 * gdb.guile/scm-generics.exp: New file.
18795 * gdb.guile/scm-gsmob.exp: New file.
18796 * gdb.guile/scm-iterator.c: New file.
18797 * gdb.guile/scm-iterator.exp: New file.
18798 * gdb.guile/scm-math.c: New file.
18799 * gdb.guile/scm-math.exp: New file.
18800 * gdb.guile/scm-objfile-script-gdb.in: New file.
18801 * gdb.guile/scm-objfile-script.c: New file.
18802 * gdb.guile/scm-objfile-script.exp: New file.
18803 * gdb.guile/scm-objfile.c: New file.
18804 * gdb.guile/scm-objfile.exp: New file.
18805 * gdb.guile/scm-ports.exp: New file.
18806 * gdb.guile/scm-pretty-print.c: New file.
18807 * gdb.guile/scm-pretty-print.exp: New file.
18808 * gdb.guile/scm-pretty-print.scm: New file.
18809 * gdb.guile/scm-section-script.c: New file.
18810 * gdb.guile/scm-section-script.exp: New file.
18811 * gdb.guile/scm-section-script.scm: New file.
18812 * gdb.guile/scm-symbol.c: New file.
18813 * gdb.guile/scm-symbol.exp: New file.
18814 * gdb.guile/scm-symtab-2.c: New file.
18815 * gdb.guile/scm-symtab.c: New file.
18816 * gdb.guile/scm-symtab.exp: New file.
18817 * gdb.guile/scm-type.c: New file.
18818 * gdb.guile/scm-type.exp: New file.
18819 * gdb.guile/scm-value-cc.cc: New file.
18820 * gdb.guile/scm-value-cc.exp: New file.
18821 * gdb.guile/scm-value.c: New file.
18822 * gdb.guile/scm-value.exp: New file.
18823 * gdb.guile/source2.scm: New file.
18824 * gdb.guile/types-module.cc: New file.
18825 * gdb.guile/types-module.exp: New file.
18826
18827 2014-02-10 Yao Qi <yao@codesourcery.com>
18828
18829 PR testsuite/16543
18830 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18831 * configure: Regenerated.
18832 * Makefile.in: New file.
18833
18834 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18835
18836 * gdb.python/py-framefilter.exp: Fix typo.
18837
18838 2014-02-08 Yao Qi <yao@codesourcery.com>
18839
18840 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18841 that no =breakpoint-modified is emitted when breakpoints are
18842 modified through MI commands.
18843
18844 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18845 Pedro Alves <palves@redhat.com>
18846
18847 * gdb.threads/step-after-sr-lock.c: New file.
18848 * gdb.threads/step-after-sr-lock.exp: New file.
18849
18850 2014-02-07 Pedro Alves <palves@redhat.com>
18851
18852 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18853
18854 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18855
18856 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18857 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18858
18859 2014-02-06 Doug Evans <xdje42@gmail.com>
18860
18861 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18862 output.
18863
18864 * gdb.gdb/python-interrupts.exp: New file.
18865
18866 2014-02-05 Yao Qi <yao@codesourcery.com>
18867
18868 * gdb.trace/report.exp (use_collected_data): Test the output
18869 of "info threads" and "info inferiors".
18870
18871 2014-02-05 Yao Qi <yao@codesourcery.com>
18872
18873 Revert this patch:
18874
18875 2013-05-24 Yao Qi <yao@codesourcery.com>
18876
18877 * gdb.trace/tfile.exp: Test inferior and thread.
18878
18879 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18880
18881 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18882 on a function.
18883 * gdb.base/step-bt.c: Call hello via function pointer to make
18884 sure its first instruction is executed on powerpc64le-linux.
18885
18886 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18887
18888 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18889
18890 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18891
18892 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18893 of the test patterns for use on little-endian systems.
18894
18895 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18896
18897 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18898 (decimal_vector): Fix for little-endian.
18899
18900 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18901
18902 * gdb.arch/sparc-sysstep.exp: New file.
18903 * gdb.arch/sparc-sysstep.c: Likewise.
18904
18905 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18906
18907 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18908
18909 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18910
18911 2014-01-23 Tom Tromey <tromey@redhat.com>
18912
18913 * gdb.ada/array_char_idx: New testcase.
18914
18915 2014-01-23 Tom Tromey <tromey@redhat.com>
18916
18917 PR python/16487:
18918 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18919 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18920 classes.
18921
18922 2014-01-23 Tom Tromey <tromey@redhat.com>
18923
18924 PR python/16491:
18925 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18926 string from an inferior frame.
18927 * gdb.python/py-framefilter-mi.exp: Update.
18928
18929 2014-01-22 Doug Evans <dje@google.com>
18930
18931 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18932
18933 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18934
18935 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18936
18937 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18938
18939 * gdb.trace/entry-values.exp: Remove excess space character from
18940 regex patterns. Handle s390 call instruction.
18941
18942 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18943
18944 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18945 define "*_start" label. Make "name" static.
18946 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18947 ${name} by references to ${name}_start.
18948
18949 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18950
18951 * gdb.base/info-macros.exp: Remove "debug" from the compile
18952 options.
18953
18954 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18955
18956 * gdb.dlang/demangle.exp: New file.
18957
18958 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18959
18960 * gdb.dlang/primitive-types.exp: New file.
18961
18962 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18963
18964 * configure.ac: Create gdb.dlang/Makefile.
18965 * configure: Regenerate.
18966 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18967 * gdb.dlang/Makefile.in: New file.
18968 * lib/d-support.exp: New file.
18969 * lib/gdb.exp (skip_d_tests): New proc.
18970
18971 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18972
18973 * gdb.btrace/delta.exp: Check reverse stepi.
18974 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18975 * gdb.btrace/finish.exp: New.
18976 * gdb.btrace/next.exp: New.
18977 * gdb.btrace/nexti.exp: New.
18978 * gdb.btrace/record_goto.c: Add comments.
18979 * gdb.btrace/step.exp: New.
18980 * gdb.btrace/stepi.exp: New.
18981 * gdb.btrace/multi-thread-step.c: New.
18982 * gdb.btrace/multi-thread-step.exp: New.
18983 * gdb.btrace/rn-dl-bind.c: New.
18984 * gdb.btrace/rn-dl-bind.exp: New.
18985 * gdb.btrace/data.c: New.
18986 * gdb.btrace/data.exp: New.
18987 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18988
18989 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18990
18991 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18992 * gdb.btrace/exception.exp: Update.
18993 * gdb.btrace/instruction_history.exp: Update.
18994 * gdb.btrace/record_goto.exp: Update.
18995 * gdb.btrace/tailcall.exp: Update.
18996 * gdb.btrace/unknown_functions.exp: Update.
18997 * gdb.btrace/delta.exp: New.
18998
18999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19000
19001 * gdb.btrace/record_goto.exp: Add backtrace test.
19002 * gdb.btrace/tailcall.exp: Add backtrace test.
19003
19004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19005
19006 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19007 * gdb.btrace/record_goto.c: New.
19008 * gdb.btrace/record_goto.exp: New.
19009 * gdb.btrace/x86-record_goto.S: New.
19010
19011 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19012
19013 * gdb.btrace/function_call_history.exp: Update tests.
19014 * gdb.btrace/instruction_history.exp: Update tests.
19015
19016 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19017
19018 * gdb.btrace/function_call_history.exp: Fix expected field
19019 order for "record function-call-history".
19020 Add new tests for "record function-call-history /c".
19021 * gdb.btrace/exception.cc: New.
19022 * gdb.btrace/exception.exp: New.
19023 * gdb.btrace/tailcall.exp: New.
19024 * gdb.btrace/x86-tailcall.S: New.
19025 * gdb.btrace/x86-tailcall.c: New.
19026 * gdb.btrace/unknown_functions.c: New.
19027 * gdb.btrace/unknown_functions.exp: New.
19028 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19029
19030 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19031
19032 * gdb.btrace/instruction_history.exp: Update.
19033 * gdb.btrace/function_call_history.exp: Update.
19034
19035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19036
19037 * gdb.btrace/function_call_history.exp: Fix expected function
19038 trace.
19039 * gdb.btrace/instruction_history.exp: Initialize traced.
19040 Remove traced_functions.
19041
19042 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19043
19044 * gdb.btrace/function_call_history.exp: Update
19045 * gdb.btrace/instruction_history.exp: Update.
19046
19047 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19048
19049 * gdb.btrace/enable.exp: Update expected text.
19050
19051 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19052
19053 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19054 bytes.
19055
19056 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19057
19058 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19059
19060 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19061
19062 * lib/gdb.exp (supports_process_record): Return true for
19063 arm*-linux*. (supports_reverse): Likewise.
19064
19065 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19066
19067 PR python/15464
19068 PR python/16113
19069 * gdb.python/py-type.c: Enhance test case.
19070 * gdb.python/py-value-cc.cc: Likewise
19071 * gdb.python/py-type.exp: Add new tests.
19072 * gdb.python/py-value-cc.exp: Likewise
19073
19074 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19075 Pedro Alves <palves@redhat.com>
19076
19077 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19078 Make "name" extern.
19079 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19080 references to ${name}_start by references to ${name}.
19081
19082 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19083
19084 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19085
19086 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19087
19088 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19089
19090 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19091 Pedro Alves <palves@redhat.com>
19092
19093 * gdb.mi/mi-info-os.exp: Connect to the target with
19094 mi_gdb_target_load.
19095
19096 2014-01-08 Pedro Alves <palves@redhat.com>
19097
19098 * gdb.threads/reconnect-signal.c: New file.
19099 * gdb.threads/reconnect-signal.exp: New file.
19100
19101 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19102
19103 * gdb.base/source-dir.exp: New file.
19104
19105 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19106
19107 * gdb.ada/mi_interface: New testcase.
19108
19109 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19110
19111 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19112 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19113 gdb.ada/pp-rec-component/pck.ads: New files.
19114
19115 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19116
19117 * gdb.python/py-pp-integral.c: New file.
19118 * gdb.python/py-pp-integral.py: New file.
19119 * gdb.python/py-pp-integral.exp: New file.
19120
19121 For older changes see ChangeLog-1993-2013.
19122 \f
19123 ;; Local Variables:
19124 ;; mode: change-log
19125 ;; left-margin: 8
19126 ;; fill-column: 74
19127 ;; version-control: never
19128 ;; End:
19129
19130 Copyright 2014-2020 Free Software Foundation, Inc.
19131 Copying and distribution of this file, with or without modification,
19132 are permitted provided the copyright notice and this notice are preserved.
This page took 0.54021 seconds and 4 git commands to generate.