Replace most calls to help_list and cmd_show_list
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-04-17 Tom Tromey <tromey@adacore.com>
2
3 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4 Update tests.
5 * gdb.btrace/cpu.exp: Update tests.
6 * gdb.base/maint.exp: Update tests.
7 * gdb.base/default.exp: Update tests.
8 * gdb.base/completion.exp: Update tests.
9
10 2020-04-16 Tom de Vries <tdevries@suse.de>
11
12 PR symtab/25791
13 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
14 (ensure_gdb_index): and factor out and move ...
15 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
16 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
17
18 2020-04-16 Tom de Vries <tdevries@suse.de>
19
20 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
21 loading exec.
22
23 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * gdb.base/many-completions.exp: New file.
26
27 2020-04-14 Tom de Vries <tdevries@suse.de>
28
29 PR symtab/25718
30 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
31
32 2020-04-14 Tom de Vries <tdevries@suse.de>
33
34 PR symtab/25720
35 * gdb.base/maint-expand-symbols-header-file.c: New test.
36 * gdb.base/maint-expand-symbols-header-file.exp: New file.
37 * gdb.base/maint-expand-symbols-header-file.h: New test.
38
39 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
40
41 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
42 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
43 get_func_info.
44 (get_func_info): Delete.
45 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
46 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
47 * lib/dwarf.exp (get_func_info): New function.
48
49 2020-04-13 Tom de Vries <tdevries@suse.de>
50
51 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
52 to what find_gnatmake does.
53
54 2020-04-10 Tom de Vries <tdevries@suse.de>
55
56 * gdb.base/style.exp: Expect "Expanding full symbols" message for
57 -readnow.
58
59 2020-04-10 Tom de Vries <tdevries@suse.de>
60
61 PR cli/25808
62 * gdb.base/style.c: Add leading newlines.
63 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
64 Check listing of main's one-line body.
65
66 2020-04-08 Tom de Vries <tdevries@suse.de>
67
68 * lib/gdb.exp (psymtabs_p): New proc.
69 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
70 importing unit" unsupported if there are no partial symbols.
71
72 2020-04-08 Tom de Vries <tdevries@suse.de>
73
74 PR testsuite/25760
75 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
76
77 2020-04-07 Tom de Vries <tdevries@suse.de>
78
79 PR symtab/25796
80 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
81
82 2020-04-07 Tom de Vries <tdevries@suse.de>
83
84 * gdb.base/check-psymtab.c: New test.
85 * gdb.base/check-psymtab.exp: New file.
86
87 2020-04-06 Tom Tromey <tromey@adacore.com>
88
89 * gdb.ada/variant-record/proc.adb: New file.
90 * gdb.ada/variant-record/value.adb: New file.
91 * gdb.ada/variant-record/value.s: New file.
92 * gdb.ada/variant-record.exp: New file.
93
94 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
95
96 PR gdb/25325
97 * gdb.cp/typed-enum.cc: New test.
98 * gdb.cp/typed-enum.exp: New file.
99
100 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
103 * gdb.dwarf2/dw2-inline-small-func.c: New file.
104 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
105 * gdb.dwarf2/dw2-inline-small-func.h: New file.
106 * gdb.opt/inline-small-func.c: New file.
107 * gdb.opt/inline-small-func.exp: New file.
108 * gdb.opt/inline-small-func.h: New file.
109
110 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
113 function.
114
115 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * lib/dwarf.exp (function_range): Allow compiler options to be
118 specified.
119
120 2020-04-02 Tom de Vries <tdevries@suse.de>
121
122 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
123 __attribute__((always_inline)).
124 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
125
126 2020-04-02 Tom de Vries <tdevries@suse.de>
127
128 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
129 (gdbserver_gdb_exit): ... here. Add timeout warning.
130 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
131 (connect_target_extended_remote): Append new server_spawn_id to
132 server_spawn_ids.
133 (cleanup): New proc.
134 (setup, <toplevel>): Call cleanup.
135
136 2020-04-02 Tom de Vries <tdevries@suse.de>
137
138 * gdb.base/main-psymtab.exp: New file.
139
140 2020-04-02 Tom de Vries <tdevries@suse.de>
141
142 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
143
144 2020-04-01 Tom Tromey <tom@tromey.com>
145
146 * gdb.base/complex-parts.exp: Add type tests.
147
148 2020-04-01 Tom Tromey <tom@tromey.com>
149
150 * gdb.base/complex-parts.exp: Add arithmetic tests.
151
152 2020-04-01 Tom Tromey <tom@tromey.com>
153
154 * gdb.compile/compile.exp: Update.
155 * gdb.compile/compile-cplus.exp: Update.
156 * gdb.base/varargs.exp: Update.
157 * gdb.base/floatn.exp: Update.
158 * gdb.base/endianity.exp: Update.
159 * gdb.base/callfuncs.exp (do_function_calls): Update.
160 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
161 (complex_float_integral_args): Update.
162 * gdb.base/complex.exp: Update.
163 * gdb.base/complex-parts.exp: Update.
164
165 2020-04-01 Tom Tromey <tromey@adacore.com>
166
167 * gdb.rust/union.rs: New file.
168 * gdb.rust/union.exp: New file.
169 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
170 (main): Update.
171 * gdb.rust/simple.exp: Move union tests to union.exp.
172
173 2020-04-01 Tom Tromey <tromey@adacore.com>
174
175 * gdb.rust/simple.rs (main): Remove "y0".
176
177 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
178
179 * gdb.multi/stop-all-on-exit.c: New test.
180 * gdb.multi/stop-all-on-exit.exp: New file.
181
182 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
183
184 PR gdb/24789
185 * gdb.cp/misc.cc: Add integer reference variable.
186 * gdb.cp/misc.exp: Add test.
187
188 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
189
190 * gdb.server/stop-reply-no-thread.exp: Enhance the test
191 scenario to cover execution until the end and also the case
192
193 2020-03-31 Tom de Vries <tdevries@suse.de>
194
195 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
196 c. Use "maint info symtabs" to check symtab expansion.
197
198 2020-03-30 Tom de Vries <tdevries@suse.de>
199
200 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
201 unsupported.
202 (verify_psymtab_expanded): Move ...
203 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
204 test.
205 (readnow): New proc.
206
207 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
210 with $hex.
211
212 2020-03-20 Tom Tromey <tromey@adacore.com>
213
214 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
215
216 2020-03-20 Tom Tromey <tromey@adacore.com>
217
218 * gdb.ada/sub_variant/subv.adb: New file.
219 * gdb.ada/sub_variant.exp: New file.
220
221 2020-03-20 Tom de Vries <tdevries@suse.de>
222
223 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
224 first break fails.
225 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
226
227 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
228
229 * gdb.server/exit-multiple-threads.c: New file.
230 * gdb.server/exit-multiple-threads.exp: New file.
231
232 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * gdb.fortran/mixed-lang-stack.c: New file.
235 * gdb.fortran/mixed-lang-stack.cpp: New file.
236 * gdb.fortran/mixed-lang-stack.exp: New file.
237 * gdb.fortran/mixed-lang-stack.f90: New file.
238
239 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
240
241 * gdb.linespec/cp-completion-aliases.cc: New file.
242 * gdb.linespec/cp-completion-aliases.exp: New file.
243
244 2020-03-19 Tom de Vries <tdevries@suse.de>
245
246 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
247 more precise.
248
249 2020-03-18 Tom de Vries <tdevries@suse.de>
250
251 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
252 * gdb.dwarf2/break-inline-psymtab.c: New test.
253 * gdb.dwarf2/break-inline-psymtab.exp: New file.
254
255 2020-03-16 Tom de Vries <tdevries@suse.de>
256
257 * lib/cache.exp (gdb_do_cache): Add and handle local variables
258 cache_verify and cache_verify_proc.
259
260 2020-03-15 Tom de Vries <tdevries@suse.de>
261
262 * gdb.server/solib-list.exp: Handle
263 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
264
265 2020-03-15 Tom de Vries <tdevries@suse.de>
266
267 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
268 objfiles".
269
270 2020-03-14 Tom Tromey <tom@tromey.com>
271
272 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
273
274 2020-03-14 Tom de Vries <tdevries@suse.de>
275
276 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
277
278 2020-03-14 Tom de Vries <tdevries@suse.de>
279
280 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
281 result in line-by-line fashion.
282
283 2020-03-14 Tom de Vries <tdevries@suse.de>
284
285 * lib/gdb.exp (supports_statement_frontiers): New proc.
286 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
287
288 2020-03-14 Tom de Vries <tdevries@suse.de>
289
290 * gdb.base/printcmds.exp: Add missing quoting for "print
291 teststring2".
292
293 2020-03-13 Tom Tromey <tom@tromey.com>
294
295 * gdb.base/printcmds.exp (test_print_strings): Add regression
296 test.
297 * gdb.base/printcmds.c (charptr): New typedef.
298 (teststring2): New global.
299
300 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.base/break-interp.exp: Use the tail of the filename, not the
303 full path in the test name.
304 (test_ld): Add some with_test_prefix blocks to make test names
305 unique.
306
307 2020-03-13 Tom de Vries <tdevries@suse.de>
308
309 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
310
311 2020-03-13 Tom de Vries <tdevries@suse.de>
312
313 * gdb.mi/mi-sym-info.exp: Make matching more precise.
314
315 2020-03-13 Tom de Vries <tdevries@suse.de>
316
317 PR symtab/25646
318 * gdb.dwarf2/imported-unit.exp: Add test.
319
320 2020-03-13 Tom de Vries <tdevries@suse.de>
321
322 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
323 (var1, var2): New variable.
324 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
325 matching symbols.
326
327 2020-03-13 Tom de Vries <tdevries@suse.de>
328
329 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
330 (Term::command): Use prompt prefix.
331 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
332 * gdb.tui/tui-layout-asm-short-prog.exp: Use
333 command_no_prompt_prefix instead of prefix.
334 * gdb.tui/tui-layout-asm.exp: Same.
335
336 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
337
338 * gdb.base/break-interp.exp: Use foreach_with_prefix.
339
340 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
341
342 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
343 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
344 on" while stepping over the test instruction, match printed
345 message.
346
347 2020-03-12 Tom de Vries <tdevries@suse.de>
348
349 * gdb.base/info-types.exp: Use exp_continue during matching of output
350 of "info types".
351
352 2020-03-12 Tom de Vries <tdevries@suse.de>
353
354 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
355
356 2020-03-12 Tom de Vries <tdevries@suse.de>
357
358 * gdb.fortran/module.exp: Use exp_continue during matching of output
359 of "info variable -n".
360
361 2020-03-12 Tom de Vries <tdevries@suse.de>
362
363 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
364 gdb.dwarf2/dw2-ranges-base.c.
365
366 2020-03-12 Tom de Vries <tdevries@suse.de>
367
368 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
369 in presence of GLIBC debuginfo.
370
371 2020-03-12 Tom de Vries <tdevries@suse.de>
372
373 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
374 $core.
375
376 2020-03-12 Tom de Vries <tdevries@suse.de>
377
378 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
379 more precise.
380
381 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
382
383 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
384 from Unix to Windows path.
385
386 2020-03-11 Tom de Vries <tdevries@suse.de>
387
388 * gdb.ada/minsyms.exp: Set language to ada.
389
390 2020-03-11 Tom de Vries <tdevries@suse.de>
391
392 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
393
394 2020-03-11 Tom de Vries <tdevries@suse.de>
395
396 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
397
398 2020-03-11 Tom Tromey <tromey@adacore.com>
399
400 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
401
402 2020-03-11 Tom de Vries <tdevries@suse.de>
403
404 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
405
406 2020-03-11 Tom de Vries <tdevries@suse.de>
407
408 * gdb.base/break-interp.exp: Limit verbose scope.
409
410 2020-03-11 Tom de Vries <tdevries@suse.de>
411
412 * gdb.fortran/logical.f90: Define variable with character type.
413 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
414
415 2020-03-11 Tom de Vries <tdevries@suse.de>
416
417 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
418
419 2020-03-11 Tom de Vries <tdevries@suse.de>
420
421 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
422 symtabs.
423
424 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
425 Bernd Edlinger <bernd.edlinger@hotmail.de>
426
427 * gdb.cp/step-and-next-inline.cc: New file.
428 * gdb.cp/step-and-next-inline.exp: New file.
429 * gdb.cp/step-and-next-inline.h: New file.
430 * gdb.dwarf2/dw2-is-stmt.c: New file.
431 * gdb.dwarf2/dw2-is-stmt.exp: New file.
432 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
433 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
434 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
435
436 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
439 is-stmt flag in the line table.
440
441 2020-03-09 Tom de Vries <tdevries@suse.de>
442
443 * lib/gdb.exp (cached_file): Create cache dir.
444
445 2020-03-07 Tom de Vries <tdevries@suse.de>
446
447 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
448 * gdb.cp/rvalue-ref-params.exp: Same.
449
450 2020-03-06 Tom de Vries <tdevries@suse.de>
451
452 * lib/gdb.exp (tentative_rename, cached_file): New proc.
453 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
454
455 2020-03-06 Tom de Vries <tdevries@suse.de>
456
457 * README: Fix "the the".
458 * gdb.base/dprintf.exp: Same.
459
460 2020-03-05 Tom de Vries <tdevries@suse.de>
461
462 * gdb.base/maint.exp: Update "main print statistics" expected output.
463
464 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
465
466 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
467 (fortran_int8): Likewise.
468 (fortran_real4): Likewise.
469 (fortran_real8): Likewise.
470 (fortran_complex4): Likewise.
471 (fortran_logical4): Likewise.
472 (fortran_character1): Likewise.
473
474 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
475
476 * gdb.fortran/logical.exp: Add tests that any non-zero value is
477 printed as true.
478
479 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
480
481 * gdb.base/printcmds.exp: Add test to verify printf of a
482 variable holding an address.
483
484 2020-03-03 Tom de Vries <tdevries@suse.de>
485
486 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
487
488 2020-03-03 Tom de Vries <tdevries@suse.de>
489
490 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
491 gdb_test_multiple call.
492
493 2020-03-03 Tom de Vries <tdevries@suse.de>
494
495 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
496 gdb_test_multiple calls.
497
498 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * gdb.base/default.exp: Remove test of 'set history filename'.
501 * gdb.base/gdbinit-history.exp: Add tests for setting the history
502 filename to the empty string.
503 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
504 and GDBHISTSIZE.
505
506 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
507
508 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
509 disabled.
510
511 2020-03-02 Pedro Alves <palves@redhat.com>
512 Tom de Vries <tdevries@suse.de>
513
514 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
515 -prompt prefix, before user_code argument. Add -lbl option likewise.
516 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
517 (gdb_is_target_1): Add -prompt prefix and move to before user_code
518 argument.
519 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
520 have "\r\n" at start-of-line, instead of at end-of-line.
521
522 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
523
524 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
525 libinproctrace.so.
526
527 2020-02-28 Luis Machado <luis.machado@linaro.org>
528
529 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
530 to "p/x".
531
532 2020-02-28 Luis Machado <luis.machado@linaro.org>
533
534 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
535 asm/ptrace.h and error.h.
536
537 2020-02-28 Tom de Vries <tdevries@suse.de>
538
539 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
540 (struct wrapper, do_something, mundane/symada__cS): Move ...
541 * gdb.base/c-linkage-name-2.c: ... here. New source file.
542 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
543 Update "print symada__cS before partial symtab expansion" regexp.
544 Update breakpoint location. Flush symbol cache after expansion.
545
546 2020-02-28 Luis Machado <luis.machado@linaro.org>
547
548 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
549
550 2020-02-27 Tom de Vries <tdevries@suse.de>
551
552 * config/sid.exp: Remove unused globals.
553 * gdb.base/attach.exp: Same.
554 * gdb.base/catch-load.exp: Same.
555 * gdb.base/dbx.exp: Same.
556 * lib/gdb.exp: Same.
557 * lib/mi-support.exp: Same.
558 * lib/prompt.exp: Same.
559
560 2020-02-27 Tom de Vries <tdevries@suse.de>
561
562 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
563 not set.
564
565 2020-02-26 Aaron Merey <amerey@redhat.com>
566
567 * gdb.debuginfod: New directory for debuginfod tests.
568 * gdb.debuginfod/main.c: New test file.
569 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
570
571 2020-02-26 Tom de Vries <tdevries@suse.de>
572
573 PR gdb/25603
574 * gdb.base/persistent-lang.cc: New test.
575 * gdb.base/persistent-lang.exp: New file.
576
577 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * gdb.fortran/derived-type-striding.exp: Add a new test.
580 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
581 new test.
582
583 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
584
585 * gdb.base/cached-source-file.exp: Avoid source file paths in test
586 names.
587
588 2020-02-25 Tom de Vries <tdevries@suse.de>
589
590 PR go/18926
591 * gdb.go/methods.exp: Remove gcc/93866 xfail.
592
593 2020-02-24 Tom de Vries <tdevries@suse.de>
594
595 PR gdb/25592
596 * gdb.base/info-locals-unused-static-var.c: New test.
597 * gdb.base/info-locals-unused-static-var.exp: New file.
598
599 2020-02-22 Tom Tromey <tom@tromey.com>
600
601 * gdb.python/tui-window.exp: New file.
602 * gdb.python/tui-window.py: New file.
603
604 2020-02-22 Tom Tromey <tom@tromey.com>
605
606 PR tui/17850:
607 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
608 tests.
609
610 2020-02-22 Tom Tromey <tom@tromey.com>
611
612 * gdb.tui/new-layout.exp: Add sub-layout tests.
613
614 2020-02-22 Tom Tromey <tom@tromey.com>
615
616 * gdb.tui/new-layout.exp: New file.
617
618 2020-02-22 Tom Tromey <tom@tromey.com>
619
620 * gdb.rust/rust-style.rs: New file.
621 * gdb.rust/rust-style.exp: New file.
622 * gdb.base/style.exp: Test structure printing.
623 * gdb.base/style.c (struct some_struct): New type.
624 (enum etype): New type.
625 (struct_value): New global.
626
627 2020-02-21 Tom de Vries <tdevries@suse.de>
628
629 PR go/18926
630 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
631 Remove blanket xfails. Use message argument for gdb_breakpoint.
632 Make continuing to breakpoint test conditional on setting breakpoint.
633 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
634 DW_AT_name attribute. Add xfail for GCC PR93866.
635
636 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
637
638 * gdb.dwarf2/cpp-linkage-name.c: New file.
639 * gdb.dwarf2/cpp-linkage-name.exp: New file.
640
641 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
642
643 * lib/gdb.exp (gdb_wrapper_init): Reset
644 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
645 not exist.
646
647 2020-02-20 Tom de Vries <tdevries@suse.de>
648
649 PR go/17018
650 * gdb.go/hello.exp: Copy ...
651 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
652 print of st to print value of global definition. Add xfail for GCC
653 PR93844.
654 * gdb.go/hello.exp: Remove printing of st before definition.
655 * gdb.go/hello.go: Copy ...
656 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
657 to st.
658 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
659
660 2020-02-20 Tom de Vries <tdevries@suse.de>
661
662 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
663 (gdb_simple_compile): Handle compile_flags go by using .go extension
664 for source file.
665 * gdb.go/chan.exp: Use support_go_compile.
666 * gdb.go/handcall.exp: Same.
667 * gdb.go/hello.exp: Same.
668 * gdb.go/integers.exp: Same.
669 * gdb.go/max-depth.exp: Same.
670 * gdb.go/methods.exp: Same.
671 * gdb.go/package.exp: Same.
672 * gdb.go/strings.exp: Same.
673 * gdb.go/types.exp: Same.
674 * gdb.go/unsafe.exp: Same.
675
676 2020-02-19 Tom de Vries <tdevries@suse.de>
677
678 * gdb.python/lib-types.exp: Make xfail more strict.
679
680 2020-02-19 Tom de Vries <tdevries@suse.de>
681
682 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
683
684 2020-02-19 Doug Evans <dje@google.com>
685
686 PR rust/25535
687 * gdb.rust/simple.exp: Add test.
688 * gdb.rust/simple.rs: Add test.
689
690 2020-02-19 Tom de Vries <tdevries@suse.de>
691
692 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
693 output line-by-line.
694
695 2020-02-19 Tom de Vries <tdevries@suse.de>
696
697 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
698
699 2020-02-19 Tom de Vries <tdevries@suse.de>
700
701 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
702 prelink.
703
704 2020-02-19 Tom de Vries <tdevries@suse.de>
705
706 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
707 (gdb_do_cache): Use gdb_do_cache_wrap.
708 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
709
710 2020-02-19 Tom de Vries <tdevries@suse.de>
711
712 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
713 gdb_compile option.
714
715 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
716
717 * gdb.base/printcmds.exp (test_print_enums): Update expected
718 output.
719
720 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
721
722 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
723 for "unknown".
724
725 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
726
727 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
728 enumerator.
729
730 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
731
732 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
733 FE_, add FE_NONE.
734 (three): Update.
735 (enum flag_enum_without_zero): New enum.
736 (flag_enum_without_zero): New variable.
737 (enum not_flag_enum): New enum.
738 (three_not_flag): New variable.
739 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
740 (test_print_enums): Add more tests for printing flag enums.
741
742 2020-02-18 Tom de Vries <tdevries@suse.de>
743
744 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
745 (gdb_compile_ada): ... here.
746 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
747 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
748
749 2020-02-14 Tom Tromey <tom@tromey.com>
750
751 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
752 build directory.
753 * boards/gdbserver-base.exp: Update path to gdbserver.
754
755 2020-02-13 Tom de Vries <tdevries@suse.de>
756
757 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
758
759 2020-02-13 Tom de Vries <tdevries@suse.de>
760
761 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
762 are missing.
763
764 2020-02-13 Tom de Vries <tdevries@suse.de>
765
766 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
767 call.
768
769 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
770
771 PR tui/25126
772 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
773 * gdb.base/cached-source-file.c: New file.
774 * gdb.base/cached-source-file.exp: New file.
775
776 2020-02-11 Tom de Vries <tdevries@suse.de>
777
778 PR testsuite/25488
779 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
780
781 2020-02-10 Tom de Vries <tdevries@suse.de>
782
783 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
784
785 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
786
787 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
788 and $after_addr are both integers before making a comparison.
789
790 2020-02-09 Tom de Vries <tdevries@suse.de>
791
792 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
793 command output and paste it into gdb.log. If any, paste catch message
794 to gdb.log.
795
796 2020-02-07 Tom Tromey <tromey@adacore.com>
797
798 PR breakpoints/24915:
799 * gdb.base/annotate-symlink.exp: Use setup_xfail.
800
801 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
802
803 * gdb.tui/tui-missing-src.exp: Add the "missing source
804 file" test for the TUI.
805
806 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
807
808 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
809 including a port number in the output.
810
811 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
812
813 * lib/fortran.exp (fortran_int4): Handle clang.
814 (fortran_int8): Likewise.
815 (fortran_real4): Likewise.
816 (fortran_real8): Likewise.
817 (fortran_complex4): Likewise.
818 (fortran_logical4): Likewise.
819 (fortran_character1): Likewise.
820
821 2020-02-04 Tom de Vries <tdevries@suse.de>
822
823 * README (Race detection): Add note.
824
825 2020-02-04 Tom de Vries <tdevries@suse.de>
826
827 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
828
829 2020-02-04 Tom de Vries <tdevries@suse.de>
830
831 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
832
833 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
834
835 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
836 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
837 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
838 blttar, bnetarl.
839 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
840 binary for blttar, bnetarl.
841 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
842 wait instruction. Delete ldmx test.
843 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
844
845 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
846
847 * gdb.fortran/array-bounds-high.exp: New file.
848 * gdb.fortran/array-bounds-high.f90: New file.
849
850 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
851
852 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
853 Replace #include of <sys/fcntl.h> by <fcntl.h>.
854
855 2020-02-01 Tom de Vries <tdevries@suse.de>
856
857 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
858
859 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
860
861 PR tui/9765
862 * gdb.tui/tui-layout-asm-short-prog.S: New file.
863 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
864
865 2020-01-29 Luis Machado <luis.machado@linaro.org>
866
867 * gdb.arch/aarch64-brk-patterns.c: New source file.
868 * gdb.arch/aarch64-brk-patterns.exp: New test.
869
870 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
871
872 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
873 GCC/Clang version.
874 * gdb.cp/pass-by-ref.exp: Ditto.
875
876 2020-01-29 Tom de Vries <tdevries@suse.de>
877
878 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
879 * gdb.threads/watchpoint-fork-mt.c: Same.
880 * gdb.threads/watchpoint-fork-parent.c: Same.
881 * gdb.threads/watchpoint-fork-st.c: Same.
882 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
883
884 2020-01-27 Luis Machado <luis.machado@linaro.org>
885
886 * gdb.base/step-over-syscall.exp (setup): Check if we're already
887 sitting at a syscall instruction when we hit the syscall function's
888 breakpoint.
889 Check PC against one obtained with the x command.
890 Validate syscall number.
891 (step_over_syscall): Don't continue to the syscall instruction if
892 we're already there.
893
894 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
895
896 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
897
898 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
899
900 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
901 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
902
903 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
904
905 * gdb.dwarf2/dw2-inline-stepping.c: New file.
906 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
907
908 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
909
910 * gdb.base/maint.exp: Update line table parsing test.
911 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
912
913 2020-01-24 Pedro Alves <palves@redhat.com>
914
915 PR gdb/25410
916 * gdb.multi/multi-re-run-1.c: New.
917 * gdb.multi/multi-re-run-2.c: New.
918 * gdb.multi/multi-re-run.exp: New.
919
920 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 PR gdb/23718
923 * gdb.server/server-kill-python.exp: New file.
924
925 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.server/multi-ui-errors.c: New file.
928 * gdb.server/multi-ui-errors.exp: New file.
929
930 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
931
932 PR tui/9765
933 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
934
935 2020-01-19 Tom Tromey <tom@tromey.com>
936
937 * gdb.tui/main.exp: Add check for plain "file".
938
939 2020-01-16 Christian Biesinger <cbiesinger@google.com>
940
941 * lib/gdb.exp: Fix spelling error (seperatelly).
942
943 2020-01-14 Tom Tromey <tom@tromey.com>
944
945 PR symtab/12535:
946 * gdb.python/python.exp: Test decode_line with empty string
947 argument.
948
949 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
950
951 * gdb.base/skip-inline.exp: Extend test.
952
953 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
956 * gdb.dwarf2/dw2-bad-elf.c: New file.
957 * gdb.dwarf2/dw2-bad-elf.exp: New file.
958
959 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
960
961 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
962 _line_saw_file.
963
964 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
965
966 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
967 border.
968
969 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
970
971 * gdb.multi/multi-target.exp (setup): Factor out "info
972 connections" and "info inferiors" tests to ...
973 (test_info_inferiors): ... this new procedure.
974 (top level): Run new "info-inferiors" tests.
975
976 2020-01-10 Pedro Alves <palves@redhat.com>
977
978 * gdb.server/bkpt-other-inferior.exp: New file.
979
980 2020-01-10 Pedro Alves <palves@redhat.com>
981
982 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
983 of "add-inferior".
984 * gdb.base/quit-live.exp: Likewise.
985 * gdb.base/remote-exec-file.exp: Likewise.
986 * gdb.guile/scm-progspace.exp: Likewise.
987 * gdb.linespec/linespec.exp: Likewise.
988 * gdb.mi/new-ui-mi-sync.exp: Likewise.
989 * gdb.mi/user-selected-context-sync.exp: Likewise.
990 * gdb.multi/multi-target.exp (setup): Add "info connection" and
991 "info inferiors" tests.
992 * gdb.multi/remove-inferiors.exp: Adjust expected output of
993 "add-inferior".
994 * gdb.multi/watchpoint-multi.exp: Likewise.
995 * gdb.python/py-inferior.exp: Likewise.
996 * gdb.server/extended-remote-restart.exp: Likewise.
997 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
998 "info inferiors".
999 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1000 * gdb.trace/report.exp: Likewise.
1001
1002 2020-01-10 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.multi/multi-target.c: New file.
1005 * gdb.multi/multi-target.exp: New file.
1006 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1007 mode requested, but remote does not support non-stop".
1008
1009 2020-01-10 Pedro Alves <palves@redhat.com>
1010
1011 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1012 disconnect before reconnecting.
1013
1014 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1015 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.server/connect-without-multi-process.exp: Also test
1018 continuing to end.
1019
1020 2020-01-10 Pedro Alves <palves@redhat.com>
1021
1022 * gdb.base/remote-exec-file.exp: New file.
1023
1024 2020-01-10 Pedro Alves <palves@redhat.com>
1025
1026 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1027 output.
1028 * gdb.threads/async.c: New.
1029 * gdb.threads/async.exp: New.
1030 * gdb.multi/tids-gid-reset.c: New.
1031 * gdb.multi/tids-gid-reset.exp: New.
1032
1033 2020-01-10 George Barrett <bob@bob131.so>
1034
1035 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1036 to help in finding the image relocation offset.
1037 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1038 options in arguments.
1039 (stap_test_no_debuginfo): Likewise.
1040 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1041 test variants.
1042 (stap_test): Add null semaphore relocation test.
1043
1044 2020-01-10 George Barrett <bob@bob131.so>
1045
1046 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1047 * gdb.base/stap-probe.exp: Likewise.
1048 (stap_test): Pass argument as an additional flag.
1049 (stap_test_no_debuginfo): Likewise.
1050 (stap_test): Check `info probes stap' output for semaphore
1051 addresses if the test binary is supposed to have them.
1052
1053 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.tui/basic.exp: Add more scrolling tests.
1056
1057 2020-01-09 Tom Tromey <tom@tromey.com>
1058
1059 PR tui/18932:
1060 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1061 meangingful value.
1062 (Term::command, Term::resize): Update.
1063 * gdb.tui/basic.exp: Add scrolling test.
1064
1065 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1066
1067 * gdb.tui/tui-layout-asm.exp: New file.
1068
1069 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1072
1073 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1076 (Term::enter_tui): Use Term::prepare_for_tui.
1077
1078 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1079
1080 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1081 called.
1082
1083 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.base/skip.exp: Fix race condition in test.
1086
1087 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.base/backtrace.c: New file.
1090 * gdb.base/backtrace.exp: New file.
1091
1092 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1095
1096 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1097
1098 * gdb.base/style.exp: Test that warnings are styled.
1099
1100 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1101
1102 * gdb.base/line65535.exp: New file.
1103 * gdb.base/line65535.c: New file.
1104
1105 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1106
1107 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1108 * lib/gnat_debug_info_test.adb: New file.
1109 * gdb.ada/ptype_tagged_param.exp: Use
1110 gnat_runtime_has_debug_info, expect a different output if
1111 runtime does not have debug info.
1112
1113 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1114
1115 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1116 (another) quote in test name.
1117
1118 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1119
1120 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1121 Add quote in test name.
1122
1123 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1124
1125 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1126 directory instead.
1127 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1128 * gdb.cp/pass-by-ref-2.cc: New file.
1129 * gdb.cp/pass-by-ref-2.exp: New file.
1130
1131 2019-12-20 Tom Tromey <tom@tromey.com>
1132
1133 * gdb.tui/list-before.exp: New file.
1134
1135 2019-12-20 Tom Tromey <tom@tromey.com>
1136
1137 * gdb.tui/list.exp: Check for source on initial listing.
1138
1139 2019-12-11 Tom Tromey <tromey@adacore.com>
1140
1141 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1142 Add crlf test.
1143
1144 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1145
1146 * gdb.base/default.exp: Update value of $_gdb_major.
1147
1148 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1149
1150 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1151
1152 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1153
1154 * gdb.base/skip.exp: Whitespace fix.
1155
1156 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1157
1158 * gdb.base/skip-inline.c: New file.
1159 * gdb.base/skip-inline.exp: New file.
1160
1161 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1162
1163 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1164 jit_function_00 to jit_function_stack_mangle.
1165 * gdb.base/jithost.c (jit_function_t): Rename to...
1166 (jit_function_stack_mangle_t): ... this.
1167 (jit_function_add_t): New typedef.
1168 (jit_function_00_code): Rename to...
1169 (jit_function_stack_mangle_code): ... this, make static.
1170 (jit_function_add_code): New.
1171 (main): Generate "add" function and call it. Adjust to changes
1172 in jithost_abi.
1173 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1174 (struct jithost_abi) <begin, end>: Remove fields.
1175 <object, function_stack_mangle, function_add>: New fields.
1176 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1177 code_end>: Remove fields.
1178 <func_stack_mangle>: New field.
1179 (read_debug_info): Adjust to renaming, create block for "add"
1180 function.
1181 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1182
1183 2019-12-11 Tom Tromey <tom@tromey.com>
1184
1185 * gdb.tui/resize.exp: Fix regexp.
1186 * gdb.tui/regs.exp: Fix regexps.
1187 * gdb.tui/main.exp: Fix regexp.
1188
1189 2019-12-11 Tom Tromey <tom@tromey.com>
1190
1191 * gdb.tui/resize.exp: Update.
1192 * gdb.tui/empty.exp (layouts): Update.
1193
1194 2019-12-11 Tom Tromey <tom@tromey.com>
1195
1196 * gdb.tui/regs.exp: Update.
1197 * gdb.tui/empty.exp (layouts): Update.
1198 * gdb.tui/basic.exp: Update.
1199 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1200
1201 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1202
1203 * gdb.base/options.exp: Add -raw-values in the print completion list.
1204 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1205
1206 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1207
1208 * gdb.threads/omp-par-scope.c: New file.
1209 * gdb/threads/omp-par-scope.exp: New file.
1210
1211 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1212
1213 * lib/gdb.exp (support_nested_function_tests): New proc.
1214
1215 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1216
1217 * lib/gdb.exp (gdb_compile_openmp): New proc.
1218 (build_executable_from_specs): Add an "openmp" option.
1219 (gdb_compile_pthreads): Add non-executable case.
1220
1221 2019-12-10 Tom Tromey <tromey@adacore.com>
1222
1223 * gdb.ada/unchecked_union.exp: New file.
1224 * gdb.ada/unchecked_union/pck.adb: New file.
1225 * gdb.ada/unchecked_union/pck.ads: New file.
1226 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1227 * gdb-utils.exp (string_to_regexp): Also quote "?".
1228
1229 2019-12-10 George Barrett <bob@bob131.so>
1230
1231 Test scripted probe breakpoints.
1232 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1233 * gdb.python/py-breakpoint.c (main): Likewise.
1234 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1235 specifier test.
1236 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1237
1238 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1239
1240 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1241 an rvalue parameter.
1242 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1243 parameter.
1244
1245 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1246
1247 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1248 modules.
1249
1250 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1251
1252 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1253 broken version of GCC.
1254
1255 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1256
1257 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1258 sym-info-cmds library.
1259 * gdb.fortran/info-types.exp: Likewise.
1260 * lib/sym-info-cmds.exp: New file.
1261
1262 2019-12-08 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1265
1266 2019-12-07 Keith Seitz <keiths@redhat.com>
1267
1268 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1269 * gdb.base/corefile-buildid-shlib.c: New file.
1270 * gdb.base/corefile-buildid.c: New file.
1271 * gdb.base/corefile-buildid.exp: New file.
1272
1273 2019-12-06 Tom de Vries <tdevries@suse.de>
1274
1275 * gdb.dwarf2/varval.exp: Add decl before def test.
1276
1277 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1278
1279 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1280
1281 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1282
1283 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1284 CV and reference conversion for overload resolution.
1285 * gdb.cp/rvalue-ref-overload.exp: Test it.
1286
1287 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1288
1289 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1290 * gdb.base/frameapply.exp: Test faas without command.
1291
1292 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1293
1294 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1295 Fortran tests.
1296 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1297 order.
1298
1299 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1300
1301 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1302 casting to type with no kind specified.
1303 (test_basic_parsing_of_type_kinds): Additional tests for types
1304 with no kind specified, and add tests for single/double
1305 precision/complex types.
1306
1307 2019-12-04 Tom Tromey <tromey@adacore.com>
1308
1309 * gdb.base/endianity.c (struct other) <x>: New field.
1310 (main): Initialize it.
1311 * gdb.base/endianity.exp: Update.
1312
1313 2019-12-04 Tom Tromey <tromey@adacore.com>
1314
1315 * gdb.ada/scalar_storage/storage.adb: New file.
1316 * gdb.ada/scalar_storage/pck.adb: New file.
1317 * gdb.ada/scalar_storage/pck.ads: New file.
1318 * gdb.ada/scalar_storage.exp: New file.
1319
1320 2019-12-04 Tom Tromey <tromey@adacore.com>
1321
1322 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1323 (main): Initialize it.
1324 * gdb.base/endianity.exp: Update.
1325
1326 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1327
1328 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1329
1330 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1331
1332 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1333 -symbol-info-module-functions and -symbol-info-module-variables.
1334
1335 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1336
1337 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1338
1339 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1340 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.fortran/derived-type-striding.exp: New file.
1343 * gdb.fortran/derived-type-striding.f90: New file.
1344 * gdb.fortran/array-slices.exp: New file.
1345 * gdb.fortran/array-slices.f90: New file.
1346
1347 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1348
1349 * gdb.base/define.exp: Test . in command names.
1350 * gdb.base/setshow.exp: Update test, as . is now part of
1351 command name.
1352
1353 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1354
1355 * gdb.base/define-prefix.exp: New file.
1356
1357 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1360 compile.
1361 (skip_btrace_pt_tests): Likewise.
1362
1363 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.fortran/info-modules.exp: Compile source files in correct
1366 order.
1367
1368 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1369
1370 * gdb.dwarf2/imported-unit.exp: New file.
1371 * gdb.dwarf2/imported-unit.c: New file.
1372
1373 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1374
1375 * gdb.mi/mi-fortran-modules-2.f90: New file.
1376 * gdb.mi/mi-fortran-modules.exp: New file.
1377 * gdb.mi/mi-fortran-modules.f90: New file.
1378
1379 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1380
1381 * gdb.mi/mi-sym-info-1.c: New file.
1382 * gdb.mi/mi-sym-info-2.c: New file.
1383 * gdb.mi/mi-sym-info.exp: New file.
1384
1385 2019-11-22 Tom Tromey <tromey@adacore.com>
1386
1387 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1388 * gdb.ada/tasks/foo.adb: Add another stopping location.
1389
1390 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1391
1392 * gdb.base/endianity.c: New test.
1393 * gdb.base/endianity.exp: New file.
1394
1395 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1396
1397 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1398
1399 2019-11-21 Tom de Vries <tdevries@suse.de>
1400
1401 PR gdb/24956
1402 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1403
1404 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1405
1406 * gdb.python/py-progspace.exp: Add missing parentheses on some
1407 'print' commands.
1408
1409 2019-11-19 Tom Tromey <tom@tromey.com>
1410
1411 * gdb.tui/winheight.exp: New file.
1412
1413 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1414
1415 * gdb.base/ctf-whatis.c: Delete.
1416 * gdb.base/ctf-whatis.exp: Delete.
1417 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1418
1419 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1420
1421 * gdb.base/ctf-cvexpr.exp: Delete.
1422 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1423
1424 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1425
1426 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1427 the compiler. Clean up header comment a little.
1428 * gdb.base/ctf-ptype.exp: Likewise.
1429 * gdb.base/ctf-whatis.exp: Likewise.
1430 * lib/gdb.exp (skip_ctf_tests): New proc.
1431
1432 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1433
1434 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1435 * gdb.tui/corefile-run.exp: New file.
1436
1437 2019-11-14 Tom Tromey <tromey@adacore.com>
1438
1439 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1440 regression tests.
1441
1442 2019-11-12 Tom Tromey <tom@tromey.com>
1443
1444 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1445 after any command. Expect prompt after WAIT_FOR is seen.
1446 (enter_tui): Enable resize messages.
1447 (command): Expect command in output.
1448 (get_line): Avoid error when cursor appears to be off-screen.
1449 (dump_screen): Include screen size in title.
1450 (_do_resize): New proc, from "resize".
1451 (resize): Rewrite. Do resize in two steps.
1452 * gdb.tui/empty.exp (layouts): Fix entries.
1453 (check_boxes): Remove xfail.
1454 (check_text): Dump screen on failure.
1455
1456 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1457
1458 * gdb.python/py-symbol.exp: Add test for
1459 gdb.lookup_static_symbols.
1460
1461 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.python/py-symbol.c: Declare and call function from new
1464 py-symbol-2.c file.
1465 * gdb.python/py-symbol.exp: Compile both source files, and add new
1466 tests for gdb.lookup_static_symbol.
1467 * gdb.python/py-symbol-2.c: New file.
1468
1469 2019-11-02 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1472 * gdb.base/anon.exp: Same.
1473 * gdb.base/auto-connect-native-target.exp: Same.
1474 * gdb.base/call-ar-st.exp: Same.
1475 * gdb.base/catch-syscall.exp: Same.
1476 * gdb.base/commands.exp: Same.
1477 * gdb.base/default.exp: Same.
1478 * gdb.base/display.exp: Same.
1479 * gdb.base/float.exp: Same.
1480 * gdb.base/foll-fork.exp: Same.
1481 * gdb.base/help.exp: Same.
1482 * gdb.base/info-macros.exp: Same.
1483 * gdb.base/info-proc.exp: Same.
1484 * gdb.base/info-target.exp: Same.
1485 * gdb.base/long_long.exp: Same.
1486 * gdb.base/macscp.exp: Same.
1487 * gdb.base/memattr.exp: Same.
1488 * gdb.base/nofield.exp: Same.
1489 * gdb.base/pointers.exp: Same.
1490 * gdb.base/printcmds.exp: Same.
1491 * gdb.base/ptype.exp: Same.
1492 * gdb.base/restore.exp: Same.
1493 * gdb.base/return.exp: Same.
1494 * gdb.base/scope.exp: Same.
1495 * gdb.base/set-noassign.exp: Same.
1496 * gdb.base/setshow.exp: Same.
1497 * gdb.base/shlib-call.exp: Same.
1498 * gdb.base/signals.exp: Same.
1499 * gdb.base/sigstep.exp: Same.
1500 * gdb.base/skip.exp: Same.
1501 * gdb.base/solib-symbol.exp: Same.
1502 * gdb.base/stap-probe.exp: Same.
1503 * gdb.base/step-line.exp: Same.
1504 * gdb.base/step-test.exp: Same.
1505 * gdb.base/style.exp: Same.
1506 * gdb.base/varargs.exp: Same.
1507 * gdb.base/vla-datatypes.exp: Same.
1508 * gdb.base/vla-ptr.exp: Same.
1509 * gdb.base/vla-sideeffect.exp: Same.
1510 * gdb.base/volatile.exp: Same.
1511 * gdb.base/watch-cond-infcall.exp: Same.
1512 * gdb.base/watchpoint.exp: Same.
1513
1514 2019-11-02 Tom de Vries <tdevries@suse.de>
1515
1516 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1517 * gdb.cp/cpexprs.exp: Same.
1518 * gdb.cp/except-multi-location.exp: Same.
1519 * gdb.cp/exceptprint.exp: Same.
1520 * gdb.cp/gdb2384.exp: Same.
1521 * gdb.cp/inherit.exp: Same.
1522 * gdb.cp/m-static.exp: Same.
1523 * gdb.cp/meth-typedefs.exp: Same.
1524 * gdb.cp/misc.exp: Same.
1525 * gdb.cp/namespace.exp: Same.
1526 * gdb.cp/non-trivial-retval.exp: Same.
1527 * gdb.cp/overload.exp: Same.
1528 * gdb.cp/pr17132.exp: Same.
1529 * gdb.cp/re-set-overloaded.exp: Same.
1530 * gdb.cp/rvalue-ref-types.exp: Same.
1531 * gdb.cp/templates.exp: Same.
1532
1533 2019-11-01 Luis Machado <luis.machado@linaro.org>
1534
1535 PR gdb/25124
1536
1537 * gdb.arch/pr25124.S: New file.
1538 * gdb.arch/pr25124.exp: New file.
1539
1540 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * gdb.fortran/info-modules.exp: Update expected results, and add
1543 additional tests for 'info module functinos', and 'info module
1544 variables'.
1545 * gdb.fortran/info-types.exp: Update expected results.
1546 * gdb.fortran/info-types.f90: Extend testcase with additional
1547 module variables and functions.
1548
1549 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 * gdb.fortran/info-modules.exp: New file.
1552 * gdb.fortran/info-types.exp: Build with new file.
1553 * gdb.fortran/info-types.f90: Include and use new module.
1554 * gdb.fortran/info-types-2.f90: New file.
1555
1556 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1557
1558 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1559 * gdb.base/settings.exp: Test all settings types using
1560 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1561 that now verifies that the value of "maint show" is the same as
1562 returned by the settings functions. Test the type of the
1563 maintenance settings.
1564 * gdb.base/default.exp: Update show_conv_list.
1565
1566 2019-10-31 Tom de Vries <tdevries@suse.de>
1567
1568 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1569 gdb_test.
1570 * gdb.arch/amd64-disp-step.exp: Same.
1571 * gdb.asm/asm-source.exp: Same.
1572 * gdb.btrace/buffer-size.exp: Same.
1573 * gdb.btrace/cpu.exp: Same.
1574 * gdb.btrace/enable.exp: Same.
1575 * gdb.dwarf2/count.exp: Same.
1576 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1577 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1578 * gdb.fortran/vla-datatypes.exp: Same.
1579 * gdb.fortran/vla-history.exp: Same.
1580 * gdb.fortran/vla-ptype.exp: Same.
1581 * gdb.fortran/vla-value.exp: Same.
1582 * gdb.fortran/whatis_type.exp: Same.
1583 * gdb.guile/guile.exp: Same.
1584 * gdb.multi/tids.exp: Same.
1585 * gdb.python/py-finish-breakpoint.exp: Same.
1586 * gdb.python/py-framefilter.exp: Same.
1587 * gdb.python/py-pp-registration.exp: Same.
1588 * gdb.python/py-xmethods.exp: Same.
1589 * gdb.python/python.exp: Same.
1590 * gdb.server/connect-with-no-symbol-file.exp: Same.
1591 * gdb.server/no-thread-db.exp: Same.
1592 * gdb.server/run-without-local-binary.exp: Same.
1593 * gdb.stabs/weird.exp: Same.
1594 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1595 * gdb.threads/thread-find.exp: Same.
1596 * gdb.threads/tls-shared.exp: Same.
1597 * gdb.threads/tls.exp: Same.
1598 * gdb.threads/wp-replication.exp: Same.
1599 * gdb.trace/ax.exp: Same.
1600 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1601
1602 2019-10-31 Tom de Vries <tdevries@suse.de>
1603
1604 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1605 * gdb.ada/array_subscript_addr.exp: Same.
1606 * gdb.ada/arrayidx.exp: Same.
1607 * gdb.ada/arrayparam.exp: Same.
1608 * gdb.ada/arrayptr.exp: Same.
1609 * gdb.ada/boolean_expr.exp: Same.
1610 * gdb.ada/call_pn.exp: Same.
1611 * gdb.ada/complete.exp: Same.
1612 * gdb.ada/fixed_cmp.exp: Same.
1613 * gdb.ada/fun_addr.exp: Same.
1614 * gdb.ada/funcall_param.exp: Same.
1615 * gdb.ada/interface.exp: Same.
1616 * gdb.ada/mod_from_name.exp: Same.
1617 * gdb.ada/null_array.exp: Same.
1618 * gdb.ada/packed_array.exp: Same.
1619 * gdb.ada/packed_tagged.exp: Same.
1620 * gdb.ada/print_chars.exp: Same.
1621 * gdb.ada/print_pc.exp: Same.
1622 * gdb.ada/ptype_arith_binop.exp: Same.
1623 * gdb.ada/ptype_field.exp: Same.
1624 * gdb.ada/ptype_tagged_param.exp: Same.
1625 * gdb.ada/rec_return.exp: Same.
1626 * gdb.ada/ref_tick_size.exp: Same.
1627 * gdb.ada/str_ref_cmp.exp: Same.
1628 * gdb.ada/taft_type.exp: Same.
1629 * gdb.ada/tagged.exp: Same.
1630 * gdb.ada/type_coercion.exp: Same.
1631 * gdb.ada/uninitialized_vars.exp: Same.
1632
1633 2019-10-30 Tom de Vries <tdevries@suse.de>
1634
1635 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1636
1637 2019-10-26 Tom de Vries <tdevries@suse.de>
1638
1639 * gdb.base/bigcore.c: Fix typos in comments.
1640 * gdb.base/ctf-ptype.c: Same.
1641 * gdb.base/long_long.c: Same.
1642 * gdb.dwarf2/dw2-op-out-param.S: Same.
1643 * gdb.python/py-evthreads.c: Same.
1644 * gdb.reverse/i387-stack-reverse.c: Same.
1645 * gdb.trace/tfile.c: Same.
1646 * lib/compiler.c: Same.
1647 * lib/compiler.cc: Same.
1648
1649 2019-10-25 Tom de Vries <tdevries@suse.de>
1650
1651 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1652 gdb_test_multiple calls.
1653 * gdb.reverse/sigall-reverse.exp: Same.
1654 * gdb.reverse/solib-precsave.exp: Same.
1655 * gdb.reverse/solib-reverse.exp: Same.
1656 * gdb.reverse/until-precsave.exp: Same.
1657 * gdb.reverse/until-reverse.exp: Same.
1658
1659 2019-10-24 Tom de Vries <tdevries@suse.de>
1660
1661 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1662 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1663 kfail using -wrap pattern flag and convenience variable
1664 gdb_test_name.
1665
1666 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1667
1668 * gdb.python/py-progspace.exp: Add tests for the
1669 Progspace.block_for_pc method.
1670
1671 2019-10-23 Tom Tromey <tom@tromey.com>
1672
1673 * configure: Rebuild.
1674 * aclocal.m4: Use m4_include, not sinclude.
1675
1676 2019-10-21 Tom de Vries <tdevries@suse.de>
1677
1678 * gdb.base/infcall-nested-structs.c: Add
1679 __attribute__((noinline,noclone)) to all functions.
1680 (call_all): Add missing variable initialization. Simplify return value.
1681 (breakpt): Increment volatile variable, to prevent call from being
1682 optimized out.
1683 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1684
1685 2019-10-17 Tom de Vries <tdevries@suse.de>
1686
1687 * gdb.fortran/module.exp: Allow info variables to print info for files
1688 other than module.f90.
1689
1690 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1691
1692 * gdb.fortran/module.exp: Extend with 'info variables' test.
1693
1694 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1695
1696 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1697 F77_FOR_TARGET.
1698
1699 2019-10-16 Tom de Vries <tdevries@suse.de>
1700
1701 PR tdep/25096
1702 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1703
1704 2019-10-16 Tom de Vries <tdevries@suse.de>
1705
1706 PR tdep/24104
1707 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1708 Add KFAIL for PR tdep/25096.
1709
1710 2019-10-16 Tom de Vries <tdevries@suse.de>
1711
1712 PR testsuite/25059
1713 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1714
1715 2019-10-16 Tom de Vries <tdevries@suse.de>
1716
1717 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1718 as signed.
1719
1720 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1721
1722 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1723 one instead of increasing timeout.
1724
1725 2019-10-13 Tom de Vries <tdevries@suse.de>
1726
1727 PR record/25038
1728 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1729 * gdb.reverse/sigall-reverse.exp: Same.
1730 * gdb.reverse/solib-precsave.exp: Same.
1731 * gdb.reverse/solib-reverse.exp: Same.
1732 * gdb.reverse/step-precsave.exp: Same.
1733 * gdb.reverse/until-precsave.exp: Same.
1734 * gdb.reverse/until-reverse.exp: Same.
1735 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1736
1737 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1738
1739 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1740 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1741 (cmp_struct_05_01, cmp_struct_static_02_01)
1742 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1743 comparisons.
1744
1745 2019-10-10 Tom de Vries <tdevries@suse.de>
1746
1747 PR testsuite/24888
1748 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1749 gnatlink.
1750
1751 2019-10-09 Tom de Vries <tdevries@suse.de>
1752
1753 PR testsuite/25048
1754 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1755
1756 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1759 exceptions due to missing debug information.
1760
1761 2019-10-07 Tom de Vries <tdevries@suse.de>
1762
1763 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1764
1765 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1768 * gdb.base/annota1.exp: Update to use gdb_test_name.
1769
1770 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1771
1772 * gdb.base/ctf-whatis.exp: New file.
1773 * gdb.base/ctf-whatis.c: New file.
1774 * gdb.base/ctf-ptype.exp: New file.
1775 * gdb.base/ctf-ptype.c: New file.
1776 * gdb.base/ctf-constvars.exp: New file.
1777 * gdb.base/ctf-constvars.c: New file.
1778 * gdb.base/ctf-cvexpr.exp: New file.
1779
1780 2019-10-04 Tom de Vries <tdevries@suse.de>
1781
1782 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1783 for loop.
1784
1785 2019-10-03 Tom Tromey <tom@tromey.com>
1786
1787 PR rust/24976:
1788 * gdb.rust/simple.rs (Union2): New type.
1789 (main): Use Union2.
1790 * gdb.rust/simple.exp: Add test.
1791
1792 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1795 nested function prefix.
1796
1797 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1798 Richard Bunt <richard.bunt@arm.com>
1799 Andrew Burgess <andrew.burgess@embecosm.com>
1800
1801 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1802 nested functions.
1803 * gdb.fortran/nested-funcs.f90: Update expected results.
1804 * gdb.fortran/nested-funcs-2.exp: New file.
1805 * gdb.fortran/nested-funcs-2.f90: New file.
1806
1807 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1808
1809 * gdb.python/py-parameter.exp: Make test names unique.
1810 * gdb.python/py-template.exp: Likewise.
1811 * gdb.python/py-value.exp: Likewise.
1812
1813 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1814
1815 * gdb.base/break-interp.exp: Reduce test name duplication.
1816 * gdb.base/call-sc.exp: Likewise.
1817 * gdb.base/callfuncs.exp: Likewise.
1818 * gdb.base/charset.exp: Likewise.
1819 * gdb.base/dump.exp: Likewise.
1820 * gdb.base/ena-dis-br.exp: Likewise.
1821 * gdb.base/relational.exp: Likewise.
1822 * gdb.base/step-over-syscall.exp: Likewise.
1823 * gdb.base/structs.exp: Likewise.
1824
1825 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1826
1827 * gdb.linespec/explicit.exp: Make test names unique.
1828 * gdb.linespec/ls-errs.exp: Likewise.
1829
1830 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.reverse/break-precsave.exp: Make test names unique.
1833 * gdb.reverse/break-reverse.exp: Likewise.
1834 * gdb.reverse/finish-precsave.exp: Likewise.
1835 * gdb.reverse/finish-reverse.exp: Likewise.
1836 * gdb.reverse/machinestate-precsave.exp: Likewise.
1837 * gdb.reverse/machinestate.exp: Likewise.
1838 * gdb.reverse/readv-reverse.exp: Likewise.
1839 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1840 * gdb.reverse/sigall-precsave.exp: Likewise.
1841 * gdb.reverse/sigall-reverse.exp: Likewise.
1842 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1843 * gdb.reverse/watch-precsave.exp: Likewise.
1844 * gdb.reverse/watch-reverse.exp: Likewise.
1845
1846 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1847
1848 * gdb.threads/stop-with-handle.c: New file.
1849 * gdb.threads/stop-with-handle.exp: New file.
1850
1851 2019-10-03 Tom de Vries <tdevries@suse.de>
1852
1853 PR testsuite/25059
1854 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1855 directory" line to be missing.
1856
1857 2019-10-03 Tom de Vries <tdevries@suse.de>
1858
1859 PR testsuite/25059
1860 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1861 type optional.
1862
1863 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1864
1865 * gdb.python/py-format-string.c (string.h): New include.
1866 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1867 the same value, for endianness-independence.
1868 * gdb.python/py-format-string.exp (default_regexp_dict)
1869 (test_pretty_structs, test_format): Adjust expected output to the
1870 changed initialization.
1871
1872 2019-10-02 Tom Tromey <tromey@adacore.com>
1873
1874 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1875
1876 2019-10-02 Pedro Alves <palves@redhat.com>
1877 Andrew Burgess <andrew.burgess@embecosm.com>
1878
1879 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1880 "print-file-var.h".
1881 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1882 (get_version_1): Print this_version_id and its address.
1883 Add extern "C" wrappers around interface functions.
1884 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1885 "print-file-var.h".
1886 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1887 (get_version_2): Print this_version_id and its address.
1888 Add extern "C" wrappers around interface functions.
1889 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1890 <stddef.h> and "print-file-var.h".
1891 Add extern "C" wrappers around interface functions.
1892 [VERSION_ID_MAIN] (this_version_id): Define.
1893 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1894 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1895 up extern "C" blocks.
1896 * gdb.base/print-file-var.exp (test): New, factored out from top
1897 level.
1898 (top level): Test all combinations of attribute hidden or not,
1899 dlopen or not, and this_version_id symbol in main file or not.
1900 Compile tests as both C++ and C, make test names unique.
1901
1902 2019-10-01 Tom Tromey <tom@tromey.com>
1903
1904 * gdb.base/style.exp: Test "show logging filename".
1905
1906 2019-10-01 Tom Tromey <tom@tromey.com>
1907
1908 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1909 * gdb.base/style.exp: Add metadata style test.
1910
1911 2019-10-01 Tom Tromey <tom@tromey.com>
1912
1913 * gdb.base/style.exp: Test "pwd".
1914
1915 2019-10-01 Tom Tromey <tom@tromey.com>
1916
1917 * gdb.base/style.exp: Update tests.
1918
1919 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1920
1921 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1922 'six' to unsigned.
1923 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1924 'five'. Use an all-ones bit pattern for each.
1925 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1926 to its changed values.
1927
1928 2019-09-30 Tom Tromey <tromey@adacore.com>
1929
1930 * gdb.rust/traits.rs: Disable all warnings.
1931
1932 2019-09-29 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1935
1936 2019-09-29 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1939
1940 2019-09-27 Tom de Vries <tdevries@suse.de>
1941
1942 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1943
1944 2019-09-27 Tom de Vries <tdevries@suse.de>
1945
1946 PR record/23188
1947 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1948
1949 2019-09-26 Tom Tromey <tromey@adacore.com>
1950
1951 * gdb.ada/py_taft.exp: New file.
1952 * gdb.ada/py_taft/main.adb: New file.
1953 * gdb.ada/py_taft/pkg.adb: New file.
1954 * gdb.ada/py_taft/pkg.ads: New file.
1955
1956 2019-09-24 Tom de Vries <tdevries@suse.de>
1957
1958 PR gdb/24598
1959 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1960
1961 2019-09-22 Tom de Vries <tdevries@suse.de>
1962
1963 * gdb.base/restore.exp: Allow register variables to be optimized out at
1964 -O0.
1965
1966 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1967
1968 * gdb.arch/spu-info.exp: Remove file.
1969 * gdb.arch/spu-info.c: Remove file.
1970 * gdb.arch/spu-ls.exp: Remove file.
1971 * gdb.arch/spu-ls.c: Remove file.
1972
1973 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1974 * gdb.asm/spu.inc: Remove file.
1975
1976 * gdb.base/dump.exp: Remove support for spu*-*-*.
1977 * gdb.base/stack-checking.exp: Likewise.
1978 * gdb.base/overlays.exp: Likewise.
1979 * gdb.base/ovlymgr.c: Likewise.
1980 * gdb.base/spu.ld: Remove file.
1981
1982 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1983 * gdb.cp/cpexprs.exp: Likewise.
1984 * gdb.cp/exception.exp: Likewise.
1985 * gdb.cp/gdb2495.exp: Likewise.
1986 * gdb.cp/mb-templates.exp: Likewise.
1987 * gdb.cp/pr9167.exp: Likewise.
1988 * gdb.cp/userdef.exp: Likewise.
1989
1990 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1991
1992 * gdb.cell: Remove directory.
1993 * lib/cell.exp: Remove file.
1994
1995 2019-09-19 Tom de Vries <tdevries@suse.de>
1996
1997 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1998
1999 2019-09-19 Tom de Vries <tdevries@suse.de>
2000
2001 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2002
2003 2019-09-19 Tom de Vries <tdevries@suse.de>
2004
2005 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2006 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2007 (gdb_target_cmd): ... here.
2008 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2009 value 2.
2010
2011 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2012
2013 * gdb.base/source-dir.exp: Avoid having directory names in test
2014 names.
2015
2016 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2017
2018 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2019 directory.
2020
2021 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2022
2023 * gdb.base/list-missing-source.exp: New file.
2024
2025 2019-09-14 Tom de Vries <tdevries@suse.de>
2026
2027 PR teststuite/24599
2028 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2029 * lib/ada.exp (gnatmake_version_at_least): New proc.
2030
2031 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2032
2033 * gdb.base/maint.exp: Use exec_has_index_section.
2034
2035 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2036
2037 * gdb.base/maint.exp: Add test for 'maint info sections'.
2038
2039 2019-09-12 Tom de Vries <tdevries@suse.de>
2040
2041 * gdb.base/store.exp: Allow register variables to be optimized out at
2042 -O0.
2043
2044 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2045
2046 * gdb.ada/rdv_wait.exp: Update to new task names.
2047 * gdb.base/task_switch_in_core.exp: Likewise.
2048 * gdb.base/info_sources_base.c: Likewise.
2049
2050 2019-09-10 Tom Tromey <tromey@adacore.com>
2051
2052 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2053
2054 2019-09-10 Tom Tromey <tromey@adacore.com>
2055
2056 * gdb.ada/dgopt.exp: New file.
2057 * gdb.ada/dgopt/x.adb: New file.
2058
2059 2019-09-08 Tom Tromey <tom@tromey.com>
2060
2061 * gdb.tui/resize.exp: Remove setup_xfail.
2062 * gdb.tui/regs.exp: Remove setup_xfail.
2063 * gdb.tui/basic.exp: Remove setup_xfail.
2064
2065 2019-09-06 David Blaikie <dblaikie@gmail.com>
2066
2067 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2068 * gdb.cp/cplabel.exp: Ditto.
2069 * gdb.linespec/ls-errs.exp: Ditto.
2070
2071 2019-09-05 Tom de Vries <tdevries@suse.de>
2072
2073 * lib/gdb.exp (cmp_file_string): New proc.
2074 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2075 runto_main. Verify save breakpoints output.
2076
2077 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2078
2079 * gdb.base/info-var.exp: Test info variables without running
2080 to main, to avoid expect's buffer overflow.
2081
2082 2019-09-03 Tom Tromey <tromey@adacore.com>
2083
2084 * gdb.ada/bias.exp: New file.
2085 * gdb.ada/bias/bias.adb: New file.
2086 * gdb.ada/print_chars.exp: Add regression test.
2087 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2088 (MC): New variable.
2089
2090 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2091
2092 * gdb.base/argv0-symlink.exp: Run only on native target
2093 and local host.
2094
2095 2019-08-29 Tom de Vries <tdevries@suse.de>
2096
2097 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2098 diverse debug info.
2099 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2100
2101 2019-08-28 Tom de Vries <tdevries@suse.de>
2102
2103 * gdb.base/info-var.exp: Allow info variables to print info for files
2104 other than info-var-f1.c and info-var-f2.c.
2105
2106 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2107
2108 * gdb.fortran/info-types.exp: Add module.
2109 * gdb.fortran/info-types.f90: Update expected results.
2110
2111 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2112
2113 * gdb.fortran/info-types.exp: New file.
2114 * gdb.fortran/info-types.f90: New file.
2115 * lib/fortran.exp (fortran_character1): New proc.
2116
2117 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2118
2119 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2120 functions'. Reindent as needed.
2121 * gdb.base/info-var-f1.c: New file.
2122 * gdb.base/info-var-f2.c: New file.
2123 * gdb.base/info-var.exp: New file.
2124 * gdb.base/info-var.h: New file.
2125
2126 2019-08-26 Tom de Vries <tdevries@suse.de>
2127
2128 PR c++/24852
2129 * gdb.cp/no-libstdcxx-probe.exp: New test.
2130
2131 2019-08-26 Tom de Vries <tdevries@suse.de>
2132
2133 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2134 * tests need to be skipped.
2135 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2136 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2137 mi_skip_libstdcxx_probe_tests.
2138
2139 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2140
2141 * gdb.python/py-xmethods.exp: Use raw strings when passing
2142 arguments to SimpleXMethodMatcher.
2143
2144 2019-08-22 Tom de Vries <tdevries@suse.de>
2145
2146 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2147 more informative.
2148
2149 2019-08-21 Pedro Alves <palves@redhat.com>
2150
2151 * gdb.base/with.exp: Test "with" with no arguments.
2152
2153 2019-08-21 Tom de Vries <tdevries@suse.de>
2154
2155 * gdb.base/gdb-caching-proc.exp: Sort files.
2156
2157 2019-08-20 Tom de Vries <tdevries@suse.de>
2158
2159 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2160 compilation.
2161
2162 2019-08-16 Tom de Vries <tdevries@suse.de>
2163
2164 * gdb.base/compare-sections.exp ("after run to main"): Allow
2165 mismatched read-only sections for PIE executables.
2166
2167 2019-08-16 Tom Tromey <tom@tromey.com>
2168
2169 * lib/tuiterm.exp (_csi_Z): New proc.
2170 * gdb.tui/basic.exp: Update window positions.
2171 * gdb.tui/empty.exp: Update window positions.
2172
2173 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2174
2175 * gdb.base/examine-backward.exp: Correct regexp for
2176 "examine 3 bytes backward from ${address_zero}".
2177
2178 2019-08-15 Tom Tromey <tom@tromey.com>
2179
2180 * gdb.tui/empty.exp: Enable resizing tests.
2181
2182 2019-08-15 Tom Tromey <tromey@adacore.com>
2183
2184 * gdb.ada/char_enum.exp: Add regression tests.
2185 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2186 and '0'.
2187 (Char, Gchar): Update.
2188 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2189
2190 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2191
2192 * gdb.python/python.exp: Expect a leading underscore on
2193 GdbOutput{,Error}File.
2194
2195 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2196
2197 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2198 Windows host.
2199
2200 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2201
2202 * gdb.base/batch-preserve-term-settings.exp
2203 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2204
2205 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2206
2207 * lib/gdb.exp: When running on a mingw target, replace
2208 /x/ with x:/.
2209
2210 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2211
2212 * gdb.arch/aarch64-prologue.c: New test.
2213 * gdb.arch/aarch64-prologue.exp: New file.
2214
2215 2019-08-13 Tom de Vries <tdevries@suse.de>
2216
2217 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2218 Thread.
2219
2220 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2221
2222 * gdb.python/py-completion.exp: Download the .py file to the host
2223 and use its host pathname. Conditionalize tests that use
2224 tab completion and manipulate files on the build machine.
2225 * gdb.python/py-events.exp: Download the .py file to the host
2226 and use its host pathname.
2227 * gdb.python/py-evsignal.exp: Likewise.
2228 * gdb.python/py-evthreads.exp: Likewise.
2229 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2230 pathname syntax.
2231 * gdb.python/py-framefilter.exp: Download the .py file to the right
2232 place on the host. Match Windows pathname syntax.
2233 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2234 .py file to the host and use its host pathname.
2235 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2236 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2237 build pathname. Skip symlink test on Windows host. Add missing
2238 newline at end of file.
2239 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2240 and use its host pathname.
2241 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2242 * gdb.python/py-section-script.exp: Use host location of binfile
2243 on safe-path. Use correct path separator on Windows host.
2244 Reorder alternatives in gdb_test_multiple to prevent matching
2245 the wrong alternative on success.
2246 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2247
2248 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2249
2250 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2251 expect the GDB inferior to no longer immediately stop after
2252 being resumed with "signal SIGINT".
2253
2254 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2255
2256 * gdb.linespec/break-ask.exp: Generalize regexps to match
2257 Windows pathnames too.
2258
2259 2019-08-08 Tom de Vries <tdevries@suse.de>
2260
2261 PR testsuite/24862
2262 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2263
2264 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2265
2266 * gdb.base/style.exp: Update tests for help doc new invariants.
2267 * gdb.base/help.exp: Likewise.
2268
2269 2019-08-06 Tom Tromey <tom@tromey.com>
2270
2271 * gdb.base/style.exp: Add disassemble test.
2272 * gdb.base/style.c (some_called_function): New function.
2273 (main): Use it.
2274
2275 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2276
2277 * gdb.python/py-block.exp: Test dictionary access on blocks.
2278
2279 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2280
2281 PR gdb/24863
2282 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2283 -list-thread-groups --available test when running under
2284 check-read1.
2285
2286 2019-08-05 Tom de Vries <tdevries@suse.de>
2287
2288 PR testsuite/24863
2289 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2290 * gdb.base/help.exp: Use with_read1_timeout_factor.
2291 * gdb.base/info-macros.exp: Same.
2292 * gdb.cp/nested-types.exp: Same.
2293
2294 2019-08-05 Tom de Vries <tdevries@suse.de>
2295
2296 * lib/gdb.exp (version_at_least): Factor out of ...
2297 (tcl_version_at_least): ... here.
2298 (gdb_compile): Fail if pie results in non-PIE executable.
2299 (readelf_version, readelf_prints_pie): New proc.
2300 (exec_is_pie): Return -1 if unknown.
2301
2302 2019-08-05 Tom de Vries <tdevries@suse.de>
2303
2304 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2305
2306 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2307
2308 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2309
2310 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2311
2312 * lib/completion-support.exp (test_gdb_complete_none): Skip
2313 tab completion tests if no readline support.
2314 (test_gdb_complete_unique_re): Likewise.
2315 (test_gdb_complete_multiple): Likewise.
2316
2317 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2318
2319 * gdb.base/info_sources.exp: New file.
2320 * gdb.base/info_sources.c: New file.
2321 * gdb.base/info_sources_base.c: New file.
2322
2323 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2324
2325 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2326 prefix argument.
2327 (test_exit_status): Add prefix argument.
2328
2329 2019-08-01 Tom de Vries <tdevries@suse.de>
2330
2331 PR testsuite/24863
2332 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2333 calling exp_continue for new thread and thread exited messages.
2334
2335 2019-08-01 Tom de Vries <tdevries@suse.de>
2336
2337 PR testsuite/24863
2338 * gdb.base/structs.exp: Fix check-read1 timeout using
2339 gdb_test_sequence.
2340 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2341
2342 2019-08-01 Tom de Vries <tdevries@suse.de>
2343
2344 PR testsuite/24863
2345 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2346 line.
2347
2348 2019-08-01 Tom de Vries <tdevries@suse.de>
2349
2350 PR testsuite/24863
2351 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2352
2353 2019-07-30 Tom Tromey <tromey@adacore.com>
2354
2355 * gdb.ada/display_nested.exp: New file.
2356 * gdb.ada/display_nested/foo.adb: New file.
2357 * gdb.ada/display_nested/pack.adb: New file.
2358 * gdb.ada/display_nested/pack.ads: New file.
2359
2360 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2361
2362 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2363 namespace.
2364 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2365
2366 2019-07-30 Tom de Vries <tdevries@suse.de>
2367
2368 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2369 instead.
2370
2371 2019-07-30 Tom de Vries <tdevries@suse.de>
2372
2373 PR testsuite/24834
2374 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2375 (exec_is_pie): New proc.
2376
2377 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2378
2379 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2380
2381 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2382
2383 * gdb.python/py-objfile.c: Add global and static vars.
2384 * gdb.python/py-objfile.exp: Test new functions Objfile.
2385 lookup_global_symbol and lookup_static_symbol.
2386
2387 2019-07-29 Tom Tromey <tom@tromey.com>
2388
2389 * lib/tuiterm.exp (Term::_csi_@): New proc.
2390 (Term::_csi_X): Don't move cursor.
2391
2392 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2393
2394 * gdb.base/options.exp: Update backtrace - completion to
2395 new option -frame-info.
2396 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2397 Test new 'set print frame-info'. Test backtrace -frame-info
2398 overriding 'set print frame-info'.
2399 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2400 Test new 'set print frame-info'.
2401 Verify consistency of backtrace with and without filters, with and
2402 without -no-filters.
2403 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2404 default.
2405
2406 2019-07-29 Tom de Vries <tdevries@suse.de>
2407
2408 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2409 no arguments".
2410
2411 2019-07-29 Tom de Vries <tdevries@suse.de>
2412
2413 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2414 is a substring of the first for "complete non-unique file name".
2415
2416 2019-07-29 Tom de Vries <tdevries@suse.de>
2417
2418 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2419 with ".*".
2420
2421 2019-07-29 Tom de Vries <tdevries@suse.de>
2422
2423 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2424 Pass prompt_regexp parameter to gdb_test_multiple calls.
2425
2426 2019-07-29 Tom de Vries <tdevries@suse.de>
2427
2428 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2429 print registers" regexps.
2430
2431 2019-07-29 Tom de Vries <tdevries@suse.de>
2432
2433 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2434
2435 2019-07-29 Tom de Vries <tdevries@suse.de>
2436
2437 PR gdb/24855
2438 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2439 (skip_python_tests_prompt): Add prompt_regexp argument to
2440 gdb_test_multiple calls.
2441
2442 2019-07-27 Tom Tromey <tom@tromey.com>
2443
2444 * gdb.tui/main.exp: New file.
2445
2446 2019-07-27 Tom Tromey <tom@tromey.com>
2447
2448 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2449 optional.
2450 * gdb.tui/empty.exp: New file.
2451
2452 2019-07-27 Tom Tromey <tom@tromey.com>
2453
2454 * lib/tuiterm.exp (spawn): New proc.
2455 (Term::resize): New proc.
2456 * gdb.tui/resize.exp: New file.
2457
2458 2019-07-27 Tom Tromey <tom@tromey.com>
2459
2460 * gdb.tui/list.exp: New file.
2461
2462 2019-07-27 Tom Tromey <tom@tromey.com>
2463
2464 * gdb.tui/regs.exp: New file.
2465
2466 2019-07-27 Tom Tromey <tom@tromey.com>
2467
2468 * gdb.tui/basic.exp: Add "layout split" test.
2469
2470 2019-07-27 Tom Tromey <tom@tromey.com>
2471
2472 * gdb.tui/basic.exp: Add "layout asm" test.
2473
2474 2019-07-27 Tom Tromey <tom@tromey.com>
2475
2476 * lib/tuiterm.exp: New file.
2477 * gdb.tui/basic.exp: New file.
2478
2479 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2480
2481 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2482 Enable tests associated with this flag. Adjust regex
2483 referencing "foo_low" to now refer to "foo_cold" instead.
2484
2485 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2486
2487 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2488 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2489 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2490 foo_cold. Revise comments to match.
2491 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2492 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2493 were wrapped into this proc; Call do_test in loop from outermost
2494 level.
2495 (foo_low): Rename all occurrences to "foo_cold".
2496 (backtrace from baz): New test.
2497 (x2/i foo_cold): New test.
2498 (info line *foo_cold): New test.
2499
2500 2019-07-26 Tom de Vries <tdevries@suse.de>
2501
2502 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2503
2504 2019-07-25 Tom de Vries <tdevries@suse.de>
2505
2506 PR testsuite/24830
2507 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2508 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2509 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2510 (skip_libstdcxx_probe_tests): ... here.
2511 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2512
2513 2019-07-24 Tom de Vries <tdevries@suse.de>
2514
2515 PR testsuite/24807
2516 * gdb.objc/basicclass.m: Include stdio.h.
2517 * gdb.objc/nondebug.m: Same.
2518 * gdb.objc/objcdecode.m: Same.
2519
2520 2019-07-24 Tom de Vries <tdevries@suse.de>
2521
2522 PR testsuite/24612
2523 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2524 additional_flags.
2525
2526 2019-07-24 Tom de Vries <tdevries@suse.de>
2527
2528 PR testsuite/24831
2529 * gdb.multi/tids.exp: Update error messages for info threads.
2530
2531 2019-07-24 Tom de Vries <tdevries@suse.de>
2532
2533 * gdb.base/info-types.exp: Allow info types to print info for more than
2534 one file.
2535
2536 2019-07-23 Tom de Vries <tdevries@suse.de>
2537
2538 PR testsuite/24842
2539 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2540 gdb_spawn_with_cmdline_opts.
2541
2542 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2543
2544 * gdb.arch/arm-cmse-sgstubs.c: New test.
2545 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2546
2547 2019-07-23 Tom de Vries <tdevries@suse.de>
2548
2549 PR testsuite/24711
2550 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2551 issuing next command.
2552
2553 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2554
2555 * gdb.ada/info_auto_lang.exp: Update expected results.
2556 * gdb.base/info-types.c: Add additional types to check.
2557 * gdb.base/info-types.exp: Update expected results.
2558
2559 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * gdb.base/info-types.c: New file.
2562 * gdb.base/info-types.exp: New file.
2563
2564 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * gdb.arch/riscv-bp-infcall.c: New file.
2567 * gdb.arch/riscv-bp-infcall.exp: New file.
2568
2569 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2570
2571 PR breakpoints/24541
2572 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2573
2574 2019-07-14 Tom de Vries <tdevries@suse.de>
2575
2576 PR testsuite/24760
2577 * gdb.objc/basicclass.exp: Fix unterminated string.
2578
2579 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2580 Andrew Burgess <andrew.burgess@embecosm.com>
2581
2582 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2583 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2584 negative bounds.
2585 * gdb.fortran/vla-value.exp: Print elements of an array with
2586 negative bounds.
2587 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2588 testing.
2589
2590 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2591
2592 * gdb.base/options.exp (expect_string): Dequote strings in
2593 results.
2594 (test-string): Test strings with different quoting and reindent.
2595
2596 2019-07-10 Tom Tromey <tromey@adacore.com>
2597
2598 * gdb.ada/mi_ex_cond.exp: Update expected results.
2599 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2600 * gdb.ada/mi_catch_ex.exp: Update expected results.
2601 * gdb.ada/mi_catch_assert.exp: Update expected results.
2602 * gdb.ada/catch_ex.exp (catch_exception_info)
2603 (catch_exception_entry, catch_assert_entry)
2604 (catch_unhandled_entry): Update.
2605 * gdb.ada/catch_assert_if.exp: Update expected results.
2606
2607 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2608 Stephen Roberts <stephen.roberts@arm.com>
2609
2610 * gdb.base/define.exp: Restore original prompt.
2611
2612 2019-07-09 Pedro Alves <palves@redhat.com>
2613
2614 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2615 breakpoints" output.
2616 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2617 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2618 throw" creates breakpoint.
2619 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2620 'type="catchpoint"'.
2621
2622 2019-07-09 Pedro Alves <palves@redhat.com>
2623
2624 PR c++/15468
2625 * gdb.cp/except-multi-location-lib.cc: New.
2626 * gdb.cp/except-multi-location-main.cc: New.
2627 * gdb.cp/except-multi-location.exp: New.
2628
2629 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2630
2631 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2632 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2633 argument and update callers.
2634
2635 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * gdb.arch/amd64-break-on-asm-line.S: New file.
2638 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2639
2640 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2641
2642 * gdb.base/printcmds.exp: Test printing C string and
2643 C wide string convenience vars without transiting via the inferior.
2644 Also make test names unique.
2645
2646 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2647
2648 PR breakpoints/25011
2649 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2650
2651 2019-07-04 Pedro Alves <palves@redhat.com>
2652
2653 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2654 body returned ok(0), break(3) or continue(4).
2655 * gdb.testsuite/foreach_with_prefix.exp: New file.
2656
2657 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2658
2659 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2660
2661 2019-07-03 Pedro Alves <palves@redhat.com>
2662
2663 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2664 "return -code".
2665
2666 2019-07-03 Pedro Alves <palves@redhat.com>
2667
2668 PR cli/24732
2669 * gdb.base/shell.exp: Load completion-support.exp.
2670 Adjust expected error output. Add completion tests.
2671
2672 2019-07-03 Pedro Alves <palves@redhat.com>
2673
2674 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2675 string_to_regexp.
2676
2677 2019-07-03 Pedro Alves <palves@redhat.com>
2678
2679 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2680 (expect_integer): Adjust to expect "-string".
2681 (expect_string): New.
2682 (all_options): Expect "-string".
2683 (test-flag, test-boolean): Adjust to expect "-string".
2684 (test-string): New proc.
2685 (top level): Call it.
2686
2687 2019-07-03 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2690 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2691 the expected output in the success.
2692
2693 2019-07-03 Pedro Alves <palves@redhat.com>
2694
2695 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2696 Split one gdb_test_multiple call in two to avoid a race.
2697
2698 2019-07-03 Pedro Alves <palves@redhat.com>
2699
2700 * gdb.base/with.c: New file.
2701 * gdb.base/with.exp: New file.
2702
2703 2019-07-03 Pedro Alves <palves@redhat.com>
2704
2705 * gdb.base/settings.exp: Replace all references to "maint
2706 test-settings set" with references to "maint set test-settings",
2707 and all references to "maint test-settings show" with references
2708 to "maint show test-settings".
2709
2710 2019-07-03 Pedro Alves <palves@redhat.com>
2711
2712 * gdb.base/settings.exp (test-string): Adjust expected out when
2713 testing "maint test-settings show filename"
2714
2715 2019-07-02 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.base/options.exp (test-info-threads): New procedure.
2718 (top level): Call it.
2719
2720 2019-06-28 Tom Tromey <tromey@adacore.com>
2721
2722 * gdb.dwarf2/ada-linkage-name.c: New file.
2723 * gdb.dwarf2/ada-linkage-name.exp: New file.
2724
2725 2019-06-27 Tom Tromey <tromey@adacore.com>
2726
2727 PR c++/20020:
2728 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2729
2730 2019-06-26 Tom de Vries <tdevries@suse.de>
2731
2732 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2733
2734 2019-06-26 Tom de Vries <tdevries@suse.de>
2735
2736 * gdb.base/index-cache.exp: Add back missing debug option.
2737
2738 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2739
2740 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2741
2742 2019-06-25 Tom de Vries <tdevries@suse.de>
2743
2744 PR testsuite/24727
2745 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2746
2747 2019-06-24 Tom de Vries <tdevries@suse.de>
2748
2749 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2750
2751 2019-06-24 Tom de Vries <tdevries@suse.de>
2752
2753 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2754 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2755 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2756
2757 2019-06-24 Tom de Vries <tdevries@suse.de>
2758
2759 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2760
2761 2019-06-21 Tom de Vries <tdevries@suse.de>
2762
2763 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2764
2765 2019-06-21 Tom de Vries <tdevries@suse.de>
2766
2767 PR testsuite/24518
2768 PR ada/24713
2769 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2770 index.
2771
2772 2019-06-19 Tom Tromey <tromey@adacore.com>
2773
2774 * gdb.ada/length_cond.exp: Add intro comment.
2775
2776 2019-06-19 Tom Tromey <tromey@adacore.com>
2777
2778 * gdb.ada/length_cond.exp: New file.
2779 * gdb.ada/length_cond/length_cond.adb: New file.
2780 * gdb.ada/length_cond/pck.adb: New file.
2781 * gdb.ada/length_cond/pck.ads: New file.
2782
2783 2019-06-18 Tom de Vries <tdevries@suse.de>
2784
2785 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2786
2787 2019-06-18 Tom Tromey <tromey@adacore.com>
2788
2789 * gdb.base/list0.h: Add comment explaining control character.
2790
2791 2019-06-18 Tom de Vries <tdevries@suse.de>
2792
2793 * boards/fission.exp: Break up long debug_flags line.
2794
2795 2019-06-16 Tom de Vries <tdevries@suse.de>
2796
2797 PR gdb/24445
2798 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2799 generated index.
2800
2801 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2802
2803 PR gdb/24686
2804 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2805 improve detection of bug gdb/24541.
2806
2807 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2808
2809 PR gdb/24669
2810 * gdb.base/index-cache.exp (uses_readnow,
2811 expecting_index_cache_use): Define global variable.
2812 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2813 expecting_index_cache_use.
2814
2815 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2816 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.fortran/pointers.f90: New file.
2819 * gdb.fortran/print_type.exp: New file.
2820 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2821 * gdb.fortran/vla-type.exp: Likewise.
2822 * gdb.fortran/vla-value.exp: Likewise.
2823 * gdb.mi/mi-vla-fortran.exp: Likewise.
2824
2825 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2826
2827 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2828 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2829 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2830 as a stop reason.
2831
2832 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2833
2834 * gdb.base/annota1.exp: Update expected results.
2835 * gdb.cp/annota2.exp: Likewise.
2836 * gdb.cp/annota3.exp: Likewise.
2837
2838 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2839
2840 * gdb.base/style-logging.exp: Remove path from test name.
2841
2842 2019-06-14 Tom Tromey <tromey@adacore.com>
2843
2844 PR gdb/24502:
2845 * gdb.base/style-logging.exp: New file.
2846
2847 2019-06-14 Tom Tromey <tromey@adacore.com>
2848
2849 * gdb.base/symfile-warn.exp: New file.
2850 * gdb.base/symfile-warn.c: New file.
2851
2852 2019-06-14 Tom Tromey <tromey@adacore.com>
2853
2854 * gdb.base/annotate-symlink.exp: New file.
2855
2856 2019-06-14 Tom Tromey <tromey@adacore.com>
2857
2858 * gdb.ada/set_wstr.exp: Add reassignment test.
2859
2860 2019-06-14 Tom Tromey <tromey@adacore.com>
2861
2862 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2863 'unchecked_access and 'unrestricted_access as well.
2864
2865 2019-06-14 Tom Tromey <tromey@adacore.com>
2866
2867 PR ada/24539:
2868 * gdb.ada/vla.exp: Update tests.
2869 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2870 pragma.
2871
2872 2019-06-13 Pedro Alves <palves@redhat.com>
2873
2874 * gdb.base/settings.exp (test-integer): Test junk after
2875 "unlimited".
2876
2877 2019-06-13 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.base/options.exp (test-thread-apply): New.
2880 (top level): Call it.
2881
2882 2019-06-13 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.base/options.exp (test-frame-apply): New.
2885 (top level): Test print commands with different "frame apply"
2886 prefixes.
2887
2888 2019-06-13 Pedro Alves <palves@redhat.com>
2889
2890 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2891 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2892 'max_completions' parameter and handle it.
2893 (test_gdb_completion_offers_commands): New.
2894
2895 2019-06-13 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2898
2899 2019-06-13 Pedro Alves <palves@redhat.com>
2900
2901 * gdb.base/options.exp (test-backtrace): New.
2902 (top level): Call it.
2903
2904 2019-06-13 Pedro Alves <palves@redhat.com>
2905
2906 * gdb.guile/scm-frame-args.exp: Use "set print
2907 raw-frame-arguments" instead of "set print raw frame-arguments".
2908 * gdb.python/py-frame-args.exp: Likewise.
2909
2910 2019-06-13 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.compile/compile.exp: Adjust expected output to option
2913 processing changes.
2914
2915 2019-06-13 Pedro Alves <palves@redhat.com>
2916
2917 * gdb.base/options.exp: Build executable.
2918 (test-print): New procedure.
2919 (top level): Call it, once for "print" and another for "compile
2920 print".
2921
2922 2019-06-13 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/options.c: New file.
2925 * gdb.base/options.exp: New file.
2926
2927 2019-06-13 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2930 that "o" is ambiguous.
2931
2932 2019-06-13 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.base/settings.c: New file.
2935 * gdb.base/settings.exp: New file.
2936
2937 2019-06-13 Pedro Alves <palves@redhat.com>
2938
2939 * gdb.base/completion.exp: Fix comment typo.
2940
2941 2019-06-13 Pedro Alves <palves@redhat.com>
2942
2943 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2944 foo --1" test.
2945
2946 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2947
2948 * gdb.fortran/block-data.f: New.
2949 * gdb.fortran/block-data.exp: New.
2950
2951 2019-06-11 Tom de Vries <tdevries@suse.de>
2952
2953 PR testsuite/24521
2954 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2955 message.
2956
2957 2019-06-11 Tom de Vries <tdevries@suse.de>
2958
2959 PR testsuite/24521
2960 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2961
2962 2019-06-11 Tom de Vries <tdevries@suse.de>
2963
2964 * boards/readnow.exp: New file.
2965
2966 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2967
2968 * gdb.fortran/vla-sizeof.exp: Update expected results.
2969
2970 2019-06-06 Amos Bird <amosbird@gmail.com>
2971
2972 * gdb.base/annota1.exp (thread_switch): Add test for
2973 thread-exited annotation.
2974
2975 2019-06-06 Tom Tromey <tromey@adacore.com>
2976
2977 * gdb.base/maint.exp: Expect command started/finished output.
2978
2979 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2980
2981 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2982 comment.
2983 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2984
2985 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2988 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2989 * gdb.arch/riscv-unwind-long-insn.c: New file.
2990 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2991
2992 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2993
2994 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2995
2996 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2997
2998 * lib/gdb.exp (help_list_trailer): New regexp variable
2999 factorizing the help trailer message.
3000 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3001 arg to allow to better factorize various tests.
3002 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3003 (test_prefix_command_help): Use help_list_trailer.
3004 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3005 * gdb.guile/scm-cmd.exp: Likewise.
3006 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3007 * gdb.base/help.exp: Use test_user_defined_class_help.
3008 * gdb.base/style.exp: Add tests for styling of help and apropos.
3009 * lib/gdb-utils.exp (style): Add title and highlight styles.
3010
3011 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3012
3013 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3014 $_shell_exitsignal.
3015 * gdb.base/default.exp: Update for new convenience variables.
3016
3017 2019-05-29 Tom Tromey <tromey@adacore.com>
3018
3019 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3020 to "break complete ada" test case's regexp.
3021
3022 2019-05-29 Tom Tromey <tromey@adacore.com>
3023
3024 PR c++/20020:
3025 * gdb.cp/constexpr-field.exp: New file.
3026 * gdb.cp/constexpr-field.cc: New file.
3027
3028 2019-05-29 Tom Tromey <tromey@adacore.com>
3029
3030 * gdb.base/finish.exp (finish_no_print): New proc.
3031 (finish_tests): Call it.
3032
3033 2019-05-24 Tom de Vries <tdevries@suse.de>
3034
3035 * gdb.dwarf2/gdb-add-index.exp: New file.
3036
3037 2019-05-22 Tom Tromey <tromey@adacore.com>
3038
3039 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3040 * gdb.base/style.exp: Use "style".
3041 * lib/gdb-utils.exp (style): New proc.
3042
3043 2019-05-22 Tom de Vries <tdevries@suse.de>
3044
3045 * gdb.base/align.exp: Require c++11.
3046
3047 2019-05-22 Tom de Vries <tdevries@suse.de>
3048
3049 PR testsuite/24586
3050 * gdb.python/py-mi-var-info-path-expression.exp: Call
3051 mi_skip_python_tests to check if python is supported.
3052
3053 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3054
3055 * gdb.arch/aarch64-pauth.c: New test.
3056 * gdb.arch/aarch64-pauth.exp: New file.
3057
3058 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3059
3060 * README (Re-running Tests Outside The Testsuite): New section.
3061
3062 2019-05-21 Tom de Vries <tdevries@suse.de>
3063
3064 * gdb.arch/amd64-eval.exp: Require c++11.
3065 * gdb.base/max-depth.exp: Same.
3066 * gdb.compile/compile-cplus-array-decay.exp: Same.
3067 * gdb.cp/meth-typedefs.exp: Same.
3068 * gdb.cp/subtypes.exp: Same.
3069 * gdb.cp/temargs.exp: Same.
3070
3071 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3072
3073 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3074
3075 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3076
3077 PR gdb/18644
3078 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3079 * gdb.fortran/printing-types.exp: Add new test.
3080 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3081 testing.
3082 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3083 setup_kfail call.
3084
3085 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3086
3087 * README (Running the Testsuite): Change example.
3088 (Testsuite Parameters): Remove TRANSCRIPT.
3089 * lib/gdb.exp: Remove TRANSCRIPT check.
3090
3091 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3092
3093 * README (Testsuite Parameters): Add replay logging to
3094 GDBSERVER_DEBUG.
3095 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3096 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3097 as a comma separated list.
3098 (gdb_debug_init): Override procedure.
3099
3100 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3101
3102 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3103 (gdb_write_cmd_file): New procedure.
3104 * lib/gdbserver-support.exp (gdbserver_start): Call
3105 gdbserver_write_cmd_file.
3106 (gdbserver_write_cmd_file): New procedure.
3107
3108 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3109
3110 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3111 (delete_breakpoints): Likewise.
3112 (gdb_run_cmd): Likewise.
3113 (gdb_start_cmd): Likewise.
3114 (gdb_starti_cmd): Likewise.
3115 (gdb_internal_error_resync): Likewise.
3116 (gdb_test_multiple): Likewise.
3117 (gdb_reinitialize_dir): Likewise.
3118 (default_gdb_exit): Likewise.
3119 (gdb_file_cmd): Mark kill as optional.
3120 (default_gdb_start): Call gdb_stdin_log_init.
3121 (send_gdb): Call gdb_stdin_log_write.
3122 (rerun_to_main): Mark Y as an answer.
3123 (gdb_stdin_log_init): New function.
3124 (gdb_stdin_log_write): Likewise.
3125
3126 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3127
3128 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3129 * gdb.base/debug-expr.exp: Likewise.
3130 * gdb.base/foll-fork.exp: Likewise.
3131 * gdb.base/foll-vfork.exp: Likewise.
3132 * gdb.base/fork-print-inferior-events.exp: Likewise.
3133 * gdb.base/gdb-sigterm.exp: Likewise.
3134 * gdb.base/gdbinit-history.exp: Likewise.
3135 * gdb.base/osabi.exp: Likewise.
3136 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3137 * gdb.base/ui-redirect.exp: Likewise.
3138 * gdb.gdb/unittest.exp: Likewise.
3139 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3140 * gdb.mi/mi-watch.exp: Likewise.
3141 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3142 * gdb.mi/user-selected-context-sync.exp: Likewise.
3143 * gdb.python/python.exp: Disable debug test when debugging.
3144 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3145 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3146 Likewise.
3147 * gdb.threads/stepi-random-signal.exp: 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 * Makefile.in: Pass through GDB_DEBUG.
3161 * README (Testsuite Parameters): Add GDB_DEBUG.
3162 (gdb,debug): Add board setting.
3163 * lib/gdb.exp (default_gdb_start): Start debugging.
3164 (gdb_debug_enabled): New procedure.
3165 (gdb_debug_init): Likewise.
3166
3167 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3168
3169 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3170
3171 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3172
3173 * gdb.base/ui-redirect.exp: Test redirection.
3174
3175 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3176
3177 * gdb.mi/mi-complete.exp: New file.
3178 * gdb.mi/mi-complete.cc: Likewise.
3179
3180 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3181
3182 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3183 indexed and sliced arrays, and pointers to arrays.
3184
3185 2019-05-14 Tom Tromey <tromey@adacore.com>
3186
3187 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3188 styling test.
3189
3190 2019-05-14 Tom de Vries <tdevries@suse.de>
3191
3192 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3193 selection entry encoding.
3194
3195 2019-05-10 Tom Tromey <tromey@adacore.com>
3196
3197 * gdb.ada/info_exc.exp: Add "complete" test.
3198
3199 2019-05-09 Tom de Vries <tdevries@suse.de>
3200
3201 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3202 CU-relative.
3203
3204 2019-05-09 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3207 CU-relative.
3208
3209 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3210
3211 * gdb.ada/frame_arg_lang.exp: New testcase.
3212 * gdb.ada/frame_arg_lang/bla.adb: New file.
3213 * gdb.ada/frame_arg_lang/pck.ads: New file.
3214 * gdb.ada/frame_arg_lang/pck.adb: New file.
3215 * gdb.ada/frame_arg_lang/foo.c: New file.
3216
3217 2019-05-08 Tom Tromey <tromey@adacore.com>
3218
3219 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3220
3221 2019-05-08 Tom Tromey <tromey@adacore.com>
3222
3223 * gdb.base/ptype-offsets.exp: Update tests.
3224
3225 2019-05-08 Tom Tromey <tromey@adacore.com>
3226
3227 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3228 cases.
3229 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3230 "short".
3231
3232 2019-05-08 Tom Tromey <tromey@adacore.com>
3233
3234 * gdb.ada/vla.exp: New file.
3235 * gdb.ada/vla/vla.adb: New file.
3236
3237 2019-05-07 Tom de Vries <tdevries@suse.de>
3238
3239 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3240
3241 2019-05-07 Tom de Vries <tdevries@suse.de>
3242
3243 PR testsuite/24522
3244 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3245 section.
3246
3247 2019-05-07 Tom de Vries <tdevries@suse.de>
3248
3249 PR testsuite/24522
3250 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3251 .debug_aranges section.
3252
3253 2019-05-07 Tom de Vries <tdevries@suse.de>
3254
3255 PR testsuite/24159
3256 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3257
3258 2019-05-06 Tom de Vries <tdevries@suse.de>
3259
3260 * lib/gdb.exp (exec_has_index_section): New proc.
3261 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3262 section.
3263
3264 2019-05-04 Tom de Vries <tdevries@suse.de>
3265
3266 * boards/cc-with-debug-names.exp: New file.
3267
3268 2019-05-03 Tom Tromey <tromey@adacore.com>
3269
3270 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3271 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3272 * gdb.ada/char_enum.exp: Add test.
3273
3274 2019-05-03 Tom de Vries <tdevries@suse.de>
3275
3276 * boards/cc-with-gdb-index.exp: New file.
3277
3278 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3279
3280 * gdb.rust/simple.exp: Add new test case.
3281 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3282 (main): Initialise an instance of the new struct.
3283
3284 2019-05-01 Tom Tromey <tromey@adacore.com>
3285
3286 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3287 record.
3288 (NPR): New variable.
3289 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3290 test.
3291
3292 2019-05-01 Tom Tromey <tromey@adacore.com>
3293
3294 * gdb.ada/packed_array_assign.exp: Add packed assignment
3295 regression test.
3296
3297 2019-05-01 Tom de Vries <tdevries@suse.de>
3298
3299 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3300
3301 2019-05-01 Tom de Vries <tdevries@suse.de>
3302
3303 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3304
3305 2019-04-30 Ali Tamur <tamur@google.com>
3306
3307 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3308
3309 2019-04-30 Tom Tromey <tromey@adacore.com>
3310
3311 * lib/ada.exp (find_ada_tool): New proc.
3312 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3313 * gdb.ada/catch_ex_std.exp: New file.
3314 * gdb.ada/catch_ex_std/foo.adb: New file.
3315 * gdb.ada/catch_ex_std/some_package.adb: New file.
3316 * gdb.ada/catch_ex_std/some_package.ads: New file.
3317
3318 2019-04-30 Tom Tromey <tromey@adacore.com>
3319
3320 PR c++/24470:
3321 * gdb.cp/temargs.cc: Add test code from PR.
3322
3323 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3324
3325 * gdb.fortran/vla-datatypes.exp: Update expected results.
3326 * gdb.fortran/vla-ptype.exp: Likewise.
3327 * gdb.fortran/vla-type.exp: Likewise.
3328 * gdb.fortran/vla-value.exp: Likewise.
3329
3330 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3331
3332 * gdb.fortran/ptr-indentation.exp: Update expected results.
3333 * gdb.fortran/ptype-on-functions.exp: Likewise.
3334 * gdb.fortran/vla-ptr-info.exp: Likewise.
3335 * gdb.fortran/vla-value.exp: Likewise.
3336
3337 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3338
3339 * gdb.fortran/ptype-on-functions.exp: New file.
3340 * gdb.fortran/ptype-on-functions.f90: New file.
3341
3342 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3345 case void string.
3346
3347 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3348
3349 * gdb.fortran/complex.exp: Expand.
3350 * gdb.fortran/complex.f: Renamed to...
3351 * gdb.fortran/complex.f90: ...this, and extended to add more
3352 complex values.
3353
3354 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3357 MODULO, CMPLX.
3358
3359 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3360 Richard Bunt <richard.bunt@arm.com>
3361
3362 * gdb.base/max-depth.c: New file.
3363 * gdb.base/max-depth.exp: New file.
3364 * gdb.python/py-nested-maps.c: New file.
3365 * gdb.python/py-nested-maps.exp: New file.
3366 * gdb.python/py-nested-maps.py: New file.
3367 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3368 (test_all_common): Call test_max_depth.
3369 * gdb.fortran/max-depth.exp: New file.
3370 * gdb.fortran/max-depth.f90: New file.
3371 * gdb.go/max-depth.exp: New file.
3372 * gdb.go/max-depth.go: New file.
3373 * gdb.modula2/max-depth.exp: New file.
3374 * gdb.modula2/max-depth.c: New file.
3375 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3376
3377 2019-04-29 Tom de Vries <tdevries@suse.de>
3378
3379 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3380
3381 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3382
3383 * gdb.base/callexit.exp: Test may-call-functions off.
3384
3385 2019-04-25 Keith Seitz <keiths@redhat.com>
3386
3387 PR c++/24367
3388 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3389 (another_incomplete_struct, test_incomplete): New definitions.
3390 (main): Use new definitions.
3391 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3392 functions.
3393
3394 2019-04-25 Ali Tamur <tamur@google.com>
3395
3396 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3397
3398 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3399
3400 PR corefiles/11608
3401 PR corefiles/18187
3402 * gdb.base/coredump-filter-build-id.exp: New file.
3403
3404 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3405
3406 * Makefile.in: Pass through GDBSERVER_DEBUG.
3407 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3408 (gdbserver,debug): Add board setting.
3409 * gdb.trace/tspeed.exp: Skip when debugging.
3410 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3411 * lib/gdbserver-support.exp: Likewise
3412
3413 2019-04-24 Tom Tromey <tromey@adacore.com>
3414
3415 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3416 Rust.
3417
3418 2019-04-24 Tom Tromey <tromey@adacore.com>
3419
3420 * gdb.arch/amd64-eval.exp: Test bitfield return.
3421 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3422 (class Foo) <return_bitfields>: New method.
3423 (main): Call it.
3424
3425 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3426
3427 * gdb.cp/many-args.cc: New file.
3428 * gdb.cp/many-args.exp: New file.
3429
3430 2019-04-23 Tom de Vries <tdevries@suse.de>
3431
3432 PR gdb/24433
3433 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3434
3435 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3436
3437 * gdb.trace/backtrace.exp: Use nopie flag.
3438 * gdb.trace/circ.exp: Likewise.
3439 * gdb.trace/collection.exp: Likewise.
3440 * gdb.trace/ftrace.exp: Likewise.
3441 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3442 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3443 * gdb.trace/qtro.exp: Likewise.
3444 * gdb.trace/read-memory.exp: Likewise.
3445 * gdb.trace/report.exp: Likewise.
3446 * gdb.trace/tfile.exp: Likewise.
3447 * gdb.trace/tfind.exp: Likewise.
3448 * gdb.trace/unavailable.exp: Likewise.
3449
3450 2019-04-22 Pedro Alves <palves@redhat.com>
3451
3452 * gdb.base/solib-probes-nosharedlibrary.c,
3453 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3454
3455 2019-04-19 Tom Tromey <tromey@adacore.com>
3456
3457 * gdb.ada/ptype_union.c: New file.
3458 * gdb.ada/ptype_union.exp: New file.
3459
3460 2019-04-19 Tom Tromey <tromey@adacore.com>
3461
3462 PR symtab/24423:
3463 * gdb.base/list0.h (foo): Add a control-l character.
3464
3465 2019-04-18 Tom de Vries <tdevries@suse.de>
3466
3467 PR gdb/24433
3468 * boards/local-board.exp: Set sysroot to "".
3469
3470 2019-04-18 Tom de Vries <tdevries@suse.de>
3471 Pedro Alves <palves@redhat.com>
3472
3473 PR gdb/24454
3474 * gdb.threads/vfork-follow-child-exec.c: New file.
3475 * gdb.threads/vfork-follow-child-exec.exp: New file.
3476 * gdb.threads/vfork-follow-child-exit.c: New file.
3477 * gdb.threads/vfork-follow-child-exit.exp: New file.
3478
3479 2019-04-15 Leszek Swirski <leszeks@google.com>
3480
3481 * gdb.arch/amd64-eval.cc: New file.
3482 * gdb.arch/amd64-eval.exp: New file.
3483
3484 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3485
3486 * gdb.server/sysroot.c: New test.
3487 * gdb.server/sysroot.exp: New file.
3488 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3489 matching param.
3490
3491 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3492
3493 * gdb.base/align.exp: Extend test to cover structures containing
3494 only static fields.
3495
3496 2019-04-11 Tom de Vries <tdevries@suse.de>
3497
3498 * boards/cc-with-dwz-m.exp: New file.
3499 * boards/cc-with-dwz.exp: New file.
3500 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3501
3502 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3503
3504 * gdb.base/start-cpp.exp: New file.
3505 * gdb.base/start-cpp.cc: New file.
3506
3507 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3508
3509 * gdb.python/py-thrhandle.exp: Adjust tests to call
3510 thread_from_handle instead of thread_from_thread_handle.
3511
3512 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3513
3514 * gdb.python/py-thrhandle.exp: Add tests for
3515 gdb.InferiorThread.handle.
3516
3517 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3518
3519 * gdb.python/py-function.exp: Check calling helper function from
3520 all languages.
3521 * lib/gdb.exp (gdb_supported_languages): New proc.
3522
3523 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3524
3525 * gdb.base/complex-parts.c: New file.
3526 * gdb.base/complex-parts.exp: New file.
3527
3528 2019-04-01 Tom Tromey <tromey@adacore.com>
3529
3530 PR symtab/23331:
3531 * gdb.dwarf2/dw2-ranges-main.c: New file.
3532 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3533 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3534
3535 2019-03-30 Simon Marchi <simark@simark.ca>
3536
3537 * gdb.base/default.exp: Add values for $_gdb_major and
3538 $_gdb_minor.
3539
3540 2019-03-29 Tom Tromey <tromey@adacore.com>
3541
3542 * gdb.base/help.exp: Tighten apropos regexp.
3543
3544 2019-03-29 Keith Seitz <keiths@redhat.com>
3545
3546 * gdb.fortran/array-bounds.exp: New file.
3547 * gdb.fortran/array-bounds.f90: New file.
3548
3549 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3550
3551 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3552
3553 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3554
3555 * gdb.multi/hello.c (main): Increase alarm timer.
3556
3557 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3558
3559 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3560 factor when no hardware watchpoint support.
3561
3562 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3563 Pedro Alves <palves@redhat.com>
3564
3565 * boards/local-board.exp: set sysroot to /.
3566
3567 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3568
3569 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3570 in child.
3571
3572 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3575 field.
3576 (make_container): Initialise new field.
3577 * gdb.python/py-prettyprint.exp: Add new tests.
3578 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3579 <display_hint>: New method.
3580
3581 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3582
3583 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3584 gdb_continue_to_breakpoint more throughout this test.
3585 (run_lang_tests) Supply unique test names, and use
3586 gdb_test_no_output.
3587
3588 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3589
3590 * gdb.base/finish-pretty.exp: Update expected results.
3591 * gdb.base/pretty-print.c: New file.
3592 * gdb.base/pretty-print.exp: New file.
3593
3594 2019-03-25 Pedro Alves <palves@redhat.com>
3595
3596 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3597 move comments outside list. Append '-i "" eof' section.
3598
3599 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3600
3601 PR testsuite/25016
3602 * README: Add pie options.
3603 * gdb.base/break-interp.exp: Ensure pie is disabled.
3604 * gdb.base/dump.exp: Likewise.
3605 * lib/gdb.exp (gdb_compile): Add pie option.
3606
3607 2019-03-19 Tom Tromey <tromey@adacore.com>
3608
3609 * gdb.mi/mi2-cli-display.c: New file.
3610 * gdb.mi/mi2-cli-display.exp: New file.
3611
3612 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3613 Tom Tromey <tromey@adacore.com>
3614
3615 * gdb.ada/ptype_array/pck.adb: New file.
3616 * gdb.ada/ptype_array/pck.ads: New file.
3617 * gdb.ada/ptype_array/foo.adb: New file.
3618 * gdb.ada/ptype_array.exp: New file.
3619
3620 2019-03-14 Tom Tromey <tromey@adacore.com>
3621
3622 * gdb.base/style.exp: Add "set style sources" test.
3623
3624 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3625
3626 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3627 * mi-breakpoint-multiple-locations.exp: ... this.
3628 (make_breakpoints_pattern): New proc.
3629 (do_test): Add mi_version parameter, test -break-insert,
3630 -break-info and =breakpoint-created.
3631
3632 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3633
3634 * config/default.exp: Remove 'load_lib gdb.exp'.
3635 * config/monitor.exp: Likewise.
3636 * config/sid.exp: Likewise.
3637 * config/sim.exp: Likewise.
3638 * config/slite.exp: Likewise.
3639 * config/unix.exp: Likewise.
3640 * gdb.base/default.exp: Remove unhelpful comment.
3641
3642 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3643
3644 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3645
3646 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3647
3648 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3649
3650 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3651
3652 * gdb.fortran/type-kinds.exp: Update expected results.
3653
3654 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3655
3656 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3657
3658 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3659
3660 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3661 function.
3662 (test_basic_parsing_of_type_kinds): Expand types tested.
3663 (test_parsing_invalid_type_kinds): New function.
3664
3665 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3666
3667 * gdb.fortran/intrinsics.exp: New file.
3668 * gdb.fortran/intrinsics.f90: New file.
3669 * gdb.fortran/type-kinds.exp: New file.
3670
3671 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.fortran/dot-ops.exp: New file.
3674
3675 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3678 Check upper and lower case logical literals.
3679
3680 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3681
3682 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3683 Remove duplicate tests.
3684
3685 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3686
3687 * lib/gdb.exp (builtin_cd): rename of cd.
3688 (cd): Override builtin.
3689
3690 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3691
3692 * gdb.fortran/function-calls.exp: New file.
3693 * gdb.fortran/function-calls.f90: New test.
3694
3695 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3696
3697 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3698 on user program standard output.
3699 * gdb.fortran/short-circuit-argument-list.f90: Record function
3700 calls.
3701
3702 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3703
3704 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3705 failure.
3706
3707 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3708
3709 PR gdb/8527
3710 * gdb.base/interrupt-daemon-attach.c,
3711 gdb.base/interrupt-daemon-attach.exp: New test.
3712
3713 2019-02-27 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.base/page.exp: Add tests for "set width/height -1".
3716
3717 2019-02-27 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.base/page.exp: Add tests for "set/show width/height" with
3720 "infinite" values.
3721
3722 2019-02-27 Tom Tromey <tromey@adacore.com>
3723
3724 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3725 2.4.
3726 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3727 workaround.
3728
3729 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3730
3731 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3732 tests for structs with static members.
3733
3734 2019-02-26 Tom Tromey <tromey@adacore.com>
3735
3736 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3737 ValueError, not TypeError.
3738
3739 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3740
3741 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3742 call from main program.
3743
3744 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3745
3746 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3747 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3748 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3749 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3750 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3751
3752 2019-02-22 Keith Seitz <keiths@redhat.com>
3753
3754 PR symtab/23853
3755 * gdb.base/symlink-sourcefile.c: New file.
3756 * gdb.base/symlink-sourcefile.exp: New file.
3757
3758 2019-02-20 Tom Tromey <tom@tromey.com>
3759
3760 * gdb.base/info_qt.exp: Update.
3761
3762 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3763
3764 * gdb.base/source.exp: Move "error in sourced script" code to
3765 the end.
3766 * gdb.base/source-error.gdb: Move contents to
3767 source-error-1.gdb. Add new code to source source-error-1.gdb.
3768 * gdb.base/source-error-1.gdb: New file, from previous
3769 source-error.gdb.
3770
3771 2019-02-17 Tom Tromey <tom@tromey.com>
3772
3773 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3774 for macro styling.
3775 * gdb.base/style.c (SOME_MACRO): New macro.
3776
3777 2019-02-17 Tom Tromey <tom@tromey.com>
3778
3779 * gdb.base/style.exp: Add line-wrapping tests.
3780 * gdb.base/page.exp: Add test for quitting during pagination.
3781
3782 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3783
3784 * gdb.ada/big_packed_array: New testcase.
3785 * gdb.ada/homonym.exp: Fix incorrect expected output for
3786 "break <homonym__get_value>" test.
3787
3788 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3789
3790 PR breakpoints/21870
3791 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3792 and prepare_for_testing. Add comment.
3793 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3794 redundant cleanup call. Clean up comment.
3795
3796 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3797
3798 PR breakpoints/21870
3799 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3800 * gdb.arch/aarch64-dbreg-contents.c: New file.
3801
3802 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3803
3804 * gdb.ada/mi_ref_changeable: New testcase.
3805
3806 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3807
3808 * gdb.base/attach.exp: Add double attach test.
3809
3810 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3811
3812 * lib/gdb.exp (default_gdb_start): Don't match pagination
3813 prompt.
3814 (gdb_init): Set stty_init.
3815
3816 2019-01-27 Tom Tromey <tom@tromey.com>
3817
3818 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3819 skip_python_tests.
3820
3821 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3822
3823 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3824 New structure.
3825 (struct struct_static_02_02): Likewise.
3826 (struct struct_static_02_03): Likewise.
3827 (struct struct_static_02_04): Likewise.
3828 (struct struct_static_04_01): Likewise.
3829 (struct struct_static_04_02): Likewise.
3830 (struct struct_static_04_03): Likewise.
3831 (struct struct_static_04_04): Likewise.
3832 (struct struct_static_06_01): Likewise.
3833 (struct struct_static_06_02): Likewise.
3834 (struct struct_static_06_03): Likewise.
3835 (struct struct_static_06_04): Likewise.
3836 (cmp_struct_static_02_01): Likewise.
3837 (cmp_struct_static_02_02): Likewise.
3838 (cmp_struct_static_02_03): Likewise.
3839 (cmp_struct_static_02_04): Likewise.
3840 (cmp_struct_static_04_01): Likewise.
3841 (cmp_struct_static_04_02): Likewise.
3842 (cmp_struct_static_04_03): Likewise.
3843 (cmp_struct_static_04_04): Likewise.
3844 (cmp_struct_static_06_01): Likewise.
3845 (cmp_struct_static_06_02): Likewise.
3846 (cmp_struct_static_06_03): Likewise.
3847 (cmp_struct_static_06_04): Likewise.
3848 (call_all): Test new structs.
3849 * gdb.base/infcall-nested-structs.exp: Likewise.
3850
3851 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3852 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3853
3854 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3855 * gdb.base/stack-protector.c: New test.
3856 * gdb.base/stack-protector.exp: New file.
3857 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3858 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3859 option.
3860 (gdb_compile): Remove stack protector for GCC and prevent
3861 recursion.
3862
3863 2019-01-16 Keith Seitz <keiths@redhat.com>
3864
3865 PR gdb/23773
3866 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3867
3868 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3869
3870 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3871 aliases.
3872 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3873 tests.
3874 * gdb.arch/powerpc-vector-regs.c: New file.
3875 * gdb.arch/powerpc-vector-regs.exp: New file.
3876
3877 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3878
3879 * gdb.arch/altivec-regs.exp: Fix the list passed to
3880 gdb_expect_list when testing "info vector".
3881
3882 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3883
3884 * gdb.base/style.exp: Don't include path in testname.
3885
3886 2019-01-10 Keith Seitz <keiths@redhat.com>
3887
3888 PR gdb/23712
3889 PR symtab/23010
3890 * gdb.dwarf2/multidictionary.exp: New file.
3891
3892 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3893
3894 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3895 (test_gnuv3_style_demangling): ... this.
3896 (test_lucid_style_demangling): Remove.
3897 (test_arm_style_demangling): Remove.
3898 (test_hp_style_demangling): Remove.
3899 (do_tests): Remove calls to the above.
3900
3901 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3904 case.
3905
3906 2019-01-06 Tom Tromey <tom@tromey.com>
3907
3908 PR gdb/28155:
3909 * gdb.dwarf2/typedef-void-finish.exp: New file.
3910
3911 2018-12-28 Tom Tromey <tom@tromey.com>
3912 Simon Marchi <simark@simark.ca>
3913
3914 * gdb.base/jit-exec.exp: New file.
3915 * gdb.base/jit-exec.c: New file.
3916 * gdb.base/jit-execd.c: New file.
3917
3918 2018-12-28 Tom Tromey <tom@tromey.com>
3919
3920 * gdb.base/style.exp: Update test to check for address styling.
3921
3922 2018-12-28 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3925 message.
3926
3927 2018-12-28 Tom Tromey <tom@tromey.com>
3928
3929 * gdb.base/style.exp: Add test for version number styling.
3930
3931 2018-12-28 Tom Tromey <tom@tromey.com>
3932
3933 * gdb.base/style.exp: Add test for print_address_symbolic.
3934
3935 2018-12-28 Tom Tromey <tom@tromey.com>
3936
3937 * gdb.base/style.exp: Add test for breakpoint setting.
3938
3939 2018-12-28 Tom Tromey <tom@tromey.com>
3940
3941 * gdb.base/style.exp: Add test for variable names.
3942
3943 2018-12-28 Tom Tromey <tom@tromey.com>
3944
3945 * gdb.base/style.exp: New file.
3946 * gdb.base/style.c: New file.
3947
3948 2018-12-28 Tom Tromey <tom@tromey.com>
3949
3950 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3951 "dumb".
3952 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3953 the TERM environment variable.
3954
3955 2018-12-27 Tom Tromey <tom@tromey.com>
3956
3957 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3958 pagination test.
3959
3960 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3961
3962 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3963 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3964
3965 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3966
3967 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3968 Filename a.adb changed to bp_fun_addr.adb.
3969 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3970
3971 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3972
3973 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3974 non-PIE executables.
3975 * README: Mention the gdb,nopie_flag board setting.
3976 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3977 non-PIE executable.
3978 * gdb.arch/amd64-entry-value.exp: Likewise.
3979 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3980 * gdb.arch/i386-float.exp: Likewise.
3981 * gdb.arch/i386-signal.exp: Likewise.
3982 * gdb.mi/mi-reg-undefined.exp: Likewise.
3983
3984 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3985
3986 PR gdb/23974
3987 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3988
3989 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3990
3991 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3992 Update order of results accordingly.
3993
3994 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3995
3996 * gdb.base/annota1.exp: Update a test regexp.
3997
3998 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3999
4000 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4001
4002 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4003
4004 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4005 (reuse_time): Initialize to REUSE_TIME_CAP.
4006 (check_rc): New function.
4007 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4008 Check pthread_create rc.
4009 (spawner_thread_func): Check pthread_create and pthread_join rc.
4010
4011 2018-12-08 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.base/list.exp (test_forward_search): Rename to ...
4014 (test_forward_reverse_search): ... this. Also test reverse-search
4015 and the forward-search alias.
4016
4017 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4018
4019 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4020 local timeout variable before return, and remove all local timeout
4021 variable entirely.
4022 (gdb_load): Likewise.
4023
4024 2018-12-01 Tom de Vries <tdevries@suse.de>
4025
4026 * gdb.base/gdb-caching-proc.exp: New file.
4027
4028 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4029
4030 * Makefile.in (TIMESTAMP): New variable.
4031 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4032 command.
4033 (check-single-racy): Likewise.
4034 (check/%.exp): Likewise.
4035 (check-racy/%.exp): Likewise.
4036 (workers/%.worker): Likewise.
4037 (build-perf): Likewise.
4038 (check-perf): Likewise.
4039 * README: Describe new "TS" and "TS_FORMAT" variables.
4040 * print-ts.py: New file.
4041
4042 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4043
4044 PR python/23714
4045 * gdb.python/python.exp: Test command repetition after
4046 gdb.execute.
4047
4048 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4049
4050 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4051 is correctly aligned.
4052
4053 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4054
4055 * gdb.ada/info_auto_lang.exp: New testcase.
4056 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4057 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4058 * gdb.ada/info_auto_lang/some_c.c: New file.
4059
4060 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4061
4062 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4063 FUNC_lang language syntax.
4064
4065 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4066
4067 * gdb.base/info_minsym.c: New file.
4068 * gdb.base/info_minsym.exp: New file.
4069
4070 2018-11-19 Tom Tromey <tom@tromey.com>
4071
4072 PR rust/23625:
4073 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4074 * gdb.rust/expr.exp: Update expected output. Change one test.
4075
4076 2018-11-19 Tom Tromey <tom@tromey.com>
4077
4078 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4079
4080 2018-11-19 Pedro Alves <palves@redhat.com>
4081
4082 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4083 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4084 see the expected warning.
4085
4086 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4087
4088 PR gdb/22736:
4089 * gdb.cp/infcall-nodebug-lib.c: New test.
4090 * gdb.cp/infcall-nodebug-main.c: New test.
4091 * gdb.cp/infcall-nodebug.exp: New file.
4092
4093 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4094
4095 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4096 completer tests.
4097
4098 2018-11-09 Tom de Vries <tdevries@suse.de>
4099
4100 * gdb.base/msym-lang.c: New test.
4101 * gdb.base/msym-lang.exp: New file.
4102 * gdb.base/msym-lang-main.c: New test.
4103
4104 2018-11-08 Tom Tromey <tom@tromey.com>
4105
4106 PR gdb/23555:
4107 PR gdb/23838:
4108 * gdb.base/warning.exp: New file.
4109
4110 2018-11-08 Jan Beulich <jbeulich@suse.com>
4111
4112 * testsuite/gdb.arch/i386-avx512.c,
4113 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4114
4115 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4116
4117 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4118 point hardware.
4119
4120 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4123 * gdb.dwarf2/missing-type-name.exp: New file.
4124
4125 2018-11-06 Tom de Vries <tdevries@suse.de>
4126
4127 * gdb.base/many-headers.c: New test.
4128 * gdb.base/many-headers.exp: New file.
4129
4130 2018-11-06 Jim Wilson <jimw@sifive.com>
4131
4132 * gdb.base/code_elim.exp: For riscv, set additional_flags
4133 to include -msmall-data-limit=0.
4134
4135 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4136
4137 * gdb.ada/watch_minus_l: New testcase.
4138
4139 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4140
4141 * gdb.arch/aix-sighandle.c: New file.
4142 * gdb.arch/aix-sighandle.exp: New file.
4143
4144 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4147 registers being unions.
4148
4149 2018-10-31 Tom de Vries <tdevries@suse.de>
4150
4151 * lib/valgrind.exp: New file.
4152 (vgdb_start, vgdb_stop): New procs, factored out of ...
4153 * gdb.base/valgrind-bt.exp: ... here, ...
4154 * gdb.base/valgrind-disp-step.exp: ... here and ...
4155 * gdb.base/valgrind-infcall.exp: ... here.
4156
4157 2018-10-31 Tom de Vries <tdevries@suse.de>
4158
4159 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4160
4161 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4162
4163 * gdb.dwarf2/void-type.c: New file.
4164 * gdb.dwarf2/void-type.exp: New file.
4165
4166 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4167
4168 * gdb.base/info_qt.c: New file.
4169 * gdb.base/info_qt.exp: New file.
4170
4171 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4172
4173 * gdb.arch/powerpc-htm-regs.c: New file.
4174 * gdb.arch/powerpc-htm-regs.exp: New file.
4175
4176 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4177
4178 * gdb.arch/powerpc-tar.c: New file.
4179 * gdb.arch/powerpc-tar.exp: New file.
4180
4181 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4182
4183 * gdb.arch/powerpc-ppr-dscr.c: New file.
4184 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4185
4186 2018-10-25 Tom de Vries <tdevries@suse.de>
4187
4188 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4189
4190 2018-10-24 Tom de Vries <tdevries@suse.de>
4191
4192 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4193 longer exists error.
4194
4195 2018-10-24 Tom de Vries <tdevries@suse.de>
4196
4197 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4198
4199 2018-10-24 Tom de Vries <tdevries@suse.de>
4200
4201 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4202 --db-attach in valgrind.
4203
4204 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4205
4206 * gdb.arch/riscv-reg-aliases.c: New file.
4207 * gdb.arch/riscv-reg-aliases.exp: New file.
4208
4209 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4210
4211 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4212
4213 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4214
4215 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4216
4217 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4218
4219 * gdb.cp/ovldbreak.exp: Fix regexps.
4220
4221 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4222
4223 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4224
4225 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4226
4227 PR cli/23785
4228 * gdb.base/restore.exp: New test to check if "restore" with an
4229 invalid file doesn't segfault.
4230
4231 2018-10-18 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4234 * gdb.ada/excep_handle.exp: Same.
4235 * gdb.ada/mi_string_access.exp: Same.
4236 * gdb.ada/mi_var_union.exp: Same.
4237 * gdb.arch/arc-analyze-prologue.exp: Same.
4238 * gdb.arch/arc-decode-insn.exp: Same.
4239 * gdb.base/readnever.exp: Same.
4240 * gdb.fortran/printing-types.exp: Same.
4241 * gdb.guile/scm-lazy-string.exp: Same.
4242
4243 2018-10-16 Tom de Vries <tdevries@suse.de>
4244
4245 PR gdb/23730
4246 * gdb.base/catch-follow-exec.c: Add copyright notice.
4247 * gdb.base/catch-follow-exec.exp: Rewrite to use
4248 gdb_spawn_with_cmdline_opts. Require gdb-native.
4249
4250 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4251
4252 * gdb.trace/actions-changed.exp: Check for arch support.
4253 * gdb.trace/actions.exp: Likewise.
4254 * gdb.trace/ax.exp: Likewise.
4255 * gdb.trace/backtrace.exp: Likewise.
4256 * gdb.trace/change-loc.exp: Likewise.
4257 * gdb.trace/deltrace.exp: Likewise.
4258 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4259 * gdb.trace/ftrace.exp: Likewise.
4260 * gdb.trace/infotrace.exp: Check for arch support.
4261 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4262 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4263 * gdb.trace/mi-tsv-changed.exp: Likewise.
4264 * gdb.trace/packetlen.exp: Likewise.
4265 * gdb.trace/passc-dyn.exp: Likewise.
4266 * gdb.trace/passcount.exp: Likewise.
4267 * gdb.trace/pending.exp: Likewise.
4268 * gdb.trace/range-stepping.exp: Check for shlib support.
4269 * gdb.trace/report.exp: Check for arch support.
4270 * gdb.trace/save-trace.exp: Likewise.
4271 * gdb.trace/signal.exp: Check for signal support.
4272 * gdb.trace/tfind.exp: Check for arch support.
4273 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4274 * gdb.trace/trace-common.h: Add comment.
4275 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4276 * gdb.trace/trace-enable-disable.exp: Likewise.
4277 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4278 * gdb.trace/tracecmd.exp: Check for arch support.
4279 * gdb.trace/tspeed.exp: Check for shlib and target support.
4280 * gdb.trace/tstatus.exp: Check for arch support.
4281 * gdb.trace/tsv.exp: Likewise.
4282 * gdb.trace/while-dyn.exp: Likewise.
4283 * gdb.trace/while-stepping.exp: Likewise.
4284 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4285
4286 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4287
4288 * gdb.trace/tspeed.exp: Remove nowarnings.
4289 (prepare_for_trace_test): Declare "global ipalib".
4290 * gdb.trace/tspeed.c: Include unistd.h.
4291 (main): Remove superfluous printf argument.
4292
4293 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4294
4295 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4296 directory prefix on the filename.
4297
4298 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4299
4300 * gdb.gdb/unittest.exp: Update expected message informing that
4301 selftests have been disabled.
4302 * gdb.server/unittest.exp: Likewise.
4303
4304 2018-10-09 Tom de Vries <tdevries@suse.de>
4305
4306 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4307 with runto_main.
4308
4309 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4310
4311 PR c++/16841
4312 * gdb.cp/virtbase2.cc: New file.
4313 * gdb.cp/virtbase2.exp: New file.
4314
4315 2018-10-06 Tom Tromey <tom@tromey.com>
4316
4317 PR python/19399:
4318 * gdb.python/py-inferior.exp: Add architecture test.
4319
4320 2018-10-06 Tom Tromey <tom@tromey.com>
4321
4322 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4323 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4324
4325 2018-10-06 Tom Tromey <tom@tromey.com>
4326
4327 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4328 of a "throw" catchpoint.
4329
4330 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4331
4332 * gdb.base/info-proc.exp: Update string expected from "help info
4333 proc".
4334
4335 2018-10-04 Tom Tromey <tom@tromey.com>
4336
4337 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4338 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4339 (test_initial_complaints, test_empty_complaints): Update.
4340 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4341
4342 2018-10-04 Tom Tromey <tom@tromey.com>
4343
4344 PR cli/19551:
4345 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4346 * lib/gdb.exp (gdb_file_cmd): Update.
4347 * gdb.stabs/weird.exp (print_weird_var): Update.
4348 * gdb.server/solib-list.exp: Update.
4349 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4350 * gdb.mi/mi-cli.exp: Update.
4351 * gdb.linespec/linespec.exp: Update.
4352 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4353 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4354 * gdb.cp/cp-relocate.exp: Update.
4355 * gdb.base/sym-file.exp: Update.
4356 * gdb.base/relocate.exp: Update.
4357 * gdb.base/readnever.exp: Update.
4358 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4359 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4360 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4361 * gdb.base/code_elim.exp: Update.
4362 * gdb.base/break-unload-file.exp (test_break): Update.
4363 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4364 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4365 Update.
4366 * gdb.base/attach.exp (do_attach_tests): Update.
4367 * gdb.base/sepdebug.exp: Update.
4368 * gdb.python/py-section-script.exp: Update.
4369
4370 2018-10-04 Tom Tromey <tom@tromey.com>
4371
4372 PR cli/22234:
4373 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4374 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4375 output.
4376
4377 2018-10-04 Tom Tromey <tom@tromey.com>
4378
4379 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4380 set width and height to 0.
4381 (test_command_line_attach_run): Use -quiet.
4382
4383 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4384
4385 * lib/gdb.exp (skip_ifunc_tests): New.
4386 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4387 other compile failures.
4388 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4389
4390 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4391
4392 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4393 is_amd64_regs_target.
4394
4395 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4396
4397 * gdb.arch/aarch64-sighandler-regs.c: New test.
4398 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4399 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4400
4401 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4402
4403 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4404 assembly.
4405
4406 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4407
4408 * gdb.base/frame-selection.exp: New file.
4409 * gdb.base/frame-selection.c: New file.
4410
4411 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4412
4413 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4414 pthread barrier.
4415 (main): Likewise.
4416
4417 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4418
4419 * gdb.base/large-frame-1.c: New file.
4420 * gdb.base/large-frame-2.c: New file.
4421 * gdb.base/large-frame.exp: New file.
4422 * gdb.base/large-frame.h: New file.
4423
4424 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4425
4426 PR gdb/20948
4427 * gdb.base/write_mem.exp: New test.
4428 * gdb.base/write_mem.c: Likewise.
4429
4430 2018-09-23 Tom Tromey <tom@tromey.com>
4431
4432 PR python/18852:
4433 * gdb.python/py-parameter.exp: Add test for parameter that throws
4434 on "set".
4435
4436 2018-09-23 Tom Tromey <tom@tromey.com>
4437
4438 PR python/17284:
4439 * gdb.python/py-template.exp (test_template_arg): Add test for
4440 negative template argument number.
4441
4442 2018-09-23 Tom Tromey <tom@tromey.com>
4443
4444 PR python/14062:
4445 * gdb.python/python.exp: Add test for post_event error.
4446
4447 2018-09-23 Tom Tromey <tom@tromey.com>
4448
4449 PR python/18170:
4450 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4451 convert pointers to int and long.
4452
4453 2018-09-23 Tom Tromey <tom@tromey.com>
4454
4455 PR python/20126:
4456 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4457 signed-ness conversion tests.
4458
4459 2018-09-23 Tom Tromey <tom@tromey.com>
4460
4461 PR python/18352;
4462 * gdb.python/py-value.exp (test_float_conversion): New proc.
4463 Use it.
4464
4465 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4466
4467 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4468
4469 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4470
4471 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4472 no readline.
4473 * gdb.base/utf8-identifiers.exp: Likewise.
4474 * gdb.cp/cpcompletion.exp: Likewise.
4475 * gdb.linespec/cpcompletion.exp: Likewise.
4476 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4477 * gdb.linespec/cpls-ops.exp: Likewise.
4478
4479 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4480 Chris January <chris.january@arm.com>
4481
4482 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4483 * gdb.fortran/short-circuit-argument-list.exp: New file.
4484 * gdb.fortran/short-circuit-argument-list.f90: New test.
4485
4486 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4487
4488 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4489 "arch=" keyword when executing "-stack-list-frames".
4490
4491 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4492
4493 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4494 "arch=" keyword when executing "-stack-list-frames".
4495
4496 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4497
4498 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4499 break ada".
4500
4501 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4502
4503 PR python/23669
4504 * gdb.python/python.exp: Test gdb.execute("show commands").
4505
4506 2018-09-16 Tom Tromey <tom@tromey.com>
4507
4508 * gdb.base/new-ui.exp (do_execution_tests): Update.
4509 * gdb.base/dbx.exp (test_breakpoints): Update.
4510
4511 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4512
4513 * lib/gdb.exp (gdb_simple_compile): Add proc.
4514 (is_elf_target): Use gdb_simple_compile.
4515 (skip_altivec_tests): Likewise.
4516 (skip_vsx_tests): Likewise.
4517 (skip_tsx_tests): Likewise.
4518 (skip_btrace_tests): Likewise.
4519 (skip_btrace_pt_tests): Likewise.
4520 (gdb_can_simple_compile): Likewise.
4521 (gdb_has_argv0): Likewise.
4522 (gdb_target_symbol_prefix): Likewise.
4523 (target_supports_scheduler_locking): Likewise.
4524
4525 2018-09-13 Tom Tromey <tom@tromey.com>
4526
4527 * Makefile.in (TAGS): Recognize proc_with_prefix and
4528 gdb_caching_proc.
4529
4530 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4531
4532 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4533 method.
4534
4535 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4536
4537 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4538 and a few other Inferior properties when the Inferior is no
4539 longer valid.
4540
4541 2018-09-13 Tom Tromey <tom@tromey.com>
4542
4543 PR rust/23650:
4544 * gdb.rust/simple.exp: Add test for enum field access error.
4545
4546 2018-09-13 Tom Tromey <tom@tromey.com>
4547
4548 PR rust/23626:
4549 * gdb.rust/simple.rs (EmptyEnum): New type.
4550 (main): Use it.
4551 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4552
4553 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4554
4555 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4556 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4557 * gdb.python/py-symtab.exp: Update test printing an objfile.
4558
4559 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4560
4561 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4562 object.
4563
4564 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4565
4566 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4567 (support_complex_tests): Use gdb_can_simple_compile.
4568 (is_ilp32_target): Likewise.
4569 (is_lp64_target): Likewise.
4570 (is_64_target): Likewise.
4571 (is_amd64_regs_target): Likewise.
4572 (is_aarch32_target): Likewise.
4573 (gdb_int128_helper): Likewise.
4574
4575 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4576
4577 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4578
4579 2018-09-10 Jerome Guitton <guitton@adacore.com>
4580
4581 * gdb.ada/same_component_name: Add test for case of tagged record
4582 with variable-length fields.
4583
4584 2018-09-10 Xavier Roirand <roirand@adacore.com>
4585
4586 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4587 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4588 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4589 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4590
4591 2018-09-10 Xavier Roirand <roirand@adacore.com>
4592
4593 * gdb.ada/mi_string_access.exp: New testcase.
4594 * gdb.ada/mi_string_access/bar.adb: New file.
4595 * gdb.ada/mi_string_access/pck.adb: New file.
4596 * gdb.ada/mi_string_access/pck.asd: New file.
4597
4598 2018-09-10 Xavier Roirand <roirand@adacore.com>
4599
4600 * gdb.ada/mi_var_union.exp: New testcase.
4601 * gdb.ada/mi_var_union/bar.adb: New file.
4602 * gdb.ada/mi_var_union/pck.adb: New file.
4603 * gdb.ada/mi_var_union/pck.asd: New file.
4604
4605 2018-09-08 Tom Tromey <tom@tromey.com>
4606
4607 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4608
4609 2018-09-08 Tom Tromey <tom@tromey.com>
4610
4611 PR python/16047:
4612 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4613 (register_pretty_printers): Register new printer.
4614 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4615 test.
4616 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4617 (an_int_type3): New global.
4618
4619 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4620
4621 * gdb.ada/expr_with_funcall: New testcase.
4622
4623 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4624
4625 * gdb.ada/packed_array_assign: New testcase.
4626
4627 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4628
4629 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4630 names, and add test prefixes to make test names unique.
4631
4632 2018-09-05 Tom de Vries <tdevries@suse.de>
4633
4634 * gdb.dwarf2/varval.exp: Add test.
4635
4636 2018-09-04 Gary Benson <gbenson@redhat.com>
4637
4638 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4639 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4640
4641 2018-08-31 Tom Tromey <tom@tromey.com>
4642
4643 * gdb.rust/simple.rs: Rename second variable "v".
4644
4645 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4646
4647 * gdb.base/funcargs.c (use_a): New function.
4648 (recurse): Call use_a.
4649
4650 2018-08-29 Keith Seitz <keiths@redhat.com>
4651
4652 * gdb.compile/compile-cplus-anonymous.cc: New file.
4653 * gdb.compile/compile-cplus-anonymous.exp: New file.
4654 * gdb.compile/compile-cplus-array-decay.cc: New file.
4655 * gdb.compile/compile-cplus-array-decay.exp: New file.
4656 * gdb.compile/compile-cplus-inherit.cc: New file.
4657 * gdb.compile/compile-cplus-inherit.exp: New file.
4658 * gdb.compile/compile-cplus-member.cc: New file.
4659 * gdb.compile/compile-cplus-member.exp: New file.
4660 * gdb.compile/compile-cplus-method.cc: New file.
4661 * gdb.compile/compile-cplus-method.exp: New file.
4662 * gdb.compile/compile-cplus-mod.c: "New" file.
4663 * gdb.compile/compile-cplus-namespace.cc: New file.
4664 * gdb.compile/compile-cplus-namespace.exp: New file.
4665 * gdb.compile/compile-cplus-nested.cc: New file.
4666 * gdb.compile/compile-cplus-nested.exp: New file.
4667 * gdb.compile/compile-cplus-print.c: "New" file.
4668 * gdb.compile/compile-cplus-print.exp: "New" file.
4669 * gdb.compile/compile-cplus-virtual.cc: New file.
4670 * gdb.compile/compile-cplus-virtual.exp: New file.
4671 * gdb.compile/compile-cplus.c: "New" file.
4672 * gdb.compile/compile-cplus.exp: "New" file.
4673 * lib/compile-support.exp: New file.
4674
4675 2018-08-16 Gary Benson <gbenson@redhat.com>
4676
4677 PR gdb/13000:
4678 * gdb.base/batch-exit-status.exp: New file.
4679 * gdb.base/batch-exit-status.good-commands: Likewise.
4680 * gdb.base/batch-exit-status.bad-commands: Likewise.
4681
4682 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4683
4684 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4685 (struct struct02): Likewise.
4686 (struct struct03): Likewise.
4687 (struct struct04): Likewise.
4688 (struct struct_01_01): New struct.
4689 (struct struct_01_02): Likewise.
4690 (struct struct_01_03): Likewise.
4691 (struct struct_01_04): Likewise.
4692 (struct struct_02_01): Likewise.
4693 (struct struct_02_02): Likewise.
4694 (struct struct_02_03): Likewise.
4695 (struct struct_02_04): Likewise.
4696 (struct struct_04_01): Likewise.
4697 (struct struct_04_02): Likewise.
4698 (struct struct_04_03): Likewise.
4699 (struct struct_04_04): Likewise.
4700 (struct struct_05_01): Likewise.
4701 (struct struct_05_02): Likewise.
4702 (struct struct_05_03): Likewise.
4703 (struct struct_05_04): Likewise.
4704 (cmp_struct01): Remove function.
4705 (cmp_struct02): Likewise.
4706 (cmp_struct03): Likewise.
4707 (cmp_struct04): Likewise.
4708 (cmp_struct_01_01): Add Function.
4709 (cmp_struct_01_02): Likewise.
4710 (cmp_struct_01_03): Likewise.
4711 (cmp_struct_01_04): Likewise.
4712 (cmp_struct_02_01): Likewise.
4713 (cmp_struct_02_02): Likewise.
4714 (cmp_struct_02_03): Likewise.
4715 (cmp_struct_02_04): Likewise.
4716 (cmp_struct_04_01): Likewise.
4717 (cmp_struct_04_02): Likewise.
4718 (cmp_struct_04_03): Likewise.
4719 (cmp_struct_04_04): Likewise.
4720 (cmp_struct_05_01): Likewise.
4721 (cmp_struct_05_02): Likewise.
4722 (cmp_struct_05_03): Likewise.
4723 (cmp_struct_05_04): Likewise.
4724 (call_all): Add new structs.
4725 * gdb.base/infcall-nested-structs.exp: Likewise.
4726
4727 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4728
4729 * gdb.python/py-framefilter-mi.exp: Update regexp to
4730 check for "arch" field in frame output.
4731
4732 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4733
4734 * gdb.dwarf2/dw2-ranges-func.c: New file.
4735 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4736
4737 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4738
4739 * gdb.base/term.exp: Compare terminal settings with values from
4740 the inferior.
4741 * gdb.base/term.c: Get and set terminal settings.
4742
4743 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4744
4745 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4746 accommodate new "arch" field in frame output.
4747 * gdb.mi/mi-return.exp: Likewise.
4748 * gdb.mi/mi-stack.exp: Likewise.
4749 * gdb.mi/mi-syn-frame.exp: Likewise.
4750 * gdb.mi/user-selected-context-sync.exp: Likewise.
4751
4752 2018-08-19 Michael Spang <spang@google.com>
4753
4754 PR gdb/11786
4755 * gdb.base/gcore-tls-pie.c: New file.
4756 * gdb.base/gcore-tls-pie.exp: New file.
4757
4758 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4759
4760 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4761 * gdb.dwarf2/varval.c: New file.
4762 * gdb.dwarf2/varval.exp: New file.
4763
4764 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4765
4766 PR gdb/18931
4767 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4768
4769 2018-08-16 Keith Seitz <keiths@redhat.com>
4770
4771 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4772 tests expected to pass.
4773
4774 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4775
4776 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4777 -data-disassemble -a.
4778 (test_disassembly_bogus_args): Likewise.
4779
4780 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4781
4782 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4783
4784 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4785
4786 * gdb.base/vla-optimized-out.exp: Add new test.
4787
4788 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4789
4790 * gdb.base/vla-optimized-out-o3.exp: Delete.
4791 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4792 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4793 deleted tests.
4794
4795 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4796
4797 PR gdb/18050:
4798 * gdb.server/extended-remote-restart.c: New file.
4799 * gdb.server/extended-remote-restart.exp: New file.
4800
4801 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4802
4803 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4804 "set variable index = 42".
4805
4806 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4807
4808 * boards/index-cache-gdb.exp: New file.
4809 * gdb.dwarf2/index-cache.exp: New file.
4810 * gdb.dwarf2/index-cache.c: New file.
4811 * gdb.base/maint.exp: Check if we are using the index cache.
4812
4813 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4814
4815 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4816 MAKEFLAGS.
4817
4818 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4819
4820 * dg-extract-results.sh: Move to toplevel contrib.
4821 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4822 * Makefile.in (check-parallel-racy): Likewise.
4823
4824 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4827 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4828 tests if the target supports scheduler locking.
4829
4830 2018-08-04 Tom de Vries <tdevries@suse.de>
4831
4832 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4833
4834 2018-08-02 Tom Tromey <tom@tromey.com>
4835
4836 PR symtab/16842.
4837 * gdb.cp/temargs.exp: Test "info address" of a template
4838 parameter.
4839
4840 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4841
4842 * gdb.python/py-mi-var-info-path-expression.c: New file.
4843 * gdb.python/py-mi-var-info-path-expression.py: New file.
4844 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4845
4846 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4847
4848 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4849 error after "cannot resolve name" string.
4850
4851 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4852
4853 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4854 started.
4855 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4856
4857 2018-07-28 Tom de Vries <tdevries@suse.de>
4858
4859 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4860
4861 2018-07-26 Tom de Vries <tdevries@suse.de>
4862
4863 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4864
4865 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4866
4867 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4868 is visible.
4869
4870 2018-07-26 Tom de Vries <tdevries@suse.de>
4871
4872 PR breakpoints/23366
4873 * gdb.base/catch-follow-exec.c: New test.
4874 * gdb.base/catch-follow-exec.exp: New file.
4875
4876 2018-07-25 Tom de Vries <tdevries@suse.de>
4877
4878 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4879 vla-optimized-out.c.
4880
4881 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4882
4883 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4884 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4885
4886 2018-07-20 Tom de Vries <tdevries@suse.de>
4887
4888 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4889 NOCLONE macro.
4890 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4891
4892 2018-07-19 Tom de Vries <tdevries@suse.de>
4893
4894 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4895 regular expression.
4896
4897 2018-07-18 Tom de Vries <tdevries@suse.de>
4898
4899 * gdb.base/vla-optimized-out.c: New test.
4900 * gdb.base/vla-optimized-out.exp: New file.
4901
4902 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4903
4904 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4905 message "No address associated with hostname" when gdbserver
4906 cannot resolve the hostname.
4907
4908 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4909
4910 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4911 Add some test prefixes to make tests unique.
4912
4913 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4914
4915 * gdb.base/frameapply.c: New file.
4916 * gdb.base/frameapply.exp: New file.
4917
4918 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4919
4920 * gdb.base/skip.exp: Update expected error message.
4921
4922 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4923 Jan Kratochvil <jan.kratochvil@redhat.com>
4924 Paul Fertser <fercerpav@gmail.com>
4925 Tsutomu Seki <sekiriki@gmail.com>
4926
4927 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4928 parameter.
4929 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4930 by default.
4931 * boards/native-gdbserver.exp: Likewise.
4932 * gdb.server/run-without-local-binary.exp: Improve regexp used
4933 for detecting when a remote debugging connection succeeds.
4934 * gdb.server/server-connect.exp: New file.
4935 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4936 Do not prefix the port number with ":".
4937 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4938 support for detecting and using it. Add '$debughost_gdbserver'
4939 to the list of arguments used to start gdbserver. Handle case
4940 when gdbserver cannot resolve a network name.
4941
4942 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4943
4944 PR c++/23373
4945 * gdb.base/ptype-offsets.cc (struct static_member): New
4946 struct.
4947 (main) <stmember>: New variable.
4948 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4949 with a static member in it.
4950
4951 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4952
4953 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4954 watchpoints enabled and disabled.
4955
4956 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4957
4958 * gdb.base/examine-backward.exp: Still run tests around address
4959 0x0, even if address 0x0 is not readable. Update the pattern for
4960 matching address 0x0 in expected output.
4961
4962 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4963
4964 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4965 malloc/free.
4966
4967 2018-07-04 Tom de Vries <tdevries@suse.de>
4968
4969 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4970
4971 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4972
4973 PR tdep/8282
4974 * gdb.arch/mips-disassembler-options.exp: New test.
4975 * gdb.arch/mips-disassembler-options.s: New test source.
4976
4977 2018-06-29 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.threads/names.exp: Adjust expected "info threads" output.
4980
4981 2018-06-29 Pedro Alves <palves@redhat.com>
4982
4983 * gdb.opt/inline-break.exp (line number, address): Add "info
4984 break" tests.
4985
4986 2018-06-29 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4989 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4990 number and address and running to them.
4991
4992 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4993
4994 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4995
4996 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4997
4998 * lib/compiler.c: Remove executable permission flag.
4999
5000 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5001
5002 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5003 code.
5004 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5005
5006 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5007
5008 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5009
5010 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5011
5012 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5013 address argument is omitted.
5014
5015 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5016
5017 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5018
5019 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5020
5021 PR gdb/21695
5022 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5023 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5024
5025 2018-06-26 Tom Tromey <tom@tromey.com>
5026
5027 PR rust/22574:
5028 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5029 * gdb.rust/simple.rs (struct SimpleLayout): New.
5030
5031 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5032
5033 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5034 "info registers" output.
5035
5036 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5037
5038 * gdb.base/watchpoint-hw-attach.c: New test.
5039 * gdb.base/watchpoint-hw-attach.exp: New file.
5040
5041 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5042
5043 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5044 through /bin/sh.
5045 * boards/dwarf4-gdb-index.exp: Likewise.
5046 * boards/fission-dwp.exp: Likewise.
5047
5048 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5049
5050 * gdb.base/float128.exp: Add comment and improved fail message
5051 to the failure case of "print large128" test.
5052
5053 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5054
5055 * configure.ac: Remove AC_PREREQ.
5056 * configure: Re-generate.
5057
5058 2018-06-19 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5061 (func_extern_caller): New.
5062 (main): Call func_extern_caller.
5063 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5064 logic change.
5065
5066 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5067
5068 PR gdb/16841
5069 * gdb.cp/typedef-base.cc: New file.
5070 * gdb.cp/typedef-base.exp: New file.
5071
5072 2018-06-18 Tom de Vries <tdevries@suse.de>
5073
5074 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5075
5076 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5077 Richard Bunt <Richard.Bunt@arm.com>
5078
5079 * gdb.threads/attach-slow-waitpid.c: New file.
5080 * gdb.threads/attach-slow-waitpid.exp: New file.
5081 * gdb.threads/slow-waitpid.c: New file.
5082
5083 2018-06-14 Pedro Alves <palves@redhat.com>
5084
5085 * gdb.base/fork-running-state.c: Include <errno.h>.
5086 (exit_if_relative_exits): New.
5087 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5088 exits.
5089 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5090 child exits.
5091
5092 2018-06-14 Tom de Vries <tdevries@suse.de>
5093
5094 PR cli/22573
5095 * gdb.base/finish-pretty.c: New test.
5096 * gdb.base/finish-pretty.exp: New file.
5097
5098 2018-06-14 Pedro Alves <palves@redhat.com>
5099
5100 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5101 gdb's expected startup output.
5102
5103 2018-06-14 Pedro Alves <palves@redhat.com>
5104
5105 * lib/selftest-support.exp (selftest_setup): Remove inlined
5106 function handling.
5107
5108 2018-06-14 Tom de Vries <tdevries@suse.de>
5109
5110 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5111 matching of breakpoint printing.
5112
5113 2018-06-13 Tom de Vries <tdevries@suse.de>
5114
5115 PR testsuite/23269
5116 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5117 (fork_child): ... here, and ...
5118 (fork_parent): ... here.
5119
5120 2018-06-12 Tom de Vries <tdevries@suse.de>
5121
5122 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5123
5124 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5125 Stephen Roberts <stephen.roberts@arm.com>
5126
5127 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5128 rewrite test to describe action performed, rather than possible
5129 failure.
5130
5131 2018-06-08 Gary Benson <gbenson@redhat.com>
5132
5133 * gdb.threads/check-libthread-db.exp: New file.
5134 * gdb.threads/check-libthread-db.c: Likewise.
5135
5136 2018-06-05 Tom Tromey <tom@tromey.com>
5137
5138 * gdb.base/default.exp: Update expected "show version" output.
5139
5140 2018-06-05 Tom Tromey <tom@tromey.com>
5141
5142 PR cli/12326:
5143 * gdb.cp/static-print-quit.exp: Update.
5144 * lib/gdb.exp (pagination_prompt): Update.
5145 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5146 * gdb.python/python.exp: Update.
5147
5148 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5149
5150 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5151
5152 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5153
5154 * gdb.ada/bp_fun_addr: New testcase.
5155
5156 2018-06-01 Tom Tromey <tom@tromey.com>
5157
5158 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5159 results.
5160 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5161 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5162 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5163 * gdb.base/maint.exp (maint_pass_if): Update.
5164
5165 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5166
5167 * gdb.base/endian.exp: New test.
5168 * gdb.base/endian.c: New test source.
5169
5170 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5171
5172 PR gdb/23203
5173 * gdb.base/bt-selected-frame.c: New file.
5174 * gdb.base/bt-selected-frame.exp: New file.
5175 * lib/gdb.exp (get_current_frame_number): New function.
5176
5177 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5178 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.threads/tls-core.c: Include <stdlib.h>
5181 (thread_proc): Call `abort'.
5182 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5183 (tls_core_test): New procedure, bits factored out from ...
5184 (top level): ... here. Test both native cores and gcore cores.
5185
5186 2018-05-23 Tom Tromey <tom@tromey.com>
5187
5188 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5189
5190 2018-05-23 Tom Tromey <tom@tromey.com>
5191
5192 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5193 symfile_complaints.
5194 (test_short_complaints): Likewise.
5195 (test_empty_complaints): Likewise.
5196 (test_initial_complaints): Update.
5197
5198 2018-05-23 Tom Tromey <tom@tromey.com>
5199
5200 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5201
5202 2018-05-23 Tom Tromey <tom@tromey.com>
5203
5204 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5205 (test_short_complaints): Update.
5206
5207 2018-05-22 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/remote.exp: Only gdb_start after compiling the
5210 testcase. Issue "disconnect" before testing "set remote" command
5211 defaults. Issue clean_restart before running to main.
5212
5213 2018-05-22 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/remote.exp: Adjust expected output of "show remote
5216 memory-write-packet-size". Add tests for "set remote
5217 memory-write-packet-size 0" and "set remote
5218 memory-write-packet-size fixed/limit".
5219
5220 2018-05-22 Pedro Alves <palves@redhat.com>
5221
5222 PR gdb/22973
5223 * gdb.base/utf8-identifiers.c: New file.
5224 * gdb.base/utf8-identifiers.exp: New file.
5225
5226 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5227
5228 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5229
5230 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5231
5232 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5233
5234 2018-05-18 Tom Tromey <tom@tromey.com>
5235
5236 * gdb.base/ptype-offsets.exp: Update.
5237
5238 2018-05-17 Keith Seitz <keiths@redhat.com>
5239
5240 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5241 in expected breakpoint stop locations.
5242 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5243 move to proper scope to test variable values.
5244 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5245 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5246 New functions.
5247 (main): Call not_inline_func3.
5248 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5249 inline_func1, inline_func2, and inline_func3. Test that when each
5250 breakpoint is hit, GDB properly reports both the stop location
5251 and the backtrace. Repeat tests for temporary breakpoints.
5252
5253 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5254
5255 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5256 rather then trying to access it in determining whether the PID
5257 of `gdbserver' could have been retrieved.
5258
5259 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5260
5261 * gdb.arch/amd64-init-x87-values.S: New file.
5262 * gdb.arch/amd64-init-x87-values.exp: New file.
5263
5264 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5267
5268 2018-05-04 Tom Tromey <tom@tromey.com>
5269
5270 PR python/22730:
5271 * gdb.python/python.exp: Test multi-line execute.
5272
5273 2018-05-04 Tom Tromey <tom@tromey.com>
5274
5275 PR python/22731:
5276 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5277
5278 2018-05-04 Tom Tromey <tom@tromey.com>
5279
5280 PR gdb/11750:
5281 * gdb.base/define.exp: Test defining a user command inside a user
5282 command.
5283 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5284
5285 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5286 Pedro Alves <palves@redhat.com>
5287
5288 PR breakpoints/19806 and support for PR external/20207.
5289 * gdb.base/watchpoint-unaligned.c: New file.
5290 * gdb.base/watchpoint-unaligned.exp: New file.
5291
5292 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5293
5294 * gdb.base/maint.exp: Make test names unique, use
5295 test_prefix_command_help to test 'help maint info', and remove
5296 repeated test of 'help maint'.
5297
5298 2018-05-04 Tom Tromey <tom@tromey.com>
5299
5300 PR gdb/22619:
5301 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5302 behavior.
5303
5304 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5305
5306 * gdb.base/maint.exp: Process output from 'maint print registers'
5307 line at a time.
5308
5309 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5310
5311 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5312 timeout.
5313
5314 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5315
5316 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5317 filter pattern.
5318
5319 2018-05-02 Pedro Alves <palves@redhat.com>
5320
5321 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5322 to_log_command renames.
5323 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5324
5325 2018-05-02 Tom Tromey <tom@tromey.com>
5326
5327 * gdb.python/py-parameter.exp: Set test message.
5328
5329 2018-05-02 Tom Tromey <tom@tromey.com>
5330
5331 PR python/20084:
5332 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5333 PARAM_ZUINTEGER_UNLIMITED tests.
5334
5335 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5336
5337 PR rust/23124
5338 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5339 when casting.
5340
5341 2018-04-30 Tom Tromey <tom@tromey.com>
5342
5343 * gdb.python/py-type.exp: Check align attribute.
5344 * gdb.python/py-type.c: New "aligncheck" global.
5345
5346 2018-04-30 Tom Tromey <tom@tromey.com>
5347
5348 PR exp/17095:
5349 * gdb.dwarf2/dw2-align.exp: New file.
5350 * gdb.cp/align.exp: New file.
5351 * gdb.base/align.exp: New file.
5352 * lib/gdb.exp (gdb_int128_helper): New proc.
5353 (has_int128_c, has_int128_cxx): New caching procs.
5354
5355 2018-04-27 Tom Tromey <tom@tromey.com>
5356
5357 PR rust/22545:
5358 * gdb.rust/simple.exp: Add inclusive range tests.
5359
5360 2018-04-26 Pedro Alves <palves@redhat.com>
5361
5362 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5363 ifunc breakpoint locations correctly of ifunc breakpoints set
5364 while the program resolves the ifunc.
5365
5366 2018-04-26 Pedro Alves <palves@redhat.com>
5367
5368 * gdb.base/gnu-ifunc-final.c: New file.
5369 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5370 * gdb.base/gnu-ifunc.exp (executable): Delete.
5371 (staticexecutable): Adjust.
5372 (lib_opts, exec_opts): Delete.
5373 (make_binsuffix, build, set-break): New procedures.
5374 (misc_tests): New, with tests factored out from the top level.
5375 (top level): Test different combinations of ifunc resolver name,
5376 resolver with and with debug info, and ifunc target with and
5377 without debug info. Wrap static tests with with_target_prefix.
5378
5379 2018-04-26 Pedro Alves <palves@redhat.com>
5380
5381 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5382 return type" warnings.
5383
5384 2018-04-25 Pedro Alves <palves@redhat.com>
5385
5386 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5387 killed".
5388 * gdb.base/kill-after-signal.exp: Likewise.
5389 * gdb.threads/kill.exp: Likewise.
5390
5391 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5392 Sergio Durigan Junior <sergiodj@redhat.com>
5393 Pedro Alves <palves@redhat.com>
5394
5395 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5396 regexps to expect for '[Inferior ... detached]' as well.
5397 * gdb.base/attach.exp: Likewise.
5398 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5399 "gdb_continue_to_end".
5400 (test_catch_syscall_with_wrong_args): Likewise.
5401 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5402 ']'. Don't set 'verbose' on.
5403 * gdb.base/foll-vfork.exp: Likewise.
5404 * gdb.base/fork-print-inferior-events.c: New file.
5405 * gdb.base/fork-print-inferior-events.exp: New file.
5406 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5407 '[Inferior ... has been killed]' message.
5408 * gdb.base/kill-after-signal.exp: Likewise.
5409 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5410 detach message.
5411 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5412 message.
5413 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5414 regexps to expect for '[Inferior ... detached]' as well.
5415 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5416
5417 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5418
5419 PR gdb/23104
5420 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5421
5422 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5423
5424 PR gdb/23095
5425 * gdb.base/break-probes.exp: Pass shlib_load to
5426 prepare_for_testing. Set normal_bp to r_debug_state if target is
5427 bsd.
5428
5429 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5430
5431 * gdb.threads/multiple-successive-infcall.c: New test.
5432 * gdb.threads/multiple-successive-infcall.exp: New file.
5433
5434 2018-04-17 Tom Tromey <tom@tromey.com>
5435
5436 * gdb.rust/simple.rs (Union): New type.
5437 (main): New local "u".
5438 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5439
5440 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5441
5442 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5443 number information in output of "whereis" command.
5444 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5445
5446 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5447
5448 * gdb.ada/info_types.exp: Adjust expected output to the line
5449 numbers now printed by "info var/func/type".
5450 * gdb.base/completion.exp: Likewise.
5451 * gdb.base/included.exp: Likewise.
5452 * gdb.cp/cp-relocate.exp: Likewise.
5453 * gdb.cp/cplusfuncs.exp: Likewise.
5454 * gdb.cp/namespace.exp: Likewise.
5455 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5456
5457 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5458
5459 * gdb.btrace/cpu.exp: New.
5460
5461 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5462
5463 * gdb.base/step-indirect-call-thunk.exp: New.
5464 * gdb.base/step-indirect-call-thunk.c: New.
5465 * gdb.reverse/step-indirect-call-thunk.exp: New.
5466 * gdb.reverse/step-indirect-call-thunk.c: New.
5467
5468 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5469
5470 * gdb.base/pie-fork.c: New file.
5471 * gdb.base/pie-fork.exp: New file.
5472
5473 2018-04-11 Tom Tromey <tom@tromey.com>
5474
5475 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5476
5477 2018-04-10 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5480 exits. Instead loop running forever.
5481 (fork_parent): Run forever too.
5482
5483 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5484
5485 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5486 mi_continue_to_line.
5487 * gdb.mi/mi-stack.c (callee4): Add comment.
5488
5489 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5490
5491 * gdb.mi/mi-stack.exp: Fix indentation.
5492
5493 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5494
5495 PR gdb/22979
5496 * gdb.arch/amd64-osabi.exp: New file.
5497
5498 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5499
5500 PR gdb/22980
5501 * gdb.base/osabi.exp: New file.
5502
5503 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5504
5505 * gdb.cp/static-typedef-print.exp: New file.
5506 * gdb.cp/static-typedef-print.cc: New file.
5507
5508 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5509
5510 * gdb.ada/varsize_limit: New testcase.
5511
5512 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5513
5514 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5515
5516 * gdb.ada/notcplusplus: New testcase.
5517
5518 * gdb.base/c-linkage-name.c: New file.
5519 * gdb.base/c-linkage-name.exp: New testcase.
5520
5521 2018-03-26 Tom Tromey <tom@tromey.com>
5522
5523 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5524 * gdb.python/py-framefilter.py (name_error): New global.
5525 (ErrorInName.function): Use name_error.
5526
5527 2018-03-26 Tom Tromey <tom@tromey.com>
5528
5529 PR backtrace/15582:
5530 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5531
5532 2018-03-23 Keith Seitz <keiths@redhat.com>
5533
5534 PR c++/22968
5535 * gdb.cp/subtypes.exp: New file.
5536 * gdb.cp/subtypes.h: New file.
5537 * gdb.cp/subtypes.cc: New file.
5538 * gdb.cp/subtypes-2.cc: New file.
5539
5540 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5541
5542 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5543 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5544 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5545 -nostartfiles when compiling the test. Confirm that all registers
5546 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5547
5548 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5549
5550 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5551 option, syntax was wrong anyway.
5552 * gdb.arch/arm-disp-step.exp: Likewise.
5553 * gdb.arch/sparc64-regs.exp: Likewise.
5554 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5555 option, syntax was wrong anyway, switch to use
5556 prepare_for_testing.
5557 * gdb.arch/i386-disp-step.exp: Likewise.
5558
5559 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5560
5561 * gdb.ada/exec_changed.exp: Replace "target_info exists
5562 use_gdb_stub" by "use_gdb_stub".
5563 * gdb.ada/start.exp: Likewise.
5564 * gdb.base/async-shell.exp: Likewise.
5565 * gdb.base/attach-pie-misread.exp: Likewise.
5566 * gdb.base/attach-wait-input.exp: Likewise.
5567 * gdb.base/break-entry.exp: Likewise.
5568 * gdb.base/break-interp.exp: Likewise.
5569 * gdb.base/dprintf-detach.exp: Likewise.
5570 * gdb.base/nostdlib.exp: Likewise.
5571 * gdb.base/solib-nodir.exp: Likewise.
5572 * gdb.base/statistics.exp: Likewise.
5573 * gdb.base/testenv.exp: Likewise.
5574 * gdb.mi/mi-exec-run.exp: Likewise.
5575 * gdb.mi/mi-start.exp: Likewise.
5576 * gdb.multi/dummy-frame-restore.exp: Likewise.
5577 * gdb.multi/multi-arch-exec.exp: Likewise.
5578 * gdb.multi/multi-arch.exp: Likewise.
5579 * gdb.multi/tids.exp: Likewise.
5580 * gdb.multi/watchpoint-multi.exp: Likewise.
5581 * gdb.python/py-events.exp: Likewise.
5582 * gdb.threads/attach-into-signal.exp: Likewise.
5583 * gdb.threads/attach-stopped.exp: Likewise.
5584 * gdb.threads/threadapply.exp: Likewise.
5585 * lib/selftest-support.exp: Likewise.
5586
5587 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588
5589 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5590
5591 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5592
5593 * gdb.perf/template-breakpoints.cc: New file.
5594 * gdb.perf/template-breakpoints.exp: New file.
5595 * gdb.perf/template-breakpoints.py: New file.
5596
5597 2018-03-19 Tom Tromey <tom@tromey.com>
5598
5599 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5600 y0.
5601 * gdb.rust/simple.exp: Test bare identifier form of struct
5602 initializer.
5603
5604 2018-03-19 Tom Tromey <tom@tromey.com>
5605
5606 * gdb.gdb/observer.exp: Remove.
5607
5608 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609
5610 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5611 "qualified" option when setting breakpoints.
5612 * gdb.trace/backtrace.exp: Likewise.
5613 * gdb.trace/circ.exp: Likewise.
5614 * gdb.trace/collection.exp: Likewise.
5615 * gdb.trace/disconnected-tracing.exp: Likewise.
5616 * gdb.trace/ftrace-lock.exp: Likewise.
5617 * gdb.trace/ftrace.exp: Likewise.
5618 * gdb.trace/infotrace.exp: Likewise.
5619 * gdb.trace/packetlen.exp: Likewise.
5620 * gdb.trace/passc-dyn.exp: Likewise.
5621 * gdb.trace/qtro.exp: Likewise.
5622 * gdb.trace/read-memory.exp: Likewise.
5623 * gdb.trace/report.exp: Likewise.
5624 * gdb.trace/signal.exp: Likewise.
5625 * gdb.trace/status-stop.exp: Likewise.
5626 * gdb.trace/strace.exp: Likewise.
5627 * gdb.trace/tfind.exp: Likewise.
5628 * gdb.trace/trace-break.exp: Likewise.
5629 * gdb.trace/trace-condition.exp: Likewise.
5630 * gdb.trace/trace-mt.exp: Likewise.
5631 * gdb.trace/tstatus.exp: Likewise.
5632 * gdb.trace/tsv.exp: Likewise.
5633 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5634 * gdb.trace/unavailable.exp: Likewise.
5635 * gdb.trace/while-dyn.exp: Likewise.
5636
5637 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5638
5639 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5640 that libinproctrace is copied to the target.
5641
5642 2018-03-14 Tom Tromey <tom@tromey.com>
5643
5644 PR cli/14977:
5645 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5646 a null pointer.
5647 * gdb.base/wchar.exp: Likewise.
5648
5649 2018-03-14 Tom Tromey <tom@tromey.com>
5650
5651 PR cli/19918:
5652 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5653 flag.
5654
5655 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5656
5657 PR gdb/22841
5658 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5659 "target" to remote_exec.
5660
5661 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5662
5663 PR gdb/22841
5664 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5665 ${board}_upload): Remove.
5666
5667 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668
5669 * gdb.cp/watch-cp.cc: New test.
5670 * gdb.cp/watch-cp.exp: New file.
5671
5672 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5673
5674 * gdb.base/infcall-nested-structs.exp: New file.
5675 * gdb.base/infcall-nested-structs.c: New file.
5676 * gdb.base/float.exp: Add riscv support.
5677
5678 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5679
5680 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5681 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5682
5683 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5684
5685 * gdb.server/abspath.exp: New file.
5686 * lib/gdb.exp (with_cwd): New procedure.
5687
5688 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5689
5690 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5691 use it.
5692 (gdb_is_target_remote_prompt): New proc.
5693 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5694 (gdb_is_target_native): Pass prompt parameter to
5695 gdb_is_target_1.
5696
5697 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5698
5699 * gdb.base/load-command.c: New file.
5700 * gdb.base/load-command.exp: New file.
5701 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5702 (gdb_is_target_1): ...this, and generalize for other targets
5703 than just remote.
5704 (gdb_is_target_remote): Use gdb_is_target_1.
5705 (gdb_is_target_native): use gdb_is_target_1.
5706
5707 2018-02-26 Tom Tromey <tom@tromey.com>
5708
5709 PR python/16497:
5710 * gdb.python/py-framefilter.exp: Update test.
5711
5712 2018-02-26 Tom Tromey <tom@tromey.com>
5713
5714 * gdb.dwarf2/variant.c: New file.
5715 * gdb.dwarf2/variant.exp: New file.
5716
5717 2018-02-26 Tom Tromey <tom@tromey.com>
5718
5719 * gdb.rust/simple.exp: Accept more possible results in enum test.
5720
5721 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5722
5723 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5724 parentheses.
5725
5726 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5727
5728 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5729 name of a variable: $actual_linejj -> $actual_line.
5730
5731 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5732
5733 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5734
5735 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5736
5737 * gdb.btrace/buffer-size.exp: Do not force BTS.
5738
5739 2018-02-14 Pedro Alves <palves@redhat.com>
5740
5741 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5742 getting a "Quit".
5743
5744 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5745
5746 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5747 Fix test name.
5748
5749 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5750
5751 * gdb.cp/m-static.exp: Check type of optimized out static
5752 member.
5753
5754 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5755
5756 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5757 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5758
5759 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5760 Leszek Swirski <leszeks@google.com>
5761
5762 * gdb.python/py-prettyprint.c
5763 (struct to_string_returns_value_inner,
5764 struct to_string_returns_value_wrapper): New.
5765 (main): Add tsrvw variable.
5766 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5767 ToStringReturnsValueWrapper): New classes.
5768 (register_pretty_printers): Register new pretty-printers.
5769 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5770 recursive pretty printer.
5771 * gdb.python/py-mi.exp: Likewise.
5772
5773 2018-02-01 Leszek Swirski <leszeks@google.com>
5774
5775 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5776 functions with the same name as an include file are parsed
5777 correctly.
5778
5779 2018-02-01 Yao Qi <yao.qi@linaro.org>
5780
5781 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5782 "\[^\r\n\]*".
5783
5784 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5785
5786 * gdb.arch/powerpc-prologue-frame.s: New file.
5787 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5788 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5789
5790 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5791
5792 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5793
5794 2018-01-30 Pedro Alves <palves@redhat.com>
5795
5796 PR gdb/13211
5797 * gdb.base/interrupt-daemon.c: New.
5798 * gdb.base/interrupt-daemon.exp: New.
5799 * gdb.multi/multi-term-settings.c: New.
5800 * gdb.multi/multi-term-settings.exp: New.
5801
5802 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5803
5804 * gdb.base/break.exp: Save the location where the breakpoint
5805 on break.c:47 was actually inserted when debugging the version
5806 compiled at -O2 and use it in the expected output of the "info
5807 break" test performed soon after.
5808
5809 2018-01-22 Pedro Alves <palves@redhat.com>
5810 Sergio Durigan Junior <sergiodj@redhat.com>
5811
5812 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5813 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5814
5815 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5816
5817 * gdb.base/break-include.c, gdb.base/break-include.inc,
5818 gdb.base/break-include.exp: New files.
5819 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5820 line number now being the actual line number where the breakpoint
5821 was inserted.
5822 * gdb.mi/mi-break.exp: Likewise.
5823 * gdb.mi/mi-reverse.exp: Likewise.
5824 * gdb.mi/mi-simplerun.exp: Ditto.
5825
5826 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5827
5828 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5829 varobj.
5830 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5831
5832 2018-01-21 Don Breazeal <donb@codesourcery.com>
5833 Andrew Burgess <andrew.burgess@embecosm.com>
5834
5835 * gdb.mi/basics.c: Add new global.
5836 * gdb.mi/mi-frame-regs.exp: New file.
5837 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5838 case.
5839
5840 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5841
5842 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5843 non-parameter, and on an unknown symbol.
5844
5845 2018-01-19 Tom Tromey <tom@tromey.com>
5846
5847 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5848 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5849
5850 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5851
5852 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5853 setrlimit and chdir to int.
5854
5855 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5856
5857 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5858 function.
5859 (my_tend): Likewise.
5860 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5861 rationale of avoiding FP- and vector instructions.
5862
5863 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5864
5865 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5866 "info reg" with "\[ \t\]*".
5867 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5868 "\[ \t\]+".
5869 * gdb.arch/s390-multiarch.exp: Ditto.
5870 * gdb.base/pc-fp.exp: Ditto.
5871 * gdb.reverse/i386-precsave.exp: Ditto.
5872 * gdb.reverse/i386-reverse.exp: Ditto.
5873 * gdb.reverse/i387-env-reverse.exp: Ditto.
5874 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5875
5876 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5877
5878 * lib/gdb.exp (gdb_compile): Re-enable use of
5879 universal_compile_options for languages other than Rust.
5880
5881 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5882
5883 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5884
5885 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5886
5887 PR gdb/16577
5888 * gdb.base/solib-vanish.exp: New.
5889 * gdb.base/solib-vanish-main.c: New.
5890 * gdb.base/solib-vanish-lib1.c: New.
5891 * gdb.base/solib-vanish-lib2.c: New.
5892
5893 2018-01-17 Yao Qi <yao.qi@linaro.org>
5894
5895 * gdb.compile/compile.exp: Match the address printed for
5896 frame in the output of command "bt".
5897
5898 2018-01-15 Tom Tromey <tom@tromey.com>
5899
5900 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5901 compute sp_reg.
5902
5903 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5904
5905 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5906 to prepare.
5907 (prepare): Return 0 on error, 1 on success.
5908
5909 2018-01-12 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/continue-after-aborted-step-over.c: New.
5912 * gdb.base/continue-after-aborted-step-over.exp: New.
5913
5914 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5915
5916 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5917 options when not creating an executable.
5918
5919 2018-01-11 Pedro Alves <palves@redhat.com>
5920
5921 PR remote/22597
5922 * gdb.server/stop-reply-no-thread.c: New file.
5923 * gdb.server/stop-reply-no-thread.exp: New file.
5924
5925 2018-01-10 Pedro Alves <palves@redhat.com>
5926
5927 PR gdb/22670
5928 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5929 functions too. Test setting breakpoints and printing C functions
5930 with no debug info too.
5931 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5932
5933 2018-01-10 Pedro Alves <palves@redhat.com>
5934
5935 PR gdb/22670
5936 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5937 a fail.
5938
5939 2018-01-10 Pedro Alves <palves@redhat.com>
5940
5941 PR gdb/22670
5942 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5943
5944 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5945
5946 * gdb.server/unittest.exp: Match the output in non-development
5947 mode.
5948
5949 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5950
5951 * gdb.gdb/unittest.exp: Match output in non-development mode.
5952
5953 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5954
5955 * gdb.ada/access_tagged_param.exp: Relax expected output
5956 for value of "ObjL" in "continue" to pck.inspect breakpoint
5957 test.
5958
5959 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5960
5961 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5962 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5963
5964 2018-01-05 Pedro Alves <palves@redhat.com>
5965
5966 PR gdb/18653
5967 * gdb.base/libsegfault.exp: New.
5968
5969 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5970
5971 PR gdb/22670
5972 * gdb.ada/access_tagged_param.exp: New file.
5973 * gdb.ada/access_tagged_param/foo.adb: New file.
5974
5975 2018-01-05 Pedro Alves <palves@redhat.com>
5976
5977 PR gdb/22670
5978 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5979 exercise lower case too, and to exercise both full matching and
5980 wild matching.
5981
5982 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5983
5984 * gdb.ada/rename_subscript_param: New testcase.
5985
5986 2018-01-05 Jerome Guitton <guitton@adacore.com>
5987
5988 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5989
5990 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5991
5992 * gdb.ada/convvar_comp: New testcase.
5993
5994 2018-01-05 Xavier Roirand <roirand@adacore.com>
5995
5996 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5997 (My_Table): New global variable.
5998 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5999
6000 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6001
6002 PR gdb/22670
6003 * gdb.ada/maint_with_ada: New testcase.
6004
6005 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6006
6007 PR gdb/22670
6008 * gdb.ada/bp_c_mixed_case: New testcase.
6009
6010 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6011
6012 PR gdb/22670
6013 * gdb.ada/complete.exp: Add "complete break ada" test.
6014
6015 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6016
6017 PR gdb/22670
6018 * gdb.ada/info_addr_mixed_case: New testcase.
6019
6020 2018-01-03 Xavier Roirand <roirand@adacore.com>
6021
6022 * gdb.ada/excep_handle.exp: New testcase.
6023 * gdb.ada/excep_handle/foo.adb: New file.
6024 * gdb.ada/excep_handle/pck.ads: New file.
6025
6026 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.base/step-line.c: Add extra empty line in copyright header.
6029 * gdb.base/step-line.inp: Likewise.
6030
6031 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6032
6033 * gdb.ada/dyn_stride.exp: Add slice test.
6034
6035 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6036
6037 * gdb.ada/dyn_stride: New testcase.
6038
6039 2017-12-27 Stafford Horne <shorne@gmail.com>
6040
6041 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6042 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6043
6044 2017-12-27 Stafford Horne <shorne@gmail.com>
6045
6046 * gdb.base/reggroups.c: New file.
6047 * gdb.base/reggroups.exp: New file.
6048
6049 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6050
6051 * gdb.dwarf2/ada-valprint-error.c: New file.
6052 * gdb.dwarf2/ada-valprint-error.exp: New file.
6053
6054 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6055
6056 * gdb.ada/assign_arr: New testcase.
6057
6058 2017-12-18 Xavier Roirand <roirand@adacore.com>
6059
6060 * gdb.ada/funcall_ptr: New testcase.
6061
6062 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6063
6064 PR cli/16224
6065 * gdb.base/ptype-offsets.cc: New file.
6066 * gdb.base/ptype-offsets.exp: New file.
6067
6068 2017-12-15 Yao Qi <yao.qi@linaro.org>
6069
6070 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6071 if XML is disabled.
6072
6073 2017-12-15 Xavier Roirand <roirand@adacore.com>
6074
6075 * gdb.ada/same_component_name: New testcase.
6076
6077 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6078
6079 * gdb.ada/str_binop_equal: New testcase.
6080
6081 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6082
6083 * gdb.ada/task_switch_in_core: New testcase.
6084
6085 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6086
6087 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6088 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6089 call test_bkpt_qualified.
6090 (test_bkpt_qualified): New proc.
6091
6092 2017-12-13 Pedro Alves <palves@redhat.com>
6093
6094 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6095 Tighten regexp by matching with an anchor.
6096
6097 2017-12-13 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6100 ("expression with namespace"): New set of tests.
6101 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6102 (Nested::Test_NS::qux): New.
6103 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6104 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6105
6106 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6107
6108 * gdb.base/server-del-break.c: New file.
6109 * gdb.base/server-del-break.exp: New file.
6110
6111 2017-12-12 Stafford Horne <shorne@gmail.com>
6112
6113 * gdb.xml/tdesc-regs.exp: Add or1k support.
6114
6115 2017-12-12 Stafford Horne <shorne@gmail.com>
6116
6117 * gdb.base/bp-permanent.c: Define nop of or1k.
6118
6119 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6120
6121 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6122 output with components being reordered.
6123
6124 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6125
6126 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6127 output with components being reordered.
6128
6129 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6130 Pedro Alves <palves@redhat.com>
6131
6132 * gdb.base/maint.exp (check for .gdb_index): Check also for
6133 .debug_names.
6134 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6135 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6136 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6137 (.gdb_index used after symbol reloading): Support also .debug_names.
6138 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6139
6140 2017-12-08 Yao Qi <yao.qi@linaro.org>
6141
6142 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6143 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6144
6145 2017-12-08 Yao Qi <yao.qi@linaro.org>
6146
6147 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6148 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6149
6150 2017-12-08 Yao Qi <yao.qi@linaro.org>
6151
6152 * gdb.arch/aarch64-tagged-pointer.c: New file.
6153 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6154
6155 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6156
6157 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6158 "int".
6159
6160 2017-12-07 Keith Seitz <keiths@redhat.com>
6161
6162 PR breakpoints/22569
6163 * gdb.linespec/ls-errs.exp: Change expected result of "break
6164 -source this file has spaces.c -line 3".
6165 Check that an explicit source file followed by whitespace is
6166 identified as an invalid explicit location.
6167
6168 2017-12-07 Keith Seitz <keiths@redhat.com>
6169
6170 * gdb.cp/nested-types.cc: New file.
6171 * gdb.cp/nested-types.exp: New file.
6172 * lib/cp-support.exp: Load data-structures.exp library.
6173 (debug_cp_test_ptype_class): New global.
6174 (cp_ptype_class_verbose, next_line): New procedures.
6175 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6176 Add and document new return value.
6177 Switch the list of lines to a queue.
6178 Add support for new `type' key for nested type definitions.
6179 Add debugging/troubleshooting messages.
6180 * lib/data-structures.exp: New file.
6181
6182 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6183
6184 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6185 with proc_with_prefix, don't use with_test_prefix.
6186
6187 2017-12-07 Tom Tromey <tom@tromey.com>
6188
6189 * gdb.base/break.exp: Add test for empty "commands".
6190
6191 2017-12-07 Yao Qi <yao.qi@linaro.org>
6192
6193 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6194 malloc and catch syscall.
6195
6196 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6197
6198 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6199 tests for explicit locations.
6200
6201 2017-12-06 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6204 force-disabling XML descriptions.
6205
6206 2017-12-04 Pedro Alves <palves@redhat.com>
6207
6208 PR gdb/22499
6209 * gdb.arch/amd64-disp-step-avx.S: New file.
6210 * gdb.arch/amd64-disp-step-avx.exp: New file.
6211
6212 2017-12-03 Pedro Alves <palves@redhat.com>
6213
6214 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6215 and <string.h>.
6216 (parent_function): Print distinct messages when waitpid fails, or
6217 the child exits with a signal, or the child exits for an unhandled
6218 reason.
6219 * gdb.threads/process-dies-while-detaching.exp
6220 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6221 it. Wait for both inferior output and GDB's prompt. Use an
6222 indirect spawn id list.
6223 (do_detach): New parameter 'child_exit'. Use it to compute
6224 expected inferior output.
6225 (test_detach, test_detach_watch, test_detach_killed_outside):
6226 Adjust to pass down the expected child exit kind.
6227
6228 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6229 Sergio Durigan Junior <sergiodj@redhat.com>
6230 Pedro Alves <palves@redhat.com>
6231
6232 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6233
6234 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6235
6236 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6237 to 'symbol-file' and 'add-symbol-file' can be
6238 position-independent.
6239
6240 2017-12-01 Yao Qi <yao.qi@linaro.org>
6241
6242 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6243 the URL in copyright header.
6244 * gdb.arch/aarch64-fp.exp: Likewise.
6245 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6246 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6247 * gdb.base/expand-psymtabs.exp: Likewise.
6248 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6249 * gdb.fortran/common-block.exp: Likewise.
6250 * gdb.fortran/common-block.f90: Likewise.
6251 * gdb.fortran/logical.exp: Likewise.
6252 * gdb.fortran/vla-datatypes.f90: Likewise.
6253 * gdb.fortran/vla-sub.f90: Likewise.
6254
6255 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6256
6257 * gdb.ada/repeat_dyn: New testcase.
6258
6259 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6260
6261 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6262 Update for changed thread numbering.
6263 * gdb.cell/bt.exp: Update for changed GDB output.
6264
6265 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6266
6267 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6268 setting isremote by hand.
6269 * boards/dwarf4-gdb-index.exp: Likewise.
6270 * boards/fission.exp: Likewise.
6271 * boards/stabs.exp: Likewise.
6272
6273 2017-11-30 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.linespec/cpls-ops.exp
6276 (check_explicit_skips_function_argument): Extract the underlying
6277 type of size_t instead of hardcoding it.
6278
6279 2017-11-29 Pedro Alves <palves@redhat.com>
6280
6281 PR c++/19436
6282 * gdb.linespec/cpls-abi-tag.cc: New file.
6283 * gdb.linespec/cpls-abi-tag.exp: New file.
6284
6285 2017-11-29 Pedro Alves <palves@redhat.com>
6286
6287 * gdb.base/langs.exp: Use -qualified.
6288 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6289 it.
6290 * gdb.cp/namespace.exp: Use -qualified.
6291 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6292 (overload-3, template-overload, template-ret-type, const-overload)
6293 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6294 procedures.
6295 (test_driver): Call them.
6296 * gdb.cp/save-bp-qualified.cc: New.
6297 * gdb.cp/save-bp-qualified.exp: New.
6298 * gdb.linespec/explicit.exp: Test -qualified.
6299 * lib/completion-support.exp (completion::explicit_opts_list): Add
6300 "-qualified".
6301 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6302
6303 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6304
6305 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6306
6307 2017-11-29 Tom Tromey <tom@tromey.com>
6308
6309 * gdb.base/relocate.exp: Update invalid argument test.
6310 Add new tests for invalid arguments.
6311
6312 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6313
6314 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6315 Return 0 as a long.
6316 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6317
6318 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6319
6320 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6321 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6322 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6323 func ().
6324 * gdb.cp/shadow.cc (B.func): Return 0.
6325
6326 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6327
6328 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6329 expected output in gdb_expect call to allow the exception
6330 message to be present as well. Fix syntax confusion to avoid
6331 TCL thinking that exception_name is an array.
6332
6333 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6334
6335 * gdb.arch/spu-info.c: Include <unistd.h>.
6336 (do_signal_test): Fix broken calls to write.
6337 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6338 Fix checks for empty mailboxes. Update signal tests for corrected
6339 do_signal_test routine. Allow nonzero event status.
6340 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6341 * gdb.cell/arch.exp: Use standard_output_file.
6342 * gdb.cell/break.exp: Likewise.
6343 * gdb.cell/bt.exp: Likewise.
6344 * gdb.cell/core.exp: Likewise.
6345 * gdb.cell/dwarfaddr.exp: Likewise.
6346 * gdb.cell/ea-cache.exp: Likewise.
6347 * gdb.cell/ea-standalone.exp: Likewise.
6348 * gdb.cell/f-regs.exp: Likewise.
6349 * gdb.cell/fork.exp: Likewise.
6350 * gdb.cell/gcore.exp: Likewise.
6351 * gdb.cell/mem-access.exp: Likewise.
6352 * gdb.cell/ptype.exp: Likewise.
6353 * gdb.cell/registers.exp: Likewise.
6354 * gdb.cell/sizeof.exp: Likewise.
6355 * gdb.cell/solib-symbol.exp: Likewise.
6356 * gdb.cell/solib.exp: Likewise.
6357
6358 2017-11-25 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.base/complete-empty.exp: New file.
6361 * gdb.base/completion.exp: Adjust.
6362
6363 2017-11-25 Pedro Alves <palves@redhat.com>
6364
6365 * gdb.linespec/cpls-ops.cc: New file.
6366 * gdb.linespec/cpls-ops.exp: New file.
6367 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6368 factored out from ...
6369 (test_complete_prefix_range): ... this.
6370
6371 2017-11-24 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.linespec/cpcompletion.exp: New file.
6374 * gdb.linespec/cpls-hyphen.cc: New file.
6375 * gdb.linespec/cpls.cc: New file.
6376 * gdb.linespec/cpls2.cc: New file.
6377 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6378 test to use test_gdb_complete_unique. Add label completion,
6379 keyword completion and explicit location completion tests.
6380 * lib/completion-support.exp: New file.
6381
6382 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6383
6384 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6385 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6386 when hitting an exception catchpoint.
6387
6388 2017-11-22 Yao Qi <yao.qi@linaro.org>
6389
6390 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6391
6392 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6393
6394 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6395 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6396 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6397
6398 2017-11-22 Yao Qi <yao.qi@linaro.org>
6399
6400 * gdb.base/info-os.exp: Pass pthreads.
6401 * gdb.multi/multi-attach.exp: Likewise.
6402
6403 2017-11-22 Yao Qi <yao.qi@linaro.org>
6404
6405 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6406 compiler.
6407
6408 2017-11-22 Yao Qi <yao.qi@linaro.org>
6409
6410 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6411 * gdb.base/break-interp.exp: Likewise.
6412 * gdb.base/jit-attach-pie.exp: Likewise.
6413
6414 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6415
6416 * gdb.base/float128.c (large128): New variable.
6417 * gdb.base/float128.exp: Add test to print largest __float128 value.
6418
6419 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6420
6421 * gdb.arch/vsx-regs.exp: Update register content checks.
6422
6423 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6424
6425 * gdb.arch/ppc-longdouble.exp: New file.
6426 * gdb.arch/ppc-longdouble.c: Likewise.
6427
6428 2017-11-21 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6431
6432 2017-11-20 Pedro Alves <palves@redhat.com>
6433
6434 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6435 (long_double_typedef): New typedefs.
6436 Use DEF on double and long double.
6437 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6438 cases.
6439 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6440 and 'long_double_ptr_same_size' locals. Use them to decide
6441 whether cast from array/function to float is valid/invalid.
6442
6443 2017-11-17 Tom Tromey <tom@tromey.com>
6444
6445 * gdb.rust/traits.rs: New file.
6446 * gdb.rust/traits.exp: New file.
6447
6448 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.ada/minsyms: New testcase.
6451
6452 2017-11-16 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6455 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6456
6457 2017-11-16 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6460 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6461
6462 2017-11-16 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.server/reconnect-ctrl-c.c: New file.
6465 * gdb.server/reconnect-ctrl-c.exp: New file.
6466
6467 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6468
6469 * gdb.python/py-rbreak.exp: New file.
6470 * gdb.python/py-rbreak.c: New file.
6471 * gdb.python/py-rbreak-func2.c: New file.
6472
6473 2017-11-16 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6476 pattern.
6477 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6478 GDB.
6479
6480 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6481
6482 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6483 regex.
6484
6485 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6486
6487 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6488 test names.
6489
6490 2017-11-09 Pedro Alves <palves@redhat.com>
6491
6492 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6493 factored out from ...
6494 (top level): ... here, and adjusted to avoid expecting beyond the
6495 prompt in a single gdb_test_multiple.
6496
6497 2017-11-09 Pedro Alves <palves@redhat.com>
6498
6499 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6500 output.
6501 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6502 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6503 * gdb.server/ext-run.exp ("kill" test): Likewise.
6504 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6505
6506 2017-11-09 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6509 match till end of line.
6510
6511 2017-11-09 Pedro Alves <palves@redhat.com>
6512
6513 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6514
6515 2017-11-09 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6518 New procedures, factored out from ...
6519 (top level): ... here, and adjusted to avoid expecting beyond the
6520 prompt in one go.
6521
6522 2017-11-09 Pedro Alves <palves@redhat.com>
6523
6524 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6525 output. Fix '?' match.
6526
6527 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6528
6529 * gdb.ada/scoped_watch: New testcase.
6530 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6531 which is actually correct.
6532 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6533 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6534
6535 2017-11-08 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.gdb/complaints.exp (test_initial_complaints)
6538 (test_serial_complaints, test_short_complaints): Call
6539 complaint_internal instead of complaint.
6540
6541 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6542
6543 * gdb.threads/tls-core.c: New file.
6544 * gdb.threads/tls-core.exp: Likewise.
6545
6546 2017-11-08 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6549 (p Exported_Capitalized): New test.
6550 (p exported_capitalized): New test.
6551
6552 2017-11-07 Pedro Alves <palves@redhat.com>
6553
6554 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6555
6556 2017-11-07 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6559 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6560 (disable_invalid, disable_inverted, disable_negative): New
6561 procedures.
6562 ("bad numbers"): New set of tests.
6563
6564 2017-11-07 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.cp/ena-dis-br-range.exp: Add tests.
6567
6568 2017-11-07 Pedro Alves <palves@redhat.com>
6569
6570 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6571
6572 2017-11-07 Xavier Roirand <roirand@adacore.com>
6573 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.base/ena-dis-br.exp: Add reference to
6576 gdb.cp/ena-dis-br-range.exp.
6577 * gdb.cp/ena-dis-br-range.exp: New file.
6578 * gdb.cp/ena-dis-br-range.cc: New file.
6579
6580 2017-11-06 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.base/attach-non-pgrp-leader.c: New.
6583 * gdb.base/attach-non-pgrp-leader.exp: New.
6584
6585 2017-11-06 Pedro Alves <palves@redhat.com>
6586
6587 * configure.ac: No longer check for termio.h and sgtty.h.
6588 * configure: Regenerate.
6589 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6590 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6591 Remove termio and sgtty code.
6592
6593 2017-11-03 Yao Qi <yao.qi@linaro.org>
6594
6595 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6596 in GDB is disabled.
6597
6598 2017-11-03 Yao Qi <yao.qi@linaro.org>
6599
6600 * gdb.python/py-thrhandle.exp: Skip it if python is not
6601 enabled.
6602
6603 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6604
6605 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6606 as a breakpoint command.
6607
6608 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6609
6610 PR python/21213
6611 * gdb.python/py-infthread.exp: Test calling
6612 InferiorThread.inferior () multiple times in a row.
6613
6614 2017-10-27 Keith Seitz <keiths@redhat.com>
6615
6616 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6617 Test "info break" for every inlined function breakpoint.
6618
6619 2017-10-27 Yao Qi <yao.qi@linaro.org>
6620
6621 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6622
6623 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6624
6625 * gdb.cp/classes.exp (test_static_members): Test printing
6626 Outer::instance.
6627 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6628 (Inner::instance, Outer::instance): New.
6629
6630 2017-10-24 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6633 extra console" test in two stages.
6634
6635 2017-10-24 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6638
6639 2017-10-24 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6642 loop.
6643
6644 2017-10-24 Pedro Alves <palves@redhat.com>
6645
6646 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6647 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6648
6649 2017-10-24 Pedro Alves <palves@redhat.com>
6650
6651 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6652 parameter and handle it. Don't output read value in test name.
6653
6654 2017-10-24 Pedro Alves <palves@redhat.com>
6655
6656 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6657 custom test name.
6658
6659 2017-10-24 Pedro Alves <palves@redhat.com>
6660
6661 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6662 include the unstable output directory name in the test's name.
6663 (initial_setup_simple) <'set args'>: Use custom test name.
6664
6665 2017-10-24 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6668 with explicit test name.
6669
6670 2017-10-20 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6673 'wait -i'. Use gdb_assert and remote_close.
6674
6675 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6676
6677 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6678 number from variable rather than hard-coded.
6679
6680 2017-10-19 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.base/long-inferior-output.c: New file.
6683 * gdb.base/long-inferior-output.exp: New file.
6684
6685 2017-11-18 Keith Seitz <keiths@redhat.com>
6686
6687 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6688 method.
6689 (main): Call it.
6690 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6691 Add additional user-defined conversion operator tests.
6692
6693 2017-10-17 Pedro Alves <palves@redhat.com>
6694
6695 * boards/native-stdio-gdbserver.exp: Load "local-board".
6696
6697 2017-10-17 Pedro Alves <palves@redhat.com>
6698
6699 * gdb.base/quit-live.c: New file.
6700 * gdb.base/quit-live.exp: New file.
6701
6702 2017-10-16 Keith Seitz <keiths@redhat.com>
6703
6704 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6705 (class_with_protected_typedef, class_with_private_typedef)
6706 (struct_with_public_typedef, struct_with_protected_typedef)
6707 (struct_with_private_typedef): New classes/structs.
6708 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6709 typedefs and access specifiers.
6710
6711 2017-10-16 Pedro Alves <palves@redhat.com>
6712 Simon Marchi <simon.marchi@polymtl.ca>
6713
6714 * README (Local vs Remote vs Native): New section.
6715 * boards/local-board.exp: New file, with bits factored out from
6716 ...
6717 * boards/native-extended-gdbserver.exp: ... here. Load
6718 "local-board".
6719 * boards/native-gdbserver.exp: Load "local-board".
6720 (${board}_spawn, ${board}_exec): Delete.
6721 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6722 ...
6723 * boards/stdio-gdbserver-base.exp: ... this new file.
6724 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6725 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6726 procedure.
6727 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6728 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6729 stdio_gdbserver_command.
6730 (${board}_get_remote_address, ${board}_get_comm_port)
6731 (${board}_download, ${board}_upload): Delete.
6732 (get_target_remote_pipe_cmd): New.
6733
6734 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6735
6736 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6737 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6738 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6739 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6740 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6741 remove with_test_prefix.
6742
6743 2017-10-13 Pedro Alves <palves@redhat.com>
6744
6745 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6746 * gdb.base/annota1.exp: Use it instead of is_remote.
6747 * gdb.base/annota3.exp: Use it instead of is_remote.
6748 * gdb.cp/annota2.exp: Use it instead of is_remote.
6749 * gdb.cp/annota3.exp: Use it instead of is_remote.
6750 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6751
6752 2017-10-13 Pedro Alves <palves@redhat.com>
6753
6754 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6755 (test_num_test_vars, run_and_count_vars, find_env)
6756 (test_set_unset_env, test_inherit_env_var): New procedures.
6757 (top level): Use them.
6758
6759 2017-10-13 Pedro Alves <palves@redhat.com>
6760
6761 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6762 also skip on stub-like targets.
6763
6764 2017-10-13 Pedro Alves <palves@redhat.com>
6765
6766 PR gdb/22293
6767 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6768 (top level): Move some tests to ...
6769 (test_not_found): ... this new procedure.
6770 (top level): Call it.
6771
6772 2017-10-13 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6775 expect different "info terminal" output if testing with a
6776 non-native target.
6777
6778 2017-10-13 Pedro Alves <palves@redhat.com>
6779 Simon Marchi <simon.marchi@polymtl.ca>
6780
6781 PR python/12966
6782 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6783
6784 2017-10-13 Pedro Alves <palves@redhat.com>
6785
6786 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6787 already.
6788
6789 2017-10-13 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6792 is_remote.
6793
6794 2017-10-13 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6797 is_remote.
6798
6799 2017-10-13 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6802 is set.
6803 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6804 instead of is_remote.
6805
6806 2017-10-13 Pedro Alves <palves@redhat.com>
6807
6808 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6809 (top level): Add comment.
6810
6811 2017-10-13 Pedro Alves <palves@redhat.com>
6812
6813 * gdb.base/remote.exp (top level): Fix comment typo and add
6814 missing return.
6815
6816 2017-10-13 Pedro Alves <palves@redhat.com>
6817 Simon Marchi <simon.marchi@polymtl.ca>
6818
6819 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6820 calls and add comments. Skip test if use_gdb_stub is set.
6821 (top level): Use "set cwd" command instead of "cd" command.
6822
6823 2017-10-13 Pedro Alves <palves@redhat.com>
6824
6825 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6826 is_remote target check.
6827
6828 2017-10-13 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.base/scope.exp: Use build_executable + clean_restart +
6831 gdb_file_cmd instead of prepare_for_testing and no longer skip
6832 "before run" tests on is_remote target boards. Update comments.
6833 * boards/native-extended-gdbserver.exp
6834 (extended_gdbserver_load_last_file): New, factored out from ...
6835 (gdb_load): ... this. Move further below and add comment.
6836 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6837
6838 2017-10-12 Pedro Alves <palves@redhat.com>
6839
6840 * gdb.base/attach.exp: Remove references to gdb64.
6841 * gdb.base/dbx.exp: Remove references to gdb64.
6842
6843 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6844 Pedro Alves <palves@redhat.com>
6845
6846 * gdb.base/label.exp: Remove is_remote target check.
6847
6848 2017-10-12 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/auvx.exp (coredir): Update comment.
6851 (top level) <core_works>: Use "set cwd" command instead of "cd"
6852 command.
6853
6854 2017-10-12 Pedro Alves <palves@redhat.com>
6855 Simon Marchi <simon.marchi@polymtl.ca>
6856
6857 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6858 target boards.
6859
6860 2017-10-12 Pedro Alves <palves@redhat.com>
6861 Simon Marchi <simon.marchi@polymtl.ca>
6862
6863 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6864 Instead skip if there's any gdb_protocol set.
6865
6866 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6867 Pedro Alves <palves@redhat.com>
6868
6869 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6870
6871 2017-10-12 Pedro Alves <palves@redhat.com>
6872 Simon Marchi <simon.marchi@polymtl.ca>
6873
6874 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6875 instead of on dejagnu remote boards.
6876
6877 2017-10-12 Pedro Alves <palves@redhat.com>
6878 Simon Marchi <simon.marchi@polymtl.ca>
6879
6880 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6881 checks. Use build_executable + clean_restart instead of
6882 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6883 of enabling non-stop after starting gdb.
6884
6885 2017-10-12 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6888 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6889 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6890 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6891
6892 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6893
6894 * gdb.arch/arc-tdesc-cpu.exp: New file.
6895 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6896
6897 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6898
6899 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6900
6901 2017-10-10 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6904 expect CLI output.
6905
6906 2017-10-10 Pedro Alves <palves@redhat.com>
6907
6908 * lib/selftest-support.exp (selftest_setup): Update for
6909 captured_command_loop's prototype change.
6910
6911 2017-10-09 Pedro Alves <palves@redhat.com>
6912
6913 Test both arch1=>arch2 and arch2=>arch1.
6914
6915 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6916 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6917 factored out to...
6918 (append_arch1_options, append_arch2_options, append_arch_options)
6919 (build_executables): New procedures.
6920 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6921 local.
6922 (top level): Add new 'first_arch' testing axis.
6923
6924 2017-10-09 Pedro Alves <palves@redhat.com>
6925
6926 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6927 (barrier): New.
6928 (thread_start, all_started): New functions.
6929 (main): Spawn new thread and wait until it is scheduled.
6930 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6931 option.
6932 (do_test): Add 'selected_thread' parameter. Run to all_started
6933 instead of main. Explicitly set the breakpoint at main. Switch
6934 to the SELECTED_THREAD thread.
6935 (top level): Test handling the exec event with either the main
6936 thread or the second thread selected.
6937
6938 2017-10-09 Pedro Alves <palves@redhat.com>
6939
6940 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6941 logic. Move STOP marker after the value checks.
6942 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6943 regexp.
6944
6945 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6946
6947 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6948
6949 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6950
6951 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6952 integer-to-dfp conversion.
6953 * gdb.base/dfp-test.exp: Likewise.
6954
6955 2017-10-04 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.multi/hangout.c: Include <unistd.h>.
6958 (hangout_loop): New function.
6959 (main): Call alarm. Call hangout_loop in a loop.
6960 * gdb.multi/hello.c: Include <unistd.h>.
6961 (hello_loop): New function.
6962 (main): Call alarm. Call hangout_loop in a loop.
6963 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6964 inferior with the other selected.
6965
6966 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6967
6968 * gdb.mi/list-thread-groups-available.exp: New file.
6969 * gdb.mi/list-thread-groups-available.c: New file.
6970
6971 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6972
6973 * gdb.base/set-cwd.exp: Make it available on
6974 native-extended-gdbserver.
6975
6976 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6977
6978 * gdb.base/set-cwd.c: New file.
6979 * gdb.base/set-cwd.exp: Likewise.
6980
6981 2017-10-02 Tom Tromey <tom@tromey.com>
6982
6983 PR rust/22236:
6984 * gdb.rust/simple.rs (main): New variable "fslice".
6985 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6986
6987 2017-10-02 Tom Tromey <tom@tromey.com>
6988
6989 * gdb.rust/simple.exp: Test ptype of a slice.
6990
6991 2017-10-02 Tom Tromey <tom@tromey.com>
6992
6993 * gdb.rust/simple.exp: Test index of slice.
6994
6995 2017-09-27 Tom Tromey <tom@tromey.com>
6996
6997 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6998
6999 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7000 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/compare-sections.exp (get value of read-only section): Read
7003 as unsigned value.
7004 (corrupt read-only section): Likewise and don't set written if patching
7005 failed.
7006
7007 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7008
7009 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7010 files.
7011
7012 2017-09-20 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7015 symbol names in gdb's output.
7016 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7017
7018 2017-09-20 Pedro Alves <palves@redhat.com>
7019
7020 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7021 Rename to ...
7022 (test_list_ambiguous_symbol): ... this and add a symbol name
7023 parameter. Adjust.
7024 (test_list_ambiguous_function): Reimplement on top of
7025 test_list_ambiguous_symbol and also test listing ambiguous
7026 variables.
7027 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7028 (ambiguous_fun): ... this.
7029 (ambiguous_var): New.
7030 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7031 (ambiguous_fun): ... this.
7032 (ambiguous_var): New.
7033
7034 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7035
7036 * gdb.base/starti.c: New file.
7037 * gdb.base/starti.exp: New file.
7038 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7039
7040 2017-09-14 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7043 (top level): Use it instead of runto.
7044
7045 2017-09-11 Tom Tromey <tom@tromey.com>
7046
7047 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7048
7049 2017-09-11 Tom Tromey <tom@tromey.com>
7050
7051 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7052 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7053
7054 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7055
7056 * gdb.fortran/printing-types.exp: New file.
7057 * gdb.fortran/printing-types.exp: New file.
7058
7059 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7060
7061 * gdb.fortran/vla-ptype.exp: Fix typos.
7062 * gdb.fortran/vla-value.exp: Same.
7063
7064 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7065
7066 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7067 * gdb.mi/mi-var-child-f.exp: Likewise.
7068 * gdb.mi/mi-vla-fortran.exp: Likewise.
7069
7070 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7071 Christoph Weinmann <christoph.t.weinmann@intel.com>
7072 Bernhard Heckel <bernhard.heckel@intel.com>
7073
7074 * gdb.fortran/ptr-indentation.f90: New file.
7075 * gdb.fortran/ptr-indentation.exp: New file.
7076
7077 2017-09-05 Tom Tromey <tom@tromey.com>
7078
7079 PR gdb/22010:
7080 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7081
7082 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7083
7084 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7085
7086 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7087
7088 * gdb.threads/tls-nodebug-pie.c: New file.
7089 * gdb.threads/tls-nodebug-pie.exp: New file.
7090
7091 2017-09-05 Tom Tromey <tom@tromey.com>
7092
7093 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7094 for rust.
7095
7096 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7097
7098 * gdb.multi/multi-arch-exec.exp: Test with different
7099 "follow-exec-mode" settings.
7100 (do_test): New procedure.
7101
7102 2017-09-04 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/func-static.c (S::method const, S::method volatile)
7105 (S::method volatile const): New methods.
7106 (c_s, v_s, cv_s): New instances.
7107 (main): Call method() on them.
7108 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7109 (cannot_resolve): New procedure.
7110 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7111 print-quote-unquoted columns.
7112 (do_test): Test printing each scope too.
7113
7114 2017-09-04 Pedro Alves <palves@redhat.com>
7115
7116 * gdb.base/local-static.exp: Also test with
7117 class::method::variable wholly quoted.
7118 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7119
7120 2017-09-04 Pedro Alves <palves@redhat.com>
7121
7122 * gdb.base/local-static.c: New.
7123 * gdb.base/local-static.cc: New.
7124 * gdb.base/local-static.exp: New.
7125
7126 2017-09-04 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.asm/asm-source.exp: Add casts to int.
7129 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7130 (dataglobal64_1, dataglobal64_2): New globals.
7131 * gdb.base/nodebug.exp: Test different expressions involving the
7132 new globals, with print, whatis and ptype. Add casts to int.
7133 * gdb.base/solib-display.exp: Add casts to int.
7134 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7135 * gdb.cp/m-static.exp: Add cast to int.
7136 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7137 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7138 tls variable with no debug info without a cast. Test with a cast
7139 to int too.
7140 * gdb.trace/entry-values.exp: Add casts.
7141
7142 2017-09-04 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/nodebug.exp: Test that ptype's error about functions
7145 with unknown return type includes the function name too.
7146
7147 2017-09-04 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7150 return type of munmap in infcall.
7151 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7152 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7153 type of ftell in infcall.
7154 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7155 type of getpid in infcall.
7156 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7157 infcall.
7158 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7159 Bail on failure to extract the pid.
7160 * gdb.base/nodebug.c: #include <stdint.h>.
7161 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7162 New functions.
7163 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7164 Change expected output of print/whatis/ptype with functions with
7165 no debug info. Test all supported languages. Call
7166 test_call_promotion.
7167 * gdb.compile/compile.exp: Adjust expected output to expect
7168 warning.
7169 * gdb.threads/siginfo-threads.exp: Likewise.
7170
7171 2017-09-04 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7174 "prototypes". Test calling float functions via prototyped and
7175 unprototyped function pointers.
7176 (perform_all_tests): New parameter "prototypes". Pass it down.
7177 (top level): Pass down "prototypes" parameter to
7178 perform_all_tests.
7179
7180 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7181
7182 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7183 Test with nested loops.
7184
7185 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7186
7187 * gdb.base/commands.exp: Call the new procedures.
7188 (loop_break_test, loop_continue_test): New procedures.
7189
7190 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7191
7192 * gdb.base/commands.exp: Call new procedure.
7193 (define_if_without_arg_test): New procedure.
7194
7195 2017-09-04 Pedro Alves <palves@redhat.com>
7196
7197 * gdb.base/list-ambiguous.exp: New file.
7198 * gdb.base/list-ambiguous0.c: New file.
7199 * gdb.base/list-ambiguous1.c: New file.
7200 * gdb.base/list.exp (test_list_range): Adjust expected output.
7201
7202 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7203
7204 * gdb.base/share-env-with-gdbserver.c: New file.
7205 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7206
7207 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7208
7209 * gdb.base/commands.exp (gdbvar_simple_if_test,
7210 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7211 progvar_simple_if_test, progvar_simple_while_test,
7212 progvar_complex_if_while_test, user_defined_command_test,
7213 user_defined_command_args_eval,
7214 user_defined_command_args_stack_test,
7215 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7216 temporary_breakpoint_commands,
7217 gdb_test_no_prompt, redefine_hook_test,
7218 redefine_backtrace_test): Remove "global gdb_prompt".
7219
7220 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7221
7222 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7223 New proc, call it from toplevel.
7224
7225 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7226
7227 PR remote/21852
7228 * gdb.server/normal.c: New file, copied from gdb.base.
7229 * gdb.server/run-without-local-binary.exp: New file.
7230
7231 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7232
7233 * gdb.arch/sparc64-adi.exp: New file.
7234 * gdb.arch/sparc64-adi.c: New file.
7235
7236 2017-08-22 Pedro Alves <palves@redhat.com>
7237
7238 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7239 (top level): Add "list all overloads" tests.
7240
7241 2017-08-22 Tom Tromey <tom@tromey.com>
7242
7243 * gdb.gdb/xfullpath.exp: Remove.
7244
7245 2017-08-21 Pedro Alves <palves@redhat.com>
7246
7247 PR gdb/19487
7248 * gdb.base/symbol-alias.c: New.
7249 * gdb.base/symbol-alias2.c: New.
7250 * gdb.base/symbol-alias.exp: New.
7251
7252 2017-08-21 Pedro Alves <palves@redhat.com>
7253
7254 * gdb.base/dfp-test.c
7255 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7256 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7257 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7258 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7259 * gdb.base/whatis-ptype-typedefs.c: New.
7260 * gdb.base/whatis-ptype-typedefs.exp: New.
7261 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7262 (an_int, an_int_type, an_int_type2): New globals.
7263 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7264 involving typedefs and cast expressions.
7265 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7266 (lookup_typedefs_function): New.
7267 (typedefs_pretty_printers_dict): New.
7268 (top level): Register lookup_typedefs_function in
7269 gdb.pretty_printers.
7270
7271 2017-08-18 Yao Qi <yao.qi@linaro.org>
7272
7273 * gdb.server/unittest.exp: New.
7274
7275 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7276
7277 PR gdb/21954
7278 * gdb.base/environ.exp: Add test to check if 'unset environment'
7279 works.
7280
7281 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7282
7283 * lib/gdb.exp (universal_compile_options): New caching proc.
7284 (gdb_compile): Suppress GCC's coloring of messages.
7285
7286 2017-08-14 Tom Tromey <tom@tromey.com>
7287
7288 PR gdb/21675:
7289 * gdb.base/printcmds.exp (test_radices): New function.
7290 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7291 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7292 * lib/gdb.exp (get_integer_valueof): Use p/d.
7293
7294 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7295
7296 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7297 characters.
7298
7299 2017-08-05 Tom Tromey <tom@tromey.com>
7300
7301 * gdb.rust/simple.exp: Allow String to appear in a different
7302 namespace.
7303
7304 2017-07-26 Yao Qi <yao.qi@linaro.org>
7305
7306 * gdb.gdb/unittest.exp: Invoke command
7307 "maintenance check xml-descriptions".
7308
7309 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7310
7311 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7312 calling context.
7313 (hex128): Drop erroneous calculation of parameters.
7314
7315 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7316
7317 * gdb.python/py-unwind.exp: Disable stack protection when
7318 building test file.
7319
7320 2017-07-20 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.base/default.exp (set language): Adjust expected output.
7323
7324 2017-07-20 Pedro Alves <palves@redhat.com>
7325
7326 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7327 (test_minsym): ... this, and make static.
7328 (get_pck__foo__bar__minsym): Rename to ...
7329 (get_test_minsym): ... this.
7330 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7331 symbol names and comments.
7332 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7333 (get_test_minsym): ... this.
7334 (pck__foo__bar__minsym__2): Rename to ...
7335 (test_minsym): ... this.
7336 (main): Adjust.
7337
7338 2017-07-17 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.base/completion.exp: Adjust expected output.
7341 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7342 the completer works.
7343
7344 2017-07-17 Pedro Alves <palves@redhat.com>
7345
7346 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7347
7348 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7349
7350 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7351
7352 2017-07-14 Tom Tromey <tom@tromey.com>
7353
7354 PR rust/21764:
7355 * gdb.rust/simple.exp: Add tests.
7356
7357 2017-07-14 Tom Tromey <tom@tromey.com>
7358
7359 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7360
7361 2017-07-14 Pedro Alves <palves@redhat.com>
7362
7363 * gdb.linespec/base/one/thefile.cc (z1): New function.
7364 * gdb.linespec/base/two/thefile.cc (z2): New function.
7365 * gdb.linespec/linespec.exp: Add tests.
7366
7367 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7368
7369 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7370 to mi_create_breakpoint.
7371
7372 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7373
7374 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7375 mi_create_breakpoint.
7376
7377 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7378
7379 * gdb.dlang/demangle.exp: Update for demangling changes.
7380
7381 2017-07-09 Tom Tromey <tom@tromey.com>
7382
7383 * gdb.dwarf2/shortpiece.exp: New file.
7384
7385 2017-07-06 David Blaikie <dblaikie@gmail.com>
7386
7387 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7388 built from fissiont-multi-cu{1,2}.c.
7389 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7390 except putting 'main' and 'func' in separate CUs in the same DWO file.
7391 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7392 test.
7393 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7394 test.
7395
7396 2017-07-06 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.python/py-unwind.exp: Test flushregs.
7399
7400 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7401
7402 PR cli/21688
7403 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7404 tests for alias commands and trailing whitespace.
7405
7406 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7407
7408 PR cli/21688
7409 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7410 procedure. Call it.
7411
7412 2017-06-29 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.base/printcmds.exp: Add tests.
7415
7416 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7417
7418 PR gdb/21337
7419 * gdb.base/reread-readsym.exp: New file.
7420 * gdb.base/reread-readsym.c: New file.
7421
7422 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7423
7424 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7425 subpattern.
7426
7427 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7428
7429 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7430 extended mnemonic.
7431 * gdb.arch/powerpc-power9.s: Likewise.
7432
7433 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7434
7435 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7436 on 32-bit x86 targets. Exploit is_*_target macros where
7437 appropriate.
7438
7439 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7440
7441 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7442 register pieces.
7443
7444 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7445
7446 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7447 located in one or more DWARF pieces.
7448
7449 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7450
7451 * lib/gdb.exp (get_endianness): New proc.
7452 * gdb.arch/aarch64-fp.exp: Use it.
7453 * gdb.arch/altivec-regs.exp: Likewise.
7454 * gdb.arch/e500-regs.exp: Likewise.
7455 * gdb.arch/vsx-regs.exp: Likewise.
7456 * gdb.base/dump.exp: Likewise.
7457 * gdb.base/funcargs.exp: Likewise.
7458 * gdb.base/gnu_vector.exp: Likewise.
7459 * gdb.dwarf2/formdata16.exp: Likewise.
7460 * gdb.dwarf2/implptrpiece.exp: Likewise.
7461 * gdb.dwarf2/nonvar-access.exp: Likewise.
7462 * gdb.python/py-inferior.exp: Likewise.
7463 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7464
7465 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7466
7467 PR gdb/21226
7468 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7469 stack value pieces are taken from the LSB end.
7470
7471 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7472
7473 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7474 variable at nonzero offset.
7475
7476 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7477
7478 * gdb.dwarf2/var-access.c: New file.
7479 * gdb.dwarf2/var-access.exp: New test.
7480 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7481
7482 2017-06-12 Tom Tromey <tom@tromey.com>
7483
7484 * gdb.dwarf2/formdata16.exp: Add tests.
7485
7486 2017-06-12 Tom Tromey <tom@tromey.com>
7487
7488 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7489
7490 2017-06-12 Tom Tromey <tom@tromey.com>
7491
7492 PR exp/16225:
7493 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7494 * gdb.arch/vsx-regs.exp: Update tests.
7495 * gdb.arch/s390-vregs.exp (hex128): New proc.
7496 Update test.
7497 * gdb.arch/altivec-regs.exp: Update tests.
7498
7499 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7500
7501 * gdb.base/startup-with-shell.c: New file.
7502 * gdb.base/startup-with-shell.exp: Likewise.
7503
7504 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7505
7506 * gdb.server/non-existing-program.exp: Update regex in order to
7507 reflect the fact that gdbserver is now using fork_inferior (with a
7508 shell) to startup the inferior.
7509
7510 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7511
7512 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7513 support function calls from GDB.
7514
7515 2017-05-21 Tom Tromey <tom@tromey.com>
7516
7517 PR rust/21466:
7518 * gdb.rust/unsized.exp: New file.
7519 * gdb.rust/unsized.rs: New file.
7520
7521 2017-05-19 Tom Tromey <tom@tromey.com>
7522
7523 PR rust/21484:
7524 * gdb.rust/watch.exp: New file.
7525 * gdb.rust/watch.rs: New file.
7526
7527 2017-05-18 Tom Tromey <tom@tromey.com>
7528
7529 * gdb.rust/simple.exp: Allow Box to be qualified.
7530
7531 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7532
7533 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7534
7535 2017-05-18 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/fileio.c (test_write, test_read, test_close)
7538 (test_fstat): Don't print 'ret' in the fail path.
7539
7540 2017-05-18 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7543 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7544 (test_system, test_rename, test_unlink, test_time): Change
7545 prototypes.
7546 * gdb.base/fileio.exp (stop_msg): Adjust.
7547
7548 2017-05-18 Pedro Alves <palves@redhat.com>
7549
7550 * gdb.base/fileio.c (null_str): New global.
7551 (test_stat): Use it.
7552 * gdb.base/fileio.exp: Remove nowarnings.
7553
7554 2017-05-17 Yao Qi <yao.qi@linaro.org>
7555
7556 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7557
7558 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7559
7560 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7561 argument command.
7562 (top-level): Invoke test_set_inferior_tty.
7563
7564 2017-05-04 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7567 Add parens to print call for Python 3.
7568
7569 2017-05-03 Keith Seitz <keiths@redhat.com>
7570
7571 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7572 (main): Call it.
7573
7574 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7575
7576 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7577 to prev and next.
7578
7579 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7580
7581 * gdb.python/py-record-btrace.exp: Remove test for
7582 gdb.BtraceInstruction.error.
7583
7584 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7585
7586 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7587
7588 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7589
7590 * gdb.python/py-record-btrace-threads.c: New file.
7591 * gdb.python/py-record-btrace-threads.exp: New file.
7592
7593 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7594
7595 PR testsuite/8595
7596 * gdb.base/environ.exp: Make test available in all architectures.
7597 Move bits related to "info program" testing to
7598 gdb.base/info-program.exp. Rewrite tests to use the two new
7599 procedures mentione below.
7600 (test_set_show_env_var) New procedure.
7601 (test_set_show_env_var_equal): Likewise.
7602 * gdb.base/info-program.exp: New file.
7603
7604 2017-04-27 Keith Seitz <keiths@redhat.com>
7605
7606 * gdb.cp/oranking.cc (test15): New function.
7607 (main): Call test15 and declare additional variables for testing.
7608 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7609 "p foo101('abc')" tests.
7610 Add tests for cv qualifier overloads.
7611 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7612 "lvalue reference overload" test.
7613 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7614 "print value of f1 on Child&& in f2" test.
7615
7616 2017-04-19 Pedro Alves <palves@redhat.com>
7617
7618 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7619 procedure.
7620 (top level): Call it.
7621 * lib/gdb.exp (gdb_define_cmd): New procedure.
7622
7623 2017-04-12 Pedro Alves <palves@redhat.com>
7624
7625 PR gdb/21323
7626 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7627 (wchar): New global.
7628 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7629 (do_test_wide_char, wide_char_types_no_program, top level): Add
7630 wchar_t testing.
7631
7632 2017-04-12 Pedro Alves <palves@redhat.com>
7633
7634 PR c++/21323
7635 * gdb.cp/wide_char_types.c: New file.
7636 * gdb.cp/wide_char_types.exp: New file.
7637
7638 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7639
7640 PR gdb/21352
7641 * gdb.trace/tsv.exp: Add test for "tsave -r".
7642
7643 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7644
7645 * gdb.dlang/watch-loc.c: New file.
7646 * gdb.dlang/watch-loc.exp: New file.
7647
7648 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7649
7650 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7651
7652 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7653
7654 * gdb.arch/arc-analyze-prologue.S: New file.
7655 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7656
7657 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7658
7659 * gdb.arch/arc-decode-insn.S: New file.
7660 * gdb.arch/arc-decode-insn.exp: Likewise.
7661
7662 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7663
7664 PR tdep/20928
7665 * gdb.arch/sparc64-regs.exp: New file.
7666 * gdb.arch/sparc64-regs.S: Likewise.
7667
7668 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7669
7670 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7671 and memory view on Python 3.
7672
7673 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7674 Keith Seitz <keiths@redhat.com>
7675
7676 PR gdb/14441
7677 * gdb.cp/demangle.exp: Add rvalue reference tests.
7678 * gdb.cp/rvalue-ref-casts.cc: New file.
7679 * gdb.cp/rvalue-ref-casts.exp: New file.
7680 * gdb.cp/rvalue-ref-overload.cc: New file.
7681 * gdb.cp/rvalue-ref-overload.exp: New file.
7682 * gdb.cp/rvalue-ref-params.cc: New file.
7683 * gdb.cp/rvalue-ref-params.exp: New file.
7684 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7685 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7686 * gdb.cp/rvalue-ref-types.cc: New file.
7687 * gdb.cp/rvalue-ref-types.exp: New file.
7688 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7689 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7690
7691 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7692
7693 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7694 New procedure.
7695
7696 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7697
7698 * lib/mi-support.exp (mi_gdb_test): Add additional message
7699 for unexpected output.
7700
7701 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7702
7703 * gdb.base/examine-backward.c (Barrier): New character array
7704 constant, to ensure that TestStrings is preceded by a string
7705 terminator.
7706
7707 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7708
7709 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7710 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7711 and implicit pointer into such a location.
7712
7713 2017-03-16 Doug Evans <dje@google.com>
7714
7715 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7716
7717 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7718
7719 * gdb.cp/m-static.exp: Fix expectation for prototype of
7720 test5.single_constructor and single_constructor::single_constructor.
7721
7722 2017-03-16 Doug Evans <dje@google.com>
7723
7724 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7725 * gdb.guile/scm-lazy-string.c: New file.
7726 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7727 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7728 for pointer, array, typedef lazy strings.
7729
7730 2017-03-16 Doug Evans <dje@google.com>
7731
7732 PR python/17728, python/18439, python/18779
7733 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7734 * gdb.python/py-lazy-string.c (pointer): New typedef.
7735 (main): New locals ptr, array, typedef_ptr.
7736 * gdb.python/py-value.exp: Move lazy string tests to ...
7737 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7738 array, typedef lazy strings.
7739
7740 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7741
7742 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7743 Add optional 'test' parameter.
7744
7745 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7746
7747 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7748 Skip for versions of DejaGnu < 1.5.
7749
7750 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7751
7752 * lib/gdb.exp (dejagnu_version): New proc.
7753 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7754 Use dejagnu_version.
7755
7756 2017-03-10 Keith Seitz <keiths@redhat.com>
7757
7758 PR c++/8128
7759 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7760 type from destructor regexps.
7761 Add a branch which actually passes the test.
7762 Adjust "ptype t5i" test names.
7763
7764 2017-03-08 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/step-over-exit.exp: Add explicit test message.
7767
7768 2017-03-08 Pedro Alves <palves@redhat.com>
7769
7770 PR gdb/18360
7771 * gdb.threads/interrupt-while-step-over.c: New file.
7772 * gdb.threads/interrupt-while-step-over.exp: New file.
7773
7774 2017-03-08 Pedro Alves <palves@redhat.com>
7775
7776 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7777 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7778
7779 2017-03-08 Pedro Alves <palves@redhat.com>
7780
7781 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7782 PKRU as not supported as a PASS.
7783
7784 2017-03-08 Pedro Alves <palves@redhat.com>
7785
7786 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7787 prefix instead of $binfile1/$binfile2.
7788 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7789 in test message.
7790 * gdb.python/py-completion.exp: Use "load python file" as test
7791 messages instead of unstable path names.
7792
7793 2017-03-08 Pedro Alves <palves@redhat.com>
7794 Jan Kratochvil <jan.kratochvil@redhat.com>
7795
7796 PR cli/21218
7797 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7798 New proc.
7799 (top level): Call it.
7800
7801 2017-03-08 Pedro Alves <palves@redhat.com>
7802
7803 PR tui/21216
7804 * gdb.tui/tui-nl-filtered-output.exp: New file.
7805
7806 2017-03-08 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/completion.exp: Move TUI completion tests to ...
7809 * gdb.tui/completion.exp: ... this new file.
7810
7811 2017-03-08 Pedro Alves <palves@redhat.com>
7812
7813 * gdb.base/tui-disasm-long-lines.c,
7814 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7815 gdb.base/tui-layout.exp: Move to ...
7816 * gdb.tui/: ... this new directory.
7817
7818 2017-03-07 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.base/tui-layout.c: New file.
7821 * gdb.base/tui-layout.exp: New file.
7822
7823 2017-03-07 Pedro Alves <palves@redhat.com>
7824
7825 * gdb.base/tui-layout.c: Rename to ...
7826 * gdb.base/tui-disasm-long-lines.c: ... this.
7827 * gdb.base/tui-layout.exp: Rename to ...
7828 * gdb.base/tui-disasm-long-lines.exp: ... this.
7829
7830 2017-03-07 Pedro Alves <palves@redhat.com>
7831
7832 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7833
7834 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7835
7836 * i386-mpx-call.c: New file.
7837 * i386-mpx-call.exp: New file.
7838
7839 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7840
7841 * gdb.arch/powerpc-power.exp: Delete test.
7842 * gdb.arch/powerpc-power.s: Likewise.
7843 * gdb.disasm/disassembler-options.exp: New test.
7844 * gdb.arch/powerpc-altivec.exp: Likewise.
7845 * gdb.arch/powerpc-altivec.s: Likewise.
7846 * gdb.arch/powerpc-altivec2.exp: Likewise.
7847 * gdb.arch/powerpc-altivec2.s: Likewise.
7848 * gdb.arch/powerpc-altivec3.exp: Likewise.
7849 * gdb.arch/powerpc-altivec3.s: Likewise.
7850 * gdb.arch/powerpc-power7.exp: Likewise.
7851 * gdb.arch/powerpc-power7.s: Likewise.
7852 * gdb.arch/powerpc-power8.exp: Likewise.
7853 * gdb.arch/powerpc-power8.s: Likewise.
7854 * gdb.arch/powerpc-power9.exp: Likewise.
7855 * gdb.arch/powerpc-power9.s: Likewise.
7856 * gdb.arch/powerpc-vsx.exp: Likewise.
7857 * gdb.arch/powerpc-vsx.s: Likewise.
7858 * gdb.arch/powerpc-vsx2.exp: Likewise.
7859 * gdb.arch/powerpc-vsx2.s: Likewise.
7860 * gdb.arch/powerpc-vsx3.exp: Likewise.
7861 * gdb.arch/powerpc-vsx3.s: Likewise.
7862 * gdb.arch/arm-disassembler-options.exp: Likewise.
7863 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7864 * gdb.arch/s390-disassembler-options.exp: Likewise.
7865
7866 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7867
7868 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7869 (check_supported_features): ... this. Changed return type to void.
7870 (supports_rdseed): New static global.
7871 (rdseed): Check supports_rdseed.
7872 (initialize): Call check_supported_features.
7873
7874 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7875
7876 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7877 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7878 and lqarx/stqcx.
7879 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7880 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7881
7882 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7883
7884 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7885 uppercase.
7886
7887 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7888
7889 * gdb.dwarf2/formdata16.c: New file.
7890 * gdb.dwarf2/formdata16.exp: New file.
7891 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7892
7893 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7894
7895 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7896 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7897 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7898 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7899 DW_AT_GNU_*.
7900
7901 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7902
7903 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7904
7905 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7906
7907 PR gdb/21164
7908 * gdb.base/maint.exp: Add testcases for when the commands do
7909 not have arguments.
7910
7911 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7912
7913 * gdb.cp/chained-calls.exp: Use p instead of P.
7914
7915 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7916
7917 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7918 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7919
7920 2017-02-14 Tom Tromey <tom@tromey.com>
7921
7922 PR python/13598:
7923 * gdb.python/py-events.exp: Add before_prompt event tests.
7924
7925 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7926
7927 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7928
7929 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7930
7931 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7932 (main): Call my_unique_function_name.
7933 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7934 completion of patterns with a single match.
7935 Add missing -re switches to gdb_test_multiple calls.
7936
7937 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7938
7939 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7940 return if core file is not recognized.
7941
7942 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7943
7944 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7945 and extra UIs.
7946
7947 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7948
7949 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7950 proc_with_prefix.
7951
7952 2017-02-10 Tom Tromey <tom@tromey.com>
7953
7954 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7955
7956 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7957
7958 PR gdb/21122
7959 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7960
7961 2017-02-08 Jerome Guitton <guitton@adacore.com>
7962
7963 * gdb.base/define.exp: Add test for command abbreviations
7964 in define.
7965
7966 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7967
7968 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7969 * gdb.reverse/insn-reverse-x86.c: New file.
7970
7971 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7972
7973 PR tdep/20936
7974 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7975
7976 2017-02-03 Tom Tromey <tom@tromey.com>
7977
7978 PR rust/21097:
7979 * gdb.rust/simple.exp: Add new tests.
7980
7981 2017-02-02 Pedro Alves <palves@redhat.com>
7982
7983 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7984 tests.
7985
7986 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7987
7988 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7989 taking a 2-byte value out of a 4-byte DWARF implicit value on
7990 big-endian targets.
7991 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7992 logic. Add test cases for DW_OP_implicit.
7993
7994 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7995
7996 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7997
7998 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7999
8000 * gdb.btrace/enable.exp: Call gdb_exit before
8001 skip_gdbserver_tests.
8002
8003 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8004
8005 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8006 GDBFLAGS.
8007
8008 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8009
8010 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8011 the test is skipped.
8012 * gdb.btrace/data.exp: Likewise.
8013 * gdb.btrace/delta.exp: Likewise.
8014 * gdb.btrace/dlopen.exp: Likewise.
8015 * gdb.btrace/enable-running.exp: Likewise.
8016 * gdb.btrace/enable.exp: Likewise.
8017 * gdb.btrace/exception.exp: Likewise.
8018 * gdb.btrace/function_call_history.exp: Likewise.
8019 * gdb.btrace/gcore.exp: Likewise.
8020 * gdb.btrace/instruction_history.exp: Likewise.
8021 * gdb.btrace/multi-thread-step.exp: Likewise.
8022 * gdb.btrace/nohist.exp: Likewise.
8023 * gdb.btrace/non-stop.exp: Likewise.
8024 * gdb.btrace/reconnect.exp: Likewise.
8025 * gdb.btrace/record_goto-step.exp: Likewise.
8026 * gdb.btrace/record_goto.exp: Likewise.
8027 * gdb.btrace/rn-dl-bind.exp: Likewise.
8028 * gdb.btrace/segv.exp: Likewise.
8029 * gdb.btrace/step.exp: Likewise.
8030 * gdb.btrace/stepi.exp: Likewise.
8031 * gdb.btrace/tailcall-only.exp: Likewise.
8032 * gdb.btrace/tailcall.exp: Likewise.
8033 * gdb.btrace/tsx.exp: Likewise.
8034 * gdb.btrace/unknown_functions.exp: Likewise.
8035 * gdb.btrace/vdso.exp: Likewise.
8036
8037 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8038
8039 * gdb.btrace/enable-running.c: New.
8040 * gdb.btrace/enable-running.exp: New.
8041
8042 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8043
8044 * gdb.arch/amd64-gs_base.c: New file.
8045 * gdb.arch/amd64-gs_base.exp: New file.
8046
8047 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8048
8049 * lib/memory.exp: Remove spurious empty newlines.
8050
8051 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8052
8053 * gdb.python/py-bad-printers.exp: Load python file using "source".
8054 * gdb.python/py-events.exp: Likewise.
8055 * gdb.python/py-evsignal.exp: Likewise.
8056 * gdb.python/py-evthreads.exp: Likewise.
8057 * gdb.python/py-frame-args.exp: Likewise.
8058 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8059 * gdb.python/py-framefilter-mi.exp: Likewise.
8060 * gdb.python/py-framefilter.exp: Likewise.
8061 * gdb.python/py-mi.exp: Likewise.
8062 * gdb.python/py-pp-maint.exp: Likewise.
8063 * gdb.python/py-pp-registration.exp: Likewise.
8064 * gdb.python/py-prettyprint.exp: Likewise.
8065 (run_lang_tests): Likewise.
8066 * gdb.python/py-typeprint.exp: Likewise.
8067
8068 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8069
8070 * lib/memory.exp: New file.
8071 * lib/gdb.exp: Load memory.exp.
8072 * gdb.base/memattr.exp (delete_memory): Move proc to
8073 lib/memory.exp and rename to delete_memory_regions.
8074 Replace delete_memory with delete_memory_regions.
8075 Cleanup memory regions before tests.
8076 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8077 before tests.
8078
8079 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8080
8081 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8082 files.
8083 (initialize): New function conditionally defined.
8084 (testcases): Move within conditional block.
8085 (main): Call initialize.
8086 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8087 of gdb.reverse/insn-reverse.c.
8088 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8089 gdb.reverse/insn-reverse.c.
8090
8091 2017-01-26 Yao Qi <yao.qi@linaro.org>
8092
8093 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8094 disassemble on address 0.
8095
8096 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8097 Yao Qi <yao.qi@linaro.org>
8098
8099 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8100 * gdb.dwarf2/implptr-64bit.S: Remove.
8101 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8102 variables in caller's context. Add DW_OP_implicit_value.
8103
8104 2017-01-25 Yao Qi <yao.qi@linaro.org>
8105
8106 * lib/dwarf.exp (Dwarf::_location): Handle
8107 DW_OP_GNU_implicit_pointer with proper size.
8108
8109 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8110
8111 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8112 and add untested calls.
8113
8114 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8115
8116 * gdb.python/python.exp: Check line number against what GDB thinks
8117 the line number is for func1.
8118
8119 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8120
8121 * gdb.dlang/debug-expr.exp: New file.
8122
8123 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8124
8125 Fix test names for the following files:
8126
8127 * gdb.ada/exec_changed.exp
8128 * gdb.ada/info_types.exp
8129 * gdb.arch/aarch64-atomic-inst.exp
8130 * gdb.arch/aarch64-fp.exp
8131 * gdb.arch/altivec-abi.exp
8132 * gdb.arch/altivec-regs.exp
8133 * gdb.arch/amd64-byte.exp
8134 * gdb.arch/amd64-disp-step.exp
8135 * gdb.arch/amd64-dword.exp
8136 * gdb.arch/amd64-entry-value-inline.exp
8137 * gdb.arch/amd64-entry-value-param.exp
8138 * gdb.arch/amd64-entry-value-paramref.exp
8139 * gdb.arch/amd64-entry-value.exp
8140 * gdb.arch/amd64-i386-address.exp
8141 * gdb.arch/amd64-invalid-stack-middle.exp
8142 * gdb.arch/amd64-invalid-stack-top.exp
8143 * gdb.arch/amd64-optimout-repeat.exp
8144 * gdb.arch/amd64-prologue-skip.exp
8145 * gdb.arch/amd64-prologue-xmm.exp
8146 * gdb.arch/amd64-stap-special-operands.exp
8147 * gdb.arch/amd64-stap-wrong-subexp.exp
8148 * gdb.arch/amd64-tailcall-cxx.exp
8149 * gdb.arch/amd64-tailcall-noret.exp
8150 * gdb.arch/amd64-tailcall-ret.exp
8151 * gdb.arch/amd64-tailcall-self.exp
8152 * gdb.arch/amd64-word.exp
8153 * gdb.arch/arm-bl-branch-dest.exp
8154 * gdb.arch/arm-disp-step.exp
8155 * gdb.arch/arm-neon.exp
8156 * gdb.arch/arm-single-step-kernel-helper.exp
8157 * gdb.arch/avr-flash-qualifier.exp
8158 * gdb.arch/disp-step-insn-reloc.exp
8159 * gdb.arch/e500-abi.exp
8160 * gdb.arch/e500-regs.exp
8161 * gdb.arch/ftrace-insn-reloc.exp
8162 * gdb.arch/i386-avx512.exp
8163 * gdb.arch/i386-bp_permanent.exp
8164 * gdb.arch/i386-byte.exp
8165 * gdb.arch/i386-cfi-notcurrent.exp
8166 * gdb.arch/i386-disp-step.exp
8167 * gdb.arch/i386-dr3-watch.exp
8168 * gdb.arch/i386-float.exp
8169 * gdb.arch/i386-gnu-cfi.exp
8170 * gdb.arch/i386-mpx-map.exp
8171 * gdb.arch/i386-mpx-sigsegv.exp
8172 * gdb.arch/i386-mpx-simple_segv.exp
8173 * gdb.arch/i386-mpx.exp
8174 * gdb.arch/i386-permbkpt.exp
8175 * gdb.arch/i386-prologue.exp
8176 * gdb.arch/i386-signal.exp
8177 * gdb.arch/i386-size-overlap.exp
8178 * gdb.arch/i386-unwind.exp
8179 * gdb.arch/i386-word.exp
8180 * gdb.arch/mips-fcr.exp
8181 * gdb.arch/powerpc-d128-regs.exp
8182 * gdb.arch/powerpc-stackless.exp
8183 * gdb.arch/ppc64-atomic-inst.exp
8184 * gdb.arch/s390-stackless.exp
8185 * gdb.arch/s390-tdbregs.exp
8186 * gdb.arch/s390-vregs.exp
8187 * gdb.arch/sparc-sysstep.exp
8188 * gdb.arch/thumb-bx-pc.exp
8189 * gdb.arch/thumb-singlestep.exp
8190 * gdb.arch/thumb2-it.exp
8191 * gdb.arch/vsx-regs.exp
8192 * gdb.asm/asm-source.exp
8193 * gdb.base/a2-run.exp
8194 * gdb.base/advance.exp
8195 * gdb.base/all-bin.exp
8196 * gdb.base/anon.exp
8197 * gdb.base/args.exp
8198 * gdb.base/arithmet.exp
8199 * gdb.base/async-shell.exp
8200 * gdb.base/async.exp
8201 * gdb.base/attach-pie-noexec.exp
8202 * gdb.base/attach-twice.exp
8203 * gdb.base/auto-load.exp
8204 * gdb.base/bang.exp
8205 * gdb.base/bitfields.exp
8206 * gdb.base/break-always.exp
8207 * gdb.base/break-caller-line.exp
8208 * gdb.base/break-entry.exp
8209 * gdb.base/break-inline.exp
8210 * gdb.base/break-on-linker-gcd-function.exp
8211 * gdb.base/break-probes.exp
8212 * gdb.base/break.exp
8213 * gdb.base/breakpoint-shadow.exp
8214 * gdb.base/call-ar-st.exp
8215 * gdb.base/call-sc.exp
8216 * gdb.base/call-signal-resume.exp
8217 * gdb.base/call-strs.exp
8218 * gdb.base/callfuncs.exp
8219 * gdb.base/catch-fork-static.exp
8220 * gdb.base/catch-gdb-caused-signals.exp
8221 * gdb.base/catch-load.exp
8222 * gdb.base/catch-signal-fork.exp
8223 * gdb.base/catch-signal.exp
8224 * gdb.base/catch-syscall.exp
8225 * gdb.base/charset.exp
8226 * gdb.base/checkpoint.exp
8227 * gdb.base/chng-syms.exp
8228 * gdb.base/code-expr.exp
8229 * gdb.base/code_elim.exp
8230 * gdb.base/commands.exp
8231 * gdb.base/completion.exp
8232 * gdb.base/complex.exp
8233 * gdb.base/cond-expr.exp
8234 * gdb.base/condbreak.exp
8235 * gdb.base/consecutive.exp
8236 * gdb.base/continue-all-already-running.exp
8237 * gdb.base/coredump-filter.exp
8238 * gdb.base/corefile.exp
8239 * gdb.base/dbx.exp
8240 * gdb.base/debug-expr.exp
8241 * gdb.base/define.exp
8242 * gdb.base/del.exp
8243 * gdb.base/disabled-location.exp
8244 * gdb.base/disasm-end-cu.exp
8245 * gdb.base/disasm-optim.exp
8246 * gdb.base/display.exp
8247 * gdb.base/duplicate-bp.exp
8248 * gdb.base/ena-dis-br.exp
8249 * gdb.base/ending-run.exp
8250 * gdb.base/enumval.exp
8251 * gdb.base/environ.exp
8252 * gdb.base/eu-strip-infcall.exp
8253 * gdb.base/eval-avoid-side-effects.exp
8254 * gdb.base/eval-skip.exp
8255 * gdb.base/exitsignal.exp
8256 * gdb.base/expand-psymtabs.exp
8257 * gdb.base/filesym.exp
8258 * gdb.base/find-unmapped.exp
8259 * gdb.base/finish.exp
8260 * gdb.base/float.exp
8261 * gdb.base/foll-exec-mode.exp
8262 * gdb.base/foll-exec.exp
8263 * gdb.base/foll-fork.exp
8264 * gdb.base/fortran-sym-case.exp
8265 * gdb.base/freebpcmd.exp
8266 * gdb.base/func-ptr.exp
8267 * gdb.base/func-ptrs.exp
8268 * gdb.base/funcargs.exp
8269 * gdb.base/gcore-buffer-overflow.exp
8270 * gdb.base/gcore-relro-pie.exp
8271 * gdb.base/gcore-relro.exp
8272 * gdb.base/gcore.exp
8273 * gdb.base/gdb1090.exp
8274 * gdb.base/gdb11530.exp
8275 * gdb.base/gdb11531.exp
8276 * gdb.base/gdb1821.exp
8277 * gdb.base/gdbindex-stabs.exp
8278 * gdb.base/gdbvars.exp
8279 * gdb.base/hbreak.exp
8280 * gdb.base/hbreak2.exp
8281 * gdb.base/included.exp
8282 * gdb.base/infcall-input.exp
8283 * gdb.base/inferior-died.exp
8284 * gdb.base/infnan.exp
8285 * gdb.base/info-macros.exp
8286 * gdb.base/info-os.exp
8287 * gdb.base/info-proc.exp
8288 * gdb.base/info-shared.exp
8289 * gdb.base/info-target.exp
8290 * gdb.base/infoline.exp
8291 * gdb.base/interp.exp
8292 * gdb.base/interrupt.exp
8293 * gdb.base/jit-reader.exp
8294 * gdb.base/jit-simple.exp
8295 * gdb.base/kill-after-signal.exp
8296 * gdb.base/kill-detach-inferiors-cmd.exp
8297 * gdb.base/label.exp
8298 * gdb.base/langs.exp
8299 * gdb.base/ldbl_e308.exp
8300 * gdb.base/line-symtabs.exp
8301 * gdb.base/linespecs.exp
8302 * gdb.base/list.exp
8303 * gdb.base/long_long.exp
8304 * gdb.base/longest-types.exp
8305 * gdb.base/maint.exp
8306 * gdb.base/max-value-size.exp
8307 * gdb.base/memattr.exp
8308 * gdb.base/mips_pro.exp
8309 * gdb.base/morestack.exp
8310 * gdb.base/moribund-step.exp
8311 * gdb.base/multi-forks.exp
8312 * gdb.base/nested-addr.exp
8313 * gdb.base/nextoverexit.exp
8314 * gdb.base/noreturn-finish.exp
8315 * gdb.base/noreturn-return.exp
8316 * gdb.base/nostdlib.exp
8317 * gdb.base/offsets.exp
8318 * gdb.base/opaque.exp
8319 * gdb.base/pc-fp.exp
8320 * gdb.base/permissions.exp
8321 * gdb.base/print-symbol-loading.exp
8322 * gdb.base/prologue-include.exp
8323 * gdb.base/psymtab.exp
8324 * gdb.base/ptype.exp
8325 * gdb.base/random-signal.exp
8326 * gdb.base/randomize.exp
8327 * gdb.base/range-stepping.exp
8328 * gdb.base/readline-ask.exp
8329 * gdb.base/recpar.exp
8330 * gdb.base/recurse.exp
8331 * gdb.base/relational.exp
8332 * gdb.base/restore.exp
8333 * gdb.base/return-nodebug.exp
8334 * gdb.base/return.exp
8335 * gdb.base/run-after-attach.exp
8336 * gdb.base/save-bp.exp
8337 * gdb.base/scope.exp
8338 * gdb.base/sect-cmd.exp
8339 * gdb.base/set-lang-auto.exp
8340 * gdb.base/set-noassign.exp
8341 * gdb.base/setvar.exp
8342 * gdb.base/sigall.exp
8343 * gdb.base/sigbpt.exp
8344 * gdb.base/siginfo-addr.exp
8345 * gdb.base/siginfo-infcall.exp
8346 * gdb.base/siginfo-obj.exp
8347 * gdb.base/siginfo.exp
8348 * gdb.base/signals-state-child.exp
8349 * gdb.base/signest.exp
8350 * gdb.base/sigstep.exp
8351 * gdb.base/sizeof.exp
8352 * gdb.base/skip.exp
8353 * gdb.base/solib-corrupted.exp
8354 * gdb.base/solib-nodir.exp
8355 * gdb.base/solib-search.exp
8356 * gdb.base/stack-checking.exp
8357 * gdb.base/stale-infcall.exp
8358 * gdb.base/stap-probe.exp
8359 * gdb.base/start.exp
8360 * gdb.base/step-break.exp
8361 * gdb.base/step-bt.exp
8362 * gdb.base/step-line.exp
8363 * gdb.base/step-over-exit.exp
8364 * gdb.base/step-over-syscall.exp
8365 * gdb.base/step-resume-infcall.exp
8366 * gdb.base/step-test.exp
8367 * gdb.base/store.exp
8368 * gdb.base/structs3.exp
8369 * gdb.base/sym-file.exp
8370 * gdb.base/symbol-without-target_section.exp
8371 * gdb.base/term.exp
8372 * gdb.base/testenv.exp
8373 * gdb.base/ui-redirect.exp
8374 * gdb.base/until.exp
8375 * gdb.base/unwindonsignal.exp
8376 * gdb.base/value-double-free.exp
8377 * gdb.base/vla-datatypes.exp
8378 * gdb.base/vla-ptr.exp
8379 * gdb.base/vla-sideeffect.exp
8380 * gdb.base/volatile.exp
8381 * gdb.base/watch-cond-infcall.exp
8382 * gdb.base/watch-cond.exp
8383 * gdb.base/watch-non-mem.exp
8384 * gdb.base/watch-read.exp
8385 * gdb.base/watch-vfork.exp
8386 * gdb.base/watchpoint-cond-gone.exp
8387 * gdb.base/watchpoint-delete.exp
8388 * gdb.base/watchpoint-hw-hit-once.exp
8389 * gdb.base/watchpoint-hw.exp
8390 * gdb.base/watchpoint-stops-at-right-insn.exp
8391 * gdb.base/watchpoints.exp
8392 * gdb.base/wchar.exp
8393 * gdb.base/whatis-exp.exp
8394 * gdb.btrace/buffer-size.exp
8395 * gdb.btrace/data.exp
8396 * gdb.btrace/delta.exp
8397 * gdb.btrace/dlopen.exp
8398 * gdb.btrace/enable.exp
8399 * gdb.btrace/exception.exp
8400 * gdb.btrace/function_call_history.exp
8401 * gdb.btrace/gcore.exp
8402 * gdb.btrace/instruction_history.exp
8403 * gdb.btrace/nohist.exp
8404 * gdb.btrace/reconnect.exp
8405 * gdb.btrace/record_goto-step.exp
8406 * gdb.btrace/record_goto.exp
8407 * gdb.btrace/rn-dl-bind.exp
8408 * gdb.btrace/segv.exp
8409 * gdb.btrace/step.exp
8410 * gdb.btrace/stepi.exp
8411 * gdb.btrace/tailcall-only.exp
8412 * gdb.btrace/tailcall.exp
8413 * gdb.btrace/tsx.exp
8414 * gdb.btrace/unknown_functions.exp
8415 * gdb.btrace/vdso.exp
8416 * gdb.compile/compile-ifunc.exp
8417 * gdb.compile/compile-ops.exp
8418 * gdb.compile/compile-print.exp
8419 * gdb.compile/compile-setjmp.exp
8420 * gdb.cp/abstract-origin.exp
8421 * gdb.cp/ambiguous.exp
8422 * gdb.cp/annota2.exp
8423 * gdb.cp/annota3.exp
8424 * gdb.cp/anon-ns.exp
8425 * gdb.cp/anon-struct.exp
8426 * gdb.cp/anon-union.exp
8427 * gdb.cp/arg-reference.exp
8428 * gdb.cp/baseenum.exp
8429 * gdb.cp/bool.exp
8430 * gdb.cp/breakpoint.exp
8431 * gdb.cp/bs15503.exp
8432 * gdb.cp/call-c.exp
8433 * gdb.cp/casts.exp
8434 * gdb.cp/chained-calls.exp
8435 * gdb.cp/class2.exp
8436 * gdb.cp/classes.exp
8437 * gdb.cp/cmpd-minsyms.exp
8438 * gdb.cp/converts.exp
8439 * gdb.cp/cp-relocate.exp
8440 * gdb.cp/cpcompletion.exp
8441 * gdb.cp/cpexprs.exp
8442 * gdb.cp/cplabel.exp
8443 * gdb.cp/cplusfuncs.exp
8444 * gdb.cp/cpsizeof.exp
8445 * gdb.cp/ctti.exp
8446 * gdb.cp/derivation.exp
8447 * gdb.cp/destrprint.exp
8448 * gdb.cp/dispcxx.exp
8449 * gdb.cp/enum-class.exp
8450 * gdb.cp/exception.exp
8451 * gdb.cp/exceptprint.exp
8452 * gdb.cp/expand-psymtabs-cxx.exp
8453 * gdb.cp/expand-sals.exp
8454 * gdb.cp/extern-c.exp
8455 * gdb.cp/filename.exp
8456 * gdb.cp/formatted-ref.exp
8457 * gdb.cp/fpointer.exp
8458 * gdb.cp/gdb1355.exp
8459 * gdb.cp/gdb2495.exp
8460 * gdb.cp/hang.exp
8461 * gdb.cp/impl-this.exp
8462 * gdb.cp/infcall-dlopen.exp
8463 * gdb.cp/inherit.exp
8464 * gdb.cp/iostream.exp
8465 * gdb.cp/koenig.exp
8466 * gdb.cp/local.exp
8467 * gdb.cp/m-data.exp
8468 * gdb.cp/m-static.exp
8469 * gdb.cp/mb-ctor.exp
8470 * gdb.cp/mb-inline.exp
8471 * gdb.cp/mb-templates.exp
8472 * gdb.cp/member-name.exp
8473 * gdb.cp/member-ptr.exp
8474 * gdb.cp/meth-typedefs.exp
8475 * gdb.cp/method.exp
8476 * gdb.cp/method2.exp
8477 * gdb.cp/minsym-fallback.exp
8478 * gdb.cp/misc.exp
8479 * gdb.cp/namelessclass.exp
8480 * gdb.cp/namespace-enum.exp
8481 * gdb.cp/namespace-nested-import.exp
8482 * gdb.cp/namespace.exp
8483 * gdb.cp/nextoverthrow.exp
8484 * gdb.cp/no-dmgl-verbose.exp
8485 * gdb.cp/non-trivial-retval.exp
8486 * gdb.cp/noparam.exp
8487 * gdb.cp/nsdecl.exp
8488 * gdb.cp/nsimport.exp
8489 * gdb.cp/nsnested.exp
8490 * gdb.cp/nsnoimports.exp
8491 * gdb.cp/nsrecurs.exp
8492 * gdb.cp/nsstress.exp
8493 * gdb.cp/nsusing.exp
8494 * gdb.cp/operator.exp
8495 * gdb.cp/oranking.exp
8496 * gdb.cp/overload-const.exp
8497 * gdb.cp/overload.exp
8498 * gdb.cp/ovldbreak.exp
8499 * gdb.cp/ovsrch.exp
8500 * gdb.cp/paren-type.exp
8501 * gdb.cp/parse-lang.exp
8502 * gdb.cp/pass-by-ref.exp
8503 * gdb.cp/pr-1023.exp
8504 * gdb.cp/pr-1210.exp
8505 * gdb.cp/pr-574.exp
8506 * gdb.cp/pr10687.exp
8507 * gdb.cp/pr12028.exp
8508 * gdb.cp/pr17132.exp
8509 * gdb.cp/pr17494.exp
8510 * gdb.cp/pr9067.exp
8511 * gdb.cp/pr9167.exp
8512 * gdb.cp/pr9631.exp
8513 * gdb.cp/printmethod.exp
8514 * gdb.cp/psmang.exp
8515 * gdb.cp/psymtab-parameter.exp
8516 * gdb.cp/ptype-cv-cp.exp
8517 * gdb.cp/ptype-flags.exp
8518 * gdb.cp/re-set-overloaded.exp
8519 * gdb.cp/ref-types.exp
8520 * gdb.cp/rtti.exp
8521 * gdb.cp/scope-err.exp
8522 * gdb.cp/shadow.exp
8523 * gdb.cp/smartp.exp
8524 * gdb.cp/static-method.exp
8525 * gdb.cp/static-print-quit.exp
8526 * gdb.cp/temargs.exp
8527 * gdb.cp/templates.exp
8528 * gdb.cp/try_catch.exp
8529 * gdb.cp/typedef-operator.exp
8530 * gdb.cp/typeid.exp
8531 * gdb.cp/userdef.exp
8532 * gdb.cp/using-crash.exp
8533 * gdb.cp/var-tag.exp
8534 * gdb.cp/virtbase.exp
8535 * gdb.cp/virtfunc.exp
8536 * gdb.cp/virtfunc2.exp
8537 * gdb.cp/vla-cxx.exp
8538 * gdb.disasm/t01_mov.exp
8539 * gdb.disasm/t02_mova.exp
8540 * gdb.disasm/t03_add.exp
8541 * gdb.disasm/t04_sub.exp
8542 * gdb.disasm/t05_cmp.exp
8543 * gdb.disasm/t06_ari2.exp
8544 * gdb.disasm/t07_ari3.exp
8545 * gdb.disasm/t08_or.exp
8546 * gdb.disasm/t09_xor.exp
8547 * gdb.disasm/t10_and.exp
8548 * gdb.disasm/t11_logs.exp
8549 * gdb.disasm/t12_bit.exp
8550 * gdb.disasm/t13_otr.exp
8551 * gdb.dlang/circular.exp
8552 * gdb.dwarf2/arr-stride.exp
8553 * gdb.dwarf2/arr-subrange.exp
8554 * gdb.dwarf2/atomic-type.exp
8555 * gdb.dwarf2/bad-regnum.exp
8556 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8557 * gdb.dwarf2/callframecfa.exp
8558 * gdb.dwarf2/clztest.exp
8559 * gdb.dwarf2/corrupt.exp
8560 * gdb.dwarf2/data-loc.exp
8561 * gdb.dwarf2/dup-psym.exp
8562 * gdb.dwarf2/dw2-anon-mptr.exp
8563 * gdb.dwarf2/dw2-anonymous-func.exp
8564 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8565 * gdb.dwarf2/dw2-bad-unresolved.exp
8566 * gdb.dwarf2/dw2-basic.exp
8567 * gdb.dwarf2/dw2-canonicalize-type.exp
8568 * gdb.dwarf2/dw2-case-insensitive.exp
8569 * gdb.dwarf2/dw2-common-block.exp
8570 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8571 * gdb.dwarf2/dw2-compressed.exp
8572 * gdb.dwarf2/dw2-const.exp
8573 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8574 * gdb.dwarf2/dw2-cu-size.exp
8575 * gdb.dwarf2/dw2-dup-frame.exp
8576 * gdb.dwarf2/dw2-entry-value.exp
8577 * gdb.dwarf2/dw2-icycle.exp
8578 * gdb.dwarf2/dw2-ifort-parameter.exp
8579 * gdb.dwarf2/dw2-inline-break.exp
8580 * gdb.dwarf2/dw2-inline-param.exp
8581 * gdb.dwarf2/dw2-intercu.exp
8582 * gdb.dwarf2/dw2-intermix.exp
8583 * gdb.dwarf2/dw2-lexical-block-bare.exp
8584 * gdb.dwarf2/dw2-linkage-name-trust.exp
8585 * gdb.dwarf2/dw2-minsym-in-cu.exp
8586 * gdb.dwarf2/dw2-noloc.exp
8587 * gdb.dwarf2/dw2-op-call.exp
8588 * gdb.dwarf2/dw2-op-out-param.exp
8589 * gdb.dwarf2/dw2-opt-structptr.exp
8590 * gdb.dwarf2/dw2-param-error.exp
8591 * gdb.dwarf2/dw2-producer.exp
8592 * gdb.dwarf2/dw2-ranges-base.exp
8593 * gdb.dwarf2/dw2-ref-missing-frame.exp
8594 * gdb.dwarf2/dw2-reg-undefined.exp
8595 * gdb.dwarf2/dw2-regno-invalid.exp
8596 * gdb.dwarf2/dw2-restore.exp
8597 * gdb.dwarf2/dw2-restrict.exp
8598 * gdb.dwarf2/dw2-single-line-discriminators.exp
8599 * gdb.dwarf2/dw2-strp.exp
8600 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8601 * gdb.dwarf2/dw2-unresolved.exp
8602 * gdb.dwarf2/dw2-var-zero-addr.exp
8603 * gdb.dwarf2/dw4-sig-types.exp
8604 * gdb.dwarf2/dwz.exp
8605 * gdb.dwarf2/dynarr-ptr.exp
8606 * gdb.dwarf2/enum-type.exp
8607 * gdb.dwarf2/gdb-index.exp
8608 * gdb.dwarf2/implptr-64bit.exp
8609 * gdb.dwarf2/implptr-optimized-out.exp
8610 * gdb.dwarf2/implptr.exp
8611 * gdb.dwarf2/implref-array.exp
8612 * gdb.dwarf2/implref-const.exp
8613 * gdb.dwarf2/implref-global.exp
8614 * gdb.dwarf2/implref-struct.exp
8615 * gdb.dwarf2/mac-fileno.exp
8616 * gdb.dwarf2/main-subprogram.exp
8617 * gdb.dwarf2/member-ptr-forwardref.exp
8618 * gdb.dwarf2/method-ptr.exp
8619 * gdb.dwarf2/missing-sig-type.exp
8620 * gdb.dwarf2/nonvar-access.exp
8621 * gdb.dwarf2/opaque-type-lookup.exp
8622 * gdb.dwarf2/pieces-optimized-out.exp
8623 * gdb.dwarf2/pieces.exp
8624 * gdb.dwarf2/pr10770.exp
8625 * gdb.dwarf2/pr13961.exp
8626 * gdb.dwarf2/staticvirtual.exp
8627 * gdb.dwarf2/subrange.exp
8628 * gdb.dwarf2/symtab-producer.exp
8629 * gdb.dwarf2/trace-crash.exp
8630 * gdb.dwarf2/typeddwarf.exp
8631 * gdb.dwarf2/valop.exp
8632 * gdb.dwarf2/watch-notconst.exp
8633 * gdb.fortran/array-element.exp
8634 * gdb.fortran/charset.exp
8635 * gdb.fortran/common-block.exp
8636 * gdb.fortran/complex.exp
8637 * gdb.fortran/derived-type-function.exp
8638 * gdb.fortran/derived-type.exp
8639 * gdb.fortran/logical.exp
8640 * gdb.fortran/module.exp
8641 * gdb.fortran/multi-dim.exp
8642 * gdb.fortran/nested-funcs.exp
8643 * gdb.fortran/print-formatted.exp
8644 * gdb.fortran/subarray.exp
8645 * gdb.fortran/vla-alloc-assoc.exp
8646 * gdb.fortran/vla-datatypes.exp
8647 * gdb.fortran/vla-history.exp
8648 * gdb.fortran/vla-ptr-info.exp
8649 * gdb.fortran/vla-ptype-sub.exp
8650 * gdb.fortran/vla-ptype.exp
8651 * gdb.fortran/vla-sizeof.exp
8652 * gdb.fortran/vla-type.exp
8653 * gdb.fortran/vla-value-sub-arbitrary.exp
8654 * gdb.fortran/vla-value-sub-finish.exp
8655 * gdb.fortran/vla-value-sub.exp
8656 * gdb.fortran/vla-value.exp
8657 * gdb.fortran/whatis_type.exp
8658 * gdb.go/chan.exp
8659 * gdb.go/handcall.exp
8660 * gdb.go/hello.exp
8661 * gdb.go/integers.exp
8662 * gdb.go/methods.exp
8663 * gdb.go/package.exp
8664 * gdb.go/strings.exp
8665 * gdb.go/types.exp
8666 * gdb.go/unsafe.exp
8667 * gdb.guile/scm-arch.exp
8668 * gdb.guile/scm-block.exp
8669 * gdb.guile/scm-breakpoint.exp
8670 * gdb.guile/scm-cmd.exp
8671 * gdb.guile/scm-disasm.exp
8672 * gdb.guile/scm-equal.exp
8673 * gdb.guile/scm-frame-args.exp
8674 * gdb.guile/scm-frame-inline.exp
8675 * gdb.guile/scm-frame.exp
8676 * gdb.guile/scm-iterator.exp
8677 * gdb.guile/scm-math.exp
8678 * gdb.guile/scm-objfile.exp
8679 * gdb.guile/scm-ports.exp
8680 * gdb.guile/scm-symbol.exp
8681 * gdb.guile/scm-symtab.exp
8682 * gdb.guile/scm-value-cc.exp
8683 * gdb.guile/types-module.exp
8684 * gdb.linespec/break-ask.exp
8685 * gdb.linespec/cpexplicit.exp
8686 * gdb.linespec/explicit.exp
8687 * gdb.linespec/keywords.exp
8688 * gdb.linespec/linespec.exp
8689 * gdb.linespec/ls-dollar.exp
8690 * gdb.linespec/ls-errs.exp
8691 * gdb.linespec/skip-two.exp
8692 * gdb.linespec/thread.exp
8693 * gdb.mi/mi-async.exp
8694 * gdb.mi/mi-basics.exp
8695 * gdb.mi/mi-break.exp
8696 * gdb.mi/mi-catch-load.exp
8697 * gdb.mi/mi-cli.exp
8698 * gdb.mi/mi-cmd-param-changed.exp
8699 * gdb.mi/mi-console.exp
8700 * gdb.mi/mi-detach.exp
8701 * gdb.mi/mi-disassemble.exp
8702 * gdb.mi/mi-eval.exp
8703 * gdb.mi/mi-file-transfer.exp
8704 * gdb.mi/mi-file.exp
8705 * gdb.mi/mi-fill-memory.exp
8706 * gdb.mi/mi-inheritance-syntax-error.exp
8707 * gdb.mi/mi-linespec-err-cp.exp
8708 * gdb.mi/mi-logging.exp
8709 * gdb.mi/mi-memory-changed.exp
8710 * gdb.mi/mi-read-memory.exp
8711 * gdb.mi/mi-record-changed.exp
8712 * gdb.mi/mi-reg-undefined.exp
8713 * gdb.mi/mi-regs.exp
8714 * gdb.mi/mi-return.exp
8715 * gdb.mi/mi-reverse.exp
8716 * gdb.mi/mi-simplerun.exp
8717 * gdb.mi/mi-solib.exp
8718 * gdb.mi/mi-stack.exp
8719 * gdb.mi/mi-stepi.exp
8720 * gdb.mi/mi-syn-frame.exp
8721 * gdb.mi/mi-until.exp
8722 * gdb.mi/mi-var-block.exp
8723 * gdb.mi/mi-var-child.exp
8724 * gdb.mi/mi-var-cmd.exp
8725 * gdb.mi/mi-var-cp.exp
8726 * gdb.mi/mi-var-display.exp
8727 * gdb.mi/mi-var-invalidate.exp
8728 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8729 * gdb.mi/mi-vla-fortran.exp
8730 * gdb.mi/mi-watch.exp
8731 * gdb.mi/mi2-var-child.exp
8732 * gdb.mi/user-selected-context-sync.exp
8733 * gdb.modula2/unbounded-array.exp
8734 * gdb.multi/dummy-frame-restore.exp
8735 * gdb.multi/multi-arch-exec.exp
8736 * gdb.multi/multi-arch.exp
8737 * gdb.multi/tids.exp
8738 * gdb.multi/watchpoint-multi.exp
8739 * gdb.opencl/callfuncs.exp
8740 * gdb.opencl/convs_casts.exp
8741 * gdb.opencl/datatypes.exp
8742 * gdb.opencl/operators.exp
8743 * gdb.opencl/vec_comps.exp
8744 * gdb.opt/clobbered-registers-O2.exp
8745 * gdb.opt/inline-break.exp
8746 * gdb.opt/inline-bt.exp
8747 * gdb.opt/inline-cmds.exp
8748 * gdb.opt/inline-locals.exp
8749 * gdb.pascal/case-insensitive-symbols.exp
8750 * gdb.pascal/floats.exp
8751 * gdb.pascal/gdb11492.exp
8752 * gdb.python/lib-types.exp
8753 * gdb.python/py-arch.exp
8754 * gdb.python/py-as-string.exp
8755 * gdb.python/py-bad-printers.exp
8756 * gdb.python/py-block.exp
8757 * gdb.python/py-breakpoint-create-fail.exp
8758 * gdb.python/py-breakpoint.exp
8759 * gdb.python/py-caller-is.exp
8760 * gdb.python/py-cmd.exp
8761 * gdb.python/py-explore-cc.exp
8762 * gdb.python/py-explore.exp
8763 * gdb.python/py-finish-breakpoint.exp
8764 * gdb.python/py-finish-breakpoint2.exp
8765 * gdb.python/py-frame-args.exp
8766 * gdb.python/py-frame-inline.exp
8767 * gdb.python/py-frame.exp
8768 * gdb.python/py-framefilter-mi.exp
8769 * gdb.python/py-infthread.exp
8770 * gdb.python/py-lazy-string.exp
8771 * gdb.python/py-linetable.exp
8772 * gdb.python/py-mi-events.exp
8773 * gdb.python/py-mi-objfile.exp
8774 * gdb.python/py-mi.exp
8775 * gdb.python/py-objfile.exp
8776 * gdb.python/py-pp-integral.exp
8777 * gdb.python/py-pp-maint.exp
8778 * gdb.python/py-pp-re-notag.exp
8779 * gdb.python/py-pp-registration.exp
8780 * gdb.python/py-recurse-unwind.exp
8781 * gdb.python/py-strfns.exp
8782 * gdb.python/py-symbol.exp
8783 * gdb.python/py-symtab.exp
8784 * gdb.python/py-sync-interp.exp
8785 * gdb.python/py-typeprint.exp
8786 * gdb.python/py-unwind-maint.exp
8787 * gdb.python/py-unwind.exp
8788 * gdb.python/py-value-cc.exp
8789 * gdb.python/py-xmethods.exp
8790 * gdb.reverse/amd64-tailcall-reverse.exp
8791 * gdb.reverse/break-precsave.exp
8792 * gdb.reverse/break-reverse.exp
8793 * gdb.reverse/consecutive-precsave.exp
8794 * gdb.reverse/consecutive-reverse.exp
8795 * gdb.reverse/finish-precsave.exp
8796 * gdb.reverse/finish-reverse-bkpt.exp
8797 * gdb.reverse/finish-reverse.exp
8798 * gdb.reverse/fstatat-reverse.exp
8799 * gdb.reverse/getresuid-reverse.exp
8800 * gdb.reverse/i386-precsave.exp
8801 * gdb.reverse/i386-reverse.exp
8802 * gdb.reverse/i386-sse-reverse.exp
8803 * gdb.reverse/i387-env-reverse.exp
8804 * gdb.reverse/i387-stack-reverse.exp
8805 * gdb.reverse/insn-reverse.exp
8806 * gdb.reverse/machinestate-precsave.exp
8807 * gdb.reverse/machinestate.exp
8808 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8809 * gdb.reverse/pipe-reverse.exp
8810 * gdb.reverse/readv-reverse.exp
8811 * gdb.reverse/recvmsg-reverse.exp
8812 * gdb.reverse/rerun-prec.exp
8813 * gdb.reverse/s390-mvcle.exp
8814 * gdb.reverse/step-precsave.exp
8815 * gdb.reverse/step-reverse.exp
8816 * gdb.reverse/time-reverse.exp
8817 * gdb.reverse/until-precsave.exp
8818 * gdb.reverse/until-reverse.exp
8819 * gdb.reverse/waitpid-reverse.exp
8820 * gdb.reverse/watch-precsave.exp
8821 * gdb.reverse/watch-reverse.exp
8822 * gdb.rust/generics.exp
8823 * gdb.rust/methods.exp
8824 * gdb.rust/modules.exp
8825 * gdb.rust/simple.exp
8826 * gdb.server/connect-with-no-symbol-file.exp
8827 * gdb.server/ext-attach.exp
8828 * gdb.server/ext-restart.exp
8829 * gdb.server/ext-wrapper.exp
8830 * gdb.server/file-transfer.exp
8831 * gdb.server/server-exec-info.exp
8832 * gdb.server/server-kill.exp
8833 * gdb.server/server-mon.exp
8834 * gdb.server/wrapper.exp
8835 * gdb.stabs/exclfwd.exp
8836 * gdb.stabs/gdb11479.exp
8837 * gdb.threads/clone-new-thread-event.exp
8838 * gdb.threads/corethreads.exp
8839 * gdb.threads/current-lwp-dead.exp
8840 * gdb.threads/dlopen-libpthread.exp
8841 * gdb.threads/gcore-thread.exp
8842 * gdb.threads/sigstep-threads.exp
8843 * gdb.threads/watchpoint-fork.exp
8844 * gdb.trace/actions-changed.exp
8845 * gdb.trace/backtrace.exp
8846 * gdb.trace/change-loc.exp
8847 * gdb.trace/circ.exp
8848 * gdb.trace/collection.exp
8849 * gdb.trace/disconnected-tracing.exp
8850 * gdb.trace/ftrace.exp
8851 * gdb.trace/mi-trace-frame-collected.exp
8852 * gdb.trace/mi-trace-unavailable.exp
8853 * gdb.trace/mi-traceframe-changed.exp
8854 * gdb.trace/mi-tsv-changed.exp
8855 * gdb.trace/no-attach-trace.exp
8856 * gdb.trace/passc-dyn.exp
8857 * gdb.trace/qtro.exp
8858 * gdb.trace/range-stepping.exp
8859 * gdb.trace/read-memory.exp
8860 * gdb.trace/save-trace.exp
8861 * gdb.trace/signal.exp
8862 * gdb.trace/status-stop.exp
8863 * gdb.trace/tfile.exp
8864 * gdb.trace/trace-break.exp
8865 * gdb.trace/trace-buffer-size.exp
8866 * gdb.trace/trace-condition.exp
8867 * gdb.trace/tracefile-pseudo-reg.exp
8868 * gdb.trace/tstatus.exp
8869 * gdb.trace/unavailable.exp
8870 * gdb.trace/while-dyn.exp
8871 * gdb.trace/while-stepping.exp
8872
8873 2016-12-22 Doug Evans <xdje42@gmail.com>
8874
8875 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8876 and msymbols.
8877
8878 2016-12-19 Yao Qi <yao.qi@linaro.org>
8879
8880 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8881 (test_with_self): Don't call do_steps_and_nexts, and remove
8882 code about stepping into xmalloc.
8883
8884 2016-12-09 Yao Qi <yao.qi@linaro.org>
8885
8886 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8887
8888 2016-12-09 Yao Qi <yao.qi@linaro.org>
8889
8890 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8891
8892 2016-12-09 Pedro Alves <palves@redhat.com>
8893
8894 * gdb.base/all-architectures-0.exp: New file.
8895 * gdb.base/all-architectures-1.exp: New file.
8896 * gdb.base/all-architectures-2.exp: New file.
8897 * gdb.base/all-architectures-3.exp: New file.
8898 * gdb.base/all-architectures-4.exp: New file.
8899 * gdb.base/all-architectures-5.exp: New file.
8900 * gdb.base/all-architectures-6.exp: New file.
8901 * gdb.base/all-architectures-7.exp: New file.
8902 * gdb.base/all-architectures.exp.in: New file.
8903
8904 2016-12-09 Yao Qi <yao.qi@linaro.org>
8905
8906 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8907
8908 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8909
8910 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8911 possible.
8912 Remove useless pattern-matching code.
8913
8914 2016-12-02 Pedro Alves <palves@redhat.com>
8915
8916 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8917 procedure.
8918 (top level): Call it.
8919
8920 2016-12-02 Pedro Alves <palves@redhat.com>
8921
8922 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8923 New procedure.
8924 (top level): Call it.
8925
8926 2016-12-02 Pedro Alves <palves@redhat.com>
8927
8928 PR cli/20559
8929 * gdb.base/commands.exp (user_defined_command_args_eval): New
8930 procedure.
8931 (top level): Call it.
8932
8933 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8934
8935 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8936 timeout handling.
8937
8938 2016-12-02 Tom Tromey <tom@tromey.com>
8939
8940 * gdb.dwarf2/main-subprogram.c: New file.
8941 * gdb.dwarf2/main-subprogram.exp: New file.
8942
8943 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8944
8945 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8946 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8947 gdb_test_no_output for a couple of cases.
8948 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8949
8950 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8951
8952 Fix test names and standardize compilation error messages throughout
8953 the following files:
8954
8955 * gdb.ada/start.exp
8956 * gdb.arch/alpha-step.exp
8957 * gdb.arch/e500-prologue.exp
8958 * gdb.arch/ftrace-insn-reloc.exp
8959 * gdb.arch/gdb1291.exp
8960 * gdb.arch/gdb1431.exp
8961 * gdb.arch/gdb1558.exp
8962 * gdb.arch/i386-dr3-watch.exp
8963 * gdb.arch/i386-sse-stack-align.exp
8964 * gdb.arch/ia64-breakpoint-shadow.exp
8965 * gdb.arch/pa-nullify.exp
8966 * gdb.arch/powerpc-aix-prologue.exp
8967 * gdb.arch/thumb-bx-pc.exp
8968 * gdb.base/annota1.exp
8969 * gdb.base/annota3.exp
8970 * gdb.base/arrayidx.exp
8971 * gdb.base/assign.exp
8972 * gdb.base/attach.exp
8973 * gdb.base/auxv.exp
8974 * gdb.base/bang.exp
8975 * gdb.base/bfp-test.exp
8976 * gdb.base/bigcore.exp
8977 * gdb.base/bitfields2.exp
8978 * gdb.base/break-fun-addr.exp
8979 * gdb.base/break-probes.exp
8980 * gdb.base/call-rt-st.exp
8981 * gdb.base/callexit.exp
8982 * gdb.base/catch-fork-kill.exp
8983 * gdb.base/charset.exp
8984 * gdb.base/checkpoint.exp
8985 * gdb.base/comprdebug.exp
8986 * gdb.base/constvars.exp
8987 * gdb.base/coredump-filter.exp
8988 * gdb.base/cursal.exp
8989 * gdb.base/cvexpr.exp
8990 * gdb.base/detach.exp
8991 * gdb.base/display.exp
8992 * gdb.base/dmsym.exp
8993 * gdb.base/dprintf-pending.exp
8994 * gdb.base/dso2dso.exp
8995 * gdb.base/dtrace-probe.exp
8996 * gdb.base/dump.exp
8997 * gdb.base/enum_cond.exp
8998 * gdb.base/exe-lock.exp
8999 * gdb.base/exec-invalid-sysroot.exp
9000 * gdb.base/execl-update-breakpoints.exp
9001 * gdb.base/exprs.exp
9002 * gdb.base/fileio.exp
9003 * gdb.base/find.exp
9004 * gdb.base/finish.exp
9005 * gdb.base/fixsection.exp
9006 * gdb.base/foll-vfork.exp
9007 * gdb.base/frame-args.exp
9008 * gdb.base/gcore.exp
9009 * gdb.base/gdb1250.exp
9010 * gdb.base/global-var-nested-by-dso.exp
9011 * gdb.base/gnu-ifunc.exp
9012 * gdb.base/hashline1.exp
9013 * gdb.base/hashline2.exp
9014 * gdb.base/hashline3.exp
9015 * gdb.base/hbreak-in-shr-unsupported.exp
9016 * gdb.base/huge.exp
9017 * gdb.base/infcall-input.exp
9018 * gdb.base/info-fun.exp
9019 * gdb.base/info-shared.exp
9020 * gdb.base/jit-simple.exp
9021 * gdb.base/jit-so.exp
9022 * gdb.base/jit.exp
9023 * gdb.base/jump.exp
9024 * gdb.base/label.exp
9025 * gdb.base/lineinc.exp
9026 * gdb.base/logical.exp
9027 * gdb.base/longjmp.exp
9028 * gdb.base/macscp.exp
9029 * gdb.base/miscexprs.exp
9030 * gdb.base/new-ui-echo.exp
9031 * gdb.base/new-ui-pending-input.exp
9032 * gdb.base/new-ui.exp
9033 * gdb.base/nodebug.exp
9034 * gdb.base/nofield.exp
9035 * gdb.base/offsets.exp
9036 * gdb.base/overlays.exp
9037 * gdb.base/pending.exp
9038 * gdb.base/pointers.exp
9039 * gdb.base/pr11022.exp
9040 * gdb.base/printcmds.exp
9041 * gdb.base/prologue.exp
9042 * gdb.base/ptr-typedef.exp
9043 * gdb.base/realname-expand.exp
9044 * gdb.base/relativedebug.exp
9045 * gdb.base/relocate.exp
9046 * gdb.base/remote.exp
9047 * gdb.base/reread.exp
9048 * gdb.base/return2.exp
9049 * gdb.base/savedregs.exp
9050 * gdb.base/sep.exp
9051 * gdb.base/sepdebug.exp
9052 * gdb.base/sepsymtab.exp
9053 * gdb.base/set-inferior-tty.exp
9054 * gdb.base/setshow.exp
9055 * gdb.base/shlib-call.exp
9056 * gdb.base/sigaltstack.exp
9057 * gdb.base/siginfo-addr.exp
9058 * gdb.base/signals.exp
9059 * gdb.base/signull.exp
9060 * gdb.base/sigrepeat.exp
9061 * gdb.base/so-impl-ld.exp
9062 * gdb.base/solib-display.exp
9063 * gdb.base/solib-overlap.exp
9064 * gdb.base/solib-search.exp
9065 * gdb.base/solib-symbol.exp
9066 * gdb.base/structs.exp
9067 * gdb.base/structs2.exp
9068 * gdb.base/symtab-search-order.exp
9069 * gdb.base/twice.exp
9070 * gdb.base/unload.exp
9071 * gdb.base/varargs.exp
9072 * gdb.base/watchpoint-solib.exp
9073 * gdb.base/watchpoint.exp
9074 * gdb.base/whatis.exp
9075 * gdb.base/wrong_frame_bt_full.exp
9076 * gdb.btrace/dlopen.exp
9077 * gdb.cell/ea-standalone.exp
9078 * gdb.cell/ea-test.exp
9079 * gdb.cp/dispcxx.exp
9080 * gdb.cp/gdb2384.exp
9081 * gdb.cp/method2.exp
9082 * gdb.cp/nextoverthrow.exp
9083 * gdb.cp/pr10728.exp
9084 * gdb.disasm/am33.exp
9085 * gdb.disasm/h8300s.exp
9086 * gdb.disasm/mn10300.exp
9087 * gdb.disasm/sh3.exp
9088 * gdb.dwarf2/dw2-dir-file-name.exp
9089 * gdb.fortran/complex.exp
9090 * gdb.fortran/library-module.exp
9091 * gdb.guile/scm-pretty-print.exp
9092 * gdb.guile/scm-symbol.exp
9093 * gdb.guile/scm-type.exp
9094 * gdb.guile/scm-value.exp
9095 * gdb.linespec/linespec.exp
9096 * gdb.mi/gdb701.exp
9097 * gdb.mi/gdb792.exp
9098 * gdb.mi/mi-breakpoint-changed.exp
9099 * gdb.mi/mi-dprintf-pending.exp
9100 * gdb.mi/mi-dprintf.exp
9101 * gdb.mi/mi-exit-code.exp
9102 * gdb.mi/mi-pending.exp
9103 * gdb.mi/mi-solib.exp
9104 * gdb.mi/new-ui-mi-sync.exp
9105 * gdb.mi/pr11022.exp
9106 * gdb.mi/user-selected-context-sync.exp
9107 * gdb.opt/solib-intra-step.exp
9108 * gdb.python/py-events.exp
9109 * gdb.python/py-finish-breakpoint.exp
9110 * gdb.python/py-mi.exp
9111 * gdb.python/py-prettyprint.exp
9112 * gdb.python/py-shared.exp
9113 * gdb.python/py-symbol.exp
9114 * gdb.python/py-template.exp
9115 * gdb.python/py-type.exp
9116 * gdb.python/py-value.exp
9117 * gdb.reverse/solib-precsave.exp
9118 * gdb.reverse/solib-reverse.exp
9119 * gdb.server/solib-list.exp
9120 * gdb.stabs/weird.exp
9121 * gdb.threads/reconnect-signal.exp
9122 * gdb.threads/stepi-random-signal.exp
9123 * gdb.trace/actions.exp
9124 * gdb.trace/ax.exp
9125 * gdb.trace/backtrace.exp
9126 * gdb.trace/change-loc.exp
9127 * gdb.trace/deltrace.exp
9128 * gdb.trace/ftrace-lock.exp
9129 * gdb.trace/ftrace.exp
9130 * gdb.trace/infotrace.exp
9131 * gdb.trace/mi-tracepoint-changed.exp
9132 * gdb.trace/packetlen.exp
9133 * gdb.trace/passcount.exp
9134 * gdb.trace/pending.exp
9135 * gdb.trace/range-stepping.exp
9136 * gdb.trace/report.exp
9137 * gdb.trace/stap-trace.exp
9138 * gdb.trace/tfind.exp
9139 * gdb.trace/trace-break.exp
9140 * gdb.trace/trace-condition.exp
9141 * gdb.trace/trace-enable-disable.exp
9142 * gdb.trace/trace-mt.exp
9143 * gdb.trace/tracecmd.exp
9144 * gdb.trace/tspeed.exp
9145 * gdb.trace/tsv.exp
9146 * lib/perftest.exp
9147
9148 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9149
9150 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9151 with gdb_test_no_output.
9152 Use command as test name.
9153
9154 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9155
9156 Fix test names starting with uppercase throughout the files.
9157
9158 * gdb.ada/assign_1.exp
9159 * gdb.ada/boolean_expr.exp
9160 * gdb.base/arrayidx.exp
9161 * gdb.base/del.exp
9162 * gdb.base/gcore-buffer-overflow.exp
9163 * gdb.base/testenv.exp
9164 * gdb.compile/compile.exp
9165 * gdb.python/py-framefilter-invalidarg.exp
9166 * gdb.python/py-framefilter.exp
9167
9168 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9169
9170 Fix test names starting with uppercase throughout the files.
9171
9172 * gdb.ada/array_return.exp
9173 * gdb.ada/expr_delims.exp
9174 * gdb.ada/mi_dyn_arr.exp
9175 * gdb.ada/mi_interface.exp
9176 * gdb.ada/mi_var_array.exp
9177 * gdb.ada/watch_arg.exp
9178 * gdb.arch/alpha-step.exp
9179 * gdb.arch/altivec-regs.exp
9180 * gdb.arch/e500-regs.exp
9181 * gdb.arch/powerpc-d128-regs.exp
9182 * gdb.base/arrayidx.exp
9183 * gdb.base/break.exp
9184 * gdb.base/checkpoint.exp
9185 * gdb.base/debug-expr.exp
9186 * gdb.base/dmsym.exp
9187 * gdb.base/radix.exp
9188 * gdb.base/sepdebug.exp
9189 * gdb.base/testenv.exp
9190 * gdb.base/watch_thread_num.exp
9191 * gdb.base/watchpoint-cond-gone.exp
9192 * gdb.cell/break.exp
9193 * gdb.cell/ea-cache.exp
9194 * gdb.compile/compile.exp
9195 * gdb.cp/gdb2495.exp
9196 * gdb.gdb/selftest.exp
9197 * gdb.gdb/xfullpath.exp
9198 * gdb.go/hello.exp
9199 * gdb.go/integers.exp
9200 * gdb.objc/basicclass.exp
9201 * gdb.pascal/hello.exp
9202 * gdb.pascal/integers.exp
9203 * gdb.python/py-breakpoint.exp
9204 * gdb.python/py-cmd.exp
9205 * gdb.python/py-linetable.exp
9206 * gdb.python/py-xmethods.exp
9207 * gdb.python/python.exp
9208 * gdb.reverse/consecutive-precsave.exp
9209 * gdb.reverse/finish-precsave.exp
9210 * gdb.reverse/i386-precsave.exp
9211 * gdb.reverse/machinestate-precsave.exp
9212 * gdb.reverse/sigall-precsave.exp
9213 * gdb.reverse/solib-precsave.exp
9214 * gdb.reverse/step-precsave.exp
9215 * gdb.reverse/until-precsave.exp
9216 * gdb.reverse/watch-precsave.exp
9217 * gdb.threads/leader-exit.exp
9218 * gdb.threads/pthreads.exp
9219 * gdb.threads/wp-replication.exp
9220 * gdb.trace/actions.exp
9221 * gdb.trace/mi-tsv-changed.exp
9222 * gdb.trace/tsv.exp
9223
9224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9225
9226 Fix test names starting with uppercase throughout the files.
9227
9228 * gdb.arch/i386-bp_permanent.exp
9229 * gdb.arch/i386-gnu-cfi.exp
9230 * gdb.base/disasm-end-cu.exp
9231 * gdb.base/macscp.exp
9232 * gdb.base/pending.exp
9233 * gdb.base/watch_thread_num.exp
9234 * gdb.cp/exception.exp
9235 * gdb.cp/gdb2495.exp
9236 * gdb.cp/local.exp
9237 * gdb.python/py-evsignal.exp
9238 * gdb.python/python.exp
9239 * gdb.trace/tracecmd.exp
9240
9241 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9242
9243 Fix test names starting with uppercase throughout the files.
9244
9245 * gdb.base/charset.exp
9246 * gdb.base/eval.exp
9247 * gdb.base/multi-forks.exp
9248 * gdb.guile/scm-progspace.exp
9249 * gdb.opencl/datatypes.exp
9250 * gdb.python/py-block.exp
9251 * gdb.python/py-function.exp
9252 * gdb.python/py-symbol.exp
9253 * gdb.python/py-symtab.exp
9254 * gdb.python/py-xmethods.exp
9255 * gdb.reverse/break-precsave.exp
9256 * gdb.reverse/break-reverse.exp
9257 * gdb.reverse/consecutive-precsave.exp
9258 * gdb.reverse/consecutive-reverse.exp
9259 * gdb.reverse/finish-precsave.exp
9260 * gdb.reverse/finish-reverse-bkpt.exp
9261 * gdb.reverse/finish-reverse.exp
9262 * gdb.reverse/fstatat-reverse.exp
9263 * gdb.reverse/getresuid-reverse.exp
9264 * gdb.reverse/i386-precsave.exp
9265 * gdb.reverse/i386-reverse.exp
9266 * gdb.reverse/i386-sse-reverse.exp
9267 * gdb.reverse/i387-stack-reverse.exp
9268 * gdb.reverse/insn-reverse.exp
9269 * gdb.reverse/machinestate-precsave.exp
9270 * gdb.reverse/machinestate.exp
9271 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9272 * gdb.reverse/pipe-reverse.exp
9273 * gdb.reverse/readv-reverse.exp
9274 * gdb.reverse/recvmsg-reverse.exp
9275 * gdb.reverse/rerun-prec.exp
9276 * gdb.reverse/s390-mvcle.exp
9277 * gdb.reverse/sigall-precsave.exp
9278 * gdb.reverse/sigall-reverse.exp
9279 * gdb.reverse/solib-precsave.exp
9280 * gdb.reverse/solib-reverse.exp
9281 * gdb.reverse/step-precsave.exp
9282 * gdb.reverse/step-reverse.exp
9283 * gdb.reverse/time-reverse.exp
9284 * gdb.reverse/until-precsave.exp
9285 * gdb.reverse/until-reverse.exp
9286 * gdb.reverse/waitpid-reverse.exp
9287 * gdb.reverse/watch-precsave.exp
9288 * gdb.reverse/watch-reverse.exp
9289
9290 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9291
9292 Fix test names starting with uppercase throughout the files.
9293
9294 * gdb.arch/i386-mpx-simple_segv.exp
9295 * gdb.arch/i386-mpx.exp
9296 * gdb.arch/i386-permbkpt.exp
9297 * gdb.arch/pa-nullify.exp
9298 * gdb.arch/powerpc-d128-regs.exp
9299 * gdb.arch/vsx-regs.exp
9300 * gdb.base/bfp-test.exp
9301 * gdb.base/break.exp
9302 * gdb.base/breakpoint-shadow.exp
9303 * gdb.base/callfuncs.exp
9304 * gdb.base/charset.exp
9305 * gdb.base/commands.exp
9306 * gdb.base/completion.exp
9307 * gdb.base/dfp-test.exp
9308 * gdb.base/echo.exp
9309 * gdb.base/ending-run.exp
9310 * gdb.base/eval.exp
9311 * gdb.base/expand-psymtabs.exp
9312 * gdb.base/float128.exp
9313 * gdb.base/floatn.exp
9314 * gdb.base/foll-exec-mode.exp
9315 * gdb.base/gdb1056.exp
9316 * gdb.base/gdb11531.exp
9317 * gdb.base/kill-after-signal.exp
9318 * gdb.base/multi-forks.exp
9319 * gdb.base/overlays.exp
9320 * gdb.base/pending.exp
9321 * gdb.base/sepdebug.exp
9322 * gdb.base/testenv.exp
9323 * gdb.base/valgrind-db-attach.exp
9324 * gdb.base/watch_thread_num.exp
9325 * gdb.base/watchpoint-cond-gone.exp
9326 * gdb.base/watchpoint.exp
9327 * gdb.base/watchpoints.exp
9328 * gdb.cp/arg-reference.exp
9329 * gdb.cp/baseenum.exp
9330 * gdb.cp/operator.exp
9331 * gdb.cp/shadow.exp
9332 * gdb.dwarf2/dw2-op-out-param.exp
9333 * gdb.dwarf2/dw2-reg-undefined.exp
9334 * gdb.go/chan.exp
9335 * gdb.go/hello.exp
9336 * gdb.go/integers.exp
9337 * gdb.go/methods.exp
9338 * gdb.go/package.exp
9339 * gdb.guile/scm-parameter.exp
9340 * gdb.guile/scm-progspace.exp
9341 * gdb.guile/scm-value.exp
9342 * gdb.mi/mi-pending.exp
9343 * gdb.mi/user-selected-context-sync.exp
9344 * gdb.multi/multi-attach.exp
9345 * gdb.multi/tids.exp
9346 * gdb.opt/clobbered-registers-O2.exp
9347 * gdb.pascal/floats.exp
9348 * gdb.pascal/integers.exp
9349 * gdb.python/py-block.exp
9350 * gdb.python/py-events.exp
9351 * gdb.python/py-parameter.exp
9352 * gdb.python/py-symbol.exp
9353 * gdb.python/py-symtab.exp
9354 * gdb.python/py-type.exp
9355 * gdb.python/py-value.exp
9356 * gdb.python/py-xmethods.exp
9357 * gdb.python/python.exp
9358 * gdb.reverse/break-precsave.exp
9359 * gdb.reverse/consecutive-precsave.exp
9360 * gdb.reverse/finish-precsave.exp
9361 * gdb.reverse/i386-precsave.exp
9362 * gdb.reverse/machinestate-precsave.exp
9363 * gdb.reverse/sigall-precsave.exp
9364 * gdb.reverse/solib-precsave.exp
9365 * gdb.reverse/step-precsave.exp
9366 * gdb.reverse/until-precsave.exp
9367 * gdb.reverse/watch-precsave.exp
9368 * gdb.server/ext-attach.exp
9369 * gdb.server/ext-restart.exp
9370 * gdb.server/ext-run.exp
9371 * gdb.server/ext-wrapper.exp
9372 * gdb.stabs/gdb11479.exp
9373 * gdb.stabs/weird.exp
9374 * gdb.threads/attach-many-short-lived-threads.exp
9375 * gdb.threads/kill.exp
9376 * gdb.threads/watchpoint-fork.exp
9377
9378 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9379
9380 Fix test names starting with uppercase throughout all the files below.
9381
9382 * gdb.ada/array_return.exp
9383 * gdb.ada/catch_ex.exp
9384 * gdb.ada/info_exc.exp
9385 * gdb.ada/mi_catch_ex.exp
9386 * gdb.ada/mi_dyn_arr.exp
9387 * gdb.ada/mi_ex_cond.exp
9388 * gdb.ada/mi_exc_info.exp
9389 * gdb.ada/mi_interface.exp
9390 * gdb.ada/mi_task_arg.exp
9391 * gdb.ada/mi_task_info.exp
9392 * gdb.ada/mi_var_array.exp
9393 * gdb.arch/alpha-step.exp
9394 * gdb.arch/amd64-disp-step.exp
9395 * gdb.arch/arm-disp-step.exp
9396 * gdb.arch/disp-step-insn-reloc.exp
9397 * gdb.arch/e500-prologue.exp
9398 * gdb.arch/ftrace-insn-reloc.exp
9399 * gdb.arch/gdb1558.exp
9400 * gdb.arch/i386-bp_permanent.exp
9401 * gdb.arch/i386-disp-step.exp
9402 * gdb.arch/i386-float.exp
9403 * gdb.arch/i386-gnu-cfi.exp
9404 * gdb.arch/ia64-breakpoint-shadow.exp
9405 * gdb.arch/mips16-thunks.exp
9406 * gdb.arch/pa-nullify.exp
9407 * gdb.arch/powerpc-aix-prologue.exp
9408 * gdb.arch/powerpc-power.exp
9409 * gdb.arch/ppc-dfp.exp
9410 * gdb.arch/s390-tdbregs.exp
9411 * gdb.arch/spu-info.exp
9412 * gdb.arch/spu-ls.exp
9413 * gdb.arch/thumb-bx-pc.exp
9414 * gdb.base/advance.exp
9415 * gdb.base/annota-input-while-running.exp
9416 * gdb.base/arrayidx.exp
9417 * gdb.base/asmlabel.exp
9418 * gdb.base/async.exp
9419 * gdb.base/attach-wait-input.exp
9420 * gdb.base/auto-connect-native-target.exp
9421 * gdb.base/batch-preserve-term-settings.exp
9422 * gdb.base/bfp-test.exp
9423 * gdb.base/bigcore.exp
9424 * gdb.base/bp-permanent.exp
9425 * gdb.base/break-always.exp
9426 * gdb.base/break-fun-addr.exp
9427 * gdb.base/break-idempotent.exp
9428 * gdb.base/break-main-file-remove-fail.exp
9429 * gdb.base/break-probes.exp
9430 * gdb.base/break-unload-file.exp
9431 * gdb.base/break.exp
9432 * gdb.base/call-ar-st.exp
9433 * gdb.base/call-rt-st.exp
9434 * gdb.base/call-sc.exp
9435 * gdb.base/call-signal-resume.exp
9436 * gdb.base/call-strs.exp
9437 * gdb.base/callexit.exp
9438 * gdb.base/callfuncs.exp
9439 * gdb.base/catch-gdb-caused-signals.exp
9440 * gdb.base/catch-signal-siginfo-cond.exp
9441 * gdb.base/catch-syscall.exp
9442 * gdb.base/compare-sections.exp
9443 * gdb.base/cond-eval-mode.exp
9444 * gdb.base/condbreak-call-false.exp
9445 * gdb.base/consecutive-step-over.exp
9446 * gdb.base/cursal.exp
9447 * gdb.base/disabled-location.exp
9448 * gdb.base/disasm-end-cu.exp
9449 * gdb.base/display.exp
9450 * gdb.base/double-prompt-target-event-error.exp
9451 * gdb.base/dprintf-bp-same-addr.exp
9452 * gdb.base/dprintf-detach.exp
9453 * gdb.base/dprintf-next.exp
9454 * gdb.base/dprintf-non-stop.exp
9455 * gdb.base/dprintf-pending.exp
9456 * gdb.base/dso2dso.exp
9457 * gdb.base/ending-run.exp
9458 * gdb.base/enum_cond.exp
9459 * gdb.base/examine-backward.exp
9460 * gdb.base/exe-lock.exp
9461 * gdb.base/exec-invalid-sysroot.exp
9462 * gdb.base/execl-update-breakpoints.exp
9463 * gdb.base/execution-termios.exp
9464 * gdb.base/fileio.exp
9465 * gdb.base/fixsection.exp
9466 * gdb.base/foll-exec-mode.exp
9467 * gdb.base/foll-exec.exp
9468 * gdb.base/fork-running-state.exp
9469 * gdb.base/frame-args.exp
9470 * gdb.base/fullpath-expand.exp
9471 * gdb.base/func-ptr.exp
9472 * gdb.base/gcore-relro-pie.exp
9473 * gdb.base/gdb1090.exp
9474 * gdb.base/gdb1555.exp
9475 * gdb.base/global-var-nested-by-dso.exp
9476 * gdb.base/gnu-ifunc.exp
9477 * gdb.base/hbreak-in-shr-unsupported.exp
9478 * gdb.base/hbreak-unmapped.exp
9479 * gdb.base/hook-stop.exp
9480 * gdb.base/infcall-input.exp
9481 * gdb.base/info-fun.exp
9482 * gdb.base/info-shared.exp
9483 * gdb.base/interrupt-noterm.exp
9484 * gdb.base/jit-so.exp
9485 * gdb.base/jit.exp
9486 * gdb.base/line-symtabs.exp
9487 * gdb.base/list.exp
9488 * gdb.base/longjmp.exp
9489 * gdb.base/macscp.exp
9490 * gdb.base/max-value-size.exp
9491 * gdb.base/nodebug.exp
9492 * gdb.base/nofield.exp
9493 * gdb.base/overlays.exp
9494 * gdb.base/paginate-after-ctrl-c-running.exp
9495 * gdb.base/paginate-bg-execution.exp
9496 * gdb.base/paginate-inferior-exit.exp
9497 * gdb.base/pending.exp
9498 * gdb.base/pr11022.exp
9499 * gdb.base/printcmds.exp
9500 * gdb.base/ptr-typedef.exp
9501 * gdb.base/ptype.exp
9502 * gdb.base/randomize.exp
9503 * gdb.base/range-stepping.exp
9504 * gdb.base/realname-expand.exp
9505 * gdb.base/relativedebug.exp
9506 * gdb.base/remote.exp
9507 * gdb.base/savedregs.exp
9508 * gdb.base/sepdebug.exp
9509 * gdb.base/set-noassign.exp
9510 * gdb.base/shlib-call.exp
9511 * gdb.base/shreloc.exp
9512 * gdb.base/sigaltstack.exp
9513 * gdb.base/sigbpt.exp
9514 * gdb.base/siginfo-addr.exp
9515 * gdb.base/siginfo-obj.exp
9516 * gdb.base/siginfo-thread.exp
9517 * gdb.base/signest.exp
9518 * gdb.base/signull.exp
9519 * gdb.base/sigrepeat.exp
9520 * gdb.base/skip.exp
9521 * gdb.base/so-impl-ld.exp
9522 * gdb.base/solib-corrupted.exp
9523 * gdb.base/solib-disc.exp
9524 * gdb.base/solib-display.exp
9525 * gdb.base/solib-overlap.exp
9526 * gdb.base/solib-search.exp
9527 * gdb.base/solib-symbol.exp
9528 * gdb.base/source-execution.exp
9529 * gdb.base/sss-bp-on-user-bp-2.exp
9530 * gdb.base/sss-bp-on-user-bp.exp
9531 * gdb.base/stack-checking.exp
9532 * gdb.base/stale-infcall.exp
9533 * gdb.base/step-break.exp
9534 * gdb.base/step-line.exp
9535 * gdb.base/step-over-exit.exp
9536 * gdb.base/step-test.exp
9537 * gdb.base/structs.exp
9538 * gdb.base/sym-file.exp
9539 * gdb.base/symtab-search-order.exp
9540 * gdb.base/term.exp
9541 * gdb.base/type-opaque.exp
9542 * gdb.base/unload.exp
9543 * gdb.base/until-nodebug.exp
9544 * gdb.base/until.exp
9545 * gdb.base/unwindonsignal.exp
9546 * gdb.base/watch-cond.exp
9547 * gdb.base/watch-non-mem.exp
9548 * gdb.base/watch_thread_num.exp
9549 * gdb.base/watchpoint-reuse-slot.exp
9550 * gdb.base/watchpoint-solib.exp
9551 * gdb.base/watchpoint.exp
9552 * gdb.btrace/dlopen.exp
9553 * gdb.cell/arch.exp
9554 * gdb.cell/break.exp
9555 * gdb.cell/bt.exp
9556 * gdb.cell/core.exp
9557 * gdb.cell/data.exp
9558 * gdb.cell/dwarfaddr.exp
9559 * gdb.cell/ea-cache.exp
9560 * gdb.cell/ea-standalone.exp
9561 * gdb.cell/ea-test.exp
9562 * gdb.cell/f-regs.exp
9563 * gdb.cell/fork.exp
9564 * gdb.cell/gcore.exp
9565 * gdb.cell/mem-access.exp
9566 * gdb.cell/ptype.exp
9567 * gdb.cell/registers.exp
9568 * gdb.cell/sizeof.exp
9569 * gdb.cell/solib-symbol.exp
9570 * gdb.cell/solib.exp
9571 * gdb.compile/compile-tls.exp
9572 * gdb.cp/exception.exp
9573 * gdb.cp/gdb2495.exp
9574 * gdb.cp/local.exp
9575 * gdb.cp/mb-inline.exp
9576 * gdb.cp/mb-templates.exp
9577 * gdb.cp/pr10687.exp
9578 * gdb.cp/pr9167.exp
9579 * gdb.cp/scope-err.exp
9580 * gdb.cp/templates.exp
9581 * gdb.cp/virtfunc.exp
9582 * gdb.dwarf2/dw2-dir-file-name.exp
9583 * gdb.dwarf2/dw2-single-line-discriminators.exp
9584 * gdb.fortran/complex.exp
9585 * gdb.fortran/library-module.exp
9586 * gdb.guile/guile.exp
9587 * gdb.guile/scm-cmd.exp
9588 * gdb.guile/scm-frame-inline.exp
9589 * gdb.guile/scm-objfile.exp
9590 * gdb.guile/scm-pretty-print.exp
9591 * gdb.guile/scm-symbol.exp
9592 * gdb.guile/scm-type.exp
9593 * gdb.guile/scm-value.exp
9594 * gdb.linespec/keywords.exp
9595 * gdb.linespec/ls-errs.exp
9596 * gdb.linespec/macro-relative.exp
9597 * gdb.linespec/thread.exp
9598 * gdb.mi/mi-breakpoint-changed.exp
9599 * gdb.mi/mi-dprintf-pending.exp
9600 * gdb.mi/mi-fullname-deleted.exp
9601 * gdb.mi/mi-logging.exp
9602 * gdb.mi/mi-pending.exp
9603 * gdb.mi/mi-solib.exp
9604 * gdb.mi/new-ui-mi-sync.exp
9605 * gdb.mi/user-selected-context-sync.exp
9606 * gdb.multi/dummy-frame-restore.exp
9607 * gdb.multi/multi-arch-exec.exp
9608 * gdb.multi/remove-inferiors.exp
9609 * gdb.multi/watchpoint-multi-exit.exp
9610 * gdb.opt/solib-intra-step.exp
9611 * gdb.perf/backtrace.exp
9612 * gdb.perf/single-step.exp
9613 * gdb.perf/skip-command.exp
9614 * gdb.perf/skip-prologue.exp
9615 * gdb.perf/solib.exp
9616 * gdb.python/lib-types.exp
9617 * gdb.python/py-as-string.exp
9618 * gdb.python/py-bad-printers.exp
9619 * gdb.python/py-block.exp
9620 * gdb.python/py-breakpoint.exp
9621 * gdb.python/py-cmd.exp
9622 * gdb.python/py-events.exp
9623 * gdb.python/py-evthreads.exp
9624 * gdb.python/py-finish-breakpoint.exp
9625 * gdb.python/py-finish-breakpoint2.exp
9626 * gdb.python/py-frame-inline.exp
9627 * gdb.python/py-frame.exp
9628 * gdb.python/py-inferior.exp
9629 * gdb.python/py-infthread.exp
9630 * gdb.python/py-mi.exp
9631 * gdb.python/py-objfile.exp
9632 * gdb.python/py-pp-maint.exp
9633 * gdb.python/py-pp-registration.exp
9634 * gdb.python/py-prettyprint.exp
9635 * gdb.python/py-recurse-unwind.exp
9636 * gdb.python/py-shared.exp
9637 * gdb.python/py-symbol.exp
9638 * gdb.python/py-symtab.exp
9639 * gdb.python/py-template.exp
9640 * gdb.python/py-type.exp
9641 * gdb.python/py-unwind-maint.exp
9642 * gdb.python/py-unwind.exp
9643 * gdb.python/py-value.exp
9644 * gdb.python/python.exp
9645 * gdb.reverse/finish-reverse-bkpt.exp
9646 * gdb.reverse/insn-reverse.exp
9647 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9648 * gdb.reverse/solib-precsave.exp
9649 * gdb.reverse/solib-reverse.exp
9650 * gdb.stabs/gdb11479.exp
9651 * gdb.stabs/weird.exp
9652 * gdb.threads/fork-child-threads.exp
9653 * gdb.threads/fork-plus-threads.exp
9654 * gdb.threads/fork-thread-pending.exp
9655 * gdb.threads/forking-threads-plus-breakpoint.exp
9656 * gdb.threads/hand-call-in-threads.exp
9657 * gdb.threads/interrupted-hand-call.exp
9658 * gdb.threads/linux-dp.exp
9659 * gdb.threads/local-watch-wrong-thread.exp
9660 * gdb.threads/next-while-other-thread-longjmps.exp
9661 * gdb.threads/non-ldr-exit.exp
9662 * gdb.threads/pending-step.exp
9663 * gdb.threads/print-threads.exp
9664 * gdb.threads/process-dies-while-detaching.exp
9665 * gdb.threads/process-dies-while-handling-bp.exp
9666 * gdb.threads/pthreads.exp
9667 * gdb.threads/queue-signal.exp
9668 * gdb.threads/reconnect-signal.exp
9669 * gdb.threads/signal-command-handle-nopass.exp
9670 * gdb.threads/signal-command-multiple-signals-pending.exp
9671 * gdb.threads/signal-delivered-right-thread.exp
9672 * gdb.threads/signal-sigtrap.exp
9673 * gdb.threads/sigthread.exp
9674 * gdb.threads/staticthreads.exp
9675 * gdb.threads/stepi-random-signal.exp
9676 * gdb.threads/thread-unwindonsignal.exp
9677 * gdb.threads/thread_check.exp
9678 * gdb.threads/thread_events.exp
9679 * gdb.threads/tid-reuse.exp
9680 * gdb.threads/tls-nodebug.exp
9681 * gdb.threads/tls-shared.exp
9682 * gdb.threads/tls-so_extern.exp
9683 * gdb.threads/tls.exp
9684 * gdb.threads/wp-replication.exp
9685 * gdb.trace/actions-changed.exp
9686 * gdb.trace/actions.exp
9687 * gdb.trace/backtrace.exp
9688 * gdb.trace/change-loc.exp
9689 * gdb.trace/collection.exp
9690 * gdb.trace/deltrace.exp
9691 * gdb.trace/disconnected-tracing.exp
9692 * gdb.trace/entry-values.exp
9693 * gdb.trace/ftrace-lock.exp
9694 * gdb.trace/ftrace.exp
9695 * gdb.trace/infotrace.exp
9696 * gdb.trace/mi-trace-frame-collected.exp
9697 * gdb.trace/mi-trace-unavailable.exp
9698 * gdb.trace/mi-traceframe-changed.exp
9699 * gdb.trace/mi-tracepoint-changed.exp
9700 * gdb.trace/mi-tsv-changed.exp
9701 * gdb.trace/no-attach-trace.exp
9702 * gdb.trace/packetlen.exp
9703 * gdb.trace/passc-dyn.exp
9704 * gdb.trace/passcount.exp
9705 * gdb.trace/pending.exp
9706 * gdb.trace/pr16508.exp
9707 * gdb.trace/qtro.exp
9708 * gdb.trace/range-stepping.exp
9709 * gdb.trace/read-memory.exp
9710 * gdb.trace/report.exp
9711 * gdb.trace/save-trace.exp
9712 * gdb.trace/signal.exp
9713 * gdb.trace/stap-trace.exp
9714 * gdb.trace/status-stop.exp
9715 * gdb.trace/strace.exp
9716 * gdb.trace/tfile.exp
9717 * gdb.trace/tfind.exp
9718 * gdb.trace/trace-break.exp
9719 * gdb.trace/trace-condition.exp
9720 * gdb.trace/trace-enable-disable.exp
9721 * gdb.trace/trace-mt.exp
9722 * gdb.trace/tracecmd.exp
9723 * gdb.trace/tracefile-pseudo-reg.exp
9724 * gdb.trace/tspeed.exp
9725 * gdb.trace/tstatus.exp
9726 * gdb.trace/tsv.exp
9727 * gdb.trace/unavailable.exp
9728 * gdb.trace/while-dyn.exp
9729 * gdb.trace/while-stepping.exp
9730 * lib/gdb-guile.exp
9731 * lib/gdb.exp
9732 * lib/mi-support.exp
9733 * lib/pascal.exp
9734 * lib/perftest.exp
9735 * lib/prelink-support.exp
9736 * lib/selftest-support.exp
9737
9738 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9739
9740 * Makefile.in: Include disable-implicit-rules.mk.
9741
9742 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9743
9744 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9745 non-byte-aligned bit fields.
9746
9747 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9748
9749 PR gdb/12616
9750 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9751 respects the DW_AT_data_bit_offset attribute.
9752
9753 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9754
9755 * gdb.base/default.exp: Fix output of "set language".
9756
9757 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9758
9759 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9760 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9761 make.
9762 * configure.ac: Remove checks for the make program.
9763 * configure: Re-generate.
9764
9765 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9766
9767 * gdb.python/py-recurse-unwind.c (main): Add loop.
9768 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9769 to read_register() and gdb.parse_and_eval(). Make each code
9770 call a separate case that can be individually tested.
9771 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9772 proc. Call cont_and_backtrace for each of the code paths that
9773 we want to test in the unwinder.
9774
9775 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9776
9777 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9778 the definition of struct S.
9779
9780 2016-11-11 Catherine Moore <clm@codesourcery.com>
9781
9782 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9783
9784 2016-11-09 Pedro Alves <palves@redhat.com>
9785
9786 * gdb.base/commands.exp (runto_or_return): New procedure.
9787 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9788 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9789 (progvar_simple_while_test, progvar_complex_if_while_test)
9790 (if_while_breakpoint_command_test)
9791 (infrun_breakpoint_command_test, breakpoint_command_test)
9792 (user_defined_command_test, watchpoint_command_test)
9793 (test_command_prompt_position, redefine_hook_test)
9794 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9795 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9796 multi_line_input and multi_line. Remove gdb_expect and
9797 gdb_stop_suppressing_tests uses.
9798 * lib/gdb.exp (valnum_re): New global.
9799 (multi_line_input): New procedure.
9800
9801 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9802
9803 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9804 Remove.
9805 (test_setup): Define with proc_with_prefix.
9806 (test_cli_inferior): Likewise.
9807 (test_cli_thread): Likewise.
9808 (test_cli_frame): Likewise.
9809 (test_cli_select_frame): Likewise.
9810 (test_cli_up_down): Likewise.
9811 (test_mi_thread_select): Likewise.
9812 (test_mi_stack_select_frame): Likewise.
9813 (test_cli_in_mi_inferior): Likewise.
9814 (test_cli_in_mi_thread): Likewise.
9815 (test_cli_in_mi_frame): Likewise.
9816 (top level): Do not use with_test_prefix_procname.
9817
9818 2016-11-09 Pedro Alves <palves@redhat.com>
9819
9820 * gdb.base/commands.exp (gdbvar_simple_if_test)
9821 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9822 (progvar_simple_if_test, progvar_simple_while_test)
9823 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9824 (infrun_breakpoint_command_test, breakpoint_command_test)
9825 (user_defined_command_test, watchpoint_command_test)
9826 (test_command_prompt_position, deprecated_command_test)
9827 (bp_deleted_in_command, temporary_breakpoint_commands)
9828 (stray_arg0_test, source_file_with_indented_comment)
9829 (recursive_source_test, if_commands_test)
9830 (error_clears_commands_left, redefine_hook_test)
9831 (redefine_backtrace_test): Use proc_with_prefix.
9832 * lib/gdb.exp (proc_with_prefix): New proc.
9833
9834 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9835
9836 * gdb.base/tui-layout.c: New file.
9837 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9838 disassembly window contains very long lines.
9839
9840 2016-11-08 Tom Tromey <tom@tromey.com>
9841
9842 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9843 depend on Python 2.
9844
9845 2016-11-08 Tom Tromey <tom@tromey.com>
9846
9847 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9848 New method.
9849
9850 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9851
9852 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9853
9854 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9855
9856 * gdb.rust/simple.rs: Add test for univariant enums without
9857 discriminants and for encoded struct-like enums.
9858
9859 2016-10-28 Pedro Alves <palves@redhat.com>
9860
9861 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9862 gdb_test_multiple, tighten regexps and match symtabs and line
9863 tables incrementally.
9864
9865 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9866
9867 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9868 general.
9869
9870 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9871
9872 * gdb.base/exec-invalid-sysroot.exp: New file.
9873
9874 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9875
9876 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9877
9878 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9879
9880 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9881
9882 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9883
9884 * gdb.base/killed-outside.exp: Remove $options from a call to
9885 `prepare_for_testing'.
9886
9887 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9888
9889 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9890 Change test message.
9891
9892 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9893
9894 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9895 Update comment.
9896
9897 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9898
9899 * gdb.trace/mi-trace-save.exp: New file.
9900
9901 2016-10-13 Yao Qi <yao.qi@linaro.org>
9902
9903 * gdb.base/code_elim.exp (get_var_address): Remove.
9904 * gdb.base/relocate.exp: Likewise.
9905 * gdb.base/shreloc.exp: Likewise.
9906 * lib/gdb.exp (get_var_address): New.
9907
9908 2016-10-13 Yao Qi <yao.qi@linaro.org>
9909
9910 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9911 floating point tests if $skip_float_test is false.
9912
9913 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9914
9915 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9916 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9917 argc values.
9918 Add 1 to argc so we guarantee distinct initial/modified argc values.
9919
9920 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9921
9922 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9923
9924 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9925
9926 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9927 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9928 * gdb.arch/vsx-regs.exp: Likewise.
9929
9930 2016-10-07 Yao Qi <yao.qi@linaro.org>
9931
9932 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9933
9934 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9935
9936 * gdb.python/python.exp: Test decode_line("*0").
9937
9938 2016-10-06 Doug Evans <dje@google.com>
9939
9940 * gdb.python/py-value.exp (test_value_creation): Add test for large
9941 unsigned 64-bit value.
9942
9943 2016-10-06 Tom Tromey <tom@tromey.com>
9944
9945 * gdb.compile/compile.exp: Change java tests to rust.
9946 * gdb.base/setshow.exp: Change java tests to rust.
9947 * gdb.base/default.exp: Remove java from language list.
9948 * README (Examples): Update language example.
9949 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9950 test.
9951 * lib/gdb.exp (skip_java_tests): Remove.
9952 * lib/java.exp: Remove.
9953 * gdb.java: Remove.
9954
9955 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9956
9957 * gdb.arch/mips-fcr.exp: New test.
9958 * gdb.arch/mips-fcr.c: Source for the new test.
9959
9960 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9961
9962 * gdb.base/solib-disc.exp: Use `standard_output_file'
9963 throughout.
9964
9965 2016-10-06 Pedro Alves <palves@redhat.com>
9966
9967 * gdb.base/jit-simple-dl.c: New file.
9968 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9969 * gdb.base/jit-simple.c: ... this.
9970 * gdb.base/jit-simple.exp (jit_run): Delete.
9971 (build_jit): New proc.
9972 (jit_test_reread): Recompile either the main program or the shared
9973 library, depending on what is being tested. Skip changing address
9974 if caller wants to. Compare before/after addresses. If testing
9975 standalone, explicitly load the binary. Test "maint info
9976 breakpoints".
9977 (top level): Add "standalone vs shared lib" and "change address"
9978 vs "same address" axes.
9979
9980 2016-10-06 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9983 call.
9984 (jit_run): Delete.
9985 (jit_test_reread): Use with_test_prefix. Reload the main binary
9986 explicitly. Compare the before/after addresses of the JIT
9987 descriptor.
9988
9989 2016-08-15 Doug Evans <dje@google.com>
9990
9991 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9992 for single bitfields is bool.
9993 * gdb.xml/tdesc-regs.exp: Ditto.
9994
9995 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9996
9997 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9998
9999 2016-10-05 Yao Qi <yao.qi@linaro.org>
10000
10001 * lib/gdb.exp (support_complex_tests): Return zero if
10002 gdb_skip_float_test return true.
10003
10004 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10005 Simon Marchi <simon.marchi@ericsson.com>
10006
10007 PR gdb/20487
10008 * gdb.mi/user-selected-context-sync.exp: New file.
10009 * gdb.mi/user-selected-context-sync.c: New file.
10010
10011 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10012 Simon Marchi <simon.marchi@ericsson.com>
10013
10014 PR gdb/20487
10015 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10016 =thread-select-event check.
10017
10018 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10019
10020 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10021 the compulsory L operand changes.
10022 * gdb.arch/powerpc-power.s: Likewise.
10023
10024 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10025
10026 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10027 * gdb.base/jit-attach-pie.c: New file.
10028 * gdb.base/jit-attach-pie.exp: New file.
10029
10030 2016-09-28 Pedro Alves <palves@redhat.com>
10031
10032 * gdb.base/infcall-input.c: New file.
10033 * gdb.base/infcall-input.exp: New file.
10034
10035 2016-09-22 Yao Qi <yao.qi@linaro.org>
10036
10037 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10038 (gdb_exit): Rename it to ...
10039 (gdbserver_gdb_exit): ... Close GDBserver.
10040 (gdb_exit): New proc, call gdbserver_gdb_exit.
10041 (mi_gdb_exit): Likewise.
10042
10043 2016-09-22 Yao Qi <yao.qi@linaro.org>
10044
10045 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10046 path.
10047 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10048 Remove duplication.
10049
10050 2016-09-22 Yao Qi <yao.qi@linaro.org>
10051
10052 * lib/gdbserver-support.exp: Check the existence of
10053 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10054
10055 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10056
10057 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10058
10059 2016-09-21 Tom Tromey <tom@tromey.com>
10060
10061 PR gdb/20604:
10062 * gdb.base/quit.exp: New file.
10063
10064 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10065
10066 * .gitignore: New file.
10067
10068 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10069
10070 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10071 throughout.
10072
10073 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10074
10075 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10076
10077 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10078
10079 * gdb.cp/casts.cc (decltype): Move it ...
10080 (main): ... with its call to ...
10081 * gdb.cp/casts03.cc: ... a new file.
10082 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10083
10084 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10085
10086 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10087
10088 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10089
10090 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10091 and sync up the test with tests in gas/testsuite/gas/ppc.
10092 * gdb.arch/powerpc-power.exp: Likewise.
10093
10094 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10095
10096 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10097
10098 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10099 Jan Kratochvil <jan.kratochvil@redhat.com>
10100
10101 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10102 make m1's definition to be different from m2's. Use 'dummy' as an
10103 argument for probe 'two'.
10104
10105 2016-09-10 Jon Beniston <jon@beniston.com>
10106
10107 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10108 for sim target.
10109
10110 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10111
10112 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10113 variable declaration.
10114 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10115 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10116 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10117 received HWCAP as its argument.
10118
10119 2016-09-06 Pedro Alves <palves@redhat.com>
10120
10121 * gdb.base/new-ui-pending-input.c: New file.
10122 * gdb.base/new-ui-pending-input.exp: New file.
10123 * gdb.exp (clear_gdb_spawn_id): New procedure.
10124 (with_spawn_id): Check whether gdb_spawn_id exists before
10125 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10126 on exit.
10127
10128 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10129
10130 * gdb.base/float128.c: New file.
10131 * gdb.base/float128.exp: Likewise.
10132 * gdb.base/floatn.c: Likewise.
10133 * gdb.base/floatn.exp: Likewise.
10134
10135 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10136
10137 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10138
10139 2016-09-05 Pedro Alves <palves@redhat.com>
10140
10141 PR backtrace/19927
10142 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10143 unwinders are immediately called as side effect of "source" or
10144 "disable unwinder" commands.
10145 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10146
10147 2016-09-02 Yao Qi <yao.qi@linaro.org>
10148
10149 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10150 is true and $type is "float" or "double".
10151
10152 2016-09-02 Yao Qi <yao.qi@linaro.org>
10153
10154 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10155 true.
10156 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10157 * gdb.base/call-rt-st.exp: Likewise.
10158 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10159 return value instead of gdb,skip_float_test.
10160 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10161 (do_function_calls): Use its return value instead of
10162 gdb,skip_float_test.
10163 * gdb.base/finish.exp: Likewise.
10164 * gdb.base/funcargs.exp: Likewise.
10165 * gdb.base/return.exp: Likewise.
10166 * gdb.base/return2.exp: Likewise.
10167 * gdb.base/varargs.exp: Likewise.
10168 * lib/gdb.exp (gdb_skip_float_test): Change it to
10169 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10170
10171 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10172
10173 * gdb.multi/tids.exp: Test "thread apply all".
10174
10175 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10176
10177 * gdb.base/default.exp (tty): Remove.
10178
10179 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10180
10181 * gdb.python/py-recurse-unwind.c: New file.
10182 * gdb.python/py-recurse-unwind.py: New file.
10183 * gdb.python/py-recurse-unwind.exp: New file.
10184
10185 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10186
10187 * gdb.base/set-inferior-tty.exp: New file.
10188 * gdb.base/set-inferior-tty.c: New file.
10189
10190 2016-08-23 Pedro Alves <palves@redhat.com>
10191
10192 PR gdb/20494
10193 * gdb.base/new-ui-echo.c: New file.
10194 * gdb.base/new-ui-echo.exp: New file.
10195
10196 2016-08-23 Yao Qi <yao.qi@linaro.org>
10197
10198 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10199 gdbserver_spawn.
10200 * gdb.server/connect-without-multi-process.exp (do_test):
10201 Likewise.
10202
10203 2016-08-23 Yao Qi <yao.qi@linaro.org>
10204
10205 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10206 standalone_txt. Delete gdb_txt and standalone_txt on host
10207 and target. Spawn the binary on target. Copy files from
10208 target to host.
10209
10210 2016-08-22 Pedro Alves <palves@redhat.com>
10211
10212 PR gdb/20505
10213 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10214 with_test_prefix. Factor out bits to ...
10215 (test_no_vdso): ... this new procedure.
10216
10217 2016-08-19 Carl Love <cel@us.ibm.com>
10218
10219 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10220 maintaining separate logic for constructing the output path.
10221 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10222 * gdb.arch/ppc-dfp.exp: Likewise.
10223 * gdb.arch/ppc-fp.exp: Likewise.
10224 * gdb.arch/vsx-regs.exp: Likewise.
10225 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10226 binprefix for generating the additional binary files.
10227
10228 2016-08-19 Pedro Alves <palves@redhat.com>
10229
10230 * gdb.trace/mi-trace-frame-collected.exp
10231 (test_trace_frame_collected): On x32, expect two registers.
10232
10233 2016-08-18 Carl Love <cel@us.ibm.com>
10234
10235 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10236 and sync up the test with tests in gas/testsuite/gas/ppc.
10237 * gdb.arch/powerpc-power.exp: Likewise.
10238
10239 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10240
10241 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10242 expected error message.
10243
10244 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10245
10246 * gdb.multi/remove-inferiors.exp: New file.
10247 * gdb.multi/remove-inferiors.c: New file.
10248
10249 2016-08-12 Yao Qi <yao.qi@linaro.org>
10250
10251 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10252 argument list.
10253
10254 2016-08-10 Pedro Alves <palves@redhat.com>
10255
10256 PR gdb/19187
10257 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10258 setup_kfails.
10259
10260 2016-08-09 Pedro Alves <palves@redhat.com>
10261 Simon Marchi <simon.marchi@ericsson.com>
10262
10263 PR gdb/20418
10264 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10265 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10266
10267 2016-08-09 Pedro Alves <palves@redhat.com>
10268
10269 PR mi/20431
10270 * gdb.mi/mi-cmd-error.exp: New file.
10271
10272 2016-08-09 Pedro Alves <palves@redhat.com>
10273
10274 PR gdb/18653
10275 * gdb.base/signals-state-child.c: New file.
10276 * gdb.base/signals-state-child.exp: New file.
10277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10278
10279 2016-08-09 Pedro Alves <palves@redhat.com>
10280
10281 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10282
10283 2016-08-03 Tom Tromey <tom@tromey.com>
10284
10285 PR python/18565:
10286 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10287
10288 2016-08-01 Yao Qi <yao.qi@linaro.org>
10289
10290 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10291 variable mode to "multi-process" if $multi_process is 1, otherwise
10292 set it to "single-process".
10293
10294 2016-08-01 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10297 * gdb.cp/cpexprs.exp: Likewise.
10298 * gdb.cp/m-static.exp: Likewise.
10299
10300 2016-07-26 Tom Tromey <tom@tromey.com>
10301
10302 PR python/20190:
10303 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10304 test.
10305
10306 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10307
10308 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10309 selecting assembly source files.
10310 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10311 assembly source files.
10312 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10313 assembly source files.
10314 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10315 selecting assembly source files.
10316
10317 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10318
10319 * gdb.base/new-ui.exp (do_test_invalid_args): New
10320 procedure.
10321
10322 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10323
10324 * gdb.btrace/reconnect.c: New file.
10325 * gdb.btrace/reconnect.exp: New file.
10326
10327 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10328
10329 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10330 to test_catch_syscall_group.
10331 (test_catch_syscall_group): New.
10332
10333 2016-07-21 Tom Tromey <tom@tromey.com>
10334
10335 * gdb.rust/simple.rs (main): Use empty struct expression.
10336 * gdb.rust/simple.exp: Add tests for empty struct expression.
10337
10338 2016-07-21 Yao Qi <yao.qi@linaro.org>
10339
10340 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10341 if gdb_skip_xml_test is true on some targets.
10342
10343 2016-07-21 Yao Qi <yao.qi@linaro.org>
10344
10345 * gdb.server/solib-list.exp: Unset last_loaded_file.
10346
10347 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10348
10349 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10350 "step into captured_main (args)".
10351
10352 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10353
10354 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10355
10356 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10357
10358 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10359
10360 2016-07-19 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10363 * gdb.opt/inline-bt.exp: Likewise.
10364 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10365 additional_flags=-Winline.
10366 * gdb.opt/inline-locals.exp: Likewise.
10367 * gdb.opt/inline-markers.c (ATTR): Define.
10368 (inlined_fn): Use it.
10369
10370 2016-07-19 Yao Qi <yao.qi@linaro.org>
10371
10372 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10373 (test_with_self): Remove some code. Remove argument executable.
10374 (top-level): Use do_self_tests.
10375
10376 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10377 Don Breazeal <donb@codesourcery.com>
10378
10379 * gdb.base/maint.exp: Escape paths used in regular expressions.
10380 * gdb.stabs/weird.exp: Likewise.
10381
10382 2016-07-13 Tom Tromey <tom@tromey.com>
10383
10384 PR python/15620, PR python/18620:
10385 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10386 (test_bkpt_events): New procs.
10387
10388 2016-07-13 Tom Tromey <tom@tromey.com>
10389
10390 PR python/17698:
10391 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10392 test.
10393 (test_watchpoints): Likewise.
10394 (test_bkpt_pending): New proc.
10395
10396 2016-07-13 Tom Tromey <tom@tromey.com>
10397
10398 PR cli/18053:
10399 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10400 completion test.
10401
10402 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10405 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10406 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10407 f_label.
10408 (g): Rename g_end_lbl to g_label.
10409 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10410 low_pc and high_pc.
10411 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10412
10413 2016-07-12 Tom Tromey <tom@tromey.com>
10414
10415 PR python/19293:
10416 * gdb.python/py-unwind-maint.exp: Update tests.
10417
10418 2016-07-12 Yao Qi <yao.qi@linaro.org>
10419
10420 * lib/selftest-support.exp (selftest_setup): Match the output
10421 when captured_main is inlined.
10422
10423 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10424
10425 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10426 New variables.
10427 (print this%a, print this%b, print this): New tests.
10428 * gdb.fortran/derived-types.f90 (this): New object and
10429 initialization.
10430
10431 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10432
10433 * gdb.ada/arraydim.exp: Remove extra directory level in build
10434 directory.
10435
10436 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10437
10438 * lib/ada.exp: Remove extra directory level in build directory.
10439 * gdb.ada/cond_lang.exp: Likewise.
10440 * gdb.ada/exec_changed.exp: Likewise.
10441 * gdb.ada/lang_switch.exp: Likewise.
10442
10443 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10444
10445 * simple.rs: Add test for raw pointer subscripting.
10446 * simple.exp: Add test expectations.
10447
10448 2016-07-05 Yao Qi <yao.qi@linaro.org>
10449
10450 * gdb.mi/mi-reverse.exp: Match =record-started output.
10451
10452 2016-07-01 Pedro Alves <palves@redhat.com>
10453
10454 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10455 procedure.
10456 (jit_reader_test): Test the jit reader's unwinder.
10457 * gdb.base/jithost.c (jit_function_00_code): New global.
10458 (main): Use memcpy to fill in the mmapped code, instead of poking
10459 bytes manually here.
10460 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10461 value.
10462 (read_debug_info): Save the function's range.
10463 (read_sp): New function.
10464 (unwind_frame): Use it. Also unwind RBP.
10465 (get_frame_id): Use read_sp.
10466 (gdb_init_reader): Use calloc instead of malloc.
10467 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10468 parameter. Use gdb_test_multiple.
10469
10470 2016-07-01 Pedro Alves <palves@redhat.com>
10471 Antoine Tremblay <antoine.tremblay@ericsson.com>
10472
10473 * gdb.threads/process-dies-while-detaching.c: New file.
10474 * gdb.threads/process-dies-while-detaching.exp: New file.
10475
10476 2016-07-01 Pedro Alves <palves@redhat.com>
10477
10478 * gdb.multi/watchpoint-multi-exit.c: New file.
10479 * gdb.multi/watchpoint-multi-exit.exp: New file.
10480
10481 2016-06-30 Pedro Alves <palves@redhat.com>
10482
10483 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10484 unset inferior_spawn_id.
10485
10486 2016-06-30 Pedro Alves <palves@redhat.com>
10487
10488 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10489 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10490
10491 2016-06-29 Yao Qi <yao.qi@linaro.org>
10492
10493 * gdb.base/return.c: Add copyright header.
10494
10495 2016-06-29 Tom Tromey <tom@tromey.com>
10496
10497 PR python/20129:
10498 * gdb.python/py-framefilter.exp: Add tests for setting priority
10499 and disabling of non-existent frame filter.
10500
10501 2016-06-29 Yao Qi <yao.qi@linaro.org>
10502
10503 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10504 0x0f07ff.
10505
10506 2016-06-28 Yao Qi <yao.qi@linaro.org>
10507
10508 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10509 triplets. Start gdb, execute catch syscall, and continue. Check
10510 gdb's output to determine catch syscall is supported.
10511
10512 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10513
10514 * gdb.rust/simple.rs: Add test for returning unit in a function.
10515 * gdb.rust/simple.exp: Add expectation for functions returning
10516 unit.
10517
10518 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10519
10520 * gdb.python/py-breakpoint-create-fail.c,
10521 gdb.python/py-breakpoint-create-fail.exp,
10522 gdb.python/py-breakpoint-create-fail.py: New testcase.
10523
10524 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10525
10526 PR gdb/20239
10527 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10528 * gdb.rust/simple.exp: Add test expectations for new NonZero
10529 tests.
10530
10531 2016-06-24 David Taylor <dtaylor@emc.com>
10532
10533 * gdb.base/offsets.exp: New file.
10534 * gdb.base/offsets.c: New file.
10535
10536 2016-06-23 Tom Tromey <tom@tromey.com>
10537
10538 PR gdb/16483:
10539 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10540 before any filters are loaded.
10541
10542 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10543
10544 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10545 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10546 structs.
10547 * gdb.fortran/derived-type-function.exp: New file.
10548 * gdb.fortran/derived-type-function.f90: New file.
10549
10550
10551 2016-06-21 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.base/new-ui.exp: New file.
10554 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10555 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10556 (with_spawn_id): New procedure.
10557
10558 2016-06-21 Pedro Alves <palves@redhat.com>
10559
10560 * gdb.mi/mi-exec-run.exp: New file.
10561
10562 2016-06-21 Pedro Alves <palves@redhat.com>
10563
10564 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10565 breakpoint command's output on the main UI.
10566 (test_break): New procedure, factored out from calls in the top
10567 level.
10568 (top level): Use foreach_with_prefix to test MI as main UI and as
10569 separate UI.
10570
10571 2016-06-21 Pedro Alves <palves@redhat.com>
10572
10573 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10574 (test_awatch_creation_and_listing)
10575 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10576 Remove 'type' parameter.
10577 (test_watchpoint_all): New parameter mi_mode. Remove
10578 with_test_prefix.
10579 (top level): Use foreach_with_prefix, and add main/separate UI MI
10580 testing axis.
10581
10582 2016-06-21 Pedro Alves <palves@redhat.com>
10583
10584 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10585 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10586 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10587 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10588 (gdb_main_spawn_id, mi_spawn_id): Declare and
10589 comment.
10590 (mi_create_inferior_pty): New procedure,
10591 factored out from default_mi_gdb_start.
10592 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10593 procedures.
10594 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10595 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10596 Use mi_create_inferior_pty.
10597 (mi_gdb_start): Use eval to pass down args list.
10598
10599 2016-06-21 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10602 * gdb.opt/inline-cmds.exp: Add MI tests.
10603
10604 2016-06-21 Pedro Alves <palves@redhat.com>
10605
10606 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10607
10608 2016-06-21 Pedro Alves <palves@redhat.com>
10609
10610 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10611 (top level): Use it instead of mi_execute_to.
10612
10613 2016-06-21 Pedro Alves <palves@redhat.com>
10614
10615 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10616 (cont_handler_str): New.
10617 (signal_stop_handler): Set stop_handler_str instead of printing to
10618 stdout.
10619 (continue_handler): Set cont_handler_str instead of printing to
10620 stdout.
10621 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10622 mi_send_resuming_command. Print stop_handler_str and
10623 cont_handler_str instead of expecting the python events print
10624 directly.
10625
10626 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10627
10628 * gdb.base/jit-reader.exp: New file.
10629 * gdb.base/jithost.c: New file.
10630 * gdb.base/jithost.h: New file.
10631 * gdb.base/jitreader.c : New file.
10632 * gdb.base/jit-protocol.h: New file.
10633
10634 2016-06-17 Yao Qi <yao.qi@linaro.org>
10635
10636 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10637 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10638 and detach-on-fork. Adjust tests.
10639 (top level): Invoke break_cond_on_syscall with combinations of
10640 syscall, follow-fork-mode and detach-on-fork.
10641
10642 2016-06-17 Yao Qi <yao.qi@linaro.org>
10643
10644 * gdb.base/step-over-exit.c: New.
10645 * gdb.base/step-over-exit.exp: New.
10646
10647 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10648
10649 * gdb.base/float.exp: Add target check for nds32*-*-*.
10650 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10651
10652 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10653
10654 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10655 for unsupported target features.
10656 * gdb.base/call-rt-st.exp: Likewise.
10657 * gdb.base/call-sc.exp: Likewise.
10658 * gdb.base/call-signal-resume.exp: Likewise.
10659 * gdb.base/call-strs.exp: Likewise.
10660 * gdb.base/callexit.exp: Likewise.
10661 * gdb.base/callfuncs.exp: Likewise.
10662 * gdb.base/nodebug.exp: Likewise.
10663 * gdb.base/printcmds.exp: Likewise.
10664 * gdb.base/ptype.exp: Likewise.
10665 * gdb.base/structs.exp: Likewise.
10666 * gdb.base/unwindonsignal.exp: Likewise.
10667 * gdb.cp/gdb2495.exp: Likewise.
10668 * gdb.cp/templates.exp: Likewise.
10669 * gdb.cp/virtfunc.exp: Likewise.
10670 * gdb.threads/hand-call-in-threads.exp: Likewise.
10671 * gdb.threads/interrupted-hand-call.exp: Likewise.
10672 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10673
10674 2016-06-10 Tom Tromey <tom@tromey.com>
10675
10676 PR rust/20110:
10677 * gdb.rust/expr.exp: Add test for integer constant larger than
10678 i32.
10679
10680 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10681
10682 * gdb.fortran/nested-funcs.exp: New.
10683 * gdb.fortran/nested-funcs.f90: New.
10684
10685 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10686
10687 * gdb.base/examine-backward.c: New file.
10688 * gdb.base/examine-backward.exp: New file.
10689
10690 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10691
10692 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10693 matching.
10694
10695 2016-06-02 Tom Tromey <tom@tromey.com>
10696
10697 PR python/18984:
10698 * gdb.python/py-shared.exp: Add solib_name test.
10699
10700 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10701
10702 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10703
10704 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10705
10706 PR c++/19893
10707 * gdb.dwarf2/implref.exp: Rename to...
10708 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10709 * gdb.dwarf2/implref-array.c: New file.
10710 * gdb.dwarf2/implref-array.exp: Likewise.
10711 * gdb.dwarf2/implref-global.c: Likewise.
10712 * gdb.dwarf2/implref-global.exp: Likewise.
10713 * gdb.dwarf2/implref-struct.c: Likewise.
10714 * gdb.dwarf2/implref-struct.exp: Likewise.
10715
10716 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10717
10718 * gdb.trace/trace-condition.exp: Add 64bit tests.
10719
10720 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10721
10722 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10723 bits types.
10724 (main): Adapt to 8 to 64 bits types.
10725 * gdb.trace/trace-condition.exp: Add new tests.
10726
10727 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10728
10729 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10730
10731 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10732
10733 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10734 Move condition tests...
10735 * gdb.trace/trace-condition.exp: Here.
10736
10737 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10738
10739 * gdb.trace/trace-condition.exp: Add counter-case tests.
10740
10741 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10742
10743 PR c++/15231
10744 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10745 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10746
10747 2016-05-27 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10750 New procedure.
10751 (top level): Call it, and bail out of DejaGnu is known to be bad.
10752
10753 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10754
10755 * gdb.base/whatis.c: Extend the test case.
10756 * gdb.base/whatis.exp: Add additional tests.
10757
10758 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10759
10760 * gdb.fortran/type.f90: Add pointer variable.
10761 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10762
10763 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10764
10765 * gdb.fortran/vla-type.exp: Fix testcase name.
10766
10767 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10768
10769 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10770
10771 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10772
10773 * gdb.fortran/type.f90: Add nested structures.
10774 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10775 * gdb.fortran/derived-type.exp: Adapt expected output.
10776 * gdb.fortran/vla-type.exp: Adapt expected output.
10777
10778 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10779
10780 * gdb.fortran/whatis_type.exp: Adapt expected output.
10781
10782 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10783
10784 * gdb.fortran/print_type.exp: Fix expected output.
10785 * gdb.fortran/whatis_type.exp: Fix expected output.
10786
10787 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10788
10789 * gdb.fortran/whatis_type.exp: Use multi_line.
10790
10791 2016-05-24 Tom Tromey <tom@tromey.com>
10792
10793 PR python/17386:
10794 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10795 use value as an index.
10796
10797 2016-05-23 Tom Tromey <tom@tromey.com>
10798
10799 PR python/17981:
10800 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10801 no-breakpoint case.
10802
10803 2016-05-24 Pedro Alves <palves@redhat.com>
10804
10805 PR gdb/19828
10806 * gdb.threads/clone-attach-detach.c: New file.
10807 * gdb.threads/clone-attach-detach.exp: New file.
10808
10809 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10810
10811 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10812
10813 2016-05-23 Tom Tromey <tom@tromey.com>
10814
10815 PR python/19438, PR python/18393:
10816 * gdb.python/py-progspace.exp: Add "dir" test.
10817 * gdb.python/py-objfile.exp: Add "dir" test.
10818
10819 2016-05-23 Yao Qi <yao.qi@linaro.org>
10820
10821 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10822 * gdb.arch/thumb2-it.exp: Likewise.
10823
10824 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10825
10826 * gdb.mi/mi-threads-interrupt.c: New file.
10827 * gdb.mi/mi-threads-interrupt.exp: New file.
10828
10829 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10830
10831 PR gdb/18077
10832 * gdb.mi/mi-async-run.exp: New file.
10833 * gdb.mi/mi-async-run.c: New file.
10834
10835 2016-05-17 Tom Tromey <tom@tromey.com>
10836 Manish Goregaokar <manishsmail@gmail.com>
10837
10838 * lib/rust-support.exp: New file.
10839 * lib/gdb.exp (skip_rust_tests): New proc.
10840 (build_executable_from_specs): Handle rust.
10841 * lib/future.exp (gdb_find_rustc): New proc.
10842 (gdb_default_target_compile): Handle rust.
10843 * gdb.rust/expr.exp: New file.
10844 * gdb.rust/generics.exp: New file.
10845 * gdb.rust/generics.rs: New file.
10846 * gdb.rust/methods.exp: New file.
10847 * gdb.rust/methods.rs: New file.
10848 * gdb.rust/modules.exp: New file.
10849 * gdb.rust/modules.rs: New file.
10850 * gdb.rust/simple.exp: New file.
10851 * gdb.rust/simple.rs: New file.
10852
10853 2016-05-17 Tom Tromey <tom@tromey.com>
10854
10855 * gdb.base/default.exp (set language): Add rust.
10856
10857 2016-05-17 Tom Tromey <tom@tromey.com>
10858
10859 * gdb.gdb/unittest.exp: New file.
10860
10861 2016-05-16 Yao Qi <yao.qi@linaro.org>
10862
10863 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10864 shell_prompt. Update shell_prompt_re.
10865
10866 2016-05-12 Doug Evans <dje@google.com>
10867
10868 PR symtab/19999
10869 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10870 $options when building executable.
10871 * gdb.dwarf2/fission-loclists-pie.S: New file.
10872 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10873
10874 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10875
10876 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10877 of [is_remote target],
10878
10879 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10880
10881 * lib/gdb.exp (use_gdb_stub): New procedure.
10882
10883 2016-05-03 Yunlian Jiang <yunlian@google.com>
10884 Doug Evans <dje@google.com>
10885
10886 PR symtab/19914
10887 * gdb.dwarf2/dwp-sepdebug.c: New file.
10888 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10889
10890 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10891
10892 * gdb.base/detach.exp: Remove is_remote check.
10893
10894 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10895
10896 * gdb.base/annota-input-while-running.exp: Don't check for
10897 [is_remote target]. Enable annotations after running to main.
10898 Remove unused "set test..." line.
10899
10900 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10901
10902 * gdb.trace/trace-enable-disable.exp: New file.
10903 * gdb.trace/trace-enable-disable.c: New file.
10904
10905 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10906
10907 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10908 use it in info sharedlibrary test.
10909 * gdb.trace/ftrace-lock.exp: Likewise.
10910 * gdb.trace/ftrace.exp: Likewise.
10911 * gdb.trace/range-stepping.exp: Likewise.
10912 * gdb.trace/trace-break.exp: Likewise.
10913 * gdb.trace/trace-condition.exp: Likewise.
10914 * gdb.trace/trace-mt.exp: Likewise.
10915
10916 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10917
10918 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10919 (gdb_load_shlib): ... this.
10920 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10921 gdb_load_shlib.
10922 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10923 * gdb.base/ctxobj.exp: Likewise.
10924 * gdb.base/dprintf-pending.exp: Likewise.
10925 * gdb.base/dso2dso.exp: Likewise.
10926 * gdb.base/fixsection.exp: Likewise.
10927 * gdb.base/gcore-relro.exp: Likewise.
10928 * gdb.base/gdb1555.exp: Likewise.
10929 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10930 * gdb.base/gnu-ifunc.exp: Likewise.
10931 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10932 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10933 * gdb.base/pending.exp: Likewise.
10934 * gdb.base/print-file-var.exp: Likewise.
10935 * gdb.base/print-symbol-loading.exp: Likewise.
10936 * gdb.base/shlib-call.exp: Likewise.
10937 * gdb.base/shreloc.exp: Likewise.
10938 * gdb.base/so-impl-ld.exp: Likewise.
10939 * gdb.base/solib-disc.exp: Likewise.
10940 * gdb.base/solib-nodir.exp: Likewise.
10941 * gdb.base/solib-overlap.exp: Likewise.
10942 * gdb.base/solib-symbol.exp: Likewise.
10943 * gdb.base/solib-weak.exp (do_test): Likewise.
10944 * gdb.base/sym-file.exp: Likewise.
10945 * gdb.base/symtab-search-order.exp: Likewise.
10946 * gdb.base/type-opaque.exp: Likewise.
10947 * gdb.base/unload.exp: Likewise.
10948 * gdb.base/watchpoint-solib.exp: Likewise.
10949 * gdb.compile/compile.exp: Likewise.
10950 * gdb.cp/gdb2384.exp: Likewise.
10951 * gdb.cp/infcall-dlopen.exp: Likewise.
10952 * gdb.cp/re-set-overloaded.exp: Likewise.
10953 * gdb.fortran/library-module.exp: Likewise.
10954 * gdb.opt/solib-intra-step.exp: Likewise.
10955 * gdb.python/py-finish-breakpoint.exp: Likewise.
10956 * gdb.python/py-shared.exp: Likewise.
10957 * gdb.reverse/solib-precsave.exp: Likewise.
10958 * gdb.reverse/solib-reverse.exp: Likewise.
10959 * gdb.server/solib-list.exp: Likewise.
10960 * gdb.threads/dlopen-libpthread.exp: Likewise.
10961 * gdb.threads/tls-shared.exp: Likewise.
10962 * gdb.threads/tls-so_extern.exp: Likewise.
10963 * gdb.trace/change-loc.exp: Likewise.
10964 * gdb.trace/ftrace-lock.exp: Likewise.
10965 * gdb.trace/ftrace.exp: Likewise.
10966 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10967 * gdb.trace/pending.exp: Likewise.
10968 * gdb.trace/range-stepping.exp: Likewise.
10969 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10970 (strace_info_marker): Likewise.
10971 (strace_probe_marker): Likewise.
10972 (strace_trace_on_same_addr): Likewise.
10973 (strace_trace_on_diff_addr): Likewise.
10974 * gdb.trace/trace-break.exp: Likewise.
10975 * gdb.trace/trace-condition.exp: Likewise.
10976 * gdb.trace/trace-mt.exp: Likewise.
10977
10978 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10979
10980 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10981 result of gdb_remote_download.
10982 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10983 * gdb.base/dso2dso.exp: Likewise.
10984 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10985 * gdb.base/print-file-var.exp: Likewise.
10986 * gdb.base/shlib-call.exp: Likewise.
10987 * gdb.base/shreloc.exp: Likewise.
10988 * gdb.base/solib-overlap.exp: Likewise.
10989 * gdb.base/solib-weak.exp (do_test): Likewise.
10990 * gdb.base/unload.exp: Likewise.
10991
10992 2016-04-27 Yao Qi <yao.qi@linaro.org>
10993
10994 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10995 exists.
10996
10997 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10998
10999 * vla-type.exp: Print structure from toplevel.
11000
11001 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11002
11003 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11004 of dynamic types.
11005 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11006 of dynamic types.
11007
11008 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11009
11010 * gdb.fortran/vla-type.f90: New file.
11011 * gdb.fortran/vla-type.exp: New file.
11012
11013 2016-04-25 Yao Qi <yao.qi@linaro.org>
11014
11015 * gdb.base/branch-to-self.c: New file.
11016 * gdb.base/branch-to-self.exp: New file.
11017
11018 2016-04-22 Yao Qi <yao.qi@linaro.org>
11019
11020 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11021 more after $hex.
11022
11023 2016-04-22 Yao Qi <yao.qi@linaro.org>
11024
11025 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11026 * gdb.base/annota3.exp: Likewise.
11027
11028 2016-04-22 Yao Qi <yao.qi@linaro.org>
11029
11030 * gdb.reverse/step-precsave.exp: Do one step and test program
11031 stops in "callee" and do multiple steps until program goes out
11032 of "callee".
11033 * gdb.reverse/step-reverse.exp: Likewise.
11034
11035 2016-04-22 Yao Qi <yao.qi@linaro.org>
11036
11037 * gdb.trace/signal.exp: Also pass if
11038 $tracepoint_hits($i) > $iterations.
11039
11040 2016-04-22 Yao Qi <yao.qi@linaro.org>
11041
11042 * gdb.trace/signal.c: New file.
11043 * gdb.trace/signal.exp: New file.
11044
11045 2016-04-19 Doug Evans <xdje42@gmail.com>
11046
11047 * gdb.base/bad-file.exp: New file.
11048
11049 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11050
11051 * gdb.dwarf2/implref.exp: New file.
11052
11053 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11054
11055 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11056 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11057 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11058 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11059 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11060 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11061 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11062 * lib/fortran.exp (fortran_int4): New procedure.
11063 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11064 (fortran_logical4): Likewise.
11065
11066 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11067
11068 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11069
11070 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11071
11072 * lib/compiler.c: Add Intel specific preprocessor macros.
11073 * lib/compiler.cc: Likewise.
11074
11075 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11076
11077 * gdb.server/connect-with-no-symbol-file.c: New file.
11078 * gdb.server/connect-with-no-symbol-file.exp: New file.
11079
11080 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11081
11082 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11083
11084 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11085
11086 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11087 standard output directory.
11088
11089 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11090
11091 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11092
11093 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11094
11095 * gdb.btrace/instruction_history.c (loop): Add declaration.
11096
11097 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11098
11099 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11100
11101 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11102
11103 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11104 parentheses to print.
11105 (continue_handler): Likewise.
11106
11107 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11108
11109 * gdb.server/solib-list.exp: Remove is_remote check.
11110 Pass shlib= to gdb_compile. Don't link shared library with
11111 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11112 Run binary filename through "readlink -f" on the target.
11113
11114 2016-04-08 Pedro Alves <palves@redhat.com>
11115
11116 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11117 interpreter filename as argument to gdbserver_spawn.
11118 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11119 Return empty if $last_loaded_file does not exist.
11120
11121 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11122
11123 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11124 * gdb.base/jit-main.c: Use exit after usage.
11125
11126 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11127
11128 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11129 GDBHISTSIZE prior to the tests.
11130 * gdb.base/gdbinit-history.exp: Likewise.
11131
11132 2016-04-07 Pedro Alves <palves@redhat.com>
11133
11134 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11135 instead of build_executable. Use gdb_load_shlibs.
11136
11137 2016-04-07 Yao Qi <yao.qi@linaro.org>
11138
11139 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11140 Execute "si" command.
11141
11142 2016-04-07 Yao Qi <yao.qi@linaro.org>
11143
11144 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11145 number instead of the comments on some line.
11146
11147 2016-04-06 Don Breazeal <donb@codesourcery.com>
11148
11149 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11150 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11151
11152 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11153
11154 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11155 standard_output_file. Remove unused binfile variable.
11156
11157 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11158
11159 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11160 * gdb.python/py-mi-objfile.exp: Match "list main" output
11161 in console format.
11162
11163 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11164
11165 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11166 absolute.
11167
11168 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11169
11170 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11171 absolute.
11172 * gdb.trace/ftrace.exp: Likewise.
11173 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11174 targets as well.
11175 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11176 (gdb_load_shlibs): Copy libraries to test directory when testing
11177 natively. Only set solib-search-path if testing remotely.
11178 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11179
11180 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11181
11182 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11183 gdb_download. Use it even if the target is not remote.
11184 * gdb.base/jit.exp (compile_jit_test): Likewise.
11185 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11186 output directory if the destination board is local, otherwise use
11187 the standard remote_download from DejaGnu.
11188 (gdb_download): Remove.
11189 (gdb_load_shlibs): Use gdb_remote_download instead of
11190 gdb_download.
11191 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11192 Use gdb_remote_download instead of gdb_download. Use it even if
11193 the target is not remote.
11194 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11195 instead of gdb_download.
11196
11197 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11198
11199 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11200 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11201 run.
11202
11203 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11204
11205 PR gdb/19820
11206 * gdb.base/printcmds.exp: Add artificial arrays tests.
11207
11208 2016-03-31 Pedro Alves <palves@redhat.com>
11209
11210 PR gdb/19858
11211 * gdb.base/jit-main.c: Include unistd.h.
11212 (ATTACH): Define to 0 if not already defined.
11213 (wait_for_gdb, mypid): New globals.
11214 (WAIT_FOR_GDB): New macro.
11215 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11216 some breakpoint locations.
11217 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11218 New procedures.
11219 (one_jit_test): Add REATTACH parameter, and handle it. Use
11220 continue_to_test_location.
11221 (top level): Test attach, and adjusts calls to one_jit_test.
11222
11223 2016-03-31 Pedro Alves <palves@redhat.com>
11224
11225 PR gdb/19858
11226 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11227 BINSUFFIX parameter, and handle it.
11228 (top level): Adjust calls compile_jit_test.
11229
11230 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11231
11232 PR python/19743
11233 * gdb.python/py-mi-events-gdb.py: New file.
11234 * gdb.python/py-mi-events.c: New file.
11235 * gdb.python/py-mi-events.exp: New file.
11236
11237 2016-03-30 Yao Qi <yao.qi@linaro.org>
11238
11239 * gdb.reverse/until-precsave.exp: Match function name only.
11240 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11241 Move malloc to a condition block.
11242 * gdb.reverse/until-reverse.exp: Match function name only.
11243
11244 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11245
11246 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11247 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11248 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11249 variable for GPR 0 instead of assuming it is register 0.
11250 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11251 * lib/trace-support.exp: Add s390 registers.
11252
11253 2016-03-29 Yao Qi <yao.qi@linaro.org>
11254
11255 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11256
11257 2016-03-24 Yao Qi <yao.qi@linaro.org>
11258
11259 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11260 test message.
11261
11262 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11263
11264 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11265 maintaining separate logic for constructing the output path.
11266
11267 2016-03-16 Don Breazeal <donb@codesourcery.com>
11268
11269 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11270 Retry fork and waitpid on interrupted system call errors.
11271 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11272 Use with_timeout_factor to increase timeout by factor of 10.
11273
11274 2016-03-15 Don Breazeal <donb@codesourcery.com>
11275
11276 * gdb.cp/scope-err.cc: New test program.
11277 * gdb.cp/scope-err.exp: New test script.
11278 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11279 lines and "set breakpoint here" comment.
11280 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11281 Fixed some whitespace and format issues.
11282 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11283 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11284
11285 2016-03-15 Doug Evans <dje@google.com>
11286
11287 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11288 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11289 All callers updated. Add tests for enums, mixed flags register.
11290
11291 2016-03-15 Doug Evans <dje@google.com>
11292
11293 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11294 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11295
11296 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11297
11298 * gdb.base/default.exp: Add $_as_string to the list of expected
11299 convenience functions.
11300
11301 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11302
11303 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11304
11305 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11306
11307 * gdb.python/py-as-string.exp: New file.
11308 * gdb.python/py-as-string.c: New file.
11309
11310 2016-03-09 Pedro Alves <palves@redhat.com>
11311
11312 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11313 signal" -> "Thread NN received signal" output change.
11314 * gdb.threads/ia64-sigill.exp: Likewise.
11315 * gdb.threads/linux-dp.exp: Likewise.
11316 * gdb.threads/manythreads.exp: Likewise.
11317 * gdb.threads/pending-step.exp: Likewise.
11318 * gdb.threads/print-threads.exp: Likewise.
11319 * gdb.threads/sigstep-threads.exp: Likewise.
11320 * gdb.threads/staticthreads.exp: Likewise.
11321 * gdb.threads/tls.exp: Likewise.
11322
11323 2016-03-09 Pedro Alves <palves@redhat.com>
11324
11325 * gdb.base/command-line-input.exp: New file.
11326
11327 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11328
11329 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11330 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11331 * gdb.trace/pending.exp: Accept leading dot before function name.
11332 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11333 * lib/trace-support.exp: Set registers for ppc.
11334
11335 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11336
11337 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11338 use it for disassembly; accept .main in addition to main in backtrace.
11339
11340 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11341 Marcin Kościelnicki <koriakin@0x04.net>
11342
11343 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11344 (gdb_recursion_test_ptr): New global variable.
11345 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11346 gdb_recursion_test.
11347 (gdb_c_test): Ditto.
11348
11349 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11350
11351 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11352 ordering.
11353
11354 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11355
11356 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11357 (bar): Add bar_start_lbl label.
11358 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11359 of foo/bar for emitting DWARF and tracing.
11360
11361 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11362
11363 * analyze-racy-logs.py: Set executable bit.
11364
11365 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11366
11367 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11368 (CHECK_TARGET_TMP): Likewise.
11369 (check-single-racy): New rule.
11370 (check-parallel-racy): Likewise.
11371 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11372 (do-check-parallel-racy): New rule.
11373 (check-racy/%.exp): Likewise.
11374 * README (Racy testcases): New section.
11375 * analyze-racy-logs.py: New file.
11376
11377 2016-03-03 Doug Evans <dje@google.com>
11378
11379 * gdb.base/skip.exp: Use with_test_prefix.
11380
11381 2016-03-03 Yao Qi <yao.qi@linaro.org>
11382
11383 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11384 Invoke step_over_syscall "clone" and break_cond_on_syscall
11385 "clone".
11386 * gdb.base/step-over-clone.c: New file.
11387
11388 2016-03-03 Yao Qi <yao.qi@linaro.org>
11389
11390 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11391 code format.
11392
11393 2016-03-03 Yao Qi <yao.qi@linaro.org>
11394
11395 * gdb.base/disp-step-fork.c: Rename to ...
11396 * gdb.base/step-over-fork.c: ... it. New file.
11397 * gdb.base/disp-step-vfork.c: Rename to ...
11398 * gdb.base/step-over-vfork.c: ... it. New file.
11399 * gdb.base/disp-step-syscall.exp: Rename to ...
11400 * gdb.base/step-over-syscall.exp: ... it. New file.
11401 (disp_step_cross_syscall): Rename to ...
11402 (step_over_syscall): ... it.
11403
11404 2016-03-03 Yao Qi <yao.qi@linaro.org>
11405
11406 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11407 If target supports condition evaluation on target, invoke
11408 break_cond_on_syscall for fork and vfork.
11409
11410 2016-03-03 Yao Qi <yao.qi@linaro.org>
11411
11412 * gdb.base/disp-step-syscall.exp: Don't invoke
11413 support_displaced_stepping.
11414 (disp_step_cross_syscall): Test with displaced stepping off and
11415 on if supported.
11416
11417 2016-03-03 Yao Qi <yao.qi@linaro.org>
11418
11419 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11420 proc.
11421 (setup): New proc.
11422 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11423 and setup.
11424
11425 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11426
11427 * gdb.fortran/vla-history.exp: Remove breakpoint.
11428
11429 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11430
11431 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11432 exceeds timeout.
11433
11434 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11435
11436 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11437 breakpoint.
11438
11439 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11440
11441 * gdb.mi/vla.f90: Nullify pointer after declaration.
11442
11443 2016-03-01 Pedro Alves <palves@redhat.com>
11444
11445 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11446
11447 2016-03-01 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11450 before anything else.
11451 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11452 _GNU_SOURCE here.
11453 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11454 before anything else.
11455 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11456
11457 2016-03-01 Pedro Alves <palves@redhat.com>
11458
11459 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11460
11461 2016-03-01 Yao Qi <yao.qi@linaro.org>
11462
11463 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11464 prepare_for_testing.
11465
11466 2016-03-01 Yao Qi <yao.qi@linaro.org>
11467
11468 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11469
11470 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11471
11472 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11473 manually constructing the output path.
11474
11475 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11476
11477 * gdb.arch/s390-stackless.S: New.
11478 * gdb.arch/s390-stackless.exp: New.
11479
11480 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11481
11482 * gdb.dlang/circular.c: New file.
11483 * gdb.dlang/circular.exp: New file.
11484
11485 2016-02-26 Yao Qi <yao.qi@linaro.org>
11486
11487 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11488 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11489 (testcases): Update.
11490
11491 2016-02-26 Yao Qi <yao.qi@linaro.org>
11492
11493 * gdb.reverse/aarch64.c: Rename to ...
11494 * gdb.reverse/insn-reverse.c: ... it.
11495 * gdb.reverse/aarch64.exp: Rename to ...
11496 * gdb.reverse/insn-reverse.exp: ... it.
11497
11498 2016-02-26 Yao Qi <yao.qi@linaro.org>
11499
11500 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11501 (testcase_ftype): New.
11502 (testcases): New array.
11503 (n_testcases): New.
11504 (main): Call each element in testcases.
11505 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11506 (read_testcase): New.
11507 Do the tests in a loop.
11508
11509 2016-02-25 Yao Qi <yao.qi@linaro.org>
11510
11511 * gdb.base/branches.c: Remove.
11512
11513 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11514
11515 PR gdb/13808
11516 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11517
11518 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11519
11520 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11521
11522 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11523
11524 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11525 change x86_64 call_insn to 'callq'.
11526
11527 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11528
11529 * gdb.trace/tfile-avx.c: Move to...
11530 * gdb.trace/tracefile-pseudo-reg.c: Here.
11531 * gdb.trace/tfile-avx.exp: Move to...
11532 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11533
11534 2016-02-24 Gary Benson <gbenson@redhat.com>
11535
11536 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11537 message on attach.
11538
11539 2016-02-23 Doug Evans <dje@google.com>
11540
11541 * gdb.base/skip.c (test_skip): New function.
11542 (end_test_skip_file_and_function): New function.
11543 (test_skip_file_and_function): New function.
11544 * gdb.base/skip1.c (test_skip): New function.
11545 (skip1_test_skip_file_and_function): New function.
11546 * gdb.base/skip.exp: Add tests for new skip options.
11547 * gdb.base/skip-solib.exp: Update expected output.
11548 * gdb.perf/skip-command.cc: New file.
11549 * gdb.perf/skip-command.exp: New file.
11550 * gdb.perf/skip-command.py: New file.
11551
11552 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11553
11554 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11555 info registers pattern.
11556
11557 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11558
11559 * lib/future.exp: Add D support.
11560 (gdb_find_gdc): New proc.
11561 (gdb_default_target_compile): Add D support.
11562
11563 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11564
11565 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11566 user+system time.
11567 (trace_speed_test): Determine the iteration count for a time
11568 between 15..30 seconds.
11569
11570 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11571
11572 * gdb.arch/i386-mpx-sigsegv.c: New file.
11573 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11574 * gdb.arch/i386-mpx-simple_segv.c: New file.
11575 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11576
11577 2016-02-18 Yao Qi <yao.qi@linaro.org>
11578
11579 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11580 Don't call setup_kfail.
11581
11582 2016-02-18 Yao Qi <yao.qi@linaro.org>
11583
11584 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11585 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11586
11587 2016-02-16 Doug Evans <dje@google.com>
11588
11589 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11590 * gdb.base/skip1.c: Ditto.
11591 * gdb.base/skip.exp: Whitespace cleanup.
11592
11593 2016-02-16 Don Breazeal <donb@codesourcery.com>
11594
11595 PR remote/19496
11596 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11597 Remove kfail for PR remote/19496.
11598
11599 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11600
11601 * lib/gdb.exp (standard_temp_file): Return a path specific to
11602 the runtest invocation.
11603
11604 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11605
11606 * gdb.trace/save-trace.exp: Change relative path to be in the
11607 standard output directory.
11608
11609 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11610
11611 * gdb.arch/i386-prologue.c: Add missing prototypes.
11612
11613 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11614
11615 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11616 * gdb.arch/i386-prologue.exp: Likewise.
11617 * gdb.arch/i386-size.exp: Likewise.
11618
11619 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11620
11621 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11622 define object file path.
11623 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11624 file path.
11625 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11626 standard_output_file to define binfile.
11627
11628 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11629
11630 Fix compatibility with recent gfortran-5.3.1.
11631 * gdb.fortran/vla-history.exp (print vla1 allocated)
11632 (print vla2 allocated, print $2, print $3): Remove
11633 (print $4): Rename to ...
11634 (print $2): ... here.
11635 (print $9): Rename to ...
11636 (print $5): ... here.
11637 (print $10): Rename to ...
11638 (print $6): ... here.
11639 * gdb.fortran/vla.f90: Add pvla initialization.
11640
11641 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11642
11643 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11644 New test.
11645 * gdb.fortran/vla-value-sub.exp: Likewise.
11646
11647 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11648
11649 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11650
11651 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11652
11653 * i386-biarch-core.exp: Define corefile using
11654 standard_output_file.
11655
11656 2016-02-12 Yao Qi <yao.qi@linaro.org>
11657
11658 * gdb.arch/arm-single-step-kernel-helper.c: New.
11659 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11660
11661 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11662
11663 * gdb.btrace/tailcall-only.exp: New.
11664 * gdb.btrace/tailcall-only.c: New.
11665 * gdb.btrace/x86_64-tailcall-only.S: New.
11666 * gdb.btrace/i686-tailcall-only.S: New.
11667
11668 2016-02-11 Pedro Alves <palves@redhat.com>
11669
11670 * README (Parallel testing): Add missing double quotes.
11671
11672 2016-02-11 Pedro Alves <palves@redhat.com>
11673
11674 * README (Parallel testing): New section.
11675 (GDB_PARALLEL): Rewrite.
11676 (FORCE_PARALLEL): Document.
11677
11678 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11679
11680 * gdb.trace/tfile-avx.c: New test.
11681 * gdb.trace/tfile-avx.exp: New test.
11682
11683 2016-02-09 Keith Seitz <keiths@redhat.com>
11684
11685 PR breakpoints/19546
11686 * gdb.base/infcall-exec.c: New file.
11687 * gdb.base/infcall-exec2.c: New file.
11688 * gdb.base/infcall-exec.exp: New file.
11689
11690 2016-02-09 Keith Seitz <keiths@redhat.com>
11691
11692 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11693 (toplevel): Call test_bkpt_address.
11694
11695 2016-02-09 Keith Seitz <keiths@redhat.com>
11696
11697 PR python/19506
11698 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11699 (toplevel): Call test_bkpt_address.
11700
11701 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11702
11703 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11704 to AC_OUTPUT.
11705 * configure: Regenerate.
11706
11707 2016-02-09 Pedro Alves <palves@redhat.com>
11708
11709 PR breakpoints/19548
11710 * gdb.base/execl-update-breakpoints.c (some_function): New
11711 function.
11712 (main): Call it.
11713 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11714 Tighten expected GDB output.
11715
11716 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11717
11718 * Makefile.in (ALL_SUBDIRS): Remove.
11719 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11720 (distclean maintainer-clean realclean): Likewise.
11721 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11722 * configure: Regenerate.
11723 * gdb.ada/Makefile.in: Delete.
11724 * gdb.arch/Makefile.in: Likewise.
11725 * gdb.asm/Makefile.in: Likewise.
11726 * gdb.base/Makefile.in: Likewise.
11727 * gdb.btrace/Makefile.in: Likewise.
11728 * gdb.cell/Makefile.in: Likewise.
11729 * gdb.compile/Makefile.in: Likewise.
11730 * gdb.cp/Makefile.in: Likewise.
11731 * gdb.disasm/Makefile.in: Likewise.
11732 * gdb.dlang/Makefile.in: Likewise.
11733 * gdb.dwarf2/Makefile.in: Likewise.
11734 * gdb.fortran/Makefile.in: Likewise.
11735 * gdb.gdb/Makefile.in: Likewise.
11736 * gdb.go/Makefile.in: Likewise.
11737 * gdb.guile/Makefile.in: Likewise.
11738 * gdb.java/Makefile.in: Likewise.
11739 * gdb.linespec/Makefile.in: Likewise.
11740 * gdb.mi/Makefile.in: Likewise.
11741 * gdb.modula2/Makefile.in: Likewise.
11742 * gdb.multi/Makefile.in: Likewise.
11743 * gdb.objc/Makefile.in: Likewise.
11744 * gdb.opencl/Makefile.in: Likewise.
11745 * gdb.opt/Makefile.in: Likewise.
11746 * gdb.pascal/Makefile.in: Likewise.
11747 * gdb.perf/Makefile.in: Likewise.
11748 * gdb.python/Makefile.in: Likewise.
11749 * gdb.reverse/Makefile.in: Likewise.
11750 * gdb.server/Makefile.in: Likewise.
11751 * gdb.stabs/Makefile.in: Likewise.
11752 * gdb.threads/Makefile.in: Likewise.
11753 * gdb.trace/Makefile.in: Likewise.
11754 * gdb.xml/Makefile.in: Likewise.
11755 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11756 GDB_PARALLEL.
11757 (standard_output_file): Remove check for GDB_PARALLEL, always
11758 return path in outputs/$subdir/$testname.
11759
11760 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11761
11762 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11763 (site.exp): Assign abs_srcdir to tcl's srcdir.
11764
11765 2016-02-04 Yao Qi <yao.qi@linaro.org>
11766
11767 * gdb.base/foll-exec-mode.c: Include limits.h.
11768 (main): Add parameters argc and argv. Get directory from
11769 argv[0].
11770 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11771 compilation.
11772 * gdb.base/foll-exec.c: Include limits.h.
11773 (main): Add parameters argc and argv.
11774 Get directory from argv[0].
11775 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11776 Adjust tests on the number of lines as source code changed.
11777 * gdb.base/foll-vfork-exit.c: Include limits.h.
11778 (main): Add one line of statement before vfork.
11779 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11780 (main): Add parameters argc and argv. Get directory from
11781 argv[0].
11782 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11783 (setup_gdb): Set tbreak to skip some source lines.
11784 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11785 (main): Add parameters argc and argv. Get directory from
11786 argv[0].
11787 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11788 compilation.
11789 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11790 (main): Add parameters argc and argv. Get directory from
11791 argv[0].
11792 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11793 compilation.
11794
11795 2016-02-01 Doug Evans <dje@google.com>
11796
11797 * gdb.base/skip.exp: Clean up multiple references to same test name.
11798
11799 2016-02-01 Pedro Alves <palves@redhat.com>
11800
11801 PR remote/19496
11802 * gdb.threads/forking-threads-plus-breakpoint.exp
11803 (displaced_stepping_supported): New global.
11804 (probe_displaced_stepping_support): New procedure.
11805 (do_test): Add 'displaced' parameter, and use it.
11806 (top level): Check for displaced stepping support. Add displaced
11807 stepping on/off testing axis.
11808
11809 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11810
11811 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11812 pointer. Don't perform further tests on the unassociated pointer
11813 if the first test fails.
11814
11815 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11816
11817 * gdb.base/max-value-size.c: New file.
11818 * gdb.base/max-value-size.exp: New file.
11819 * gdb.base/huge.exp: Disable max-value-size for this test.
11820
11821 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11822
11823 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11824
11825 2016-01-28 Yao Qi <yao.qi@linaro.org>
11826
11827 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11828
11829 2016-01-25 Pedro Alves <palves@redhat.com>
11830
11831 PR threads/19461
11832 * gdb.base/fork-running-state.c: New file.
11833 * gdb.base/fork-running-state.exp: New file.
11834
11835 2016-01-25 Pedro Alves <palves@redhat.com>
11836
11837 PR gdb/19494
11838 * gdb.base/catch-fork-kill.c: New file.
11839 * gdb.base/catch-fork-kill.exp: New file.
11840
11841 2016-01-25 Pedro Alves <palves@redhat.com>
11842
11843 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11844 Delete, moved to lib/gdb.exp.
11845 * gdb.threads/forking-threads-plus-breakpoint.exp
11846 (foreach_with_prefix): Likewise.
11847 * gdb.threads/process-dies-while-handling-bp.exp
11848 (foreach_with_prefix): Likewise.
11849 * lib/gdb.exp (foreach_with_prefix): New procedure.
11850
11851 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11852
11853 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11854 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11855
11856 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11857
11858 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11859 endian targets.
11860
11861 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11862 Pedro Alves <palves@redhat.com>
11863
11864 Fix testsuite compatibility with Guile.
11865 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11866 number.
11867
11868 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11869
11870 Fix testsuite compatibility with Guile.
11871 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11872 (thread 1): New test for backtrace through signal handler.
11873
11874 2016-01-22 Yao Qi <yao.qi@linaro.org>
11875
11876 PR testsuite/19491
11877 * gdb.base/multi-forks.c: Include
11878 ../lib/unbuffer_output.c
11879 (main): Call gdb_unbuffer_output.
11880
11881 2016-01-21 Doug Evans <dje@google.com>
11882
11883 * lib/ada.exp (gdb_compile_ada): Fix typo.
11884
11885 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11886
11887 * gdb.base/break-fun-addr.exp: New file.
11888 * gdb.base/break-fun-addr1.c: New file.
11889 * gdb.base/break-fun-addr2.c: New file.
11890
11891 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11892
11893 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11894 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11895 enum flag values.
11896
11897 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11898
11899 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11900 when GDB can not set the vector return value. Add more comments
11901 for clarification.
11902
11903 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11904
11905 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11906 command.
11907
11908 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11909
11910 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11911
11912 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11913
11914 * Makefile.in (check-single): Pass --status to runtest.
11915 (check/%.exp): Likewise.
11916
11917 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11918
11919 * Makefile.in (check-parallel): Propagate return code from make
11920 do-check-parallel.
11921
11922 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11923
11924 * gdb.trace/ftrace.exp: Fix expected message on continue.
11925 * gdb.trace/pending.exp: Fix expected message on continue.
11926 * gdb.trace/trace-break.exp: Fix expected message on continue.
11927
11928 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11929
11930 * lib/gdb.exp (gdb_test): Remove unused global references.
11931
11932 2016-01-18 Pedro Alves <palves@redhat.com>
11933
11934 * gdb.base/async-shell.exp: Adjust expected output.
11935 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11936 * gdb.base/siginfo-thread.exp: Adjust expected output.
11937 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11938 * gdb.java/jnpe.exp: Adjust expected output.
11939 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11940 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11941 * gdb.threads/leader-exit.exp: Adjust expected output.
11942 * gdb.threads/manythreads.exp: Adjust expected output.
11943 * gdb.threads/pthreads.exp: Adjust expected output.
11944 * gdb.threads/schedlock.exp: Adjust expected output.
11945 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11946 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11947 expected output.
11948 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11949 output.
11950 * gdb.threads/sigthread.exp: Adjust expected output.
11951 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11952
11953 2016-01-18 Yao Qi <yao.qi@linaro.org>
11954
11955 * gdb.guile/scm-section-script.c: Replace @progbits with
11956 %progbits.
11957 * gdb.python/py-section-script.c: Likewise.
11958
11959 2016-01-15 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.multi/tids.exp: Test star wildcard ranges.
11962
11963 2016-01-15 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11966 command from "thread apply" invocation.
11967 (thr_apply_info_thr_invalid): Default the expected output to the
11968 input tid list.
11969 (top level): Add tests that use convenience variables. Add tests
11970 for "thread apply" with a valid TID list, but missing the command.
11971
11972 2016-01-13 Pedro Alves <palves@redhat.com>
11973
11974 * gdb.base/default.exp: Expect $_gthread as well.
11975 * gdb.multi/tids.exp: Test $_gthread.
11976 * gdb.threads/thread-specific.exp: Test $_gthread.
11977
11978 2016-01-13 Pedro Alves <palves@redhat.com>
11979
11980 * gdb.multi/tids.exp: Test "info threads -gid".
11981
11982 2016-01-13 Pedro Alves <palves@redhat.com>
11983
11984 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11985 Breakpoint.thread.
11986 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11987
11988 2016-01-07 Pedro Alves <palves@redhat.com>
11989
11990 * gdb.base/break.exp: Adjust to output changes.
11991 * gdb.base/hbreak2.exp: Likewise.
11992 * gdb.base/sepdebug.exp: Likewise.
11993 * gdb.base/watch_thread_num.exp: Likewise.
11994 * gdb.linespec/keywords.exp: Likewise.
11995 * gdb.multi/info-threads.exp: Likewise.
11996 * gdb.threads/thread-find.exp: Likewise.
11997 * gdb.multi/tids.c: New file.
11998 * gdb.multi/tids.exp: New file.
11999
12000 2016-01-13 Pedro Alves <palves@redhat.com>
12001
12002 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12003
12004 2016-01-13 Pedro Alves <palves@redhat.com>
12005
12006 * gdb.base/default.exp: Expect $_inferior as well.
12007 * gdb.multi/base.exp: Test $_inferior.
12008
12009 2016-01-13 Pedro Alves <palves@redhat.com>
12010
12011 PR breakpoints/19388
12012 * gdb.base/catch-signal-siginfo-cond.c: New file.
12013 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12014
12015 2016-01-12 Josh Stone <jistone@redhat.com>
12016 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12017
12018 * gdb.base/catch-syscall.c (do_execve): New variable.
12019 (main): Conditionally trigger an execve.
12020 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12021 (test_catch_syscall_execve): New, check entry/return across execve.
12022 (do_syscall_tests): Call test_catch_syscall_execve.
12023
12024 2016-01-12 Pedro Alves <palves@redhat.com>
12025
12026 * gdb.base/random-signal.exp (do_test): New procedure, with body
12027 of testcase moved in.
12028
12029 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12030 Pedro Alves <palves@redhat.com>
12031
12032 * gdb.base/funcargs.exp (finish from indirectly called function):
12033 Reintroduce the case for 'First'.
12034
12035 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12036 Pedro Alves <palves@redhat.com>
12037
12038 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12039 (tcatch_vfork_then_child_follow_exec)
12040 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12041 identification.
12042
12043 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12044
12045 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12046 and repeats to unlimited.
12047 * gdb.python/py-value.exp: Likewise.
12048 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12049 and repeats to unlimited.
12050
12051 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12052
12053 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12054 and reordering the functions.
12055 * gdb.multi/hangout.c: Likewise.
12056 * gdb.multi/hello.c: Likewise.
12057
12058 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12059
12060 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12061 absolute.
12062 (SingleStatisticTestResult.report): Use dict.keys instead of
12063 dict.iterkeys.
12064
12065 2016-01-06 Pedro Alves <palves@redhat.com>
12066
12067 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12068
12069 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12070
12071 * gdb.btrace/dlopen.exp: New.
12072 * gdb.btrace/dlopen.c: New.
12073 * gdb.btrace/dlopen-dso.c: New.
12074
12075 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12076
12077 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12078 PATTERN argument is optional.
12079
12080 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12081
12082 * lib/ada.exp (target_compile_ada_from_dir): New function.
12083 (gdb_compile_ada): Reimplement avoiding the use of project files.
12084 * gdb.ada/gnat_ada.gpr: Delete.
12085 * gdb.ada/cond_lang.exp: Adjust test to make path before
12086 filename optional.
12087 * gdb.ada/small_reg_param.exp: Likewise.
12088
12089 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12090
12091 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12092
12093 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12094
12095 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12096 case.
12097
12098 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12099
12100 * gdb.base/break.exp: Remove dead code.
12101 * gdb.base/sepdebug.exp: Likewise.
12102
12103 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12104
12105 * gdb.asm/asm-source.exp: Remove HP-UX references.
12106 * gdb.base/annota1.exp: Likewise.
12107 * gdb.base/annota3.exp: Likewise.
12108 * gdb.base/attach.exp: Likewise.
12109 * gdb.base/bigcore.exp: Likewise.
12110 * gdb.base/break.exp: Likewise.
12111 * gdb.base/call-ar-st.exp: Likewise.
12112 * gdb.base/callfuncs.exp: Likewise.
12113 * gdb.base/catch-fork-static.exp: Likewise.
12114 * gdb.base/display.exp: Likewise.
12115 * gdb.base/foll-exec-mode.exp: Likewise.
12116 * gdb.base/foll-exec.exp: Likewise.
12117 * gdb.base/foll-fork.exp: Likewise.
12118 * gdb.base/foll-vfork.exp: Likewise.
12119 * gdb.base/funcargs.exp: Likewise.
12120 * gdb.base/hbreak2.exp: Likewise.
12121 * gdb.base/inferior-died.exp: Likewise.
12122 * gdb.base/interrupt.exp: Likewise.
12123 * gdb.base/multi-forks.exp: Likewise.
12124 * gdb.base/nodebug.exp: Likewise.
12125 * gdb.base/sepdebug.exp: Likewise.
12126 * gdb.base/solib1.c: Likewise.
12127 * gdb.base/step-test.exp: Likewise.
12128 * gdb.mi/non-stop.c: Likewise.
12129 * gdb.mi/pthreads.c: Likewise.
12130 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12131 * gdb.threads/pthreads.c: Likewise.
12132 * gdb.threads/staticthreads.exp: Likewise.
12133 * lib/future.exp: Likewise.
12134 * lib/gdb.exp: Likewise.
12135 * gdb.base/so-indr-cl.c: Remove.
12136 * gdb.base/so-indr-cl.exp: Likewise.
12137 * gdb.base/solib.c: Likewise.
12138 * gdb.base/solib.exp: Likewise.
12139 * gdb.base/solib2.c: Likewise.
12140
12141 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12142
12143 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12144 * gdb.base/call-ar-st.exp: Likewise.
12145 * gdb.base/callfuncs.exp: Likewise.
12146 * gdb.base/condbreak.exp: Likewise.
12147 * gdb.base/constvars.exp: Likewise.
12148 * gdb.base/hbreak2.exp: Likewise.
12149 * gdb.base/langs.exp: Likewise.
12150 * gdb.base/list.exp: Likewise.
12151 * gdb.base/long_long.exp: Likewise.
12152 * gdb.base/ptype.exp: Likewise.
12153 * gdb.base/scope.exp: Likewise.
12154 * gdb.base/signals.exp: Likewise.
12155 * gdb.base/so-impl-ld.exp: Likewise.
12156 * gdb.base/varargs.exp: Likewise.
12157 * gdb.base/volatile.exp: Likewise.
12158 * gdb.base/whatis.exp: Likewise.
12159 * gdb.cp/cplusfuncs.exp: Likewise.
12160 * gdb.cp/inherit.exp: Likewise.
12161 * gdb.cp/local.exp: Likewise.
12162 * gdb.cp/member-ptr.exp: Likewise.
12163 * gdb.cp/method.exp: Likewise.
12164 * gdb.cp/overload.exp: Likewise.
12165 * gdb.cp/templates.exp: Likewise.
12166 * gdb.stabs/weird.exp: Likewise.
12167 * lib/compiler.c: Likewise.
12168 * lib/compiler.cc: Likewise.
12169 * lib/cp-support.exp: Likewise.
12170 * lib/gdb.exp: Likewise.
12171
12172 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12173
12174 * configure.ac: Remove HP-UX case.
12175 * configure: Regenerate.
12176
12177 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12178
12179 * lib/gdb.exp (gdb_compile): Add function doc.
12180
12181 2015-12-17 Pedro Alves <palves@redhat.com>
12182
12183 PR threads/19354
12184 * gdb.multi/info-threads.exp: New file.
12185
12186 2015-12-15 Yao Qi <yao.qi@linaro.org>
12187
12188 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12189 is aarch64*-*-*.
12190
12191 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12192
12193 * gdb.base/history-duplicates.exp: Skip if no readline support.
12194
12195 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12196
12197 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12198
12199 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12200
12201 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12202
12203 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12204
12205 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12206 ctrl-C if nointerrupts target property is set.
12207 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12208 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12209 * gdb.base/paginate-bg-execution.exp: Likewise.
12210 * gdb.base/paginate-execution-startup.exp: Likewise.
12211 * gdb.base/random-signal.exp: Likewise.
12212 * gdb.base/range-stepping.exp: Likewise.
12213 * gdb.cp/annota2.exp: Likewise.
12214 * gdb.cp/annota3.exp: Likewise.
12215 * gdb.gdb/selftest.exp: Likewise.
12216 * gdb.threads/continue-pending-status.exp: Likewise.
12217 * gdb.threads/leader-exit.exp: Likewise.
12218 * gdb.threads/manythreads.exp: Likewise.
12219 * gdb.threads/pthreads.exp: Likewise.
12220 * gdb.threads/schedlock.exp: Likewise.
12221 * gdb.threads/sigthread.exp: Likewise.
12222
12223 2015-12-11 Don Breazeal <donb@codesourcery.com>
12224
12225 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12226 remote.
12227 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12228 * gdb.base/foll-exec.exp (main): Enable for target remote.
12229 * gdb.base/foll-fork.exp (main): Likewise.
12230 * gdb.base/foll-vfork.exp (main): Likewise.
12231 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12232 (proc continue_to_exit_bp_loc): Use clean_restart.
12233 * gdb.base/pie-execl.exp (main): Disable for target remote.
12234 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12235 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12236 * gdb.threads/execl.exp (main): Likewise.
12237 * gdb.threads/fork-child-threads.exp (main): Likewise.
12238 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12239 remote.
12240 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12241 remote.
12242 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12243 pid.tid style ptids, instead of just tid.
12244 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12245 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12246 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12247 ptids, instead of just tid.
12248
12249 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12250
12251 * gdb.base/list.exp (test_list_forward): Add end of file error
12252 test.
12253 (test_repeat_list_command): Add end of file error test.
12254 (test_list_backwards): Add beginning of file error test.
12255
12256 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12257
12258 * gdb.base/list.exp (test_list_invalid_args): New function,
12259 defined, and called.
12260
12261 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12262
12263 * gdb.base/list.exp (test_list): Make test names unique.
12264
12265 2015-12-11 Yao Qi <yao.qi@linaro.org>
12266
12267 * gdb.base/coremaker2.c: Remove.
12268
12269 2015-12-10 Pedro Alves <palves@redhat.com>
12270
12271 * gdb.multi/base.exp: Remove stale "spaces" references.
12272
12273 2015-12-10 Pedro Alves <palves@redhat.com>
12274
12275 * gdb.multi/base.exp: Don't use nowarnings.
12276 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12277 * gdb.multi/hangout.c: Include stdio.h.
12278 * gdb.multi/hello.c: Include stdlib.h.
12279 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12280 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12281 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12282
12283 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12284
12285 * gdb.dwarf2/dw2-ranges-base.c: New file.
12286 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12287 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12288 support additional line table, and debug ranges generation.
12289 (Dwarf::ranges): New function, generate .debug_ranges.
12290 (Dwarf::lines): Support generating simple line table programs.
12291 (Dwarf::assemble): Initialise new namespace variables.
12292
12293 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12294
12295 * gdb.base/async.exp (proc test_background): Add case for
12296 asynchronous execution not supported.
12297
12298 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12299
12300 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12301 format and change test names to make them unique.
12302
12303 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12304 Pedro Alves <pedro@redhat.com>
12305
12306 PR gdb/18702
12307 Add checking of floatformats setup on x86_64 hosts.
12308 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12309 (smallval, bigval): New labels/constants.
12310 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12311 float" after loading bigval and smallval.
12312
12313 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12314
12315 * gdb.ada/fun_overload_menu.exp: New testcase.
12316 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12317
12318 2015-12-04 Josh Stone <jistone@redhat.com>
12319
12320 * gdb.base/catch-fork-static.exp: New.
12321
12322 2015-12-03 Yao Qi <yao.qi@linaro.org>
12323
12324 * gdb.base/sizeof.c: Don't include stdio.h and
12325 ../lib/unbuffer_output.c.
12326 (main): New variable 'size' and 'value'. Remove printf and
12327 gdb_unbuffer_output. Assign return value to size and value.
12328 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12329 at the beginning.
12330 (check_sizeof): Check the result by printing variable 'size'.
12331 (check_valueof): Check the result by printing variable 'value'.
12332
12333 2015-12-01 Yao Qi <yao.qi@linaro.org>
12334
12335 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12336 for aarch64*-*-linux* target.
12337
12338 2015-11-30 Pedro Alves <palves@redhat.com>
12339
12340 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12341
12342 2015-11-30 Pedro Alves <palves@redhat.com>
12343
12344 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12345 Handle non-stop mode vCont replies.
12346
12347 2015-11-30 Pedro Alves <palves@redhat.com>
12348
12349 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12350 prepare_for_testing. Start gdb with "set non-stop on" appended to
12351 GDBFLAGS. Lax expected stop output.
12352
12353 2015-11-27 Yao Qi <yao.qi@linaro.org>
12354
12355 * gdb.arch/arm-neon.exp: New.
12356 * gdb.arch/arm-neon.c: New.
12357
12358 2015-11-27 Yao Qi <yao.qi@linaro.org>
12359
12360 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12361
12362 2015-11-27 Yao Qi <yao.qi@linaro.org>
12363
12364 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12365 frames-invalid annotation.
12366
12367 2015-11-27 Yao Qi <yao.qi@linaro.org>
12368
12369 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12370
12371 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12372
12373 * gdb.threads/names.exp: New file.
12374 * gdb.threads/names.c: New file.
12375 * README: Mention gdb,no_thread_names.
12376
12377 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12378
12379 PR 19297
12380 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12381 support" error.
12382
12383 2015-11-24 Pedro Alves <palves@redhat.com>
12384
12385 PR 17539
12386 * gdb.base/display.exp: Expect displays to be sorted in ascending
12387 order. Use multi_line.
12388 * gdb.base/solib-display.exp: Likewise.
12389
12390 2015-11-24 Pedro Alves <palves@redhat.com>
12391
12392 PR 17539
12393 * gdb.base/display.exp: Expect displays to be sorted in ascending
12394 order. Use multi_line.
12395 * gdb.base/solib-display.exp: Likewise.
12396
12397 2015-11-24 Pedro Alves <palves@redhat.com>
12398
12399 PR 17539
12400 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12401 threads in ascending order.
12402 * gdb.base/foll-fork.exp: Likewise.
12403 * gdb.base/foll-vfork.exp: Likewise.
12404 * gdb.base/multi-forks.exp: Likewise.
12405 * gdb.mi/mi-nonstop.exp: Likewise.
12406 * gdb.mi/mi-nsintrall.exp: Likewise.
12407 * gdb.multi/base.exp: Likewise.
12408 * gdb.multi/multi-arch.exp: Likewise.
12409 * gdb.python/py-inferior.exp: Likewise.
12410 * gdb.threads/break-while-running.exp: Likewise.
12411 * gdb.threads/execl.exp: Likewise.
12412 * gdb.threads/gcore-thread.exp: Likewise.
12413 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12414 * gdb.threads/kill.exp: Likewise.
12415 * gdb.threads/linux-dp.exp: Likewise.
12416 * gdb.threads/multiple-step-overs.exp: Likewise.
12417 * gdb.threads/next-bp-other-thread.exp: Likewise.
12418 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12419 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12420 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12421 * gdb.threads/thread-find.exp: Likewise.
12422 * gdb.threads/tls.exp: Likewise.
12423 * lib/mi-support.exp (mi_reverse_list): Delete.
12424 (mi_check_thread_states): No longer reverse list.
12425
12426 2015-11-24 Pedro Alves <palves@redhat.com>
12427
12428 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12429 use lowercase.
12430
12431 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12432
12433 * gdb.trace/actions.c: Include trace-common.h.
12434 (main): Add a location for a fast tracepoint.
12435 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12436 the normal tracepoints.
12437 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12438
12439 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12440
12441 * save-trace.exp: Factor out code to these...
12442 (gdb_save_tracepoints): New.
12443 (gdb_load_tracepoints): New.
12444 (do_save_load_test): New.
12445
12446 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12447
12448 * gdb.base/asmlabel.exp: New test.
12449 * gdb.base/asmlabel.c: New test case.
12450
12451 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12452
12453 * gdb.base/wrong_frame_bt_full-main.c: New file.
12454 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12455 * gdb.base/wrong_frame_bt_full.exp: New file.
12456
12457 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12458
12459 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12460
12461 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12462
12463 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12464 pstate register when comparing registers values in
12465 sparc64-*-linux-gnu targets to avoid spurious differences.
12466
12467 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12468
12469 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12470
12471 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12472
12473 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12474 as type argument to gdb_compile.
12475 * gdb.base/nested-subp2.exp: Likewise.
12476 * gdb.base/nested-subp3.exp: Likewise.
12477
12478 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12479
12480 * lib/dwarf.exp (_note): Fix left shift of negative value.
12481 * gdb.trace/trace-condition.exp: Likewise.
12482
12483 2015-11-13 Yao Qi <yao.qi@linaro.org>
12484
12485 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12486 comments about d10v.
12487 (test_scalar_returns): Likewise.
12488 * gdb.base/d10v.ld: Remove.
12489 * gdb.base/overlays.exp: Remove the target triplet checking for
12490 d10v-*-*.
12491 * gdb.base/structs.exp (test_struct_returns): Remove the
12492 comments about d10v.
12493 (test_struct_calls): Likewise.
12494
12495 2015-11-13 Yao Qi <yao.qi@linaro.org>
12496
12497 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12498 * gdb.base/gnu_vector.c: Don't include stdio.h.
12499 (main): Don't print res and call add_some_intvecs.
12500
12501 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12502
12503 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12504 macro.
12505 (func5): Removed.
12506 (func4): Use FAST_TRACEPOINT_LABEL.
12507 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12508 macro.
12509 (func): Removed.
12510 (thread_function): Use FAST_TRACEPOINT_LABEL.
12511 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12512 (func): Remove.
12513 (marker): Use FAST_TRACEPOINT_LABEL.
12514 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12515 (pendfunc1): Remove.
12516 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12517 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12518 (foo): Remove.
12519 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12520 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12521 macro.
12522 (func): Remove.
12523 (marker): Use FAST_TRACEPOINT_LABEL.
12524 * gdb.trace/trace-common.h: New header.
12525 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12526 macro.
12527 (func): Remove.
12528 (marker): Use FAST_TRACEPOINT_LABEL.
12529 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12530 (func): Remove.
12531 (thread_function): Use FAST_TRACEPOINT_LABEL.
12532
12533 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12534
12535 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12536 in front.
12537 * gdb.trace/change-loc.exp: Use global pcreg definition.
12538 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12539 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12540 in front.
12541 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12542 * gdb.trace/pending.exp: Likewise.
12543 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12544 * gdb.trace/trace-break.exp: Likewise.
12545 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12546 in front.
12547 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12548 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12549 in front.
12550 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12551
12552 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12553
12554 * gdb.ada/fin_fun_out: New testcase.
12555
12556 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12557
12558 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12559 value associated with DW_AT_byte_size.
12560 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12561 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12562 DW_AT_upper_bound.
12563
12564 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12565
12566 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12567 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12568 version.
12569 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12570 gdb.dwarf2/dw2-canonicalize-type.exp,
12571 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12572 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12573 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12574 provided by gdb_target_symbol_prefix_flags_asm.
12575 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12576 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12577 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12578 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12579 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12580 macros where needed). Use this macro for symbols which require
12581 the prefix provided by SYMBOL_PREFIX.
12582
12583 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12584
12585 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12586 New procs.
12587 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12588 representing expressions, of more than one list element.
12589 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12590 to prepend linker symbol prefix to f.
12591 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12592 table_1 and table_2.
12593 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12594 Likewise, for f and g.
12595 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12596 for ptr.
12597 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12598 for main.
12599 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12600 table_1_ptr and table_2_ptr.
12601
12602 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12603 Joel Brobecker <brobecker@adacore.com>
12604
12605 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12606
12607 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12608
12609 * gdb.reverse/s390-mvcle.c: New test.
12610 * gdb.reverse/s390-mvcle.exp: New file.
12611 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12612
12613 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12614
12615 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12616
12617 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12618
12619 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12620 reaching marker2.
12621 * gdb.reverse/getresuid-reverse.exp: Likewise.
12622 * gdb.reverse/pipe-reverse.exp: Likewise.
12623 * gdb.reverse/readv-reverse.exp: Likewise.
12624 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12625 * gdb.reverse/time-reverse.exp: Likewise.
12626 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12627
12628 2015-10-30 Yao Qi <yao.qi@linaro.org>
12629
12630 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12631 (empty_cycle): Remove.
12632 (main): Don't call empty_cycle. Don't use watch_count_done.
12633 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12634 empty_cycle. Rewrite the code counting HW watchpoints.
12635
12636 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12637
12638 * gdb.reverse/fstatat-reverse.c: New test.
12639 * gdb.reverse/fstatat-reverse.exp: New file.
12640 * gdb.reverse/getresuid-reverse.c: New test.
12641 * gdb.reverse/getresuid-reverse.exp: New file.
12642 * gdb.reverse/pipe-reverse.c: New test.
12643 * gdb.reverse/pipe-reverse.exp: New file.
12644 * gdb.reverse/readv-reverse.c: New test.
12645 * gdb.reverse/readv-reverse.exp: New file.
12646 * gdb.reverse/recvmsg-reverse.c: New test.
12647 * gdb.reverse/recvmsg-reverse.exp: New file.
12648 * gdb.reverse/time-reverse.c: New test.
12649 * gdb.reverse/time-reverse.exp: New file.
12650 * gdb.reverse/waitpid-reverse.c: New test.
12651 * gdb.reverse/waitpid-reverse.exp: New file.
12652
12653 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12654
12655 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12656
12657 2015-10-26 Doug Evans <dje@google.com>
12658
12659 PR symtab/17391
12660 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12661 * gdb.dwarf2/bad-regnum.c: New file.
12662 * gdb.dwarf2/bad-regnum.exp: New file.
12663
12664 2015-10-26 Doug Evans <dje@google.com>
12665
12666 PR python/18938
12667 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12668 file.
12669
12670 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12671
12672 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12673 for a change by "Mention language in compile error message".
12674
12675 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12676
12677 PR python/18073
12678 * gdb.python/py-type.c (C::a_method): New.
12679 (C::a_const_method): New.
12680 (C::a_static_method): New.
12681 (a_function): New.
12682 * gdb.python/py-type.exp (test_fields): Test getting fields
12683 from function and method.
12684
12685 2015-10-21 Keven Boell <keven.boell@intel.com>
12686
12687 * gdb.fortran/vla-alloc-assoc.exp: New file.
12688 * gdb.fortran/vla-datatypes.exp: New file.
12689 * gdb.fortran/vla-datatypes.f90: New file.
12690 * gdb.fortran/vla-history.exp: New file.
12691 * gdb.fortran/vla-ptype-sub.exp: New file.
12692 * gdb.fortran/vla-ptype.exp: New file.
12693 * gdb.fortran/vla-sizeof.exp: New file.
12694 * gdb.fortran/vla-sub.f90: New file.
12695 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12696 * gdb.fortran/vla-value-sub-finish.exp: New file.
12697 * gdb.fortran/vla-value-sub.exp: New file.
12698 * gdb.fortran/vla-value.exp: New file.
12699 * gdb.fortran/vla-ptr-info.exp: New file.
12700 * gdb.mi/mi-vla-fortran.exp: New file.
12701 * gdb.mi/vla.f90: New file.
12702
12703 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12704
12705 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12706 of hardwired timeout value.
12707
12708 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12709 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12712 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12713
12714 2015-10-19 Josh Stone <jistone@redhat.com>
12715
12716 * gdb.base/catch-syscall.c: Include <sched.h>.
12717 (unknown_syscall): New variable.
12718 (main): Trigger a vfork and an unknown syscall.
12719 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12720 (unknown_syscall_number): Likewise.
12721 (check_call_to_syscall): Accept an optional syscall pattern.
12722 (check_return_from_syscall): Likewise.
12723 (check_continue): Likewise.
12724 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12725 (test_catch_syscall_skipping_return): New test toggling off 'catch
12726 syscall' to step over the syscall return, then toggling back on.
12727 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12728 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12729 (do_syscall_tests): Call test_catch_syscall_without_args and
12730 test_catch_syscall_mid_vfork.
12731 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12732 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12733
12734 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12735
12736 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12737 print g_vE): Add new pass patterns.
12738 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12739 print various symbol names for vptr fields.
12740
12741 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12742
12743 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12744 results.
12745
12746 2015-10-12 Yao Qi <yao.qi@linaro.org>
12747
12748 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12749
12750 2015-10-12 Yao Qi <yao.qi@linaro.org>
12751
12752 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12753 is aarch64*-*-linux*.
12754
12755 2015-10-12 Yao Qi <yao.qi@linaro.org>
12756
12757 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12758 (can_relocate_bcond_true): ... it.
12759 (can_relocate_bcond_false): New function.
12760 (foo): Likewise.
12761 (can_relocate_bl): Likewise.
12762 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12763 can_relocate_bl.
12764
12765 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12766
12767 * gdb.base/nested-addr.c: New file.
12768 * gdb.base/nested-addr.exp: New testcase.
12769
12770 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12771
12772 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12773 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12774 its output. Ignore the output of "record goto begin" and instead
12775 check that GDB is replaying.
12776
12777 2015-10-09 Pedro Alves <palves@redhat.com>
12778
12779 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12780 (top level): Use it in the run with no args test.
12781
12782 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12783
12784 * gdb.dlang/properties.exp: New file.
12785
12786 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12787
12788 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12789 whether or not address 0x1000 is mapped on the target.
12790
12791 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12792
12793 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12794 build.
12795
12796 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12797
12798 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12799 instruction-history test.
12800
12801 2015-09-28 Doug Evans <dje@google.com>
12802
12803 * gdb.base/gcore.c (array_func): Add reference to static_array.
12804
12805 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12806
12807 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12808 source line.
12809
12810 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12811
12812 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12813 short or char as base type.
12814
12815 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12816
12817 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12818 to allow any size enum.
12819
12820 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12821
12822 * gdb.ada/array_ptr_renaming.exp: New testcase.
12823 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12824 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12825
12826 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12827
12828 * gdb.trace/ftrace-lock.c: New file.
12829 * gdb.trace/ftrace-lock.exp: New file.
12830
12831 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12832
12833 * gdb.arch/insn-reloc.c: New file.
12834 * gdb.arch/ftrace-insn-reloc.exp: New file.
12835
12836 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12837
12838 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12839 instruction.
12840 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12841 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12842 * gdb.trace/range-stepping.c: Likewise.
12843 * gdb.trace/trace-break.c: Likewise.
12844 * gdb.trace/trace-mt.c (thread_function): Likewise.
12845 * gdb.trace/ftrace.c (marker): Likewise.
12846 * gdb.trace/trace-condition.c (marker): Likewise.
12847 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12848 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12849 is_aarch64_target.
12850
12851 2015-09-18 Doug Evans <xdje42@gmail.com>
12852
12853 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12854 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12855
12856 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12857
12858 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12859 the breakpoint.
12860
12861 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12862
12863 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12864 the pending breakpoint. Remove timeout override for "Run till
12865 MI pending breakpoint on pendfunc3 on thread 2" test.
12866
12867 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12868
12869 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12870 filename pattern.
12871
12872 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12873
12874 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12875 in breakpoint filename pattern.
12876
12877 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12878
12879 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12880
12881 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12882
12883 * gdb.linespec/explicit.exp: Check for readline support for
12884 tab-completion tests. Fix obvious typo.
12885
12886 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12887
12888 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12889 and replay.
12890
12891 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12892
12893 * gdb.btrace/non-stop.c: New.
12894 * gdb.btrace/non-stop.exp: New.
12895
12896 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12897 Yao Qi <yao.qi@linaro.org>
12898
12899 * gdb.trace/trace-condition.c: New file.
12900 * gdb.trace/trace-condition.exp: New file.
12901
12902 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12903
12904 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12905 for testing bytecode compilation.
12906
12907 2015-09-16 Pedro Alves <palves@redhat.com>
12908 Sandra Loosemore <sandra@codesourcery.com>
12909
12910 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12911 (SECONDS): Redefine.
12912 (main): Call pthread_kill and alarm early.
12913 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12914 support.
12915 (test): If the target can't hardware step and doesn't support
12916 displaced stepping, increase the timeout.
12917
12918 2015-09-16 Pedro Alves <palves@redhat.com>
12919
12920 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12921 (enable_debug): New procedures.
12922 (test): Use them. Bail out if waiting for threads fails.
12923 (top level): Bail out if a test fails.
12924
12925 2015-09-16 Yao Qi <yao.qi@linaro.org>
12926
12927 * gdb.asm/asm-source.exp: Set asm-arch for
12928 aarch64*-*-* target.
12929 * gdb.asm/aarch64.inc: New file.
12930
12931 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12932
12933 * gdb.ada/array_of_variable_length.exp: New testcase.
12934 * gdb.ada/array_of_variable_length/foo.adb: New file.
12935 * gdb.ada/array_of_variable_length/pck.adb: New file.
12936 * gdb.ada/array_of_variable_length/pck.ads: New file.
12937
12938 2015-09-15 Doug Evans <dje@google.com>
12939
12940 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12941 of function static local variable.
12942
12943 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12944
12945 * gdb.threads/tls-so_extern.exp: New test file.
12946 * gdb.threads/tls-so_extern.c: New test file.
12947 * gdb.threads/tls-so_extern_main.c: New test file.
12948
12949 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12950
12951 * gdb.opt/solib-intra-step-lib.c: New file.
12952 * gdb.opt/solib-intra-step-main.c: New file.
12953 * gdb.opt/solib-intra-step.exp: New file.
12954
12955 2015-09-15 Pedro Alves <palves@redhat.com>
12956
12957 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12958 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12959
12960 2015-09-14 Pedro Alves <palves@redhat.com>
12961
12962 * gdb.base/hook-stop-continue.c: Delete.
12963 * gdb.base/hook-stop-continue.exp: Delete.
12964 * gdb.base/hook-stop-frame.c: Delete.
12965 * gdb.base/hook-stop-frame.exp: Delete.
12966 * gdb.base/hook-stop.c: New file.
12967 * gdb.base/hook-stop.exp: New file.
12968
12969 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12970
12971 * gdb.ada/access_to_packed_array.exp: New testcase.
12972 * gdb.ada/access_to_packed_array/foo.adb: New file.
12973 * gdb.ada/access_to_packed_array/pack.adb: New file.
12974 * gdb.ada/access_to_packed_array/pack.ads: New file.
12975
12976 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12977
12978 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12979 buffer size test.
12980
12981 2015-09-11 Don Breazeal <donb@codesourcery.com>
12982
12983 * gdb.base/foll-exec.c: Add copyright header. Fix
12984 formatting issues.
12985 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12986 (do_exec_tests): Use clean_restart in place of zap_session,
12987 and for test initialization. Fix formatting issues. Use
12988 fail in place of perror.
12989 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12990 an expect statement to match an expression with output from
12991 the program under debug.
12992 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12993 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12994 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12995 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12996 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12997
12998 2015-09-09 Doug Evans <dje@google.com>
12999
13000 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13001
13002 2015-09-09 Doug Evans <dje@google.com>
13003
13004 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13005
13006 2015-09-09 Doug Evans <dje@google.com>
13007
13008 * gdb.base/savedregs.exp: Fix typo.
13009
13010 2015-09-09 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13013
13014 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13015
13016 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13017 command actually switches threads. Give up on remaining
13018 tests if target fails to stop at breakpoint.
13019
13020 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13021
13022 * gdb.ada/funcall_char.exp: New testcase.
13023 * gdb.ada/funcall_char/foo.adb: New file.
13024
13025 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13026
13027 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13028 expected outputs. Add two testcases for completing ambiguous
13029 functions.
13030 * gdb.ada/complete/aux_pck.adb: New file.
13031 * gdb.ada/complete/aux_pck.ads: New file.
13032 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13033 Ambiguous_Func functions.
13034 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13035 * gdb.ada/complete/pck.adb: Likewise.
13036
13037 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13038
13039 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13040 failures to run the test program under GDB.
13041
13042 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13043
13044 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13045 to C.
13046
13047 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13048
13049 * gdb.base/run-after-attach.exp: New test file.
13050 * gdb.base/run-after-attach.c: New test file.
13051
13052 2015-08-26 Don Breazeal <donb@codesourcery.com>
13053
13054 * gdb.base/foll-exec-2.c: New test program.
13055 * gdb.base/foll-exec-2.exp: New test.
13056
13057 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13058
13059 * gdb.base/nested-subp1.exp: New file.
13060 * gdb.base/nested-subp1.c: New file.
13061 * gdb.base/nested-subp2.exp: New file.
13062 * gdb.base/nested-subp2.c: New file.
13063 * gdb.base/nested-subp3.exp: New file.
13064 * gdb.base/nested-subp3.c: New file.
13065
13066 2015-08-24 Pedro Alves <palves@redhat.com>
13067
13068 * gdb.server/connect-without-multi-process.c: New file.
13069 * gdb.server/connect-without-multi-process.exp: New file.
13070
13071 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13072
13073 * gdb.opt/inline-markers.c: Make z int.
13074
13075 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13076
13077 * gdb.opt/inline-markers.c: Make z volatile.
13078
13079 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13080
13081 * gdb.opt/inline-bt.c: New volatile global z.
13082 * gdb.opt/inline-cmds.c: Likewise.
13083 * gdb.opt/inline-locals.c: Likewise.
13084 * gdb.opt/inline-markers.c: New extern global z.
13085 (marker): Use z.
13086 (inline_fn): Likewise.
13087
13088 2015-08-24 Pedro Alves <palves@redhat.com>
13089
13090 * config/m32r-stub.exp: Remove file.
13091 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13092 * gdb.base/call-rt-st.exp: Likewise.
13093 * gdb.base/call-strs.exp: Likewise.
13094 * gdb.base/default.exp: Remove references to h8300-*-hms and
13095 *-*-udi*.
13096 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13097
13098 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13099
13100 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13101 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13102 and "return" use KFAIL when GDB can not read/write the vector
13103 return value.
13104
13105 2015-08-21 Gary Benson <gbenson@redhat.com>
13106
13107 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13108
13109 2015-08-20 Pedro Alves <palves@redhat.com>
13110
13111 * gdb.server/solib-list.exp: No longer expect an interior stop in
13112 non-stop mode.
13113
13114 2015-08-20 Pedro Alves <palves@redhat.com>
13115
13116 * gdb.server/connect-stopped-target.c: New file.
13117 * gdb.server/connect-stopped-target.exp: New file.
13118
13119 2015-08-20 Pedro Alves <palves@redhat.com>
13120
13121 * gdb.dwarf2/comp-unit-lang.exp: New file.
13122 * gdb.dwarf2/comp-unit-lang.c: New file.
13123
13124 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13125
13126 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13127 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13128
13129 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13130
13131 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13132 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13133
13134 2015-08-18 Doug Evans <dje@google.com>
13135 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13136
13137 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13138 skip_python_tests. New arg prompt_regexp.
13139 (skip_python_tests): New function.
13140 * lib/mi-support.exp (mi_skip_python_tests): New function.
13141 * gdb.python/py-mi-objfile-gdb.py: New file.
13142 * gdb.python/py-mi-objfile.c: New file.
13143 * gdb.python/py-mi-objfile.exp: New file.
13144
13145 2015-08-17 Keith Seitz <keiths@redhat.com>
13146
13147 * gdb.linespec/explicit.exp: Move strace test from here ...
13148 * gdb.trace/strace.exp: ... to here.
13149
13150 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13151
13152 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13153 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13154
13155 2015-08-14 Doug Evans <xdje42@gmail.com>
13156
13157 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13158 inferior before selecting a new file.
13159
13160 2015-08-14 Doug Evans <xdje42@gmail.com>
13161
13162 * gdb.mi/mi-disassemble.exp: Update.
13163 * gdb.base/disasm-optim.S: New file.
13164 * gdb.base/disasm-optim.c: New file.
13165 * gdb.base/disasm-optim.h: New file.
13166 * gdb.base/disasm-optim.exp: New file.
13167
13168 2015-08-14 Keith Seitz <keiths@redhat.com>
13169
13170 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13171 "evaluated-by".
13172
13173 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13174
13175 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13176
13177 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13178
13179 * gdb.ada/fun_renaming.exp: New testcase.
13180 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13181 * gdb.ada/fun_renaming/pack.adb: New file.
13182 * gdb.ada/fun_renaming/pack.ads: New file.
13183
13184 2015-08-12 Keith Seitz <keiths@redhat.com>
13185
13186 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13187 gdb_get_line_number.
13188
13189 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13190
13191 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13192 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13193 gdb.base/dso2dso.exp: New files.
13194
13195 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13196 Pedro Alves <palves@redhat.com>
13197 Keith Seitz <keiths@redhat.com>
13198
13199 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13200 GDBFLAGS.
13201
13202 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13203
13204 * gdb.base/gdbhistsize-history.exp
13205 (test_histsize_history_setting): Use save_vars.
13206 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13207 Use save_vars.
13208 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13209 * gdb.base/readline.exp: Use save_vars.
13210
13211 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13212
13213 * lib/gdb.exp (save_vars): New proc.
13214
13215 2015-08-11 Keith Seitz <keiths@redhat.com>
13216
13217 * gdb.base/help.exp: Update help_breakpoint_text.
13218
13219 2015-08-11 Keith Seitz <keiths@redhat.com>
13220
13221 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13222 (at toplevel): Call test_explicit_breakpoints.
13223 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13224 breakpoints.
13225 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13226 breakpoint conditions, "-cond".
13227
13228 2015-08-11 Keith Seitz <keiths@redhat.com>
13229
13230 * gdb.linespec/3explicit.c: New file.
13231 * gdb.linespec/cpexplicit.cc: New file.
13232 * gdb.linespec/cpexplicit.exp: New file.
13233 * gdb.linespec/explicit.c: New file.
13234 * gdb.linespec/explicit.exp: New file.
13235 * gdb.linespec/explicit2.c: New file.
13236 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13237 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13238 before using in the matching pattern.
13239 Clarify that `prefix' is a regular expression.
13240
13241 2015-08-11 Keith Seitz <keiths@redhat.com>
13242
13243 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13244 test.
13245 Add tests for missing ",FMT" and ",".
13246
13247 2015-08-10 Doug Evans <dje@google.com>
13248 Keith Seitz <keiths@redhat.com>
13249
13250 PR gdb/17960
13251 * gdb.base/completion.exp: Add location completer tests.
13252
13253 2015-08-07 Pedro Alves <palves@redhat.com>
13254
13255 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13256 tests here.
13257 (top level): Run do_test with and without displaced stepping.
13258
13259 2015-08-07 Pedro Alves <palves@redhat.com>
13260
13261 * gdb.base/valgrind-disp-step.c: New file.
13262 * gdb.base/valgrind-disp-step.exp: New file.
13263
13264 2015-08-07 Pedro Alves <palves@redhat.com>
13265
13266 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13267 Delete function.
13268 (main): Add alarm. Run an infinite loop instead of calling
13269 wait_threads.
13270 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13271 comment.
13272 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13273 Delete function.
13274 (main): Add alarm. Run an infinite loop instead of calling
13275 wait_threads.
13276 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13277 comment.
13278
13279 2015-08-07 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.base/checkpoint-ns.exp: New file.
13282 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13283 standard_testfile.
13284
13285 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13286
13287 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13288 * gdb.btrace/instruction_history.exp: Update.
13289 * gdb.btrace/tsx.exp: New.
13290 * gdb.btrace/tsx.c: New.
13291
13292 2015-08-06 Pedro Alves <palves@redhat.com>
13293
13294 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13295 increase timeout.
13296 * gdb.reverse/until-precsave.exp: Bump timeouts.
13297
13298 2015-08-06 Pedro Alves <palves@redhat.com>
13299
13300 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13301
13302 2015-08-06 Pedro Alves <palves@redhat.com>
13303
13304 PR gdb/18749
13305 * gdb.threads/process-dies-while-handling-bp.c: New file.
13306 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13307
13308 2015-08-06 Pedro Alves <palves@redhat.com>
13309
13310 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13311 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13312
13313 2015-08-05 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13316 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13317
13318 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13319
13320 * gdb.base/bp-permanent.exp: Report test as unsupported if
13321 the target cannot stop at the permanent breakpoint.
13322
13323 2015-08-03 Doug Evans <dje@google.com>
13324
13325 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13326 10000.
13327
13328 2015-08-03 Doug Evans <dje@google.com>
13329
13330 * Makefile.in (workers/%.worker, build-perf): New rule.
13331 (GDB_PERFTEST_MODE): New variable.
13332 (check-perf): Use it.
13333 (clean): Clean up gdb.perf parallel build subdirs.
13334 * lib/build-piece.exp: New file.
13335 * lib/gdb.exp (make_gdb_parallel_path): New function
13336 (standard_output_file, standard_temp_file): Call it.
13337 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13338 of $GDB_PARALLEL.
13339 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13340
13341 2015-08-03 Doug Evans <dje@google.com>
13342
13343 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13344 (LOG_FILE_NAME): New global.
13345 (TextReporter.__init__): Initialize self.txt_sum.
13346 (TextReporter.report): Add support for multiple data-points.
13347 Move report to perftest.sum, put raw data in perftest.log.
13348 (TextReporter.start): Open sum and log files.
13349 (TextReporter.end): Close sum and log files.
13350 * gdb.perf/lib/perftest/testresult.py
13351 (SingleStatisticTestResult.record): Handle multiple data-points.
13352
13353 2015-07-31 Pedro Alves <palves@redhat.com>
13354
13355 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13356 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13357 kill_wait_spawned_process instead of explicit "kill -9".
13358 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13359 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13360 kill_wait_spawned_process.
13361 * gdb.base/attach-twice.exp: Likewise.
13362 * gdb.base/attach.exp: Likewise.
13363 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13364 gdb_test_multiple.
13365 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13366 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13367 kill_wait_spawned_process.
13368 * gdb.base/valgrind-infcall.exp: Likewise.
13369 * gdb.multi/multi-attach.exp: Likewise.
13370 * gdb.python/py-prompt.exp: Likewise.
13371 * gdb.python/py-sync-interp.exp: Likewise.
13372 * gdb.server/ext-attach.exp: Likewise.
13373 * gdb.threads/attach-into-signal.exp (corefunc): Use
13374 spawn_wait_for_attach, spawn_id_get_pid and
13375 kill_wait_spawned_process.
13376 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13377 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13378 spawn_id_get_pid and kill_wait_spawned_process.
13379 * gdb.threads/attach-stopped.exp (corefunc): Use
13380 spawn_wait_for_attach, spawn_id_get_pid and
13381 kill_wait_spawned_process.
13382 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13383 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13384 kill_wait_spawned_process instead of explicit "kill -9".
13385 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13386 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13387 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13388 processes. Don't map cygwin/windows pids here. Now returns a
13389 spawn id list.
13390
13391 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13392
13393 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13394 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13395 correct patch.
13396
13397 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13398
13399 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13400
13401 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13402
13403 Reapply:
13404 2014-05-21 Mark Wielaard <mjw@redhat.com>
13405
13406 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13407
13408 2015-07-30 Pedro Alves <palves@redhat.com>
13409
13410 * linux-low.c (handle_extended_wait): Set the child's last
13411 reported status to TARGET_WAITKIND_STOPPED.
13412
13413 2015-07-30 Pedro Alves <palves@redhat.com>
13414
13415 PR threads/18600
13416 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13417 only shows inferior 1.
13418
13419 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13420 Pedro Alves <palves@redhat.com>
13421
13422 PR threads/18600
13423 * gdb.threads/fork-plus-threads.c: New file.
13424 * gdb.threads/fork-plus-threads.exp: New file.
13425
13426 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13427
13428 * gdb.base/batch-preserve-term-settings.exp
13429 (test_terminal_settings_preserved_after_cli_exit): Use
13430 send_quit_command.
13431
13432 2015-07-29 Pedro Alves <palves@redhat.com>
13433 Don Breazeal <donb@codesourcery.com>
13434
13435 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13436 output from both inferior_spawn_id and gdb_spawn_id.
13437
13438 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13439
13440 * gdb.threads/attach-into-signal.exp (corefunc): Use
13441 with_test_prefix on nested loops, uniquefying the test messages.
13442
13443 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13444
13445 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13446 commit.
13447
13448 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13449
13450 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13451 New proc.
13452 (test_terminal_settings_preserved_after_sigterm): New test.
13453
13454 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13455
13456 * gdb.base/batch-preserve-term-settings.exp
13457 (test_terminal_settings_preserved_after_cli_exit): New test.
13458
13459 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13460
13461 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13462 manipulation of saved_gdbflags.
13463 (test_terminal_settings_preserved): Remove global declaration of
13464 the unused variable pagination_prompt. Remove manipulation of
13465 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13466 GDBFLAGS.
13467
13468 2015-07-29 Pedro Alves <palves@redhat.com>
13469
13470 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13471
13472 2015-07-29 Pedro Alves <palves@redhat.com>
13473
13474 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13475 at the top.
13476
13477 2015-07-29 Pedro Alves <palves@redhat.com>
13478
13479 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13480 (main): Call gdb_unbuffer_output.
13481 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13482 (main): Call gdb_unbuffer_output.
13483 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13484 (main): Call gdb_unbuffer_output.
13485 * gdb.base/call-strs.exp: Adjust to step over the
13486 gdb_unbuffer_output call.
13487 * gdb.base/catch-gdb-caused-signals.c: Include
13488 "../lib/unbuffer_output.c".
13489 (main): Call gdb_unbuffer_output.
13490 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13491 (main): Call gdb_unbuffer_output.
13492 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13493 (main): Call gdb_unbuffer_output.
13494 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13495 (main): Call gdb_unbuffer_output.
13496 * gdb.base/shlib-call.exp: Adjust to step over the
13497 gdb_unbuffer_output call.
13498 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13499 (main): Call gdb_unbuffer_output.
13500 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13501 (main): Call gdb_unbuffer_output.
13502 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13503 (main): Rename to ...
13504 (test): ... this.
13505 (main): Reimplement.
13506 * gdb.base/varargs.exp: Run to test instead of to main.
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 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13513 factore out from mi_continue_dprintf. For call-style dprintfs,
13514 expect dprintf output out of $inferior_spawn_id.
13515 (mi_continue_dprintf): Use mi_expect_dprintf.
13516 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13517 (main): Call gdb_unbuffer_output.
13518
13519 2015-07-29 Pedro Alves <palves@redhat.com>
13520
13521 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13522 (default_mi_gdb_start): Set inferior_spawn_id instead of
13523 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13524 gdb_spawn_id.
13525 (mi_gdb_test): Always expect inferior output from both
13526 $inferior_spawn_id and $gdb_spawn_id.
13527
13528 2015-07-29 Pedro Alves <palves@redhat.com>
13529
13530 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13531 send_inferior and $inferior_spawn_id.
13532
13533 2015-07-29 Pedro Alves <palves@redhat.com>
13534
13535 * gdb.gdb/complaints.exp (test_initial_complaints)
13536 (test_serial_complaints, test_short_complaints): Use
13537 gdb_test_stdio.
13538 (test_empty_complaint): Handle $inferior_spawn_id !=
13539 $gdb_spawn_id.
13540
13541 2015-07-29 Pedro Alves <palves@redhat.com>
13542
13543 * gdb.base/varargs.exp: Use gdb_test_stdio.
13544
13545 2015-07-29 Pedro Alves <palves@redhat.com>
13546
13547 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13548
13549 2015-07-29 Pedro Alves <palves@redhat.com>
13550
13551 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13552
13553 2015-07-29 Pedro Alves <palves@redhat.com>
13554
13555 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13556 parameter into two new parameters, "inf_result" and "gdb_result".
13557 Expect inferior output and gdb output from $inferior_spawn_id and
13558 $gdb_spawn_id, respectively. Adjust all callers.
13559
13560 2015-07-29 Pedro Alves <palves@redhat.com>
13561
13562 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13563 of gdb_test_sequence.
13564
13565 2015-07-29 Pedro Alves <palves@redhat.com>
13566
13567 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13568 (saw_spurious_output): Expect inferior output from
13569 $inferior_spawn_id. Use gdb_test_stdio.
13570
13571 2015-07-29 Pedro Alves <palves@redhat.com>
13572
13573 * gdb.base/dprintf.exp: Use standard_testfile. Change
13574 prepare_for_testing call.
13575 (srcfile): Don't set.
13576 (restart): New procedure.
13577 (test_dprintf): New procecure, use to continue over dprintfs.
13578 (test_call, test_agent): New procedures, tests moved here.
13579 Restart gdb and recreate dprintfs. Adjust expected output.
13580
13581 2015-07-29 Pedro Alves <palves@redhat.com>
13582
13583 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13584
13585 2015-07-29 Pedro Alves <palves@redhat.com>
13586
13587 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13588
13589 2015-07-29 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13592 gdb_test_stdio.
13593
13594 2015-07-29 Pedro Alves <palves@redhat.com>
13595
13596 * lib/gdb.exp (gdb_test_stdio): New procedure.
13597
13598 2015-07-29 Pedro Alves <palves@redhat.com>
13599
13600 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13601
13602 2015-07-29 Pedro Alves <palves@redhat.com>
13603
13604 * gdb.base/call-signal-resume.exp: Remove check for
13605 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13606 * gdb.base/unwindonsignal.exp: Likewise.
13607 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13608 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13609
13610 2015-07-29 Pedro Alves <palves@redhat.com>
13611
13612 * gdb.base/siginfo-addr.c (pass): New function.
13613 (handler): Call it iff si_addr is correct.
13614 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13615 Set a breakpoint at "pass" and continue to it.
13616
13617 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13618
13619 * gdb.python/py-objfile.exp: Make some tests have unique names.
13620 * gdb.python/py-pp-registration.exp: Likewise.
13621
13622 2015-07-28 Pedro Alves <palves@redhat.com>
13623
13624 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13625
13626 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13627
13628 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13629
13630 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13631
13632 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13633
13634 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13635
13636 * gdb.base/gdb-sigterm-2.exp: New test.
13637
13638 2015-07-25 Doug Evans <xdje42@gmail.com>
13639
13640 Revert:
13641 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13642 (workers/%.worker, build-perf): New rule.
13643 (GDB_PERFTEST_MODE): New variable.
13644 (check-perf): Use it.
13645 (clean): Clean up gdb.perf parallel build subdirs.
13646 * lib/build-piece.exp: New file.
13647 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13648 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13649 name.
13650 (standard_temp_file): Ditto.
13651 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13652 of $GDB_PARALLEL.
13653
13654 2015-07-24 Doug Evans <dje@google.com>
13655
13656 * gdb.perf/lib/perftest/utils.py: New file.
13657 * gdb.perf/gm-hello.cc: New file.
13658 * gdb.perf/gm-pervasive-typedef.cc: New file.
13659 * gdb.perf/gm-pervasive-typedef.h: New file.
13660 * gdb.perf/gm-std.cc: New file.
13661 * gdb.perf/gm-std.h: New file.
13662 * gdb.perf/gm-use-cerr.cc: New file.
13663 * gdb.perf/gm-utils.h: New file.
13664 * gdb.perf/gmonster-null-lookup.py: New file.
13665 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13666 * gdb.perf/gmonster-print-cerr.py: New file.
13667 * gdb.perf/gmonster-ptype-string.py: New file.
13668 * gdb.perf/gmonster-runto-main.py: New file.
13669 * gdb.perf/gmonster-select-file.py: New file.
13670 * gdb.perf/gmonster1-null-lookup.exp: New file.
13671 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13672 * gdb.perf/gmonster1-print-cerr.exp: New file.
13673 * gdb.perf/gmonster1-ptype-string.exp: New file.
13674 * gdb.perf/gmonster1-runto-main.exp: New file.
13675 * gdb.perf/gmonster1-select-file.exp: New file.
13676 * gdb.perf/gmonster1.cc: New file.
13677 * gdb.perf/gmonster1.exp: New file.
13678 * gdb.perf/gmonster2-null-lookup.exp: New file.
13679 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13680 * gdb.perf/gmonster2-print-cerr.exp: New file.
13681 * gdb.perf/gmonster2-ptype-string.exp: New file.
13682 * gdb.perf/gmonster2-runto-main.exp: New file.
13683 * gdb.perf/gmonster2-select-file.exp: New file.
13684 * gdb.perf/gmonster2.cc: New file.
13685 * gdb.perf/gmonster2.exp: New file.
13686
13687 2015-07-24 Doug Evans <dje@google.com>
13688
13689 * gdb.perf/README: New file.
13690 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13691 * lib/gen-perf-test.exp: New file.
13692
13693 2015-07-24 Doug Evans <dje@google.com>
13694
13695 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13696 (PerfTest::startup): New function.
13697 (PerfTest::run): Return result of calling body.
13698 (PerfTest::assemble): Rewrite.
13699 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13700 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13701 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13702 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13703 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13704
13705 2015-07-24 Doug Evans <dje@google.com>
13706
13707 * lib/gdb.exp (clean_restart): Make executable optional.
13708
13709 2015-07-24 Doug Evans <dje@google.com>
13710
13711 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13712 compiler_info references.
13713 * gdb.cp/temargs.exp: Ditto.
13714 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13715 (get_compiler_info): Early exit if already computed. Set compiler_info
13716 to "unknown" if there was a problem.
13717 (test_compiler_info): Add function comment. Call get_compiler_info.
13718
13719 2015-07-24 Doug Evans <dje@google.com>
13720
13721 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13722 (workers/%.worker, build-perf): New rule.
13723 (GDB_PERFTEST_MODE): New variable.
13724 (check-perf): Use it.
13725 (clean): Clean up gdb.perf parallel build subdirs.
13726 * lib/build-piece.exp: New file.
13727 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13728 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13729 name.
13730 (standard_temp_file): Ditto.
13731 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13732 of $GDB_PARALLEL.
13733
13734 2015-07-24 Doug Evans <dje@google.com>
13735
13736 * lib/future.exp (gdb_default_target_compile): New option
13737 "early_flags".
13738 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13739 --as-needed.
13740
13741 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13742
13743 * gdb.base/catch-syscall.exp: Call gdb_exit before
13744 gdb_skip_xml_test.
13745
13746 2015-07-24 Pedro Alves <palves@redhat.com>
13747
13748 * gdb.python/py-events.exp: Accept output between the stop event
13749 and the prompt.
13750 * gdb.python/py-evsignal.exp: Likewise.
13751 * gdb.python/py-evthreads.exp: Likewise.
13752
13753 2015-07-24 Pedro Alves <palves@redhat.com>
13754
13755 PR gdb/18717
13756 * gdb.threads/non-ldr-exit.c: New file.
13757 * gdb.threads/non-ldr-exit.exp: New file.
13758
13759 2015-07-24 Yao Qi <yao.qi@linaro.org>
13760
13761 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13762 restarting process.
13763
13764 2015-07-24 Yao Qi <yao.qi@linaro.org>
13765
13766 * gdb.server/ext-restart.exp: New file.
13767
13768 2015-07-24 Yao Qi <yao.qi@linaro.org>
13769
13770 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13771 argument options.
13772 * gdb.server/ext-wrapper.exp: New file.
13773
13774 2015-07-23 Doug Evans <dje@google.com>
13775
13776 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13777 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13778
13779 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13780
13781 * gdb.ada/var_arr_typedef.exp: New testcase.
13782 * gdb.ada/var_arr_typedef/pack.adb: New file.
13783 * gdb.ada/var_arr_typedef/pack.ads: New file.
13784 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13785
13786 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13787
13788 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13789
13790 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13791
13792 * gdb.arch/i386-biarch-core.exp: Replace istarget
13793 by "complete set gnutarget". Remove expectation for the "core-file"
13794 command.
13795
13796 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13797
13798 Revert the previous commit:
13799 Tests for validate symbol file using build-id.
13800
13801 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13802
13803 Tests for validate symbol file using build-id.
13804 * gdb.base/solib-mismatch-lib.c: New file.
13805 * gdb.base/solib-mismatch-libmod.c: New file.
13806 * gdb.base/solib-mismatch.c: New file.
13807 * gdb.base/solib-mismatch.exp: New file.
13808
13809 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13810
13811 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13812 nios2-*-linux*.
13813 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13814 * gdb.base/siginfo.exp: Likewise.
13815 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13816
13817 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13818
13819 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13820 Move it to ...
13821 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13822 ... here.
13823 * gdb.trace/range-stepping.exp: Check that the target supports
13824 range stepping.
13825
13826 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13827
13828 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13829
13830 2015-07-14 Pedro Alves <palves@redhat.com>
13831
13832 * gdb.base/killed-outside.exp: New file.
13833 * gdb.base/killed-outside.c: New file.
13834
13835 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13836
13837 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13838 (n at main): New.
13839 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13840
13841 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13842
13843 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13844 infcall tests instead of setting up for KFAIL.
13845
13846 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13847
13848 * gdb.btrace/record_goto-step.exp: New.
13849
13850 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13851
13852 PR compile/18484
13853 * gdb.compile/compile.c (struct struct_type): Add volatile to
13854 selffield's type.
13855 * gdb.compile/compile.exp
13856 (compile code struct_object.selffield = &struct_object): Skip further
13857 struct_object tests if this one xfails.
13858
13859 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13860
13861 PR exp/18617
13862 * gdb.trace/ax.exp: Add test.
13863
13864 2015-07-07 Yao Qi <yao.qi@linaro.org>
13865
13866 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13867 instead of istarget "aarch64*-*-*".
13868 * gdb.arch/aarch64-fp.exp: Likewise.
13869 * gdb.base/float.exp: Likewise.
13870 * gdb.reverse/aarch64.exp: Likewise.
13871 * lib/gdb.exp (is_aarch64_target): New proc.
13872
13873 2015-07-07 Yao Qi <yao.qi@linaro.org>
13874
13875 * lib/gdb.exp (is_aarch32_target): New proc.
13876 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13877 instead of "istarget "arm*-*-*"".
13878 * gdb.arch/arm-disp-step.exp: Likewise.
13879 * gdb.arch/thumb-bx-pc.exp: Likewise.
13880 * gdb.arch/thumb-prologue.exp: Likewise.
13881 * gdb.arch/thumb-singlestep.exp: Likewise.
13882 * gdb.base/disp-step-syscall.exp: Likewise.
13883 * gdb.base/float.exp: Likewise.
13884
13885 2015-07-07 Yao Qi <yao.qi@linaro.org>
13886
13887 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13888 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13889
13890 2015-07-07 Yao Qi <yao.qi@linaro.org>
13891
13892 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13893 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13894 if it exists.
13895 * gdb.multi/multi-arch.exp: Likewise.
13896
13897 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13898
13899 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13900 print.
13901
13902 2015-07-07 Yao Qi <yao.qi@linaro.org>
13903
13904 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13905
13906 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13907
13908 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13909 '[' and ']' characters.
13910
13911 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13912
13913 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13914
13915 2015-06-29 Pedro Alves <palves@redhat.com>
13916
13917 PR threads/18127
13918 * gdb.threads/hand-call-new-thread.c: New file.
13919 * gdb.threads/hand-call-new-thread.c: New file.
13920
13921 2015-06-26 Keith Seitz <keiths@redhat.com>
13922 Doug Evans <dje@google.com>
13923
13924 PR 16253
13925 * gdb.cp/var-tag-2.cc: New file.
13926 * gdb.cp/var-tag-3.cc: New file.
13927 * gdb.cp/var-tag-4.cc: New file.
13928 * gdb.cp/var-tag.cc: New file.
13929 * gdb.cp/var-tag.exp: New file.
13930
13931 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13932
13933 * gdb.base/history-duplicates.exp: New test.
13934
13935 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13936
13937 * gdb.base/completion.exp: Test the completion of the "focus"
13938 command.
13939
13940 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13941
13942 * gdb.arch/amd64-prologue-skip.S: New file.
13943 * gdb.arch/amd64-prologue-skip.exp: New file.
13944
13945 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13946
13947 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13948 is_address_zero_readable check.
13949
13950 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13951
13952 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13953 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13954
13955 2015-06-24 Yao Qi <yao.qi@linaro.org>
13956
13957 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13958 linux targets.
13959
13960 2015-06-24 Yao Qi <yao.qi@linaro.org>
13961
13962 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13963 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13964 * gdb.base/siginfo-thread.exp: Likewise.
13965
13966 2015-06-22 Yao Qi <yao.qi@linaro.org>
13967
13968 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13969
13970 2015-06-22 Yao Qi <yao.qi@linaro.org>
13971
13972 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13973 aarch64*-*-*.
13974 (skip_hw_watchpoint_tests): Likewise.
13975
13976 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13977
13978 * gdb.base/gdbinit-history.exp: Test the interaction between
13979 setting GDBHISTSIZE and setting the history size via .gdbinit.
13980
13981 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13982
13983 PR gdb/16999
13984 * gdb.base/gdbhistsize-history.exp: New test.
13985
13986 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13987
13988 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13989 with GDBHISTSIZE.
13990 * gdb.base/readline.exp: Likewise.
13991
13992 2015-06-17 Yao Qi <yao.qi@linaro.org>
13993
13994 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13995 line.
13996
13997 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13998
13999 * gdb.base/gdbinit-history.exp: Add test case to check that
14000 an unlimited history file does not get truncated on exit.
14001
14002 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14003
14004 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14005 (VECTOR): New macro. Use it...
14006 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14007 ...for these typedefs.
14008 (int8, char1, int1, double1): New typedefs.
14009 (struct just_int2, struct two_int2): New structures.
14010 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14011 (add_structvecs, add_singlevecs): New functions.
14012 (main): Call add_some_intvecs twice.
14013 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14014 the compile and exit upon failure. Try compiling for the "native"
14015 architecture. Test inferior function calls with vector arguments
14016 and vector return value handling with "finish" and "return".
14017
14018 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14019
14020 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14021 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14022 PE file.
14023 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14024
14025 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14026
14027 PR breakpoints/16465
14028 * gdb.mi/mi-dprintf-pending.c: New file.
14029 * gdb.mi/mi-dprintf-pending.exp: New test.
14030 * gdb.mi/mi-dprintf-pendshr.c: New file.
14031
14032 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14033 Mircea Gherzan <mircea.gherzan@intel.com>
14034
14035 * gdb.arch/i386-mpx-map.c: New file.
14036 * gdb.arch/i386-mpx-map.exp: New File.
14037
14038 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14039
14040 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14041 * gdb.arch/i386-mpx.exp: Indentation fixed.
14042
14043 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14044
14045 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14046 function and improved indentation.
14047 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14048 gdb_test_multiple. Added additional tests to skip the test.
14049
14050 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14051
14052 * gdb.arch/i386-avx512.c: Change path in include file.
14053 * gdb.arch/i386-avx512.exp: Change include dir path
14054 compilation flag.
14055 * gdb.arch/i386-mpx.c: Change path in include file.
14056 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14057 flag.
14058
14059 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14060
14061 * gdb.compile/compile-print.exp (compile print *vararray@3)
14062 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14063
14064 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14065
14066 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14067 (do not keep jit in memory): ... this.
14068 (expect 5): Change it to ...
14069 (expect no 5): ... this.
14070
14071 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14072
14073 PR gdb/15564
14074 * gdb.mi/mi-detach.exp: New file.
14075
14076 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14077
14078 PR symtab/18392
14079 * gdb.arch/amd64-tailcall-self.S: New file.
14080 * gdb.arch/amd64-tailcall-self.c: New file.
14081 * gdb.arch/amd64-tailcall-self.exp: New file.
14082
14083 2015-05-28 Don Breazeal <donb@codesourcery.com>
14084
14085 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14086 tests for remote targets by checking is_target_gdbserver.
14087
14088 2015-05-27 Doug Evans <dje@google.com>
14089
14090 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14091 * gdb.dwarf2/opaque-type-lookup.c: New file.
14092 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14093
14094 2015-05-26 Doug Evans <dje@google.com>
14095
14096 * gdb.cp/iostream.cc: New file.
14097 * gdb.cp/iostream.exp: New file.
14098
14099 2015-05-26 Doug Evans <dje@google.com>
14100
14101 * gdb.dwarf2/dw2-op-call.exp: Update.
14102 * gdb.dwarf2/dw4-sig-types.exp: Update.
14103 * gdb.dwarf2/implptr.exp: Update.
14104 * gdb.mi/mi-cmd-param-changed.exp: Update.
14105
14106 2015-05-26 Doug Evans <dje@google.com>
14107
14108 * gdb.python/py-lazy-string.c: New file.
14109 * gdb.python/py-lazy-string.exp: New file.
14110 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14111 (main): Update. Add estring3.
14112 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14113 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14114
14115 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14116 Yao Qi <yao.qi@linaro.org>
14117
14118 * gdb.reverse/aarch64.c: New.
14119 * gdb.reverse/aarch64.exp: New.
14120
14121 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14122
14123 * lib/gdb.exp (supports_process_record): Return true for
14124 aarch64*-linux*.
14125 (supports_reverse): Likewise.
14126
14127 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14128
14129 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14130 Use with_test_prefix.
14131
14132 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14133
14134 * gdb.base/completion.exp: Add test for completion of layout
14135 names.
14136
14137 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14138
14139 * lib/gdb.exp (skip_tui_tests): New proc.
14140 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14141
14142 2015-05-19 Pedro Alves <palves@redhat.com>
14143
14144 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14145 Save the whole env array instead of just HOME. Unset HISTSIZE in
14146 the environment while testing. Restore whole environment
14147 afterwards.
14148
14149 2015-05-16 Doug Evans <xdje42@gmail.com>
14150
14151 * gdb.guile/scm-ports.c: New file.
14152 * gdb.guile/scm-ports.exp: Add memory port tests.
14153
14154 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14155
14156 * gdb.compile/compile-print.c: New file.
14157 * gdb.compile/compile-print.exp: New file.
14158
14159 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14160
14161 * gdb.compile/compile-ops.exp: Cast param to void.
14162 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14163 (compile code struct_object.selffield = &struct_object): Add xfail.
14164
14165 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14166
14167 * gdb.ada/arr_enum_with_gap: New testcase.
14168
14169 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14170
14171 * gdb.ada/byte_packed_arr: New testcase.
14172
14173 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14174
14175 * gdb.ada/pckd_neg: New testcase.
14176
14177 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14178
14179 PR gdb/17820
14180 * gdb.base/gdbinit-history.exp: New test.
14181 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14182 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14183
14184 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14185
14186 * gdb.python/py-xmethods.cc: Enhance test case.
14187 * gdb.python/py-xmethods.exp: New tests.
14188 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14189 function.
14190 (B_indexoper): Likewise.
14191 (global_dm_list) : Add new xmethod worker functions.
14192
14193 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14194
14195 * gdb.base/coredump-filter.exp: Correctly unset
14196 "coredump_var_addr" array.
14197
14198 2015-05-08 Pedro Alves <palves@redhat.com>
14199
14200 * gdb.server/non-existing-program.exp: Unset spawn_id.
14201
14202 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14203
14204 PR python/18291
14205 * gdb.python/py-xmethods.exp: Add tests.
14206
14207 2015-05-08 Yao Qi <yao.qi@linaro.org>
14208
14209 PR gdb/18208
14210 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14211 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14212 function set_coredump_filter, and remove remote_exec call.
14213 Remove argument ipid. Callers update.
14214 (top level): Don't get inferior's PID.
14215
14216 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14217
14218 * gdb.base/watch_thread_num.exp: Skip test on targets without
14219 access watchpoints.
14220
14221 2015-05-06 Pedro Alves <palves@redhat.com>
14222
14223 PR server/18081
14224 * gdb.server/non-existing-program.exp: New file.
14225
14226 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14227
14228 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14229
14230 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14231
14232 * gdb.ada/out_of_line_in_inlined: New testcase.
14233
14234 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14235
14236 * gdb.ada/var_rec_arr: New testcase.
14237
14238 2015-04-30 Yao Qi <yao.qi@linaro.org>
14239
14240 * gdb.base/break-idempotent.exp: If
14241 skip_hw_watchpoint_multi_tests returns true, skip the tests
14242 on "rwatch" and "awatch".
14243
14244 2015-04-30 Yao Qi <yao.qi@linaro.org>
14245
14246 * gdb.base/relativedebug.exp: Invoke gdb command
14247 "info sharedlibrary", and if libc.so doesn't have debug info,
14248 skip the test.
14249
14250 2015-04-29 Doug Evans <dje@google.com>
14251
14252 * gdb.python/py-xmethods.exp: Add ptype tests.
14253 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14254 get_result_type method.
14255
14256 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14257
14258 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14259 the target does not support hardware watchpoints.
14260
14261 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14262
14263 * gdb.base/break-always.exp: Abort testing if writing to memory
14264 causes an error.
14265
14266 2015-04-28 Doug Evans <dje@google.com>
14267
14268 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14269 * gdb.python/py-pp-registration.exp: ... here. New file.
14270 * gdb.python/py-pp-registration.c: New file.
14271 * gdb.python/py-pp-registration.py: New file.
14272
14273 2015-04-28 Doug Evans <dje@google.com>
14274
14275 * gdb.python/py-bad-printers.c: New file.
14276 * gdb.python/py-bad-printers.py: New file.
14277 * gdb.python/py-bad-printers.exp: New file.
14278
14279 2015-04-28 Sasha Smundak <asmundak@google.com>
14280
14281 * gdb.python/py-type.exp: New test.
14282
14283 2015-04-28 Andy Wingo <wingo@igalia.com>
14284
14285 * gdb.python/py-parameter.exp:
14286 * gdb.guile/scm-parameter.exp: Escape the path that we are
14287 matching against, as it might contain characters that are special
14288 to regular expressions.
14289
14290 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14291
14292 * gdb.ada/rec_comp: New testcase.
14293
14294 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14295
14296 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14297 before using it.
14298
14299 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14300
14301 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14302 new tests for verilog output.
14303
14304 2015-04-24 Yao Qi <yao.qi@linaro.org>
14305
14306 * boards/remote-gdbserver-on-localhost.exp: New file.
14307
14308 2015-04-23 Pedro Alves <palves@redhat.com>
14309
14310 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14311 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14312 "end of file", remove $inferior_spawn_id from the indirect list.
14313
14314 2015-04-23 Pedro Alves <palves@redhat.com>
14315
14316 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14317
14318 2015-04-23 Pedro Alves <palves@redhat.com>
14319
14320 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14321 on $any_spawn_id instead of only on $gdb_spawn_id.
14322
14323 2015-04-21 Pierre Muller <muller@sourceware.org>
14324
14325 PR pascal/17815
14326 * lib/pascal.exp (gpc_compile): Add new option "class".
14327 (fpc_compile): Likewise.
14328 * gdb.pascal/case-insensitive-symbols.pas: New file.
14329 * gdb.pascal/case-insensitive-symbols.exp: New file.
14330
14331 2015-04-20 Gary Benson <gbenson@redhat.com>
14332
14333 * gdb.base/attach.exp: Fix three extended remote failures.
14334
14335 2015-04-17 Gary Benson <gbenson@redhat.com>
14336
14337 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14338 the main executable over the remote protocol.
14339
14340 2015-04-16 Pedro Alves <palves@redhat.com>
14341
14342 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14343 a new gdbserver if gdbserver_reconnect_p is set.
14344
14345 2015-04-16 Pedro Alves <palves@redhat.com>
14346
14347 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14348 is set, don't exit gdbserver.
14349
14350 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14351
14352 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14353 appropriate .insn, such that an older assembler can be used.
14354 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14355 the z/Architecture instruction set on 31-bit targets as well.
14356
14357 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14358
14359 * gdb.go/handcall.exp: Remove all logic related to the first
14360 breakpoint and rely on go_runto_main instead.
14361 * gdb.go/strings.exp: Likewise.
14362 * gdb.go/unsafe.exp: Likewise.
14363 * gdb.go/hello.exp: Likewise. Also rename the remaining
14364 breakpoint marker to "breakpoint 1".
14365 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14366 * gdb.go/strings.go: Likewise.
14367 * gdb.go/unsafe.go: Likewise.
14368 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14369 "set breakpoint 2 here" and rename the remaining breakpoint marker
14370 to "breakpoint 1".
14371
14372 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14373
14374 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14375 if itertools.imap is not present.
14376 * gdb.python/py-objfile.exp: Add parentheses.
14377 * gdb.python/py-type.exp: Same.
14378 * gdb.python/py-unwind-maint.py: Same.
14379
14380 2015-04-15 Yao Qi <yao.qi@linaro.org>
14381
14382 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14383 of ":$ptr_size" and set its form explicitly.
14384
14385 2015-04-15 Pedro Alves <palves@redhat.com>
14386 Yao Qi <yao.qi@linaro.org>
14387
14388 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14389 timeout by factor of 4.
14390 (test_regular_watch): Likewise.
14391 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14392 * gdb.reverse/sigall-reverse.exp: Likewise.
14393 * gdb.reverse/until-precsave.exp: Likewise.
14394 * lib/gdb.exp (with_timeout_factor): New proc.
14395 (gdb_expect): Move some code to ...
14396 (get_largest_timeout): ... here. New procedure.
14397
14398 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14399
14400 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14401
14402 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14403
14404 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14405 to write to the .text section.
14406
14407 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14408
14409 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14410 Handle the case of targets that do not provide PID information.
14411
14412 2015-04-13 Yao Qi <yao.qi@linaro.org>
14413
14414 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14415 and use expect instead of gdb_expect.
14416
14417 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14418
14419 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14420 "coredump_var_addr" to avoid naming conflict with other testcases.
14421
14422 2015-04-10 Pedro Alves <palves@redhat.com>
14423
14424 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14425 gdb_test_sequence and gdb_assert.
14426
14427 2015-04-10 Pedro Alves <palves@redhat.com>
14428
14429 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14430 test messages that don't include the breakpoint address.
14431
14432 2015-04-10 Yao Qi <yao.qi@linaro.org>
14433
14434 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14435 false for some offset and width combinations which aren't
14436 supported by linux kernel.
14437
14438 2015-04-10 Pedro Alves <palves@redhat.com>
14439
14440 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14441 procedure, factored out from ...
14442 (top level): ... here. Add "set displaced-stepping" testing axis.
14443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14444 parameter "displaced". Use it.
14445 (top level): Use foreach and add "set displaced-stepping" testing
14446 axis.
14447
14448 2015-04-10 Pedro Alves <palves@redhat.com>
14449
14450 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14451 Remove comment.
14452 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14453 both the address of the instruction that triggers the watchpoint
14454 and the address of the instruction immediately after, and use
14455 those addresses for the test. Fix comment.
14456
14457 2015-04-10 Pedro Alves <palves@redhat.com>
14458
14459 * gdb.base/sigstep.exp (breakpoint_to_handler)
14460 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14461 Test "backtrace" in handler.
14462 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14463 (top level): Add new "displaced" test axis to
14464 breakpoint_to_handler, breakpoint_to_handler_entry and
14465 breakpoint_over_handler.
14466
14467 2015-04-10 Pedro Alves <palves@redhat.com>
14468
14469 PR gdb/18216
14470 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14471
14472 2015-04-10 Yao Qi <yao.qi@linaro.org>
14473
14474 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14475 (test_add_rn_pc): New function.
14476 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14477 (top level): Invoke test_add_rn_pc.
14478
14479 2015-04-10 Pedro Alves <palves@redhat.com>
14480
14481 PR gdb/13858
14482 * gdb.base/step-over-no-symbols.exp: New file.
14483
14484 2015-04-09 Andy Wingo <wingo@igalia.com>
14485
14486 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14487 after the Python tests.
14488
14489 2015-04-08 Keith Seitz <keiths@redhat.com>
14490
14491 PR python/16699
14492 * gdb.python/py-completion.exp: New tests for completion.
14493 * gdb.python/py-completion.py (CompleteLimit1): New class.
14494 (CompleteLimit2): Likewise.
14495 (CompleteLimit3): Likewise.
14496 (CompleteLimit4): Likewise.
14497 (CompleteLimit5): Likewise.
14498 (CompleteLimit6): Likewise.
14499 (CompleteLimit7): Likewise.
14500
14501 2015-04-08 Pedro Alves <palves@redhat.com>
14502
14503 PR gdb/18214
14504 PR gdb/18216
14505 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14506 function.
14507 (main): Install it as SIGUSR1 handler.
14508 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14509 parameter. Always use "setup" as prefix. Toggle "set
14510 displaced-stepping" off/on depending on global. Don't switch to
14511 thread 1 here.
14512 (top level): Add displaced stepping "off/on" test axis. Update
14513 "setup" calls. Wrap each subtest with with_test_prefix. Test
14514 continuing with a queued signal in each thread.
14515
14516 2015-04-08 Pedro Alves <palves@redhat.com>
14517
14518 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14519 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14520 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14521 Return early if running to main fails.
14522 * gdb.trace/while-stepping.exp: Likewise.
14523
14524 2015-04-07 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14527 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14528 interact with inferior program.
14529
14530 2015-04-07 Pedro Alves <palves@redhat.com>
14531
14532 * lib/gdb.exp (inferior_spawn_id): New global.
14533 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14534 spawn id after processing the user code.
14535 (default_gdb_start): Set inferior_spawn_id.
14536 (send_inferior): New procedure.
14537 * lib/gdbserver-support.exp (gdbserver_start): Set
14538 inferior_spawn_id.
14539 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14540
14541 2015-04-07 Pedro Alves <palves@redhat.com>
14542
14543 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14544 * lib/gdbserver-support.exp (gdbserver_start): Make
14545 $server_spawn_id global.
14546 (gdbserver_start): Don't wait for gdbserver's spawn id with
14547 expect_background.
14548 (close_gdbserver): New procedure.
14549 (gdb_exit): Rename the default version and reimplement.
14550
14551 2015-04-07 Pedro Alves <palves@redhat.com>
14552
14553 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14554 append the substituted item, not the original item.
14555
14556 2015-04-07 Pedro Alves <palves@redhat.com>
14557
14558 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14559 gdb_expect.
14560
14561 2015-04-07 Pedro Alves <palves@redhat.com>
14562
14563 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14564 output appearing once only.
14565
14566 2015-04-07 Pedro Alves <palves@redhat.com>
14567
14568 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14569 that doesn't expect anything. Return early if running to main
14570 fails.
14571
14572 2015-04-07 Yao Qi <yao.qi@linaro.org>
14573
14574 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14575 (child_function): Call alarm.
14576 (main): Move call to alarm into the loop.
14577 * gdb.threads/non-stop-fair-events.exp: Build program with
14578 -DTIMEOUT=$timeout.
14579
14580 2015-04-06 Doug Evans <xdje42@gmail.com>
14581
14582 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14583 Fix dest parameter to board_info.
14584 (fpc_compile): Ditto.
14585 (gdb_compile_pascal): Rename dest arg to destfile.
14586
14587 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14588
14589 * gdb.ada/funcall_ref.exp: New file.
14590 * gdb.ada/funcall_ref/foo.adb: New file.
14591
14592 2015-04-02 Yao Qi <yao.qi@linaro.org>
14593
14594 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14595 is remote.
14596
14597 2015-04-02 Gary Benson <gbenson@redhat.com>
14598
14599 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14600
14601 2015-04-01 Sasha Smundak <asmundak@google.com>
14602
14603 * gdb.python/py-unwind-maint.c: New file.
14604 * gdb.python/py-unwind-maint.exp: New test.
14605 * gdb.python/py-unwind-maint.py: New file.
14606 * gdb.python/py-unwind.c: New file.
14607 * gdb.python/py-unwind.exp: New test.
14608 * gdb.python/py-unwind.py: New test.
14609
14610 2015-04-01 Pedro Alves <palves@redhat.com>
14611
14612 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14613 to fail instead of non-existent $test.
14614
14615 2015-04-01 Pedro Alves <palves@redhat.com>
14616
14617 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14618 GDBFLAGS if not empty.
14619
14620 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14621
14622 * gdb.ada/complete.exp: Remove "multi_line".
14623 * gdb.ada/info_exc.exp: Remove "multi_line".
14624 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14625 * gdb.ada/ptype_field.exp: Remove "multi_line".
14626 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14627 * gdb.ada/tagged.exp: Remove "multi_line".
14628 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14629 [multi_line ...]
14630 * gdb.btrace/delta.exp: Likewise.
14631 * gdb.btrace/exception.exp: Likewise.
14632 * gdb.btrace/function_call_history.exp: Likewise.
14633 * gdb.btrace/instruction_history.exp: Likewise.
14634 * gdb.btrace/nohist.exp: Likewise.
14635 * gdb.btrace/record_goto.exp: Likewise.
14636 * gdb.btrace/segv.exp: Likewise.
14637 * gdb.btrace/stepi.exp: Likewise.
14638 * gdb.btrace/tailcall.exp: Likewise.
14639 * gdb.btrace/unknown_functions.exp: Likewise.
14640 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14641 * lib/gdb.exp: Add the "multi_line" helper.
14642
14643 2015-04-01 Pedro Alves <palves@redhat.com>
14644
14645 * gdb.threads/tid-reuse.c: New file.
14646 * gdb.threads/tid-reuse.exp: New file.
14647
14648 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14649
14650 PR corefiles/16092
14651 * gdb.base/coredump-filter.c: New file.
14652 * gdb.base/coredump-filter.exp: Likewise.
14653
14654 2015-03-27 Petr Machata <pmachata@redhat.com>
14655
14656 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14657 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14658 (Dwarf::assemble): Initialize them.
14659 (Dwarf::lines): New function.
14660
14661 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14662
14663 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14664 SYMBOL_PREFIX for x86_64-*-cygwin.
14665
14666 2015-03-26 Andy Wingo <wingo@igalia.com>
14667
14668 PR symtab/18148
14669 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14670 const_value but not a location.
14671 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14672 location defined in non-main CUs are visible.
14673
14674 2015-03-26 Yao Qi <yao.qi@linaro.org>
14675
14676 PR testsuite/18139
14677 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14678 Add a line number entry for the same line.
14679 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14680 Add a line number entry for the same line.
14681
14682 2015-03-26 Yao Qi <yao.qi@linaro.org>
14683
14684 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14685 .int 0.
14686 (func): Likewise. Add .Lfunc_1 label.
14687 Use .Lfunc_1 label.
14688 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14689 .int 0.
14690 (func): Likewise.
14691 Use .Lfunc_1 label.
14692
14693 2015-03-26 Yao Qi <yao.qi@linaro.org>
14694
14695 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14696 Call gdb_compile instead to compile each .s files without debug
14697 information.
14698
14699 2015-03-26 Yao Qi <yao.qi@linaro.org>
14700
14701 * gdb.base/savedregs.exp (process_saved_regs): Make
14702 "Saved registers:" optional in the pattern.
14703
14704 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14705
14706 * gdb.btrace/next.exp: Merged into step.exp.
14707 * gdb.btrace/finish.exp: Merged into step.exp.
14708 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14709 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14710 "record goto" and checking the exact replay position.
14711 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14712 check for "Recording format" in "info record" output.
14713 * gdb.btrace/record_goto.exp: Choose test file based on target.
14714 * gdb.btrace/x86-record_goto.S: Renamed into ...
14715 * gdb.btrace/x86_64-record_goto.S: ... this.
14716 * gdb.btrace/i686-record_goto.S: New.
14717 * gdb.btrace/x86-tailcall.S: Renamed into ...
14718 * gdb.btrace/x86_64-tailcall.S: ... this.
14719 * gdb.btrace/i686-tailcall.S: New.
14720 * gdb.btrace/x86-tailcall.c: Renamed into ...
14721 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14722 separate statements. Update test.
14723 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14724 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14725 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14726 * gdb.btrace/tailcall.exp: Choose test file based on target.
14727 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14728
14729 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14730
14731 * gdb.btrace/exception.exp: Increase BTS buffer size.
14732
14733 2015-03-24 Pedro Alves <palves@redhat.com>
14734
14735 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14736
14737 2015-03-24 Pedro Alves <palves@redhat.com>
14738
14739 * gdb.threads/schedlock.exp (test_step): No longer expect that
14740 "set scheduler-locking step" with "next" over a function call runs
14741 threads unlocked.
14742
14743 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14744
14745 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14746
14747 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14748
14749 PR breakpoints/16466
14750 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14751 * gdb.mi/mi-pending.c (thread_func): New function.
14752 (int main): Add threading support required.
14753 * gdb.mi/mi-pending.exp: Add tests for this issue.
14754 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14755 (pendfunc2): Remove stdio dependency.
14756 * gdb.mi/mi-pendshr2.c: New file.
14757
14758 2015-03-23 Keith Seitz <keiths@redhat.com>
14759
14760 * gdb.linespec/keywords.c: New file.
14761 * gdb.linespec/keywords.exp: New file.
14762
14763 2015-03-23 Keith Seitz <keiths@redhat.com>
14764
14765 PR gdb/18021
14766 * gdb.dwarf2/staticvirtual.exp: New test.
14767
14768 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14769
14770 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14771 * README: Remove HP-UX and gdb.hp.
14772 (configuration):
14773 * configure: Regenerate.
14774 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14775 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14776 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14777 gdb.hp/gdb.defects/Makefile.
14778 * gdb.hp/Makefile.in: File deleted.
14779 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14780 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14781 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14782 * gdb.hp/gdb.aCC/run.c: File deleted.
14783 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14784 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14785 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14786 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14787 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14788 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14789 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14790 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14791 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14792 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14793 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14794 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14795 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14796 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14797 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14798 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14799 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14800 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14801 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14802 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14803 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14804 * gdb.hp/gdb.compat/average.c: File deleted.
14805 * gdb.hp/gdb.compat/sum.c: File deleted.
14806 * gdb.hp/gdb.compat/xdb.c: File deleted.
14807 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14808 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14809 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14810 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14811 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14812 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14813 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14814 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14815 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14816 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14817 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14818 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14819 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14820 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14821 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14822 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14823 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14824 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14825 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14826 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14827 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14828 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14829 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14830 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14831 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14832 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14833 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14834 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14835 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14836 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14837 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14838 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14839 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14840 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14841 * gdb.hp/tools/odump: File deleted.
14842
14843 2015-03-19 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14846 (saw_thread_3): New globals.
14847 (top level): Increment them when an event for the corresponding
14848 thread is seen.
14849 (no thread starvation): New test.
14850
14851 2015-03-19 Pedro Alves <palves@redhat.com>
14852
14853 * gdb.threads/continue-pending-status.c: New file.
14854 * gdb.threads/continue-pending-status.exp: New file.
14855
14856 2015-03-18 Pedro Alves <palves@redhat.com>
14857
14858 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14859 Use gdb_is_target_remote instead of is_remote. Use
14860 gdb_test_multiple instead of gdb_expect. Exit early if
14861 gdb_test_multiple hits its internal matches. Tighten stepi tests
14862 expected output. Fail on exit with any signal, instead of just
14863 SIGILL.
14864
14865 2015-03-18 Yao Qi <yao.qi@linaro.org>
14866
14867 PR tdep/18107
14868 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14869 variable.
14870 * gdb.base/catch-syscall.exp: Don't skip it on
14871 aarch64*-*-linux* target. Remove elements in all_syscalls.
14872 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14873 target.
14874 (setup_all_syscalls): New proc.
14875
14876 2015-03-16 Yao Qi <yao.qi@linaro.org>
14877
14878 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14879 (top level): Skip tests if valid_addr_p returns false for
14880 $cmd1 or $cmd2.
14881
14882 2015-03-11 Andy Wingo <wingo@igalia.com>
14883
14884 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14885
14886 2015-03-11 Yao Qi <yao.qi@linaro.org>
14887
14888 * gdb.base/catch-syscall.exp: Fix typo in comments.
14889
14890 2015-03-11 Yao Qi <yao.qi@linaro.org>
14891
14892 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14893
14894 2015-03-09 Pedro Alves <palves@redhat.com>
14895
14896 * dg-extract-results.py: Delete.
14897
14898 2015-03-09 Pedro Alves <palves@redhat.com>
14899
14900 Merge dg-extract-results.sh from GCC upstream (r218843).
14901
14902 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14903 * dg-extract-results.sh: Use --text with grep to avoid issues with
14904 binary files. Fall back to cat -v, if that doesn't work.
14905
14906 2015-03-05 Pedro Alves <palves@redhat.com>
14907
14908 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14909
14910 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14911
14912 * lib/mi-support.exp (mi_expect_interrupt): Accept
14913 alternative event for when in all-stop mode.
14914
14915 2015-03-04 Pedro Alves <palves@redhat.com>
14916
14917 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14918
14919 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14920
14921 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14922
14923 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14924
14925 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14926 regexps for GDB's current line display, accept a hex address
14927 preceding the line number.
14928
14929 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14930
14931 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14932 the 'arch1' variable for "s390*-linux*" targets.
14933
14934 2015-03-04 Pedro Alves <palves@redhat.com>
14935
14936 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14937 (main): Pass missing retval argument to pthread_join call.
14938
14939 2015-03-02 Pedro Alves <palves@redhat.com>
14940
14941 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14942 (top level): Call do_test with non-stop as well.
14943
14944 2015-03-02 Pedro Alves <palves@redhat.com>
14945
14946 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14947 -1.
14948
14949 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14950
14951 * gdb.arch/s390-vregs.exp: New test.
14952 * gdb.arch/s390-vregs.S: New file.
14953
14954 2015-02-27 Pedro Alves <palves@redhat.com>
14955
14956 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14957 call to catch_command_errors.
14958 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14959 catch_command_errors.
14960
14961 2015-02-27 Pedro Alves <palves@redhat.com>
14962
14963 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14964 "true" for boolean result.
14965 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14966 prototype of main.
14967
14968 2015-02-27 Pedro Alves <palves@redhat.com>
14969
14970 * lib/unbuffer_output.c: New file.
14971 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14972 (main): Call gdb_unbuffer_output.
14973
14974 2015-02-27 Yao Qi <yao.qi@linaro.org>
14975
14976 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14977 target.
14978
14979 2015-02-26 Doug Evans <dje@google.com>
14980
14981 * gdb.cp/class2.cc (Dbase, D): New classes.
14982 (main): New local delta.
14983 * gdb.cp/class2.exp: Test printing delta.
14984 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14985 (dynbar): New global.
14986 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14987
14988 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14989
14990 * gdb.compile/compile-ifunc.c: New file.
14991 * gdb.compile/compile-ifunc.exp: New file.
14992
14993 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14994
14995 * gdb.base/structs.exp: Check for correct struct on finish.
14996
14997 2015-02-26 Yao Qi <yao.qi@linaro.org>
14998
14999 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15000 is zero.
15001
15002 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15003
15004 * gdb.arch/cordic.ko.bz2: New file.
15005 * gdb.arch/cordic.ko.debug.bz2: New file.
15006 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15007
15008 2015-02-25 Yao Qi <yao.qi@linaro.org>
15009
15010 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15011 aarch64*-*-* target.
15012
15013 2015-02-23 Pedro Alves <palves@redhat.com>
15014
15015 * lib/gdb.exp (delete_breakpoints): Rewrite using
15016 gdb_test_multiple.
15017
15018 2015-02-23 Pedro Alves <palves@redhat.com>
15019
15020 * gdb.base/info-os.c: Include stdlib.h.
15021
15022 2015-02-22 Doug Evans <xdje42@gmail.com>
15023
15024 PR symtab/17855
15025 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15026 is read after symbols have been re-read.
15027 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15028 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15029
15030 2015-02-21 Doug Evans <dje@google.com>
15031
15032 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15033
15034 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15035
15036 PR corefiles/17808
15037 * gdb.arch/i386-biarch-core.core.bz2: New file.
15038 * gdb.arch/i386-biarch-core.exp: New file.
15039
15040 2015-02-21 Pedro Alves <palves@redhat.com>
15041
15042 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15043 runto_main fails.
15044
15045 2015-02-20 Pedro Alves <palves@redhat.com>
15046
15047 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15048 info probes.
15049
15050 2015-02-20 Pedro Alves <palves@redhat.com>
15051
15052 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15053
15054 2015-02-20 Pedro Alves <palves@redhat.com>
15055
15056 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15057 clean_restart before gdb_target_supports_trace.
15058
15059 2015-02-20 Pedro Alves <palves@redhat.com>
15060
15061 PR threads/18006
15062 * gdb.threads/clone-thread_db.c: New file.
15063 * gdb.threads/clone-thread_db.exp: New file.
15064
15065 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15066
15067 PR breakpoints/16812
15068 * gdb.base/catch-gdb-caused-signals.c: New file.
15069 * gdb.base/catch-gdb-caused-signals.exp: New file.
15070
15071 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15072
15073 * configure: Regenerated.
15074 * configure.ac: Use GDB_AC_TRANSFORM.
15075 * aclocal.m4: sinclude ../transform.m4.
15076
15077 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15078
15079 * lib/dtrace.exp: New file.
15080 * gdb.base/dtrace-probe.exp: Likewise.
15081 * gdb.base/dtrace-probe.d: Likewise.
15082 * gdb.base/dtrace-probe.c: Likewise.
15083 * lib/pdtrace.in: Likewise.
15084 * configure.ac: Output variables with the transformed names of
15085 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15086 * configure: Regenerated.
15087
15088 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15089
15090 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15091 expected message when trying to access $_probe_* convenience
15092 variables while not on a probe.
15093
15094 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15095
15096 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15097
15098 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15099
15100 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15101 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15102
15103 2015-02-10 Doug Evans <xdje42@gmail.com>
15104
15105 * lib/gdb.exp (gdb_load): Always return a result.
15106
15107 2015-02-10 Pedro Alves <palves@redhat.com>
15108
15109 * gdb.threads/signal-sigtrap.c: New file.
15110 * gdb.threads/signal-sigtrap.exp: New file.
15111
15112 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15113
15114 * gdb.trace/no-attach-trace.c: New file.
15115 * gdb.trace/no-attach-trace.exp: New file.
15116
15117 2015-02-09 Mark Wielaard <mjw@redhat.com>
15118
15119 * gdb.dwarf2/atomic.c: New file.
15120 * gdb.dwarf2/atomic-type.exp: Likewise.
15121
15122 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15123
15124 * gdb.btrace/buffer-size.exp: Update "info record" output.
15125 * gdb.btrace/delta.exp: Update "info record" output.
15126 * gdb.btrace/enable.exp: Update "info record" output.
15127 * gdb.btrace/finish.exp: Update "info record" output.
15128 * gdb.btrace/instruction_history.exp: Update "info record" output.
15129 * gdb.btrace/next.exp: Update "info record" output.
15130 * gdb.btrace/nexti.exp: Update "info record" output.
15131 * gdb.btrace/step.exp: Update "info record" output.
15132 * gdb.btrace/stepi.exp: Update "info record" output.
15133 * gdb.btrace/nohist.exp: Update "info record" output.
15134
15135 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15136
15137 * gdb.btrace/buffer-size: New.
15138
15139 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15140
15141 * gdb.btrace/delta.exp: Update "info record" output.
15142 * gdb.btrace/enable.exp: Update "info record" output.
15143 * gdb.btrace/finish.exp: Update "info record" output.
15144 * gdb.btrace/instruction_history.exp: Update "info record" output.
15145 * gdb.btrace/next.exp: Update "info record" output.
15146 * gdb.btrace/nexti.exp: Update "info record" output.
15147 * gdb.btrace/step.exp: Update "info record" output.
15148 * gdb.btrace/stepi.exp: Update "info record" output.
15149 * gdb.btrace/nohist.exp: Update "info record" output.
15150
15151 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15152
15153 PR gdb/15678
15154 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15155
15156 2015-02-06 Pedro Alves <palves@redhat.com>
15157
15158 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15159 macro.
15160 (seconds_left, again): New globals.
15161 (main): Wait seconds_left in a 1-second sleep loop instead of
15162 sleeping 180 seconds. If 'again' is set, reset the seconds
15163 counter.
15164 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15165 'again' in the inferior before detaching. Print the seconds left.
15166 (options): New global.
15167 (top level): Build program with -DTIMEOUT=$timeout.
15168
15169 2015-02-06 Pedro Alves <palves@redhat.com>
15170
15171 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15172 determine how many seconds to pass to 'alarm'.
15173 * gdb.base/gdb-sigterm.exp (top level): Build program with
15174 -DTIMEOUT=$timeout.
15175 (do_test): Return success/failure indication. Add more verbose
15176 logging. Don't fail if 200 single steps are seen. Instead, fail
15177 when the test times out.
15178 (passes): New global.
15179 (top level): Break the testing loop if testing fails on any
15180 iteration. Use gdb_assert.
15181
15182 2015-02-04 Don Breazeal <donb@codesourcery.com>
15183
15184 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15185 and initialize them.
15186 (ipc_cleanup): New function.
15187 (main): Don't declare shmid, semid, and msqid. Add a call to
15188 atexit so that we call ipc_cleanup on exit.
15189
15190 2015-02-04 Pedro Alves <palves@redhat.com>
15191
15192 * boards/native-extended-gdbserver.exp: Remove any target variant
15193 specifications from the board name before clearing the isremote
15194 flag from board_info.
15195
15196 2015-01-31 Doug Evans <xdje42@gmail.com>
15197
15198 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15199
15200 2015-01-31 Gary Benson <gbenson@redhat.com>
15201
15202 * gdb.base/completion.exp: Disable completion limiting for
15203 existing tests. Add new tests to check completion limiting.
15204 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15205
15206 2015-01-31 Doug Evans <xdje42@gmail.com>
15207
15208 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15209
15210 2015-01-31 Doug Evans <xdje42@gmail.com>
15211
15212 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15213 entries. Duplicate file section script entries.
15214 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15215 inlined entries. Add test for safe-path rejection.
15216 * gdb.python/py-section-script.c: Add duplicate inlined section script
15217 entries. Duplicate file section script entries.
15218 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15219 inlined entries. Add test for safe-path rejection.
15220
15221 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15222
15223 * gdb.ada/disc_arr_bound: New testcase.
15224
15225 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15226
15227 * gdb.ada/mi_var_array: New testcase.
15228
15229 2015-01-27 Doug Evans <dje@google.com>
15230
15231 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15232 Add test for objfile.filename, objfile.username after objfile
15233 has been unloaded.
15234
15235 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15236
15237 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15238 the second test to print the name attribute of value
15239 returned by the call to gdb.lookup_type, and adjust
15240 the expected output accordingly.
15241
15242 2015-01-25 Mark Wielaard <mjw@redhat.com>
15243
15244 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15245 * gdb.base/disp-step-fork.c: Include unistd.h.
15246 * gdb.base/siginfo-obj.c: Include stdio.h.
15247 * gdb.base/siginfo-thread.c: Likewise.
15248 * gdb.mi/non-stop.c: Include unistd.h.
15249 * gdb.mi/nsthrexec.c: Include stdio.h.
15250 * gdb.mi/pthreads.c: Include unistd.h.
15251 * gdb.modula2/unbounded1.c (main): Declare returns int.
15252 * gdb.reverse/consecutive-reverse.c: Likewise.
15253 * gdb.threads/create-fail.c: Include unistd.h.
15254 * gdb.threads/killed.c: Likewise.
15255 * gdb.threads/linux-dp.c: Likewise.
15256 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15257 * gdb.threads/non-ldr-exc-2.c: Likewise.
15258 * gdb.threads/non-ldr-exc-3.c: Likewise.
15259 * gdb.threads/non-ldr-exc-4.c: Likewise.
15260 * gdb.threads/pthreads.c: Include unistd.h.
15261 (main): Declare returns int.
15262 * gdb.threads/tls-main.c (foo): New declaration.
15263 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15264
15265 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15266
15267 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15268 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15269
15270 2015-01-15 Mark Wielaard <mjw@redhat.com>
15271
15272 * gdb.base/noreturn-return.c: New file.
15273 * gdb.base/noreturn-return.exp: New file.
15274 * gdb.base/noreturn-finish.c: New file.
15275 * gdb.base/noreturn-finish.exp: New file.
15276
15277 2015-01-23 Pedro Alves <palves@redhat.com>
15278
15279 * gdb.threads/continue-pending-after-query.c: New file.
15280 * gdb.threads/continue-pending-after-query.exp: New file.
15281
15282 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15283 Simon Marchi <simon.marchi@ericsson.com>
15284
15285 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15286 * gdb.base/valgrind-db-attach.exp: Same.
15287 * gdb.base/valgrind-infcall.exp: Same.
15288 * lib/mi-support.exp (default_mi_gdb_start): Same.
15289 * lib/prompt.exp (default_prompt_gdb_start): Same.
15290 * lib/gdb.exp (default_gdb_spawn): Same.
15291 (gdb_interact): New.
15292
15293
15294 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15295
15296 * gdb.compile/compile.exp (pointer to jit function): New test.
15297
15298 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15299
15300 * lib/gdb.exp (supports_process_record): Return true for
15301 powerpc*-*-linux*.
15302 (supports_reverse): Likewise.
15303
15304 2015-01-15 Don Breazeal <donb@codesourcery.com>
15305
15306 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15307 instead of checking whether the target board is remote and
15308 use spawn_wait_for_attach instead of exec/sleep.
15309 * gdb.base/attach-twice.exp: Likewise.
15310
15311 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15312
15313 * gdb.ada/var_arr_attrs: New testcase.
15314
15315 2015-01-14 Pedro Alves <palves@redhat.com>
15316 Joel Brobecker <brobecker@adacore.com>
15317
15318 PR gdb/17525
15319 * gdb.base/bp-cmds-execution-x-script.c: New file.
15320 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15321 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15322
15323 2015-01-14 Pedro Alves <palves@redhat.com>
15324
15325 PR cli/17828
15326 * gdb.base/batch-preserve-term-settings.c: New file.
15327 * gdb.base/batch-preserve-term-settings.exp: New file.
15328
15329 2015-01-13 Doug Evans <dje@google.com>
15330
15331 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15332 binary.
15333
15334 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15335
15336 * Makefile.in (clean mostlyclean): Do not delete *.py.
15337
15338 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15339
15340 * gdb.python/py-lookup-type.exp: New file.
15341
15342 2015-01-12 Pedro Alves <palves@redhat.com>
15343
15344 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15345 restore GDBFLAGS before returning.
15346
15347 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15348
15349 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15350 is_amd64_regs_target and is_x86_like_target.
15351
15352 2015-01-11 Doug Evans <xdje42@gmail.com>
15353
15354 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15355 is given without an explicit form.
15356 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15357 attributes.
15358 * gdb.dwarf/corrupt.exp: Ditto.
15359 * gdb.dwarf2/enum-type.exp: Ditto.
15360 * gdb.trace/entry-values.exp: Ditto.
15361 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15362
15363 2015-01-11 Doug Evans <xdje42@gmail.com>
15364
15365 PR gdb/15830
15366 * gdb.base/maint.exp: Remove references to "maint demangle".
15367 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15368 Add tests for explicitly specifying language to demangle.
15369 * gdb.dlang/demangle.exp: Ditto.
15370
15371 2015-01-09 Pedro Alves <palves@redhat.com>
15372
15373 * gdb.threads/non-stop-fair-events.c: New file.
15374 * gdb.threads/non-stop-fair-events.exp: New file.
15375
15376 2015-01-09 Pedro Alves <palves@redhat.com>
15377
15378 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15379 the global scope. Set a breakpoint after all threads are started
15380 rather than stepping over two source lines. Expect the prompt.
15381 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15382 global.
15383 (NUM): Now 15.
15384 (main): Use threads_started_barrier to wait for all threads to
15385 start. Main thread no longer calls thread_function. Exit after
15386 180 seconds.
15387 (loop): New function.
15388 (thread_function): Wait on threads_started_barrier barrier. Call
15389 'loop' at each iteration.
15390 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15391 threads have started, instead of hardcoding number of "next"
15392 steps. Use an access watchpoint instead of a write watchpoint.
15393
15394 2015-01-09 Pedro Alves <palves@redhat.com>
15395
15396 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15397 (thread_func): Wait on barrier.
15398 (main): Wait for all threads to start before stopping GDB.
15399 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15400 global.
15401 (thread1_func, thread2_func): Wait on barrier.
15402 (main): Wait for all threads to start before stopping GDB.
15403 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15404 New global.
15405 (thread1_func, thread2_func): Wait on barrier.
15406 (main): Wait for all threads to start before stopping GDB.
15407
15408 2015-01-09 Pedro Alves <palves@redhat.com>
15409
15410 * gdb.threads/attach-many-short-lived-threads.c: New file.
15411 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15412
15413 2014-01-09 Pedro Alves <palves@redhat.com>
15414
15415 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15416 instead of to thread 2.
15417 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15418 Add barrier around each pthread_create call instead of around all
15419 calls.
15420 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15421 Set a break on thread_function and have the child threads hit it
15422 one at at a time.
15423
15424 2015-01-09 Pedro Alves <palves@redhat.com>
15425
15426 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15427 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15428 false.
15429 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15430 checking whether the target board is remote.
15431 * gdb.multi/multi-attach.exp: Likewise.
15432 * gdb.python/py-sync-interp.exp: Likewise.
15433 * gdb.server/ext-attach.exp: Likewise.
15434 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15435 tests that need to attach, instead of checking whether the target
15436 board is remote at the top of the file.
15437
15438 2015-01-08 Yao Qi <yao@codesourcery.com>
15439
15440 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15441
15442 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15443
15444 Fix testcase compilation.
15445 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15446
15447 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15448
15449 * gdb.python/py-type.exp: Add a couple test about empty
15450 array creation, and negative-length array creation.
15451
15452 2015-01-02 Doug Evans <xdje42@gmail.com>
15453
15454 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15455
15456 2015-01-02 Doug Evans <dje@google.com>
15457
15458 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15459
15460 2014-12-29 Yao Qi <yao@codesourcery.com>
15461
15462 * gdb.trace/entry-values.exp: Update comments. Rename variable
15463 bar_call_foo to returned_from_foo.
15464
15465 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15466
15467 PR gdb/17394
15468 * gdb.linespec/break-asm-file.c: New file.
15469 * gdb.linespec/break-asm-file.exp: New file.
15470 * gdb.linespec/break-asm-file0.s: New file.
15471 * gdb.linespec/break-asm-file1.s: New file.
15472
15473 2014-12-18 Nigel Stephens <nigel@mips.com>
15474 Maciej W. Rozycki <macro@codesourcery.com>
15475
15476 * gdb.base/float.exp: Handle the new output from "info float" on
15477 MIPS targets.
15478
15479 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15480
15481 Fix MinGW compilation.
15482 * gdb.compile/compile-ops.exp: Update untested message if
15483 !skip_compile_feature_tests.
15484 * gdb.compile/compile-setjmp.exp: Likewise.
15485 * gdb.compile/compile-tls.exp: Likewise.
15486 * gdb.compile/compile.exp: Likewise.
15487 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15488 supported on this host".
15489
15490 2014-12-16 Doug Evans <xdje42@gmail.com>
15491
15492 * boards/stabs.exp: New file.
15493
15494 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15495
15496 * gdb.base/completion.exp: Adjust to format changes of "maint
15497 print user-registers".
15498
15499 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15500
15501 PR server/17457
15502 * gdb.arch/aarch64-fp.c: New file.
15503 * gdb.arch/aarch64-fp.exp: New file.
15504
15505 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15506
15507 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15508 r210637, r210913, r211666, r215400, r215817).
15509
15510 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15511 * dg-extract-results.py: New file.
15512 * dg-extract-results.sh: Use it if the environment seems
15513 suitable.
15514
15515 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15516
15517 * dg-extract-results.py (parse_run): Handle warnings that
15518 are printed before a test harness is run.
15519
15520 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15521
15522 * dg-extract-results.py (Named): Remove __cmp__ method.
15523 (output_variation): Use a key to sort variation.harnesses.
15524
15525 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15526
15527 * dg-extract-results.py: For Python 3, force sys.stdout to
15528 handle surrogate escape sequences.
15529 (safe_open): New function.
15530 (output_segment, main): Use it.
15531
15532 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15533
15534 * dg-extract-results.py (Prog.result_re): Include options
15535 in test name.
15536
15537 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15538
15539 * dg-extract-results.py (output_variation): Always sort if
15540 do_sum.
15541
15542 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15543
15544 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15545 as long as we get pagination notifications.
15546
15547 2014-12-15 Jason Merrill <jason@redhat.com>
15548
15549 * Makefile.in (check-gdb.%): Restore.
15550 * README: Mention it.
15551
15552 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15553
15554 * gdb.ada/str_uninit: New testcase.
15555
15556 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15557
15558 PR symtab/17642
15559 * gdb.base/vla-stub-define.c: New file.
15560 * gdb.base/vla-stub.c: New file.
15561 * gdb.base/vla-stub.exp: New file.
15562
15563 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15564 Jan Kratochvil <jan.kratochvil@redhat.com>
15565 Tom Tromey <tromey@redhat.com>
15566
15567 * configure.ac: Add gdb.compile/.
15568 * configure: Regenerate.
15569 * gdb.compile/Makefile.in: New file.
15570 * gdb.compile/compile-ops.exp: New file.
15571 * gdb.compile/compile-ops.c: New file.
15572 * gdb.compile/compile-tls.c: New file.
15573 * gdb.compile/compile-tls.exp: New file.
15574 * gdb.compile/compile-constvar.S: New file.
15575 * gdb.compile/compile-constvar.c: New file.
15576 * gdb.compile/compile-mod.c: New file.
15577 * gdb.compile/compile-nodebug.c: New file.
15578 * gdb.compile/compile-setjmp-mod.c: New file.
15579 * gdb.compile/compile-setjmp.c: New file.
15580 * gdb.compile/compile-setjmp.exp: New file.
15581 * gdb.compile/compile-shlib.c: New file.
15582 * gdb.compile/compile.c: New file.
15583 * gdb.compile/compile.exp: New file.
15584 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15585
15586 2014-12-12 Tom Tromey <tromey@redhat.com>
15587
15588 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15589 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15590
15591 2014-12-12 Doug Evans <dje@google.com>
15592
15593 * lib/gdb-python.exp (get_python_valueof): New function.
15594 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15595
15596 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15597
15598 * gdb.base/completion.exp: Add test for completion of "info
15599 registers ".
15600
15601 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15602
15603 * gdb.base/func-ptrs.c: New file.
15604 * gdb.base/func-ptrs.exp: New file.
15605
15606 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15607
15608 PR breakpoints/17012
15609 * gdb.base/dprintf-detach.c: New file.
15610 * gdb.base/dprintf-detach.exp: New file.
15611
15612 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15613
15614 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15615 * lib/gdb.exp (target_is_gdbserver): New procedure.
15616
15617 2014-12-08 Doug Evans <dje@google.com>
15618
15619 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15620
15621 2014-12-05 Yao Qi <yao@codesourcery.com>
15622
15623 * gdb.guile/scm-error.exp: Remove the third argument to
15624 gdb_remote_download.
15625 * gdb.guile/scm-frame-args.exp: Likewise.
15626 * gdb.guile/scm-section-script.exp: Likewise.
15627
15628 2014-12-05 Yao Qi <yao@codesourcery.com>
15629
15630 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15631
15632 2014-12-04 Doug Evans <dje@google.com>
15633
15634 * gdb.python/py-objfile.exp: Add tests for
15635 objfile.add_separate_debug_file.
15636
15637 2014-12-04 Doug Evans <dje@google.com>
15638
15639 * lib/gdb.exp (get_build_id): New function.
15640 (build_id_debug_filename_get): Rewrite to use it.
15641 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15642
15643 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15644
15645 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15646 `method(long)', not just 0x0.
15647 * gdb.cp/nsalias.exp: Align code labels to 4.
15648 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15649 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15650 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15651 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15652 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15653 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15654
15655 2014-12-02 Doug Evans <dje@google.com>
15656
15657 PR symtab/17602
15658 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15659 * gdb.cp/anon-ns2.cc: ... here. New file.
15660 * gdb.cp/anon-ns.exp: Update.
15661
15662 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15663
15664 * gdb.python/py-events.py (inferior_call_handler): New.
15665 (register_changed_handler, memory_changed_handler): New.
15666 (test_events.invoke): Register new handlers.
15667 * gdb.python/py-events.exp: Add tests for inferior call,
15668 memory_changed and register_changed events.
15669
15670 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15671
15672 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15673 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15674 if the linker doesn't understand this.
15675
15676 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15677
15678 * gdb.python/python.exp: Change expected reply to help().
15679
15680 2014-12-01 Yao Qi <yao@codesourcery.com>
15681
15682 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15683 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15684 * configure: Re-generated.
15685
15686 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15687
15688 * gdb.cp/chained-calls.cc: New file.
15689 * gdb.cp/chained-calls.exp: New file.
15690 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15691
15692 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15693
15694 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15695 * gdb.dwarf2/symtab-producer.exp: Same.
15696 * gdb.gdb/python-interrupts.exp: Same.
15697 * gdb.gdb/python-selftest.exp: Same.
15698 * gdb.python/py-linetable.exp: Same.
15699 * gdb.python/py-type.exp: Same.
15700 * gdb.python/py-value-cc.exp: Same.
15701 * gdb.python/py-value.exp: Same.
15702
15703 2014-11-28 Yao Qi <yao@codesourcery.com>
15704
15705 * gdb.base/break-probes.exp: Match library name prefixed with
15706 sysroot.
15707
15708 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15709
15710 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15711 test expected output. Add parentheses for the call to print.
15712 Remove L suffix from integers.
15713
15714 2014-11-26 Doug Evans <dje@google.com>
15715
15716 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15717
15718 2014-11-22 Yao Qi <yao@codesourcery.com>
15719
15720 * gdb.trace/entry-values.c: Remove asms.
15721 (foo): Add foo_label.
15722 (bar): Add bar_label.
15723 * gdb.trace/entry-values.exp: Remove code computing foo's
15724 length and bar's length.
15725 (Dwarf::assemble): Invoke function_range for bar and use
15726 MACRO_AT_func for foo.
15727
15728 2014-11-22 Yao Qi <yao@codesourcery.com>
15729
15730 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15731 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15732 Use .Lgcc43_procstart instead of gcc43.
15733
15734 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15735
15736 * gdb.ada/n_arr_bound: New testcase.
15737
15738 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15739
15740 PR breakpoints/10737
15741 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15742 test_catch_syscall_multi_arch.
15743 (test_catch_syscall_multi_arch): New function.
15744
15745 2014-11-20 Doug Evans <xdje42@gmail.com>
15746
15747 * gdb.base/maint.exp: Update expected output.
15748
15749 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15750
15751 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15752 4-byte instruction on S390.
15753
15754 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15755
15756 * gdb.ada/arr_arr: New testcase.
15757
15758 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15759
15760 * gdb.ada/pkd_arr_elem: New Testcase.
15761
15762 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15763
15764 * gdb.reverse/break-precsave: Expect completion message for
15765 core file reads.
15766 * gdb.reverse/consecutive-precsave.exp: Likewise.
15767 * gdb.reverse/finish-precsave.exp: Likewise.
15768 * gdb.reverse/i386-precsave.exp: Likewise.
15769 * gdb.reverse/machinestate-precsave.exp: Likewise.
15770 * gdb.reverse/sigall-precsave.exp: Likewise.
15771 * gdb.reverse/solib-precsave.exp: Likewise.
15772 * gdb.reverse/step-precsave.exp: Likewise.
15773 * gdb.reverse/until-precsave.exp: Likewise.
15774 * gdb.reverse/watch-precsave.exp: Likewise.
15775
15776 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15777
15778 * gdb.base/bp-permanent.c: Include unistd.h.
15779 * gdb.python/py-framefilter-mi.c (main): Add return type.
15780 * gdb.python/py-framefilter.c (main): Likewise.
15781 * gdb.trace/actions-changed.c (main): Likewise.
15782
15783 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15784
15785 * gdb.mi/until.c: Add eye-catchers.
15786 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15787 line numbers.
15788
15789 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15790
15791 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15792 function header variants in break1.c.
15793 * gdb.base/ena-dis-br.exp: Likewise.
15794 * gdb.base/hbreak2.exp: Likewise.
15795 * gdb.reverse/until-precsave.exp: Drop references to removed
15796 non-prototype function header variants in ur1.c.
15797 * gdb.reverse/until-reverse.exp: Likewise.
15798
15799 2014-11-17 Petr Machata <pmachata@redhat.com>
15800
15801 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15802 ${_cu_offset_size} bytes abbrev offset.
15803
15804 2014-11-15 Doug Evans <xdje42@gmail.com>
15805
15806 PR symtab/17559
15807 * gdb.base/line-symtabs.exp: New file.
15808 * gdb.base/line-symtabs.c: New file.
15809 * gdb.base/line-symtabs.h: New file.
15810
15811 2014-11-14 Yao Qi <yao@codesourcery.com>
15812
15813 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15814 (func): Add label func_label.
15815 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15816 Replace low_pc and high_pc with MACRO_AT_range.
15817 Replace name, low_pc and high_pc with MACRO_AT_func.
15818
15819 2014-11-14 Yao Qi <yao@codesourcery.com>
15820
15821 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15822 Replace name, low_pc and high_pc with MACRO_AT_func.
15823
15824 2014-11-14 Yao Qi <yao@codesourcery.com>
15825
15826 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15827 produce debug information.
15828 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15829
15830 2014-11-14 Yao Qi <yao@codesourcery.com>
15831
15832 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15833 object and get function length.
15834 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15835 with MACRO_AT_func.
15836 (top-level): Replace gdb_compile and clean_restart with
15837 prepare_for_testing.
15838 * gdb.dwarf2/main.c (main): Add label main_label.
15839
15840 2014-11-14 Yao Qi <yao@codesourcery.com>
15841
15842 * lib/dwarf.exp (function_range): New procedure.
15843 (Dwarf::_handle_macro_at_func): New procedure.
15844 (Dwarf::_handle_macro_at_range): New procedure.
15845 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15846
15847 2014-11-14 Yao Qi <yao@codesourcery.com>
15848
15849 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15850 (_handle_attribute): New procedure.
15851
15852 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15853
15854 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15855 * gdb.base/call-sc.c (zed): Likewise.
15856 * gdb.base/checkpoint.c (main): Likewise.
15857 * gdb.base/dump.c (main): Likewise.
15858 * gdb.base/gcore.c (main): Likewise.
15859 * gdb.base/huge.c (main): Likewise.
15860 * gdb.base/multi-forks.c (main): Likewise.
15861 * gdb.base/pr10179-a.c (main): Likewise.
15862 * gdb.base/savedregs.c (main): Likewise.
15863 * gdb.base/sigaltstack.c (main): Likewise.
15864 * gdb.base/siginfo.c (main): Likewise.
15865 * gdb.base/structs.c (zed): Likewise.
15866 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15867 * gdb.mi/mi-syn-frame.c (main): Likewise.
15868 * gdb.mi/until.c (foo, main): Likewise.
15869 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15870 * gdb.base/solib-weak.c (foo): Declare.
15871 * gdb.base/attach-twice.c: Include stdio.h.
15872 * gdb.base/weaklib1.c: Likewise.
15873 * gdb.base/weaklib2.c: Likewise.
15874 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15875 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15876 unistd.h.
15877 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15878 * gdb.mi/mi-exit-code.c: Likewise.
15879 * gdb.base/break-interp-lib.c: Include string.h.
15880 * gdb.base/coremaker.c: Likewise.
15881 * gdb.base/testenv.c: Likewise.
15882 * gdb.python/py-finish-breakpoint.c: Likewise.
15883 * gdb.base/inferior-died.c: Include sys/wait.h.
15884 * gdb.base/fileio.c: Include time.h.
15885 * gdb.base/async-shell.c: Include unistd.h.
15886 * gdb.base/dprintf-non-stop.c: Likewise.
15887 * gdb.base/info-os.c: Likewise.
15888 * gdb.mi/mi-console.c: Likewise.
15889 * gdb.mi/watch-nonstop.c: Likewise.
15890 * gdb.python/py-events.c: Likewise.
15891 * gdb.base/async.c (baz): Move up before its invocation.
15892 * gdb.base/code_elim2.c (my_global_func): Likewise.
15893 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15894 * gdb.base/advance.c (func2): Likewise.
15895
15896 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15897
15898 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15899 variant.
15900 * gdb.base/annota3.c: Likewise.
15901 * gdb.base/async.c: Likewise.
15902 * gdb.base/average.c: Likewise.
15903 * gdb.base/call-ar-st.c: Likewise.
15904 * gdb.base/call-rt-st.c: Likewise.
15905 * gdb.base/call-sc.c: Likewise.
15906 * gdb.base/call-strs.c: Likewise.
15907 * gdb.base/ending-run.c: Likewise.
15908 * gdb.base/execd-prog.c: Likewise.
15909 * gdb.base/exprs.c: Likewise.
15910 * gdb.base/foll-exec.c: Likewise.
15911 * gdb.base/foll-fork.c: Likewise.
15912 * gdb.base/foll-vfork.c: Likewise.
15913 * gdb.base/funcargs.c: Likewise.
15914 * gdb.base/gcore.c: Likewise.
15915 * gdb.base/jump.c: Likewise.
15916 * gdb.base/langs0.c: Likewise.
15917 * gdb.base/langs1.c: Likewise.
15918 * gdb.base/langs2.c: Likewise.
15919 * gdb.base/mips_pro.c: Likewise.
15920 * gdb.base/nodebug.c: Likewise.
15921 * gdb.base/opaque0.c: Likewise.
15922 * gdb.base/opaque1.c: Likewise.
15923 * gdb.base/recurse.c: Likewise.
15924 * gdb.base/run.c: Likewise.
15925 * gdb.base/scope0.c: Likewise.
15926 * gdb.base/scope1.c: Likewise.
15927 * gdb.base/setshow.c: Likewise.
15928 * gdb.base/setvar.c: Likewise.
15929 * gdb.base/shmain.c: Likewise.
15930 * gdb.base/shr1.c: Likewise.
15931 * gdb.base/shr2.c: Likewise.
15932 * gdb.base/sigall.c: Likewise.
15933 * gdb.base/signals.c: Likewise.
15934 * gdb.base/so-indr-cl.c: Likewise.
15935 * gdb.base/solib2.c: Likewise.
15936 * gdb.base/structs.c: Likewise.
15937 * gdb.base/sum.c: Likewise.
15938 * gdb.base/vforked-prog.c: Likewise.
15939 * gdb.base/watchpoint.c: Likewise.
15940 * gdb.reverse/shr2.c: Likewise.
15941 * gdb.reverse/until-reverse.c: Likewise.
15942 * gdb.reverse/ur1.c: Likewise.
15943 * gdb.reverse/watch-reverse.c: Likewise.
15944
15945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15946
15947 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15948 variant.
15949 * gdb.base/sepdebug.exp: Drop references to removed code.
15950
15951 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15952
15953 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15954 variant. Preserve original line numbering.
15955 * gdb.base/list1.c: Likewise.
15956
15957 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15958
15959 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15960 variant.
15961 * gdb.base/break1.c: Likewise.
15962 * gdb.base/break.exp: Drop references to removed code.
15963
15964 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15965
15966 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15967 variant.
15968
15969 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15970
15971 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15972
15973 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15974
15975 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15976 logic into perform_all_tests() and invoke it with and without
15977 function header prototypes.
15978 (do_function_calls): Remove conditional XFAIL for PR 5318.
15979 (rerun_and_prepare): Remove duplicate code.
15980 (perform_all_tests): New. Main logic moved here.
15981
15982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15983
15984 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15985 code guarded by #ifdef NO_PROTOTYPES.
15986 (t_double_many_args): Likewise.
15987 (DEF_FUNC_MANY_ARGS_1): Likewise.
15988 (DEF_FUNC_VALUES_1): Likewise.
15989 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15990 guarded by #ifdef PROTOTYPES.
15991
15992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15993
15994 * gdb.mi/mi-console.c: Add eye-catcher.
15995 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15996 instead of literal line number.
15997
15998 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15999
16000 * gdb.base/shr2.c: Add eye-catcher.
16001 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16002 line number.
16003
16004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16005
16006 * gdb.base/jump.c: Add eye-catchers.
16007 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16008 numbers.
16009
16010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16011
16012 * gdb.base/execd-prog.c: Add eye-catchers.
16013 * gdb.base/foll-exec.c: Likewise.
16014 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16015 line numbers.
16016
16017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16018
16019 * gdb.base/ending-run.c: Add eye-catchers.
16020 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16021 literal line numbers.
16022
16023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16024
16025 * gdb.base/call-rt-st.c: Add eye-catchers.
16026 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16027 literal line numbers.
16028
16029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16030
16031 * gdb.base/call-ar-st.c: Add eye-catchers.
16032 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16033 literal line numbers.
16034
16035 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16036
16037 * gdb.base/average.c: Add eye-catchers.
16038 * gdb.base/sum.c: Likewise.
16039 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16040 regexps dynamically.
16041
16042 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16043
16044 * gdb.base/solib1.c: Add eye-catchers.
16045 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16046 literal line numbers.
16047
16048 2014-11-12 Pedro Alves <palves@redhat.com>
16049
16050 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16051 leader has exited.
16052
16053 2014-11-12 Pedro Alves <palves@redhat.com>
16054
16055 * gdb.arch/i386-bp_permanent.c: New file.
16056 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16057 (srcfile): Set to i386-bp_permanent.c.
16058 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16059 that stepi does not execute the 'leave' instruction, instead of
16060 testing it does execute.
16061 * gdb.base/bp-permanent.c: New file.
16062 * gdb.base/bp-permanent.exp: New file.
16063
16064 2014-11-10 Doug Evans <xdje42@gmail.com>
16065
16066 PR symtab/17564
16067 * gdb.base/symtab-search-order.exp: New file.
16068 * gdb.base/symtab-search-order.c: New file.
16069 * gdb.base/symtab-search-order-1.c: New file.
16070 * gdb.base/symtab-search-order-shlib-1.c: New file.
16071
16072 2014-11-07 Pedro Alves <palves@redhat.com>
16073
16074 PR gdb/17511
16075 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16076 i?86-*-linux*.
16077
16078 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16079
16080 PR c++/17494
16081 * gdb.cp/pr17494.cc: New file.
16082 * gdb.cp/pr17494.exp: New file.
16083
16084 2014-11-02 Yao Qi <yao@codesourcery.com>
16085
16086 * gdb.python/python.exp: Get working directory and match the
16087 output of "set extended-prompt \\w " with it.
16088
16089 2014-10-30 Doug Evans <dje@google.com>
16090
16091 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16092 in objfiles.
16093 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16094 in progspaces.
16095
16096 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16097
16098 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16099 * gdb.base/realname-expand.exp: Likewise.
16100 * gdb.linespec/macro-relative.exp: Likewise.
16101
16102 2014-10-29 Pedro Alves <palves@redhat.com>
16103
16104 PR gdb/17408
16105 * gdb.threads/schedlock.c (some_function): New function.
16106 (call_function): New global.
16107 (MAYBE_CALL_SOME_FUNCTION): New macro.
16108 (thread_function): Call it.
16109 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16110 and use it instead of a global counter. Adjust all callers.
16111 (get_current_thread): Use "find current thread" for test message
16112 here rather than having all callers pass down the same string.
16113 (goto_loop): New procedure, factored out from ...
16114 (my_continue): ... this.
16115 (step_ten_loops): Change parameter from test message to command to
16116 use. Adjust.
16117 (list_count): Delete global.
16118 (check_result): New procedure, factored out from duplicate top
16119 level code.
16120 (continue tests): Wrap in with_test_prefix.
16121 (test_step): New procedure, factored out from duplicate top level
16122 code.
16123 (top level): Test "step" in combination with all scheduler-locking
16124 modes. Test "next" in combination with all scheduler-locking
16125 modes, and in combination with stepping over a function call or
16126 not.
16127 * gdb.threads/next-bp-other-thread.c: New file.
16128 * gdb.threads/next-bp-other-thread.exp: New file.
16129
16130 2014-10-29 Pedro Alves <palves@redhat.com>
16131
16132 PR python/17372
16133 * gdb.python/python.exp: Test a multi-line command that spawns
16134 interactive Python.
16135 * gdb.base/multi-line-starts-subshell.exp: New file.
16136
16137 2014-10-29 Yao Qi <yao@codesourcery.com>
16138
16139 * gdb.base/fileio.exp: Make directories on host.
16140
16141 2014-10-29 Yao Qi <yao@codesourcery.com>
16142
16143 * gdb.base/fileio.c (test_write): Close the file.
16144
16145 2014-10-28 Pedro Alves <palves@redhat.com>
16146
16147 PR gdb/12623
16148 * gdb.base/sigstep.c (no_handler): New global.
16149 (main): If 'no_handler is true, set the signal handlers to
16150 SIG_IGN.
16151 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16152 with_sw_watch and no_handler parameters. Handle them.
16153 (top level) <stepping over handler when stopped at a breakpoint
16154 test>: Add a test axis for testing with a software watchpoint, and
16155 another for testing with the signal handler set to SIG_IGN.
16156 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16157 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16158
16159 2014-10-28 Pedro Alves <palves@redhat.com>
16160
16161 PR gdb/17511
16162 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16163 * gdb.base/sigstep.exp (other_handler_location): New global.
16164 (advance): Support stepping into the signal handler, and running
16165 commands while in the handler.
16166 (in_handler_map): New global.
16167 (top level): In the advance test, add combinations for getting
16168 into the handler with stepping commands, and for running commands
16169 in the handler. Add comment descripting the advancei tests.
16170
16171 2014-10-28 Pedro Alves <palves@redhat.com>
16172
16173 * gdb.base/sigstep.exp: Use build_executable instead of
16174 prepare_for_testing.
16175 (top level): Move code that starts GDB, runs to main and creates a
16176 display to ...
16177 (restart): ... this new procedure.
16178 (top level): Move backtrace from signal handler test to ...
16179 (validate_backtrace): ... this new procedure.
16180 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16181 with_test_prefix. Always restart GDB.
16182 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16183 with_test_prefix. Always restart GDB. No need to delete
16184 breakpoints after the test.
16185 (test_skip_handler): Remove prefix parameter.
16186 (skip_over_handler, breakpoint_to_handler)
16187 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16188 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16189 restart GDB. No need to delete breakpoints after the test.
16190 (top level): Use foreach to call the test procedures with
16191 different commands.
16192
16193 2014-10-28 Pedro Alves <palves@redhat.com>
16194
16195 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16196 instead of GNATS numbers.
16197 * gdb.base/sigbpt.exp: Likewise.
16198 * gdb.base/siginfo.exp: Likewise.
16199 * gdb.base/sigstep.exp: Likewise.
16200
16201 2014-10-27 Pedro Alves <palves@redhat.com>
16202
16203 * gdb.base/sigstep.c (dummy): New global.
16204 (main): Issue a couple writes to the new global.
16205 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16206 procedures.
16207 (skip_over_handler): Use test_skip_handler.
16208 (top level): Call skip_over_handler for stepi and nexti too.
16209 (breakpoint_over_handler): Use test_skip_handler.
16210 (top level): Call breakpoint_over_handler for stepi and nexti too.
16211
16212 2014-10-27 Yao Qi <yao@codesourcery.com>
16213
16214 * gdb.trace/tfile.c (adjust_function_address)
16215 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16216 function descriptor.
16217
16218 2014-10-24 Don Breazeal <donb@codesourcery.com>
16219
16220 * gdb.base/foll-fork.exp (test_follow_fork,
16221 catch_fork_child_follow): Check for updated fork messages emitted
16222 from infrun.c.
16223 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16224 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16225 vfork_and_exec_child_follow_through_step): Check for updated vfork
16226 messages emitted from infrun.c.
16227
16228 2014-10-24 Pedro Alves <palves@redhat.com>
16229
16230 * gdb.base/corefile.exp: Remove references to ultrix.
16231 * gdb.base/interrupt.exp: Likewise.
16232 * gdb.base/whatis.exp: Likewise.
16233 * gdb.gdb/selftest.exp: Likewise.
16234 * gdb.threads/manythreads.exp: Likewise.
16235 * gdb.threads/print-threads.exp: Likewise.
16236 * gdb.threads/pthreads.exp:: Likewise.
16237 * gdb.threads/schedlock.exp: Likewise.
16238
16239 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16240
16241 * gdb.cp/non-trivial-retval.cc: Add a test case.
16242 * gdb.cp/non-trivial-retval.exp: Add a test.
16243
16244 2014-10-20 Yao Qi <yao@codesourcery.com>
16245
16246 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16247 * gdb.python/py-objfile-script-gdb.py: New file.
16248 * gdb.python/py-objfile-script.exp: Update reference to
16249 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16250 of remote_download. Remove the dest file.
16251
16252 2014-10-20 Yao Qi <yao@codesourcery.com>
16253
16254 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16255 * gdb.base/step-line.exp: Likewise.
16256 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16257 * gdb.dwarf2/dw2-basic.exp: Likewise.
16258 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16259 * gdb.dwarf2/dw2-filename.exp: Likewise.
16260 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16261 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16262 * gdb.dwarf2/dw2-producer.exp: Likewise.
16263 * gdb.dwarf2/mac-fileno.exp: Likewise.
16264 * gdb.python/py-frame-args.exp: Likewise.
16265 * gdb.python/py-framefilter.exp: Likewise.
16266 * gdb.python/py-mi.exp: Likewise.
16267 * gdb.python/py-objfile-script.exp: Likewise
16268 * gdb.python/py-pp-integral.exp: Likewise.
16269 * gdb.python/py-pp-re-notag.exp: Likewise.
16270 * gdb.python/py-prettyprint.exp: Likewise.
16271 * gdb.python/py-section-script.exp: Likewise.
16272 * gdb.python/py-typeprint.exp: Likewise.
16273 * gdb.python/py-xmethods.exp: Likewise.
16274 * gdb.stabs/weird.exp: Likewise.
16275 * gdb.xml/tdesc-regs.exp: Likewise.
16276
16277 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16278
16279 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16280 (out_cu): Use addr_len for the size of addresses.
16281 (out_line): Likewise. Size DW_LNE_set_address instruction
16282 according to addr_len.
16283 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16284 (FUNC): Add START_INSNS to definition.
16285
16286 2014-10-18 Yao Qi <yao@codesourcery.com>
16287
16288 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16289 gdb_has_argv0 return true.
16290 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16291 check [target_info exists noargs], check [gdb_has_argv0]
16292 instead.
16293 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16294 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16295 procedures.
16296
16297 2014-10-17 Doug Evans <dje@google.com>
16298
16299 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16300 event.
16301 * gdb.python/py-events.py: Add clear_objfiles event.
16302
16303 2014-10-17 Doug Evans <dje@google.com>
16304
16305 * gdb.python/py-objfile.exp: Test progspace attribute.
16306
16307 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16308
16309 * gdb.guile/scm-breakpoint.exp: Do not assume any
16310 directory separators when matching source file paths.
16311 * gdb.python/py-breakpoint.exp: Likewise.
16312 * gdb.reverse/break-precsave.exp: Likewise.
16313 * gdb.reverse/break-reverse.exp: Likewise.
16314 * gdb.reverse/consecutive-precsave.exp: Likewise.
16315 * gdb.reverse/finish-precsave.exp: Likewise.
16316 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16317 * gdb.reverse/finish-reverse.exp: Likewise.
16318 * gdb.reverse/i386-precsave.exp: Likewise.
16319 * gdb.reverse/i387-env-reverse.exp: Likewise.
16320 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16321 * gdb.reverse/machinestate-precsave.exp: Likewise.
16322 * gdb.reverse/machinestate.exp: Likewise.
16323 * gdb.reverse/sigall-precsave.exp: Likewise.
16324 * gdb.reverse/solib-precsave.exp: Likewise.
16325 * gdb.reverse/step-precsave.exp: Likewise.
16326 * gdb.reverse/until-precsave.exp: Likewise.
16327 * gdb.reverse/watch-precsave.exp: Likewise.
16328 * gdb.reverse/watch-reverse.exp: Likewise.
16329
16330 2014-10-17 Yao Qi <yao@codesourcery.com>
16331
16332 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16333 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16334
16335 2014-10-17 Pedro Alves <palves@redhat.com>
16336
16337 PR gdb/17471
16338 * gdb.base/bg-execution-repeat.c: New file.
16339 * gdb.base/bg-execution-repeat.exp: New file.
16340
16341 2014-10-17 Pedro Alves <palves@redhat.com>
16342
16343 PR gdb/17300
16344 * gdb.base/continue-all-already-running.c: New file.
16345 * gdb.base/continue-all-already-running.exp: New file.
16346
16347 2014-10-17 Pedro Alves <palves@redhat.com>
16348
16349 PR gdb/17472
16350 * gdb.base/annota-input-while-running.c: New file.
16351 * gdb.base/annota-input-while-running.exp: New file.
16352
16353 2014-10-17 Pedro Alves <palves@redhat.com>
16354
16355 * gdb.base/callfuncs.exp: emove references to osf.
16356 * gdb.base/sigall.exp: Likewise.
16357 * gdb.gdb/selftest.exp: Likewise.
16358 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16359 * gdb.mi/non-stop.c: Likewise.
16360 * gdb.mi/pthreads.c: Likewise.
16361 * gdb.reverse/sigall-precsave.exp: Likewise.
16362 * gdb.reverse/sigall-reverse.exp: Likewise.
16363 * gdb.threads/pthreads.c: Likewise.
16364 * gdb.threads/pthreads.exp: Likewise.
16365
16366 2014-10-17 Yao Qi <yao@codesourcery.com>
16367
16368 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16369 check 'target_info exists noargs'.
16370 (test_command_prompt_position): Likewise.
16371 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16372 Remove "set args".
16373 (progvar_simple_while_test): Likewise.
16374 (progvar_complex_if_while_test): Likewise.
16375 (if_while_breakpoint_command_test): Likewise.
16376 (infrun_breakpoint_command_test): Likewise.
16377 (breakpoint_command_test): Likewise.
16378 (watchpoint_command_test): Likewise.
16379 (bp_deleted_in_command_test): Likewise.
16380 (temporary_breakpoint_commands): Likewise.
16381
16382 2014-10-16 Yao Qi <yao@codesourcery.com>
16383
16384 * gdb.base/remotetimeout.exp: Remove noargs checking.
16385
16386 2014-10-15 Pedro Alves <palves@redhat.com>
16387
16388 PR breakpoints/9649
16389 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16390 * gdb.base/breakpoint-in-ro-region.exp
16391 (probe_target_hardware_step): New procedure.
16392 (top level): Probe hardware stepping and hardware breakpoint
16393 support. Test stepping through a read-only region, with both
16394 "breakpoint auto-hw" on and off and both "always-inserted" on and
16395 off.
16396
16397 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16398
16399 * gdb.dlang/demangle.exp: Update for demangling changes.
16400
16401 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16402
16403 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16404 * gdb.cp/non-trivial-retval.exp: Add new tests.
16405
16406 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16407
16408 PR c++/13403
16409 PR c++/15154
16410 * gdb.cp/non-trivial-retval.cc: New file.
16411 * gdb.cp/non-trivial-retval.exp: New file.
16412
16413 2014-10-15 Yao Qi <yao@codesourcery.com>
16414
16415 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16416 remote host.
16417
16418 2014-10-15 Yao Qi <yao@codesourcery.com>
16419
16420 * gdb.python/py-symbol.exp: Match file base name if host is
16421 remote, otherwise match file name with dir name.
16422 * gdb.python/py-symtab.exp: Likewise.
16423 * gdb.python/python.exp: Likewise.
16424
16425 2014-10-15 Yao Qi <yao@codesourcery.com>
16426
16427 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16428 pattern.
16429 * gdb.python/py-symtab.exp: Likewise.
16430 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16431 locationn.
16432
16433 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16434
16435 * gdb.ada/addr_arith: New testcase.
16436
16437 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16438
16439 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16440 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16441 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16442 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16443
16444 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16445
16446 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16447 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16448 * gdb.arch/stap-eval-lang-ada.exp: New file.
16449
16450 2014-10-14 Yao Qi <yao@codesourcery.com>
16451
16452 * gdb.mi/mi-var-child.c (nothing1): New function.
16453 (nothing2): New function.
16454 (do_children_tests): Set function pointers by nothing1 and
16455 nothing2.
16456 * gdb.mi/mi-var-child.exp: Step over new added statements.
16457 Update test to match the new output.
16458 * gdb.mi/var-cmd.c (nothing1): New function.
16459 (nothing2): New function.
16460 (do_children_tests): Set function pointers by nothing1 and
16461 nothing2.
16462 * gdb.mi/mi-var-display.exp: Update test to match output.
16463 Step to the line specified by $line_dct_nothing.
16464 Increase the number of lines to step.
16465
16466 2014-10-14 Yao Qi <yao@codesourcery.com>
16467
16468 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16469 tests.
16470 * gdb.mi/mi2-var-child.exp: Likewise.
16471
16472 2014-10-13 Doug Evans <dje@google.com>
16473
16474 * gdb.python/py-objfile.exp: Change name of file name test.
16475
16476 2014-10-13 Doug Evans <dje@google.com>
16477
16478 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16479 from the start of the CU.
16480
16481 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16482 Yao Qi <yao@codesourcery.com>
16483
16484 Fix "save breakpoints" for "catch" command.
16485 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16486 Remove -nonewline. Match also the added "main" line.
16487
16488 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16489
16490 Fix "save breakpoints" for "disable $bpnum" command.
16491 * gdb.base/save-bp.c (main): Add label.
16492 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16493
16494 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16495
16496 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16497
16498 2014-10-11 Yao Qi <yao@codesourcery.com>
16499
16500 * gdb.server/server-kill.exp: Execute command
16501 "set remote trace-status-packet on" before "tstatus".
16502
16503 2014-10-11 Yao Qi <yao@codesourcery.com>
16504
16505 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16506 (main): Call getppid.
16507 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16508 and continue to it. Read variable "server_pid".
16509
16510 2014-10-11 Yao Qi <yao@codesourcery.com>
16511
16512 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16513
16514 2014-10-11 Yao Qi <yao@codesourcery.com>
16515
16516 * gdb.threads/thread-find.exp: Don't execute command
16517 "info threads".
16518 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16519 * gdb.threads/linux-dp.exp: Don't check the condition
16520 $threads_created equals to zero.
16521
16522 2014-10-10 Pedro Alves <palves@redhat.com>
16523
16524 * gdb.base/bigcore.exp: Remove references to IRIX.
16525 * gdb.base/funcargs.exp: Likewise.
16526 * gdb.base/interrupt.exp: Likewise.
16527 * gdb.base/mips_pro.exp: Likewise.
16528 * gdb.base/nodebug.exp: Likewise.
16529 * gdb.base/setvar.exp: Likewise.
16530 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16531
16532 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16533 Pedro Alves <palves@redhat.com>
16534
16535 PR symtab/14466
16536 * gdb.base/vdso-warning.c: New file.
16537 * gdb.base/vdso-warning.exp: New file.
16538
16539 2014-10-02 Doug Evans <dje@google.com>
16540
16541 * gdb.base/structs.c (main): Don't run forever.
16542
16543 2014-10-02 Pedro Alves <palves@redhat.com>
16544
16545 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16546 (top level) <stop threads 1, stop threads 2>: Use it.
16547
16548 2014-10-02 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.threads/break-while-running.exp (test): Add new
16551 'update_thread_list' argument. Skip "info threads" if false.
16552 (top level): Add new 'update_thread_list' axis.
16553
16554 2014-10-02 Pedro Alves <palves@redhat.com>
16555
16556 PR breakpoints/17431
16557 * gdb.base/execl-update-breakpoints.c: New file.
16558 * gdb.base/execl-update-breakpoints.exp: New file.
16559
16560 2014-10-01 Pedro Alves <palves@redhat.com>
16561
16562 * gdb.base/breakpoint-in-ro-region.c: New file.
16563 * gdb.base/breakpoint-in-ro-region.exp: New file.
16564
16565 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16566
16567 * gdb.mi/mi-exit-code.exp: New file.
16568 * gdb.mi/mi-exit-code.c: New file.
16569
16570 2014-09-30 Yao Qi <yao@codesourcery.com>
16571
16572 * lib/prelink-support.exp (build_executable_own_libs): Error if
16573 the target isn't native.
16574
16575 2014-09-30 Yao Qi <yao@codesourcery.com>
16576
16577 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16578 false.
16579
16580 2014-09-22 Pedro Alves <palves@redhat.com>
16581
16582 * gdb.threads/break-while-running.exp: New file.
16583 * gdb.threads/break-while-running.c: New file.
16584
16585 2014-09-19 Yao Qi <yao@codesourcery.com>
16586
16587 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16588 Invoke test. Restart GDB with --readnow and invoke test again.
16589
16590 2014-09-19 Yao Qi <yao@codesourcery.com>
16591
16592 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16593 proc set_breakpoint_on_gcd_function. Invoke
16594 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16595 invoke set_breakpoint_on_gcd_function again.
16596
16597 2014-09-18 Doug Evans <dje@google.com>
16598
16599 * gdb.dwarf2/symtab-producer.exp: New file.
16600
16601 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16602
16603 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16604 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16605 * gdb.base/global-var-nested-by-dso.c: Likewise.
16606 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16607
16608 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16609 Pedro Alves <palves@redhat.com>
16610
16611 * gdb.base/watch-bitfields.exp: Pass string other than test file
16612 name to prepare_for_testing.
16613 (watch): New procedure.
16614 (expect_watchpoint): Use with_test_prefix.
16615 (top level): Factor out tests to ...
16616 (test_watch_location, test_regular_watch): ... these new
16617 procedures, and use with_test_prefix and gdb_continue_to_end.
16618
16619 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16620
16621 PR breakpoints/12526
16622 * gdb.base/watch-bitfields.exp: New file.
16623 * gdb.base/watch-bitfields.c: New file.
16624
16625 2014-09-16 Pedro Alves <palves@redhat.com>
16626
16627 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16628 software and hardware addresses, not software address against
16629 itself.
16630
16631 2014-09-16 Pedro Alves <palves@redhat.com>
16632
16633 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16634 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16635
16636 2014-09-16 Pedro Alves <palves@redhat.com>
16637
16638 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16639 files.
16640 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16641 "*-*-vxworks*" throughout.
16642 * gdb.base/break.exp: Likewise.
16643 * gdb.base/default.exp: Likewise.
16644 * gdb.base/scope.exp: Likewise.
16645 * gdb.base/sepdebug.exp: Likewise.
16646 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16647 throughout.
16648 * gdb.base/run.c: Likewise.
16649 * gdb.base/sepdebug.c: Likewise.
16650 * gdb.hp/gdb.aCC/run.c: Likewise.
16651 * gdb.reverse/until-reverse.c: Likewise.
16652 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16653
16654 2014-09-16 Yao Qi <yao@codesourcery.com>
16655
16656 * boards/local-remote-host-native.exp: New file.
16657
16658 2014-09-14 Doug Evans <xdje42@gmail.com>
16659
16660 * gdb.threads/queue-signal.c (thread_count): New variable.
16661 (thread_count_mutex, thread_count_condvar): New variables.
16662 (incr_thread_count, wait_all_threads_running): New functions.
16663 (main): Wait for all threads to be in their thread functions.
16664
16665 2014-09-13 Doug Evans <xdje42@gmail.com>
16666
16667 * gdb.threads/queue-signal.c: New file.
16668 * gdb.threads/queue-signal.exp: New file.
16669
16670 2014-09-13 Doug Evans <xdje42@gmail.com>
16671
16672 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16673 be consistent with what default_gdb_init uses.
16674 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16675 the plain text of the prompt. Add some logging printfs.
16676 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16677
16678 2014-09-12 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16681 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16682 * gdb.arch/i386-size-overlap.exp: Likewise.
16683 * gdb.arch/i386-size.exp: Likewise.
16684 * gdb.arch/i386-unwind.exp: Likewise.
16685 * gdb.base/a2-run.exp: Likewise.
16686 * gdb.base/break.exp: Likewise.
16687 * gdb.base/charset.exp: Likewise.
16688 * gdb.base/chng-syms.exp: Likewise.
16689 * gdb.base/commands.exp: Likewise.
16690 * gdb.base/dbx.exp: Likewise.
16691 * gdb.base/find.exp: Likewise.
16692 * gdb.base/funcargs.exp: Likewise.
16693 * gdb.base/jit-simple.exp: Likewise.
16694 * gdb.base/reread.exp: Likewise.
16695 * gdb.base/sepdebug.exp: Likewise.
16696 * gdb.base/step-bt.exp: Likewise.
16697 * gdb.cp/mb-inline.exp: Likewise.
16698 * gdb.cp/mb-templates.exp: Likewise.
16699 * gdb.objc/basicclass.exp: Likewise.
16700 * gdb.threads/killed.exp: Likewise.
16701
16702 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16703
16704 PR tdep/17379
16705 * gdb.arch/powerpc-stackless.S: New file.
16706 * gdb.arch/powerpc-stackless.exp: New file.
16707
16708 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16709
16710 * gdb.base/attach.c: Include unistd.h.
16711 (main): Call alarm. Add label postloop.
16712 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16713 gdb_breakpoint, gdb_continue_to_breakpoint.
16714 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16715
16716 2014-09-11 Pedro Alves <palves@redhat.com>
16717
16718 PR gdb/17347
16719 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16720 * gdb.base/attach.exp (test_command_line_attach_run): New
16721 procedure.
16722 (top level): Call it.
16723
16724 2014-09-11 Pedro Alves <palves@redhat.com>
16725
16726 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16727 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16728 (do_command_attach_tests): Use spawn_wait_for_attach.
16729 * gdb.base/solib-overlap.exp: Likewise.
16730 * gdb.multi/multi-attach.exp: Likewise.
16731 * gdb.python/py-prompt.exp: Likewise.
16732 * gdb.python/py-sync-interp.exp: Likewise.
16733 * gdb.server/ext-attach.exp: Likewise.
16734
16735 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16736
16737 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16738 command in testcase. Simplify testcase.
16739
16740 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16741
16742 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16743
16744 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16745
16746 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16747
16748 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16749
16750 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16751
16752 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16753
16754 * gdb.dwarf2/dynarr-ptr.c: New file.
16755 * gdb.dwarf2/dynarr-ptr.exp: New file.
16756
16757 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16758
16759 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16760 of 30 rather than hardcoding 120 for a slow test case. Take the
16761 `gdb,timeout' target setting into account for this calculation.
16762 Don't extend the timeout for the test cases that don't need it.
16763
16764 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16765
16766 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16767 a factor of 2 for a slow test case. Take the `gdb,timeout'
16768 target setting into account for this calculation.
16769 * gdb.reverse/until-precsave.exp: Increase the timeout by
16770 a factor of 15 and 3 respectively rather than adding 120
16771 for a pair of slow test cases. Take the `gdb,timeout'
16772 target setting into account for this calculation.
16773
16774 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16775
16776 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16777 timeout, don't pass one down to gdb_expect.
16778 (gdb_expect): Rework timeout selection.
16779
16780 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16781
16782 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16783 exception on timeout.
16784 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16785 (gdbserver_start_extended): Catch any `gdbserver_start' error
16786 exceptions.
16787 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16788 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16789 `gdbserver_gdb_load' error exceptions.
16790
16791 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16792
16793 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16794 120 on waiting for the TCP socket to open.
16795
16796 2014-09-09 Doug Evans <xdje42@gmail.com>
16797
16798 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16799 _caller_matches, _any_caller_is, _any_caller_matches.
16800
16801 2014-09-09 Doug Evans <xdje42@gmail.com>
16802
16803 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16804
16805 2014-09-09 Yao Qi <yao@codesourcery.com>
16806
16807 * gdb.mi/mi-var-display.exp: Set print symbol off.
16808
16809 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16810
16811 PR gdb/17035
16812 * gdb.base/commands.exp: Add tests to verify user-defined
16813 commands with empty bodies.
16814 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16815 python commands in `show user command`.
16816 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16817 scheme commands in `show user command`.
16818
16819 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16820
16821 PR python/17355
16822 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16823 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16824 * gdb.python/py-framefilter-invalidarg.exp: New file.
16825 * gdb.python/py-framefilter-invalidarg.py: New file.
16826
16827 2014-09-06 Doug Evans <xdje42@gmail.com>
16828
16829 PR 15276
16830 * gdb.python/py-caller-is.c: New file.
16831 * gdb.python/py-caller-is.exp: New file.
16832
16833 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16834
16835 PR gdb/17235
16836 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16837 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16838
16839 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16840
16841 PR fortran/17237
16842 * gdb.fortran/print-formatted.exp: New file.
16843 * gdb.fortran/print-formatted.f90: Likewise.
16844
16845 2014-09-03 Sasha Smundak <asmundak@google.com>
16846
16847 * gdb.python/py-frame.exp: Test Frame.read_register.
16848
16849 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16850
16851 PR python/16699
16852 * gdb.python/py-completion.exp: New file.
16853 * gdb.python/py-completion.py: Likewise.
16854
16855 2014-08-28 Doug Evans <dje@google.com>
16856
16857 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16858 eax,etc. are live with values set by gdb and thus the compiler can't
16859 use them.
16860 * gdb.arch/i386-pseudo.c (main): Ditto.
16861
16862 2014-08-27 Doug Evans <dje@google.com>
16863
16864 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16865
16866 2014-08-25 Doug Evans <dje@google.com>
16867
16868 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16869 (main): Ditto.
16870
16871 2014-08-25 Doug Evans <dje@google.com>
16872
16873 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16874
16875 2014-08-24 Yao Qi <yao@codesourcery.com>
16876
16877 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16878 symbol off.
16879 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16880
16881 2014-08-22 Doug Evans <dje@google.com>
16882
16883 PR 17276
16884 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16885 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16886 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16887
16888 2014-08-22 Yao Qi <yao@codesourcery.com>
16889
16890 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16891 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16892 * gdb.python/python.exp: Likewise. Use .py file on the host
16893 instead of the build.
16894
16895 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16896
16897 * gdb.threads/gcore-stale-thread.c: New file.
16898 * gdb.threads/gcore-stale-thread.exp: New file.
16899
16900 2014-08-21 Pedro Alves <palves@redhat.com>
16901
16902 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16903 * gdb.base/gcore-relro-pie.exp: Likewise.
16904 * gdb.base/gcore-relro.exp: Likewise.
16905 * gdb.base/gcore.exp: Likewise.
16906 * gdb.base/print-symbol-loading.exp: Likewise.
16907 * gdb.threads/gcore-thread.exp: Likewise.
16908 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16909
16910 2014-08-20 Pedro Alves <palves@redhat.com>
16911 Jan Kratochvil <jan.kratochvil@redhat.com>
16912
16913 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16914 configure.
16915 (EXPECT): Handle READ1 being set.
16916 (all): Depend on EXTRA_RULES.
16917 (check-read1, expect-read1, read1.so, read1): New rules.
16918 * README (Testsuite Parameters): Document the READ1 make variable.
16919 (Race detection): New section.
16920 * configure: Regenerate.
16921 * configure.ac: If build==host==target, and running under a
16922 GNU/glibc system, add read1 to the extra Makefile rules.
16923 (EXTRA_RULES): AC_SUBST it.
16924 * lib/read1.c: New file.
16925
16926 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16927
16928 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16929 the handling of variables declared as a typedef to an array
16930 which a DW_AT_data_location attribute.
16931
16932 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16933 Pedro Alves <palves@redhat.com>
16934
16935 PR symtab/14604
16936 PR symtab/14605
16937 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16938 gdb_test.
16939
16940 2014-08-19 Pedro Alves <palves@redhat.com>
16941
16942 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16943
16944 2014-08-19 Yao Qi <yao@codesourcery.com>
16945
16946 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16947 right line.
16948
16949 2014-08-18 David Blaikie <dblaikie@gmail.com>
16950
16951 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16952
16953 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16954
16955 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16956 attribute in array range.
16957
16958 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16959
16960 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16961
16962 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16963
16964 PR c++/17132
16965 * gdb.cp/pr17132.cc: New file.
16966 * gdb.cp/pr17132.exp: New file.
16967
16968 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16969
16970 * gdb.python/py-xmethods.py (A_getarrayind)
16971 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16972 Use 'print' with function call syntax.
16973 (E_method_matcher.match): Fix tab vs space indentation mixup.
16974
16975 2014-08-15 Yao Qi <yao@codesourcery.com>
16976
16977 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16978 false.
16979
16980 2014-08-15 Yao Qi <yao@codesourcery.com>
16981
16982 * gdb.cp/casts.exp: Set print symbol off.
16983 * gdb.cp/class2.exp: Likewise.
16984 * gdb.cp/overload.exp: Likewise.
16985 * gdb.cp/templates.exp: Likewise.
16986
16987 2014-08-11 Doug Evans <dje@google.com>
16988
16989 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16990 (test_load_shlib): Update.
16991
16992 2014-08-09 Yao Qi <yao@codesourcery.com>
16993
16994 * gdb.base/display.exp: Invoke is_address_zero_readable.
16995 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16996 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16997 * gdb.base/hbreak-unmapped.exp: Return if
16998 is_address_zero_readable returns true.
16999 * gdb.base/signest.exp: Likewise.
17000 * gdb.base/signull.exp: Likewise.
17001 * gdb.base/sigbpt.exp: Likewise.
17002 * gdb.guile/scm-disasm.exp: Do the test if
17003 is_address_zero_readable returns false.
17004 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17005 * gdb.python/py-arch.exp: Likewise.
17006 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17007 * lib/gdb.exp (is_address_zero_readable): New proc.
17008
17009 2014-08-09 Yao Qi <yao@codesourcery.com>
17010
17011 PR testsuite/13443
17012 * gdb.mi/mi-var-display.exp: Make test messages unique.
17013
17014 2014-08-04 Tom Tromey <tromey@redhat.com>
17015
17016 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17017 target 0".
17018
17019 2014-08-04 Tom Tromey <tromey@redhat.com>
17020
17021 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17022 "target_resume".
17023
17024 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17025
17026 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17027 inner_vla_struct_object_size.
17028 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17029 as xfail.
17030
17031 2014-07-30 Pedro Alves <palves@redhat.com>
17032
17033 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17034 comment.
17035
17036 2014-07-29 Yao Qi <yao@codesourcery.com>
17037
17038 PR gdb/17206
17039 * gdb.base/until-nodebug.exp: New.
17040
17041 2014-07-28 Doug Evans <xdje42@gmail.com>
17042
17043 PR guile/17203
17044 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17045 previously existing parameter, and previously ambiguously spelled
17046 parameter.
17047
17048 2014-07-28 Will Newton <will.newton@linaro.org>
17049
17050 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17051
17052 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17053 Doug Evans <xdje42@gmail.com>
17054
17055 PR guile/17146
17056 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17057
17058 2014-07-25 Pedro Alves <palves@redhat.com>
17059
17060 * gdb.threads/signal-command-handle-nopass.c: New file.
17061 * gdb.threads/signal-command-handle-nopass.exp: New file.
17062 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17063 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17064 * gdb.threads/signal-delivered-right-thread.c: New file.
17065 * gdb.threads/signal-delivered-right-thread.exp: New file.
17066
17067 2014-07-25 Pedro Alves <palves@redhat.com>
17068
17069 * gdb.base/double-prompt-target-event-error.exp
17070 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17071 match.
17072 (cancel_pagination_in_target_event): Rework double prompt
17073 detection.
17074 * gdb.base/paginate-after-ctrl-c-running.exp
17075 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17076 <return>' match.
17077 * gdb.base/paginate-bg-execution.exp
17078 (test_bg_execution_pagination_return)
17079 (test_bg_execution_pagination_cancel): Remove '-notransfer
17080 <return>' matches.
17081 * gdb.base/paginate-execution-startup.exp
17082 (test_fg_execution_pagination_return)
17083 (test_fg_execution_pagination_cancel): Remove '-notransfer
17084 <return>' matches.
17085 * gdb.base/paginate-inferior-exit.exp
17086 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17087 match.
17088 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17089 * lib/gdb.exp (pagination_prompt): Run text through
17090 string_to_regexp.
17091 (gdb_test_multiple): Match $pagination_prompt instead of
17092 "<return>".
17093 (string_to_regexp): Move to lib/gdb-utils.exp.
17094
17095 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17096
17097 * gdb.arch/amd64-entry-value-paramref.S: New file.
17098 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17099 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17100 * gdb.arch/amd64-optimout-repeat.S: New file.
17101 * gdb.arch/amd64-optimout-repeat.c: New file.
17102 * gdb.arch/amd64-optimout-repeat.exp: New file.
17103
17104 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17105
17106 PR gdb/17170
17107 * gdb.base/statistics.exp: New file.
17108
17109 2014-07-17 Doug Evans <dje@google.com>
17110
17111 PR gdb/17170
17112 * gdb.base/maint.exp: Update testing of per-command stats.
17113
17114 2014-07-16 Pedro Alves <palves@redhat.com>
17115
17116 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17117 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17118 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17119 (tfile_write_buf): New functions.
17120 (add_memory_block): Rewrite using the above.
17121 (adjust_function_address): New function.
17122 (FUNCTION_ADDRESS): New macro.
17123 (write_basic_trace_file): Remove short_x local, and use
17124 tfile_write_16. Change type of func_addr local to unsigned long
17125 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17126 here. Cast argument of add_memory_block to char pointer.
17127 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17128 (main): Remove parameters.
17129 * gdb.trace/tfile.exp: Remove nowarnings.
17130
17131 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17132
17133 * gdb.base/debug-expr.exp: Test string evaluation with
17134 "debug expression" on.
17135
17136 2014-07-15 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.base/reread.exp: Use clean_restart.
17139
17140 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17141
17142 * gdb.arch/avr-flash-qualifer.c: New.
17143 * gdb.arch/avr-flash-qualifer.exp: New.
17144
17145 2014-07-14 Pedro Alves <palves@redhat.com>
17146
17147 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17148 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17149
17150 2014-07-14 Pedro Alves <palves@redhat.com>
17151
17152 * gdb.base/double-prompt-target-event-error.c: New file.
17153 * gdb.base/double-prompt-target-event-error.exp: New file.
17154
17155 2014-07-14 Pedro Alves <palves@redhat.com>
17156
17157 PR gdb/17072
17158 * gdb.base/paginate-inferior-exit.c: New file.
17159 * gdb.base/paginate-inferior-exit.exp: New file.
17160
17161 2014-07-14 Pedro Alves <palves@redhat.com>
17162
17163 PR gdb/17072
17164 * gdb.base/paginate-bg-execution.c: New file.
17165 * gdb.base/paginate-bg-execution.exp: New file.
17166
17167 2014-07-14 Pedro Alves <palves@redhat.com>
17168
17169 PR gdb/17072
17170 * gdb.base/paginate-execution-startup.c: New file.
17171 * gdb.base/paginate-execution-startup.exp: New file.
17172 * lib/gdb.exp (pagination_prompt): New global.
17173 (default_gdb_spawn): New procedure, factored out from
17174 default_gdb_spawn.
17175 (default_gdb_start): Adjust to call default_gdb_spawn.
17176 (gdb_spawn): New procedure.
17177
17178 2014-07-14 Pedro Alves <palves@redhat.com>
17179
17180 * lib/gdb.exp (gdb_assert): New procedure.
17181 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17182
17183 2014-07-14 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.base/execution-termios.c: New file.
17186 * gdb.base/execution-termios.exp: New file.
17187
17188 2014-07-14 Tom Tromey <tromey@redhat.com>
17189
17190 * gdb.cp/vla-cxx.cc: New file.
17191 * gdb.cp/vla-cxx.exp: New file.
17192
17193 2014-07-14 Tom Tromey <tromey@redhat.com>
17194
17195 * gdb.reverse/rerun-prec.c: New file.
17196 * gdb.reverse/rerun-prec.exp: New file.
17197
17198 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17199 Maciej W. Rozycki <macro@codesourcery.com>
17200
17201 * lib/gdb-utils.exp: New file.
17202 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17203 inline `gdb_init_command' processing.
17204 (gdb_start_cmd): Likewise.
17205 * lib/mi-support.exp (mi_run_cmd): Likewise.
17206 * README: Document `gdb_init_command' and `gdb_init_commands'.
17207
17208 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17209
17210 Fix false FAIL running under a very long directory name.
17211 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17212 and "set print elements 10000". Twice.
17213
17214 2014-07-11 Yao Qi <yao@codesourcery.com>
17215
17216 * gdb.base/exprs.exp: "set print symbol off".
17217
17218 2014-07-11 Pedro Alves <palves@redhat.com>
17219
17220 * gdb.threads/kill.c: New file.
17221 * gdb.threads/kill.exp: New file.
17222
17223 2014-07-10 Yao Qi <yao@codesourcery.com>
17224
17225 * gdb.trace/tfile.c (write_basic_trace_file)
17226 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17227 address written to trace file.
17228
17229 2014-07-09 Pedro Alves <palves@redhat.com>
17230
17231 * gdb.base/attach-wait-input.exp: New file.
17232 * gdb.base/attach-wait-input.c: New file.
17233
17234 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17235
17236 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17237 setting up test structures.
17238 (main): Call new test function.
17239 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17240 test function, continue into test function and walk test
17241 structures.
17242
17243 2014-07-02 Yao Qi <yao@codesourcery.com>
17244
17245 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17246 'bar_start' at the beginning of functions 'foo' and 'bar'
17247 respectively.
17248 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17249 instead of 'foo' and 'bar'.
17250
17251 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17252
17253 * gdb.btrace/segv.exp: New.
17254 * gdb.btrace/segv.c: New.
17255
17256 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17257
17258 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17259 instruction.
17260
17261 2014-06-30 Mark Wielaard <mjw@redhat.com>
17262
17263 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17264 vulture, vilify, villar): New volatile array constants.
17265 (vindictive, vegetation): New const volatile array constants.
17266 * gdb.base/volatile.exp: Test volatile and const volatile array
17267 types.
17268
17269 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17270
17271 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17272 target lacks support for awatch, rwatch, or hbreak.
17273
17274 2014-06-27 Yao Qi <yao@codesourcery.com>
17275
17276 * gdb.multi/dummy-frame-restore.exp: New.
17277 * gdb.multi/dummy-frame-restore.c: New.
17278
17279 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17280
17281 * gdb.btrace/gcore.exp: New.
17282
17283 2014-06-23 Pedro Alves <palves@redhat.com>
17284
17285 * gdb.base/watchpoint-reuse-slot.c: New file.
17286 * gdb.base/watchpoint-reuse-slot.exp: New file.
17287
17288 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17289
17290 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17291 progspace's filename in 'info', 'enable' and 'disable' command
17292 tests.
17293
17294 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17295
17296 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17297 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17298 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17299
17300 2014-06-20 Gary Benson <gbenson@redhat.com>
17301
17302 * gdb.arch/i386-avx.exp: Fix include file location.
17303 * gdb.arch/i386-sse.exp: Likewise.
17304
17305 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17306
17307 * gdb.dlang/expression.exp: New file.
17308
17309 2014-06-19 Pedro Alves <palves@redhat.com>
17310
17311 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17312 out from ...
17313 (top level): ... here. Iterate running tests under different
17314 scheduler-locking settings.
17315
17316 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17317
17318 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17319 to DW_FORM_addr and use non-zero addresses.
17320
17321 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17322
17323 PR gdb/17017
17324 * gdb.python/py-xmethods.cc: Add global function call counters and
17325 increment them in their respective functions. Remove "cout"
17326 statements.
17327 * gdb.python/py-xmethods.exp: Make tests check the global function
17328 call counters instead of depending on inferior IO.
17329
17330 2014-06-18 Don Breazeal <donb@codesourcery.com>
17331
17332 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17333 Deleted procedure.
17334 (explicit_fork_parent_follow): Deleted procedure.
17335 (explicit_fork_child_follow): Deleted procedure.
17336 (test_follow_fork): New procedure.
17337 (do_fork_tests): Replace calls to deleted procedures with
17338 calls to test_follow_fork and reset GDB for subsequent
17339 procedure calls.
17340
17341 2014-06-17 Yao Qi <yao@codesourcery.com>
17342
17343 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17344 CP1252.
17345
17346 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17347
17348 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17349 Initialize ptr and S explicitly.
17350 (skip_type_update_when_not_use_rtti_test): Likewise.
17351
17352 2014-06-16 Keith Seitz <keiths@redhat.com>
17353
17354 PR mi/15863
17355 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17356 the inferior is started.
17357
17358 2014-06-16 Pedro Alves <palves@redhat.com>
17359
17360 * gdb.base/break-main-file-remove-fail.c: New file.
17361 * gdb.base/break-main-file-remove-fail.exp: New file.
17362 * gdb.base/break-unload-file.exp: Use build_executable instead of
17363 prepare_for_testing.
17364 (test_break): New parameter "initial_load". Handle it.
17365 (top level): Add initial_load cmdline/file axis.
17366
17367 2014-06-12 Tom Tromey <tromey@redhat.com>
17368
17369 * gdb.base/completion.exp: Don't use directory name in test.
17370
17371 2014-06-09 Gary Benson <gbenson@redhat.com>
17372
17373 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17374 separate the always-available ANSI-standard signals from the
17375 signals that require checking.
17376 (main): Likewise.
17377 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17378 Likewise.
17379 (main): Likewise.
17380
17381 2014-06-07 Keith Seitz <keiths@redhat.com>
17382
17383 Revert:
17384 PR c++/16253
17385 * gdb.cp/var-tag.cc: New file.
17386 * gdb.cp/var-tag.exp: New file.
17387 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17388 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17389 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17390 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17391
17392 2014-06-06 Doug Evans <xdje42@gmail.com>
17393
17394 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17395
17396 2014-06-06 Pedro Alves <palves@redhat.com>
17397
17398 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17399 in target debug output instead of looking at RSP packets,
17400 disabling the test on any target that uses hardware stepping.
17401 Update comments.
17402
17403 2014-06-06 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.base/break-unload-file.exp: Fix typo.
17406
17407 2014-06-06 Yao Qi <yao@codesourcery.com>
17408
17409 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17410 from "jit_function" to "^jit_function".
17411
17412 2014-06-06 Yao Qi <yao@codesourcery.com>
17413
17414 * gdb.base/async.c (foo): Add one statement.
17415 * gdb.base/async.exp: Get the next instruction address and
17416 match the output of "nexti" by instruction address. Match
17417 the hex address in the output of "finish".
17418
17419 2014-06-06 Gary Benson <gbenson@redhat.com>
17420
17421 * gdb.base/call-signals.c: Remove preprocessor conditionals
17422 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17423 SIGSEGV and SIGTERM.
17424 * gdb.base/sigall.c: Likewise.
17425 * gdb.base/unwindonsignal.c: Likewise.
17426 * gdb.reverse/sigall-reverse.c: Likewise.
17427
17428 2014-06-06 Yao Qi <yao@codesourcery.com>
17429
17430 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17431 readable, skip the test.
17432
17433 2014-06-06 Yao Qi <yao@codesourcery.com>
17434
17435 * gdb.threads/staticthreads.c (thread_function): Move the line
17436 setting breakpoint on forward.
17437 * gdb.threads/staticthreads.exp: Update comments.
17438
17439 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17440
17441 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17442 "history-append! type error".
17443
17444 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17445
17446 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17447 erroneous dprintf expected input.
17448
17449 2014-06-04 Doug Evans <xdje42@gmail.com>
17450
17451 * gdb.guile/scm-generics.exp: Delete.
17452
17453 2014-06-04 Doug Evans <xdje42@gmail.com>
17454
17455 * gdb.guile/scm-breakpoint.exp: Update.
17456 Add tests for breakpoint registration.
17457
17458 2014-06-04 Tom Tromey <tromey@redhat.com>
17459
17460 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17461 VLA-in-union.
17462 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17463 inner_vla_struct, vla_union types. Initialize objects of those
17464 types and compute their sizes.
17465
17466 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17467 Hui Zhu <hui@codesourcery.com>
17468
17469 * gdb.base/fileio.exp: Add test for shell not available as well as
17470 available.
17471 * gdb.base/fileio.c (test_system): Check for shell twice.
17472
17473 2014-06-04 Yao Qi <yao@codesourcery.com>
17474
17475 * gdb.base/auto-connect-native-target.exp: Remove redundant
17476 space from the regexp pattern.
17477
17478 2014-06-04 Yao Qi <yao@codesourcery.com>
17479
17480 * gdb.base/default.exp: Replace "child" with "native" in
17481 regexp pattern.
17482
17483 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17484
17485 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17486 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17487 * gdb.python/py-xmethods.py: Python script supporting the
17488 new testcase and tests.
17489
17490 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17491 Pedro Alves <palves@redhat.com>
17492
17493 PR breakpoints/17000
17494 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17495 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17496
17497 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17498
17499 * gdb.base/subst.exp: Add tests to verify partial path matching
17500 output.
17501
17502 2014-06-03 Pedro Alves <palves@redhat.com>
17503
17504 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17505 target that doesn't use software single-stepping.
17506
17507 2014-06-03 Pedro Alves <palves@redhat.com>
17508
17509 PR breakpoints/17000
17510 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17511 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17512
17513 2014-06-02 Doug Evans <xdje42@gmail.com>
17514
17515 * gdb.guile/scm-parameter.exp: New file.
17516
17517 2014-06-02 Doug Evans <xdje42@gmail.com>
17518
17519 * gdb.guile/scm-cmd.c: New file.
17520 * gdb.guile/scm-cmd.exp: New file.
17521
17522 2014-06-02 Doug Evans <xdje42@gmail.com>
17523
17524 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17525 pretty-printer lookup.
17526 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17527 (make-pp_s-printer): Call it.
17528 (make-pretty-printer-from-dict): New function.
17529 (lookup-pretty-printer-maker-from-dict): New function.
17530 (*pretty-printer*): Simplify.
17531 (make-objfile-pp_s-printer): New function.
17532 (install-objfile-pretty-printers!): New function.
17533 (make-progspace-pp_s-printer): New function.
17534 (install-progspace-pretty-printers!): New function.
17535 * gdb.guile/scm-progspace.c: New file.
17536 * gdb.guile/scm-progspace.exp: New file.
17537
17538 2014-06-02 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.base/dprintf-bp-same-addr.c: New file.
17541 * gdb.base/dprintf-bp-same-addr.exp: New file.
17542
17543 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17544
17545 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17546 * gdb.arch/powerpc-power.s: Likewise.
17547
17548 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17549
17550 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17551
17552 2014-06-01 Yao Qi <yao@codesourcery.com>
17553
17554 * gdb.base/watchpoint.exp (test_watch_location): Check null
17555 pointer can be dereferenced. If not, do the test, otherwise
17556 skip it.
17557
17558 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17559
17560 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17561 results.
17562 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17563
17564 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17565
17566 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17567 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17568 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17569 * gdb.arch/amd64-invalid-stack-top.c: New file.
17570 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17571
17572 2014-05-30 Pedro Alves <palves@redhat.com>
17573
17574 PR breakpoints/17000
17575 * gdb.base/sss-bp-on-user-bp.c: New file.
17576 * gdb.base/sss-bp-on-user-bp.exp: New file.
17577
17578 2014-05-30 David Blaikie <dblaikie@gmail.com>
17579
17580 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17581 gnu_inline semantics via attribute.
17582 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17583 source explicitly specifies the required semantics.
17584
17585 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17586
17587 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17588
17589 2014-05-29 Pedro Alves <palves@redhat.com>
17590 Tom Tromey <tromey@redhat.com>
17591
17592 * gdb.base/async-shell.exp: Don't enable target-async.
17593 * gdb.base/async.exp
17594 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17595 parameter. Adjust.
17596 (top level): Don't test with "target-async".
17597 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17598 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17599 * gdb.base/inferior-died.exp: Don't enable target-async.
17600 * gdb.base/interrupt-noterm.exp: Likewise.
17601 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17602 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17603 * gdb.mi/mi-nonstop.exp: Likewise.
17604 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17605 * gdb.mi/mi-nsintrall.exp: Likewise.
17606 * gdb.mi/mi-nsmoribund.exp: Likewise.
17607 * gdb.mi/mi-nsthrexec.exp: Likewise.
17608 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17609 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17610 * gdb.python/py-evsignal.exp: Don't enable target-async.
17611 * gdb.python/py-evthreads.exp: Likewise.
17612 * gdb.python/py-prompt.exp: Likewise.
17613 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17614 * gdb.server/solib-list.exp: Don't enable target-async.
17615 * gdb.threads/thread-specific-bp.exp: Likewise.
17616 * lib/mi-support.exp: Adjust to use mi-async.
17617
17618 2014-05-29 Pedro Alves <palves@redhat.com>
17619
17620 PR gdb/13860
17621 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17622 reason, even in sync mode.
17623
17624 2014-05-29 Pedro Alves <palves@redhat.com>
17625 Hui Zhu <hui@codesourcery.com>
17626
17627 PR PR15693
17628 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17629 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17630 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17631 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17632
17633 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17634
17635 * config/monitor.exp (gdb_target_monitor): Replace use of
17636 "set remotebaud" by "set serial baud".
17637
17638 2014-05-26 Andy Wingo <wingo@igalia.com>
17639
17640 * gdb.guile/scm-breakpoint.exp:
17641 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17642 properties instead of gdb-object-properties.
17643
17644 2014-05-26 Yao Qi <yao@codesourcery.com>
17645
17646 * gdb.server/no-thread-db.exp: Specify source file name
17647 explicitly when setting a breakpoint.
17648
17649 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17650
17651 * gdb.btrace/vdso.c: New.
17652 * gdb.btrace/vdso.exp: New.
17653
17654 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17655
17656 * gdb.base/gcore.exp (capture_command_output): Move ...
17657 * lib/gdb.exp (capture_command_output): ... here.
17658
17659 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17660
17661 * gdb.btrace/data.exp: Test memory access during btrace replay.
17662
17663 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17664
17665 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17666
17667 2014-05-21 Pedro Alves <palves@redhat.com>
17668
17669 PR gdb/13860
17670 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17671 (top level): Test that output related to execution commands is
17672 sent to the console with CLI commands, but not with MI commands.
17673 Test that breakpoint events are always mirrored to the console.
17674 Also expect the new source line to be output after a "next" in
17675 async mode too. Make it a pass/fail test.
17676 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17677 output.
17678 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17679
17680 2014-05-21 Pedro Alves <palves@redhat.com>
17681
17682 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17683 Use them to test variations of "list" after reaching a breakpoint.
17684 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17685 Test "list" with listsize 10 after reaching a breakpoint.
17686 * gdb.python/python.exp (decode_line current location line
17687 number): Adjust expected line number.
17688
17689 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17690
17691 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17692 behavior for $args, pass it directly to "run".
17693
17694 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17695
17696 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17697 30000 to 65536.
17698
17699 2014-05-21 Pedro Alves <palves@redhat.com>
17700
17701 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17702 auto-connect-native-target off".
17703 * gdb.base/auto-connect-native-target.c: New file.
17704 * gdb.base/auto-connect-native-target.exp: New file.
17705
17706 2014-05-21 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.base/default.exp: Test "target native" instead of "target
17709 child".
17710
17711 2014-05-21 Mark Wielaard <mjw@redhat.com>
17712
17713 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17714
17715 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17716
17717 Fix TLS access for -static -pthread.
17718 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17719 <HAVE_TLS> (thread_function, main): Initialize it.
17720 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17721 Add clean_restart.
17722 <$have_tls != "">: Check TLSVAR.
17723
17724 2014-05-21 Pedro Alves <palves@redhat.com>
17725
17726 * gdb.base/dcache-line-read-error.c: New.
17727 * gdb.base/dcache-line-read-error.exp: New.
17728
17729 2014-05-20 Pedro Alves <palves@redhat.com>
17730
17731 * gdb.base/compare-sections.c: New file.
17732 * gdb.base/compare-sections.exp: New file.
17733
17734 2014-05-20 Pedro Alves <palves@redhat.com>
17735
17736 * gdb.base/break-idempotent.c: New file.
17737 * gdb.base/break-idempotent.exp: New file.
17738
17739 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17740
17741 * gdb.btrace/nohist.exp: New.
17742
17743 2014-05-20 Yao Qi <yao@codesourcery.com>
17744
17745 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17746 gdb.reverse directory and gdb_reverse_timeout exists in board
17747 setting.
17748 * README: Document gdb_reverse_timeout.
17749
17750 2014-05-20 Yao Qi <yao@codesourcery.com>
17751
17752 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17753 'test_file_name'. Treat args as a string instead of a list.
17754 (gdb_init): Rename argument 'args' by 'test_file_name'.
17755
17756 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17757
17758 * gdb.arch/powerpc-power.exp: New file.
17759 * gdb.arch/powerpc-power.s: New file.
17760
17761 2014-05-16 Doug Evans <dje@google.com>
17762
17763 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17764 * gdb.base/completion.exp: Check that all expected files exist
17765 before doing file completion.
17766
17767 2014-05-16 Doug Evans <dje@google.com>
17768
17769 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17770 Update.
17771 (do_syscall_tests_without_xml): Update.
17772
17773 2014-05-16 Pedro Alves <palves@redhat.com>
17774
17775 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17776 instead of "unknown output after running".
17777
17778 2014-05-16 Yao Qi <yao@codesourcery.com>
17779
17780 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17781 file1.txt from host at the end.
17782 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17783
17784 2014-05-15 Doug Evans <dje@google.com>
17785
17786 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17787 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17788 loading file. Add test for TU lookup.
17789
17790 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17791
17792 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17793 calling "-exec-arguments" or "set args" before running the
17794 inferior.
17795
17796 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17797
17798 * lib/mi-support.exp (mi_expect_stop): Expect message for
17799 inferiors that exit with non-zero exit code.
17800
17801 2014-05-14 Yao Qi <yao@codesourcery.com>
17802
17803 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17804 match absolute path on remote host.
17805 (test_file_list_exec_source_files): Remove "/" from the
17806 pattern.
17807
17808 2014-05-14 Yao Qi <yao@codesourcery.com>
17809
17810 * boards/local-remote-host-notty.exp (${board}_file): New
17811 proc.
17812
17813 2014-05-07 Kyle McMartin <kyle@redhat.com>
17814
17815 Pushed by Joel Brobecker <brobecker@adacore.com>.
17816 * gdb.arch/aarch64-atomic-inst.c: New file.
17817 * gdb.arch/aarch64-atomic-inst.exp: New file.
17818
17819 2014-05-07 Yao Qi <yao@codesourcery.com>
17820
17821 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17822 in current context" too.
17823
17824 2014-05-05 Keith Seitz <keiths@redhat.com>
17825
17826 * gdb.linespec/ls-dollar.exp: Add test for linespec
17827 file:convenience_variable.
17828
17829 2014-05-05 Yao Qi <yao@codesourcery.com>
17830
17831 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17832 traceframes into tfile and ctf trace files. Read data from
17833 trace file and test collected data.
17834 (gdb_collect_locals_test): Likewise.
17835 (gdb_unavailable_registers_test): Likewise.
17836 (gdb_unavailable_floats): Likewise.
17837 (gdb_collect_globals_test): Likewise.
17838 (top-level): Append "ctf" to trace_file_targets if GDB
17839 supports.
17840
17841 2014-05-05 Yao Qi <yao@codesourcery.com>
17842
17843 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17844 code to ...
17845 (gdb_collect_args_test_1): ... it. New proc.
17846 (gdb_collect_locals_test): Move some code to ...
17847 (gdb_collect_locals_test_1): ... it. New proc.
17848 (gdb_unavailable_registers_test): Move some code to ...
17849 (gdb_unavailable_registers_test_1): ... it. New proc.
17850 (gdb_unavailable_floats): Move some code to ...
17851 (gdb_unavailable_floats_1): ... it. New proc.
17852
17853 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17854
17855 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17856 probes to test for bitness recognition.
17857 * gdb.arch/amd64-stap-optional-prefix.exp
17858 (test_probe_value_without_reg): New procedure.
17859 Add code to test for different kinds of bitness.
17860
17861 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17862
17863 PR breakpoints/16889
17864 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17865 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17866
17867 2014-05-01 Pedro Alves <palves@redhat.com>
17868
17869 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17870 gdb_file_cmd if no file is specified.
17871 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17872 last_loaded_file to set the remote exec-file.
17873
17874 2014-05-01 Pedro Alves <palves@redhat.com>
17875
17876 * boards/local-remote-host.exp: New file.
17877
17878 2014-05-01 Pedro Alves <palves@redhat.com>
17879
17880 * boards/local-remote-host.exp: Rename to ...
17881 * boards/local-remote-host-notty.exp: ... this.
17882
17883 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17884
17885 * gdb.ada/dyn_arrayidx: New testcase.
17886
17887 2014-04-26 Yao Qi <yao@codesourcery.com>
17888
17889 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17890 and compute the length of function main. Save it in
17891 $main_length.
17892 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17893 (top-level): Use gdb_compile to compile objects into
17894 executable and restart GDB. Remove invocation to
17895 prepare_for_testing.
17896
17897 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17898 Pedro Alves <palves@redhat.com>
17899
17900 PR server/16255
17901 * gdb.multi/multi-attach.c: New file.
17902 * gdb.multi/multi-attach.exp: New file.
17903
17904 2014-04-25 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17907 user.
17908 (top level): Test that "set remote conditional-breakpoints-packet
17909 off" works as intended.
17910 * gdb.base/dprintf.exp: Test that "set remote
17911 breakpoint-commands-packet off" works as intended.
17912 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17913 New function.
17914 (top level): Call it.
17915 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17916 remote fast-tracepoints-packet off" works as intended.
17917 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17918 * lib/gdb.exp (gdb_is_target_remote): ... here.
17919
17920 2014-04-24 David Blaikie <dblaikie@gmail.com>
17921
17922 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17923 ensure clang would not discard them.
17924 * gdb.base/gdbvars.c: Ditto.
17925 * gdb.base/memattr.c: Ditto.
17926 * gdb.base/whatis.c: Ditto.
17927 * gdb.python/py-prettyprint.c: Ditto.
17928 * gdb.trace/actions.c: Ditto.
17929 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17930 ensure clang would not discard it.
17931
17932 2014-04-24 David Blaikie <dblaikie@gmail.com>
17933
17934 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17935 clang to emit the full definition of type required by the test
17936 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17937
17938 2014-04-24 David Blaikie <dblaikie@gmail.com>
17939
17940 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17941 coax Clang into emitting the definition of the type.
17942 * gdb.cp/pr10728-x.h (y): Ditto.
17943 * gdb.cp/pr10728-y.cc (y): Ditto.
17944
17945 2014-04-24 David Blaikie <dblaikie@gmail.com>
17946
17947 * gdb.base/label.exp: XFAIL label related tests under Clang.
17948 * gdb.cp/cplabel.exp: Ditto.
17949 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17950 under Clang those using labels.
17951
17952 2014-04-25 Yao Qi <yao@codesourcery.com>
17953
17954 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17955 double_label.
17956 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17957 partial_label and double_label.
17958
17959 2014-04-24 David Blaikie <dblaikie@gmail.com>
17960
17961 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17962
17963 2014-04-24 David Blaikie <dblaikie@gmail.com>
17964
17965 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17966 of the function to work across GCC and Clang.
17967 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17968 pointer types (const void ** const V void **).
17969
17970 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17971 Walfred Tedeschi <walfred.tedeschi@intel.com>
17972
17973 * Makefile.in (EXECUTABLES): Added i386-avx512.
17974 * gdb.arch/i386-avx512.c: New file.
17975 * gdb.arch/i386-avx512.exp: Likewise.
17976
17977 2014-04-23 Keith Seitz <keiths@redhat.com>
17978
17979 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17980 (mi_make_breakpoint_table): New procedure.
17981 (mi_create_breakpoint): Use mi_make_breakpoint
17982 and return the result.
17983 (mi_make_breakpoint): New procedure.
17984 (mi_build_kv_pairs): New procedure.
17985
17986 * gdb.mi/mi-break.exp: Remove unused globals,
17987 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17988 All callers updated.
17989 * gdb.mi/mi-dprintf.exp: Use variable to track command
17990 number.
17991 Update all callers of mi_create_breakpoint and use
17992 mi_make_breakpoint_table.
17993 Remove any unused global variables.
17994 * gdb.mi/mi-nonstop.exp: Likewise.
17995 * gdb.mi/mi-nsintrall.exp: Likewise.
17996 * gdb.mi/mi-nsmoribund.exp: Likewise.
17997 * gdb.mi/mi-nsthrexec.exp: Likewise.
17998 * gdb.mi/mi-reverse.exp: Likewise.
17999 * gdb.mi/mi-simplerun.exp: Likewise.
18000 * gdb.mi/mi-stepn.exp: Likewise.
18001 * gdb.mi/mi-syn-frame.exp: Likewise.
18002 * gdb.mi/mi-until.exp: Likewise.
18003 * gdb.mi/mi-var-cp.exp: Likewise.
18004 * gdb.mi/mi-var-display.exp: Likewise.
18005 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18006 * gdb.mi/mi2-var-child.exp: Likewise.
18007 * gdb.mi/mi-vla-c99.exp: Likewise.
18008 * lib/mi-support.exp: Likewise.
18009
18010 From Ian Lance Taylor <iant@cygnus.com>:
18011 * lib/gdb.exp (parse_args): New procedure.
18012
18013 2014-04-23 Pedro Alves <palves@redhat.com>
18014
18015 * gdb.base/break-unload-file.c: New file.
18016 * gdb.base/break-unload-file.exp: New file.
18017 * gdb.base/sym-file-lib.c (baz): New function.
18018 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18019 field.
18020 (load): Store the segment's mapped size.
18021 (unload): New function.
18022 (unload_shlib): New function.
18023 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18024 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18025 set a breakpoint at baz, and call it.
18026 * gdb.base/sym-file.exp: New tests for stale breakpoint
18027 instructions.
18028
18029 2014-04-23 Pedro Alves <palves@redhat.com>
18030
18031 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18032 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18033 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18034 * gdb.base/hbreak-unmapped.c: New file.
18035 * gdb.base/hbreak-unmapped.exp: New file.
18036 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18037 * lib/gdb.exp (gdb_is_target_remote): ... here.
18038
18039 2014-04-22 Pedro Alves <palves@redhat.com>
18040
18041 * gdb.base/consecutive-step-over.c: New file.
18042 * gdb.base/consecutive-step-over.exp: New file.
18043
18044 2014-04-22 Pedro Alves <palves@redhat.com>
18045
18046 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18047 instead of send_gdb/gdb_expect.
18048
18049 2014-04-22 Yao Qi <yao@codesourcery.com>
18050
18051 * lib/trace-support.exp (generate_tracefile): New procedure.
18052 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18053 return 0.
18054 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18055 if generate_tracefile returns 1.
18056
18057 2014-04-18 Tom Tromey <palves@redhat.com>
18058 Pedro alves <tromey@redhat.com>
18059
18060 PR backtrace/15558
18061 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18062 with a backtrace limit.
18063 * gdb.python/py-frame-inline.exp: Test running to an inline
18064 function with a backtrace limit, and printing the newest frame.
18065 * gdb.python/py-frame-inline.c (main): Call f.
18066
18067 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18068
18069 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18070
18071 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18072
18073 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18074 Drop prefix from unsupported source file path.
18075
18076 2014-04-17 Yao Qi <yao@codesourcery.com>
18077
18078 * lib/gdb.exp (with_target_charset): New proc.
18079 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18080 with_target_charset.
18081 (test_print_strings): Likewise.
18082 (test_repeat_bytes): Likewise.
18083 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18084 for some tests.
18085
18086 2014-04-16 Keith Seitz <keiths@redhat.com>
18087
18088 PR gdb/15827
18089 * gdb.dwarf2/corrupt.c: New file.
18090 * gdb.dwarf2/corrupt.exp: New file.
18091
18092 2014-04-16 Keith Seitz <keiths@redhat.com>
18093
18094 PR c++/16597
18095 * gdb.cp/namelessclass.cc: New file.
18096 * gdb.cp/namelessclass.exp: New file.
18097 * gdb.cp/namelessclass.S: New file.
18098
18099 2014-04-16 Doug Evans <dje@google.com>
18100
18101 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18102 Add comment.
18103 (gdbserver_default_get_comm_port): New function.
18104 (gdbserver_start): Check if board file provided
18105 "gdbserver,get_comm_port" and use it if so.
18106 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18107 (gdb,socketport): Set to "stdio".
18108 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18109 (stdio_gdbserver_template): Delete.
18110 (${board}_get_remote_address): Update.
18111 (${board}_build_remote_cmd): Delete.
18112 (${board}_get_comm_port): New function.
18113 (${board}_spawn): Update.
18114 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18115 Delete.
18116 (${board}_get_remote_address): Update.
18117 (${board}_get_comm_port): New function.
18118
18119 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18120
18121 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18122 appearing in any order.
18123
18124 2014-04-15 Doug Evans <dje@google.com>
18125
18126 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18127 uninitialized value of "description".
18128
18129 2014-04-15 Keith Seitz <keiths@redhat.com>
18130
18131 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18132 Remove unused globals.
18133 (test_running_the_program): Likewise.
18134 (test_controlled_execution): Likewise.
18135 (test_controlling_breakpoints): Likewise.
18136 (test_program_termination): Likewise.
18137
18138 2014-04-15 Keith Seitz <keiths@redhat.com>
18139
18140 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18141 unused globals.
18142 (test_rbreak_creation_and_listing): Likewise.
18143 (test_ignore_count): Likewise.
18144 (test_error): Likewise.
18145
18146 2014-04-15 Pedro Alves <palves@redhat.com>
18147
18148 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18149 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18150 sym-file-loader.c.
18151 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18152 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18153 to sym-file-loader.c.
18154 (struct library): Forward declare.
18155 (load_shlib, lookup_function): Change prototypes.
18156 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18157 (translate_offset): Remove declarations.
18158 (get_text_addr): New declaration.
18159 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18160 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18161 sym-file-loader.h.
18162 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18163 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18164 here from sym-file-loader.h.
18165 (struct library): New structure.
18166 (load_shlib, lookup_function): Change prototypes and adjust to
18167 work with a struct library.
18168 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18169 (translate_offset): Make static.
18170 (get_text_addr): New function.
18171 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18172
18173 2014-04-15 Pedro Alves <palves@redhat.com>
18174
18175 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18176
18177 2014-04-15 Pedro Alves <palves@redhat.com>
18178
18179 * gdb.base/sym-file-loader.c: Include <limits.h>.
18180 (SELF_LINK): New define.
18181 (get_origin): New function.
18182 (load_shlib): Use it.
18183 * gdb.base/sym-file.exp: Don't early return if the target is
18184 remote. Use runto_main, and issue fail is that fails. Use
18185 gdb_load_shlibs.
18186 (shlib_name): Delete.
18187 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18188
18189 2014-04-15 Pedro Alves <palves@redhat.com>
18190
18191 * gdb.base/sym-file.exp: Remove regex characters from test
18192 message. Don't refer to breakpoint numbers in test messages.
18193
18194 2014-04-14 Keith Seitz <keiths@redhat.com>
18195
18196 PR c++/16253
18197 * gdb.cp/var-tag.cc: New file.
18198 * gdb.cp/var-tag.exp: New file.
18199 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18200 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18201 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18202 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18203
18204 2014-04-14 Tom Tromey <tromey@redhat.com>
18205
18206 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18207 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18208 type.
18209 * gdb.cp/enum-class.exp: New file.
18210 * gdb.cp/enum-class.cc: New file.
18211
18212 2014-04-14 Tom Tromey <tromey@redhat.com>
18213
18214 * gdb.dwarf2/enum-type.exp: New file.
18215
18216 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18217
18218 * gdb.mi/mi-vla-c99.exp: New file.
18219 * gdb.mi/vla.c: New file.
18220
18221 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18222
18223 * gdb.base/vla-datatypes.c: New file.
18224 * gdb.base/vla-datatypes.exp: New file.
18225
18226 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18227
18228 * gdb.base/vla-ptr.c: New file.
18229 * gdb.base/vla-ptr.exp: New file.
18230
18231 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18232
18233 * gdb.dwarf2/count.exp: New file.
18234
18235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18236
18237 * gdb.base/vla-sideeffect.c: New file.
18238 * gdb.base/vla-sideeffect.exp: New file.
18239
18240 2014-04-14 David Blaikie <dblaikie@gmail.com>
18241
18242 * gdb.mi/non-stop.c: Add return value for non-void function return
18243 statement.
18244 * gdb.threads/staticthreads.c: Ditto.
18245
18246 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18247 Doug Evans <xdje42@gmail.com>
18248
18249 * gdb.guile/scm-value.c: Improve test case.
18250 * gdb.guile/scm-value.exp: Add new test.
18251
18252 2014-04-11 David Blaikie <dblaikie@gmail.com>
18253
18254 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18255 override Clang's default.
18256
18257 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18258
18259 Revert the following changes (regressions):
18260
18261 * gdb.base/vla-sideeffect.c: New file.
18262 * gdb.base/vla-sideeffect.exp: New file.
18263
18264 * gdb.dwarf2/count.exp: New file.
18265
18266 * gdb.base/vla-multi.c: New file.
18267 * gdb.base/vla-multi.exp: New file.
18268
18269 * gdb.base/vla-ptr.c: New file.
18270 * gdb.base/vla-ptr.exp: New file.
18271
18272 * gdb.base/vla-datatypes.c: New file.
18273 * gdb.base/vla-datatypes.exp: New file.
18274
18275 * gdb.mi/mi-vla-c99.exp: New file.
18276 * gdb.mi/vla.c: New file.
18277
18278 2014-04-11 Keith Seitz <keiths@redhat.com>
18279
18280 PR c++/16675
18281 * gdb.cp/cpsizeof.exp: New file.
18282 * gdb.cp/cpsizeof.cc: New file.
18283
18284 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18285
18286 * gdb.mi/mi-vla-c99.exp: New file.
18287 * gdb.mi/vla.c: New file.
18288
18289 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18290
18291 * gdb.base/vla-datatypes.c: New file.
18292 * gdb.base/vla-datatypes.exp: New file.
18293
18294 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18295
18296 * gdb.base/vla-ptr.c: New file.
18297 * gdb.base/vla-ptr.exp: New file.
18298
18299 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18300
18301 * gdb.base/vla-multi.c: New file.
18302 * gdb.base/vla-multi.exp: New file.
18303
18304 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18305
18306 * gdb.dwarf2/count.exp: New file.
18307
18308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18309
18310 * gdb.base/vla-sideeffect.c: New file.
18311 * gdb.base/vla-sideeffect.exp: New file.
18312
18313 2014-04-11 Yao Qi <yao@codesourcery.com>
18314
18315 * gdb.base/completion.exp: Check file exists before running tests
18316 on file completion.
18317
18318 2014-04-10 Pedro Alves <palves@redhat.com>
18319
18320 * gdb.base/cond-eval-mode.c: New file.
18321 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18322 prepare_for_testing to build the new file. Check result of
18323 runto_main.
18324 (test_break, test_watch): New procedures.
18325 (top level): Use them.
18326
18327 2014-04-08 Pierre Muller <muller@sourceware.org>
18328
18329 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18330 Ctrl-V use for mingw hosts.
18331
18332 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18333
18334 * gdb.python/py-value.c: Improve test case.
18335 * gdb.python/py-value.exp: Add new test.
18336
18337 2014-04-07 David Blaikie <dblaikie@gmail.com>
18338
18339 * lib/compiler.c: Identify the clang compiler.
18340 * lib/compiler.cc: Ditto.
18341
18342 2014-04-03 Yao Qi <yao@codesourcery.com>
18343
18344 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18345
18346 2014-04-01 Anton Blanchard <anton@samba.org>
18347
18348 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18349 messages unique.
18350
18351 2014-04-01 Anton Blanchard <anton@samba.org>
18352
18353 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18354 prepare_for_testing.
18355
18356 2014-04-01 Anton Blanchard <anton@samba.org>
18357
18358 * gdb.arch/ppc64-atomic-inst.c: Remove.
18359 * gdb.arch/ppc64-atomic-inst.S: New file.
18360 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18361
18362 2014-03-31 Doug Evans <dje@google.com>
18363
18364 * gdb.base/print-symbol-loading-lib.c: New file.
18365 * gdb.base/print-symbol-loading-main.c: New file.
18366 * gdb.base/print-symbol-loading.exp: New file.
18367
18368 2014-03-31 Yao Qi <yao@codesourcery.com>
18369
18370 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18371
18372 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18373
18374 * gdb.ada/mi_dyn_arr: New testcase.
18375
18376 2014-03-27 Doug Evans <dje@google.com>
18377
18378 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18379
18380 2014-03-27 Yao Qi <yao@codesourcery.com>
18381
18382 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18383 if target is nios2-*-*.
18384
18385 2014-03-26 Yao Qi <yao@codesourcery.com>
18386
18387 * lib/gdb.exp (readline_is_used): New proc.
18388 * gdb.base/completion.exp: Move tests on command complete up.
18389 Skip the rest of tests if readline is not used.
18390 * gdb.ada/complete.exp: Skp the test if readline is not
18391 used.
18392 * gdb.base/filesym.exp: Likewise.
18393 * gdb.base/macscp.exp: Likewise.
18394 * gdb.base/readline-ask.exp: Likewise.
18395 * gdb.base/readline.exp: Likewise.
18396 * gdb.python/py-cmd.exp: Likewise.
18397 * gdb.trace/tfile.exp: Likewise.
18398
18399 2014-03-26 Yao Qi <yao@codesourcery.com>
18400
18401 * gdb.base/macscp.exp: Fix code format issues.
18402
18403 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18404
18405 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18406 * gdb.asm/powerpc64le.inc: New file.
18407
18408 2014-03-25 Pedro Alves <palves@redhat.com>
18409 Doug Evans <dje@google.com>
18410
18411 * gdb.base/source-execution.c: New file.
18412 * gdb.base/source-execution.exp: New file.
18413 * gdb.base/source-execution.gdb: New file.
18414
18415 2014-03-24 Doug Evans <dje@google.com>
18416
18417 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18418 using fission.
18419
18420 2014-03-24 Hui Zhu <hui@codesourcery.com>
18421 Pedro Alves <palves@redhat.com>
18422
18423 PR breakpoints/16101
18424 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18425 test pass/fail messages. Detect missing support for dprintf when
18426 breakpoints are actually inserted.
18427 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18428 breakpoints are actually inserted.
18429 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18430 fails.
18431
18432 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18433
18434 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18435
18436 2014-03-22 Doug Evans <xdje42@gmail.com>
18437
18438 * gdb.python/python.exp (python not supported): Verify multi-line
18439 python command issues an error.
18440 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18441 guile command issues an error.
18442
18443 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18444
18445 * gdb.threads/thread-specific.exp: Handle the lack of usable
18446 $this_breakpoint and $this_thread.
18447
18448 2014-03-21 Hui Zhu <hui@codesourcery.com>
18449
18450 * gdb.base/attach.exp (do_command_attach_tests): New.
18451
18452 2014-03-20 Tom Tromey <tromey@redhat.com>
18453 Pedro Alves <palves@redhat.com>
18454
18455 PR cli/15718
18456 * gdb.base/condbreak-call-false.c: New file.
18457 * gdb.base/condbreak-call-false.exp: New file.
18458
18459 2014-03-20 Pedro Alves <palves@redhat.com>
18460
18461 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18462 Delete.
18463 (block_signals, unblock_signals): Delete.
18464 (child_function_2, main): Remove references to deleted variable
18465 and functions.
18466
18467 2014-03-20 Pedro Alves <palves@redhat.com>
18468
18469 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18470 Use pthread_kill to signal thread 2.
18471 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18472 Adjust to make the test send itself a signal rather than using the
18473 host's "kill" command.
18474
18475 2014-03-20 Pedro Alves <palves@redhat.com>
18476
18477 * gdb.threads/multiple-step-overs.c: New file.
18478 * gdb.threads/multiple-step-overs.exp: New file.
18479 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18480 Adjust expected infrun debug output.
18481
18482 2014-03-20 Pedro Alves <palves@redhat.com>
18483
18484 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18485 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18486
18487 2014-03-20 Pedro Alves <palves@redhat.com>
18488
18489 PR breakpoints/7143
18490 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18491 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18492 of gdb_test_multiple.
18493 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18494 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18495
18496 2014-03-20 Pedro Alves <palves@redhat.com>
18497
18498 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18499 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18500
18501 2014-03-19 Pedro Alves <palves@redhat.com>
18502
18503 * gdb.base/async.exp: Remove early return.
18504
18505 2014-03-19 Pedro Alves <palves@redhat.com>
18506
18507 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18508
18509 2014-03-19 Pedro Alves <palves@redhat.com>
18510
18511 * gdb.base/async.exp (test_background): Expect \r\n after
18512 "completed." in the fail pattern.
18513
18514 2014-03-19 Pedro Alves <palves@redhat.com>
18515
18516 * gdb.base/async.exp (test_background): New procedure.
18517 Use it for all background execution command tests.
18518
18519 2014-03-19 Pedro Alves <palves@redhat.com>
18520
18521 * gdb.base/async.exp: Use prepare_for_testing.
18522
18523 2014-03-19 Pedro Alves <palves@redhat.com>
18524
18525 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18526 the same line.
18527
18528 2014-03-19 Pedro Alves <palves@redhat.com>
18529
18530 * gdb.base/async.c (main): Add "jump here" and "until here" line
18531 marker comments.
18532 * gdb.base/async.exp (jump_here): New global.
18533 (jump& test): Use it.
18534 (until_here): New global.
18535 (until& test): Use it.
18536
18537 2014-03-19 Pedro Alves <palves@redhat.com>
18538
18539 * gdb.base/async.exp: Don't frob gdb_protocol.
18540
18541 2014-03-18 Doug Evans <xdje42@gmail.com>
18542
18543 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18544 Fix spelling of exec-done-display.
18545
18546 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18547
18548 PR gdb/15358
18549 * gdb.base/gdb-sigterm.c: New file.
18550 * gdb.base/gdb-sigterm.exp: New file.
18551
18552 2014-03-18 Pedro Alves <palves@redhat.com>
18553
18554 PR gdb/13860
18555 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18556 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18557 solib-event.
18558
18559 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18560
18561 * gdb.ada/pckd_arr_ren: New testcase.
18562
18563 2014-03-13 Doug Evans <xdje42@gmail.com>
18564
18565 PR guile/16612
18566 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18567 collect after discarding symbols.
18568
18569 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18570 Doug Evans <xdje42@gmail.com>
18571
18572 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18573 to history survives a gc.
18574
18575 2014-03-13 Pedro Alves <palves@redhat.com>
18576
18577 * gdb.base/default.exp: Don't test "target procfs".
18578
18579 2014-03-13 Pedro Alves <palves@redhat.com>
18580
18581 * gdb.base/default.exp: Update "target child" and "target procfs"
18582 tests to not expect "Unix".
18583
18584 2014-03-12 Tom Tromey <tromey@redhat.com>
18585
18586 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18587 New procs. Add target-async tests.
18588 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18589 Add target-async tests.
18590
18591 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18592
18593 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18594 'func_start' and 'func_end' for the beginning and end of the
18595 function code, respectively.
18596 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18597 'func_end' instead of 'func' and 'main'.
18598
18599 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18600
18601 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18602 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18603 generate the debug info assembler source.
18604
18605 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18606
18607 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18608 * gdb.dwarf2/arr-subrange.exp: Likewise.
18609 * gdb.dwarf2/dwz.exp: Likewise.
18610 * gdb.dwarf2/method-ptr.exp: Likewise.
18611 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18612 * gdb.dwarf2/subrange.exp: Likewise.
18613 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18614 * gdb.dwarf2/implptrpiece.exp: Likewise.
18615 * gdb.dwarf2/nostaticblock.exp: Likewise.
18616
18617 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18618
18619 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18620 directory to absolute path name arguments.
18621
18622 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18623
18624 * gdb.ada/tagged_access: New testcase.
18625
18626 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18627
18628 * gdb.btrace/data.exp: Update expected output.
18629
18630 2014-03-06 Yao Qi <yao@codesourcery.com>
18631
18632 * gdb.trace/pr16508.exp: New file.
18633
18634 2014-03-05 Pedro Alves <palves@redhat.com>
18635
18636 PR gdb/16575
18637 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18638 procedure.
18639 (top level): Adjust to use it. Add tests that exercise breakpoint
18640 interaction with the code-cache.
18641
18642 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18643
18644 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18645 test for 'history-append!'.
18646
18647 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18648
18649 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18650 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18651 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18652 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18653 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18654 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18655
18656 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18657
18658 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18659 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18660 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18661
18662 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18663
18664 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18665
18666 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18667
18668 * gdb.dwarf2/arr-stride.c: New file.
18669 * gdb.dwarf2/arr-stride.exp: New file.
18670
18671 2014-02-26 Pedro Alves <palves@redhat.com>
18672
18673 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18674 that won't ever trigger. Make sure that GDB reports the correct
18675 breakpoint that caused the stop.
18676
18677 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18678
18679 PR gdb/16626
18680 * gdb.base/auto-load-script: New file.
18681 * gdb.base/auto-load.c: New file.
18682 * gdb.base/auto-load.exp: New file.
18683
18684 PR gdb/16626
18685 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18686
18687 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18688
18689 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18690 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18691
18692 2014-02-24 Doug Evans <dje@google.com>
18693
18694 * lib/gdb.exp (run_on_host): Log error output if program fails.
18695
18696 2014-02-21 Pedro Alves <palves@redhat.com>
18697
18698 * gdb.threads/step-after-sr-lock.c: Rename to ...
18699 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18700 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18701 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18702 ... this.
18703
18704 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18705
18706 PR tdep/16397
18707 * gdb.arch/amd64-stap-special-operands.exp: New file.
18708 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18709 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18710 * gdb.arch/amd64-stap-triplet.S: Likewise.
18711 * gdb.arch/amd64-stap-triplet.c: Likewise.
18712
18713 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18714
18715 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18716 in .section pseudo-op.
18717
18718 2014-02-20 lin zuojian <manjian2006@gmail.com>
18719 Joel Brobecker <brobecker@adacore.com>
18720 Doug Evans <xdje42@gmail.com>
18721
18722 PR symtab/16581
18723 * gdb.dwarf2/dw2-icycle.S: New file.
18724 * gdb.dwarf2/dw2-icycle.c: New file.
18725 * gdb.dwarf2/dw2-icycle.exp: New file.
18726
18727 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18728
18729 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18730 operations on gdb.Value objects.
18731 * gdb.python/py-value-cc.exp: Add new test to test operations on
18732 gdb.Value objects.
18733
18734 2014-02-18 Doug Evans <dje@google.com>
18735
18736 * Makefile.in (TESTS): New variable.
18737 (expanded_tests, expanded_tests_or_none): New variables
18738 (check-single): Pass $(expanded_tests_or_none) to runtest.
18739 (check-parallel): Only run tests in $(TESTS) if non-empty.
18740 (check/no-matching-tests-found): New rule.
18741 * README: Document TESTS makefile variable.
18742
18743 2014-02-18 Doug Evans <dje@google.com>
18744
18745 * Makefile.in (check-parallel): rm -rf outputs temp.
18746
18747 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18748
18749 Fix "ERROR: no fileid for" in the testsuite.
18750 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18751
18752 2014-02-12 Doug Evans <dje@google.com>
18753
18754 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18755 (MISCELLANEOUS): New variable.
18756 (clean): rm -rf $(MISCELLANEOUS).
18757 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18758 dwp live in the same directory as symlinks, with each symlink pointed
18759 to a differently named file in a different directory.
18760
18761 2014-02-11 Doug Evans <dje@google.com>
18762
18763 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18764 of Tcl file commands.
18765
18766 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18767
18768 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18769 "kill -SIGUSR1 -1".
18770
18771 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18772
18773 * gdb.ada/tick_length_array_enum_idx: New testcase.
18774
18775 2014-02-10 Doug Evans <xdje42@gmail.com>
18776
18777 * configure.ac (AC_OUTPUT): Add gdb.guile.
18778 * configure: Regenerate.
18779 * lib/gdb-guile.exp: New file.
18780 * lib/gdb.exp (get_target_charset): New function.
18781 * gdb.base/help.exp: Update expected output from "apropos apropos".
18782 * gdb.guile/Makefile.in: New file.
18783 * gdb.guile/guile.exp: New file.
18784 * gdb.guile/scm-arch.c: New file.
18785 * gdb.guile/scm-arch.exp: New file.
18786 * gdb.guile/scm-block.c: New file.
18787 * gdb.guile/scm-block.exp: New file.
18788 * gdb.guile/scm-breakpoint.c: New file.
18789 * gdb.guile/scm-breakpoint.exp: New file.
18790 * gdb.guile/scm-disasm.c: New file.
18791 * gdb.guile/scm-disasm.exp: New file.
18792 * gdb.guile/scm-equal.c: New file.
18793 * gdb.guile/scm-equal.exp: New file.
18794 * gdb.guile/scm-error.exp: New file.
18795 * gdb.guile/scm-error.scm: New file.
18796 * gdb.guile/scm-frame-args.c: New file.
18797 * gdb.guile/scm-frame-args.exp: New file.
18798 * gdb.guile/scm-frame-args.scm: New file.
18799 * gdb.guile/scm-frame-inline.c: New file.
18800 * gdb.guile/scm-frame-inline.exp: New file.
18801 * gdb.guile/scm-frame.c: New file.
18802 * gdb.guile/scm-frame.exp: New file.
18803 * gdb.guile/scm-generics.exp: New file.
18804 * gdb.guile/scm-gsmob.exp: New file.
18805 * gdb.guile/scm-iterator.c: New file.
18806 * gdb.guile/scm-iterator.exp: New file.
18807 * gdb.guile/scm-math.c: New file.
18808 * gdb.guile/scm-math.exp: New file.
18809 * gdb.guile/scm-objfile-script-gdb.in: New file.
18810 * gdb.guile/scm-objfile-script.c: New file.
18811 * gdb.guile/scm-objfile-script.exp: New file.
18812 * gdb.guile/scm-objfile.c: New file.
18813 * gdb.guile/scm-objfile.exp: New file.
18814 * gdb.guile/scm-ports.exp: New file.
18815 * gdb.guile/scm-pretty-print.c: New file.
18816 * gdb.guile/scm-pretty-print.exp: New file.
18817 * gdb.guile/scm-pretty-print.scm: New file.
18818 * gdb.guile/scm-section-script.c: New file.
18819 * gdb.guile/scm-section-script.exp: New file.
18820 * gdb.guile/scm-section-script.scm: New file.
18821 * gdb.guile/scm-symbol.c: New file.
18822 * gdb.guile/scm-symbol.exp: New file.
18823 * gdb.guile/scm-symtab-2.c: New file.
18824 * gdb.guile/scm-symtab.c: New file.
18825 * gdb.guile/scm-symtab.exp: New file.
18826 * gdb.guile/scm-type.c: New file.
18827 * gdb.guile/scm-type.exp: New file.
18828 * gdb.guile/scm-value-cc.cc: New file.
18829 * gdb.guile/scm-value-cc.exp: New file.
18830 * gdb.guile/scm-value.c: New file.
18831 * gdb.guile/scm-value.exp: New file.
18832 * gdb.guile/source2.scm: New file.
18833 * gdb.guile/types-module.cc: New file.
18834 * gdb.guile/types-module.exp: New file.
18835
18836 2014-02-10 Yao Qi <yao@codesourcery.com>
18837
18838 PR testsuite/16543
18839 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18840 * configure: Regenerated.
18841 * Makefile.in: New file.
18842
18843 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18844
18845 * gdb.python/py-framefilter.exp: Fix typo.
18846
18847 2014-02-08 Yao Qi <yao@codesourcery.com>
18848
18849 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18850 that no =breakpoint-modified is emitted when breakpoints are
18851 modified through MI commands.
18852
18853 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18854 Pedro Alves <palves@redhat.com>
18855
18856 * gdb.threads/step-after-sr-lock.c: New file.
18857 * gdb.threads/step-after-sr-lock.exp: New file.
18858
18859 2014-02-07 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18862
18863 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18864
18865 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18866 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18867
18868 2014-02-06 Doug Evans <xdje42@gmail.com>
18869
18870 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18871 output.
18872
18873 * gdb.gdb/python-interrupts.exp: New file.
18874
18875 2014-02-05 Yao Qi <yao@codesourcery.com>
18876
18877 * gdb.trace/report.exp (use_collected_data): Test the output
18878 of "info threads" and "info inferiors".
18879
18880 2014-02-05 Yao Qi <yao@codesourcery.com>
18881
18882 Revert this patch:
18883
18884 2013-05-24 Yao Qi <yao@codesourcery.com>
18885
18886 * gdb.trace/tfile.exp: Test inferior and thread.
18887
18888 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18889
18890 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18891 on a function.
18892 * gdb.base/step-bt.c: Call hello via function pointer to make
18893 sure its first instruction is executed on powerpc64le-linux.
18894
18895 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18896
18897 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18898
18899 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18900
18901 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18902 of the test patterns for use on little-endian systems.
18903
18904 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18905
18906 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18907 (decimal_vector): Fix for little-endian.
18908
18909 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18910
18911 * gdb.arch/sparc-sysstep.exp: New file.
18912 * gdb.arch/sparc-sysstep.c: Likewise.
18913
18914 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18915
18916 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18917
18918 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18919
18920 2014-01-23 Tom Tromey <tromey@redhat.com>
18921
18922 * gdb.ada/array_char_idx: New testcase.
18923
18924 2014-01-23 Tom Tromey <tromey@redhat.com>
18925
18926 PR python/16487:
18927 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18928 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18929 classes.
18930
18931 2014-01-23 Tom Tromey <tromey@redhat.com>
18932
18933 PR python/16491:
18934 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18935 string from an inferior frame.
18936 * gdb.python/py-framefilter-mi.exp: Update.
18937
18938 2014-01-22 Doug Evans <dje@google.com>
18939
18940 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18941
18942 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18943
18944 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18945
18946 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18947
18948 * gdb.trace/entry-values.exp: Remove excess space character from
18949 regex patterns. Handle s390 call instruction.
18950
18951 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18952
18953 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18954 define "*_start" label. Make "name" static.
18955 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18956 ${name} by references to ${name}_start.
18957
18958 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18959
18960 * gdb.base/info-macros.exp: Remove "debug" from the compile
18961 options.
18962
18963 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18964
18965 * gdb.dlang/demangle.exp: New file.
18966
18967 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18968
18969 * gdb.dlang/primitive-types.exp: New file.
18970
18971 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18972
18973 * configure.ac: Create gdb.dlang/Makefile.
18974 * configure: Regenerate.
18975 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18976 * gdb.dlang/Makefile.in: New file.
18977 * lib/d-support.exp: New file.
18978 * lib/gdb.exp (skip_d_tests): New proc.
18979
18980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18981
18982 * gdb.btrace/delta.exp: Check reverse stepi.
18983 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18984 * gdb.btrace/finish.exp: New.
18985 * gdb.btrace/next.exp: New.
18986 * gdb.btrace/nexti.exp: New.
18987 * gdb.btrace/record_goto.c: Add comments.
18988 * gdb.btrace/step.exp: New.
18989 * gdb.btrace/stepi.exp: New.
18990 * gdb.btrace/multi-thread-step.c: New.
18991 * gdb.btrace/multi-thread-step.exp: New.
18992 * gdb.btrace/rn-dl-bind.c: New.
18993 * gdb.btrace/rn-dl-bind.exp: New.
18994 * gdb.btrace/data.c: New.
18995 * gdb.btrace/data.exp: New.
18996 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18997
18998 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18999
19000 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19001 * gdb.btrace/exception.exp: Update.
19002 * gdb.btrace/instruction_history.exp: Update.
19003 * gdb.btrace/record_goto.exp: Update.
19004 * gdb.btrace/tailcall.exp: Update.
19005 * gdb.btrace/unknown_functions.exp: Update.
19006 * gdb.btrace/delta.exp: New.
19007
19008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19009
19010 * gdb.btrace/record_goto.exp: Add backtrace test.
19011 * gdb.btrace/tailcall.exp: Add backtrace test.
19012
19013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19014
19015 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19016 * gdb.btrace/record_goto.c: New.
19017 * gdb.btrace/record_goto.exp: New.
19018 * gdb.btrace/x86-record_goto.S: New.
19019
19020 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19021
19022 * gdb.btrace/function_call_history.exp: Update tests.
19023 * gdb.btrace/instruction_history.exp: Update tests.
19024
19025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19026
19027 * gdb.btrace/function_call_history.exp: Fix expected field
19028 order for "record function-call-history".
19029 Add new tests for "record function-call-history /c".
19030 * gdb.btrace/exception.cc: New.
19031 * gdb.btrace/exception.exp: New.
19032 * gdb.btrace/tailcall.exp: New.
19033 * gdb.btrace/x86-tailcall.S: New.
19034 * gdb.btrace/x86-tailcall.c: New.
19035 * gdb.btrace/unknown_functions.c: New.
19036 * gdb.btrace/unknown_functions.exp: New.
19037 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19038
19039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19040
19041 * gdb.btrace/instruction_history.exp: Update.
19042 * gdb.btrace/function_call_history.exp: Update.
19043
19044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19045
19046 * gdb.btrace/function_call_history.exp: Fix expected function
19047 trace.
19048 * gdb.btrace/instruction_history.exp: Initialize traced.
19049 Remove traced_functions.
19050
19051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19052
19053 * gdb.btrace/function_call_history.exp: Update
19054 * gdb.btrace/instruction_history.exp: Update.
19055
19056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19057
19058 * gdb.btrace/enable.exp: Update expected text.
19059
19060 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19061
19062 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19063 bytes.
19064
19065 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19066
19067 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19068
19069 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19070
19071 * lib/gdb.exp (supports_process_record): Return true for
19072 arm*-linux*. (supports_reverse): Likewise.
19073
19074 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19075
19076 PR python/15464
19077 PR python/16113
19078 * gdb.python/py-type.c: Enhance test case.
19079 * gdb.python/py-value-cc.cc: Likewise
19080 * gdb.python/py-type.exp: Add new tests.
19081 * gdb.python/py-value-cc.exp: Likewise
19082
19083 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19084 Pedro Alves <palves@redhat.com>
19085
19086 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19087 Make "name" extern.
19088 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19089 references to ${name}_start by references to ${name}.
19090
19091 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19092
19093 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19094
19095 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19096
19097 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19098
19099 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19100 Pedro Alves <palves@redhat.com>
19101
19102 * gdb.mi/mi-info-os.exp: Connect to the target with
19103 mi_gdb_target_load.
19104
19105 2014-01-08 Pedro Alves <palves@redhat.com>
19106
19107 * gdb.threads/reconnect-signal.c: New file.
19108 * gdb.threads/reconnect-signal.exp: New file.
19109
19110 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19111
19112 * gdb.base/source-dir.exp: New file.
19113
19114 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19115
19116 * gdb.ada/mi_interface: New testcase.
19117
19118 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19119
19120 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19121 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19122 gdb.ada/pp-rec-component/pck.ads: New files.
19123
19124 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19125
19126 * gdb.python/py-pp-integral.c: New file.
19127 * gdb.python/py-pp-integral.py: New file.
19128 * gdb.python/py-pp-integral.exp: New file.
19129
19130 For older changes see ChangeLog-1993-2013.
19131 \f
19132 ;; Local Variables:
19133 ;; mode: change-log
19134 ;; left-margin: 8
19135 ;; fill-column: 74
19136 ;; version-control: never
19137 ;; End:
19138
19139 Copyright 2014-2020 Free Software Foundation, Inc.
19140 Copying and distribution of this file, with or without modification,
19141 are permitted provided the copyright notice and this notice are preserved.
This page took 0.637595 seconds and 4 git commands to generate.