gdb, btrace: forward fetch_registers for unknown threads
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/enable-new-thread.c: New test.
4 * gdb.btrace/enable-new-thread.exp: New file.
5
6 2020-04-21 Tom de Vries <tdevries@suse.de>
7
8 PR gdb/25471
9 * gdb.threads/killed-outside.c: New test.
10 * gdb.threads/killed-outside.exp: New file.
11
12 2020-04-20 Gary Benson <gbenson@redhat.com>
13
14 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
15 * gdb.base/nested-subp2.exp: Likewise.
16 * gdb.base/nested-subp3.exp: Likewise.
17
18 2020-04-20 Gary Benson <gbenson@redhat.com>
19
20 * gdb.base/nested-subp1.exp: Disable test when using clang.
21 * gdb.base/nested-subp2.exp: Likewise.
22 * gdb.base/nested-subp3.exp: Likewise.
23
24 2020-04-20 Gary Benson <gbenson@redhat.com>
25
26 * gdb.cp/exception.cc: Fix compilation error with clang.
27
28 2020-04-20 Gary Benson <gbenson@redhat.com>
29
30 * gdb.trace/tspeed.c: Fix compilation error with clang.
31
32 2020-04-20 Gary Benson <gbenson@redhat.com>
33
34 * gdb.base/jit-main.c: Fix compilation error with clang.
35
36 2020-04-17 Kamil Rytarowski <n54@gmx.com>
37
38 * gdb.base/attach-twice.c: Include "sys/types.h".
39 (PTRACE_ATTACH): Add fallback definition.
40 (main): Pass `0' to the 4th argument of `ptrace'.
41
42 2020-04-17 Kamil Rytarowski <n54@gmx.com>
43
44 * gdb.base/fork-running-state.c: Include "signal.h".
45
46 2020-04-17 Tom Tromey <tromey@adacore.com>
47
48 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
49 Update tests.
50 * gdb.btrace/cpu.exp: Update tests.
51 * gdb.base/maint.exp: Update tests.
52 * gdb.base/default.exp: Update tests.
53 * gdb.base/completion.exp: Update tests.
54
55 2020-04-16 Tom de Vries <tdevries@suse.de>
56
57 PR symtab/25791
58 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
59 (ensure_gdb_index): and factor out and move ...
60 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
61 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
62
63 2020-04-16 Tom de Vries <tdevries@suse.de>
64
65 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
66 loading exec.
67
68 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
69
70 * gdb.base/many-completions.exp: New file.
71
72 2020-04-14 Tom de Vries <tdevries@suse.de>
73
74 PR symtab/25718
75 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
76
77 2020-04-14 Tom de Vries <tdevries@suse.de>
78
79 PR symtab/25720
80 * gdb.base/maint-expand-symbols-header-file.c: New test.
81 * gdb.base/maint-expand-symbols-header-file.exp: New file.
82 * gdb.base/maint-expand-symbols-header-file.h: New test.
83
84 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
85
86 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
87 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
88 get_func_info.
89 (get_func_info): Delete.
90 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
91 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
92 * lib/dwarf.exp (get_func_info): New function.
93
94 2020-04-13 Tom de Vries <tdevries@suse.de>
95
96 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
97 to what find_gnatmake does.
98
99 2020-04-10 Tom de Vries <tdevries@suse.de>
100
101 * gdb.base/style.exp: Expect "Expanding full symbols" message for
102 -readnow.
103
104 2020-04-10 Tom de Vries <tdevries@suse.de>
105
106 PR cli/25808
107 * gdb.base/style.c: Add leading newlines.
108 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
109 Check listing of main's one-line body.
110
111 2020-04-08 Tom de Vries <tdevries@suse.de>
112
113 * lib/gdb.exp (psymtabs_p): New proc.
114 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
115 importing unit" unsupported if there are no partial symbols.
116
117 2020-04-08 Tom de Vries <tdevries@suse.de>
118
119 PR testsuite/25760
120 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
121
122 2020-04-07 Tom de Vries <tdevries@suse.de>
123
124 PR symtab/25796
125 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
126
127 2020-04-07 Tom de Vries <tdevries@suse.de>
128
129 * gdb.base/check-psymtab.c: New test.
130 * gdb.base/check-psymtab.exp: New file.
131
132 2020-04-06 Tom Tromey <tromey@adacore.com>
133
134 * gdb.ada/variant-record/proc.adb: New file.
135 * gdb.ada/variant-record/value.adb: New file.
136 * gdb.ada/variant-record/value.s: New file.
137 * gdb.ada/variant-record.exp: New file.
138
139 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
140
141 PR gdb/25325
142 * gdb.cp/typed-enum.cc: New test.
143 * gdb.cp/typed-enum.exp: New file.
144
145 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
148 * gdb.dwarf2/dw2-inline-small-func.c: New file.
149 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
150 * gdb.dwarf2/dw2-inline-small-func.h: New file.
151 * gdb.opt/inline-small-func.c: New file.
152 * gdb.opt/inline-small-func.exp: New file.
153 * gdb.opt/inline-small-func.h: New file.
154
155 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
158 function.
159
160 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * lib/dwarf.exp (function_range): Allow compiler options to be
163 specified.
164
165 2020-04-02 Tom de Vries <tdevries@suse.de>
166
167 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
168 __attribute__((always_inline)).
169 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
170
171 2020-04-02 Tom de Vries <tdevries@suse.de>
172
173 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
174 (gdbserver_gdb_exit): ... here. Add timeout warning.
175 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
176 (connect_target_extended_remote): Append new server_spawn_id to
177 server_spawn_ids.
178 (cleanup): New proc.
179 (setup, <toplevel>): Call cleanup.
180
181 2020-04-02 Tom de Vries <tdevries@suse.de>
182
183 * gdb.base/main-psymtab.exp: New file.
184
185 2020-04-02 Tom de Vries <tdevries@suse.de>
186
187 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
188
189 2020-04-01 Tom Tromey <tom@tromey.com>
190
191 * gdb.base/complex-parts.exp: Add type tests.
192
193 2020-04-01 Tom Tromey <tom@tromey.com>
194
195 * gdb.base/complex-parts.exp: Add arithmetic tests.
196
197 2020-04-01 Tom Tromey <tom@tromey.com>
198
199 * gdb.compile/compile.exp: Update.
200 * gdb.compile/compile-cplus.exp: Update.
201 * gdb.base/varargs.exp: Update.
202 * gdb.base/floatn.exp: Update.
203 * gdb.base/endianity.exp: Update.
204 * gdb.base/callfuncs.exp (do_function_calls): Update.
205 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
206 (complex_float_integral_args): Update.
207 * gdb.base/complex.exp: Update.
208 * gdb.base/complex-parts.exp: Update.
209
210 2020-04-01 Tom Tromey <tromey@adacore.com>
211
212 * gdb.rust/union.rs: New file.
213 * gdb.rust/union.exp: New file.
214 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
215 (main): Update.
216 * gdb.rust/simple.exp: Move union tests to union.exp.
217
218 2020-04-01 Tom Tromey <tromey@adacore.com>
219
220 * gdb.rust/simple.rs (main): Remove "y0".
221
222 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
223
224 * gdb.multi/stop-all-on-exit.c: New test.
225 * gdb.multi/stop-all-on-exit.exp: New file.
226
227 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
228
229 PR gdb/24789
230 * gdb.cp/misc.cc: Add integer reference variable.
231 * gdb.cp/misc.exp: Add test.
232
233 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
234
235 * gdb.server/stop-reply-no-thread.exp: Enhance the test
236 scenario to cover execution until the end and also the case
237
238 2020-03-31 Tom de Vries <tdevries@suse.de>
239
240 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
241 c. Use "maint info symtabs" to check symtab expansion.
242
243 2020-03-30 Tom de Vries <tdevries@suse.de>
244
245 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
246 unsupported.
247 (verify_psymtab_expanded): Move ...
248 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
249 test.
250 (readnow): New proc.
251
252 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
255 with $hex.
256
257 2020-03-20 Tom Tromey <tromey@adacore.com>
258
259 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
260
261 2020-03-20 Tom Tromey <tromey@adacore.com>
262
263 * gdb.ada/sub_variant/subv.adb: New file.
264 * gdb.ada/sub_variant.exp: New file.
265
266 2020-03-20 Tom de Vries <tdevries@suse.de>
267
268 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
269 first break fails.
270 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
271
272 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.server/exit-multiple-threads.c: New file.
275 * gdb.server/exit-multiple-threads.exp: New file.
276
277 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.fortran/mixed-lang-stack.c: New file.
280 * gdb.fortran/mixed-lang-stack.cpp: New file.
281 * gdb.fortran/mixed-lang-stack.exp: New file.
282 * gdb.fortran/mixed-lang-stack.f90: New file.
283
284 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.linespec/cp-completion-aliases.cc: New file.
287 * gdb.linespec/cp-completion-aliases.exp: New file.
288
289 2020-03-19 Tom de Vries <tdevries@suse.de>
290
291 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
292 more precise.
293
294 2020-03-18 Tom de Vries <tdevries@suse.de>
295
296 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
297 * gdb.dwarf2/break-inline-psymtab.c: New test.
298 * gdb.dwarf2/break-inline-psymtab.exp: New file.
299
300 2020-03-16 Tom de Vries <tdevries@suse.de>
301
302 * lib/cache.exp (gdb_do_cache): Add and handle local variables
303 cache_verify and cache_verify_proc.
304
305 2020-03-15 Tom de Vries <tdevries@suse.de>
306
307 * gdb.server/solib-list.exp: Handle
308 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
309
310 2020-03-15 Tom de Vries <tdevries@suse.de>
311
312 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
313 objfiles".
314
315 2020-03-14 Tom Tromey <tom@tromey.com>
316
317 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
318
319 2020-03-14 Tom de Vries <tdevries@suse.de>
320
321 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
322
323 2020-03-14 Tom de Vries <tdevries@suse.de>
324
325 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
326 result in line-by-line fashion.
327
328 2020-03-14 Tom de Vries <tdevries@suse.de>
329
330 * lib/gdb.exp (supports_statement_frontiers): New proc.
331 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
332
333 2020-03-14 Tom de Vries <tdevries@suse.de>
334
335 * gdb.base/printcmds.exp: Add missing quoting for "print
336 teststring2".
337
338 2020-03-13 Tom Tromey <tom@tromey.com>
339
340 * gdb.base/printcmds.exp (test_print_strings): Add regression
341 test.
342 * gdb.base/printcmds.c (charptr): New typedef.
343 (teststring2): New global.
344
345 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * gdb.base/break-interp.exp: Use the tail of the filename, not the
348 full path in the test name.
349 (test_ld): Add some with_test_prefix blocks to make test names
350 unique.
351
352 2020-03-13 Tom de Vries <tdevries@suse.de>
353
354 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
355
356 2020-03-13 Tom de Vries <tdevries@suse.de>
357
358 * gdb.mi/mi-sym-info.exp: Make matching more precise.
359
360 2020-03-13 Tom de Vries <tdevries@suse.de>
361
362 PR symtab/25646
363 * gdb.dwarf2/imported-unit.exp: Add test.
364
365 2020-03-13 Tom de Vries <tdevries@suse.de>
366
367 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
368 (var1, var2): New variable.
369 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
370 matching symbols.
371
372 2020-03-13 Tom de Vries <tdevries@suse.de>
373
374 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
375 (Term::command): Use prompt prefix.
376 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
377 * gdb.tui/tui-layout-asm-short-prog.exp: Use
378 command_no_prompt_prefix instead of prefix.
379 * gdb.tui/tui-layout-asm.exp: Same.
380
381 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
382
383 * gdb.base/break-interp.exp: Use foreach_with_prefix.
384
385 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
386
387 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
388 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
389 on" while stepping over the test instruction, match printed
390 message.
391
392 2020-03-12 Tom de Vries <tdevries@suse.de>
393
394 * gdb.base/info-types.exp: Use exp_continue during matching of output
395 of "info types".
396
397 2020-03-12 Tom de Vries <tdevries@suse.de>
398
399 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
400
401 2020-03-12 Tom de Vries <tdevries@suse.de>
402
403 * gdb.fortran/module.exp: Use exp_continue during matching of output
404 of "info variable -n".
405
406 2020-03-12 Tom de Vries <tdevries@suse.de>
407
408 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
409 gdb.dwarf2/dw2-ranges-base.c.
410
411 2020-03-12 Tom de Vries <tdevries@suse.de>
412
413 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
414 in presence of GLIBC debuginfo.
415
416 2020-03-12 Tom de Vries <tdevries@suse.de>
417
418 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
419 $core.
420
421 2020-03-12 Tom de Vries <tdevries@suse.de>
422
423 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
424 more precise.
425
426 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
427
428 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
429 from Unix to Windows path.
430
431 2020-03-11 Tom de Vries <tdevries@suse.de>
432
433 * gdb.ada/minsyms.exp: Set language to ada.
434
435 2020-03-11 Tom de Vries <tdevries@suse.de>
436
437 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
438
439 2020-03-11 Tom de Vries <tdevries@suse.de>
440
441 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
442
443 2020-03-11 Tom Tromey <tromey@adacore.com>
444
445 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
446
447 2020-03-11 Tom de Vries <tdevries@suse.de>
448
449 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
450
451 2020-03-11 Tom de Vries <tdevries@suse.de>
452
453 * gdb.base/break-interp.exp: Limit verbose scope.
454
455 2020-03-11 Tom de Vries <tdevries@suse.de>
456
457 * gdb.fortran/logical.f90: Define variable with character type.
458 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
459
460 2020-03-11 Tom de Vries <tdevries@suse.de>
461
462 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
463
464 2020-03-11 Tom de Vries <tdevries@suse.de>
465
466 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
467 symtabs.
468
469 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
470 Bernd Edlinger <bernd.edlinger@hotmail.de>
471
472 * gdb.cp/step-and-next-inline.cc: New file.
473 * gdb.cp/step-and-next-inline.exp: New file.
474 * gdb.cp/step-and-next-inline.h: New file.
475 * gdb.dwarf2/dw2-is-stmt.c: New file.
476 * gdb.dwarf2/dw2-is-stmt.exp: New file.
477 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
478 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
479 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
480
481 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
482
483 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
484 is-stmt flag in the line table.
485
486 2020-03-09 Tom de Vries <tdevries@suse.de>
487
488 * lib/gdb.exp (cached_file): Create cache dir.
489
490 2020-03-07 Tom de Vries <tdevries@suse.de>
491
492 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
493 * gdb.cp/rvalue-ref-params.exp: Same.
494
495 2020-03-06 Tom de Vries <tdevries@suse.de>
496
497 * lib/gdb.exp (tentative_rename, cached_file): New proc.
498 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
499
500 2020-03-06 Tom de Vries <tdevries@suse.de>
501
502 * README: Fix "the the".
503 * gdb.base/dprintf.exp: Same.
504
505 2020-03-05 Tom de Vries <tdevries@suse.de>
506
507 * gdb.base/maint.exp: Update "main print statistics" expected output.
508
509 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
510
511 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
512 (fortran_int8): Likewise.
513 (fortran_real4): Likewise.
514 (fortran_real8): Likewise.
515 (fortran_complex4): Likewise.
516 (fortran_logical4): Likewise.
517 (fortran_character1): Likewise.
518
519 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * gdb.fortran/logical.exp: Add tests that any non-zero value is
522 printed as true.
523
524 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
525
526 * gdb.base/printcmds.exp: Add test to verify printf of a
527 variable holding an address.
528
529 2020-03-03 Tom de Vries <tdevries@suse.de>
530
531 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
532
533 2020-03-03 Tom de Vries <tdevries@suse.de>
534
535 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
536 gdb_test_multiple call.
537
538 2020-03-03 Tom de Vries <tdevries@suse.de>
539
540 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
541 gdb_test_multiple calls.
542
543 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
544
545 * gdb.base/default.exp: Remove test of 'set history filename'.
546 * gdb.base/gdbinit-history.exp: Add tests for setting the history
547 filename to the empty string.
548 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
549 and GDBHISTSIZE.
550
551 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
554 disabled.
555
556 2020-03-02 Pedro Alves <palves@redhat.com>
557 Tom de Vries <tdevries@suse.de>
558
559 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
560 -prompt prefix, before user_code argument. Add -lbl option likewise.
561 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
562 (gdb_is_target_1): Add -prompt prefix and move to before user_code
563 argument.
564 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
565 have "\r\n" at start-of-line, instead of at end-of-line.
566
567 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
568
569 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
570 libinproctrace.so.
571
572 2020-02-28 Luis Machado <luis.machado@linaro.org>
573
574 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
575 to "p/x".
576
577 2020-02-28 Luis Machado <luis.machado@linaro.org>
578
579 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
580 asm/ptrace.h and error.h.
581
582 2020-02-28 Tom de Vries <tdevries@suse.de>
583
584 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
585 (struct wrapper, do_something, mundane/symada__cS): Move ...
586 * gdb.base/c-linkage-name-2.c: ... here. New source file.
587 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
588 Update "print symada__cS before partial symtab expansion" regexp.
589 Update breakpoint location. Flush symbol cache after expansion.
590
591 2020-02-28 Luis Machado <luis.machado@linaro.org>
592
593 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
594
595 2020-02-27 Tom de Vries <tdevries@suse.de>
596
597 * config/sid.exp: Remove unused globals.
598 * gdb.base/attach.exp: Same.
599 * gdb.base/catch-load.exp: Same.
600 * gdb.base/dbx.exp: Same.
601 * lib/gdb.exp: Same.
602 * lib/mi-support.exp: Same.
603 * lib/prompt.exp: Same.
604
605 2020-02-27 Tom de Vries <tdevries@suse.de>
606
607 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
608 not set.
609
610 2020-02-26 Aaron Merey <amerey@redhat.com>
611
612 * gdb.debuginfod: New directory for debuginfod tests.
613 * gdb.debuginfod/main.c: New test file.
614 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
615
616 2020-02-26 Tom de Vries <tdevries@suse.de>
617
618 PR gdb/25603
619 * gdb.base/persistent-lang.cc: New test.
620 * gdb.base/persistent-lang.exp: New file.
621
622 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
623
624 * gdb.fortran/derived-type-striding.exp: Add a new test.
625 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
626 new test.
627
628 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
629
630 * gdb.base/cached-source-file.exp: Avoid source file paths in test
631 names.
632
633 2020-02-25 Tom de Vries <tdevries@suse.de>
634
635 PR go/18926
636 * gdb.go/methods.exp: Remove gcc/93866 xfail.
637
638 2020-02-24 Tom de Vries <tdevries@suse.de>
639
640 PR gdb/25592
641 * gdb.base/info-locals-unused-static-var.c: New test.
642 * gdb.base/info-locals-unused-static-var.exp: New file.
643
644 2020-02-22 Tom Tromey <tom@tromey.com>
645
646 * gdb.python/tui-window.exp: New file.
647 * gdb.python/tui-window.py: New file.
648
649 2020-02-22 Tom Tromey <tom@tromey.com>
650
651 PR tui/17850:
652 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
653 tests.
654
655 2020-02-22 Tom Tromey <tom@tromey.com>
656
657 * gdb.tui/new-layout.exp: Add sub-layout tests.
658
659 2020-02-22 Tom Tromey <tom@tromey.com>
660
661 * gdb.tui/new-layout.exp: New file.
662
663 2020-02-22 Tom Tromey <tom@tromey.com>
664
665 * gdb.rust/rust-style.rs: New file.
666 * gdb.rust/rust-style.exp: New file.
667 * gdb.base/style.exp: Test structure printing.
668 * gdb.base/style.c (struct some_struct): New type.
669 (enum etype): New type.
670 (struct_value): New global.
671
672 2020-02-21 Tom de Vries <tdevries@suse.de>
673
674 PR go/18926
675 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
676 Remove blanket xfails. Use message argument for gdb_breakpoint.
677 Make continuing to breakpoint test conditional on setting breakpoint.
678 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
679 DW_AT_name attribute. Add xfail for GCC PR93866.
680
681 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
682
683 * gdb.dwarf2/cpp-linkage-name.c: New file.
684 * gdb.dwarf2/cpp-linkage-name.exp: New file.
685
686 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
687
688 * lib/gdb.exp (gdb_wrapper_init): Reset
689 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
690 not exist.
691
692 2020-02-20 Tom de Vries <tdevries@suse.de>
693
694 PR go/17018
695 * gdb.go/hello.exp: Copy ...
696 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
697 print of st to print value of global definition. Add xfail for GCC
698 PR93844.
699 * gdb.go/hello.exp: Remove printing of st before definition.
700 * gdb.go/hello.go: Copy ...
701 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
702 to st.
703 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
704
705 2020-02-20 Tom de Vries <tdevries@suse.de>
706
707 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
708 (gdb_simple_compile): Handle compile_flags go by using .go extension
709 for source file.
710 * gdb.go/chan.exp: Use support_go_compile.
711 * gdb.go/handcall.exp: Same.
712 * gdb.go/hello.exp: Same.
713 * gdb.go/integers.exp: Same.
714 * gdb.go/max-depth.exp: Same.
715 * gdb.go/methods.exp: Same.
716 * gdb.go/package.exp: Same.
717 * gdb.go/strings.exp: Same.
718 * gdb.go/types.exp: Same.
719 * gdb.go/unsafe.exp: Same.
720
721 2020-02-19 Tom de Vries <tdevries@suse.de>
722
723 * gdb.python/lib-types.exp: Make xfail more strict.
724
725 2020-02-19 Tom de Vries <tdevries@suse.de>
726
727 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
728
729 2020-02-19 Doug Evans <dje@google.com>
730
731 PR rust/25535
732 * gdb.rust/simple.exp: Add test.
733 * gdb.rust/simple.rs: Add test.
734
735 2020-02-19 Tom de Vries <tdevries@suse.de>
736
737 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
738 output line-by-line.
739
740 2020-02-19 Tom de Vries <tdevries@suse.de>
741
742 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
743
744 2020-02-19 Tom de Vries <tdevries@suse.de>
745
746 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
747 prelink.
748
749 2020-02-19 Tom de Vries <tdevries@suse.de>
750
751 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
752 (gdb_do_cache): Use gdb_do_cache_wrap.
753 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
754
755 2020-02-19 Tom de Vries <tdevries@suse.de>
756
757 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
758 gdb_compile option.
759
760 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
761
762 * gdb.base/printcmds.exp (test_print_enums): Update expected
763 output.
764
765 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
766
767 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
768 for "unknown".
769
770 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
771
772 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
773 enumerator.
774
775 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
776
777 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
778 FE_, add FE_NONE.
779 (three): Update.
780 (enum flag_enum_without_zero): New enum.
781 (flag_enum_without_zero): New variable.
782 (enum not_flag_enum): New enum.
783 (three_not_flag): New variable.
784 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
785 (test_print_enums): Add more tests for printing flag enums.
786
787 2020-02-18 Tom de Vries <tdevries@suse.de>
788
789 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
790 (gdb_compile_ada): ... here.
791 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
792 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
793
794 2020-02-14 Tom Tromey <tom@tromey.com>
795
796 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
797 build directory.
798 * boards/gdbserver-base.exp: Update path to gdbserver.
799
800 2020-02-13 Tom de Vries <tdevries@suse.de>
801
802 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
803
804 2020-02-13 Tom de Vries <tdevries@suse.de>
805
806 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
807 are missing.
808
809 2020-02-13 Tom de Vries <tdevries@suse.de>
810
811 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
812 call.
813
814 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
815
816 PR tui/25126
817 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
818 * gdb.base/cached-source-file.c: New file.
819 * gdb.base/cached-source-file.exp: New file.
820
821 2020-02-11 Tom de Vries <tdevries@suse.de>
822
823 PR testsuite/25488
824 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
825
826 2020-02-10 Tom de Vries <tdevries@suse.de>
827
828 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
829
830 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
831
832 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
833 and $after_addr are both integers before making a comparison.
834
835 2020-02-09 Tom de Vries <tdevries@suse.de>
836
837 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
838 command output and paste it into gdb.log. If any, paste catch message
839 to gdb.log.
840
841 2020-02-07 Tom Tromey <tromey@adacore.com>
842
843 PR breakpoints/24915:
844 * gdb.base/annotate-symlink.exp: Use setup_xfail.
845
846 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
847
848 * gdb.tui/tui-missing-src.exp: Add the "missing source
849 file" test for the TUI.
850
851 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
854 including a port number in the output.
855
856 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
857
858 * lib/fortran.exp (fortran_int4): Handle clang.
859 (fortran_int8): Likewise.
860 (fortran_real4): Likewise.
861 (fortran_real8): Likewise.
862 (fortran_complex4): Likewise.
863 (fortran_logical4): Likewise.
864 (fortran_character1): Likewise.
865
866 2020-02-04 Tom de Vries <tdevries@suse.de>
867
868 * README (Race detection): Add note.
869
870 2020-02-04 Tom de Vries <tdevries@suse.de>
871
872 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
873
874 2020-02-04 Tom de Vries <tdevries@suse.de>
875
876 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
877
878 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
879
880 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
881 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
882 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
883 blttar, bnetarl.
884 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
885 binary for blttar, bnetarl.
886 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
887 wait instruction. Delete ldmx test.
888 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
889
890 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
891
892 * gdb.fortran/array-bounds-high.exp: New file.
893 * gdb.fortran/array-bounds-high.f90: New file.
894
895 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
896
897 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
898 Replace #include of <sys/fcntl.h> by <fcntl.h>.
899
900 2020-02-01 Tom de Vries <tdevries@suse.de>
901
902 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
903
904 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 PR tui/9765
907 * gdb.tui/tui-layout-asm-short-prog.S: New file.
908 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
909
910 2020-01-29 Luis Machado <luis.machado@linaro.org>
911
912 * gdb.arch/aarch64-brk-patterns.c: New source file.
913 * gdb.arch/aarch64-brk-patterns.exp: New test.
914
915 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
916
917 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
918 GCC/Clang version.
919 * gdb.cp/pass-by-ref.exp: Ditto.
920
921 2020-01-29 Tom de Vries <tdevries@suse.de>
922
923 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
924 * gdb.threads/watchpoint-fork-mt.c: Same.
925 * gdb.threads/watchpoint-fork-parent.c: Same.
926 * gdb.threads/watchpoint-fork-st.c: Same.
927 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
928
929 2020-01-27 Luis Machado <luis.machado@linaro.org>
930
931 * gdb.base/step-over-syscall.exp (setup): Check if we're already
932 sitting at a syscall instruction when we hit the syscall function's
933 breakpoint.
934 Check PC against one obtained with the x command.
935 Validate syscall number.
936 (step_over_syscall): Don't continue to the syscall instruction if
937 we're already there.
938
939 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
940
941 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
942
943 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
944
945 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
946 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
947
948 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 * gdb.dwarf2/dw2-inline-stepping.c: New file.
951 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
952
953 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.base/maint.exp: Update line table parsing test.
956 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
957
958 2020-01-24 Pedro Alves <palves@redhat.com>
959
960 PR gdb/25410
961 * gdb.multi/multi-re-run-1.c: New.
962 * gdb.multi/multi-re-run-2.c: New.
963 * gdb.multi/multi-re-run.exp: New.
964
965 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 PR gdb/23718
968 * gdb.server/server-kill-python.exp: New file.
969
970 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * gdb.server/multi-ui-errors.c: New file.
973 * gdb.server/multi-ui-errors.exp: New file.
974
975 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 PR tui/9765
978 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
979
980 2020-01-19 Tom Tromey <tom@tromey.com>
981
982 * gdb.tui/main.exp: Add check for plain "file".
983
984 2020-01-16 Christian Biesinger <cbiesinger@google.com>
985
986 * lib/gdb.exp: Fix spelling error (seperatelly).
987
988 2020-01-14 Tom Tromey <tom@tromey.com>
989
990 PR symtab/12535:
991 * gdb.python/python.exp: Test decode_line with empty string
992 argument.
993
994 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
995
996 * gdb.base/skip-inline.exp: Extend test.
997
998 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
999
1000 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1001 * gdb.dwarf2/dw2-bad-elf.c: New file.
1002 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1003
1004 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1005
1006 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1007 _line_saw_file.
1008
1009 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1010
1011 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1012 border.
1013
1014 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1015
1016 * gdb.multi/multi-target.exp (setup): Factor out "info
1017 connections" and "info inferiors" tests to ...
1018 (test_info_inferiors): ... this new procedure.
1019 (top level): Run new "info-inferiors" tests.
1020
1021 2020-01-10 Pedro Alves <palves@redhat.com>
1022
1023 * gdb.server/bkpt-other-inferior.exp: New file.
1024
1025 2020-01-10 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1028 of "add-inferior".
1029 * gdb.base/quit-live.exp: Likewise.
1030 * gdb.base/remote-exec-file.exp: Likewise.
1031 * gdb.guile/scm-progspace.exp: Likewise.
1032 * gdb.linespec/linespec.exp: Likewise.
1033 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1034 * gdb.mi/user-selected-context-sync.exp: Likewise.
1035 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1036 "info inferiors" tests.
1037 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1038 "add-inferior".
1039 * gdb.multi/watchpoint-multi.exp: Likewise.
1040 * gdb.python/py-inferior.exp: Likewise.
1041 * gdb.server/extended-remote-restart.exp: Likewise.
1042 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1043 "info inferiors".
1044 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1045 * gdb.trace/report.exp: Likewise.
1046
1047 2020-01-10 Pedro Alves <palves@redhat.com>
1048
1049 * gdb.multi/multi-target.c: New file.
1050 * gdb.multi/multi-target.exp: New file.
1051 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1052 mode requested, but remote does not support non-stop".
1053
1054 2020-01-10 Pedro Alves <palves@redhat.com>
1055
1056 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1057 disconnect before reconnecting.
1058
1059 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1060 Pedro Alves <palves@redhat.com>
1061
1062 * gdb.server/connect-without-multi-process.exp: Also test
1063 continuing to end.
1064
1065 2020-01-10 Pedro Alves <palves@redhat.com>
1066
1067 * gdb.base/remote-exec-file.exp: New file.
1068
1069 2020-01-10 Pedro Alves <palves@redhat.com>
1070
1071 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1072 output.
1073 * gdb.threads/async.c: New.
1074 * gdb.threads/async.exp: New.
1075 * gdb.multi/tids-gid-reset.c: New.
1076 * gdb.multi/tids-gid-reset.exp: New.
1077
1078 2020-01-10 George Barrett <bob@bob131.so>
1079
1080 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1081 to help in finding the image relocation offset.
1082 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1083 options in arguments.
1084 (stap_test_no_debuginfo): Likewise.
1085 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1086 test variants.
1087 (stap_test): Add null semaphore relocation test.
1088
1089 2020-01-10 George Barrett <bob@bob131.so>
1090
1091 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1092 * gdb.base/stap-probe.exp: Likewise.
1093 (stap_test): Pass argument as an additional flag.
1094 (stap_test_no_debuginfo): Likewise.
1095 (stap_test): Check `info probes stap' output for semaphore
1096 addresses if the test binary is supposed to have them.
1097
1098 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1099
1100 * gdb.tui/basic.exp: Add more scrolling tests.
1101
1102 2020-01-09 Tom Tromey <tom@tromey.com>
1103
1104 PR tui/18932:
1105 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1106 meangingful value.
1107 (Term::command, Term::resize): Update.
1108 * gdb.tui/basic.exp: Add scrolling test.
1109
1110 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.tui/tui-layout-asm.exp: New file.
1113
1114 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1117
1118 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1119
1120 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1121 (Term::enter_tui): Use Term::prepare_for_tui.
1122
1123 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1124
1125 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1126 called.
1127
1128 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1129
1130 * gdb.base/skip.exp: Fix race condition in test.
1131
1132 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1133
1134 * gdb.base/backtrace.c: New file.
1135 * gdb.base/backtrace.exp: New file.
1136
1137 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1138
1139 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1140
1141 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1142
1143 * gdb.base/style.exp: Test that warnings are styled.
1144
1145 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1146
1147 * gdb.base/line65535.exp: New file.
1148 * gdb.base/line65535.c: New file.
1149
1150 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1151
1152 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1153 * lib/gnat_debug_info_test.adb: New file.
1154 * gdb.ada/ptype_tagged_param.exp: Use
1155 gnat_runtime_has_debug_info, expect a different output if
1156 runtime does not have debug info.
1157
1158 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1159
1160 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1161 (another) quote in test name.
1162
1163 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1164
1165 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1166 Add quote in test name.
1167
1168 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1169
1170 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1171 directory instead.
1172 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1173 * gdb.cp/pass-by-ref-2.cc: New file.
1174 * gdb.cp/pass-by-ref-2.exp: New file.
1175
1176 2019-12-20 Tom Tromey <tom@tromey.com>
1177
1178 * gdb.tui/list-before.exp: New file.
1179
1180 2019-12-20 Tom Tromey <tom@tromey.com>
1181
1182 * gdb.tui/list.exp: Check for source on initial listing.
1183
1184 2019-12-11 Tom Tromey <tromey@adacore.com>
1185
1186 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1187 Add crlf test.
1188
1189 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1190
1191 * gdb.base/default.exp: Update value of $_gdb_major.
1192
1193 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1194
1195 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1196
1197 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1198
1199 * gdb.base/skip.exp: Whitespace fix.
1200
1201 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1202
1203 * gdb.base/skip-inline.c: New file.
1204 * gdb.base/skip-inline.exp: New file.
1205
1206 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1207
1208 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1209 jit_function_00 to jit_function_stack_mangle.
1210 * gdb.base/jithost.c (jit_function_t): Rename to...
1211 (jit_function_stack_mangle_t): ... this.
1212 (jit_function_add_t): New typedef.
1213 (jit_function_00_code): Rename to...
1214 (jit_function_stack_mangle_code): ... this, make static.
1215 (jit_function_add_code): New.
1216 (main): Generate "add" function and call it. Adjust to changes
1217 in jithost_abi.
1218 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1219 (struct jithost_abi) <begin, end>: Remove fields.
1220 <object, function_stack_mangle, function_add>: New fields.
1221 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1222 code_end>: Remove fields.
1223 <func_stack_mangle>: New field.
1224 (read_debug_info): Adjust to renaming, create block for "add"
1225 function.
1226 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1227
1228 2019-12-11 Tom Tromey <tom@tromey.com>
1229
1230 * gdb.tui/resize.exp: Fix regexp.
1231 * gdb.tui/regs.exp: Fix regexps.
1232 * gdb.tui/main.exp: Fix regexp.
1233
1234 2019-12-11 Tom Tromey <tom@tromey.com>
1235
1236 * gdb.tui/resize.exp: Update.
1237 * gdb.tui/empty.exp (layouts): Update.
1238
1239 2019-12-11 Tom Tromey <tom@tromey.com>
1240
1241 * gdb.tui/regs.exp: Update.
1242 * gdb.tui/empty.exp (layouts): Update.
1243 * gdb.tui/basic.exp: Update.
1244 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1245
1246 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1247
1248 * gdb.base/options.exp: Add -raw-values in the print completion list.
1249 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1250
1251 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1252
1253 * gdb.threads/omp-par-scope.c: New file.
1254 * gdb/threads/omp-par-scope.exp: New file.
1255
1256 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1257
1258 * lib/gdb.exp (support_nested_function_tests): New proc.
1259
1260 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1261
1262 * lib/gdb.exp (gdb_compile_openmp): New proc.
1263 (build_executable_from_specs): Add an "openmp" option.
1264 (gdb_compile_pthreads): Add non-executable case.
1265
1266 2019-12-10 Tom Tromey <tromey@adacore.com>
1267
1268 * gdb.ada/unchecked_union.exp: New file.
1269 * gdb.ada/unchecked_union/pck.adb: New file.
1270 * gdb.ada/unchecked_union/pck.ads: New file.
1271 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1272 * gdb-utils.exp (string_to_regexp): Also quote "?".
1273
1274 2019-12-10 George Barrett <bob@bob131.so>
1275
1276 Test scripted probe breakpoints.
1277 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1278 * gdb.python/py-breakpoint.c (main): Likewise.
1279 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1280 specifier test.
1281 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1282
1283 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1284
1285 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1286 an rvalue parameter.
1287 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1288 parameter.
1289
1290 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1291
1292 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1293 modules.
1294
1295 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1296
1297 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1298 broken version of GCC.
1299
1300 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1301
1302 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1303 sym-info-cmds library.
1304 * gdb.fortran/info-types.exp: Likewise.
1305 * lib/sym-info-cmds.exp: New file.
1306
1307 2019-12-08 Tom de Vries <tdevries@suse.de>
1308
1309 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1310
1311 2019-12-07 Keith Seitz <keiths@redhat.com>
1312
1313 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1314 * gdb.base/corefile-buildid-shlib.c: New file.
1315 * gdb.base/corefile-buildid.c: New file.
1316 * gdb.base/corefile-buildid.exp: New file.
1317
1318 2019-12-06 Tom de Vries <tdevries@suse.de>
1319
1320 * gdb.dwarf2/varval.exp: Add decl before def test.
1321
1322 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1323
1324 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1325
1326 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1327
1328 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1329 CV and reference conversion for overload resolution.
1330 * gdb.cp/rvalue-ref-overload.exp: Test it.
1331
1332 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1333
1334 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1335 * gdb.base/frameapply.exp: Test faas without command.
1336
1337 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1338
1339 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1340 Fortran tests.
1341 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1342 order.
1343
1344 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1345
1346 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1347 casting to type with no kind specified.
1348 (test_basic_parsing_of_type_kinds): Additional tests for types
1349 with no kind specified, and add tests for single/double
1350 precision/complex types.
1351
1352 2019-12-04 Tom Tromey <tromey@adacore.com>
1353
1354 * gdb.base/endianity.c (struct other) <x>: New field.
1355 (main): Initialize it.
1356 * gdb.base/endianity.exp: Update.
1357
1358 2019-12-04 Tom Tromey <tromey@adacore.com>
1359
1360 * gdb.ada/scalar_storage/storage.adb: New file.
1361 * gdb.ada/scalar_storage/pck.adb: New file.
1362 * gdb.ada/scalar_storage/pck.ads: New file.
1363 * gdb.ada/scalar_storage.exp: New file.
1364
1365 2019-12-04 Tom Tromey <tromey@adacore.com>
1366
1367 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1368 (main): Initialize it.
1369 * gdb.base/endianity.exp: Update.
1370
1371 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1374
1375 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1376
1377 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1378 -symbol-info-module-functions and -symbol-info-module-variables.
1379
1380 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1381
1382 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1383
1384 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1385 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * gdb.fortran/derived-type-striding.exp: New file.
1388 * gdb.fortran/derived-type-striding.f90: New file.
1389 * gdb.fortran/array-slices.exp: New file.
1390 * gdb.fortran/array-slices.f90: New file.
1391
1392 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1393
1394 * gdb.base/define.exp: Test . in command names.
1395 * gdb.base/setshow.exp: Update test, as . is now part of
1396 command name.
1397
1398 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1399
1400 * gdb.base/define-prefix.exp: New file.
1401
1402 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1403
1404 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1405 compile.
1406 (skip_btrace_pt_tests): Likewise.
1407
1408 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1409
1410 * gdb.fortran/info-modules.exp: Compile source files in correct
1411 order.
1412
1413 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1414
1415 * gdb.dwarf2/imported-unit.exp: New file.
1416 * gdb.dwarf2/imported-unit.c: New file.
1417
1418 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1419
1420 * gdb.mi/mi-fortran-modules-2.f90: New file.
1421 * gdb.mi/mi-fortran-modules.exp: New file.
1422 * gdb.mi/mi-fortran-modules.f90: New file.
1423
1424 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1425
1426 * gdb.mi/mi-sym-info-1.c: New file.
1427 * gdb.mi/mi-sym-info-2.c: New file.
1428 * gdb.mi/mi-sym-info.exp: New file.
1429
1430 2019-11-22 Tom Tromey <tromey@adacore.com>
1431
1432 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1433 * gdb.ada/tasks/foo.adb: Add another stopping location.
1434
1435 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1436
1437 * gdb.base/endianity.c: New test.
1438 * gdb.base/endianity.exp: New file.
1439
1440 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1441
1442 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1443
1444 2019-11-21 Tom de Vries <tdevries@suse.de>
1445
1446 PR gdb/24956
1447 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1448
1449 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1450
1451 * gdb.python/py-progspace.exp: Add missing parentheses on some
1452 'print' commands.
1453
1454 2019-11-19 Tom Tromey <tom@tromey.com>
1455
1456 * gdb.tui/winheight.exp: New file.
1457
1458 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.base/ctf-whatis.c: Delete.
1461 * gdb.base/ctf-whatis.exp: Delete.
1462 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1463
1464 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1465
1466 * gdb.base/ctf-cvexpr.exp: Delete.
1467 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1468
1469 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1470
1471 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1472 the compiler. Clean up header comment a little.
1473 * gdb.base/ctf-ptype.exp: Likewise.
1474 * gdb.base/ctf-whatis.exp: Likewise.
1475 * lib/gdb.exp (skip_ctf_tests): New proc.
1476
1477 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1478
1479 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1480 * gdb.tui/corefile-run.exp: New file.
1481
1482 2019-11-14 Tom Tromey <tromey@adacore.com>
1483
1484 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1485 regression tests.
1486
1487 2019-11-12 Tom Tromey <tom@tromey.com>
1488
1489 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1490 after any command. Expect prompt after WAIT_FOR is seen.
1491 (enter_tui): Enable resize messages.
1492 (command): Expect command in output.
1493 (get_line): Avoid error when cursor appears to be off-screen.
1494 (dump_screen): Include screen size in title.
1495 (_do_resize): New proc, from "resize".
1496 (resize): Rewrite. Do resize in two steps.
1497 * gdb.tui/empty.exp (layouts): Fix entries.
1498 (check_boxes): Remove xfail.
1499 (check_text): Dump screen on failure.
1500
1501 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1502
1503 * gdb.python/py-symbol.exp: Add test for
1504 gdb.lookup_static_symbols.
1505
1506 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1507
1508 * gdb.python/py-symbol.c: Declare and call function from new
1509 py-symbol-2.c file.
1510 * gdb.python/py-symbol.exp: Compile both source files, and add new
1511 tests for gdb.lookup_static_symbol.
1512 * gdb.python/py-symbol-2.c: New file.
1513
1514 2019-11-02 Tom de Vries <tdevries@suse.de>
1515
1516 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1517 * gdb.base/anon.exp: Same.
1518 * gdb.base/auto-connect-native-target.exp: Same.
1519 * gdb.base/call-ar-st.exp: Same.
1520 * gdb.base/catch-syscall.exp: Same.
1521 * gdb.base/commands.exp: Same.
1522 * gdb.base/default.exp: Same.
1523 * gdb.base/display.exp: Same.
1524 * gdb.base/float.exp: Same.
1525 * gdb.base/foll-fork.exp: Same.
1526 * gdb.base/help.exp: Same.
1527 * gdb.base/info-macros.exp: Same.
1528 * gdb.base/info-proc.exp: Same.
1529 * gdb.base/info-target.exp: Same.
1530 * gdb.base/long_long.exp: Same.
1531 * gdb.base/macscp.exp: Same.
1532 * gdb.base/memattr.exp: Same.
1533 * gdb.base/nofield.exp: Same.
1534 * gdb.base/pointers.exp: Same.
1535 * gdb.base/printcmds.exp: Same.
1536 * gdb.base/ptype.exp: Same.
1537 * gdb.base/restore.exp: Same.
1538 * gdb.base/return.exp: Same.
1539 * gdb.base/scope.exp: Same.
1540 * gdb.base/set-noassign.exp: Same.
1541 * gdb.base/setshow.exp: Same.
1542 * gdb.base/shlib-call.exp: Same.
1543 * gdb.base/signals.exp: Same.
1544 * gdb.base/sigstep.exp: Same.
1545 * gdb.base/skip.exp: Same.
1546 * gdb.base/solib-symbol.exp: Same.
1547 * gdb.base/stap-probe.exp: Same.
1548 * gdb.base/step-line.exp: Same.
1549 * gdb.base/step-test.exp: Same.
1550 * gdb.base/style.exp: Same.
1551 * gdb.base/varargs.exp: Same.
1552 * gdb.base/vla-datatypes.exp: Same.
1553 * gdb.base/vla-ptr.exp: Same.
1554 * gdb.base/vla-sideeffect.exp: Same.
1555 * gdb.base/volatile.exp: Same.
1556 * gdb.base/watch-cond-infcall.exp: Same.
1557 * gdb.base/watchpoint.exp: Same.
1558
1559 2019-11-02 Tom de Vries <tdevries@suse.de>
1560
1561 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1562 * gdb.cp/cpexprs.exp: Same.
1563 * gdb.cp/except-multi-location.exp: Same.
1564 * gdb.cp/exceptprint.exp: Same.
1565 * gdb.cp/gdb2384.exp: Same.
1566 * gdb.cp/inherit.exp: Same.
1567 * gdb.cp/m-static.exp: Same.
1568 * gdb.cp/meth-typedefs.exp: Same.
1569 * gdb.cp/misc.exp: Same.
1570 * gdb.cp/namespace.exp: Same.
1571 * gdb.cp/non-trivial-retval.exp: Same.
1572 * gdb.cp/overload.exp: Same.
1573 * gdb.cp/pr17132.exp: Same.
1574 * gdb.cp/re-set-overloaded.exp: Same.
1575 * gdb.cp/rvalue-ref-types.exp: Same.
1576 * gdb.cp/templates.exp: Same.
1577
1578 2019-11-01 Luis Machado <luis.machado@linaro.org>
1579
1580 PR gdb/25124
1581
1582 * gdb.arch/pr25124.S: New file.
1583 * gdb.arch/pr25124.exp: New file.
1584
1585 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1586
1587 * gdb.fortran/info-modules.exp: Update expected results, and add
1588 additional tests for 'info module functinos', and 'info module
1589 variables'.
1590 * gdb.fortran/info-types.exp: Update expected results.
1591 * gdb.fortran/info-types.f90: Extend testcase with additional
1592 module variables and functions.
1593
1594 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1595
1596 * gdb.fortran/info-modules.exp: New file.
1597 * gdb.fortran/info-types.exp: Build with new file.
1598 * gdb.fortran/info-types.f90: Include and use new module.
1599 * gdb.fortran/info-types-2.f90: New file.
1600
1601 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1602
1603 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1604 * gdb.base/settings.exp: Test all settings types using
1605 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1606 that now verifies that the value of "maint show" is the same as
1607 returned by the settings functions. Test the type of the
1608 maintenance settings.
1609 * gdb.base/default.exp: Update show_conv_list.
1610
1611 2019-10-31 Tom de Vries <tdevries@suse.de>
1612
1613 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1614 gdb_test.
1615 * gdb.arch/amd64-disp-step.exp: Same.
1616 * gdb.asm/asm-source.exp: Same.
1617 * gdb.btrace/buffer-size.exp: Same.
1618 * gdb.btrace/cpu.exp: Same.
1619 * gdb.btrace/enable.exp: Same.
1620 * gdb.dwarf2/count.exp: Same.
1621 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1622 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1623 * gdb.fortran/vla-datatypes.exp: Same.
1624 * gdb.fortran/vla-history.exp: Same.
1625 * gdb.fortran/vla-ptype.exp: Same.
1626 * gdb.fortran/vla-value.exp: Same.
1627 * gdb.fortran/whatis_type.exp: Same.
1628 * gdb.guile/guile.exp: Same.
1629 * gdb.multi/tids.exp: Same.
1630 * gdb.python/py-finish-breakpoint.exp: Same.
1631 * gdb.python/py-framefilter.exp: Same.
1632 * gdb.python/py-pp-registration.exp: Same.
1633 * gdb.python/py-xmethods.exp: Same.
1634 * gdb.python/python.exp: Same.
1635 * gdb.server/connect-with-no-symbol-file.exp: Same.
1636 * gdb.server/no-thread-db.exp: Same.
1637 * gdb.server/run-without-local-binary.exp: Same.
1638 * gdb.stabs/weird.exp: Same.
1639 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1640 * gdb.threads/thread-find.exp: Same.
1641 * gdb.threads/tls-shared.exp: Same.
1642 * gdb.threads/tls.exp: Same.
1643 * gdb.threads/wp-replication.exp: Same.
1644 * gdb.trace/ax.exp: Same.
1645 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1646
1647 2019-10-31 Tom de Vries <tdevries@suse.de>
1648
1649 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1650 * gdb.ada/array_subscript_addr.exp: Same.
1651 * gdb.ada/arrayidx.exp: Same.
1652 * gdb.ada/arrayparam.exp: Same.
1653 * gdb.ada/arrayptr.exp: Same.
1654 * gdb.ada/boolean_expr.exp: Same.
1655 * gdb.ada/call_pn.exp: Same.
1656 * gdb.ada/complete.exp: Same.
1657 * gdb.ada/fixed_cmp.exp: Same.
1658 * gdb.ada/fun_addr.exp: Same.
1659 * gdb.ada/funcall_param.exp: Same.
1660 * gdb.ada/interface.exp: Same.
1661 * gdb.ada/mod_from_name.exp: Same.
1662 * gdb.ada/null_array.exp: Same.
1663 * gdb.ada/packed_array.exp: Same.
1664 * gdb.ada/packed_tagged.exp: Same.
1665 * gdb.ada/print_chars.exp: Same.
1666 * gdb.ada/print_pc.exp: Same.
1667 * gdb.ada/ptype_arith_binop.exp: Same.
1668 * gdb.ada/ptype_field.exp: Same.
1669 * gdb.ada/ptype_tagged_param.exp: Same.
1670 * gdb.ada/rec_return.exp: Same.
1671 * gdb.ada/ref_tick_size.exp: Same.
1672 * gdb.ada/str_ref_cmp.exp: Same.
1673 * gdb.ada/taft_type.exp: Same.
1674 * gdb.ada/tagged.exp: Same.
1675 * gdb.ada/type_coercion.exp: Same.
1676 * gdb.ada/uninitialized_vars.exp: Same.
1677
1678 2019-10-30 Tom de Vries <tdevries@suse.de>
1679
1680 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1681
1682 2019-10-26 Tom de Vries <tdevries@suse.de>
1683
1684 * gdb.base/bigcore.c: Fix typos in comments.
1685 * gdb.base/ctf-ptype.c: Same.
1686 * gdb.base/long_long.c: Same.
1687 * gdb.dwarf2/dw2-op-out-param.S: Same.
1688 * gdb.python/py-evthreads.c: Same.
1689 * gdb.reverse/i387-stack-reverse.c: Same.
1690 * gdb.trace/tfile.c: Same.
1691 * lib/compiler.c: Same.
1692 * lib/compiler.cc: Same.
1693
1694 2019-10-25 Tom de Vries <tdevries@suse.de>
1695
1696 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1697 gdb_test_multiple calls.
1698 * gdb.reverse/sigall-reverse.exp: Same.
1699 * gdb.reverse/solib-precsave.exp: Same.
1700 * gdb.reverse/solib-reverse.exp: Same.
1701 * gdb.reverse/until-precsave.exp: Same.
1702 * gdb.reverse/until-reverse.exp: Same.
1703
1704 2019-10-24 Tom de Vries <tdevries@suse.de>
1705
1706 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1707 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1708 kfail using -wrap pattern flag and convenience variable
1709 gdb_test_name.
1710
1711 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1712
1713 * gdb.python/py-progspace.exp: Add tests for the
1714 Progspace.block_for_pc method.
1715
1716 2019-10-23 Tom Tromey <tom@tromey.com>
1717
1718 * configure: Rebuild.
1719 * aclocal.m4: Use m4_include, not sinclude.
1720
1721 2019-10-21 Tom de Vries <tdevries@suse.de>
1722
1723 * gdb.base/infcall-nested-structs.c: Add
1724 __attribute__((noinline,noclone)) to all functions.
1725 (call_all): Add missing variable initialization. Simplify return value.
1726 (breakpt): Increment volatile variable, to prevent call from being
1727 optimized out.
1728 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1729
1730 2019-10-17 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.fortran/module.exp: Allow info variables to print info for files
1733 other than module.f90.
1734
1735 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1736
1737 * gdb.fortran/module.exp: Extend with 'info variables' test.
1738
1739 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1740
1741 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1742 F77_FOR_TARGET.
1743
1744 2019-10-16 Tom de Vries <tdevries@suse.de>
1745
1746 PR tdep/25096
1747 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1748
1749 2019-10-16 Tom de Vries <tdevries@suse.de>
1750
1751 PR tdep/24104
1752 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1753 Add KFAIL for PR tdep/25096.
1754
1755 2019-10-16 Tom de Vries <tdevries@suse.de>
1756
1757 PR testsuite/25059
1758 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1759
1760 2019-10-16 Tom de Vries <tdevries@suse.de>
1761
1762 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1763 as signed.
1764
1765 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1766
1767 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1768 one instead of increasing timeout.
1769
1770 2019-10-13 Tom de Vries <tdevries@suse.de>
1771
1772 PR record/25038
1773 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1774 * gdb.reverse/sigall-reverse.exp: Same.
1775 * gdb.reverse/solib-precsave.exp: Same.
1776 * gdb.reverse/solib-reverse.exp: Same.
1777 * gdb.reverse/step-precsave.exp: Same.
1778 * gdb.reverse/until-precsave.exp: Same.
1779 * gdb.reverse/until-reverse.exp: Same.
1780 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1781
1782 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1783
1784 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1785 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1786 (cmp_struct_05_01, cmp_struct_static_02_01)
1787 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1788 comparisons.
1789
1790 2019-10-10 Tom de Vries <tdevries@suse.de>
1791
1792 PR testsuite/24888
1793 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1794 gnatlink.
1795
1796 2019-10-09 Tom de Vries <tdevries@suse.de>
1797
1798 PR testsuite/25048
1799 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1800
1801 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1802
1803 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1804 exceptions due to missing debug information.
1805
1806 2019-10-07 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1809
1810 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1813 * gdb.base/annota1.exp: Update to use gdb_test_name.
1814
1815 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1816
1817 * gdb.base/ctf-whatis.exp: New file.
1818 * gdb.base/ctf-whatis.c: New file.
1819 * gdb.base/ctf-ptype.exp: New file.
1820 * gdb.base/ctf-ptype.c: New file.
1821 * gdb.base/ctf-constvars.exp: New file.
1822 * gdb.base/ctf-constvars.c: New file.
1823 * gdb.base/ctf-cvexpr.exp: New file.
1824
1825 2019-10-04 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1828 for loop.
1829
1830 2019-10-03 Tom Tromey <tom@tromey.com>
1831
1832 PR rust/24976:
1833 * gdb.rust/simple.rs (Union2): New type.
1834 (main): Use Union2.
1835 * gdb.rust/simple.exp: Add test.
1836
1837 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1838
1839 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1840 nested function prefix.
1841
1842 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1843 Richard Bunt <richard.bunt@arm.com>
1844 Andrew Burgess <andrew.burgess@embecosm.com>
1845
1846 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1847 nested functions.
1848 * gdb.fortran/nested-funcs.f90: Update expected results.
1849 * gdb.fortran/nested-funcs-2.exp: New file.
1850 * gdb.fortran/nested-funcs-2.f90: New file.
1851
1852 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1853
1854 * gdb.python/py-parameter.exp: Make test names unique.
1855 * gdb.python/py-template.exp: Likewise.
1856 * gdb.python/py-value.exp: Likewise.
1857
1858 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1859
1860 * gdb.base/break-interp.exp: Reduce test name duplication.
1861 * gdb.base/call-sc.exp: Likewise.
1862 * gdb.base/callfuncs.exp: Likewise.
1863 * gdb.base/charset.exp: Likewise.
1864 * gdb.base/dump.exp: Likewise.
1865 * gdb.base/ena-dis-br.exp: Likewise.
1866 * gdb.base/relational.exp: Likewise.
1867 * gdb.base/step-over-syscall.exp: Likewise.
1868 * gdb.base/structs.exp: Likewise.
1869
1870 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1871
1872 * gdb.linespec/explicit.exp: Make test names unique.
1873 * gdb.linespec/ls-errs.exp: Likewise.
1874
1875 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1876
1877 * gdb.reverse/break-precsave.exp: Make test names unique.
1878 * gdb.reverse/break-reverse.exp: Likewise.
1879 * gdb.reverse/finish-precsave.exp: Likewise.
1880 * gdb.reverse/finish-reverse.exp: Likewise.
1881 * gdb.reverse/machinestate-precsave.exp: Likewise.
1882 * gdb.reverse/machinestate.exp: Likewise.
1883 * gdb.reverse/readv-reverse.exp: Likewise.
1884 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1885 * gdb.reverse/sigall-precsave.exp: Likewise.
1886 * gdb.reverse/sigall-reverse.exp: Likewise.
1887 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1888 * gdb.reverse/watch-precsave.exp: Likewise.
1889 * gdb.reverse/watch-reverse.exp: Likewise.
1890
1891 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1892
1893 * gdb.threads/stop-with-handle.c: New file.
1894 * gdb.threads/stop-with-handle.exp: New file.
1895
1896 2019-10-03 Tom de Vries <tdevries@suse.de>
1897
1898 PR testsuite/25059
1899 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1900 directory" line to be missing.
1901
1902 2019-10-03 Tom de Vries <tdevries@suse.de>
1903
1904 PR testsuite/25059
1905 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1906 type optional.
1907
1908 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1909
1910 * gdb.python/py-format-string.c (string.h): New include.
1911 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1912 the same value, for endianness-independence.
1913 * gdb.python/py-format-string.exp (default_regexp_dict)
1914 (test_pretty_structs, test_format): Adjust expected output to the
1915 changed initialization.
1916
1917 2019-10-02 Tom Tromey <tromey@adacore.com>
1918
1919 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1920
1921 2019-10-02 Pedro Alves <palves@redhat.com>
1922 Andrew Burgess <andrew.burgess@embecosm.com>
1923
1924 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1925 "print-file-var.h".
1926 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1927 (get_version_1): Print this_version_id and its address.
1928 Add extern "C" wrappers around interface functions.
1929 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1930 "print-file-var.h".
1931 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1932 (get_version_2): Print this_version_id and its address.
1933 Add extern "C" wrappers around interface functions.
1934 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1935 <stddef.h> and "print-file-var.h".
1936 Add extern "C" wrappers around interface functions.
1937 [VERSION_ID_MAIN] (this_version_id): Define.
1938 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1939 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1940 up extern "C" blocks.
1941 * gdb.base/print-file-var.exp (test): New, factored out from top
1942 level.
1943 (top level): Test all combinations of attribute hidden or not,
1944 dlopen or not, and this_version_id symbol in main file or not.
1945 Compile tests as both C++ and C, make test names unique.
1946
1947 2019-10-01 Tom Tromey <tom@tromey.com>
1948
1949 * gdb.base/style.exp: Test "show logging filename".
1950
1951 2019-10-01 Tom Tromey <tom@tromey.com>
1952
1953 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1954 * gdb.base/style.exp: Add metadata style test.
1955
1956 2019-10-01 Tom Tromey <tom@tromey.com>
1957
1958 * gdb.base/style.exp: Test "pwd".
1959
1960 2019-10-01 Tom Tromey <tom@tromey.com>
1961
1962 * gdb.base/style.exp: Update tests.
1963
1964 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1965
1966 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1967 'six' to unsigned.
1968 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1969 'five'. Use an all-ones bit pattern for each.
1970 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1971 to its changed values.
1972
1973 2019-09-30 Tom Tromey <tromey@adacore.com>
1974
1975 * gdb.rust/traits.rs: Disable all warnings.
1976
1977 2019-09-29 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1980
1981 2019-09-29 Tom de Vries <tdevries@suse.de>
1982
1983 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1984
1985 2019-09-27 Tom de Vries <tdevries@suse.de>
1986
1987 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1988
1989 2019-09-27 Tom de Vries <tdevries@suse.de>
1990
1991 PR record/23188
1992 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1993
1994 2019-09-26 Tom Tromey <tromey@adacore.com>
1995
1996 * gdb.ada/py_taft.exp: New file.
1997 * gdb.ada/py_taft/main.adb: New file.
1998 * gdb.ada/py_taft/pkg.adb: New file.
1999 * gdb.ada/py_taft/pkg.ads: New file.
2000
2001 2019-09-24 Tom de Vries <tdevries@suse.de>
2002
2003 PR gdb/24598
2004 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2005
2006 2019-09-22 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.base/restore.exp: Allow register variables to be optimized out at
2009 -O0.
2010
2011 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2012
2013 * gdb.arch/spu-info.exp: Remove file.
2014 * gdb.arch/spu-info.c: Remove file.
2015 * gdb.arch/spu-ls.exp: Remove file.
2016 * gdb.arch/spu-ls.c: Remove file.
2017
2018 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2019 * gdb.asm/spu.inc: Remove file.
2020
2021 * gdb.base/dump.exp: Remove support for spu*-*-*.
2022 * gdb.base/stack-checking.exp: Likewise.
2023 * gdb.base/overlays.exp: Likewise.
2024 * gdb.base/ovlymgr.c: Likewise.
2025 * gdb.base/spu.ld: Remove file.
2026
2027 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2028 * gdb.cp/cpexprs.exp: Likewise.
2029 * gdb.cp/exception.exp: Likewise.
2030 * gdb.cp/gdb2495.exp: Likewise.
2031 * gdb.cp/mb-templates.exp: Likewise.
2032 * gdb.cp/pr9167.exp: Likewise.
2033 * gdb.cp/userdef.exp: Likewise.
2034
2035 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2036
2037 * gdb.cell: Remove directory.
2038 * lib/cell.exp: Remove file.
2039
2040 2019-09-19 Tom de Vries <tdevries@suse.de>
2041
2042 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2043
2044 2019-09-19 Tom de Vries <tdevries@suse.de>
2045
2046 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2047
2048 2019-09-19 Tom de Vries <tdevries@suse.de>
2049
2050 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2051 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2052 (gdb_target_cmd): ... here.
2053 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2054 value 2.
2055
2056 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2057
2058 * gdb.base/source-dir.exp: Avoid having directory names in test
2059 names.
2060
2061 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2062
2063 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2064 directory.
2065
2066 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.base/list-missing-source.exp: New file.
2069
2070 2019-09-14 Tom de Vries <tdevries@suse.de>
2071
2072 PR teststuite/24599
2073 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2074 * lib/ada.exp (gnatmake_version_at_least): New proc.
2075
2076 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2077
2078 * gdb.base/maint.exp: Use exec_has_index_section.
2079
2080 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2081
2082 * gdb.base/maint.exp: Add test for 'maint info sections'.
2083
2084 2019-09-12 Tom de Vries <tdevries@suse.de>
2085
2086 * gdb.base/store.exp: Allow register variables to be optimized out at
2087 -O0.
2088
2089 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2090
2091 * gdb.ada/rdv_wait.exp: Update to new task names.
2092 * gdb.base/task_switch_in_core.exp: Likewise.
2093 * gdb.base/info_sources_base.c: Likewise.
2094
2095 2019-09-10 Tom Tromey <tromey@adacore.com>
2096
2097 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2098
2099 2019-09-10 Tom Tromey <tromey@adacore.com>
2100
2101 * gdb.ada/dgopt.exp: New file.
2102 * gdb.ada/dgopt/x.adb: New file.
2103
2104 2019-09-08 Tom Tromey <tom@tromey.com>
2105
2106 * gdb.tui/resize.exp: Remove setup_xfail.
2107 * gdb.tui/regs.exp: Remove setup_xfail.
2108 * gdb.tui/basic.exp: Remove setup_xfail.
2109
2110 2019-09-06 David Blaikie <dblaikie@gmail.com>
2111
2112 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2113 * gdb.cp/cplabel.exp: Ditto.
2114 * gdb.linespec/ls-errs.exp: Ditto.
2115
2116 2019-09-05 Tom de Vries <tdevries@suse.de>
2117
2118 * lib/gdb.exp (cmp_file_string): New proc.
2119 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2120 runto_main. Verify save breakpoints output.
2121
2122 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2123
2124 * gdb.base/info-var.exp: Test info variables without running
2125 to main, to avoid expect's buffer overflow.
2126
2127 2019-09-03 Tom Tromey <tromey@adacore.com>
2128
2129 * gdb.ada/bias.exp: New file.
2130 * gdb.ada/bias/bias.adb: New file.
2131 * gdb.ada/print_chars.exp: Add regression test.
2132 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2133 (MC): New variable.
2134
2135 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2136
2137 * gdb.base/argv0-symlink.exp: Run only on native target
2138 and local host.
2139
2140 2019-08-29 Tom de Vries <tdevries@suse.de>
2141
2142 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2143 diverse debug info.
2144 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2145
2146 2019-08-28 Tom de Vries <tdevries@suse.de>
2147
2148 * gdb.base/info-var.exp: Allow info variables to print info for files
2149 other than info-var-f1.c and info-var-f2.c.
2150
2151 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2152
2153 * gdb.fortran/info-types.exp: Add module.
2154 * gdb.fortran/info-types.f90: Update expected results.
2155
2156 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.fortran/info-types.exp: New file.
2159 * gdb.fortran/info-types.f90: New file.
2160 * lib/fortran.exp (fortran_character1): New proc.
2161
2162 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2163
2164 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2165 functions'. Reindent as needed.
2166 * gdb.base/info-var-f1.c: New file.
2167 * gdb.base/info-var-f2.c: New file.
2168 * gdb.base/info-var.exp: New file.
2169 * gdb.base/info-var.h: New file.
2170
2171 2019-08-26 Tom de Vries <tdevries@suse.de>
2172
2173 PR c++/24852
2174 * gdb.cp/no-libstdcxx-probe.exp: New test.
2175
2176 2019-08-26 Tom de Vries <tdevries@suse.de>
2177
2178 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2179 * tests need to be skipped.
2180 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2181 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2182 mi_skip_libstdcxx_probe_tests.
2183
2184 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2185
2186 * gdb.python/py-xmethods.exp: Use raw strings when passing
2187 arguments to SimpleXMethodMatcher.
2188
2189 2019-08-22 Tom de Vries <tdevries@suse.de>
2190
2191 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2192 more informative.
2193
2194 2019-08-21 Pedro Alves <palves@redhat.com>
2195
2196 * gdb.base/with.exp: Test "with" with no arguments.
2197
2198 2019-08-21 Tom de Vries <tdevries@suse.de>
2199
2200 * gdb.base/gdb-caching-proc.exp: Sort files.
2201
2202 2019-08-20 Tom de Vries <tdevries@suse.de>
2203
2204 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2205 compilation.
2206
2207 2019-08-16 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.base/compare-sections.exp ("after run to main"): Allow
2210 mismatched read-only sections for PIE executables.
2211
2212 2019-08-16 Tom Tromey <tom@tromey.com>
2213
2214 * lib/tuiterm.exp (_csi_Z): New proc.
2215 * gdb.tui/basic.exp: Update window positions.
2216 * gdb.tui/empty.exp: Update window positions.
2217
2218 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2219
2220 * gdb.base/examine-backward.exp: Correct regexp for
2221 "examine 3 bytes backward from ${address_zero}".
2222
2223 2019-08-15 Tom Tromey <tom@tromey.com>
2224
2225 * gdb.tui/empty.exp: Enable resizing tests.
2226
2227 2019-08-15 Tom Tromey <tromey@adacore.com>
2228
2229 * gdb.ada/char_enum.exp: Add regression tests.
2230 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2231 and '0'.
2232 (Char, Gchar): Update.
2233 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2234
2235 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2236
2237 * gdb.python/python.exp: Expect a leading underscore on
2238 GdbOutput{,Error}File.
2239
2240 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2241
2242 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2243 Windows host.
2244
2245 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2246
2247 * gdb.base/batch-preserve-term-settings.exp
2248 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2249
2250 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2251
2252 * lib/gdb.exp: When running on a mingw target, replace
2253 /x/ with x:/.
2254
2255 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2256
2257 * gdb.arch/aarch64-prologue.c: New test.
2258 * gdb.arch/aarch64-prologue.exp: New file.
2259
2260 2019-08-13 Tom de Vries <tdevries@suse.de>
2261
2262 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2263 Thread.
2264
2265 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2266
2267 * gdb.python/py-completion.exp: Download the .py file to the host
2268 and use its host pathname. Conditionalize tests that use
2269 tab completion and manipulate files on the build machine.
2270 * gdb.python/py-events.exp: Download the .py file to the host
2271 and use its host pathname.
2272 * gdb.python/py-evsignal.exp: Likewise.
2273 * gdb.python/py-evthreads.exp: Likewise.
2274 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2275 pathname syntax.
2276 * gdb.python/py-framefilter.exp: Download the .py file to the right
2277 place on the host. Match Windows pathname syntax.
2278 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2279 .py file to the host and use its host pathname.
2280 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2281 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2282 build pathname. Skip symlink test on Windows host. Add missing
2283 newline at end of file.
2284 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2285 and use its host pathname.
2286 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2287 * gdb.python/py-section-script.exp: Use host location of binfile
2288 on safe-path. Use correct path separator on Windows host.
2289 Reorder alternatives in gdb_test_multiple to prevent matching
2290 the wrong alternative on success.
2291 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2292
2293 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2294
2295 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2296 expect the GDB inferior to no longer immediately stop after
2297 being resumed with "signal SIGINT".
2298
2299 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2300
2301 * gdb.linespec/break-ask.exp: Generalize regexps to match
2302 Windows pathnames too.
2303
2304 2019-08-08 Tom de Vries <tdevries@suse.de>
2305
2306 PR testsuite/24862
2307 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2308
2309 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2310
2311 * gdb.base/style.exp: Update tests for help doc new invariants.
2312 * gdb.base/help.exp: Likewise.
2313
2314 2019-08-06 Tom Tromey <tom@tromey.com>
2315
2316 * gdb.base/style.exp: Add disassemble test.
2317 * gdb.base/style.c (some_called_function): New function.
2318 (main): Use it.
2319
2320 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2321
2322 * gdb.python/py-block.exp: Test dictionary access on blocks.
2323
2324 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2325
2326 PR gdb/24863
2327 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2328 -list-thread-groups --available test when running under
2329 check-read1.
2330
2331 2019-08-05 Tom de Vries <tdevries@suse.de>
2332
2333 PR testsuite/24863
2334 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2335 * gdb.base/help.exp: Use with_read1_timeout_factor.
2336 * gdb.base/info-macros.exp: Same.
2337 * gdb.cp/nested-types.exp: Same.
2338
2339 2019-08-05 Tom de Vries <tdevries@suse.de>
2340
2341 * lib/gdb.exp (version_at_least): Factor out of ...
2342 (tcl_version_at_least): ... here.
2343 (gdb_compile): Fail if pie results in non-PIE executable.
2344 (readelf_version, readelf_prints_pie): New proc.
2345 (exec_is_pie): Return -1 if unknown.
2346
2347 2019-08-05 Tom de Vries <tdevries@suse.de>
2348
2349 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2350
2351 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2352
2353 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2354
2355 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2356
2357 * lib/completion-support.exp (test_gdb_complete_none): Skip
2358 tab completion tests if no readline support.
2359 (test_gdb_complete_unique_re): Likewise.
2360 (test_gdb_complete_multiple): Likewise.
2361
2362 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2363
2364 * gdb.base/info_sources.exp: New file.
2365 * gdb.base/info_sources.c: New file.
2366 * gdb.base/info_sources_base.c: New file.
2367
2368 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2369
2370 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2371 prefix argument.
2372 (test_exit_status): Add prefix argument.
2373
2374 2019-08-01 Tom de Vries <tdevries@suse.de>
2375
2376 PR testsuite/24863
2377 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2378 calling exp_continue for new thread and thread exited messages.
2379
2380 2019-08-01 Tom de Vries <tdevries@suse.de>
2381
2382 PR testsuite/24863
2383 * gdb.base/structs.exp: Fix check-read1 timeout using
2384 gdb_test_sequence.
2385 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2386
2387 2019-08-01 Tom de Vries <tdevries@suse.de>
2388
2389 PR testsuite/24863
2390 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2391 line.
2392
2393 2019-08-01 Tom de Vries <tdevries@suse.de>
2394
2395 PR testsuite/24863
2396 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2397
2398 2019-07-30 Tom Tromey <tromey@adacore.com>
2399
2400 * gdb.ada/display_nested.exp: New file.
2401 * gdb.ada/display_nested/foo.adb: New file.
2402 * gdb.ada/display_nested/pack.adb: New file.
2403 * gdb.ada/display_nested/pack.ads: New file.
2404
2405 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2406
2407 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2408 namespace.
2409 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2410
2411 2019-07-30 Tom de Vries <tdevries@suse.de>
2412
2413 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2414 instead.
2415
2416 2019-07-30 Tom de Vries <tdevries@suse.de>
2417
2418 PR testsuite/24834
2419 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2420 (exec_is_pie): New proc.
2421
2422 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2423
2424 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2425
2426 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2427
2428 * gdb.python/py-objfile.c: Add global and static vars.
2429 * gdb.python/py-objfile.exp: Test new functions Objfile.
2430 lookup_global_symbol and lookup_static_symbol.
2431
2432 2019-07-29 Tom Tromey <tom@tromey.com>
2433
2434 * lib/tuiterm.exp (Term::_csi_@): New proc.
2435 (Term::_csi_X): Don't move cursor.
2436
2437 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2438
2439 * gdb.base/options.exp: Update backtrace - completion to
2440 new option -frame-info.
2441 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2442 Test new 'set print frame-info'. Test backtrace -frame-info
2443 overriding 'set print frame-info'.
2444 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2445 Test new 'set print frame-info'.
2446 Verify consistency of backtrace with and without filters, with and
2447 without -no-filters.
2448 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2449 default.
2450
2451 2019-07-29 Tom de Vries <tdevries@suse.de>
2452
2453 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2454 no arguments".
2455
2456 2019-07-29 Tom de Vries <tdevries@suse.de>
2457
2458 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2459 is a substring of the first for "complete non-unique file name".
2460
2461 2019-07-29 Tom de Vries <tdevries@suse.de>
2462
2463 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2464 with ".*".
2465
2466 2019-07-29 Tom de Vries <tdevries@suse.de>
2467
2468 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2469 Pass prompt_regexp parameter to gdb_test_multiple calls.
2470
2471 2019-07-29 Tom de Vries <tdevries@suse.de>
2472
2473 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2474 print registers" regexps.
2475
2476 2019-07-29 Tom de Vries <tdevries@suse.de>
2477
2478 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2479
2480 2019-07-29 Tom de Vries <tdevries@suse.de>
2481
2482 PR gdb/24855
2483 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2484 (skip_python_tests_prompt): Add prompt_regexp argument to
2485 gdb_test_multiple calls.
2486
2487 2019-07-27 Tom Tromey <tom@tromey.com>
2488
2489 * gdb.tui/main.exp: New file.
2490
2491 2019-07-27 Tom Tromey <tom@tromey.com>
2492
2493 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2494 optional.
2495 * gdb.tui/empty.exp: New file.
2496
2497 2019-07-27 Tom Tromey <tom@tromey.com>
2498
2499 * lib/tuiterm.exp (spawn): New proc.
2500 (Term::resize): New proc.
2501 * gdb.tui/resize.exp: New file.
2502
2503 2019-07-27 Tom Tromey <tom@tromey.com>
2504
2505 * gdb.tui/list.exp: New file.
2506
2507 2019-07-27 Tom Tromey <tom@tromey.com>
2508
2509 * gdb.tui/regs.exp: New file.
2510
2511 2019-07-27 Tom Tromey <tom@tromey.com>
2512
2513 * gdb.tui/basic.exp: Add "layout split" test.
2514
2515 2019-07-27 Tom Tromey <tom@tromey.com>
2516
2517 * gdb.tui/basic.exp: Add "layout asm" test.
2518
2519 2019-07-27 Tom Tromey <tom@tromey.com>
2520
2521 * lib/tuiterm.exp: New file.
2522 * gdb.tui/basic.exp: New file.
2523
2524 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2525
2526 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2527 Enable tests associated with this flag. Adjust regex
2528 referencing "foo_low" to now refer to "foo_cold" instead.
2529
2530 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2531
2532 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2533 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2534 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2535 foo_cold. Revise comments to match.
2536 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2537 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2538 were wrapped into this proc; Call do_test in loop from outermost
2539 level.
2540 (foo_low): Rename all occurrences to "foo_cold".
2541 (backtrace from baz): New test.
2542 (x2/i foo_cold): New test.
2543 (info line *foo_cold): New test.
2544
2545 2019-07-26 Tom de Vries <tdevries@suse.de>
2546
2547 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2548
2549 2019-07-25 Tom de Vries <tdevries@suse.de>
2550
2551 PR testsuite/24830
2552 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2553 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2554 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2555 (skip_libstdcxx_probe_tests): ... here.
2556 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2557
2558 2019-07-24 Tom de Vries <tdevries@suse.de>
2559
2560 PR testsuite/24807
2561 * gdb.objc/basicclass.m: Include stdio.h.
2562 * gdb.objc/nondebug.m: Same.
2563 * gdb.objc/objcdecode.m: Same.
2564
2565 2019-07-24 Tom de Vries <tdevries@suse.de>
2566
2567 PR testsuite/24612
2568 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2569 additional_flags.
2570
2571 2019-07-24 Tom de Vries <tdevries@suse.de>
2572
2573 PR testsuite/24831
2574 * gdb.multi/tids.exp: Update error messages for info threads.
2575
2576 2019-07-24 Tom de Vries <tdevries@suse.de>
2577
2578 * gdb.base/info-types.exp: Allow info types to print info for more than
2579 one file.
2580
2581 2019-07-23 Tom de Vries <tdevries@suse.de>
2582
2583 PR testsuite/24842
2584 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2585 gdb_spawn_with_cmdline_opts.
2586
2587 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2588
2589 * gdb.arch/arm-cmse-sgstubs.c: New test.
2590 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2591
2592 2019-07-23 Tom de Vries <tdevries@suse.de>
2593
2594 PR testsuite/24711
2595 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2596 issuing next command.
2597
2598 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2599
2600 * gdb.ada/info_auto_lang.exp: Update expected results.
2601 * gdb.base/info-types.c: Add additional types to check.
2602 * gdb.base/info-types.exp: Update expected results.
2603
2604 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2605
2606 * gdb.base/info-types.c: New file.
2607 * gdb.base/info-types.exp: New file.
2608
2609 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2610
2611 * gdb.arch/riscv-bp-infcall.c: New file.
2612 * gdb.arch/riscv-bp-infcall.exp: New file.
2613
2614 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2615
2616 PR breakpoints/24541
2617 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2618
2619 2019-07-14 Tom de Vries <tdevries@suse.de>
2620
2621 PR testsuite/24760
2622 * gdb.objc/basicclass.exp: Fix unterminated string.
2623
2624 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2625 Andrew Burgess <andrew.burgess@embecosm.com>
2626
2627 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2628 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2629 negative bounds.
2630 * gdb.fortran/vla-value.exp: Print elements of an array with
2631 negative bounds.
2632 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2633 testing.
2634
2635 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * gdb.base/options.exp (expect_string): Dequote strings in
2638 results.
2639 (test-string): Test strings with different quoting and reindent.
2640
2641 2019-07-10 Tom Tromey <tromey@adacore.com>
2642
2643 * gdb.ada/mi_ex_cond.exp: Update expected results.
2644 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2645 * gdb.ada/mi_catch_ex.exp: Update expected results.
2646 * gdb.ada/mi_catch_assert.exp: Update expected results.
2647 * gdb.ada/catch_ex.exp (catch_exception_info)
2648 (catch_exception_entry, catch_assert_entry)
2649 (catch_unhandled_entry): Update.
2650 * gdb.ada/catch_assert_if.exp: Update expected results.
2651
2652 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2653 Stephen Roberts <stephen.roberts@arm.com>
2654
2655 * gdb.base/define.exp: Restore original prompt.
2656
2657 2019-07-09 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2660 breakpoints" output.
2661 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2662 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2663 throw" creates breakpoint.
2664 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2665 'type="catchpoint"'.
2666
2667 2019-07-09 Pedro Alves <palves@redhat.com>
2668
2669 PR c++/15468
2670 * gdb.cp/except-multi-location-lib.cc: New.
2671 * gdb.cp/except-multi-location-main.cc: New.
2672 * gdb.cp/except-multi-location.exp: New.
2673
2674 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2675
2676 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2677 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2678 argument and update callers.
2679
2680 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2681
2682 * gdb.arch/amd64-break-on-asm-line.S: New file.
2683 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2684
2685 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2686
2687 * gdb.base/printcmds.exp: Test printing C string and
2688 C wide string convenience vars without transiting via the inferior.
2689 Also make test names unique.
2690
2691 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2692
2693 PR breakpoints/25011
2694 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2695
2696 2019-07-04 Pedro Alves <palves@redhat.com>
2697
2698 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2699 body returned ok(0), break(3) or continue(4).
2700 * gdb.testsuite/foreach_with_prefix.exp: New file.
2701
2702 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2703
2704 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2705
2706 2019-07-03 Pedro Alves <palves@redhat.com>
2707
2708 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2709 "return -code".
2710
2711 2019-07-03 Pedro Alves <palves@redhat.com>
2712
2713 PR cli/24732
2714 * gdb.base/shell.exp: Load completion-support.exp.
2715 Adjust expected error output. Add completion tests.
2716
2717 2019-07-03 Pedro Alves <palves@redhat.com>
2718
2719 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2720 string_to_regexp.
2721
2722 2019-07-03 Pedro Alves <palves@redhat.com>
2723
2724 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2725 (expect_integer): Adjust to expect "-string".
2726 (expect_string): New.
2727 (all_options): Expect "-string".
2728 (test-flag, test-boolean): Adjust to expect "-string".
2729 (test-string): New proc.
2730 (top level): Call it.
2731
2732 2019-07-03 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2735 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2736 the expected output in the success.
2737
2738 2019-07-03 Pedro Alves <palves@redhat.com>
2739
2740 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2741 Split one gdb_test_multiple call in two to avoid a race.
2742
2743 2019-07-03 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/with.c: New file.
2746 * gdb.base/with.exp: New file.
2747
2748 2019-07-03 Pedro Alves <palves@redhat.com>
2749
2750 * gdb.base/settings.exp: Replace all references to "maint
2751 test-settings set" with references to "maint set test-settings",
2752 and all references to "maint test-settings show" with references
2753 to "maint show test-settings".
2754
2755 2019-07-03 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.base/settings.exp (test-string): Adjust expected out when
2758 testing "maint test-settings show filename"
2759
2760 2019-07-02 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.base/options.exp (test-info-threads): New procedure.
2763 (top level): Call it.
2764
2765 2019-06-28 Tom Tromey <tromey@adacore.com>
2766
2767 * gdb.dwarf2/ada-linkage-name.c: New file.
2768 * gdb.dwarf2/ada-linkage-name.exp: New file.
2769
2770 2019-06-27 Tom Tromey <tromey@adacore.com>
2771
2772 PR c++/20020:
2773 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2774
2775 2019-06-26 Tom de Vries <tdevries@suse.de>
2776
2777 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2778
2779 2019-06-26 Tom de Vries <tdevries@suse.de>
2780
2781 * gdb.base/index-cache.exp: Add back missing debug option.
2782
2783 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2784
2785 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2786
2787 2019-06-25 Tom de Vries <tdevries@suse.de>
2788
2789 PR testsuite/24727
2790 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2791
2792 2019-06-24 Tom de Vries <tdevries@suse.de>
2793
2794 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2795
2796 2019-06-24 Tom de Vries <tdevries@suse.de>
2797
2798 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2799 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2800 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2801
2802 2019-06-24 Tom de Vries <tdevries@suse.de>
2803
2804 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2805
2806 2019-06-21 Tom de Vries <tdevries@suse.de>
2807
2808 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2809
2810 2019-06-21 Tom de Vries <tdevries@suse.de>
2811
2812 PR testsuite/24518
2813 PR ada/24713
2814 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2815 index.
2816
2817 2019-06-19 Tom Tromey <tromey@adacore.com>
2818
2819 * gdb.ada/length_cond.exp: Add intro comment.
2820
2821 2019-06-19 Tom Tromey <tromey@adacore.com>
2822
2823 * gdb.ada/length_cond.exp: New file.
2824 * gdb.ada/length_cond/length_cond.adb: New file.
2825 * gdb.ada/length_cond/pck.adb: New file.
2826 * gdb.ada/length_cond/pck.ads: New file.
2827
2828 2019-06-18 Tom de Vries <tdevries@suse.de>
2829
2830 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2831
2832 2019-06-18 Tom Tromey <tromey@adacore.com>
2833
2834 * gdb.base/list0.h: Add comment explaining control character.
2835
2836 2019-06-18 Tom de Vries <tdevries@suse.de>
2837
2838 * boards/fission.exp: Break up long debug_flags line.
2839
2840 2019-06-16 Tom de Vries <tdevries@suse.de>
2841
2842 PR gdb/24445
2843 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2844 generated index.
2845
2846 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2847
2848 PR gdb/24686
2849 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2850 improve detection of bug gdb/24541.
2851
2852 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2853
2854 PR gdb/24669
2855 * gdb.base/index-cache.exp (uses_readnow,
2856 expecting_index_cache_use): Define global variable.
2857 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2858 expecting_index_cache_use.
2859
2860 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2861 Andrew Burgess <andrew.burgess@embecosm.com>
2862
2863 * gdb.fortran/pointers.f90: New file.
2864 * gdb.fortran/print_type.exp: New file.
2865 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2866 * gdb.fortran/vla-type.exp: Likewise.
2867 * gdb.fortran/vla-value.exp: Likewise.
2868 * gdb.mi/mi-vla-fortran.exp: Likewise.
2869
2870 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2873 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2874 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2875 as a stop reason.
2876
2877 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2878
2879 * gdb.base/annota1.exp: Update expected results.
2880 * gdb.cp/annota2.exp: Likewise.
2881 * gdb.cp/annota3.exp: Likewise.
2882
2883 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2884
2885 * gdb.base/style-logging.exp: Remove path from test name.
2886
2887 2019-06-14 Tom Tromey <tromey@adacore.com>
2888
2889 PR gdb/24502:
2890 * gdb.base/style-logging.exp: New file.
2891
2892 2019-06-14 Tom Tromey <tromey@adacore.com>
2893
2894 * gdb.base/symfile-warn.exp: New file.
2895 * gdb.base/symfile-warn.c: New file.
2896
2897 2019-06-14 Tom Tromey <tromey@adacore.com>
2898
2899 * gdb.base/annotate-symlink.exp: New file.
2900
2901 2019-06-14 Tom Tromey <tromey@adacore.com>
2902
2903 * gdb.ada/set_wstr.exp: Add reassignment test.
2904
2905 2019-06-14 Tom Tromey <tromey@adacore.com>
2906
2907 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2908 'unchecked_access and 'unrestricted_access as well.
2909
2910 2019-06-14 Tom Tromey <tromey@adacore.com>
2911
2912 PR ada/24539:
2913 * gdb.ada/vla.exp: Update tests.
2914 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2915 pragma.
2916
2917 2019-06-13 Pedro Alves <palves@redhat.com>
2918
2919 * gdb.base/settings.exp (test-integer): Test junk after
2920 "unlimited".
2921
2922 2019-06-13 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/options.exp (test-thread-apply): New.
2925 (top level): Call it.
2926
2927 2019-06-13 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.base/options.exp (test-frame-apply): New.
2930 (top level): Test print commands with different "frame apply"
2931 prefixes.
2932
2933 2019-06-13 Pedro Alves <palves@redhat.com>
2934
2935 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2936 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2937 'max_completions' parameter and handle it.
2938 (test_gdb_completion_offers_commands): New.
2939
2940 2019-06-13 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2943
2944 2019-06-13 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.base/options.exp (test-backtrace): New.
2947 (top level): Call it.
2948
2949 2019-06-13 Pedro Alves <palves@redhat.com>
2950
2951 * gdb.guile/scm-frame-args.exp: Use "set print
2952 raw-frame-arguments" instead of "set print raw frame-arguments".
2953 * gdb.python/py-frame-args.exp: Likewise.
2954
2955 2019-06-13 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.compile/compile.exp: Adjust expected output to option
2958 processing changes.
2959
2960 2019-06-13 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.base/options.exp: Build executable.
2963 (test-print): New procedure.
2964 (top level): Call it, once for "print" and another for "compile
2965 print".
2966
2967 2019-06-13 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.base/options.c: New file.
2970 * gdb.base/options.exp: New file.
2971
2972 2019-06-13 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2975 that "o" is ambiguous.
2976
2977 2019-06-13 Pedro Alves <palves@redhat.com>
2978
2979 * gdb.base/settings.c: New file.
2980 * gdb.base/settings.exp: New file.
2981
2982 2019-06-13 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.base/completion.exp: Fix comment typo.
2985
2986 2019-06-13 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2989 foo --1" test.
2990
2991 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2992
2993 * gdb.fortran/block-data.f: New.
2994 * gdb.fortran/block-data.exp: New.
2995
2996 2019-06-11 Tom de Vries <tdevries@suse.de>
2997
2998 PR testsuite/24521
2999 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3000 message.
3001
3002 2019-06-11 Tom de Vries <tdevries@suse.de>
3003
3004 PR testsuite/24521
3005 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3006
3007 2019-06-11 Tom de Vries <tdevries@suse.de>
3008
3009 * boards/readnow.exp: New file.
3010
3011 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3012
3013 * gdb.fortran/vla-sizeof.exp: Update expected results.
3014
3015 2019-06-06 Amos Bird <amosbird@gmail.com>
3016
3017 * gdb.base/annota1.exp (thread_switch): Add test for
3018 thread-exited annotation.
3019
3020 2019-06-06 Tom Tromey <tromey@adacore.com>
3021
3022 * gdb.base/maint.exp: Expect command started/finished output.
3023
3024 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3025
3026 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3027 comment.
3028 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3029
3030 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3031
3032 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3033 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3034 * gdb.arch/riscv-unwind-long-insn.c: New file.
3035 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3036
3037 2019-06-04 Christian Biesinger <cbiesinger@google.com>
3038
3039 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3040
3041 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3042
3043 * lib/gdb.exp (help_list_trailer): New regexp variable
3044 factorizing the help trailer message.
3045 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3046 arg to allow to better factorize various tests.
3047 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3048 (test_prefix_command_help): Use help_list_trailer.
3049 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3050 * gdb.guile/scm-cmd.exp: Likewise.
3051 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3052 * gdb.base/help.exp: Use test_user_defined_class_help.
3053 * gdb.base/style.exp: Add tests for styling of help and apropos.
3054 * lib/gdb-utils.exp (style): Add title and highlight styles.
3055
3056 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3057
3058 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3059 $_shell_exitsignal.
3060 * gdb.base/default.exp: Update for new convenience variables.
3061
3062 2019-05-29 Tom Tromey <tromey@adacore.com>
3063
3064 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3065 to "break complete ada" test case's regexp.
3066
3067 2019-05-29 Tom Tromey <tromey@adacore.com>
3068
3069 PR c++/20020:
3070 * gdb.cp/constexpr-field.exp: New file.
3071 * gdb.cp/constexpr-field.cc: New file.
3072
3073 2019-05-29 Tom Tromey <tromey@adacore.com>
3074
3075 * gdb.base/finish.exp (finish_no_print): New proc.
3076 (finish_tests): Call it.
3077
3078 2019-05-24 Tom de Vries <tdevries@suse.de>
3079
3080 * gdb.dwarf2/gdb-add-index.exp: New file.
3081
3082 2019-05-22 Tom Tromey <tromey@adacore.com>
3083
3084 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3085 * gdb.base/style.exp: Use "style".
3086 * lib/gdb-utils.exp (style): New proc.
3087
3088 2019-05-22 Tom de Vries <tdevries@suse.de>
3089
3090 * gdb.base/align.exp: Require c++11.
3091
3092 2019-05-22 Tom de Vries <tdevries@suse.de>
3093
3094 PR testsuite/24586
3095 * gdb.python/py-mi-var-info-path-expression.exp: Call
3096 mi_skip_python_tests to check if python is supported.
3097
3098 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3099
3100 * gdb.arch/aarch64-pauth.c: New test.
3101 * gdb.arch/aarch64-pauth.exp: New file.
3102
3103 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3104
3105 * README (Re-running Tests Outside The Testsuite): New section.
3106
3107 2019-05-21 Tom de Vries <tdevries@suse.de>
3108
3109 * gdb.arch/amd64-eval.exp: Require c++11.
3110 * gdb.base/max-depth.exp: Same.
3111 * gdb.compile/compile-cplus-array-decay.exp: Same.
3112 * gdb.cp/meth-typedefs.exp: Same.
3113 * gdb.cp/subtypes.exp: Same.
3114 * gdb.cp/temargs.exp: Same.
3115
3116 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3117
3118 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3119
3120 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3121
3122 PR gdb/18644
3123 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3124 * gdb.fortran/printing-types.exp: Add new test.
3125 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3126 testing.
3127 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3128 setup_kfail call.
3129
3130 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3131
3132 * README (Running the Testsuite): Change example.
3133 (Testsuite Parameters): Remove TRANSCRIPT.
3134 * lib/gdb.exp: Remove TRANSCRIPT check.
3135
3136 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3137
3138 * README (Testsuite Parameters): Add replay logging to
3139 GDBSERVER_DEBUG.
3140 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3141 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3142 as a comma separated list.
3143 (gdb_debug_init): Override procedure.
3144
3145 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3146
3147 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3148 (gdb_write_cmd_file): New procedure.
3149 * lib/gdbserver-support.exp (gdbserver_start): Call
3150 gdbserver_write_cmd_file.
3151 (gdbserver_write_cmd_file): New procedure.
3152
3153 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3154
3155 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3156 (delete_breakpoints): Likewise.
3157 (gdb_run_cmd): Likewise.
3158 (gdb_start_cmd): Likewise.
3159 (gdb_starti_cmd): Likewise.
3160 (gdb_internal_error_resync): Likewise.
3161 (gdb_test_multiple): Likewise.
3162 (gdb_reinitialize_dir): Likewise.
3163 (default_gdb_exit): Likewise.
3164 (gdb_file_cmd): Mark kill as optional.
3165 (default_gdb_start): Call gdb_stdin_log_init.
3166 (send_gdb): Call gdb_stdin_log_write.
3167 (rerun_to_main): Mark Y as an answer.
3168 (gdb_stdin_log_init): New function.
3169 (gdb_stdin_log_write): Likewise.
3170
3171 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3172
3173 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3174 * gdb.base/debug-expr.exp: Likewise.
3175 * gdb.base/foll-fork.exp: Likewise.
3176 * gdb.base/foll-vfork.exp: Likewise.
3177 * gdb.base/fork-print-inferior-events.exp: Likewise.
3178 * gdb.base/gdb-sigterm.exp: Likewise.
3179 * gdb.base/gdbinit-history.exp: Likewise.
3180 * gdb.base/osabi.exp: Likewise.
3181 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3182 * gdb.base/ui-redirect.exp: Likewise.
3183 * gdb.gdb/unittest.exp: Likewise.
3184 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3185 * gdb.mi/mi-watch.exp: Likewise.
3186 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3187 * gdb.mi/user-selected-context-sync.exp: Likewise.
3188 * gdb.python/python.exp: Disable debug test when debugging.
3189 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3190 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3191 Likewise.
3192 * gdb.threads/stepi-random-signal.exp: Likewise.
3193
3194 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3195
3196 * Makefile.in: Pass through GDB_DEBUG.
3197 * README (Testsuite Parameters): Add GDB_DEBUG.
3198 (gdb,debug): Add board setting.
3199 * lib/gdb.exp (default_gdb_start): Start debugging.
3200 (gdb_debug_enabled): New procedure.
3201 (gdb_debug_init): Likewise.
3202
3203 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3204
3205 * Makefile.in: Pass through GDB_DEBUG.
3206 * README (Testsuite Parameters): Add GDB_DEBUG.
3207 (gdb,debug): Add board setting.
3208 * lib/gdb.exp (default_gdb_start): Start debugging.
3209 (gdb_debug_enabled): New procedure.
3210 (gdb_debug_init): Likewise.
3211
3212 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3213
3214 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3215
3216 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3217
3218 * gdb.base/ui-redirect.exp: Test redirection.
3219
3220 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3221
3222 * gdb.mi/mi-complete.exp: New file.
3223 * gdb.mi/mi-complete.cc: Likewise.
3224
3225 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3226
3227 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3228 indexed and sliced arrays, and pointers to arrays.
3229
3230 2019-05-14 Tom Tromey <tromey@adacore.com>
3231
3232 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3233 styling test.
3234
3235 2019-05-14 Tom de Vries <tdevries@suse.de>
3236
3237 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3238 selection entry encoding.
3239
3240 2019-05-10 Tom Tromey <tromey@adacore.com>
3241
3242 * gdb.ada/info_exc.exp: Add "complete" test.
3243
3244 2019-05-09 Tom de Vries <tdevries@suse.de>
3245
3246 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3247 CU-relative.
3248
3249 2019-05-09 Tom de Vries <tdevries@suse.de>
3250
3251 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3252 CU-relative.
3253
3254 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3255
3256 * gdb.ada/frame_arg_lang.exp: New testcase.
3257 * gdb.ada/frame_arg_lang/bla.adb: New file.
3258 * gdb.ada/frame_arg_lang/pck.ads: New file.
3259 * gdb.ada/frame_arg_lang/pck.adb: New file.
3260 * gdb.ada/frame_arg_lang/foo.c: New file.
3261
3262 2019-05-08 Tom Tromey <tromey@adacore.com>
3263
3264 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3265
3266 2019-05-08 Tom Tromey <tromey@adacore.com>
3267
3268 * gdb.base/ptype-offsets.exp: Update tests.
3269
3270 2019-05-08 Tom Tromey <tromey@adacore.com>
3271
3272 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3273 cases.
3274 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3275 "short".
3276
3277 2019-05-08 Tom Tromey <tromey@adacore.com>
3278
3279 * gdb.ada/vla.exp: New file.
3280 * gdb.ada/vla/vla.adb: New file.
3281
3282 2019-05-07 Tom de Vries <tdevries@suse.de>
3283
3284 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3285
3286 2019-05-07 Tom de Vries <tdevries@suse.de>
3287
3288 PR testsuite/24522
3289 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3290 section.
3291
3292 2019-05-07 Tom de Vries <tdevries@suse.de>
3293
3294 PR testsuite/24522
3295 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3296 .debug_aranges section.
3297
3298 2019-05-07 Tom de Vries <tdevries@suse.de>
3299
3300 PR testsuite/24159
3301 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3302
3303 2019-05-06 Tom de Vries <tdevries@suse.de>
3304
3305 * lib/gdb.exp (exec_has_index_section): New proc.
3306 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3307 section.
3308
3309 2019-05-04 Tom de Vries <tdevries@suse.de>
3310
3311 * boards/cc-with-debug-names.exp: New file.
3312
3313 2019-05-03 Tom Tromey <tromey@adacore.com>
3314
3315 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3316 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3317 * gdb.ada/char_enum.exp: Add test.
3318
3319 2019-05-03 Tom de Vries <tdevries@suse.de>
3320
3321 * boards/cc-with-gdb-index.exp: New file.
3322
3323 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3324
3325 * gdb.rust/simple.exp: Add new test case.
3326 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3327 (main): Initialise an instance of the new struct.
3328
3329 2019-05-01 Tom Tromey <tromey@adacore.com>
3330
3331 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3332 record.
3333 (NPR): New variable.
3334 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3335 test.
3336
3337 2019-05-01 Tom Tromey <tromey@adacore.com>
3338
3339 * gdb.ada/packed_array_assign.exp: Add packed assignment
3340 regression test.
3341
3342 2019-05-01 Tom de Vries <tdevries@suse.de>
3343
3344 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3345
3346 2019-05-01 Tom de Vries <tdevries@suse.de>
3347
3348 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3349
3350 2019-04-30 Ali Tamur <tamur@google.com>
3351
3352 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3353
3354 2019-04-30 Tom Tromey <tromey@adacore.com>
3355
3356 * lib/ada.exp (find_ada_tool): New proc.
3357 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3358 * gdb.ada/catch_ex_std.exp: New file.
3359 * gdb.ada/catch_ex_std/foo.adb: New file.
3360 * gdb.ada/catch_ex_std/some_package.adb: New file.
3361 * gdb.ada/catch_ex_std/some_package.ads: New file.
3362
3363 2019-04-30 Tom Tromey <tromey@adacore.com>
3364
3365 PR c++/24470:
3366 * gdb.cp/temargs.cc: Add test code from PR.
3367
3368 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3369
3370 * gdb.fortran/vla-datatypes.exp: Update expected results.
3371 * gdb.fortran/vla-ptype.exp: Likewise.
3372 * gdb.fortran/vla-type.exp: Likewise.
3373 * gdb.fortran/vla-value.exp: Likewise.
3374
3375 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3376
3377 * gdb.fortran/ptr-indentation.exp: Update expected results.
3378 * gdb.fortran/ptype-on-functions.exp: Likewise.
3379 * gdb.fortran/vla-ptr-info.exp: Likewise.
3380 * gdb.fortran/vla-value.exp: Likewise.
3381
3382 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3383
3384 * gdb.fortran/ptype-on-functions.exp: New file.
3385 * gdb.fortran/ptype-on-functions.f90: New file.
3386
3387 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3388
3389 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3390 case void string.
3391
3392 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3393
3394 * gdb.fortran/complex.exp: Expand.
3395 * gdb.fortran/complex.f: Renamed to...
3396 * gdb.fortran/complex.f90: ...this, and extended to add more
3397 complex values.
3398
3399 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3400
3401 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3402 MODULO, CMPLX.
3403
3404 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3405 Richard Bunt <richard.bunt@arm.com>
3406
3407 * gdb.base/max-depth.c: New file.
3408 * gdb.base/max-depth.exp: New file.
3409 * gdb.python/py-nested-maps.c: New file.
3410 * gdb.python/py-nested-maps.exp: New file.
3411 * gdb.python/py-nested-maps.py: New file.
3412 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3413 (test_all_common): Call test_max_depth.
3414 * gdb.fortran/max-depth.exp: New file.
3415 * gdb.fortran/max-depth.f90: New file.
3416 * gdb.go/max-depth.exp: New file.
3417 * gdb.go/max-depth.go: New file.
3418 * gdb.modula2/max-depth.exp: New file.
3419 * gdb.modula2/max-depth.c: New file.
3420 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3421
3422 2019-04-29 Tom de Vries <tdevries@suse.de>
3423
3424 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3425
3426 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3427
3428 * gdb.base/callexit.exp: Test may-call-functions off.
3429
3430 2019-04-25 Keith Seitz <keiths@redhat.com>
3431
3432 PR c++/24367
3433 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3434 (another_incomplete_struct, test_incomplete): New definitions.
3435 (main): Use new definitions.
3436 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3437 functions.
3438
3439 2019-04-25 Ali Tamur <tamur@google.com>
3440
3441 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3442
3443 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3444
3445 PR corefiles/11608
3446 PR corefiles/18187
3447 * gdb.base/coredump-filter-build-id.exp: New file.
3448
3449 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3450
3451 * Makefile.in: Pass through GDBSERVER_DEBUG.
3452 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3453 (gdbserver,debug): Add board setting.
3454 * gdb.trace/tspeed.exp: Skip when debugging.
3455 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3456 * lib/gdbserver-support.exp: Likewise
3457
3458 2019-04-24 Tom Tromey <tromey@adacore.com>
3459
3460 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3461 Rust.
3462
3463 2019-04-24 Tom Tromey <tromey@adacore.com>
3464
3465 * gdb.arch/amd64-eval.exp: Test bitfield return.
3466 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3467 (class Foo) <return_bitfields>: New method.
3468 (main): Call it.
3469
3470 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3471
3472 * gdb.cp/many-args.cc: New file.
3473 * gdb.cp/many-args.exp: New file.
3474
3475 2019-04-23 Tom de Vries <tdevries@suse.de>
3476
3477 PR gdb/24433
3478 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3479
3480 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3481
3482 * gdb.trace/backtrace.exp: Use nopie flag.
3483 * gdb.trace/circ.exp: Likewise.
3484 * gdb.trace/collection.exp: Likewise.
3485 * gdb.trace/ftrace.exp: Likewise.
3486 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3487 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3488 * gdb.trace/qtro.exp: Likewise.
3489 * gdb.trace/read-memory.exp: Likewise.
3490 * gdb.trace/report.exp: Likewise.
3491 * gdb.trace/tfile.exp: Likewise.
3492 * gdb.trace/tfind.exp: Likewise.
3493 * gdb.trace/unavailable.exp: Likewise.
3494
3495 2019-04-22 Pedro Alves <palves@redhat.com>
3496
3497 * gdb.base/solib-probes-nosharedlibrary.c,
3498 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3499
3500 2019-04-19 Tom Tromey <tromey@adacore.com>
3501
3502 * gdb.ada/ptype_union.c: New file.
3503 * gdb.ada/ptype_union.exp: New file.
3504
3505 2019-04-19 Tom Tromey <tromey@adacore.com>
3506
3507 PR symtab/24423:
3508 * gdb.base/list0.h (foo): Add a control-l character.
3509
3510 2019-04-18 Tom de Vries <tdevries@suse.de>
3511
3512 PR gdb/24433
3513 * boards/local-board.exp: Set sysroot to "".
3514
3515 2019-04-18 Tom de Vries <tdevries@suse.de>
3516 Pedro Alves <palves@redhat.com>
3517
3518 PR gdb/24454
3519 * gdb.threads/vfork-follow-child-exec.c: New file.
3520 * gdb.threads/vfork-follow-child-exec.exp: New file.
3521 * gdb.threads/vfork-follow-child-exit.c: New file.
3522 * gdb.threads/vfork-follow-child-exit.exp: New file.
3523
3524 2019-04-15 Leszek Swirski <leszeks@google.com>
3525
3526 * gdb.arch/amd64-eval.cc: New file.
3527 * gdb.arch/amd64-eval.exp: New file.
3528
3529 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3530
3531 * gdb.server/sysroot.c: New test.
3532 * gdb.server/sysroot.exp: New file.
3533 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3534 matching param.
3535
3536 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3537
3538 * gdb.base/align.exp: Extend test to cover structures containing
3539 only static fields.
3540
3541 2019-04-11 Tom de Vries <tdevries@suse.de>
3542
3543 * boards/cc-with-dwz-m.exp: New file.
3544 * boards/cc-with-dwz.exp: New file.
3545 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3546
3547 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3548
3549 * gdb.base/start-cpp.exp: New file.
3550 * gdb.base/start-cpp.cc: New file.
3551
3552 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3553
3554 * gdb.python/py-thrhandle.exp: Adjust tests to call
3555 thread_from_handle instead of thread_from_thread_handle.
3556
3557 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3558
3559 * gdb.python/py-thrhandle.exp: Add tests for
3560 gdb.InferiorThread.handle.
3561
3562 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3563
3564 * gdb.python/py-function.exp: Check calling helper function from
3565 all languages.
3566 * lib/gdb.exp (gdb_supported_languages): New proc.
3567
3568 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3569
3570 * gdb.base/complex-parts.c: New file.
3571 * gdb.base/complex-parts.exp: New file.
3572
3573 2019-04-01 Tom Tromey <tromey@adacore.com>
3574
3575 PR symtab/23331:
3576 * gdb.dwarf2/dw2-ranges-main.c: New file.
3577 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3578 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3579
3580 2019-03-30 Simon Marchi <simark@simark.ca>
3581
3582 * gdb.base/default.exp: Add values for $_gdb_major and
3583 $_gdb_minor.
3584
3585 2019-03-29 Tom Tromey <tromey@adacore.com>
3586
3587 * gdb.base/help.exp: Tighten apropos regexp.
3588
3589 2019-03-29 Keith Seitz <keiths@redhat.com>
3590
3591 * gdb.fortran/array-bounds.exp: New file.
3592 * gdb.fortran/array-bounds.f90: New file.
3593
3594 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3595
3596 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3597
3598 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3599
3600 * gdb.multi/hello.c (main): Increase alarm timer.
3601
3602 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3603
3604 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3605 factor when no hardware watchpoint support.
3606
3607 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3608 Pedro Alves <palves@redhat.com>
3609
3610 * boards/local-board.exp: set sysroot to /.
3611
3612 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3613
3614 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3615 in child.
3616
3617 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3618
3619 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3620 field.
3621 (make_container): Initialise new field.
3622 * gdb.python/py-prettyprint.exp: Add new tests.
3623 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3624 <display_hint>: New method.
3625
3626 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3627
3628 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3629 gdb_continue_to_breakpoint more throughout this test.
3630 (run_lang_tests) Supply unique test names, and use
3631 gdb_test_no_output.
3632
3633 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.base/finish-pretty.exp: Update expected results.
3636 * gdb.base/pretty-print.c: New file.
3637 * gdb.base/pretty-print.exp: New file.
3638
3639 2019-03-25 Pedro Alves <palves@redhat.com>
3640
3641 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3642 move comments outside list. Append '-i "" eof' section.
3643
3644 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3645
3646 PR testsuite/25016
3647 * README: Add pie options.
3648 * gdb.base/break-interp.exp: Ensure pie is disabled.
3649 * gdb.base/dump.exp: Likewise.
3650 * lib/gdb.exp (gdb_compile): Add pie option.
3651
3652 2019-03-19 Tom Tromey <tromey@adacore.com>
3653
3654 * gdb.mi/mi2-cli-display.c: New file.
3655 * gdb.mi/mi2-cli-display.exp: New file.
3656
3657 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3658 Tom Tromey <tromey@adacore.com>
3659
3660 * gdb.ada/ptype_array/pck.adb: New file.
3661 * gdb.ada/ptype_array/pck.ads: New file.
3662 * gdb.ada/ptype_array/foo.adb: New file.
3663 * gdb.ada/ptype_array.exp: New file.
3664
3665 2019-03-14 Tom Tromey <tromey@adacore.com>
3666
3667 * gdb.base/style.exp: Add "set style sources" test.
3668
3669 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3670
3671 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3672 * mi-breakpoint-multiple-locations.exp: ... this.
3673 (make_breakpoints_pattern): New proc.
3674 (do_test): Add mi_version parameter, test -break-insert,
3675 -break-info and =breakpoint-created.
3676
3677 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3678
3679 * config/default.exp: Remove 'load_lib gdb.exp'.
3680 * config/monitor.exp: Likewise.
3681 * config/sid.exp: Likewise.
3682 * config/sim.exp: Likewise.
3683 * config/slite.exp: Likewise.
3684 * config/unix.exp: Likewise.
3685 * gdb.base/default.exp: Remove unhelpful comment.
3686
3687 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3690
3691 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3692
3693 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3694
3695 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3696
3697 * gdb.fortran/type-kinds.exp: Update expected results.
3698
3699 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3700
3701 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3702
3703 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3704
3705 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3706 function.
3707 (test_basic_parsing_of_type_kinds): Expand types tested.
3708 (test_parsing_invalid_type_kinds): New function.
3709
3710 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3711
3712 * gdb.fortran/intrinsics.exp: New file.
3713 * gdb.fortran/intrinsics.f90: New file.
3714 * gdb.fortran/type-kinds.exp: New file.
3715
3716 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3717
3718 * gdb.fortran/dot-ops.exp: New file.
3719
3720 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3721
3722 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3723 Check upper and lower case logical literals.
3724
3725 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3726
3727 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3728 Remove duplicate tests.
3729
3730 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3731
3732 * lib/gdb.exp (builtin_cd): rename of cd.
3733 (cd): Override builtin.
3734
3735 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3736
3737 * gdb.fortran/function-calls.exp: New file.
3738 * gdb.fortran/function-calls.f90: New test.
3739
3740 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3741
3742 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3743 on user program standard output.
3744 * gdb.fortran/short-circuit-argument-list.f90: Record function
3745 calls.
3746
3747 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3748
3749 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3750 failure.
3751
3752 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3753
3754 PR gdb/8527
3755 * gdb.base/interrupt-daemon-attach.c,
3756 gdb.base/interrupt-daemon-attach.exp: New test.
3757
3758 2019-02-27 Pedro Alves <palves@redhat.com>
3759
3760 * gdb.base/page.exp: Add tests for "set width/height -1".
3761
3762 2019-02-27 Pedro Alves <palves@redhat.com>
3763
3764 * gdb.base/page.exp: Add tests for "set/show width/height" with
3765 "infinite" values.
3766
3767 2019-02-27 Tom Tromey <tromey@adacore.com>
3768
3769 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3770 2.4.
3771 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3772 workaround.
3773
3774 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3777 tests for structs with static members.
3778
3779 2019-02-26 Tom Tromey <tromey@adacore.com>
3780
3781 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3782 ValueError, not TypeError.
3783
3784 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3785
3786 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3787 call from main program.
3788
3789 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3790
3791 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3792 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3793 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3794 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3795 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3796
3797 2019-02-22 Keith Seitz <keiths@redhat.com>
3798
3799 PR symtab/23853
3800 * gdb.base/symlink-sourcefile.c: New file.
3801 * gdb.base/symlink-sourcefile.exp: New file.
3802
3803 2019-02-20 Tom Tromey <tom@tromey.com>
3804
3805 * gdb.base/info_qt.exp: Update.
3806
3807 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3808
3809 * gdb.base/source.exp: Move "error in sourced script" code to
3810 the end.
3811 * gdb.base/source-error.gdb: Move contents to
3812 source-error-1.gdb. Add new code to source source-error-1.gdb.
3813 * gdb.base/source-error-1.gdb: New file, from previous
3814 source-error.gdb.
3815
3816 2019-02-17 Tom Tromey <tom@tromey.com>
3817
3818 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3819 for macro styling.
3820 * gdb.base/style.c (SOME_MACRO): New macro.
3821
3822 2019-02-17 Tom Tromey <tom@tromey.com>
3823
3824 * gdb.base/style.exp: Add line-wrapping tests.
3825 * gdb.base/page.exp: Add test for quitting during pagination.
3826
3827 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3828
3829 * gdb.ada/big_packed_array: New testcase.
3830 * gdb.ada/homonym.exp: Fix incorrect expected output for
3831 "break <homonym__get_value>" test.
3832
3833 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3834
3835 PR breakpoints/21870
3836 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3837 and prepare_for_testing. Add comment.
3838 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3839 redundant cleanup call. Clean up comment.
3840
3841 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3842
3843 PR breakpoints/21870
3844 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3845 * gdb.arch/aarch64-dbreg-contents.c: New file.
3846
3847 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.ada/mi_ref_changeable: New testcase.
3850
3851 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3852
3853 * gdb.base/attach.exp: Add double attach test.
3854
3855 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3856
3857 * lib/gdb.exp (default_gdb_start): Don't match pagination
3858 prompt.
3859 (gdb_init): Set stty_init.
3860
3861 2019-01-27 Tom Tromey <tom@tromey.com>
3862
3863 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3864 skip_python_tests.
3865
3866 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3867
3868 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3869 New structure.
3870 (struct struct_static_02_02): Likewise.
3871 (struct struct_static_02_03): Likewise.
3872 (struct struct_static_02_04): Likewise.
3873 (struct struct_static_04_01): Likewise.
3874 (struct struct_static_04_02): Likewise.
3875 (struct struct_static_04_03): Likewise.
3876 (struct struct_static_04_04): Likewise.
3877 (struct struct_static_06_01): Likewise.
3878 (struct struct_static_06_02): Likewise.
3879 (struct struct_static_06_03): Likewise.
3880 (struct struct_static_06_04): Likewise.
3881 (cmp_struct_static_02_01): Likewise.
3882 (cmp_struct_static_02_02): Likewise.
3883 (cmp_struct_static_02_03): Likewise.
3884 (cmp_struct_static_02_04): Likewise.
3885 (cmp_struct_static_04_01): Likewise.
3886 (cmp_struct_static_04_02): Likewise.
3887 (cmp_struct_static_04_03): Likewise.
3888 (cmp_struct_static_04_04): Likewise.
3889 (cmp_struct_static_06_01): Likewise.
3890 (cmp_struct_static_06_02): Likewise.
3891 (cmp_struct_static_06_03): Likewise.
3892 (cmp_struct_static_06_04): Likewise.
3893 (call_all): Test new structs.
3894 * gdb.base/infcall-nested-structs.exp: Likewise.
3895
3896 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3897 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3898
3899 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3900 * gdb.base/stack-protector.c: New test.
3901 * gdb.base/stack-protector.exp: New file.
3902 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3903 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3904 option.
3905 (gdb_compile): Remove stack protector for GCC and prevent
3906 recursion.
3907
3908 2019-01-16 Keith Seitz <keiths@redhat.com>
3909
3910 PR gdb/23773
3911 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3912
3913 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3914
3915 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3916 aliases.
3917 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3918 tests.
3919 * gdb.arch/powerpc-vector-regs.c: New file.
3920 * gdb.arch/powerpc-vector-regs.exp: New file.
3921
3922 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3923
3924 * gdb.arch/altivec-regs.exp: Fix the list passed to
3925 gdb_expect_list when testing "info vector".
3926
3927 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3928
3929 * gdb.base/style.exp: Don't include path in testname.
3930
3931 2019-01-10 Keith Seitz <keiths@redhat.com>
3932
3933 PR gdb/23712
3934 PR symtab/23010
3935 * gdb.dwarf2/multidictionary.exp: New file.
3936
3937 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3938
3939 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3940 (test_gnuv3_style_demangling): ... this.
3941 (test_lucid_style_demangling): Remove.
3942 (test_arm_style_demangling): Remove.
3943 (test_hp_style_demangling): Remove.
3944 (do_tests): Remove calls to the above.
3945
3946 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3949 case.
3950
3951 2019-01-06 Tom Tromey <tom@tromey.com>
3952
3953 PR gdb/28155:
3954 * gdb.dwarf2/typedef-void-finish.exp: New file.
3955
3956 2018-12-28 Tom Tromey <tom@tromey.com>
3957 Simon Marchi <simark@simark.ca>
3958
3959 * gdb.base/jit-exec.exp: New file.
3960 * gdb.base/jit-exec.c: New file.
3961 * gdb.base/jit-execd.c: New file.
3962
3963 2018-12-28 Tom Tromey <tom@tromey.com>
3964
3965 * gdb.base/style.exp: Update test to check for address styling.
3966
3967 2018-12-28 Tom Tromey <tom@tromey.com>
3968
3969 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3970 message.
3971
3972 2018-12-28 Tom Tromey <tom@tromey.com>
3973
3974 * gdb.base/style.exp: Add test for version number styling.
3975
3976 2018-12-28 Tom Tromey <tom@tromey.com>
3977
3978 * gdb.base/style.exp: Add test for print_address_symbolic.
3979
3980 2018-12-28 Tom Tromey <tom@tromey.com>
3981
3982 * gdb.base/style.exp: Add test for breakpoint setting.
3983
3984 2018-12-28 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.base/style.exp: Add test for variable names.
3987
3988 2018-12-28 Tom Tromey <tom@tromey.com>
3989
3990 * gdb.base/style.exp: New file.
3991 * gdb.base/style.c: New file.
3992
3993 2018-12-28 Tom Tromey <tom@tromey.com>
3994
3995 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3996 "dumb".
3997 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3998 the TERM environment variable.
3999
4000 2018-12-27 Tom Tromey <tom@tromey.com>
4001
4002 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4003 pagination test.
4004
4005 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4006
4007 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4008 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4009
4010 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4011
4012 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4013 Filename a.adb changed to bp_fun_addr.adb.
4014 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4015
4016 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4017
4018 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4019 non-PIE executables.
4020 * README: Mention the gdb,nopie_flag board setting.
4021 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4022 non-PIE executable.
4023 * gdb.arch/amd64-entry-value.exp: Likewise.
4024 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4025 * gdb.arch/i386-float.exp: Likewise.
4026 * gdb.arch/i386-signal.exp: Likewise.
4027 * gdb.mi/mi-reg-undefined.exp: Likewise.
4028
4029 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4030
4031 PR gdb/23974
4032 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4033
4034 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4035
4036 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4037 Update order of results accordingly.
4038
4039 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4040
4041 * gdb.base/annota1.exp: Update a test regexp.
4042
4043 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4044
4045 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4046
4047 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4048
4049 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4050 (reuse_time): Initialize to REUSE_TIME_CAP.
4051 (check_rc): New function.
4052 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4053 Check pthread_create rc.
4054 (spawner_thread_func): Check pthread_create and pthread_join rc.
4055
4056 2018-12-08 Pedro Alves <palves@redhat.com>
4057
4058 * gdb.base/list.exp (test_forward_search): Rename to ...
4059 (test_forward_reverse_search): ... this. Also test reverse-search
4060 and the forward-search alias.
4061
4062 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4063
4064 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4065 local timeout variable before return, and remove all local timeout
4066 variable entirely.
4067 (gdb_load): Likewise.
4068
4069 2018-12-01 Tom de Vries <tdevries@suse.de>
4070
4071 * gdb.base/gdb-caching-proc.exp: New file.
4072
4073 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4074
4075 * Makefile.in (TIMESTAMP): New variable.
4076 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4077 command.
4078 (check-single-racy): Likewise.
4079 (check/%.exp): Likewise.
4080 (check-racy/%.exp): Likewise.
4081 (workers/%.worker): Likewise.
4082 (build-perf): Likewise.
4083 (check-perf): Likewise.
4084 * README: Describe new "TS" and "TS_FORMAT" variables.
4085 * print-ts.py: New file.
4086
4087 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4088
4089 PR python/23714
4090 * gdb.python/python.exp: Test command repetition after
4091 gdb.execute.
4092
4093 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4094
4095 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4096 is correctly aligned.
4097
4098 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4099
4100 * gdb.ada/info_auto_lang.exp: New testcase.
4101 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4102 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4103 * gdb.ada/info_auto_lang/some_c.c: New file.
4104
4105 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4106
4107 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4108 FUNC_lang language syntax.
4109
4110 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4111
4112 * gdb.base/info_minsym.c: New file.
4113 * gdb.base/info_minsym.exp: New file.
4114
4115 2018-11-19 Tom Tromey <tom@tromey.com>
4116
4117 PR rust/23625:
4118 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4119 * gdb.rust/expr.exp: Update expected output. Change one test.
4120
4121 2018-11-19 Tom Tromey <tom@tromey.com>
4122
4123 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4124
4125 2018-11-19 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4128 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4129 see the expected warning.
4130
4131 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4132
4133 PR gdb/22736:
4134 * gdb.cp/infcall-nodebug-lib.c: New test.
4135 * gdb.cp/infcall-nodebug-main.c: New test.
4136 * gdb.cp/infcall-nodebug.exp: New file.
4137
4138 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4139
4140 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4141 completer tests.
4142
4143 2018-11-09 Tom de Vries <tdevries@suse.de>
4144
4145 * gdb.base/msym-lang.c: New test.
4146 * gdb.base/msym-lang.exp: New file.
4147 * gdb.base/msym-lang-main.c: New test.
4148
4149 2018-11-08 Tom Tromey <tom@tromey.com>
4150
4151 PR gdb/23555:
4152 PR gdb/23838:
4153 * gdb.base/warning.exp: New file.
4154
4155 2018-11-08 Jan Beulich <jbeulich@suse.com>
4156
4157 * testsuite/gdb.arch/i386-avx512.c,
4158 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4159
4160 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4161
4162 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4163 point hardware.
4164
4165 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4166
4167 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4168 * gdb.dwarf2/missing-type-name.exp: New file.
4169
4170 2018-11-06 Tom de Vries <tdevries@suse.de>
4171
4172 * gdb.base/many-headers.c: New test.
4173 * gdb.base/many-headers.exp: New file.
4174
4175 2018-11-06 Jim Wilson <jimw@sifive.com>
4176
4177 * gdb.base/code_elim.exp: For riscv, set additional_flags
4178 to include -msmall-data-limit=0.
4179
4180 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4181
4182 * gdb.ada/watch_minus_l: New testcase.
4183
4184 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4185
4186 * gdb.arch/aix-sighandle.c: New file.
4187 * gdb.arch/aix-sighandle.exp: New file.
4188
4189 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4190
4191 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4192 registers being unions.
4193
4194 2018-10-31 Tom de Vries <tdevries@suse.de>
4195
4196 * lib/valgrind.exp: New file.
4197 (vgdb_start, vgdb_stop): New procs, factored out of ...
4198 * gdb.base/valgrind-bt.exp: ... here, ...
4199 * gdb.base/valgrind-disp-step.exp: ... here and ...
4200 * gdb.base/valgrind-infcall.exp: ... here.
4201
4202 2018-10-31 Tom de Vries <tdevries@suse.de>
4203
4204 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4205
4206 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4207
4208 * gdb.dwarf2/void-type.c: New file.
4209 * gdb.dwarf2/void-type.exp: New file.
4210
4211 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4212
4213 * gdb.base/info_qt.c: New file.
4214 * gdb.base/info_qt.exp: New file.
4215
4216 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4217
4218 * gdb.arch/powerpc-htm-regs.c: New file.
4219 * gdb.arch/powerpc-htm-regs.exp: New file.
4220
4221 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4222
4223 * gdb.arch/powerpc-tar.c: New file.
4224 * gdb.arch/powerpc-tar.exp: New file.
4225
4226 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4227
4228 * gdb.arch/powerpc-ppr-dscr.c: New file.
4229 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4230
4231 2018-10-25 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4234
4235 2018-10-24 Tom de Vries <tdevries@suse.de>
4236
4237 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4238 longer exists error.
4239
4240 2018-10-24 Tom de Vries <tdevries@suse.de>
4241
4242 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4243
4244 2018-10-24 Tom de Vries <tdevries@suse.de>
4245
4246 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4247 --db-attach in valgrind.
4248
4249 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4250
4251 * gdb.arch/riscv-reg-aliases.c: New file.
4252 * gdb.arch/riscv-reg-aliases.exp: New file.
4253
4254 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4255
4256 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4257
4258 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4259
4260 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4261
4262 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4263
4264 * gdb.cp/ovldbreak.exp: Fix regexps.
4265
4266 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4267
4268 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4269
4270 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4271
4272 PR cli/23785
4273 * gdb.base/restore.exp: New test to check if "restore" with an
4274 invalid file doesn't segfault.
4275
4276 2018-10-18 Tom de Vries <tdevries@suse.de>
4277
4278 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4279 * gdb.ada/excep_handle.exp: Same.
4280 * gdb.ada/mi_string_access.exp: Same.
4281 * gdb.ada/mi_var_union.exp: Same.
4282 * gdb.arch/arc-analyze-prologue.exp: Same.
4283 * gdb.arch/arc-decode-insn.exp: Same.
4284 * gdb.base/readnever.exp: Same.
4285 * gdb.fortran/printing-types.exp: Same.
4286 * gdb.guile/scm-lazy-string.exp: Same.
4287
4288 2018-10-16 Tom de Vries <tdevries@suse.de>
4289
4290 PR gdb/23730
4291 * gdb.base/catch-follow-exec.c: Add copyright notice.
4292 * gdb.base/catch-follow-exec.exp: Rewrite to use
4293 gdb_spawn_with_cmdline_opts. Require gdb-native.
4294
4295 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4296
4297 * gdb.trace/actions-changed.exp: Check for arch support.
4298 * gdb.trace/actions.exp: Likewise.
4299 * gdb.trace/ax.exp: Likewise.
4300 * gdb.trace/backtrace.exp: Likewise.
4301 * gdb.trace/change-loc.exp: Likewise.
4302 * gdb.trace/deltrace.exp: Likewise.
4303 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4304 * gdb.trace/ftrace.exp: Likewise.
4305 * gdb.trace/infotrace.exp: Check for arch support.
4306 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4307 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4308 * gdb.trace/mi-tsv-changed.exp: Likewise.
4309 * gdb.trace/packetlen.exp: Likewise.
4310 * gdb.trace/passc-dyn.exp: Likewise.
4311 * gdb.trace/passcount.exp: Likewise.
4312 * gdb.trace/pending.exp: Likewise.
4313 * gdb.trace/range-stepping.exp: Check for shlib support.
4314 * gdb.trace/report.exp: Check for arch support.
4315 * gdb.trace/save-trace.exp: Likewise.
4316 * gdb.trace/signal.exp: Check for signal support.
4317 * gdb.trace/tfind.exp: Check for arch support.
4318 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4319 * gdb.trace/trace-common.h: Add comment.
4320 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4321 * gdb.trace/trace-enable-disable.exp: Likewise.
4322 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4323 * gdb.trace/tracecmd.exp: Check for arch support.
4324 * gdb.trace/tspeed.exp: Check for shlib and target support.
4325 * gdb.trace/tstatus.exp: Check for arch support.
4326 * gdb.trace/tsv.exp: Likewise.
4327 * gdb.trace/while-dyn.exp: Likewise.
4328 * gdb.trace/while-stepping.exp: Likewise.
4329 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4330
4331 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4332
4333 * gdb.trace/tspeed.exp: Remove nowarnings.
4334 (prepare_for_trace_test): Declare "global ipalib".
4335 * gdb.trace/tspeed.c: Include unistd.h.
4336 (main): Remove superfluous printf argument.
4337
4338 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4339
4340 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4341 directory prefix on the filename.
4342
4343 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4344
4345 * gdb.gdb/unittest.exp: Update expected message informing that
4346 selftests have been disabled.
4347 * gdb.server/unittest.exp: Likewise.
4348
4349 2018-10-09 Tom de Vries <tdevries@suse.de>
4350
4351 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4352 with runto_main.
4353
4354 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4355
4356 PR c++/16841
4357 * gdb.cp/virtbase2.cc: New file.
4358 * gdb.cp/virtbase2.exp: New file.
4359
4360 2018-10-06 Tom Tromey <tom@tromey.com>
4361
4362 PR python/19399:
4363 * gdb.python/py-inferior.exp: Add architecture test.
4364
4365 2018-10-06 Tom Tromey <tom@tromey.com>
4366
4367 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4368 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4369
4370 2018-10-06 Tom Tromey <tom@tromey.com>
4371
4372 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4373 of a "throw" catchpoint.
4374
4375 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4376
4377 * gdb.base/info-proc.exp: Update string expected from "help info
4378 proc".
4379
4380 2018-10-04 Tom Tromey <tom@tromey.com>
4381
4382 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4383 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4384 (test_initial_complaints, test_empty_complaints): Update.
4385 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4386
4387 2018-10-04 Tom Tromey <tom@tromey.com>
4388
4389 PR cli/19551:
4390 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4391 * lib/gdb.exp (gdb_file_cmd): Update.
4392 * gdb.stabs/weird.exp (print_weird_var): Update.
4393 * gdb.server/solib-list.exp: Update.
4394 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4395 * gdb.mi/mi-cli.exp: Update.
4396 * gdb.linespec/linespec.exp: Update.
4397 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4398 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4399 * gdb.cp/cp-relocate.exp: Update.
4400 * gdb.base/sym-file.exp: Update.
4401 * gdb.base/relocate.exp: Update.
4402 * gdb.base/readnever.exp: Update.
4403 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4404 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4405 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4406 * gdb.base/code_elim.exp: Update.
4407 * gdb.base/break-unload-file.exp (test_break): Update.
4408 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4409 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4410 Update.
4411 * gdb.base/attach.exp (do_attach_tests): Update.
4412 * gdb.base/sepdebug.exp: Update.
4413 * gdb.python/py-section-script.exp: Update.
4414
4415 2018-10-04 Tom Tromey <tom@tromey.com>
4416
4417 PR cli/22234:
4418 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4419 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4420 output.
4421
4422 2018-10-04 Tom Tromey <tom@tromey.com>
4423
4424 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4425 set width and height to 0.
4426 (test_command_line_attach_run): Use -quiet.
4427
4428 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4429
4430 * lib/gdb.exp (skip_ifunc_tests): New.
4431 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4432 other compile failures.
4433 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4434
4435 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4436
4437 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4438 is_amd64_regs_target.
4439
4440 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4441
4442 * gdb.arch/aarch64-sighandler-regs.c: New test.
4443 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4444 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4445
4446 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4447
4448 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4449 assembly.
4450
4451 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 * gdb.base/frame-selection.exp: New file.
4454 * gdb.base/frame-selection.c: New file.
4455
4456 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4457
4458 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4459 pthread barrier.
4460 (main): Likewise.
4461
4462 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 * gdb.base/large-frame-1.c: New file.
4465 * gdb.base/large-frame-2.c: New file.
4466 * gdb.base/large-frame.exp: New file.
4467 * gdb.base/large-frame.h: New file.
4468
4469 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4470
4471 PR gdb/20948
4472 * gdb.base/write_mem.exp: New test.
4473 * gdb.base/write_mem.c: Likewise.
4474
4475 2018-09-23 Tom Tromey <tom@tromey.com>
4476
4477 PR python/18852:
4478 * gdb.python/py-parameter.exp: Add test for parameter that throws
4479 on "set".
4480
4481 2018-09-23 Tom Tromey <tom@tromey.com>
4482
4483 PR python/17284:
4484 * gdb.python/py-template.exp (test_template_arg): Add test for
4485 negative template argument number.
4486
4487 2018-09-23 Tom Tromey <tom@tromey.com>
4488
4489 PR python/14062:
4490 * gdb.python/python.exp: Add test for post_event error.
4491
4492 2018-09-23 Tom Tromey <tom@tromey.com>
4493
4494 PR python/18170:
4495 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4496 convert pointers to int and long.
4497
4498 2018-09-23 Tom Tromey <tom@tromey.com>
4499
4500 PR python/20126:
4501 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4502 signed-ness conversion tests.
4503
4504 2018-09-23 Tom Tromey <tom@tromey.com>
4505
4506 PR python/18352;
4507 * gdb.python/py-value.exp (test_float_conversion): New proc.
4508 Use it.
4509
4510 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4511
4512 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4513
4514 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4515
4516 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4517 no readline.
4518 * gdb.base/utf8-identifiers.exp: Likewise.
4519 * gdb.cp/cpcompletion.exp: Likewise.
4520 * gdb.linespec/cpcompletion.exp: Likewise.
4521 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4522 * gdb.linespec/cpls-ops.exp: Likewise.
4523
4524 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4525 Chris January <chris.january@arm.com>
4526
4527 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4528 * gdb.fortran/short-circuit-argument-list.exp: New file.
4529 * gdb.fortran/short-circuit-argument-list.f90: New test.
4530
4531 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4532
4533 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4534 "arch=" keyword when executing "-stack-list-frames".
4535
4536 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4539 "arch=" keyword when executing "-stack-list-frames".
4540
4541 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4542
4543 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4544 break ada".
4545
4546 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4547
4548 PR python/23669
4549 * gdb.python/python.exp: Test gdb.execute("show commands").
4550
4551 2018-09-16 Tom Tromey <tom@tromey.com>
4552
4553 * gdb.base/new-ui.exp (do_execution_tests): Update.
4554 * gdb.base/dbx.exp (test_breakpoints): Update.
4555
4556 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4557
4558 * lib/gdb.exp (gdb_simple_compile): Add proc.
4559 (is_elf_target): Use gdb_simple_compile.
4560 (skip_altivec_tests): Likewise.
4561 (skip_vsx_tests): Likewise.
4562 (skip_tsx_tests): Likewise.
4563 (skip_btrace_tests): Likewise.
4564 (skip_btrace_pt_tests): Likewise.
4565 (gdb_can_simple_compile): Likewise.
4566 (gdb_has_argv0): Likewise.
4567 (gdb_target_symbol_prefix): Likewise.
4568 (target_supports_scheduler_locking): Likewise.
4569
4570 2018-09-13 Tom Tromey <tom@tromey.com>
4571
4572 * Makefile.in (TAGS): Recognize proc_with_prefix and
4573 gdb_caching_proc.
4574
4575 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4576
4577 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4578 method.
4579
4580 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4581
4582 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4583 and a few other Inferior properties when the Inferior is no
4584 longer valid.
4585
4586 2018-09-13 Tom Tromey <tom@tromey.com>
4587
4588 PR rust/23650:
4589 * gdb.rust/simple.exp: Add test for enum field access error.
4590
4591 2018-09-13 Tom Tromey <tom@tromey.com>
4592
4593 PR rust/23626:
4594 * gdb.rust/simple.rs (EmptyEnum): New type.
4595 (main): Use it.
4596 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4597
4598 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4599
4600 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4601 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4602 * gdb.python/py-symtab.exp: Update test printing an objfile.
4603
4604 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4605
4606 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4607 object.
4608
4609 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4610
4611 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4612 (support_complex_tests): Use gdb_can_simple_compile.
4613 (is_ilp32_target): Likewise.
4614 (is_lp64_target): Likewise.
4615 (is_64_target): Likewise.
4616 (is_amd64_regs_target): Likewise.
4617 (is_aarch32_target): Likewise.
4618 (gdb_int128_helper): Likewise.
4619
4620 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4621
4622 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4623
4624 2018-09-10 Jerome Guitton <guitton@adacore.com>
4625
4626 * gdb.ada/same_component_name: Add test for case of tagged record
4627 with variable-length fields.
4628
4629 2018-09-10 Xavier Roirand <roirand@adacore.com>
4630
4631 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4632 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4633 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4634 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4635
4636 2018-09-10 Xavier Roirand <roirand@adacore.com>
4637
4638 * gdb.ada/mi_string_access.exp: New testcase.
4639 * gdb.ada/mi_string_access/bar.adb: New file.
4640 * gdb.ada/mi_string_access/pck.adb: New file.
4641 * gdb.ada/mi_string_access/pck.asd: New file.
4642
4643 2018-09-10 Xavier Roirand <roirand@adacore.com>
4644
4645 * gdb.ada/mi_var_union.exp: New testcase.
4646 * gdb.ada/mi_var_union/bar.adb: New file.
4647 * gdb.ada/mi_var_union/pck.adb: New file.
4648 * gdb.ada/mi_var_union/pck.asd: New file.
4649
4650 2018-09-08 Tom Tromey <tom@tromey.com>
4651
4652 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4653
4654 2018-09-08 Tom Tromey <tom@tromey.com>
4655
4656 PR python/16047:
4657 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4658 (register_pretty_printers): Register new printer.
4659 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4660 test.
4661 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4662 (an_int_type3): New global.
4663
4664 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4665
4666 * gdb.ada/expr_with_funcall: New testcase.
4667
4668 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4669
4670 * gdb.ada/packed_array_assign: New testcase.
4671
4672 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4673
4674 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4675 names, and add test prefixes to make test names unique.
4676
4677 2018-09-05 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.dwarf2/varval.exp: Add test.
4680
4681 2018-09-04 Gary Benson <gbenson@redhat.com>
4682
4683 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4684 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4685
4686 2018-08-31 Tom Tromey <tom@tromey.com>
4687
4688 * gdb.rust/simple.rs: Rename second variable "v".
4689
4690 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4691
4692 * gdb.base/funcargs.c (use_a): New function.
4693 (recurse): Call use_a.
4694
4695 2018-08-29 Keith Seitz <keiths@redhat.com>
4696
4697 * gdb.compile/compile-cplus-anonymous.cc: New file.
4698 * gdb.compile/compile-cplus-anonymous.exp: New file.
4699 * gdb.compile/compile-cplus-array-decay.cc: New file.
4700 * gdb.compile/compile-cplus-array-decay.exp: New file.
4701 * gdb.compile/compile-cplus-inherit.cc: New file.
4702 * gdb.compile/compile-cplus-inherit.exp: New file.
4703 * gdb.compile/compile-cplus-member.cc: New file.
4704 * gdb.compile/compile-cplus-member.exp: New file.
4705 * gdb.compile/compile-cplus-method.cc: New file.
4706 * gdb.compile/compile-cplus-method.exp: New file.
4707 * gdb.compile/compile-cplus-mod.c: "New" file.
4708 * gdb.compile/compile-cplus-namespace.cc: New file.
4709 * gdb.compile/compile-cplus-namespace.exp: New file.
4710 * gdb.compile/compile-cplus-nested.cc: New file.
4711 * gdb.compile/compile-cplus-nested.exp: New file.
4712 * gdb.compile/compile-cplus-print.c: "New" file.
4713 * gdb.compile/compile-cplus-print.exp: "New" file.
4714 * gdb.compile/compile-cplus-virtual.cc: New file.
4715 * gdb.compile/compile-cplus-virtual.exp: New file.
4716 * gdb.compile/compile-cplus.c: "New" file.
4717 * gdb.compile/compile-cplus.exp: "New" file.
4718 * lib/compile-support.exp: New file.
4719
4720 2018-08-16 Gary Benson <gbenson@redhat.com>
4721
4722 PR gdb/13000:
4723 * gdb.base/batch-exit-status.exp: New file.
4724 * gdb.base/batch-exit-status.good-commands: Likewise.
4725 * gdb.base/batch-exit-status.bad-commands: Likewise.
4726
4727 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4728
4729 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4730 (struct struct02): Likewise.
4731 (struct struct03): Likewise.
4732 (struct struct04): Likewise.
4733 (struct struct_01_01): New struct.
4734 (struct struct_01_02): Likewise.
4735 (struct struct_01_03): Likewise.
4736 (struct struct_01_04): Likewise.
4737 (struct struct_02_01): Likewise.
4738 (struct struct_02_02): Likewise.
4739 (struct struct_02_03): Likewise.
4740 (struct struct_02_04): Likewise.
4741 (struct struct_04_01): Likewise.
4742 (struct struct_04_02): Likewise.
4743 (struct struct_04_03): Likewise.
4744 (struct struct_04_04): Likewise.
4745 (struct struct_05_01): Likewise.
4746 (struct struct_05_02): Likewise.
4747 (struct struct_05_03): Likewise.
4748 (struct struct_05_04): Likewise.
4749 (cmp_struct01): Remove function.
4750 (cmp_struct02): Likewise.
4751 (cmp_struct03): Likewise.
4752 (cmp_struct04): Likewise.
4753 (cmp_struct_01_01): Add Function.
4754 (cmp_struct_01_02): Likewise.
4755 (cmp_struct_01_03): Likewise.
4756 (cmp_struct_01_04): Likewise.
4757 (cmp_struct_02_01): Likewise.
4758 (cmp_struct_02_02): Likewise.
4759 (cmp_struct_02_03): Likewise.
4760 (cmp_struct_02_04): Likewise.
4761 (cmp_struct_04_01): Likewise.
4762 (cmp_struct_04_02): Likewise.
4763 (cmp_struct_04_03): Likewise.
4764 (cmp_struct_04_04): Likewise.
4765 (cmp_struct_05_01): Likewise.
4766 (cmp_struct_05_02): Likewise.
4767 (cmp_struct_05_03): Likewise.
4768 (cmp_struct_05_04): Likewise.
4769 (call_all): Add new structs.
4770 * gdb.base/infcall-nested-structs.exp: Likewise.
4771
4772 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4773
4774 * gdb.python/py-framefilter-mi.exp: Update regexp to
4775 check for "arch" field in frame output.
4776
4777 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4778
4779 * gdb.dwarf2/dw2-ranges-func.c: New file.
4780 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4781
4782 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4783
4784 * gdb.base/term.exp: Compare terminal settings with values from
4785 the inferior.
4786 * gdb.base/term.c: Get and set terminal settings.
4787
4788 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4789
4790 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4791 accommodate new "arch" field in frame output.
4792 * gdb.mi/mi-return.exp: Likewise.
4793 * gdb.mi/mi-stack.exp: Likewise.
4794 * gdb.mi/mi-syn-frame.exp: Likewise.
4795 * gdb.mi/user-selected-context-sync.exp: Likewise.
4796
4797 2018-08-19 Michael Spang <spang@google.com>
4798
4799 PR gdb/11786
4800 * gdb.base/gcore-tls-pie.c: New file.
4801 * gdb.base/gcore-tls-pie.exp: New file.
4802
4803 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4804
4805 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4806 * gdb.dwarf2/varval.c: New file.
4807 * gdb.dwarf2/varval.exp: New file.
4808
4809 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4810
4811 PR gdb/18931
4812 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4813
4814 2018-08-16 Keith Seitz <keiths@redhat.com>
4815
4816 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4817 tests expected to pass.
4818
4819 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4820
4821 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4822 -data-disassemble -a.
4823 (test_disassembly_bogus_args): Likewise.
4824
4825 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4826
4827 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4828
4829 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4830
4831 * gdb.base/vla-optimized-out.exp: Add new test.
4832
4833 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4834
4835 * gdb.base/vla-optimized-out-o3.exp: Delete.
4836 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4837 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4838 deleted tests.
4839
4840 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4841
4842 PR gdb/18050:
4843 * gdb.server/extended-remote-restart.c: New file.
4844 * gdb.server/extended-remote-restart.exp: New file.
4845
4846 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4847
4848 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4849 "set variable index = 42".
4850
4851 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4852
4853 * boards/index-cache-gdb.exp: New file.
4854 * gdb.dwarf2/index-cache.exp: New file.
4855 * gdb.dwarf2/index-cache.c: New file.
4856 * gdb.base/maint.exp: Check if we are using the index cache.
4857
4858 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4859
4860 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4861 MAKEFLAGS.
4862
4863 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4864
4865 * dg-extract-results.sh: Move to toplevel contrib.
4866 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4867 * Makefile.in (check-parallel-racy): Likewise.
4868
4869 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4870
4871 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4872 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4873 tests if the target supports scheduler locking.
4874
4875 2018-08-04 Tom de Vries <tdevries@suse.de>
4876
4877 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4878
4879 2018-08-02 Tom Tromey <tom@tromey.com>
4880
4881 PR symtab/16842.
4882 * gdb.cp/temargs.exp: Test "info address" of a template
4883 parameter.
4884
4885 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4886
4887 * gdb.python/py-mi-var-info-path-expression.c: New file.
4888 * gdb.python/py-mi-var-info-path-expression.py: New file.
4889 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4890
4891 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4892
4893 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4894 error after "cannot resolve name" string.
4895
4896 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4897
4898 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4899 started.
4900 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4901
4902 2018-07-28 Tom de Vries <tdevries@suse.de>
4903
4904 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4905
4906 2018-07-26 Tom de Vries <tdevries@suse.de>
4907
4908 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4909
4910 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4911
4912 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4913 is visible.
4914
4915 2018-07-26 Tom de Vries <tdevries@suse.de>
4916
4917 PR breakpoints/23366
4918 * gdb.base/catch-follow-exec.c: New test.
4919 * gdb.base/catch-follow-exec.exp: New file.
4920
4921 2018-07-25 Tom de Vries <tdevries@suse.de>
4922
4923 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4924 vla-optimized-out.c.
4925
4926 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4927
4928 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4929 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4930
4931 2018-07-20 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4934 NOCLONE macro.
4935 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4936
4937 2018-07-19 Tom de Vries <tdevries@suse.de>
4938
4939 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4940 regular expression.
4941
4942 2018-07-18 Tom de Vries <tdevries@suse.de>
4943
4944 * gdb.base/vla-optimized-out.c: New test.
4945 * gdb.base/vla-optimized-out.exp: New file.
4946
4947 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4948
4949 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4950 message "No address associated with hostname" when gdbserver
4951 cannot resolve the hostname.
4952
4953 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4954
4955 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4956 Add some test prefixes to make tests unique.
4957
4958 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4959
4960 * gdb.base/frameapply.c: New file.
4961 * gdb.base/frameapply.exp: New file.
4962
4963 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4964
4965 * gdb.base/skip.exp: Update expected error message.
4966
4967 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4968 Jan Kratochvil <jan.kratochvil@redhat.com>
4969 Paul Fertser <fercerpav@gmail.com>
4970 Tsutomu Seki <sekiriki@gmail.com>
4971
4972 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4973 parameter.
4974 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4975 by default.
4976 * boards/native-gdbserver.exp: Likewise.
4977 * gdb.server/run-without-local-binary.exp: Improve regexp used
4978 for detecting when a remote debugging connection succeeds.
4979 * gdb.server/server-connect.exp: New file.
4980 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4981 Do not prefix the port number with ":".
4982 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4983 support for detecting and using it. Add '$debughost_gdbserver'
4984 to the list of arguments used to start gdbserver. Handle case
4985 when gdbserver cannot resolve a network name.
4986
4987 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4988
4989 PR c++/23373
4990 * gdb.base/ptype-offsets.cc (struct static_member): New
4991 struct.
4992 (main) <stmember>: New variable.
4993 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4994 with a static member in it.
4995
4996 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4997
4998 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4999 watchpoints enabled and disabled.
5000
5001 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5002
5003 * gdb.base/examine-backward.exp: Still run tests around address
5004 0x0, even if address 0x0 is not readable. Update the pattern for
5005 matching address 0x0 in expected output.
5006
5007 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5008
5009 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5010 malloc/free.
5011
5012 2018-07-04 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5015
5016 2018-07-02 Maciej W. Rozycki <macro@mips.com>
5017
5018 PR tdep/8282
5019 * gdb.arch/mips-disassembler-options.exp: New test.
5020 * gdb.arch/mips-disassembler-options.s: New test source.
5021
5022 2018-06-29 Pedro Alves <palves@redhat.com>
5023
5024 * gdb.threads/names.exp: Adjust expected "info threads" output.
5025
5026 2018-06-29 Pedro Alves <palves@redhat.com>
5027
5028 * gdb.opt/inline-break.exp (line number, address): Add "info
5029 break" tests.
5030
5031 2018-06-29 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5034 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5035 number and address and running to them.
5036
5037 2018-06-29 Richard Bunt <richard.bunt@arm.com>
5038
5039 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5040
5041 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 * lib/compiler.c: Remove executable permission flag.
5044
5045 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5046
5047 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5048 code.
5049 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5050
5051 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5052
5053 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5054
5055 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5056
5057 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5058 address argument is omitted.
5059
5060 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5061
5062 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5063
5064 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5065
5066 PR gdb/21695
5067 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5068 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5069
5070 2018-06-26 Tom Tromey <tom@tromey.com>
5071
5072 PR rust/22574:
5073 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5074 * gdb.rust/simple.rs (struct SimpleLayout): New.
5075
5076 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5077
5078 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5079 "info registers" output.
5080
5081 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5082
5083 * gdb.base/watchpoint-hw-attach.c: New test.
5084 * gdb.base/watchpoint-hw-attach.exp: New file.
5085
5086 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5087
5088 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5089 through /bin/sh.
5090 * boards/dwarf4-gdb-index.exp: Likewise.
5091 * boards/fission-dwp.exp: Likewise.
5092
5093 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5094
5095 * gdb.base/float128.exp: Add comment and improved fail message
5096 to the failure case of "print large128" test.
5097
5098 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5099
5100 * configure.ac: Remove AC_PREREQ.
5101 * configure: Re-generate.
5102
5103 2018-06-19 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5106 (func_extern_caller): New.
5107 (main): Call func_extern_caller.
5108 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5109 logic change.
5110
5111 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5112
5113 PR gdb/16841
5114 * gdb.cp/typedef-base.cc: New file.
5115 * gdb.cp/typedef-base.exp: New file.
5116
5117 2018-06-18 Tom de Vries <tdevries@suse.de>
5118
5119 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5120
5121 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5122 Richard Bunt <Richard.Bunt@arm.com>
5123
5124 * gdb.threads/attach-slow-waitpid.c: New file.
5125 * gdb.threads/attach-slow-waitpid.exp: New file.
5126 * gdb.threads/slow-waitpid.c: New file.
5127
5128 2018-06-14 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.base/fork-running-state.c: Include <errno.h>.
5131 (exit_if_relative_exits): New.
5132 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5133 exits.
5134 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5135 child exits.
5136
5137 2018-06-14 Tom de Vries <tdevries@suse.de>
5138
5139 PR cli/22573
5140 * gdb.base/finish-pretty.c: New test.
5141 * gdb.base/finish-pretty.exp: New file.
5142
5143 2018-06-14 Pedro Alves <palves@redhat.com>
5144
5145 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5146 gdb's expected startup output.
5147
5148 2018-06-14 Pedro Alves <palves@redhat.com>
5149
5150 * lib/selftest-support.exp (selftest_setup): Remove inlined
5151 function handling.
5152
5153 2018-06-14 Tom de Vries <tdevries@suse.de>
5154
5155 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5156 matching of breakpoint printing.
5157
5158 2018-06-13 Tom de Vries <tdevries@suse.de>
5159
5160 PR testsuite/23269
5161 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5162 (fork_child): ... here, and ...
5163 (fork_parent): ... here.
5164
5165 2018-06-12 Tom de Vries <tdevries@suse.de>
5166
5167 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5168
5169 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5170 Stephen Roberts <stephen.roberts@arm.com>
5171
5172 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5173 rewrite test to describe action performed, rather than possible
5174 failure.
5175
5176 2018-06-08 Gary Benson <gbenson@redhat.com>
5177
5178 * gdb.threads/check-libthread-db.exp: New file.
5179 * gdb.threads/check-libthread-db.c: Likewise.
5180
5181 2018-06-05 Tom Tromey <tom@tromey.com>
5182
5183 * gdb.base/default.exp: Update expected "show version" output.
5184
5185 2018-06-05 Tom Tromey <tom@tromey.com>
5186
5187 PR cli/12326:
5188 * gdb.cp/static-print-quit.exp: Update.
5189 * lib/gdb.exp (pagination_prompt): Update.
5190 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5191 * gdb.python/python.exp: Update.
5192
5193 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5194
5195 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5196
5197 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5198
5199 * gdb.ada/bp_fun_addr: New testcase.
5200
5201 2018-06-01 Tom Tromey <tom@tromey.com>
5202
5203 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5204 results.
5205 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5206 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5207 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5208 * gdb.base/maint.exp (maint_pass_if): Update.
5209
5210 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5211
5212 * gdb.base/endian.exp: New test.
5213 * gdb.base/endian.c: New test source.
5214
5215 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5216
5217 PR gdb/23203
5218 * gdb.base/bt-selected-frame.c: New file.
5219 * gdb.base/bt-selected-frame.exp: New file.
5220 * lib/gdb.exp (get_current_frame_number): New function.
5221
5222 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5223 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.threads/tls-core.c: Include <stdlib.h>
5226 (thread_proc): Call `abort'.
5227 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5228 (tls_core_test): New procedure, bits factored out from ...
5229 (top level): ... here. Test both native cores and gcore cores.
5230
5231 2018-05-23 Tom Tromey <tom@tromey.com>
5232
5233 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5234
5235 2018-05-23 Tom Tromey <tom@tromey.com>
5236
5237 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5238 symfile_complaints.
5239 (test_short_complaints): Likewise.
5240 (test_empty_complaints): Likewise.
5241 (test_initial_complaints): Update.
5242
5243 2018-05-23 Tom Tromey <tom@tromey.com>
5244
5245 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5246
5247 2018-05-23 Tom Tromey <tom@tromey.com>
5248
5249 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5250 (test_short_complaints): Update.
5251
5252 2018-05-22 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.base/remote.exp: Only gdb_start after compiling the
5255 testcase. Issue "disconnect" before testing "set remote" command
5256 defaults. Issue clean_restart before running to main.
5257
5258 2018-05-22 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.base/remote.exp: Adjust expected output of "show remote
5261 memory-write-packet-size". Add tests for "set remote
5262 memory-write-packet-size 0" and "set remote
5263 memory-write-packet-size fixed/limit".
5264
5265 2018-05-22 Pedro Alves <palves@redhat.com>
5266
5267 PR gdb/22973
5268 * gdb.base/utf8-identifiers.c: New file.
5269 * gdb.base/utf8-identifiers.exp: New file.
5270
5271 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5272
5273 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5274
5275 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5276
5277 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5278
5279 2018-05-18 Tom Tromey <tom@tromey.com>
5280
5281 * gdb.base/ptype-offsets.exp: Update.
5282
5283 2018-05-17 Keith Seitz <keiths@redhat.com>
5284
5285 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5286 in expected breakpoint stop locations.
5287 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5288 move to proper scope to test variable values.
5289 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5290 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5291 New functions.
5292 (main): Call not_inline_func3.
5293 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5294 inline_func1, inline_func2, and inline_func3. Test that when each
5295 breakpoint is hit, GDB properly reports both the stop location
5296 and the backtrace. Repeat tests for temporary breakpoints.
5297
5298 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5299
5300 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5301 rather then trying to access it in determining whether the PID
5302 of `gdbserver' could have been retrieved.
5303
5304 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5305
5306 * gdb.arch/amd64-init-x87-values.S: New file.
5307 * gdb.arch/amd64-init-x87-values.exp: New file.
5308
5309 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5312
5313 2018-05-04 Tom Tromey <tom@tromey.com>
5314
5315 PR python/22730:
5316 * gdb.python/python.exp: Test multi-line execute.
5317
5318 2018-05-04 Tom Tromey <tom@tromey.com>
5319
5320 PR python/22731:
5321 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5322
5323 2018-05-04 Tom Tromey <tom@tromey.com>
5324
5325 PR gdb/11750:
5326 * gdb.base/define.exp: Test defining a user command inside a user
5327 command.
5328 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5329
5330 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 Pedro Alves <palves@redhat.com>
5332
5333 PR breakpoints/19806 and support for PR external/20207.
5334 * gdb.base/watchpoint-unaligned.c: New file.
5335 * gdb.base/watchpoint-unaligned.exp: New file.
5336
5337 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5338
5339 * gdb.base/maint.exp: Make test names unique, use
5340 test_prefix_command_help to test 'help maint info', and remove
5341 repeated test of 'help maint'.
5342
5343 2018-05-04 Tom Tromey <tom@tromey.com>
5344
5345 PR gdb/22619:
5346 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5347 behavior.
5348
5349 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * gdb.base/maint.exp: Process output from 'maint print registers'
5352 line at a time.
5353
5354 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5355
5356 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5357 timeout.
5358
5359 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5360
5361 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5362 filter pattern.
5363
5364 2018-05-02 Pedro Alves <palves@redhat.com>
5365
5366 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5367 to_log_command renames.
5368 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5369
5370 2018-05-02 Tom Tromey <tom@tromey.com>
5371
5372 * gdb.python/py-parameter.exp: Set test message.
5373
5374 2018-05-02 Tom Tromey <tom@tromey.com>
5375
5376 PR python/20084:
5377 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5378 PARAM_ZUINTEGER_UNLIMITED tests.
5379
5380 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5381
5382 PR rust/23124
5383 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5384 when casting.
5385
5386 2018-04-30 Tom Tromey <tom@tromey.com>
5387
5388 * gdb.python/py-type.exp: Check align attribute.
5389 * gdb.python/py-type.c: New "aligncheck" global.
5390
5391 2018-04-30 Tom Tromey <tom@tromey.com>
5392
5393 PR exp/17095:
5394 * gdb.dwarf2/dw2-align.exp: New file.
5395 * gdb.cp/align.exp: New file.
5396 * gdb.base/align.exp: New file.
5397 * lib/gdb.exp (gdb_int128_helper): New proc.
5398 (has_int128_c, has_int128_cxx): New caching procs.
5399
5400 2018-04-27 Tom Tromey <tom@tromey.com>
5401
5402 PR rust/22545:
5403 * gdb.rust/simple.exp: Add inclusive range tests.
5404
5405 2018-04-26 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5408 ifunc breakpoint locations correctly of ifunc breakpoints set
5409 while the program resolves the ifunc.
5410
5411 2018-04-26 Pedro Alves <palves@redhat.com>
5412
5413 * gdb.base/gnu-ifunc-final.c: New file.
5414 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5415 * gdb.base/gnu-ifunc.exp (executable): Delete.
5416 (staticexecutable): Adjust.
5417 (lib_opts, exec_opts): Delete.
5418 (make_binsuffix, build, set-break): New procedures.
5419 (misc_tests): New, with tests factored out from the top level.
5420 (top level): Test different combinations of ifunc resolver name,
5421 resolver with and with debug info, and ifunc target with and
5422 without debug info. Wrap static tests with with_target_prefix.
5423
5424 2018-04-26 Pedro Alves <palves@redhat.com>
5425
5426 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5427 return type" warnings.
5428
5429 2018-04-25 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5432 killed".
5433 * gdb.base/kill-after-signal.exp: Likewise.
5434 * gdb.threads/kill.exp: Likewise.
5435
5436 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5437 Sergio Durigan Junior <sergiodj@redhat.com>
5438 Pedro Alves <palves@redhat.com>
5439
5440 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5441 regexps to expect for '[Inferior ... detached]' as well.
5442 * gdb.base/attach.exp: Likewise.
5443 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5444 "gdb_continue_to_end".
5445 (test_catch_syscall_with_wrong_args): Likewise.
5446 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5447 ']'. Don't set 'verbose' on.
5448 * gdb.base/foll-vfork.exp: Likewise.
5449 * gdb.base/fork-print-inferior-events.c: New file.
5450 * gdb.base/fork-print-inferior-events.exp: New file.
5451 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5452 '[Inferior ... has been killed]' message.
5453 * gdb.base/kill-after-signal.exp: Likewise.
5454 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5455 detach message.
5456 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5457 message.
5458 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5459 regexps to expect for '[Inferior ... detached]' as well.
5460 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5461
5462 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5463
5464 PR gdb/23104
5465 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5466
5467 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5468
5469 PR gdb/23095
5470 * gdb.base/break-probes.exp: Pass shlib_load to
5471 prepare_for_testing. Set normal_bp to r_debug_state if target is
5472 bsd.
5473
5474 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5475
5476 * gdb.threads/multiple-successive-infcall.c: New test.
5477 * gdb.threads/multiple-successive-infcall.exp: New file.
5478
5479 2018-04-17 Tom Tromey <tom@tromey.com>
5480
5481 * gdb.rust/simple.rs (Union): New type.
5482 (main): New local "u".
5483 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5484
5485 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486
5487 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5488 number information in output of "whereis" command.
5489 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5490
5491 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492
5493 * gdb.ada/info_types.exp: Adjust expected output to the line
5494 numbers now printed by "info var/func/type".
5495 * gdb.base/completion.exp: Likewise.
5496 * gdb.base/included.exp: Likewise.
5497 * gdb.cp/cp-relocate.exp: Likewise.
5498 * gdb.cp/cplusfuncs.exp: Likewise.
5499 * gdb.cp/namespace.exp: Likewise.
5500 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5501
5502 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5503
5504 * gdb.btrace/cpu.exp: New.
5505
5506 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5507
5508 * gdb.base/step-indirect-call-thunk.exp: New.
5509 * gdb.base/step-indirect-call-thunk.c: New.
5510 * gdb.reverse/step-indirect-call-thunk.exp: New.
5511 * gdb.reverse/step-indirect-call-thunk.c: New.
5512
5513 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5514
5515 * gdb.base/pie-fork.c: New file.
5516 * gdb.base/pie-fork.exp: New file.
5517
5518 2018-04-11 Tom Tromey <tom@tromey.com>
5519
5520 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5521
5522 2018-04-10 Pedro Alves <palves@redhat.com>
5523
5524 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5525 exits. Instead loop running forever.
5526 (fork_parent): Run forever too.
5527
5528 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5529
5530 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5531 mi_continue_to_line.
5532 * gdb.mi/mi-stack.c (callee4): Add comment.
5533
5534 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5535
5536 * gdb.mi/mi-stack.exp: Fix indentation.
5537
5538 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5539
5540 PR gdb/22979
5541 * gdb.arch/amd64-osabi.exp: New file.
5542
5543 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5544
5545 PR gdb/22980
5546 * gdb.base/osabi.exp: New file.
5547
5548 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5549
5550 * gdb.cp/static-typedef-print.exp: New file.
5551 * gdb.cp/static-typedef-print.cc: New file.
5552
5553 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5554
5555 * gdb.ada/varsize_limit: New testcase.
5556
5557 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5558
5559 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5560
5561 * gdb.ada/notcplusplus: New testcase.
5562
5563 * gdb.base/c-linkage-name.c: New file.
5564 * gdb.base/c-linkage-name.exp: New testcase.
5565
5566 2018-03-26 Tom Tromey <tom@tromey.com>
5567
5568 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5569 * gdb.python/py-framefilter.py (name_error): New global.
5570 (ErrorInName.function): Use name_error.
5571
5572 2018-03-26 Tom Tromey <tom@tromey.com>
5573
5574 PR backtrace/15582:
5575 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5576
5577 2018-03-23 Keith Seitz <keiths@redhat.com>
5578
5579 PR c++/22968
5580 * gdb.cp/subtypes.exp: New file.
5581 * gdb.cp/subtypes.h: New file.
5582 * gdb.cp/subtypes.cc: New file.
5583 * gdb.cp/subtypes-2.cc: New file.
5584
5585 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5586
5587 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5588 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5589 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5590 -nostartfiles when compiling the test. Confirm that all registers
5591 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5592
5593 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5594
5595 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5596 option, syntax was wrong anyway.
5597 * gdb.arch/arm-disp-step.exp: Likewise.
5598 * gdb.arch/sparc64-regs.exp: Likewise.
5599 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5600 option, syntax was wrong anyway, switch to use
5601 prepare_for_testing.
5602 * gdb.arch/i386-disp-step.exp: Likewise.
5603
5604 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5605
5606 * gdb.ada/exec_changed.exp: Replace "target_info exists
5607 use_gdb_stub" by "use_gdb_stub".
5608 * gdb.ada/start.exp: Likewise.
5609 * gdb.base/async-shell.exp: Likewise.
5610 * gdb.base/attach-pie-misread.exp: Likewise.
5611 * gdb.base/attach-wait-input.exp: Likewise.
5612 * gdb.base/break-entry.exp: Likewise.
5613 * gdb.base/break-interp.exp: Likewise.
5614 * gdb.base/dprintf-detach.exp: Likewise.
5615 * gdb.base/nostdlib.exp: Likewise.
5616 * gdb.base/solib-nodir.exp: Likewise.
5617 * gdb.base/statistics.exp: Likewise.
5618 * gdb.base/testenv.exp: Likewise.
5619 * gdb.mi/mi-exec-run.exp: Likewise.
5620 * gdb.mi/mi-start.exp: Likewise.
5621 * gdb.multi/dummy-frame-restore.exp: Likewise.
5622 * gdb.multi/multi-arch-exec.exp: Likewise.
5623 * gdb.multi/multi-arch.exp: Likewise.
5624 * gdb.multi/tids.exp: Likewise.
5625 * gdb.multi/watchpoint-multi.exp: Likewise.
5626 * gdb.python/py-events.exp: Likewise.
5627 * gdb.threads/attach-into-signal.exp: Likewise.
5628 * gdb.threads/attach-stopped.exp: Likewise.
5629 * gdb.threads/threadapply.exp: Likewise.
5630 * lib/selftest-support.exp: Likewise.
5631
5632 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5633
5634 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5635
5636 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5637
5638 * gdb.perf/template-breakpoints.cc: New file.
5639 * gdb.perf/template-breakpoints.exp: New file.
5640 * gdb.perf/template-breakpoints.py: New file.
5641
5642 2018-03-19 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5645 y0.
5646 * gdb.rust/simple.exp: Test bare identifier form of struct
5647 initializer.
5648
5649 2018-03-19 Tom Tromey <tom@tromey.com>
5650
5651 * gdb.gdb/observer.exp: Remove.
5652
5653 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5654
5655 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5656 "qualified" option when setting breakpoints.
5657 * gdb.trace/backtrace.exp: Likewise.
5658 * gdb.trace/circ.exp: Likewise.
5659 * gdb.trace/collection.exp: Likewise.
5660 * gdb.trace/disconnected-tracing.exp: Likewise.
5661 * gdb.trace/ftrace-lock.exp: Likewise.
5662 * gdb.trace/ftrace.exp: Likewise.
5663 * gdb.trace/infotrace.exp: Likewise.
5664 * gdb.trace/packetlen.exp: Likewise.
5665 * gdb.trace/passc-dyn.exp: Likewise.
5666 * gdb.trace/qtro.exp: Likewise.
5667 * gdb.trace/read-memory.exp: Likewise.
5668 * gdb.trace/report.exp: Likewise.
5669 * gdb.trace/signal.exp: Likewise.
5670 * gdb.trace/status-stop.exp: Likewise.
5671 * gdb.trace/strace.exp: Likewise.
5672 * gdb.trace/tfind.exp: Likewise.
5673 * gdb.trace/trace-break.exp: Likewise.
5674 * gdb.trace/trace-condition.exp: Likewise.
5675 * gdb.trace/trace-mt.exp: Likewise.
5676 * gdb.trace/tstatus.exp: Likewise.
5677 * gdb.trace/tsv.exp: Likewise.
5678 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5679 * gdb.trace/unavailable.exp: Likewise.
5680 * gdb.trace/while-dyn.exp: Likewise.
5681
5682 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5683
5684 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5685 that libinproctrace is copied to the target.
5686
5687 2018-03-14 Tom Tromey <tom@tromey.com>
5688
5689 PR cli/14977:
5690 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5691 a null pointer.
5692 * gdb.base/wchar.exp: Likewise.
5693
5694 2018-03-14 Tom Tromey <tom@tromey.com>
5695
5696 PR cli/19918:
5697 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5698 flag.
5699
5700 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5701
5702 PR gdb/22841
5703 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5704 "target" to remote_exec.
5705
5706 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5707
5708 PR gdb/22841
5709 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5710 ${board}_upload): Remove.
5711
5712 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5713
5714 * gdb.cp/watch-cp.cc: New test.
5715 * gdb.cp/watch-cp.exp: New file.
5716
5717 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5718
5719 * gdb.base/infcall-nested-structs.exp: New file.
5720 * gdb.base/infcall-nested-structs.c: New file.
5721 * gdb.base/float.exp: Add riscv support.
5722
5723 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5724
5725 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5726 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5727
5728 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5729
5730 * gdb.server/abspath.exp: New file.
5731 * lib/gdb.exp (with_cwd): New procedure.
5732
5733 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5734
5735 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5736 use it.
5737 (gdb_is_target_remote_prompt): New proc.
5738 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5739 (gdb_is_target_native): Pass prompt parameter to
5740 gdb_is_target_1.
5741
5742 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5743
5744 * gdb.base/load-command.c: New file.
5745 * gdb.base/load-command.exp: New file.
5746 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5747 (gdb_is_target_1): ...this, and generalize for other targets
5748 than just remote.
5749 (gdb_is_target_remote): Use gdb_is_target_1.
5750 (gdb_is_target_native): use gdb_is_target_1.
5751
5752 2018-02-26 Tom Tromey <tom@tromey.com>
5753
5754 PR python/16497:
5755 * gdb.python/py-framefilter.exp: Update test.
5756
5757 2018-02-26 Tom Tromey <tom@tromey.com>
5758
5759 * gdb.dwarf2/variant.c: New file.
5760 * gdb.dwarf2/variant.exp: New file.
5761
5762 2018-02-26 Tom Tromey <tom@tromey.com>
5763
5764 * gdb.rust/simple.exp: Accept more possible results in enum test.
5765
5766 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5767
5768 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5769 parentheses.
5770
5771 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5772
5773 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5774 name of a variable: $actual_linejj -> $actual_line.
5775
5776 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5777
5778 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5779
5780 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5781
5782 * gdb.btrace/buffer-size.exp: Do not force BTS.
5783
5784 2018-02-14 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5787 getting a "Quit".
5788
5789 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5790
5791 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5792 Fix test name.
5793
5794 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5795
5796 * gdb.cp/m-static.exp: Check type of optimized out static
5797 member.
5798
5799 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5800
5801 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5802 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5803
5804 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5805 Leszek Swirski <leszeks@google.com>
5806
5807 * gdb.python/py-prettyprint.c
5808 (struct to_string_returns_value_inner,
5809 struct to_string_returns_value_wrapper): New.
5810 (main): Add tsrvw variable.
5811 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5812 ToStringReturnsValueWrapper): New classes.
5813 (register_pretty_printers): Register new pretty-printers.
5814 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5815 recursive pretty printer.
5816 * gdb.python/py-mi.exp: Likewise.
5817
5818 2018-02-01 Leszek Swirski <leszeks@google.com>
5819
5820 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5821 functions with the same name as an include file are parsed
5822 correctly.
5823
5824 2018-02-01 Yao Qi <yao.qi@linaro.org>
5825
5826 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5827 "\[^\r\n\]*".
5828
5829 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5830
5831 * gdb.arch/powerpc-prologue-frame.s: New file.
5832 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5833 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5834
5835 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5836
5837 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5838
5839 2018-01-30 Pedro Alves <palves@redhat.com>
5840
5841 PR gdb/13211
5842 * gdb.base/interrupt-daemon.c: New.
5843 * gdb.base/interrupt-daemon.exp: New.
5844 * gdb.multi/multi-term-settings.c: New.
5845 * gdb.multi/multi-term-settings.exp: New.
5846
5847 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5848
5849 * gdb.base/break.exp: Save the location where the breakpoint
5850 on break.c:47 was actually inserted when debugging the version
5851 compiled at -O2 and use it in the expected output of the "info
5852 break" test performed soon after.
5853
5854 2018-01-22 Pedro Alves <palves@redhat.com>
5855 Sergio Durigan Junior <sergiodj@redhat.com>
5856
5857 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5858 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5859
5860 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5861
5862 * gdb.base/break-include.c, gdb.base/break-include.inc,
5863 gdb.base/break-include.exp: New files.
5864 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5865 line number now being the actual line number where the breakpoint
5866 was inserted.
5867 * gdb.mi/mi-break.exp: Likewise.
5868 * gdb.mi/mi-reverse.exp: Likewise.
5869 * gdb.mi/mi-simplerun.exp: Ditto.
5870
5871 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5872
5873 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5874 varobj.
5875 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5876
5877 2018-01-21 Don Breazeal <donb@codesourcery.com>
5878 Andrew Burgess <andrew.burgess@embecosm.com>
5879
5880 * gdb.mi/basics.c: Add new global.
5881 * gdb.mi/mi-frame-regs.exp: New file.
5882 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5883 case.
5884
5885 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5886
5887 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5888 non-parameter, and on an unknown symbol.
5889
5890 2018-01-19 Tom Tromey <tom@tromey.com>
5891
5892 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5893 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5894
5895 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5896
5897 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5898 setrlimit and chdir to int.
5899
5900 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5901
5902 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5903 function.
5904 (my_tend): Likewise.
5905 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5906 rationale of avoiding FP- and vector instructions.
5907
5908 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5909
5910 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5911 "info reg" with "\[ \t\]*".
5912 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5913 "\[ \t\]+".
5914 * gdb.arch/s390-multiarch.exp: Ditto.
5915 * gdb.base/pc-fp.exp: Ditto.
5916 * gdb.reverse/i386-precsave.exp: Ditto.
5917 * gdb.reverse/i386-reverse.exp: Ditto.
5918 * gdb.reverse/i387-env-reverse.exp: Ditto.
5919 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5920
5921 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5922
5923 * lib/gdb.exp (gdb_compile): Re-enable use of
5924 universal_compile_options for languages other than Rust.
5925
5926 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5927
5928 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5929
5930 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5931
5932 PR gdb/16577
5933 * gdb.base/solib-vanish.exp: New.
5934 * gdb.base/solib-vanish-main.c: New.
5935 * gdb.base/solib-vanish-lib1.c: New.
5936 * gdb.base/solib-vanish-lib2.c: New.
5937
5938 2018-01-17 Yao Qi <yao.qi@linaro.org>
5939
5940 * gdb.compile/compile.exp: Match the address printed for
5941 frame in the output of command "bt".
5942
5943 2018-01-15 Tom Tromey <tom@tromey.com>
5944
5945 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5946 compute sp_reg.
5947
5948 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5949
5950 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5951 to prepare.
5952 (prepare): Return 0 on error, 1 on success.
5953
5954 2018-01-12 Pedro Alves <palves@redhat.com>
5955
5956 * gdb.base/continue-after-aborted-step-over.c: New.
5957 * gdb.base/continue-after-aborted-step-over.exp: New.
5958
5959 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5960
5961 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5962 options when not creating an executable.
5963
5964 2018-01-11 Pedro Alves <palves@redhat.com>
5965
5966 PR remote/22597
5967 * gdb.server/stop-reply-no-thread.c: New file.
5968 * gdb.server/stop-reply-no-thread.exp: New file.
5969
5970 2018-01-10 Pedro Alves <palves@redhat.com>
5971
5972 PR gdb/22670
5973 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5974 functions too. Test setting breakpoints and printing C functions
5975 with no debug info too.
5976 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5977
5978 2018-01-10 Pedro Alves <palves@redhat.com>
5979
5980 PR gdb/22670
5981 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5982 a fail.
5983
5984 2018-01-10 Pedro Alves <palves@redhat.com>
5985
5986 PR gdb/22670
5987 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5988
5989 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5990
5991 * gdb.server/unittest.exp: Match the output in non-development
5992 mode.
5993
5994 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5995
5996 * gdb.gdb/unittest.exp: Match output in non-development mode.
5997
5998 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5999
6000 * gdb.ada/access_tagged_param.exp: Relax expected output
6001 for value of "ObjL" in "continue" to pck.inspect breakpoint
6002 test.
6003
6004 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6005
6006 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6007 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
6008
6009 2018-01-05 Pedro Alves <palves@redhat.com>
6010
6011 PR gdb/18653
6012 * gdb.base/libsegfault.exp: New.
6013
6014 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6015
6016 PR gdb/22670
6017 * gdb.ada/access_tagged_param.exp: New file.
6018 * gdb.ada/access_tagged_param/foo.adb: New file.
6019
6020 2018-01-05 Pedro Alves <palves@redhat.com>
6021
6022 PR gdb/22670
6023 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6024 exercise lower case too, and to exercise both full matching and
6025 wild matching.
6026
6027 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6028
6029 * gdb.ada/rename_subscript_param: New testcase.
6030
6031 2018-01-05 Jerome Guitton <guitton@adacore.com>
6032
6033 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6034
6035 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6036
6037 * gdb.ada/convvar_comp: New testcase.
6038
6039 2018-01-05 Xavier Roirand <roirand@adacore.com>
6040
6041 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6042 (My_Table): New global variable.
6043 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6044
6045 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6046
6047 PR gdb/22670
6048 * gdb.ada/maint_with_ada: New testcase.
6049
6050 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6051
6052 PR gdb/22670
6053 * gdb.ada/bp_c_mixed_case: New testcase.
6054
6055 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6056
6057 PR gdb/22670
6058 * gdb.ada/complete.exp: Add "complete break ada" test.
6059
6060 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6061
6062 PR gdb/22670
6063 * gdb.ada/info_addr_mixed_case: New testcase.
6064
6065 2018-01-03 Xavier Roirand <roirand@adacore.com>
6066
6067 * gdb.ada/excep_handle.exp: New testcase.
6068 * gdb.ada/excep_handle/foo.adb: New file.
6069 * gdb.ada/excep_handle/pck.ads: New file.
6070
6071 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6072
6073 * gdb.base/step-line.c: Add extra empty line in copyright header.
6074 * gdb.base/step-line.inp: Likewise.
6075
6076 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6077
6078 * gdb.ada/dyn_stride.exp: Add slice test.
6079
6080 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6081
6082 * gdb.ada/dyn_stride: New testcase.
6083
6084 2017-12-27 Stafford Horne <shorne@gmail.com>
6085
6086 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6087 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6088
6089 2017-12-27 Stafford Horne <shorne@gmail.com>
6090
6091 * gdb.base/reggroups.c: New file.
6092 * gdb.base/reggroups.exp: New file.
6093
6094 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6095
6096 * gdb.dwarf2/ada-valprint-error.c: New file.
6097 * gdb.dwarf2/ada-valprint-error.exp: New file.
6098
6099 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6100
6101 * gdb.ada/assign_arr: New testcase.
6102
6103 2017-12-18 Xavier Roirand <roirand@adacore.com>
6104
6105 * gdb.ada/funcall_ptr: New testcase.
6106
6107 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6108
6109 PR cli/16224
6110 * gdb.base/ptype-offsets.cc: New file.
6111 * gdb.base/ptype-offsets.exp: New file.
6112
6113 2017-12-15 Yao Qi <yao.qi@linaro.org>
6114
6115 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6116 if XML is disabled.
6117
6118 2017-12-15 Xavier Roirand <roirand@adacore.com>
6119
6120 * gdb.ada/same_component_name: New testcase.
6121
6122 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6123
6124 * gdb.ada/str_binop_equal: New testcase.
6125
6126 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6127
6128 * gdb.ada/task_switch_in_core: New testcase.
6129
6130 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6131
6132 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6133 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6134 call test_bkpt_qualified.
6135 (test_bkpt_qualified): New proc.
6136
6137 2017-12-13 Pedro Alves <palves@redhat.com>
6138
6139 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6140 Tighten regexp by matching with an anchor.
6141
6142 2017-12-13 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6145 ("expression with namespace"): New set of tests.
6146 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6147 (Nested::Test_NS::qux): New.
6148 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6149 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6150
6151 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6152
6153 * gdb.base/server-del-break.c: New file.
6154 * gdb.base/server-del-break.exp: New file.
6155
6156 2017-12-12 Stafford Horne <shorne@gmail.com>
6157
6158 * gdb.xml/tdesc-regs.exp: Add or1k support.
6159
6160 2017-12-12 Stafford Horne <shorne@gmail.com>
6161
6162 * gdb.base/bp-permanent.c: Define nop of or1k.
6163
6164 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6165
6166 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6167 output with components being reordered.
6168
6169 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6170
6171 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6172 output with components being reordered.
6173
6174 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6175 Pedro Alves <palves@redhat.com>
6176
6177 * gdb.base/maint.exp (check for .gdb_index): Check also for
6178 .debug_names.
6179 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6180 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6181 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6182 (.gdb_index used after symbol reloading): Support also .debug_names.
6183 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6184
6185 2017-12-08 Yao Qi <yao.qi@linaro.org>
6186
6187 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6188 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6189
6190 2017-12-08 Yao Qi <yao.qi@linaro.org>
6191
6192 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6193 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6194
6195 2017-12-08 Yao Qi <yao.qi@linaro.org>
6196
6197 * gdb.arch/aarch64-tagged-pointer.c: New file.
6198 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6199
6200 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6201
6202 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6203 "int".
6204
6205 2017-12-07 Keith Seitz <keiths@redhat.com>
6206
6207 PR breakpoints/22569
6208 * gdb.linespec/ls-errs.exp: Change expected result of "break
6209 -source this file has spaces.c -line 3".
6210 Check that an explicit source file followed by whitespace is
6211 identified as an invalid explicit location.
6212
6213 2017-12-07 Keith Seitz <keiths@redhat.com>
6214
6215 * gdb.cp/nested-types.cc: New file.
6216 * gdb.cp/nested-types.exp: New file.
6217 * lib/cp-support.exp: Load data-structures.exp library.
6218 (debug_cp_test_ptype_class): New global.
6219 (cp_ptype_class_verbose, next_line): New procedures.
6220 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6221 Add and document new return value.
6222 Switch the list of lines to a queue.
6223 Add support for new `type' key for nested type definitions.
6224 Add debugging/troubleshooting messages.
6225 * lib/data-structures.exp: New file.
6226
6227 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6228
6229 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6230 with proc_with_prefix, don't use with_test_prefix.
6231
6232 2017-12-07 Tom Tromey <tom@tromey.com>
6233
6234 * gdb.base/break.exp: Add test for empty "commands".
6235
6236 2017-12-07 Yao Qi <yao.qi@linaro.org>
6237
6238 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6239 malloc and catch syscall.
6240
6241 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6242
6243 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6244 tests for explicit locations.
6245
6246 2017-12-06 Pedro Alves <palves@redhat.com>
6247
6248 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6249 force-disabling XML descriptions.
6250
6251 2017-12-04 Pedro Alves <palves@redhat.com>
6252
6253 PR gdb/22499
6254 * gdb.arch/amd64-disp-step-avx.S: New file.
6255 * gdb.arch/amd64-disp-step-avx.exp: New file.
6256
6257 2017-12-03 Pedro Alves <palves@redhat.com>
6258
6259 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6260 and <string.h>.
6261 (parent_function): Print distinct messages when waitpid fails, or
6262 the child exits with a signal, or the child exits for an unhandled
6263 reason.
6264 * gdb.threads/process-dies-while-detaching.exp
6265 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6266 it. Wait for both inferior output and GDB's prompt. Use an
6267 indirect spawn id list.
6268 (do_detach): New parameter 'child_exit'. Use it to compute
6269 expected inferior output.
6270 (test_detach, test_detach_watch, test_detach_killed_outside):
6271 Adjust to pass down the expected child exit kind.
6272
6273 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6274 Sergio Durigan Junior <sergiodj@redhat.com>
6275 Pedro Alves <palves@redhat.com>
6276
6277 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6278
6279 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6280
6281 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6282 to 'symbol-file' and 'add-symbol-file' can be
6283 position-independent.
6284
6285 2017-12-01 Yao Qi <yao.qi@linaro.org>
6286
6287 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6288 the URL in copyright header.
6289 * gdb.arch/aarch64-fp.exp: Likewise.
6290 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6291 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6292 * gdb.base/expand-psymtabs.exp: Likewise.
6293 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6294 * gdb.fortran/common-block.exp: Likewise.
6295 * gdb.fortran/common-block.f90: Likewise.
6296 * gdb.fortran/logical.exp: Likewise.
6297 * gdb.fortran/vla-datatypes.f90: Likewise.
6298 * gdb.fortran/vla-sub.f90: Likewise.
6299
6300 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6301
6302 * gdb.ada/repeat_dyn: New testcase.
6303
6304 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6305
6306 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6307 Update for changed thread numbering.
6308 * gdb.cell/bt.exp: Update for changed GDB output.
6309
6310 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6311
6312 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6313 setting isremote by hand.
6314 * boards/dwarf4-gdb-index.exp: Likewise.
6315 * boards/fission.exp: Likewise.
6316 * boards/stabs.exp: Likewise.
6317
6318 2017-11-30 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.linespec/cpls-ops.exp
6321 (check_explicit_skips_function_argument): Extract the underlying
6322 type of size_t instead of hardcoding it.
6323
6324 2017-11-29 Pedro Alves <palves@redhat.com>
6325
6326 PR c++/19436
6327 * gdb.linespec/cpls-abi-tag.cc: New file.
6328 * gdb.linespec/cpls-abi-tag.exp: New file.
6329
6330 2017-11-29 Pedro Alves <palves@redhat.com>
6331
6332 * gdb.base/langs.exp: Use -qualified.
6333 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6334 it.
6335 * gdb.cp/namespace.exp: Use -qualified.
6336 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6337 (overload-3, template-overload, template-ret-type, const-overload)
6338 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6339 procedures.
6340 (test_driver): Call them.
6341 * gdb.cp/save-bp-qualified.cc: New.
6342 * gdb.cp/save-bp-qualified.exp: New.
6343 * gdb.linespec/explicit.exp: Test -qualified.
6344 * lib/completion-support.exp (completion::explicit_opts_list): Add
6345 "-qualified".
6346 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6347
6348 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6349
6350 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6351
6352 2017-11-29 Tom Tromey <tom@tromey.com>
6353
6354 * gdb.base/relocate.exp: Update invalid argument test.
6355 Add new tests for invalid arguments.
6356
6357 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6358
6359 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6360 Return 0 as a long.
6361 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6362
6363 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6364
6365 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6366 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6367 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6368 func ().
6369 * gdb.cp/shadow.cc (B.func): Return 0.
6370
6371 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6372
6373 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6374 expected output in gdb_expect call to allow the exception
6375 message to be present as well. Fix syntax confusion to avoid
6376 TCL thinking that exception_name is an array.
6377
6378 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6379
6380 * gdb.arch/spu-info.c: Include <unistd.h>.
6381 (do_signal_test): Fix broken calls to write.
6382 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6383 Fix checks for empty mailboxes. Update signal tests for corrected
6384 do_signal_test routine. Allow nonzero event status.
6385 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6386 * gdb.cell/arch.exp: Use standard_output_file.
6387 * gdb.cell/break.exp: Likewise.
6388 * gdb.cell/bt.exp: Likewise.
6389 * gdb.cell/core.exp: Likewise.
6390 * gdb.cell/dwarfaddr.exp: Likewise.
6391 * gdb.cell/ea-cache.exp: Likewise.
6392 * gdb.cell/ea-standalone.exp: Likewise.
6393 * gdb.cell/f-regs.exp: Likewise.
6394 * gdb.cell/fork.exp: Likewise.
6395 * gdb.cell/gcore.exp: Likewise.
6396 * gdb.cell/mem-access.exp: Likewise.
6397 * gdb.cell/ptype.exp: Likewise.
6398 * gdb.cell/registers.exp: Likewise.
6399 * gdb.cell/sizeof.exp: Likewise.
6400 * gdb.cell/solib-symbol.exp: Likewise.
6401 * gdb.cell/solib.exp: Likewise.
6402
6403 2017-11-25 Pedro Alves <palves@redhat.com>
6404
6405 * gdb.base/complete-empty.exp: New file.
6406 * gdb.base/completion.exp: Adjust.
6407
6408 2017-11-25 Pedro Alves <palves@redhat.com>
6409
6410 * gdb.linespec/cpls-ops.cc: New file.
6411 * gdb.linespec/cpls-ops.exp: New file.
6412 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6413 factored out from ...
6414 (test_complete_prefix_range): ... this.
6415
6416 2017-11-24 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.linespec/cpcompletion.exp: New file.
6419 * gdb.linespec/cpls-hyphen.cc: New file.
6420 * gdb.linespec/cpls.cc: New file.
6421 * gdb.linespec/cpls2.cc: New file.
6422 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6423 test to use test_gdb_complete_unique. Add label completion,
6424 keyword completion and explicit location completion tests.
6425 * lib/completion-support.exp: New file.
6426
6427 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6428
6429 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6430 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6431 when hitting an exception catchpoint.
6432
6433 2017-11-22 Yao Qi <yao.qi@linaro.org>
6434
6435 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6436
6437 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6438
6439 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6440 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6441 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6442
6443 2017-11-22 Yao Qi <yao.qi@linaro.org>
6444
6445 * gdb.base/info-os.exp: Pass pthreads.
6446 * gdb.multi/multi-attach.exp: Likewise.
6447
6448 2017-11-22 Yao Qi <yao.qi@linaro.org>
6449
6450 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6451 compiler.
6452
6453 2017-11-22 Yao Qi <yao.qi@linaro.org>
6454
6455 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6456 * gdb.base/break-interp.exp: Likewise.
6457 * gdb.base/jit-attach-pie.exp: Likewise.
6458
6459 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6460
6461 * gdb.base/float128.c (large128): New variable.
6462 * gdb.base/float128.exp: Add test to print largest __float128 value.
6463
6464 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6465
6466 * gdb.arch/vsx-regs.exp: Update register content checks.
6467
6468 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6469
6470 * gdb.arch/ppc-longdouble.exp: New file.
6471 * gdb.arch/ppc-longdouble.c: Likewise.
6472
6473 2017-11-21 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6476
6477 2017-11-20 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6480 (long_double_typedef): New typedefs.
6481 Use DEF on double and long double.
6482 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6483 cases.
6484 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6485 and 'long_double_ptr_same_size' locals. Use them to decide
6486 whether cast from array/function to float is valid/invalid.
6487
6488 2017-11-17 Tom Tromey <tom@tromey.com>
6489
6490 * gdb.rust/traits.rs: New file.
6491 * gdb.rust/traits.exp: New file.
6492
6493 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6494
6495 * gdb.ada/minsyms: New testcase.
6496
6497 2017-11-16 Pedro Alves <palves@redhat.com>
6498
6499 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6500 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6501
6502 2017-11-16 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6505 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6506
6507 2017-11-16 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.server/reconnect-ctrl-c.c: New file.
6510 * gdb.server/reconnect-ctrl-c.exp: New file.
6511
6512 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6513
6514 * gdb.python/py-rbreak.exp: New file.
6515 * gdb.python/py-rbreak.c: New file.
6516 * gdb.python/py-rbreak-func2.c: New file.
6517
6518 2017-11-16 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6521 pattern.
6522 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6523 GDB.
6524
6525 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6526
6527 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6528 regex.
6529
6530 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6531
6532 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6533 test names.
6534
6535 2017-11-09 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6538 factored out from ...
6539 (top level): ... here, and adjusted to avoid expecting beyond the
6540 prompt in a single gdb_test_multiple.
6541
6542 2017-11-09 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6545 output.
6546 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6547 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6548 * gdb.server/ext-run.exp ("kill" test): Likewise.
6549 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6550
6551 2017-11-09 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6554 match till end of line.
6555
6556 2017-11-09 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6559
6560 2017-11-09 Pedro Alves <palves@redhat.com>
6561
6562 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6563 New procedures, factored out from ...
6564 (top level): ... here, and adjusted to avoid expecting beyond the
6565 prompt in one go.
6566
6567 2017-11-09 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6570 output. Fix '?' match.
6571
6572 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6573
6574 * gdb.ada/scoped_watch: New testcase.
6575 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6576 which is actually correct.
6577 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6578 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6579
6580 2017-11-08 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.gdb/complaints.exp (test_initial_complaints)
6583 (test_serial_complaints, test_short_complaints): Call
6584 complaint_internal instead of complaint.
6585
6586 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6587
6588 * gdb.threads/tls-core.c: New file.
6589 * gdb.threads/tls-core.exp: Likewise.
6590
6591 2017-11-08 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6594 (p Exported_Capitalized): New test.
6595 (p exported_capitalized): New test.
6596
6597 2017-11-07 Pedro Alves <palves@redhat.com>
6598
6599 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6600
6601 2017-11-07 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6604 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6605 (disable_invalid, disable_inverted, disable_negative): New
6606 procedures.
6607 ("bad numbers"): New set of tests.
6608
6609 2017-11-07 Pedro Alves <palves@redhat.com>
6610
6611 * gdb.cp/ena-dis-br-range.exp: Add tests.
6612
6613 2017-11-07 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6616
6617 2017-11-07 Xavier Roirand <roirand@adacore.com>
6618 Pedro Alves <palves@redhat.com>
6619
6620 * gdb.base/ena-dis-br.exp: Add reference to
6621 gdb.cp/ena-dis-br-range.exp.
6622 * gdb.cp/ena-dis-br-range.exp: New file.
6623 * gdb.cp/ena-dis-br-range.cc: New file.
6624
6625 2017-11-06 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/attach-non-pgrp-leader.c: New.
6628 * gdb.base/attach-non-pgrp-leader.exp: New.
6629
6630 2017-11-06 Pedro Alves <palves@redhat.com>
6631
6632 * configure.ac: No longer check for termio.h and sgtty.h.
6633 * configure: Regenerate.
6634 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6635 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6636 Remove termio and sgtty code.
6637
6638 2017-11-03 Yao Qi <yao.qi@linaro.org>
6639
6640 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6641 in GDB is disabled.
6642
6643 2017-11-03 Yao Qi <yao.qi@linaro.org>
6644
6645 * gdb.python/py-thrhandle.exp: Skip it if python is not
6646 enabled.
6647
6648 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6649
6650 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6651 as a breakpoint command.
6652
6653 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6654
6655 PR python/21213
6656 * gdb.python/py-infthread.exp: Test calling
6657 InferiorThread.inferior () multiple times in a row.
6658
6659 2017-10-27 Keith Seitz <keiths@redhat.com>
6660
6661 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6662 Test "info break" for every inlined function breakpoint.
6663
6664 2017-10-27 Yao Qi <yao.qi@linaro.org>
6665
6666 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6667
6668 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6669
6670 * gdb.cp/classes.exp (test_static_members): Test printing
6671 Outer::instance.
6672 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6673 (Inner::instance, Outer::instance): New.
6674
6675 2017-10-24 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6678 extra console" test in two stages.
6679
6680 2017-10-24 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6683
6684 2017-10-24 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6687 loop.
6688
6689 2017-10-24 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6692 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6693
6694 2017-10-24 Pedro Alves <palves@redhat.com>
6695
6696 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6697 parameter and handle it. Don't output read value in test name.
6698
6699 2017-10-24 Pedro Alves <palves@redhat.com>
6700
6701 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6702 custom test name.
6703
6704 2017-10-24 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6707 include the unstable output directory name in the test's name.
6708 (initial_setup_simple) <'set args'>: Use custom test name.
6709
6710 2017-10-24 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6713 with explicit test name.
6714
6715 2017-10-20 Pedro Alves <palves@redhat.com>
6716
6717 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6718 'wait -i'. Use gdb_assert and remote_close.
6719
6720 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6721
6722 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6723 number from variable rather than hard-coded.
6724
6725 2017-10-19 Pedro Alves <palves@redhat.com>
6726
6727 * gdb.base/long-inferior-output.c: New file.
6728 * gdb.base/long-inferior-output.exp: New file.
6729
6730 2017-11-18 Keith Seitz <keiths@redhat.com>
6731
6732 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6733 method.
6734 (main): Call it.
6735 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6736 Add additional user-defined conversion operator tests.
6737
6738 2017-10-17 Pedro Alves <palves@redhat.com>
6739
6740 * boards/native-stdio-gdbserver.exp: Load "local-board".
6741
6742 2017-10-17 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/quit-live.c: New file.
6745 * gdb.base/quit-live.exp: New file.
6746
6747 2017-10-16 Keith Seitz <keiths@redhat.com>
6748
6749 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6750 (class_with_protected_typedef, class_with_private_typedef)
6751 (struct_with_public_typedef, struct_with_protected_typedef)
6752 (struct_with_private_typedef): New classes/structs.
6753 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6754 typedefs and access specifiers.
6755
6756 2017-10-16 Pedro Alves <palves@redhat.com>
6757 Simon Marchi <simon.marchi@polymtl.ca>
6758
6759 * README (Local vs Remote vs Native): New section.
6760 * boards/local-board.exp: New file, with bits factored out from
6761 ...
6762 * boards/native-extended-gdbserver.exp: ... here. Load
6763 "local-board".
6764 * boards/native-gdbserver.exp: Load "local-board".
6765 (${board}_spawn, ${board}_exec): Delete.
6766 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6767 ...
6768 * boards/stdio-gdbserver-base.exp: ... this new file.
6769 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6770 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6771 procedure.
6772 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6773 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6774 stdio_gdbserver_command.
6775 (${board}_get_remote_address, ${board}_get_comm_port)
6776 (${board}_download, ${board}_upload): Delete.
6777 (get_target_remote_pipe_cmd): New.
6778
6779 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6780
6781 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6782 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6783 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6784 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6785 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6786 remove with_test_prefix.
6787
6788 2017-10-13 Pedro Alves <palves@redhat.com>
6789
6790 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6791 * gdb.base/annota1.exp: Use it instead of is_remote.
6792 * gdb.base/annota3.exp: Use it instead of is_remote.
6793 * gdb.cp/annota2.exp: Use it instead of is_remote.
6794 * gdb.cp/annota3.exp: Use it instead of is_remote.
6795 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6796
6797 2017-10-13 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6800 (test_num_test_vars, run_and_count_vars, find_env)
6801 (test_set_unset_env, test_inherit_env_var): New procedures.
6802 (top level): Use them.
6803
6804 2017-10-13 Pedro Alves <palves@redhat.com>
6805
6806 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6807 also skip on stub-like targets.
6808
6809 2017-10-13 Pedro Alves <palves@redhat.com>
6810
6811 PR gdb/22293
6812 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6813 (top level): Move some tests to ...
6814 (test_not_found): ... this new procedure.
6815 (top level): Call it.
6816
6817 2017-10-13 Pedro Alves <palves@redhat.com>
6818
6819 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6820 expect different "info terminal" output if testing with a
6821 non-native target.
6822
6823 2017-10-13 Pedro Alves <palves@redhat.com>
6824 Simon Marchi <simon.marchi@polymtl.ca>
6825
6826 PR python/12966
6827 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6828
6829 2017-10-13 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6832 already.
6833
6834 2017-10-13 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6837 is_remote.
6838
6839 2017-10-13 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6842 is_remote.
6843
6844 2017-10-13 Pedro Alves <palves@redhat.com>
6845
6846 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6847 is set.
6848 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6849 instead of is_remote.
6850
6851 2017-10-13 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6854 (top level): Add comment.
6855
6856 2017-10-13 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.base/remote.exp (top level): Fix comment typo and add
6859 missing return.
6860
6861 2017-10-13 Pedro Alves <palves@redhat.com>
6862 Simon Marchi <simon.marchi@polymtl.ca>
6863
6864 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6865 calls and add comments. Skip test if use_gdb_stub is set.
6866 (top level): Use "set cwd" command instead of "cd" command.
6867
6868 2017-10-13 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6871 is_remote target check.
6872
6873 2017-10-13 Pedro Alves <palves@redhat.com>
6874
6875 * gdb.base/scope.exp: Use build_executable + clean_restart +
6876 gdb_file_cmd instead of prepare_for_testing and no longer skip
6877 "before run" tests on is_remote target boards. Update comments.
6878 * boards/native-extended-gdbserver.exp
6879 (extended_gdbserver_load_last_file): New, factored out from ...
6880 (gdb_load): ... this. Move further below and add comment.
6881 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6882
6883 2017-10-12 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.base/attach.exp: Remove references to gdb64.
6886 * gdb.base/dbx.exp: Remove references to gdb64.
6887
6888 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6889 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.base/label.exp: Remove is_remote target check.
6892
6893 2017-10-12 Pedro Alves <palves@redhat.com>
6894
6895 * gdb.base/auvx.exp (coredir): Update comment.
6896 (top level) <core_works>: Use "set cwd" command instead of "cd"
6897 command.
6898
6899 2017-10-12 Pedro Alves <palves@redhat.com>
6900 Simon Marchi <simon.marchi@polymtl.ca>
6901
6902 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6903 target boards.
6904
6905 2017-10-12 Pedro Alves <palves@redhat.com>
6906 Simon Marchi <simon.marchi@polymtl.ca>
6907
6908 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6909 Instead skip if there's any gdb_protocol set.
6910
6911 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6912 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6915
6916 2017-10-12 Pedro Alves <palves@redhat.com>
6917 Simon Marchi <simon.marchi@polymtl.ca>
6918
6919 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6920 instead of on dejagnu remote boards.
6921
6922 2017-10-12 Pedro Alves <palves@redhat.com>
6923 Simon Marchi <simon.marchi@polymtl.ca>
6924
6925 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6926 checks. Use build_executable + clean_restart instead of
6927 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6928 of enabling non-stop after starting gdb.
6929
6930 2017-10-12 Pedro Alves <palves@redhat.com>
6931
6932 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6933 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6934 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6935 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6936
6937 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6938
6939 * gdb.arch/arc-tdesc-cpu.exp: New file.
6940 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6941
6942 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6943
6944 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6945
6946 2017-10-10 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6949 expect CLI output.
6950
6951 2017-10-10 Pedro Alves <palves@redhat.com>
6952
6953 * lib/selftest-support.exp (selftest_setup): Update for
6954 captured_command_loop's prototype change.
6955
6956 2017-10-09 Pedro Alves <palves@redhat.com>
6957
6958 Test both arch1=>arch2 and arch2=>arch1.
6959
6960 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6961 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6962 factored out to...
6963 (append_arch1_options, append_arch2_options, append_arch_options)
6964 (build_executables): New procedures.
6965 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6966 local.
6967 (top level): Add new 'first_arch' testing axis.
6968
6969 2017-10-09 Pedro Alves <palves@redhat.com>
6970
6971 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6972 (barrier): New.
6973 (thread_start, all_started): New functions.
6974 (main): Spawn new thread and wait until it is scheduled.
6975 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6976 option.
6977 (do_test): Add 'selected_thread' parameter. Run to all_started
6978 instead of main. Explicitly set the breakpoint at main. Switch
6979 to the SELECTED_THREAD thread.
6980 (top level): Test handling the exec event with either the main
6981 thread or the second thread selected.
6982
6983 2017-10-09 Pedro Alves <palves@redhat.com>
6984
6985 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6986 logic. Move STOP marker after the value checks.
6987 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6988 regexp.
6989
6990 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6991
6992 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6993
6994 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6995
6996 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6997 integer-to-dfp conversion.
6998 * gdb.base/dfp-test.exp: Likewise.
6999
7000 2017-10-04 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.multi/hangout.c: Include <unistd.h>.
7003 (hangout_loop): New function.
7004 (main): Call alarm. Call hangout_loop in a loop.
7005 * gdb.multi/hello.c: Include <unistd.h>.
7006 (hello_loop): New function.
7007 (main): Call alarm. Call hangout_loop in a loop.
7008 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7009 inferior with the other selected.
7010
7011 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7012
7013 * gdb.mi/list-thread-groups-available.exp: New file.
7014 * gdb.mi/list-thread-groups-available.c: New file.
7015
7016 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7017
7018 * gdb.base/set-cwd.exp: Make it available on
7019 native-extended-gdbserver.
7020
7021 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7022
7023 * gdb.base/set-cwd.c: New file.
7024 * gdb.base/set-cwd.exp: Likewise.
7025
7026 2017-10-02 Tom Tromey <tom@tromey.com>
7027
7028 PR rust/22236:
7029 * gdb.rust/simple.rs (main): New variable "fslice".
7030 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7031
7032 2017-10-02 Tom Tromey <tom@tromey.com>
7033
7034 * gdb.rust/simple.exp: Test ptype of a slice.
7035
7036 2017-10-02 Tom Tromey <tom@tromey.com>
7037
7038 * gdb.rust/simple.exp: Test index of slice.
7039
7040 2017-09-27 Tom Tromey <tom@tromey.com>
7041
7042 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7043
7044 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7045 Pedro Alves <palves@redhat.com>
7046
7047 * gdb.base/compare-sections.exp (get value of read-only section): Read
7048 as unsigned value.
7049 (corrupt read-only section): Likewise and don't set written if patching
7050 failed.
7051
7052 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7053
7054 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7055 files.
7056
7057 2017-09-20 Pedro Alves <palves@redhat.com>
7058
7059 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7060 symbol names in gdb's output.
7061 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7062
7063 2017-09-20 Pedro Alves <palves@redhat.com>
7064
7065 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7066 Rename to ...
7067 (test_list_ambiguous_symbol): ... this and add a symbol name
7068 parameter. Adjust.
7069 (test_list_ambiguous_function): Reimplement on top of
7070 test_list_ambiguous_symbol and also test listing ambiguous
7071 variables.
7072 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7073 (ambiguous_fun): ... this.
7074 (ambiguous_var): New.
7075 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7076 (ambiguous_fun): ... this.
7077 (ambiguous_var): New.
7078
7079 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7080
7081 * gdb.base/starti.c: New file.
7082 * gdb.base/starti.exp: New file.
7083 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7084
7085 2017-09-14 Pedro Alves <palves@redhat.com>
7086
7087 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7088 (top level): Use it instead of runto.
7089
7090 2017-09-11 Tom Tromey <tom@tromey.com>
7091
7092 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7093
7094 2017-09-11 Tom Tromey <tom@tromey.com>
7095
7096 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7097 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7098
7099 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7100
7101 * gdb.fortran/printing-types.exp: New file.
7102 * gdb.fortran/printing-types.exp: New file.
7103
7104 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7105
7106 * gdb.fortran/vla-ptype.exp: Fix typos.
7107 * gdb.fortran/vla-value.exp: Same.
7108
7109 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7110
7111 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7112 * gdb.mi/mi-var-child-f.exp: Likewise.
7113 * gdb.mi/mi-vla-fortran.exp: Likewise.
7114
7115 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7116 Christoph Weinmann <christoph.t.weinmann@intel.com>
7117 Bernhard Heckel <bernhard.heckel@intel.com>
7118
7119 * gdb.fortran/ptr-indentation.f90: New file.
7120 * gdb.fortran/ptr-indentation.exp: New file.
7121
7122 2017-09-05 Tom Tromey <tom@tromey.com>
7123
7124 PR gdb/22010:
7125 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7126
7127 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7128
7129 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7130
7131 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7132
7133 * gdb.threads/tls-nodebug-pie.c: New file.
7134 * gdb.threads/tls-nodebug-pie.exp: New file.
7135
7136 2017-09-05 Tom Tromey <tom@tromey.com>
7137
7138 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7139 for rust.
7140
7141 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7142
7143 * gdb.multi/multi-arch-exec.exp: Test with different
7144 "follow-exec-mode" settings.
7145 (do_test): New procedure.
7146
7147 2017-09-04 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/func-static.c (S::method const, S::method volatile)
7150 (S::method volatile const): New methods.
7151 (c_s, v_s, cv_s): New instances.
7152 (main): Call method() on them.
7153 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7154 (cannot_resolve): New procedure.
7155 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7156 print-quote-unquoted columns.
7157 (do_test): Test printing each scope too.
7158
7159 2017-09-04 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.base/local-static.exp: Also test with
7162 class::method::variable wholly quoted.
7163 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7164
7165 2017-09-04 Pedro Alves <palves@redhat.com>
7166
7167 * gdb.base/local-static.c: New.
7168 * gdb.base/local-static.cc: New.
7169 * gdb.base/local-static.exp: New.
7170
7171 2017-09-04 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.asm/asm-source.exp: Add casts to int.
7174 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7175 (dataglobal64_1, dataglobal64_2): New globals.
7176 * gdb.base/nodebug.exp: Test different expressions involving the
7177 new globals, with print, whatis and ptype. Add casts to int.
7178 * gdb.base/solib-display.exp: Add casts to int.
7179 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7180 * gdb.cp/m-static.exp: Add cast to int.
7181 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7182 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7183 tls variable with no debug info without a cast. Test with a cast
7184 to int too.
7185 * gdb.trace/entry-values.exp: Add casts.
7186
7187 2017-09-04 Pedro Alves <palves@redhat.com>
7188
7189 * gdb.base/nodebug.exp: Test that ptype's error about functions
7190 with unknown return type includes the function name too.
7191
7192 2017-09-04 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7195 return type of munmap in infcall.
7196 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7197 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7198 type of ftell in infcall.
7199 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7200 type of getpid in infcall.
7201 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7202 infcall.
7203 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7204 Bail on failure to extract the pid.
7205 * gdb.base/nodebug.c: #include <stdint.h>.
7206 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7207 New functions.
7208 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7209 Change expected output of print/whatis/ptype with functions with
7210 no debug info. Test all supported languages. Call
7211 test_call_promotion.
7212 * gdb.compile/compile.exp: Adjust expected output to expect
7213 warning.
7214 * gdb.threads/siginfo-threads.exp: Likewise.
7215
7216 2017-09-04 Pedro Alves <palves@redhat.com>
7217
7218 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7219 "prototypes". Test calling float functions via prototyped and
7220 unprototyped function pointers.
7221 (perform_all_tests): New parameter "prototypes". Pass it down.
7222 (top level): Pass down "prototypes" parameter to
7223 perform_all_tests.
7224
7225 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7226
7227 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7228 Test with nested loops.
7229
7230 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7231
7232 * gdb.base/commands.exp: Call the new procedures.
7233 (loop_break_test, loop_continue_test): New procedures.
7234
7235 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7236
7237 * gdb.base/commands.exp: Call new procedure.
7238 (define_if_without_arg_test): New procedure.
7239
7240 2017-09-04 Pedro Alves <palves@redhat.com>
7241
7242 * gdb.base/list-ambiguous.exp: New file.
7243 * gdb.base/list-ambiguous0.c: New file.
7244 * gdb.base/list-ambiguous1.c: New file.
7245 * gdb.base/list.exp (test_list_range): Adjust expected output.
7246
7247 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 * gdb.base/share-env-with-gdbserver.c: New file.
7250 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7251
7252 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7253
7254 * gdb.base/commands.exp (gdbvar_simple_if_test,
7255 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7256 progvar_simple_if_test, progvar_simple_while_test,
7257 progvar_complex_if_while_test, user_defined_command_test,
7258 user_defined_command_args_eval,
7259 user_defined_command_args_stack_test,
7260 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7261 temporary_breakpoint_commands,
7262 gdb_test_no_prompt, redefine_hook_test,
7263 redefine_backtrace_test): Remove "global gdb_prompt".
7264
7265 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7266
7267 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7268 New proc, call it from toplevel.
7269
7270 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7271
7272 PR remote/21852
7273 * gdb.server/normal.c: New file, copied from gdb.base.
7274 * gdb.server/run-without-local-binary.exp: New file.
7275
7276 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7277
7278 * gdb.arch/sparc64-adi.exp: New file.
7279 * gdb.arch/sparc64-adi.c: New file.
7280
7281 2017-08-22 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7284 (top level): Add "list all overloads" tests.
7285
7286 2017-08-22 Tom Tromey <tom@tromey.com>
7287
7288 * gdb.gdb/xfullpath.exp: Remove.
7289
7290 2017-08-21 Pedro Alves <palves@redhat.com>
7291
7292 PR gdb/19487
7293 * gdb.base/symbol-alias.c: New.
7294 * gdb.base/symbol-alias2.c: New.
7295 * gdb.base/symbol-alias.exp: New.
7296
7297 2017-08-21 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.base/dfp-test.c
7300 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7301 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7302 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7303 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7304 * gdb.base/whatis-ptype-typedefs.c: New.
7305 * gdb.base/whatis-ptype-typedefs.exp: New.
7306 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7307 (an_int, an_int_type, an_int_type2): New globals.
7308 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7309 involving typedefs and cast expressions.
7310 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7311 (lookup_typedefs_function): New.
7312 (typedefs_pretty_printers_dict): New.
7313 (top level): Register lookup_typedefs_function in
7314 gdb.pretty_printers.
7315
7316 2017-08-18 Yao Qi <yao.qi@linaro.org>
7317
7318 * gdb.server/unittest.exp: New.
7319
7320 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7321
7322 PR gdb/21954
7323 * gdb.base/environ.exp: Add test to check if 'unset environment'
7324 works.
7325
7326 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7327
7328 * lib/gdb.exp (universal_compile_options): New caching proc.
7329 (gdb_compile): Suppress GCC's coloring of messages.
7330
7331 2017-08-14 Tom Tromey <tom@tromey.com>
7332
7333 PR gdb/21675:
7334 * gdb.base/printcmds.exp (test_radices): New function.
7335 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7336 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7337 * lib/gdb.exp (get_integer_valueof): Use p/d.
7338
7339 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7340
7341 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7342 characters.
7343
7344 2017-08-05 Tom Tromey <tom@tromey.com>
7345
7346 * gdb.rust/simple.exp: Allow String to appear in a different
7347 namespace.
7348
7349 2017-07-26 Yao Qi <yao.qi@linaro.org>
7350
7351 * gdb.gdb/unittest.exp: Invoke command
7352 "maintenance check xml-descriptions".
7353
7354 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7355
7356 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7357 calling context.
7358 (hex128): Drop erroneous calculation of parameters.
7359
7360 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7361
7362 * gdb.python/py-unwind.exp: Disable stack protection when
7363 building test file.
7364
7365 2017-07-20 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.base/default.exp (set language): Adjust expected output.
7368
7369 2017-07-20 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7372 (test_minsym): ... this, and make static.
7373 (get_pck__foo__bar__minsym): Rename to ...
7374 (get_test_minsym): ... this.
7375 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7376 symbol names and comments.
7377 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7378 (get_test_minsym): ... this.
7379 (pck__foo__bar__minsym__2): Rename to ...
7380 (test_minsym): ... this.
7381 (main): Adjust.
7382
7383 2017-07-17 Pedro Alves <palves@redhat.com>
7384
7385 * gdb.base/completion.exp: Adjust expected output.
7386 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7387 the completer works.
7388
7389 2017-07-17 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7392
7393 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7394
7395 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7396
7397 2017-07-14 Tom Tromey <tom@tromey.com>
7398
7399 PR rust/21764:
7400 * gdb.rust/simple.exp: Add tests.
7401
7402 2017-07-14 Tom Tromey <tom@tromey.com>
7403
7404 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7405
7406 2017-07-14 Pedro Alves <palves@redhat.com>
7407
7408 * gdb.linespec/base/one/thefile.cc (z1): New function.
7409 * gdb.linespec/base/two/thefile.cc (z2): New function.
7410 * gdb.linespec/linespec.exp: Add tests.
7411
7412 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7413
7414 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7415 to mi_create_breakpoint.
7416
7417 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7418
7419 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7420 mi_create_breakpoint.
7421
7422 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7423
7424 * gdb.dlang/demangle.exp: Update for demangling changes.
7425
7426 2017-07-09 Tom Tromey <tom@tromey.com>
7427
7428 * gdb.dwarf2/shortpiece.exp: New file.
7429
7430 2017-07-06 David Blaikie <dblaikie@gmail.com>
7431
7432 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7433 built from fissiont-multi-cu{1,2}.c.
7434 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7435 except putting 'main' and 'func' in separate CUs in the same DWO file.
7436 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7437 test.
7438 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7439 test.
7440
7441 2017-07-06 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.python/py-unwind.exp: Test flushregs.
7444
7445 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7446
7447 PR cli/21688
7448 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7449 tests for alias commands and trailing whitespace.
7450
7451 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7452
7453 PR cli/21688
7454 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7455 procedure. Call it.
7456
7457 2017-06-29 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.base/printcmds.exp: Add tests.
7460
7461 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7462
7463 PR gdb/21337
7464 * gdb.base/reread-readsym.exp: New file.
7465 * gdb.base/reread-readsym.c: New file.
7466
7467 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7468
7469 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7470 subpattern.
7471
7472 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7473
7474 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7475 extended mnemonic.
7476 * gdb.arch/powerpc-power9.s: Likewise.
7477
7478 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7479
7480 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7481 on 32-bit x86 targets. Exploit is_*_target macros where
7482 appropriate.
7483
7484 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7485
7486 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7487 register pieces.
7488
7489 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7490
7491 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7492 located in one or more DWARF pieces.
7493
7494 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7495
7496 * lib/gdb.exp (get_endianness): New proc.
7497 * gdb.arch/aarch64-fp.exp: Use it.
7498 * gdb.arch/altivec-regs.exp: Likewise.
7499 * gdb.arch/e500-regs.exp: Likewise.
7500 * gdb.arch/vsx-regs.exp: Likewise.
7501 * gdb.base/dump.exp: Likewise.
7502 * gdb.base/funcargs.exp: Likewise.
7503 * gdb.base/gnu_vector.exp: Likewise.
7504 * gdb.dwarf2/formdata16.exp: Likewise.
7505 * gdb.dwarf2/implptrpiece.exp: Likewise.
7506 * gdb.dwarf2/nonvar-access.exp: Likewise.
7507 * gdb.python/py-inferior.exp: Likewise.
7508 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7509
7510 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7511
7512 PR gdb/21226
7513 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7514 stack value pieces are taken from the LSB end.
7515
7516 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7517
7518 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7519 variable at nonzero offset.
7520
7521 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7522
7523 * gdb.dwarf2/var-access.c: New file.
7524 * gdb.dwarf2/var-access.exp: New test.
7525 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7526
7527 2017-06-12 Tom Tromey <tom@tromey.com>
7528
7529 * gdb.dwarf2/formdata16.exp: Add tests.
7530
7531 2017-06-12 Tom Tromey <tom@tromey.com>
7532
7533 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7534
7535 2017-06-12 Tom Tromey <tom@tromey.com>
7536
7537 PR exp/16225:
7538 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7539 * gdb.arch/vsx-regs.exp: Update tests.
7540 * gdb.arch/s390-vregs.exp (hex128): New proc.
7541 Update test.
7542 * gdb.arch/altivec-regs.exp: Update tests.
7543
7544 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7545
7546 * gdb.base/startup-with-shell.c: New file.
7547 * gdb.base/startup-with-shell.exp: Likewise.
7548
7549 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7550
7551 * gdb.server/non-existing-program.exp: Update regex in order to
7552 reflect the fact that gdbserver is now using fork_inferior (with a
7553 shell) to startup the inferior.
7554
7555 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7556
7557 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7558 support function calls from GDB.
7559
7560 2017-05-21 Tom Tromey <tom@tromey.com>
7561
7562 PR rust/21466:
7563 * gdb.rust/unsized.exp: New file.
7564 * gdb.rust/unsized.rs: New file.
7565
7566 2017-05-19 Tom Tromey <tom@tromey.com>
7567
7568 PR rust/21484:
7569 * gdb.rust/watch.exp: New file.
7570 * gdb.rust/watch.rs: New file.
7571
7572 2017-05-18 Tom Tromey <tom@tromey.com>
7573
7574 * gdb.rust/simple.exp: Allow Box to be qualified.
7575
7576 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7577
7578 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7579
7580 2017-05-18 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.base/fileio.c (test_write, test_read, test_close)
7583 (test_fstat): Don't print 'ret' in the fail path.
7584
7585 2017-05-18 Pedro Alves <palves@redhat.com>
7586
7587 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7588 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7589 (test_system, test_rename, test_unlink, test_time): Change
7590 prototypes.
7591 * gdb.base/fileio.exp (stop_msg): Adjust.
7592
7593 2017-05-18 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.base/fileio.c (null_str): New global.
7596 (test_stat): Use it.
7597 * gdb.base/fileio.exp: Remove nowarnings.
7598
7599 2017-05-17 Yao Qi <yao.qi@linaro.org>
7600
7601 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7602
7603 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7604
7605 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7606 argument command.
7607 (top-level): Invoke test_set_inferior_tty.
7608
7609 2017-05-04 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7612 Add parens to print call for Python 3.
7613
7614 2017-05-03 Keith Seitz <keiths@redhat.com>
7615
7616 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7617 (main): Call it.
7618
7619 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7620
7621 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7622 to prev and next.
7623
7624 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7625
7626 * gdb.python/py-record-btrace.exp: Remove test for
7627 gdb.BtraceInstruction.error.
7628
7629 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7630
7631 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7632
7633 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7634
7635 * gdb.python/py-record-btrace-threads.c: New file.
7636 * gdb.python/py-record-btrace-threads.exp: New file.
7637
7638 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7639
7640 PR testsuite/8595
7641 * gdb.base/environ.exp: Make test available in all architectures.
7642 Move bits related to "info program" testing to
7643 gdb.base/info-program.exp. Rewrite tests to use the two new
7644 procedures mentione below.
7645 (test_set_show_env_var) New procedure.
7646 (test_set_show_env_var_equal): Likewise.
7647 * gdb.base/info-program.exp: New file.
7648
7649 2017-04-27 Keith Seitz <keiths@redhat.com>
7650
7651 * gdb.cp/oranking.cc (test15): New function.
7652 (main): Call test15 and declare additional variables for testing.
7653 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7654 "p foo101('abc')" tests.
7655 Add tests for cv qualifier overloads.
7656 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7657 "lvalue reference overload" test.
7658 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7659 "print value of f1 on Child&& in f2" test.
7660
7661 2017-04-19 Pedro Alves <palves@redhat.com>
7662
7663 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7664 procedure.
7665 (top level): Call it.
7666 * lib/gdb.exp (gdb_define_cmd): New procedure.
7667
7668 2017-04-12 Pedro Alves <palves@redhat.com>
7669
7670 PR gdb/21323
7671 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7672 (wchar): New global.
7673 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7674 (do_test_wide_char, wide_char_types_no_program, top level): Add
7675 wchar_t testing.
7676
7677 2017-04-12 Pedro Alves <palves@redhat.com>
7678
7679 PR c++/21323
7680 * gdb.cp/wide_char_types.c: New file.
7681 * gdb.cp/wide_char_types.exp: New file.
7682
7683 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7684
7685 PR gdb/21352
7686 * gdb.trace/tsv.exp: Add test for "tsave -r".
7687
7688 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7689
7690 * gdb.dlang/watch-loc.c: New file.
7691 * gdb.dlang/watch-loc.exp: New file.
7692
7693 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7694
7695 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7696
7697 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7698
7699 * gdb.arch/arc-analyze-prologue.S: New file.
7700 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7701
7702 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7703
7704 * gdb.arch/arc-decode-insn.S: New file.
7705 * gdb.arch/arc-decode-insn.exp: Likewise.
7706
7707 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7708
7709 PR tdep/20928
7710 * gdb.arch/sparc64-regs.exp: New file.
7711 * gdb.arch/sparc64-regs.S: Likewise.
7712
7713 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7714
7715 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7716 and memory view on Python 3.
7717
7718 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7719 Keith Seitz <keiths@redhat.com>
7720
7721 PR gdb/14441
7722 * gdb.cp/demangle.exp: Add rvalue reference tests.
7723 * gdb.cp/rvalue-ref-casts.cc: New file.
7724 * gdb.cp/rvalue-ref-casts.exp: New file.
7725 * gdb.cp/rvalue-ref-overload.cc: New file.
7726 * gdb.cp/rvalue-ref-overload.exp: New file.
7727 * gdb.cp/rvalue-ref-params.cc: New file.
7728 * gdb.cp/rvalue-ref-params.exp: New file.
7729 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7730 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7731 * gdb.cp/rvalue-ref-types.cc: New file.
7732 * gdb.cp/rvalue-ref-types.exp: New file.
7733 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7734 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7735
7736 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7737
7738 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7739 New procedure.
7740
7741 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7742
7743 * lib/mi-support.exp (mi_gdb_test): Add additional message
7744 for unexpected output.
7745
7746 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7747
7748 * gdb.base/examine-backward.c (Barrier): New character array
7749 constant, to ensure that TestStrings is preceded by a string
7750 terminator.
7751
7752 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7753
7754 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7755 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7756 and implicit pointer into such a location.
7757
7758 2017-03-16 Doug Evans <dje@google.com>
7759
7760 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7761
7762 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7763
7764 * gdb.cp/m-static.exp: Fix expectation for prototype of
7765 test5.single_constructor and single_constructor::single_constructor.
7766
7767 2017-03-16 Doug Evans <dje@google.com>
7768
7769 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7770 * gdb.guile/scm-lazy-string.c: New file.
7771 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7772 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7773 for pointer, array, typedef lazy strings.
7774
7775 2017-03-16 Doug Evans <dje@google.com>
7776
7777 PR python/17728, python/18439, python/18779
7778 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7779 * gdb.python/py-lazy-string.c (pointer): New typedef.
7780 (main): New locals ptr, array, typedef_ptr.
7781 * gdb.python/py-value.exp: Move lazy string tests to ...
7782 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7783 array, typedef lazy strings.
7784
7785 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7786
7787 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7788 Add optional 'test' parameter.
7789
7790 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7791
7792 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7793 Skip for versions of DejaGnu < 1.5.
7794
7795 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7796
7797 * lib/gdb.exp (dejagnu_version): New proc.
7798 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7799 Use dejagnu_version.
7800
7801 2017-03-10 Keith Seitz <keiths@redhat.com>
7802
7803 PR c++/8128
7804 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7805 type from destructor regexps.
7806 Add a branch which actually passes the test.
7807 Adjust "ptype t5i" test names.
7808
7809 2017-03-08 Pedro Alves <palves@redhat.com>
7810
7811 * gdb.base/step-over-exit.exp: Add explicit test message.
7812
7813 2017-03-08 Pedro Alves <palves@redhat.com>
7814
7815 PR gdb/18360
7816 * gdb.threads/interrupt-while-step-over.c: New file.
7817 * gdb.threads/interrupt-while-step-over.exp: New file.
7818
7819 2017-03-08 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7822 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7823
7824 2017-03-08 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7827 PKRU as not supported as a PASS.
7828
7829 2017-03-08 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7832 prefix instead of $binfile1/$binfile2.
7833 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7834 in test message.
7835 * gdb.python/py-completion.exp: Use "load python file" as test
7836 messages instead of unstable path names.
7837
7838 2017-03-08 Pedro Alves <palves@redhat.com>
7839 Jan Kratochvil <jan.kratochvil@redhat.com>
7840
7841 PR cli/21218
7842 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7843 New proc.
7844 (top level): Call it.
7845
7846 2017-03-08 Pedro Alves <palves@redhat.com>
7847
7848 PR tui/21216
7849 * gdb.tui/tui-nl-filtered-output.exp: New file.
7850
7851 2017-03-08 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/completion.exp: Move TUI completion tests to ...
7854 * gdb.tui/completion.exp: ... this new file.
7855
7856 2017-03-08 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/tui-disasm-long-lines.c,
7859 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7860 gdb.base/tui-layout.exp: Move to ...
7861 * gdb.tui/: ... this new directory.
7862
7863 2017-03-07 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.base/tui-layout.c: New file.
7866 * gdb.base/tui-layout.exp: New file.
7867
7868 2017-03-07 Pedro Alves <palves@redhat.com>
7869
7870 * gdb.base/tui-layout.c: Rename to ...
7871 * gdb.base/tui-disasm-long-lines.c: ... this.
7872 * gdb.base/tui-layout.exp: Rename to ...
7873 * gdb.base/tui-disasm-long-lines.exp: ... this.
7874
7875 2017-03-07 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7878
7879 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7880
7881 * i386-mpx-call.c: New file.
7882 * i386-mpx-call.exp: New file.
7883
7884 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7885
7886 * gdb.arch/powerpc-power.exp: Delete test.
7887 * gdb.arch/powerpc-power.s: Likewise.
7888 * gdb.disasm/disassembler-options.exp: New test.
7889 * gdb.arch/powerpc-altivec.exp: Likewise.
7890 * gdb.arch/powerpc-altivec.s: Likewise.
7891 * gdb.arch/powerpc-altivec2.exp: Likewise.
7892 * gdb.arch/powerpc-altivec2.s: Likewise.
7893 * gdb.arch/powerpc-altivec3.exp: Likewise.
7894 * gdb.arch/powerpc-altivec3.s: Likewise.
7895 * gdb.arch/powerpc-power7.exp: Likewise.
7896 * gdb.arch/powerpc-power7.s: Likewise.
7897 * gdb.arch/powerpc-power8.exp: Likewise.
7898 * gdb.arch/powerpc-power8.s: Likewise.
7899 * gdb.arch/powerpc-power9.exp: Likewise.
7900 * gdb.arch/powerpc-power9.s: Likewise.
7901 * gdb.arch/powerpc-vsx.exp: Likewise.
7902 * gdb.arch/powerpc-vsx.s: Likewise.
7903 * gdb.arch/powerpc-vsx2.exp: Likewise.
7904 * gdb.arch/powerpc-vsx2.s: Likewise.
7905 * gdb.arch/powerpc-vsx3.exp: Likewise.
7906 * gdb.arch/powerpc-vsx3.s: Likewise.
7907 * gdb.arch/arm-disassembler-options.exp: Likewise.
7908 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7909 * gdb.arch/s390-disassembler-options.exp: Likewise.
7910
7911 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7912
7913 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7914 (check_supported_features): ... this. Changed return type to void.
7915 (supports_rdseed): New static global.
7916 (rdseed): Check supports_rdseed.
7917 (initialize): Call check_supported_features.
7918
7919 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7920
7921 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7922 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7923 and lqarx/stqcx.
7924 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7925 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7926
7927 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7928
7929 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7930 uppercase.
7931
7932 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7933
7934 * gdb.dwarf2/formdata16.c: New file.
7935 * gdb.dwarf2/formdata16.exp: New file.
7936 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7937
7938 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7939
7940 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7941 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7942 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7943 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7944 DW_AT_GNU_*.
7945
7946 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7947
7948 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7949
7950 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7951
7952 PR gdb/21164
7953 * gdb.base/maint.exp: Add testcases for when the commands do
7954 not have arguments.
7955
7956 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7957
7958 * gdb.cp/chained-calls.exp: Use p instead of P.
7959
7960 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7961
7962 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7963 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7964
7965 2017-02-14 Tom Tromey <tom@tromey.com>
7966
7967 PR python/13598:
7968 * gdb.python/py-events.exp: Add before_prompt event tests.
7969
7970 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7971
7972 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7973
7974 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7975
7976 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7977 (main): Call my_unique_function_name.
7978 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7979 completion of patterns with a single match.
7980 Add missing -re switches to gdb_test_multiple calls.
7981
7982 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7983
7984 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7985 return if core file is not recognized.
7986
7987 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7988
7989 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7990 and extra UIs.
7991
7992 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7993
7994 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7995 proc_with_prefix.
7996
7997 2017-02-10 Tom Tromey <tom@tromey.com>
7998
7999 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8000
8001 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
8002
8003 PR gdb/21122
8004 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8005
8006 2017-02-08 Jerome Guitton <guitton@adacore.com>
8007
8008 * gdb.base/define.exp: Add test for command abbreviations
8009 in define.
8010
8011 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
8012
8013 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8014 * gdb.reverse/insn-reverse-x86.c: New file.
8015
8016 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8017
8018 PR tdep/20936
8019 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8020
8021 2017-02-03 Tom Tromey <tom@tromey.com>
8022
8023 PR rust/21097:
8024 * gdb.rust/simple.exp: Add new tests.
8025
8026 2017-02-02 Pedro Alves <palves@redhat.com>
8027
8028 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8029 tests.
8030
8031 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8032
8033 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8034 taking a 2-byte value out of a 4-byte DWARF implicit value on
8035 big-endian targets.
8036 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8037 logic. Add test cases for DW_OP_implicit.
8038
8039 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8040
8041 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8042
8043 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8044
8045 * gdb.btrace/enable.exp: Call gdb_exit before
8046 skip_gdbserver_tests.
8047
8048 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8049
8050 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8051 GDBFLAGS.
8052
8053 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8054
8055 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8056 the test is skipped.
8057 * gdb.btrace/data.exp: Likewise.
8058 * gdb.btrace/delta.exp: Likewise.
8059 * gdb.btrace/dlopen.exp: Likewise.
8060 * gdb.btrace/enable-running.exp: Likewise.
8061 * gdb.btrace/enable.exp: Likewise.
8062 * gdb.btrace/exception.exp: Likewise.
8063 * gdb.btrace/function_call_history.exp: Likewise.
8064 * gdb.btrace/gcore.exp: Likewise.
8065 * gdb.btrace/instruction_history.exp: Likewise.
8066 * gdb.btrace/multi-thread-step.exp: Likewise.
8067 * gdb.btrace/nohist.exp: Likewise.
8068 * gdb.btrace/non-stop.exp: Likewise.
8069 * gdb.btrace/reconnect.exp: Likewise.
8070 * gdb.btrace/record_goto-step.exp: Likewise.
8071 * gdb.btrace/record_goto.exp: Likewise.
8072 * gdb.btrace/rn-dl-bind.exp: Likewise.
8073 * gdb.btrace/segv.exp: Likewise.
8074 * gdb.btrace/step.exp: Likewise.
8075 * gdb.btrace/stepi.exp: Likewise.
8076 * gdb.btrace/tailcall-only.exp: Likewise.
8077 * gdb.btrace/tailcall.exp: Likewise.
8078 * gdb.btrace/tsx.exp: Likewise.
8079 * gdb.btrace/unknown_functions.exp: Likewise.
8080 * gdb.btrace/vdso.exp: Likewise.
8081
8082 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8083
8084 * gdb.btrace/enable-running.c: New.
8085 * gdb.btrace/enable-running.exp: New.
8086
8087 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8088
8089 * gdb.arch/amd64-gs_base.c: New file.
8090 * gdb.arch/amd64-gs_base.exp: New file.
8091
8092 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8093
8094 * lib/memory.exp: Remove spurious empty newlines.
8095
8096 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8097
8098 * gdb.python/py-bad-printers.exp: Load python file using "source".
8099 * gdb.python/py-events.exp: Likewise.
8100 * gdb.python/py-evsignal.exp: Likewise.
8101 * gdb.python/py-evthreads.exp: Likewise.
8102 * gdb.python/py-frame-args.exp: Likewise.
8103 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8104 * gdb.python/py-framefilter-mi.exp: Likewise.
8105 * gdb.python/py-framefilter.exp: Likewise.
8106 * gdb.python/py-mi.exp: Likewise.
8107 * gdb.python/py-pp-maint.exp: Likewise.
8108 * gdb.python/py-pp-registration.exp: Likewise.
8109 * gdb.python/py-prettyprint.exp: Likewise.
8110 (run_lang_tests): Likewise.
8111 * gdb.python/py-typeprint.exp: Likewise.
8112
8113 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8114
8115 * lib/memory.exp: New file.
8116 * lib/gdb.exp: Load memory.exp.
8117 * gdb.base/memattr.exp (delete_memory): Move proc to
8118 lib/memory.exp and rename to delete_memory_regions.
8119 Replace delete_memory with delete_memory_regions.
8120 Cleanup memory regions before tests.
8121 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8122 before tests.
8123
8124 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8125
8126 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8127 files.
8128 (initialize): New function conditionally defined.
8129 (testcases): Move within conditional block.
8130 (main): Call initialize.
8131 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8132 of gdb.reverse/insn-reverse.c.
8133 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8134 gdb.reverse/insn-reverse.c.
8135
8136 2017-01-26 Yao Qi <yao.qi@linaro.org>
8137
8138 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8139 disassemble on address 0.
8140
8141 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8142 Yao Qi <yao.qi@linaro.org>
8143
8144 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8145 * gdb.dwarf2/implptr-64bit.S: Remove.
8146 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8147 variables in caller's context. Add DW_OP_implicit_value.
8148
8149 2017-01-25 Yao Qi <yao.qi@linaro.org>
8150
8151 * lib/dwarf.exp (Dwarf::_location): Handle
8152 DW_OP_GNU_implicit_pointer with proper size.
8153
8154 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8155
8156 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8157 and add untested calls.
8158
8159 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8160
8161 * gdb.python/python.exp: Check line number against what GDB thinks
8162 the line number is for func1.
8163
8164 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8165
8166 * gdb.dlang/debug-expr.exp: New file.
8167
8168 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8169
8170 Fix test names for the following files:
8171
8172 * gdb.ada/exec_changed.exp
8173 * gdb.ada/info_types.exp
8174 * gdb.arch/aarch64-atomic-inst.exp
8175 * gdb.arch/aarch64-fp.exp
8176 * gdb.arch/altivec-abi.exp
8177 * gdb.arch/altivec-regs.exp
8178 * gdb.arch/amd64-byte.exp
8179 * gdb.arch/amd64-disp-step.exp
8180 * gdb.arch/amd64-dword.exp
8181 * gdb.arch/amd64-entry-value-inline.exp
8182 * gdb.arch/amd64-entry-value-param.exp
8183 * gdb.arch/amd64-entry-value-paramref.exp
8184 * gdb.arch/amd64-entry-value.exp
8185 * gdb.arch/amd64-i386-address.exp
8186 * gdb.arch/amd64-invalid-stack-middle.exp
8187 * gdb.arch/amd64-invalid-stack-top.exp
8188 * gdb.arch/amd64-optimout-repeat.exp
8189 * gdb.arch/amd64-prologue-skip.exp
8190 * gdb.arch/amd64-prologue-xmm.exp
8191 * gdb.arch/amd64-stap-special-operands.exp
8192 * gdb.arch/amd64-stap-wrong-subexp.exp
8193 * gdb.arch/amd64-tailcall-cxx.exp
8194 * gdb.arch/amd64-tailcall-noret.exp
8195 * gdb.arch/amd64-tailcall-ret.exp
8196 * gdb.arch/amd64-tailcall-self.exp
8197 * gdb.arch/amd64-word.exp
8198 * gdb.arch/arm-bl-branch-dest.exp
8199 * gdb.arch/arm-disp-step.exp
8200 * gdb.arch/arm-neon.exp
8201 * gdb.arch/arm-single-step-kernel-helper.exp
8202 * gdb.arch/avr-flash-qualifier.exp
8203 * gdb.arch/disp-step-insn-reloc.exp
8204 * gdb.arch/e500-abi.exp
8205 * gdb.arch/e500-regs.exp
8206 * gdb.arch/ftrace-insn-reloc.exp
8207 * gdb.arch/i386-avx512.exp
8208 * gdb.arch/i386-bp_permanent.exp
8209 * gdb.arch/i386-byte.exp
8210 * gdb.arch/i386-cfi-notcurrent.exp
8211 * gdb.arch/i386-disp-step.exp
8212 * gdb.arch/i386-dr3-watch.exp
8213 * gdb.arch/i386-float.exp
8214 * gdb.arch/i386-gnu-cfi.exp
8215 * gdb.arch/i386-mpx-map.exp
8216 * gdb.arch/i386-mpx-sigsegv.exp
8217 * gdb.arch/i386-mpx-simple_segv.exp
8218 * gdb.arch/i386-mpx.exp
8219 * gdb.arch/i386-permbkpt.exp
8220 * gdb.arch/i386-prologue.exp
8221 * gdb.arch/i386-signal.exp
8222 * gdb.arch/i386-size-overlap.exp
8223 * gdb.arch/i386-unwind.exp
8224 * gdb.arch/i386-word.exp
8225 * gdb.arch/mips-fcr.exp
8226 * gdb.arch/powerpc-d128-regs.exp
8227 * gdb.arch/powerpc-stackless.exp
8228 * gdb.arch/ppc64-atomic-inst.exp
8229 * gdb.arch/s390-stackless.exp
8230 * gdb.arch/s390-tdbregs.exp
8231 * gdb.arch/s390-vregs.exp
8232 * gdb.arch/sparc-sysstep.exp
8233 * gdb.arch/thumb-bx-pc.exp
8234 * gdb.arch/thumb-singlestep.exp
8235 * gdb.arch/thumb2-it.exp
8236 * gdb.arch/vsx-regs.exp
8237 * gdb.asm/asm-source.exp
8238 * gdb.base/a2-run.exp
8239 * gdb.base/advance.exp
8240 * gdb.base/all-bin.exp
8241 * gdb.base/anon.exp
8242 * gdb.base/args.exp
8243 * gdb.base/arithmet.exp
8244 * gdb.base/async-shell.exp
8245 * gdb.base/async.exp
8246 * gdb.base/attach-pie-noexec.exp
8247 * gdb.base/attach-twice.exp
8248 * gdb.base/auto-load.exp
8249 * gdb.base/bang.exp
8250 * gdb.base/bitfields.exp
8251 * gdb.base/break-always.exp
8252 * gdb.base/break-caller-line.exp
8253 * gdb.base/break-entry.exp
8254 * gdb.base/break-inline.exp
8255 * gdb.base/break-on-linker-gcd-function.exp
8256 * gdb.base/break-probes.exp
8257 * gdb.base/break.exp
8258 * gdb.base/breakpoint-shadow.exp
8259 * gdb.base/call-ar-st.exp
8260 * gdb.base/call-sc.exp
8261 * gdb.base/call-signal-resume.exp
8262 * gdb.base/call-strs.exp
8263 * gdb.base/callfuncs.exp
8264 * gdb.base/catch-fork-static.exp
8265 * gdb.base/catch-gdb-caused-signals.exp
8266 * gdb.base/catch-load.exp
8267 * gdb.base/catch-signal-fork.exp
8268 * gdb.base/catch-signal.exp
8269 * gdb.base/catch-syscall.exp
8270 * gdb.base/charset.exp
8271 * gdb.base/checkpoint.exp
8272 * gdb.base/chng-syms.exp
8273 * gdb.base/code-expr.exp
8274 * gdb.base/code_elim.exp
8275 * gdb.base/commands.exp
8276 * gdb.base/completion.exp
8277 * gdb.base/complex.exp
8278 * gdb.base/cond-expr.exp
8279 * gdb.base/condbreak.exp
8280 * gdb.base/consecutive.exp
8281 * gdb.base/continue-all-already-running.exp
8282 * gdb.base/coredump-filter.exp
8283 * gdb.base/corefile.exp
8284 * gdb.base/dbx.exp
8285 * gdb.base/debug-expr.exp
8286 * gdb.base/define.exp
8287 * gdb.base/del.exp
8288 * gdb.base/disabled-location.exp
8289 * gdb.base/disasm-end-cu.exp
8290 * gdb.base/disasm-optim.exp
8291 * gdb.base/display.exp
8292 * gdb.base/duplicate-bp.exp
8293 * gdb.base/ena-dis-br.exp
8294 * gdb.base/ending-run.exp
8295 * gdb.base/enumval.exp
8296 * gdb.base/environ.exp
8297 * gdb.base/eu-strip-infcall.exp
8298 * gdb.base/eval-avoid-side-effects.exp
8299 * gdb.base/eval-skip.exp
8300 * gdb.base/exitsignal.exp
8301 * gdb.base/expand-psymtabs.exp
8302 * gdb.base/filesym.exp
8303 * gdb.base/find-unmapped.exp
8304 * gdb.base/finish.exp
8305 * gdb.base/float.exp
8306 * gdb.base/foll-exec-mode.exp
8307 * gdb.base/foll-exec.exp
8308 * gdb.base/foll-fork.exp
8309 * gdb.base/fortran-sym-case.exp
8310 * gdb.base/freebpcmd.exp
8311 * gdb.base/func-ptr.exp
8312 * gdb.base/func-ptrs.exp
8313 * gdb.base/funcargs.exp
8314 * gdb.base/gcore-buffer-overflow.exp
8315 * gdb.base/gcore-relro-pie.exp
8316 * gdb.base/gcore-relro.exp
8317 * gdb.base/gcore.exp
8318 * gdb.base/gdb1090.exp
8319 * gdb.base/gdb11530.exp
8320 * gdb.base/gdb11531.exp
8321 * gdb.base/gdb1821.exp
8322 * gdb.base/gdbindex-stabs.exp
8323 * gdb.base/gdbvars.exp
8324 * gdb.base/hbreak.exp
8325 * gdb.base/hbreak2.exp
8326 * gdb.base/included.exp
8327 * gdb.base/infcall-input.exp
8328 * gdb.base/inferior-died.exp
8329 * gdb.base/infnan.exp
8330 * gdb.base/info-macros.exp
8331 * gdb.base/info-os.exp
8332 * gdb.base/info-proc.exp
8333 * gdb.base/info-shared.exp
8334 * gdb.base/info-target.exp
8335 * gdb.base/infoline.exp
8336 * gdb.base/interp.exp
8337 * gdb.base/interrupt.exp
8338 * gdb.base/jit-reader.exp
8339 * gdb.base/jit-simple.exp
8340 * gdb.base/kill-after-signal.exp
8341 * gdb.base/kill-detach-inferiors-cmd.exp
8342 * gdb.base/label.exp
8343 * gdb.base/langs.exp
8344 * gdb.base/ldbl_e308.exp
8345 * gdb.base/line-symtabs.exp
8346 * gdb.base/linespecs.exp
8347 * gdb.base/list.exp
8348 * gdb.base/long_long.exp
8349 * gdb.base/longest-types.exp
8350 * gdb.base/maint.exp
8351 * gdb.base/max-value-size.exp
8352 * gdb.base/memattr.exp
8353 * gdb.base/mips_pro.exp
8354 * gdb.base/morestack.exp
8355 * gdb.base/moribund-step.exp
8356 * gdb.base/multi-forks.exp
8357 * gdb.base/nested-addr.exp
8358 * gdb.base/nextoverexit.exp
8359 * gdb.base/noreturn-finish.exp
8360 * gdb.base/noreturn-return.exp
8361 * gdb.base/nostdlib.exp
8362 * gdb.base/offsets.exp
8363 * gdb.base/opaque.exp
8364 * gdb.base/pc-fp.exp
8365 * gdb.base/permissions.exp
8366 * gdb.base/print-symbol-loading.exp
8367 * gdb.base/prologue-include.exp
8368 * gdb.base/psymtab.exp
8369 * gdb.base/ptype.exp
8370 * gdb.base/random-signal.exp
8371 * gdb.base/randomize.exp
8372 * gdb.base/range-stepping.exp
8373 * gdb.base/readline-ask.exp
8374 * gdb.base/recpar.exp
8375 * gdb.base/recurse.exp
8376 * gdb.base/relational.exp
8377 * gdb.base/restore.exp
8378 * gdb.base/return-nodebug.exp
8379 * gdb.base/return.exp
8380 * gdb.base/run-after-attach.exp
8381 * gdb.base/save-bp.exp
8382 * gdb.base/scope.exp
8383 * gdb.base/sect-cmd.exp
8384 * gdb.base/set-lang-auto.exp
8385 * gdb.base/set-noassign.exp
8386 * gdb.base/setvar.exp
8387 * gdb.base/sigall.exp
8388 * gdb.base/sigbpt.exp
8389 * gdb.base/siginfo-addr.exp
8390 * gdb.base/siginfo-infcall.exp
8391 * gdb.base/siginfo-obj.exp
8392 * gdb.base/siginfo.exp
8393 * gdb.base/signals-state-child.exp
8394 * gdb.base/signest.exp
8395 * gdb.base/sigstep.exp
8396 * gdb.base/sizeof.exp
8397 * gdb.base/skip.exp
8398 * gdb.base/solib-corrupted.exp
8399 * gdb.base/solib-nodir.exp
8400 * gdb.base/solib-search.exp
8401 * gdb.base/stack-checking.exp
8402 * gdb.base/stale-infcall.exp
8403 * gdb.base/stap-probe.exp
8404 * gdb.base/start.exp
8405 * gdb.base/step-break.exp
8406 * gdb.base/step-bt.exp
8407 * gdb.base/step-line.exp
8408 * gdb.base/step-over-exit.exp
8409 * gdb.base/step-over-syscall.exp
8410 * gdb.base/step-resume-infcall.exp
8411 * gdb.base/step-test.exp
8412 * gdb.base/store.exp
8413 * gdb.base/structs3.exp
8414 * gdb.base/sym-file.exp
8415 * gdb.base/symbol-without-target_section.exp
8416 * gdb.base/term.exp
8417 * gdb.base/testenv.exp
8418 * gdb.base/ui-redirect.exp
8419 * gdb.base/until.exp
8420 * gdb.base/unwindonsignal.exp
8421 * gdb.base/value-double-free.exp
8422 * gdb.base/vla-datatypes.exp
8423 * gdb.base/vla-ptr.exp
8424 * gdb.base/vla-sideeffect.exp
8425 * gdb.base/volatile.exp
8426 * gdb.base/watch-cond-infcall.exp
8427 * gdb.base/watch-cond.exp
8428 * gdb.base/watch-non-mem.exp
8429 * gdb.base/watch-read.exp
8430 * gdb.base/watch-vfork.exp
8431 * gdb.base/watchpoint-cond-gone.exp
8432 * gdb.base/watchpoint-delete.exp
8433 * gdb.base/watchpoint-hw-hit-once.exp
8434 * gdb.base/watchpoint-hw.exp
8435 * gdb.base/watchpoint-stops-at-right-insn.exp
8436 * gdb.base/watchpoints.exp
8437 * gdb.base/wchar.exp
8438 * gdb.base/whatis-exp.exp
8439 * gdb.btrace/buffer-size.exp
8440 * gdb.btrace/data.exp
8441 * gdb.btrace/delta.exp
8442 * gdb.btrace/dlopen.exp
8443 * gdb.btrace/enable.exp
8444 * gdb.btrace/exception.exp
8445 * gdb.btrace/function_call_history.exp
8446 * gdb.btrace/gcore.exp
8447 * gdb.btrace/instruction_history.exp
8448 * gdb.btrace/nohist.exp
8449 * gdb.btrace/reconnect.exp
8450 * gdb.btrace/record_goto-step.exp
8451 * gdb.btrace/record_goto.exp
8452 * gdb.btrace/rn-dl-bind.exp
8453 * gdb.btrace/segv.exp
8454 * gdb.btrace/step.exp
8455 * gdb.btrace/stepi.exp
8456 * gdb.btrace/tailcall-only.exp
8457 * gdb.btrace/tailcall.exp
8458 * gdb.btrace/tsx.exp
8459 * gdb.btrace/unknown_functions.exp
8460 * gdb.btrace/vdso.exp
8461 * gdb.compile/compile-ifunc.exp
8462 * gdb.compile/compile-ops.exp
8463 * gdb.compile/compile-print.exp
8464 * gdb.compile/compile-setjmp.exp
8465 * gdb.cp/abstract-origin.exp
8466 * gdb.cp/ambiguous.exp
8467 * gdb.cp/annota2.exp
8468 * gdb.cp/annota3.exp
8469 * gdb.cp/anon-ns.exp
8470 * gdb.cp/anon-struct.exp
8471 * gdb.cp/anon-union.exp
8472 * gdb.cp/arg-reference.exp
8473 * gdb.cp/baseenum.exp
8474 * gdb.cp/bool.exp
8475 * gdb.cp/breakpoint.exp
8476 * gdb.cp/bs15503.exp
8477 * gdb.cp/call-c.exp
8478 * gdb.cp/casts.exp
8479 * gdb.cp/chained-calls.exp
8480 * gdb.cp/class2.exp
8481 * gdb.cp/classes.exp
8482 * gdb.cp/cmpd-minsyms.exp
8483 * gdb.cp/converts.exp
8484 * gdb.cp/cp-relocate.exp
8485 * gdb.cp/cpcompletion.exp
8486 * gdb.cp/cpexprs.exp
8487 * gdb.cp/cplabel.exp
8488 * gdb.cp/cplusfuncs.exp
8489 * gdb.cp/cpsizeof.exp
8490 * gdb.cp/ctti.exp
8491 * gdb.cp/derivation.exp
8492 * gdb.cp/destrprint.exp
8493 * gdb.cp/dispcxx.exp
8494 * gdb.cp/enum-class.exp
8495 * gdb.cp/exception.exp
8496 * gdb.cp/exceptprint.exp
8497 * gdb.cp/expand-psymtabs-cxx.exp
8498 * gdb.cp/expand-sals.exp
8499 * gdb.cp/extern-c.exp
8500 * gdb.cp/filename.exp
8501 * gdb.cp/formatted-ref.exp
8502 * gdb.cp/fpointer.exp
8503 * gdb.cp/gdb1355.exp
8504 * gdb.cp/gdb2495.exp
8505 * gdb.cp/hang.exp
8506 * gdb.cp/impl-this.exp
8507 * gdb.cp/infcall-dlopen.exp
8508 * gdb.cp/inherit.exp
8509 * gdb.cp/iostream.exp
8510 * gdb.cp/koenig.exp
8511 * gdb.cp/local.exp
8512 * gdb.cp/m-data.exp
8513 * gdb.cp/m-static.exp
8514 * gdb.cp/mb-ctor.exp
8515 * gdb.cp/mb-inline.exp
8516 * gdb.cp/mb-templates.exp
8517 * gdb.cp/member-name.exp
8518 * gdb.cp/member-ptr.exp
8519 * gdb.cp/meth-typedefs.exp
8520 * gdb.cp/method.exp
8521 * gdb.cp/method2.exp
8522 * gdb.cp/minsym-fallback.exp
8523 * gdb.cp/misc.exp
8524 * gdb.cp/namelessclass.exp
8525 * gdb.cp/namespace-enum.exp
8526 * gdb.cp/namespace-nested-import.exp
8527 * gdb.cp/namespace.exp
8528 * gdb.cp/nextoverthrow.exp
8529 * gdb.cp/no-dmgl-verbose.exp
8530 * gdb.cp/non-trivial-retval.exp
8531 * gdb.cp/noparam.exp
8532 * gdb.cp/nsdecl.exp
8533 * gdb.cp/nsimport.exp
8534 * gdb.cp/nsnested.exp
8535 * gdb.cp/nsnoimports.exp
8536 * gdb.cp/nsrecurs.exp
8537 * gdb.cp/nsstress.exp
8538 * gdb.cp/nsusing.exp
8539 * gdb.cp/operator.exp
8540 * gdb.cp/oranking.exp
8541 * gdb.cp/overload-const.exp
8542 * gdb.cp/overload.exp
8543 * gdb.cp/ovldbreak.exp
8544 * gdb.cp/ovsrch.exp
8545 * gdb.cp/paren-type.exp
8546 * gdb.cp/parse-lang.exp
8547 * gdb.cp/pass-by-ref.exp
8548 * gdb.cp/pr-1023.exp
8549 * gdb.cp/pr-1210.exp
8550 * gdb.cp/pr-574.exp
8551 * gdb.cp/pr10687.exp
8552 * gdb.cp/pr12028.exp
8553 * gdb.cp/pr17132.exp
8554 * gdb.cp/pr17494.exp
8555 * gdb.cp/pr9067.exp
8556 * gdb.cp/pr9167.exp
8557 * gdb.cp/pr9631.exp
8558 * gdb.cp/printmethod.exp
8559 * gdb.cp/psmang.exp
8560 * gdb.cp/psymtab-parameter.exp
8561 * gdb.cp/ptype-cv-cp.exp
8562 * gdb.cp/ptype-flags.exp
8563 * gdb.cp/re-set-overloaded.exp
8564 * gdb.cp/ref-types.exp
8565 * gdb.cp/rtti.exp
8566 * gdb.cp/scope-err.exp
8567 * gdb.cp/shadow.exp
8568 * gdb.cp/smartp.exp
8569 * gdb.cp/static-method.exp
8570 * gdb.cp/static-print-quit.exp
8571 * gdb.cp/temargs.exp
8572 * gdb.cp/templates.exp
8573 * gdb.cp/try_catch.exp
8574 * gdb.cp/typedef-operator.exp
8575 * gdb.cp/typeid.exp
8576 * gdb.cp/userdef.exp
8577 * gdb.cp/using-crash.exp
8578 * gdb.cp/var-tag.exp
8579 * gdb.cp/virtbase.exp
8580 * gdb.cp/virtfunc.exp
8581 * gdb.cp/virtfunc2.exp
8582 * gdb.cp/vla-cxx.exp
8583 * gdb.disasm/t01_mov.exp
8584 * gdb.disasm/t02_mova.exp
8585 * gdb.disasm/t03_add.exp
8586 * gdb.disasm/t04_sub.exp
8587 * gdb.disasm/t05_cmp.exp
8588 * gdb.disasm/t06_ari2.exp
8589 * gdb.disasm/t07_ari3.exp
8590 * gdb.disasm/t08_or.exp
8591 * gdb.disasm/t09_xor.exp
8592 * gdb.disasm/t10_and.exp
8593 * gdb.disasm/t11_logs.exp
8594 * gdb.disasm/t12_bit.exp
8595 * gdb.disasm/t13_otr.exp
8596 * gdb.dlang/circular.exp
8597 * gdb.dwarf2/arr-stride.exp
8598 * gdb.dwarf2/arr-subrange.exp
8599 * gdb.dwarf2/atomic-type.exp
8600 * gdb.dwarf2/bad-regnum.exp
8601 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8602 * gdb.dwarf2/callframecfa.exp
8603 * gdb.dwarf2/clztest.exp
8604 * gdb.dwarf2/corrupt.exp
8605 * gdb.dwarf2/data-loc.exp
8606 * gdb.dwarf2/dup-psym.exp
8607 * gdb.dwarf2/dw2-anon-mptr.exp
8608 * gdb.dwarf2/dw2-anonymous-func.exp
8609 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8610 * gdb.dwarf2/dw2-bad-unresolved.exp
8611 * gdb.dwarf2/dw2-basic.exp
8612 * gdb.dwarf2/dw2-canonicalize-type.exp
8613 * gdb.dwarf2/dw2-case-insensitive.exp
8614 * gdb.dwarf2/dw2-common-block.exp
8615 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8616 * gdb.dwarf2/dw2-compressed.exp
8617 * gdb.dwarf2/dw2-const.exp
8618 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8619 * gdb.dwarf2/dw2-cu-size.exp
8620 * gdb.dwarf2/dw2-dup-frame.exp
8621 * gdb.dwarf2/dw2-entry-value.exp
8622 * gdb.dwarf2/dw2-icycle.exp
8623 * gdb.dwarf2/dw2-ifort-parameter.exp
8624 * gdb.dwarf2/dw2-inline-break.exp
8625 * gdb.dwarf2/dw2-inline-param.exp
8626 * gdb.dwarf2/dw2-intercu.exp
8627 * gdb.dwarf2/dw2-intermix.exp
8628 * gdb.dwarf2/dw2-lexical-block-bare.exp
8629 * gdb.dwarf2/dw2-linkage-name-trust.exp
8630 * gdb.dwarf2/dw2-minsym-in-cu.exp
8631 * gdb.dwarf2/dw2-noloc.exp
8632 * gdb.dwarf2/dw2-op-call.exp
8633 * gdb.dwarf2/dw2-op-out-param.exp
8634 * gdb.dwarf2/dw2-opt-structptr.exp
8635 * gdb.dwarf2/dw2-param-error.exp
8636 * gdb.dwarf2/dw2-producer.exp
8637 * gdb.dwarf2/dw2-ranges-base.exp
8638 * gdb.dwarf2/dw2-ref-missing-frame.exp
8639 * gdb.dwarf2/dw2-reg-undefined.exp
8640 * gdb.dwarf2/dw2-regno-invalid.exp
8641 * gdb.dwarf2/dw2-restore.exp
8642 * gdb.dwarf2/dw2-restrict.exp
8643 * gdb.dwarf2/dw2-single-line-discriminators.exp
8644 * gdb.dwarf2/dw2-strp.exp
8645 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8646 * gdb.dwarf2/dw2-unresolved.exp
8647 * gdb.dwarf2/dw2-var-zero-addr.exp
8648 * gdb.dwarf2/dw4-sig-types.exp
8649 * gdb.dwarf2/dwz.exp
8650 * gdb.dwarf2/dynarr-ptr.exp
8651 * gdb.dwarf2/enum-type.exp
8652 * gdb.dwarf2/gdb-index.exp
8653 * gdb.dwarf2/implptr-64bit.exp
8654 * gdb.dwarf2/implptr-optimized-out.exp
8655 * gdb.dwarf2/implptr.exp
8656 * gdb.dwarf2/implref-array.exp
8657 * gdb.dwarf2/implref-const.exp
8658 * gdb.dwarf2/implref-global.exp
8659 * gdb.dwarf2/implref-struct.exp
8660 * gdb.dwarf2/mac-fileno.exp
8661 * gdb.dwarf2/main-subprogram.exp
8662 * gdb.dwarf2/member-ptr-forwardref.exp
8663 * gdb.dwarf2/method-ptr.exp
8664 * gdb.dwarf2/missing-sig-type.exp
8665 * gdb.dwarf2/nonvar-access.exp
8666 * gdb.dwarf2/opaque-type-lookup.exp
8667 * gdb.dwarf2/pieces-optimized-out.exp
8668 * gdb.dwarf2/pieces.exp
8669 * gdb.dwarf2/pr10770.exp
8670 * gdb.dwarf2/pr13961.exp
8671 * gdb.dwarf2/staticvirtual.exp
8672 * gdb.dwarf2/subrange.exp
8673 * gdb.dwarf2/symtab-producer.exp
8674 * gdb.dwarf2/trace-crash.exp
8675 * gdb.dwarf2/typeddwarf.exp
8676 * gdb.dwarf2/valop.exp
8677 * gdb.dwarf2/watch-notconst.exp
8678 * gdb.fortran/array-element.exp
8679 * gdb.fortran/charset.exp
8680 * gdb.fortran/common-block.exp
8681 * gdb.fortran/complex.exp
8682 * gdb.fortran/derived-type-function.exp
8683 * gdb.fortran/derived-type.exp
8684 * gdb.fortran/logical.exp
8685 * gdb.fortran/module.exp
8686 * gdb.fortran/multi-dim.exp
8687 * gdb.fortran/nested-funcs.exp
8688 * gdb.fortran/print-formatted.exp
8689 * gdb.fortran/subarray.exp
8690 * gdb.fortran/vla-alloc-assoc.exp
8691 * gdb.fortran/vla-datatypes.exp
8692 * gdb.fortran/vla-history.exp
8693 * gdb.fortran/vla-ptr-info.exp
8694 * gdb.fortran/vla-ptype-sub.exp
8695 * gdb.fortran/vla-ptype.exp
8696 * gdb.fortran/vla-sizeof.exp
8697 * gdb.fortran/vla-type.exp
8698 * gdb.fortran/vla-value-sub-arbitrary.exp
8699 * gdb.fortran/vla-value-sub-finish.exp
8700 * gdb.fortran/vla-value-sub.exp
8701 * gdb.fortran/vla-value.exp
8702 * gdb.fortran/whatis_type.exp
8703 * gdb.go/chan.exp
8704 * gdb.go/handcall.exp
8705 * gdb.go/hello.exp
8706 * gdb.go/integers.exp
8707 * gdb.go/methods.exp
8708 * gdb.go/package.exp
8709 * gdb.go/strings.exp
8710 * gdb.go/types.exp
8711 * gdb.go/unsafe.exp
8712 * gdb.guile/scm-arch.exp
8713 * gdb.guile/scm-block.exp
8714 * gdb.guile/scm-breakpoint.exp
8715 * gdb.guile/scm-cmd.exp
8716 * gdb.guile/scm-disasm.exp
8717 * gdb.guile/scm-equal.exp
8718 * gdb.guile/scm-frame-args.exp
8719 * gdb.guile/scm-frame-inline.exp
8720 * gdb.guile/scm-frame.exp
8721 * gdb.guile/scm-iterator.exp
8722 * gdb.guile/scm-math.exp
8723 * gdb.guile/scm-objfile.exp
8724 * gdb.guile/scm-ports.exp
8725 * gdb.guile/scm-symbol.exp
8726 * gdb.guile/scm-symtab.exp
8727 * gdb.guile/scm-value-cc.exp
8728 * gdb.guile/types-module.exp
8729 * gdb.linespec/break-ask.exp
8730 * gdb.linespec/cpexplicit.exp
8731 * gdb.linespec/explicit.exp
8732 * gdb.linespec/keywords.exp
8733 * gdb.linespec/linespec.exp
8734 * gdb.linespec/ls-dollar.exp
8735 * gdb.linespec/ls-errs.exp
8736 * gdb.linespec/skip-two.exp
8737 * gdb.linespec/thread.exp
8738 * gdb.mi/mi-async.exp
8739 * gdb.mi/mi-basics.exp
8740 * gdb.mi/mi-break.exp
8741 * gdb.mi/mi-catch-load.exp
8742 * gdb.mi/mi-cli.exp
8743 * gdb.mi/mi-cmd-param-changed.exp
8744 * gdb.mi/mi-console.exp
8745 * gdb.mi/mi-detach.exp
8746 * gdb.mi/mi-disassemble.exp
8747 * gdb.mi/mi-eval.exp
8748 * gdb.mi/mi-file-transfer.exp
8749 * gdb.mi/mi-file.exp
8750 * gdb.mi/mi-fill-memory.exp
8751 * gdb.mi/mi-inheritance-syntax-error.exp
8752 * gdb.mi/mi-linespec-err-cp.exp
8753 * gdb.mi/mi-logging.exp
8754 * gdb.mi/mi-memory-changed.exp
8755 * gdb.mi/mi-read-memory.exp
8756 * gdb.mi/mi-record-changed.exp
8757 * gdb.mi/mi-reg-undefined.exp
8758 * gdb.mi/mi-regs.exp
8759 * gdb.mi/mi-return.exp
8760 * gdb.mi/mi-reverse.exp
8761 * gdb.mi/mi-simplerun.exp
8762 * gdb.mi/mi-solib.exp
8763 * gdb.mi/mi-stack.exp
8764 * gdb.mi/mi-stepi.exp
8765 * gdb.mi/mi-syn-frame.exp
8766 * gdb.mi/mi-until.exp
8767 * gdb.mi/mi-var-block.exp
8768 * gdb.mi/mi-var-child.exp
8769 * gdb.mi/mi-var-cmd.exp
8770 * gdb.mi/mi-var-cp.exp
8771 * gdb.mi/mi-var-display.exp
8772 * gdb.mi/mi-var-invalidate.exp
8773 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8774 * gdb.mi/mi-vla-fortran.exp
8775 * gdb.mi/mi-watch.exp
8776 * gdb.mi/mi2-var-child.exp
8777 * gdb.mi/user-selected-context-sync.exp
8778 * gdb.modula2/unbounded-array.exp
8779 * gdb.multi/dummy-frame-restore.exp
8780 * gdb.multi/multi-arch-exec.exp
8781 * gdb.multi/multi-arch.exp
8782 * gdb.multi/tids.exp
8783 * gdb.multi/watchpoint-multi.exp
8784 * gdb.opencl/callfuncs.exp
8785 * gdb.opencl/convs_casts.exp
8786 * gdb.opencl/datatypes.exp
8787 * gdb.opencl/operators.exp
8788 * gdb.opencl/vec_comps.exp
8789 * gdb.opt/clobbered-registers-O2.exp
8790 * gdb.opt/inline-break.exp
8791 * gdb.opt/inline-bt.exp
8792 * gdb.opt/inline-cmds.exp
8793 * gdb.opt/inline-locals.exp
8794 * gdb.pascal/case-insensitive-symbols.exp
8795 * gdb.pascal/floats.exp
8796 * gdb.pascal/gdb11492.exp
8797 * gdb.python/lib-types.exp
8798 * gdb.python/py-arch.exp
8799 * gdb.python/py-as-string.exp
8800 * gdb.python/py-bad-printers.exp
8801 * gdb.python/py-block.exp
8802 * gdb.python/py-breakpoint-create-fail.exp
8803 * gdb.python/py-breakpoint.exp
8804 * gdb.python/py-caller-is.exp
8805 * gdb.python/py-cmd.exp
8806 * gdb.python/py-explore-cc.exp
8807 * gdb.python/py-explore.exp
8808 * gdb.python/py-finish-breakpoint.exp
8809 * gdb.python/py-finish-breakpoint2.exp
8810 * gdb.python/py-frame-args.exp
8811 * gdb.python/py-frame-inline.exp
8812 * gdb.python/py-frame.exp
8813 * gdb.python/py-framefilter-mi.exp
8814 * gdb.python/py-infthread.exp
8815 * gdb.python/py-lazy-string.exp
8816 * gdb.python/py-linetable.exp
8817 * gdb.python/py-mi-events.exp
8818 * gdb.python/py-mi-objfile.exp
8819 * gdb.python/py-mi.exp
8820 * gdb.python/py-objfile.exp
8821 * gdb.python/py-pp-integral.exp
8822 * gdb.python/py-pp-maint.exp
8823 * gdb.python/py-pp-re-notag.exp
8824 * gdb.python/py-pp-registration.exp
8825 * gdb.python/py-recurse-unwind.exp
8826 * gdb.python/py-strfns.exp
8827 * gdb.python/py-symbol.exp
8828 * gdb.python/py-symtab.exp
8829 * gdb.python/py-sync-interp.exp
8830 * gdb.python/py-typeprint.exp
8831 * gdb.python/py-unwind-maint.exp
8832 * gdb.python/py-unwind.exp
8833 * gdb.python/py-value-cc.exp
8834 * gdb.python/py-xmethods.exp
8835 * gdb.reverse/amd64-tailcall-reverse.exp
8836 * gdb.reverse/break-precsave.exp
8837 * gdb.reverse/break-reverse.exp
8838 * gdb.reverse/consecutive-precsave.exp
8839 * gdb.reverse/consecutive-reverse.exp
8840 * gdb.reverse/finish-precsave.exp
8841 * gdb.reverse/finish-reverse-bkpt.exp
8842 * gdb.reverse/finish-reverse.exp
8843 * gdb.reverse/fstatat-reverse.exp
8844 * gdb.reverse/getresuid-reverse.exp
8845 * gdb.reverse/i386-precsave.exp
8846 * gdb.reverse/i386-reverse.exp
8847 * gdb.reverse/i386-sse-reverse.exp
8848 * gdb.reverse/i387-env-reverse.exp
8849 * gdb.reverse/i387-stack-reverse.exp
8850 * gdb.reverse/insn-reverse.exp
8851 * gdb.reverse/machinestate-precsave.exp
8852 * gdb.reverse/machinestate.exp
8853 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8854 * gdb.reverse/pipe-reverse.exp
8855 * gdb.reverse/readv-reverse.exp
8856 * gdb.reverse/recvmsg-reverse.exp
8857 * gdb.reverse/rerun-prec.exp
8858 * gdb.reverse/s390-mvcle.exp
8859 * gdb.reverse/step-precsave.exp
8860 * gdb.reverse/step-reverse.exp
8861 * gdb.reverse/time-reverse.exp
8862 * gdb.reverse/until-precsave.exp
8863 * gdb.reverse/until-reverse.exp
8864 * gdb.reverse/waitpid-reverse.exp
8865 * gdb.reverse/watch-precsave.exp
8866 * gdb.reverse/watch-reverse.exp
8867 * gdb.rust/generics.exp
8868 * gdb.rust/methods.exp
8869 * gdb.rust/modules.exp
8870 * gdb.rust/simple.exp
8871 * gdb.server/connect-with-no-symbol-file.exp
8872 * gdb.server/ext-attach.exp
8873 * gdb.server/ext-restart.exp
8874 * gdb.server/ext-wrapper.exp
8875 * gdb.server/file-transfer.exp
8876 * gdb.server/server-exec-info.exp
8877 * gdb.server/server-kill.exp
8878 * gdb.server/server-mon.exp
8879 * gdb.server/wrapper.exp
8880 * gdb.stabs/exclfwd.exp
8881 * gdb.stabs/gdb11479.exp
8882 * gdb.threads/clone-new-thread-event.exp
8883 * gdb.threads/corethreads.exp
8884 * gdb.threads/current-lwp-dead.exp
8885 * gdb.threads/dlopen-libpthread.exp
8886 * gdb.threads/gcore-thread.exp
8887 * gdb.threads/sigstep-threads.exp
8888 * gdb.threads/watchpoint-fork.exp
8889 * gdb.trace/actions-changed.exp
8890 * gdb.trace/backtrace.exp
8891 * gdb.trace/change-loc.exp
8892 * gdb.trace/circ.exp
8893 * gdb.trace/collection.exp
8894 * gdb.trace/disconnected-tracing.exp
8895 * gdb.trace/ftrace.exp
8896 * gdb.trace/mi-trace-frame-collected.exp
8897 * gdb.trace/mi-trace-unavailable.exp
8898 * gdb.trace/mi-traceframe-changed.exp
8899 * gdb.trace/mi-tsv-changed.exp
8900 * gdb.trace/no-attach-trace.exp
8901 * gdb.trace/passc-dyn.exp
8902 * gdb.trace/qtro.exp
8903 * gdb.trace/range-stepping.exp
8904 * gdb.trace/read-memory.exp
8905 * gdb.trace/save-trace.exp
8906 * gdb.trace/signal.exp
8907 * gdb.trace/status-stop.exp
8908 * gdb.trace/tfile.exp
8909 * gdb.trace/trace-break.exp
8910 * gdb.trace/trace-buffer-size.exp
8911 * gdb.trace/trace-condition.exp
8912 * gdb.trace/tracefile-pseudo-reg.exp
8913 * gdb.trace/tstatus.exp
8914 * gdb.trace/unavailable.exp
8915 * gdb.trace/while-dyn.exp
8916 * gdb.trace/while-stepping.exp
8917
8918 2016-12-22 Doug Evans <xdje42@gmail.com>
8919
8920 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8921 and msymbols.
8922
8923 2016-12-19 Yao Qi <yao.qi@linaro.org>
8924
8925 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8926 (test_with_self): Don't call do_steps_and_nexts, and remove
8927 code about stepping into xmalloc.
8928
8929 2016-12-09 Yao Qi <yao.qi@linaro.org>
8930
8931 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8932
8933 2016-12-09 Yao Qi <yao.qi@linaro.org>
8934
8935 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8936
8937 2016-12-09 Pedro Alves <palves@redhat.com>
8938
8939 * gdb.base/all-architectures-0.exp: New file.
8940 * gdb.base/all-architectures-1.exp: New file.
8941 * gdb.base/all-architectures-2.exp: New file.
8942 * gdb.base/all-architectures-3.exp: New file.
8943 * gdb.base/all-architectures-4.exp: New file.
8944 * gdb.base/all-architectures-5.exp: New file.
8945 * gdb.base/all-architectures-6.exp: New file.
8946 * gdb.base/all-architectures-7.exp: New file.
8947 * gdb.base/all-architectures.exp.in: New file.
8948
8949 2016-12-09 Yao Qi <yao.qi@linaro.org>
8950
8951 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8952
8953 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8954
8955 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8956 possible.
8957 Remove useless pattern-matching code.
8958
8959 2016-12-02 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8962 procedure.
8963 (top level): Call it.
8964
8965 2016-12-02 Pedro Alves <palves@redhat.com>
8966
8967 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8968 New procedure.
8969 (top level): Call it.
8970
8971 2016-12-02 Pedro Alves <palves@redhat.com>
8972
8973 PR cli/20559
8974 * gdb.base/commands.exp (user_defined_command_args_eval): New
8975 procedure.
8976 (top level): Call it.
8977
8978 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8979
8980 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8981 timeout handling.
8982
8983 2016-12-02 Tom Tromey <tom@tromey.com>
8984
8985 * gdb.dwarf2/main-subprogram.c: New file.
8986 * gdb.dwarf2/main-subprogram.exp: New file.
8987
8988 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8989
8990 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8991 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8992 gdb_test_no_output for a couple of cases.
8993 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8994
8995 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8996
8997 Fix test names and standardize compilation error messages throughout
8998 the following files:
8999
9000 * gdb.ada/start.exp
9001 * gdb.arch/alpha-step.exp
9002 * gdb.arch/e500-prologue.exp
9003 * gdb.arch/ftrace-insn-reloc.exp
9004 * gdb.arch/gdb1291.exp
9005 * gdb.arch/gdb1431.exp
9006 * gdb.arch/gdb1558.exp
9007 * gdb.arch/i386-dr3-watch.exp
9008 * gdb.arch/i386-sse-stack-align.exp
9009 * gdb.arch/ia64-breakpoint-shadow.exp
9010 * gdb.arch/pa-nullify.exp
9011 * gdb.arch/powerpc-aix-prologue.exp
9012 * gdb.arch/thumb-bx-pc.exp
9013 * gdb.base/annota1.exp
9014 * gdb.base/annota3.exp
9015 * gdb.base/arrayidx.exp
9016 * gdb.base/assign.exp
9017 * gdb.base/attach.exp
9018 * gdb.base/auxv.exp
9019 * gdb.base/bang.exp
9020 * gdb.base/bfp-test.exp
9021 * gdb.base/bigcore.exp
9022 * gdb.base/bitfields2.exp
9023 * gdb.base/break-fun-addr.exp
9024 * gdb.base/break-probes.exp
9025 * gdb.base/call-rt-st.exp
9026 * gdb.base/callexit.exp
9027 * gdb.base/catch-fork-kill.exp
9028 * gdb.base/charset.exp
9029 * gdb.base/checkpoint.exp
9030 * gdb.base/comprdebug.exp
9031 * gdb.base/constvars.exp
9032 * gdb.base/coredump-filter.exp
9033 * gdb.base/cursal.exp
9034 * gdb.base/cvexpr.exp
9035 * gdb.base/detach.exp
9036 * gdb.base/display.exp
9037 * gdb.base/dmsym.exp
9038 * gdb.base/dprintf-pending.exp
9039 * gdb.base/dso2dso.exp
9040 * gdb.base/dtrace-probe.exp
9041 * gdb.base/dump.exp
9042 * gdb.base/enum_cond.exp
9043 * gdb.base/exe-lock.exp
9044 * gdb.base/exec-invalid-sysroot.exp
9045 * gdb.base/execl-update-breakpoints.exp
9046 * gdb.base/exprs.exp
9047 * gdb.base/fileio.exp
9048 * gdb.base/find.exp
9049 * gdb.base/finish.exp
9050 * gdb.base/fixsection.exp
9051 * gdb.base/foll-vfork.exp
9052 * gdb.base/frame-args.exp
9053 * gdb.base/gcore.exp
9054 * gdb.base/gdb1250.exp
9055 * gdb.base/global-var-nested-by-dso.exp
9056 * gdb.base/gnu-ifunc.exp
9057 * gdb.base/hashline1.exp
9058 * gdb.base/hashline2.exp
9059 * gdb.base/hashline3.exp
9060 * gdb.base/hbreak-in-shr-unsupported.exp
9061 * gdb.base/huge.exp
9062 * gdb.base/infcall-input.exp
9063 * gdb.base/info-fun.exp
9064 * gdb.base/info-shared.exp
9065 * gdb.base/jit-simple.exp
9066 * gdb.base/jit-so.exp
9067 * gdb.base/jit.exp
9068 * gdb.base/jump.exp
9069 * gdb.base/label.exp
9070 * gdb.base/lineinc.exp
9071 * gdb.base/logical.exp
9072 * gdb.base/longjmp.exp
9073 * gdb.base/macscp.exp
9074 * gdb.base/miscexprs.exp
9075 * gdb.base/new-ui-echo.exp
9076 * gdb.base/new-ui-pending-input.exp
9077 * gdb.base/new-ui.exp
9078 * gdb.base/nodebug.exp
9079 * gdb.base/nofield.exp
9080 * gdb.base/offsets.exp
9081 * gdb.base/overlays.exp
9082 * gdb.base/pending.exp
9083 * gdb.base/pointers.exp
9084 * gdb.base/pr11022.exp
9085 * gdb.base/printcmds.exp
9086 * gdb.base/prologue.exp
9087 * gdb.base/ptr-typedef.exp
9088 * gdb.base/realname-expand.exp
9089 * gdb.base/relativedebug.exp
9090 * gdb.base/relocate.exp
9091 * gdb.base/remote.exp
9092 * gdb.base/reread.exp
9093 * gdb.base/return2.exp
9094 * gdb.base/savedregs.exp
9095 * gdb.base/sep.exp
9096 * gdb.base/sepdebug.exp
9097 * gdb.base/sepsymtab.exp
9098 * gdb.base/set-inferior-tty.exp
9099 * gdb.base/setshow.exp
9100 * gdb.base/shlib-call.exp
9101 * gdb.base/sigaltstack.exp
9102 * gdb.base/siginfo-addr.exp
9103 * gdb.base/signals.exp
9104 * gdb.base/signull.exp
9105 * gdb.base/sigrepeat.exp
9106 * gdb.base/so-impl-ld.exp
9107 * gdb.base/solib-display.exp
9108 * gdb.base/solib-overlap.exp
9109 * gdb.base/solib-search.exp
9110 * gdb.base/solib-symbol.exp
9111 * gdb.base/structs.exp
9112 * gdb.base/structs2.exp
9113 * gdb.base/symtab-search-order.exp
9114 * gdb.base/twice.exp
9115 * gdb.base/unload.exp
9116 * gdb.base/varargs.exp
9117 * gdb.base/watchpoint-solib.exp
9118 * gdb.base/watchpoint.exp
9119 * gdb.base/whatis.exp
9120 * gdb.base/wrong_frame_bt_full.exp
9121 * gdb.btrace/dlopen.exp
9122 * gdb.cell/ea-standalone.exp
9123 * gdb.cell/ea-test.exp
9124 * gdb.cp/dispcxx.exp
9125 * gdb.cp/gdb2384.exp
9126 * gdb.cp/method2.exp
9127 * gdb.cp/nextoverthrow.exp
9128 * gdb.cp/pr10728.exp
9129 * gdb.disasm/am33.exp
9130 * gdb.disasm/h8300s.exp
9131 * gdb.disasm/mn10300.exp
9132 * gdb.disasm/sh3.exp
9133 * gdb.dwarf2/dw2-dir-file-name.exp
9134 * gdb.fortran/complex.exp
9135 * gdb.fortran/library-module.exp
9136 * gdb.guile/scm-pretty-print.exp
9137 * gdb.guile/scm-symbol.exp
9138 * gdb.guile/scm-type.exp
9139 * gdb.guile/scm-value.exp
9140 * gdb.linespec/linespec.exp
9141 * gdb.mi/gdb701.exp
9142 * gdb.mi/gdb792.exp
9143 * gdb.mi/mi-breakpoint-changed.exp
9144 * gdb.mi/mi-dprintf-pending.exp
9145 * gdb.mi/mi-dprintf.exp
9146 * gdb.mi/mi-exit-code.exp
9147 * gdb.mi/mi-pending.exp
9148 * gdb.mi/mi-solib.exp
9149 * gdb.mi/new-ui-mi-sync.exp
9150 * gdb.mi/pr11022.exp
9151 * gdb.mi/user-selected-context-sync.exp
9152 * gdb.opt/solib-intra-step.exp
9153 * gdb.python/py-events.exp
9154 * gdb.python/py-finish-breakpoint.exp
9155 * gdb.python/py-mi.exp
9156 * gdb.python/py-prettyprint.exp
9157 * gdb.python/py-shared.exp
9158 * gdb.python/py-symbol.exp
9159 * gdb.python/py-template.exp
9160 * gdb.python/py-type.exp
9161 * gdb.python/py-value.exp
9162 * gdb.reverse/solib-precsave.exp
9163 * gdb.reverse/solib-reverse.exp
9164 * gdb.server/solib-list.exp
9165 * gdb.stabs/weird.exp
9166 * gdb.threads/reconnect-signal.exp
9167 * gdb.threads/stepi-random-signal.exp
9168 * gdb.trace/actions.exp
9169 * gdb.trace/ax.exp
9170 * gdb.trace/backtrace.exp
9171 * gdb.trace/change-loc.exp
9172 * gdb.trace/deltrace.exp
9173 * gdb.trace/ftrace-lock.exp
9174 * gdb.trace/ftrace.exp
9175 * gdb.trace/infotrace.exp
9176 * gdb.trace/mi-tracepoint-changed.exp
9177 * gdb.trace/packetlen.exp
9178 * gdb.trace/passcount.exp
9179 * gdb.trace/pending.exp
9180 * gdb.trace/range-stepping.exp
9181 * gdb.trace/report.exp
9182 * gdb.trace/stap-trace.exp
9183 * gdb.trace/tfind.exp
9184 * gdb.trace/trace-break.exp
9185 * gdb.trace/trace-condition.exp
9186 * gdb.trace/trace-enable-disable.exp
9187 * gdb.trace/trace-mt.exp
9188 * gdb.trace/tracecmd.exp
9189 * gdb.trace/tspeed.exp
9190 * gdb.trace/tsv.exp
9191 * lib/perftest.exp
9192
9193 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9194
9195 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9196 with gdb_test_no_output.
9197 Use command as test name.
9198
9199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9200
9201 Fix test names starting with uppercase throughout the files.
9202
9203 * gdb.ada/assign_1.exp
9204 * gdb.ada/boolean_expr.exp
9205 * gdb.base/arrayidx.exp
9206 * gdb.base/del.exp
9207 * gdb.base/gcore-buffer-overflow.exp
9208 * gdb.base/testenv.exp
9209 * gdb.compile/compile.exp
9210 * gdb.python/py-framefilter-invalidarg.exp
9211 * gdb.python/py-framefilter.exp
9212
9213 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9214
9215 Fix test names starting with uppercase throughout the files.
9216
9217 * gdb.ada/array_return.exp
9218 * gdb.ada/expr_delims.exp
9219 * gdb.ada/mi_dyn_arr.exp
9220 * gdb.ada/mi_interface.exp
9221 * gdb.ada/mi_var_array.exp
9222 * gdb.ada/watch_arg.exp
9223 * gdb.arch/alpha-step.exp
9224 * gdb.arch/altivec-regs.exp
9225 * gdb.arch/e500-regs.exp
9226 * gdb.arch/powerpc-d128-regs.exp
9227 * gdb.base/arrayidx.exp
9228 * gdb.base/break.exp
9229 * gdb.base/checkpoint.exp
9230 * gdb.base/debug-expr.exp
9231 * gdb.base/dmsym.exp
9232 * gdb.base/radix.exp
9233 * gdb.base/sepdebug.exp
9234 * gdb.base/testenv.exp
9235 * gdb.base/watch_thread_num.exp
9236 * gdb.base/watchpoint-cond-gone.exp
9237 * gdb.cell/break.exp
9238 * gdb.cell/ea-cache.exp
9239 * gdb.compile/compile.exp
9240 * gdb.cp/gdb2495.exp
9241 * gdb.gdb/selftest.exp
9242 * gdb.gdb/xfullpath.exp
9243 * gdb.go/hello.exp
9244 * gdb.go/integers.exp
9245 * gdb.objc/basicclass.exp
9246 * gdb.pascal/hello.exp
9247 * gdb.pascal/integers.exp
9248 * gdb.python/py-breakpoint.exp
9249 * gdb.python/py-cmd.exp
9250 * gdb.python/py-linetable.exp
9251 * gdb.python/py-xmethods.exp
9252 * gdb.python/python.exp
9253 * gdb.reverse/consecutive-precsave.exp
9254 * gdb.reverse/finish-precsave.exp
9255 * gdb.reverse/i386-precsave.exp
9256 * gdb.reverse/machinestate-precsave.exp
9257 * gdb.reverse/sigall-precsave.exp
9258 * gdb.reverse/solib-precsave.exp
9259 * gdb.reverse/step-precsave.exp
9260 * gdb.reverse/until-precsave.exp
9261 * gdb.reverse/watch-precsave.exp
9262 * gdb.threads/leader-exit.exp
9263 * gdb.threads/pthreads.exp
9264 * gdb.threads/wp-replication.exp
9265 * gdb.trace/actions.exp
9266 * gdb.trace/mi-tsv-changed.exp
9267 * gdb.trace/tsv.exp
9268
9269 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9270
9271 Fix test names starting with uppercase throughout the files.
9272
9273 * gdb.arch/i386-bp_permanent.exp
9274 * gdb.arch/i386-gnu-cfi.exp
9275 * gdb.base/disasm-end-cu.exp
9276 * gdb.base/macscp.exp
9277 * gdb.base/pending.exp
9278 * gdb.base/watch_thread_num.exp
9279 * gdb.cp/exception.exp
9280 * gdb.cp/gdb2495.exp
9281 * gdb.cp/local.exp
9282 * gdb.python/py-evsignal.exp
9283 * gdb.python/python.exp
9284 * gdb.trace/tracecmd.exp
9285
9286 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9287
9288 Fix test names starting with uppercase throughout the files.
9289
9290 * gdb.base/charset.exp
9291 * gdb.base/eval.exp
9292 * gdb.base/multi-forks.exp
9293 * gdb.guile/scm-progspace.exp
9294 * gdb.opencl/datatypes.exp
9295 * gdb.python/py-block.exp
9296 * gdb.python/py-function.exp
9297 * gdb.python/py-symbol.exp
9298 * gdb.python/py-symtab.exp
9299 * gdb.python/py-xmethods.exp
9300 * gdb.reverse/break-precsave.exp
9301 * gdb.reverse/break-reverse.exp
9302 * gdb.reverse/consecutive-precsave.exp
9303 * gdb.reverse/consecutive-reverse.exp
9304 * gdb.reverse/finish-precsave.exp
9305 * gdb.reverse/finish-reverse-bkpt.exp
9306 * gdb.reverse/finish-reverse.exp
9307 * gdb.reverse/fstatat-reverse.exp
9308 * gdb.reverse/getresuid-reverse.exp
9309 * gdb.reverse/i386-precsave.exp
9310 * gdb.reverse/i386-reverse.exp
9311 * gdb.reverse/i386-sse-reverse.exp
9312 * gdb.reverse/i387-stack-reverse.exp
9313 * gdb.reverse/insn-reverse.exp
9314 * gdb.reverse/machinestate-precsave.exp
9315 * gdb.reverse/machinestate.exp
9316 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9317 * gdb.reverse/pipe-reverse.exp
9318 * gdb.reverse/readv-reverse.exp
9319 * gdb.reverse/recvmsg-reverse.exp
9320 * gdb.reverse/rerun-prec.exp
9321 * gdb.reverse/s390-mvcle.exp
9322 * gdb.reverse/sigall-precsave.exp
9323 * gdb.reverse/sigall-reverse.exp
9324 * gdb.reverse/solib-precsave.exp
9325 * gdb.reverse/solib-reverse.exp
9326 * gdb.reverse/step-precsave.exp
9327 * gdb.reverse/step-reverse.exp
9328 * gdb.reverse/time-reverse.exp
9329 * gdb.reverse/until-precsave.exp
9330 * gdb.reverse/until-reverse.exp
9331 * gdb.reverse/waitpid-reverse.exp
9332 * gdb.reverse/watch-precsave.exp
9333 * gdb.reverse/watch-reverse.exp
9334
9335 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9336
9337 Fix test names starting with uppercase throughout the files.
9338
9339 * gdb.arch/i386-mpx-simple_segv.exp
9340 * gdb.arch/i386-mpx.exp
9341 * gdb.arch/i386-permbkpt.exp
9342 * gdb.arch/pa-nullify.exp
9343 * gdb.arch/powerpc-d128-regs.exp
9344 * gdb.arch/vsx-regs.exp
9345 * gdb.base/bfp-test.exp
9346 * gdb.base/break.exp
9347 * gdb.base/breakpoint-shadow.exp
9348 * gdb.base/callfuncs.exp
9349 * gdb.base/charset.exp
9350 * gdb.base/commands.exp
9351 * gdb.base/completion.exp
9352 * gdb.base/dfp-test.exp
9353 * gdb.base/echo.exp
9354 * gdb.base/ending-run.exp
9355 * gdb.base/eval.exp
9356 * gdb.base/expand-psymtabs.exp
9357 * gdb.base/float128.exp
9358 * gdb.base/floatn.exp
9359 * gdb.base/foll-exec-mode.exp
9360 * gdb.base/gdb1056.exp
9361 * gdb.base/gdb11531.exp
9362 * gdb.base/kill-after-signal.exp
9363 * gdb.base/multi-forks.exp
9364 * gdb.base/overlays.exp
9365 * gdb.base/pending.exp
9366 * gdb.base/sepdebug.exp
9367 * gdb.base/testenv.exp
9368 * gdb.base/valgrind-db-attach.exp
9369 * gdb.base/watch_thread_num.exp
9370 * gdb.base/watchpoint-cond-gone.exp
9371 * gdb.base/watchpoint.exp
9372 * gdb.base/watchpoints.exp
9373 * gdb.cp/arg-reference.exp
9374 * gdb.cp/baseenum.exp
9375 * gdb.cp/operator.exp
9376 * gdb.cp/shadow.exp
9377 * gdb.dwarf2/dw2-op-out-param.exp
9378 * gdb.dwarf2/dw2-reg-undefined.exp
9379 * gdb.go/chan.exp
9380 * gdb.go/hello.exp
9381 * gdb.go/integers.exp
9382 * gdb.go/methods.exp
9383 * gdb.go/package.exp
9384 * gdb.guile/scm-parameter.exp
9385 * gdb.guile/scm-progspace.exp
9386 * gdb.guile/scm-value.exp
9387 * gdb.mi/mi-pending.exp
9388 * gdb.mi/user-selected-context-sync.exp
9389 * gdb.multi/multi-attach.exp
9390 * gdb.multi/tids.exp
9391 * gdb.opt/clobbered-registers-O2.exp
9392 * gdb.pascal/floats.exp
9393 * gdb.pascal/integers.exp
9394 * gdb.python/py-block.exp
9395 * gdb.python/py-events.exp
9396 * gdb.python/py-parameter.exp
9397 * gdb.python/py-symbol.exp
9398 * gdb.python/py-symtab.exp
9399 * gdb.python/py-type.exp
9400 * gdb.python/py-value.exp
9401 * gdb.python/py-xmethods.exp
9402 * gdb.python/python.exp
9403 * gdb.reverse/break-precsave.exp
9404 * gdb.reverse/consecutive-precsave.exp
9405 * gdb.reverse/finish-precsave.exp
9406 * gdb.reverse/i386-precsave.exp
9407 * gdb.reverse/machinestate-precsave.exp
9408 * gdb.reverse/sigall-precsave.exp
9409 * gdb.reverse/solib-precsave.exp
9410 * gdb.reverse/step-precsave.exp
9411 * gdb.reverse/until-precsave.exp
9412 * gdb.reverse/watch-precsave.exp
9413 * gdb.server/ext-attach.exp
9414 * gdb.server/ext-restart.exp
9415 * gdb.server/ext-run.exp
9416 * gdb.server/ext-wrapper.exp
9417 * gdb.stabs/gdb11479.exp
9418 * gdb.stabs/weird.exp
9419 * gdb.threads/attach-many-short-lived-threads.exp
9420 * gdb.threads/kill.exp
9421 * gdb.threads/watchpoint-fork.exp
9422
9423 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9424
9425 Fix test names starting with uppercase throughout all the files below.
9426
9427 * gdb.ada/array_return.exp
9428 * gdb.ada/catch_ex.exp
9429 * gdb.ada/info_exc.exp
9430 * gdb.ada/mi_catch_ex.exp
9431 * gdb.ada/mi_dyn_arr.exp
9432 * gdb.ada/mi_ex_cond.exp
9433 * gdb.ada/mi_exc_info.exp
9434 * gdb.ada/mi_interface.exp
9435 * gdb.ada/mi_task_arg.exp
9436 * gdb.ada/mi_task_info.exp
9437 * gdb.ada/mi_var_array.exp
9438 * gdb.arch/alpha-step.exp
9439 * gdb.arch/amd64-disp-step.exp
9440 * gdb.arch/arm-disp-step.exp
9441 * gdb.arch/disp-step-insn-reloc.exp
9442 * gdb.arch/e500-prologue.exp
9443 * gdb.arch/ftrace-insn-reloc.exp
9444 * gdb.arch/gdb1558.exp
9445 * gdb.arch/i386-bp_permanent.exp
9446 * gdb.arch/i386-disp-step.exp
9447 * gdb.arch/i386-float.exp
9448 * gdb.arch/i386-gnu-cfi.exp
9449 * gdb.arch/ia64-breakpoint-shadow.exp
9450 * gdb.arch/mips16-thunks.exp
9451 * gdb.arch/pa-nullify.exp
9452 * gdb.arch/powerpc-aix-prologue.exp
9453 * gdb.arch/powerpc-power.exp
9454 * gdb.arch/ppc-dfp.exp
9455 * gdb.arch/s390-tdbregs.exp
9456 * gdb.arch/spu-info.exp
9457 * gdb.arch/spu-ls.exp
9458 * gdb.arch/thumb-bx-pc.exp
9459 * gdb.base/advance.exp
9460 * gdb.base/annota-input-while-running.exp
9461 * gdb.base/arrayidx.exp
9462 * gdb.base/asmlabel.exp
9463 * gdb.base/async.exp
9464 * gdb.base/attach-wait-input.exp
9465 * gdb.base/auto-connect-native-target.exp
9466 * gdb.base/batch-preserve-term-settings.exp
9467 * gdb.base/bfp-test.exp
9468 * gdb.base/bigcore.exp
9469 * gdb.base/bp-permanent.exp
9470 * gdb.base/break-always.exp
9471 * gdb.base/break-fun-addr.exp
9472 * gdb.base/break-idempotent.exp
9473 * gdb.base/break-main-file-remove-fail.exp
9474 * gdb.base/break-probes.exp
9475 * gdb.base/break-unload-file.exp
9476 * gdb.base/break.exp
9477 * gdb.base/call-ar-st.exp
9478 * gdb.base/call-rt-st.exp
9479 * gdb.base/call-sc.exp
9480 * gdb.base/call-signal-resume.exp
9481 * gdb.base/call-strs.exp
9482 * gdb.base/callexit.exp
9483 * gdb.base/callfuncs.exp
9484 * gdb.base/catch-gdb-caused-signals.exp
9485 * gdb.base/catch-signal-siginfo-cond.exp
9486 * gdb.base/catch-syscall.exp
9487 * gdb.base/compare-sections.exp
9488 * gdb.base/cond-eval-mode.exp
9489 * gdb.base/condbreak-call-false.exp
9490 * gdb.base/consecutive-step-over.exp
9491 * gdb.base/cursal.exp
9492 * gdb.base/disabled-location.exp
9493 * gdb.base/disasm-end-cu.exp
9494 * gdb.base/display.exp
9495 * gdb.base/double-prompt-target-event-error.exp
9496 * gdb.base/dprintf-bp-same-addr.exp
9497 * gdb.base/dprintf-detach.exp
9498 * gdb.base/dprintf-next.exp
9499 * gdb.base/dprintf-non-stop.exp
9500 * gdb.base/dprintf-pending.exp
9501 * gdb.base/dso2dso.exp
9502 * gdb.base/ending-run.exp
9503 * gdb.base/enum_cond.exp
9504 * gdb.base/examine-backward.exp
9505 * gdb.base/exe-lock.exp
9506 * gdb.base/exec-invalid-sysroot.exp
9507 * gdb.base/execl-update-breakpoints.exp
9508 * gdb.base/execution-termios.exp
9509 * gdb.base/fileio.exp
9510 * gdb.base/fixsection.exp
9511 * gdb.base/foll-exec-mode.exp
9512 * gdb.base/foll-exec.exp
9513 * gdb.base/fork-running-state.exp
9514 * gdb.base/frame-args.exp
9515 * gdb.base/fullpath-expand.exp
9516 * gdb.base/func-ptr.exp
9517 * gdb.base/gcore-relro-pie.exp
9518 * gdb.base/gdb1090.exp
9519 * gdb.base/gdb1555.exp
9520 * gdb.base/global-var-nested-by-dso.exp
9521 * gdb.base/gnu-ifunc.exp
9522 * gdb.base/hbreak-in-shr-unsupported.exp
9523 * gdb.base/hbreak-unmapped.exp
9524 * gdb.base/hook-stop.exp
9525 * gdb.base/infcall-input.exp
9526 * gdb.base/info-fun.exp
9527 * gdb.base/info-shared.exp
9528 * gdb.base/interrupt-noterm.exp
9529 * gdb.base/jit-so.exp
9530 * gdb.base/jit.exp
9531 * gdb.base/line-symtabs.exp
9532 * gdb.base/list.exp
9533 * gdb.base/longjmp.exp
9534 * gdb.base/macscp.exp
9535 * gdb.base/max-value-size.exp
9536 * gdb.base/nodebug.exp
9537 * gdb.base/nofield.exp
9538 * gdb.base/overlays.exp
9539 * gdb.base/paginate-after-ctrl-c-running.exp
9540 * gdb.base/paginate-bg-execution.exp
9541 * gdb.base/paginate-inferior-exit.exp
9542 * gdb.base/pending.exp
9543 * gdb.base/pr11022.exp
9544 * gdb.base/printcmds.exp
9545 * gdb.base/ptr-typedef.exp
9546 * gdb.base/ptype.exp
9547 * gdb.base/randomize.exp
9548 * gdb.base/range-stepping.exp
9549 * gdb.base/realname-expand.exp
9550 * gdb.base/relativedebug.exp
9551 * gdb.base/remote.exp
9552 * gdb.base/savedregs.exp
9553 * gdb.base/sepdebug.exp
9554 * gdb.base/set-noassign.exp
9555 * gdb.base/shlib-call.exp
9556 * gdb.base/shreloc.exp
9557 * gdb.base/sigaltstack.exp
9558 * gdb.base/sigbpt.exp
9559 * gdb.base/siginfo-addr.exp
9560 * gdb.base/siginfo-obj.exp
9561 * gdb.base/siginfo-thread.exp
9562 * gdb.base/signest.exp
9563 * gdb.base/signull.exp
9564 * gdb.base/sigrepeat.exp
9565 * gdb.base/skip.exp
9566 * gdb.base/so-impl-ld.exp
9567 * gdb.base/solib-corrupted.exp
9568 * gdb.base/solib-disc.exp
9569 * gdb.base/solib-display.exp
9570 * gdb.base/solib-overlap.exp
9571 * gdb.base/solib-search.exp
9572 * gdb.base/solib-symbol.exp
9573 * gdb.base/source-execution.exp
9574 * gdb.base/sss-bp-on-user-bp-2.exp
9575 * gdb.base/sss-bp-on-user-bp.exp
9576 * gdb.base/stack-checking.exp
9577 * gdb.base/stale-infcall.exp
9578 * gdb.base/step-break.exp
9579 * gdb.base/step-line.exp
9580 * gdb.base/step-over-exit.exp
9581 * gdb.base/step-test.exp
9582 * gdb.base/structs.exp
9583 * gdb.base/sym-file.exp
9584 * gdb.base/symtab-search-order.exp
9585 * gdb.base/term.exp
9586 * gdb.base/type-opaque.exp
9587 * gdb.base/unload.exp
9588 * gdb.base/until-nodebug.exp
9589 * gdb.base/until.exp
9590 * gdb.base/unwindonsignal.exp
9591 * gdb.base/watch-cond.exp
9592 * gdb.base/watch-non-mem.exp
9593 * gdb.base/watch_thread_num.exp
9594 * gdb.base/watchpoint-reuse-slot.exp
9595 * gdb.base/watchpoint-solib.exp
9596 * gdb.base/watchpoint.exp
9597 * gdb.btrace/dlopen.exp
9598 * gdb.cell/arch.exp
9599 * gdb.cell/break.exp
9600 * gdb.cell/bt.exp
9601 * gdb.cell/core.exp
9602 * gdb.cell/data.exp
9603 * gdb.cell/dwarfaddr.exp
9604 * gdb.cell/ea-cache.exp
9605 * gdb.cell/ea-standalone.exp
9606 * gdb.cell/ea-test.exp
9607 * gdb.cell/f-regs.exp
9608 * gdb.cell/fork.exp
9609 * gdb.cell/gcore.exp
9610 * gdb.cell/mem-access.exp
9611 * gdb.cell/ptype.exp
9612 * gdb.cell/registers.exp
9613 * gdb.cell/sizeof.exp
9614 * gdb.cell/solib-symbol.exp
9615 * gdb.cell/solib.exp
9616 * gdb.compile/compile-tls.exp
9617 * gdb.cp/exception.exp
9618 * gdb.cp/gdb2495.exp
9619 * gdb.cp/local.exp
9620 * gdb.cp/mb-inline.exp
9621 * gdb.cp/mb-templates.exp
9622 * gdb.cp/pr10687.exp
9623 * gdb.cp/pr9167.exp
9624 * gdb.cp/scope-err.exp
9625 * gdb.cp/templates.exp
9626 * gdb.cp/virtfunc.exp
9627 * gdb.dwarf2/dw2-dir-file-name.exp
9628 * gdb.dwarf2/dw2-single-line-discriminators.exp
9629 * gdb.fortran/complex.exp
9630 * gdb.fortran/library-module.exp
9631 * gdb.guile/guile.exp
9632 * gdb.guile/scm-cmd.exp
9633 * gdb.guile/scm-frame-inline.exp
9634 * gdb.guile/scm-objfile.exp
9635 * gdb.guile/scm-pretty-print.exp
9636 * gdb.guile/scm-symbol.exp
9637 * gdb.guile/scm-type.exp
9638 * gdb.guile/scm-value.exp
9639 * gdb.linespec/keywords.exp
9640 * gdb.linespec/ls-errs.exp
9641 * gdb.linespec/macro-relative.exp
9642 * gdb.linespec/thread.exp
9643 * gdb.mi/mi-breakpoint-changed.exp
9644 * gdb.mi/mi-dprintf-pending.exp
9645 * gdb.mi/mi-fullname-deleted.exp
9646 * gdb.mi/mi-logging.exp
9647 * gdb.mi/mi-pending.exp
9648 * gdb.mi/mi-solib.exp
9649 * gdb.mi/new-ui-mi-sync.exp
9650 * gdb.mi/user-selected-context-sync.exp
9651 * gdb.multi/dummy-frame-restore.exp
9652 * gdb.multi/multi-arch-exec.exp
9653 * gdb.multi/remove-inferiors.exp
9654 * gdb.multi/watchpoint-multi-exit.exp
9655 * gdb.opt/solib-intra-step.exp
9656 * gdb.perf/backtrace.exp
9657 * gdb.perf/single-step.exp
9658 * gdb.perf/skip-command.exp
9659 * gdb.perf/skip-prologue.exp
9660 * gdb.perf/solib.exp
9661 * gdb.python/lib-types.exp
9662 * gdb.python/py-as-string.exp
9663 * gdb.python/py-bad-printers.exp
9664 * gdb.python/py-block.exp
9665 * gdb.python/py-breakpoint.exp
9666 * gdb.python/py-cmd.exp
9667 * gdb.python/py-events.exp
9668 * gdb.python/py-evthreads.exp
9669 * gdb.python/py-finish-breakpoint.exp
9670 * gdb.python/py-finish-breakpoint2.exp
9671 * gdb.python/py-frame-inline.exp
9672 * gdb.python/py-frame.exp
9673 * gdb.python/py-inferior.exp
9674 * gdb.python/py-infthread.exp
9675 * gdb.python/py-mi.exp
9676 * gdb.python/py-objfile.exp
9677 * gdb.python/py-pp-maint.exp
9678 * gdb.python/py-pp-registration.exp
9679 * gdb.python/py-prettyprint.exp
9680 * gdb.python/py-recurse-unwind.exp
9681 * gdb.python/py-shared.exp
9682 * gdb.python/py-symbol.exp
9683 * gdb.python/py-symtab.exp
9684 * gdb.python/py-template.exp
9685 * gdb.python/py-type.exp
9686 * gdb.python/py-unwind-maint.exp
9687 * gdb.python/py-unwind.exp
9688 * gdb.python/py-value.exp
9689 * gdb.python/python.exp
9690 * gdb.reverse/finish-reverse-bkpt.exp
9691 * gdb.reverse/insn-reverse.exp
9692 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9693 * gdb.reverse/solib-precsave.exp
9694 * gdb.reverse/solib-reverse.exp
9695 * gdb.stabs/gdb11479.exp
9696 * gdb.stabs/weird.exp
9697 * gdb.threads/fork-child-threads.exp
9698 * gdb.threads/fork-plus-threads.exp
9699 * gdb.threads/fork-thread-pending.exp
9700 * gdb.threads/forking-threads-plus-breakpoint.exp
9701 * gdb.threads/hand-call-in-threads.exp
9702 * gdb.threads/interrupted-hand-call.exp
9703 * gdb.threads/linux-dp.exp
9704 * gdb.threads/local-watch-wrong-thread.exp
9705 * gdb.threads/next-while-other-thread-longjmps.exp
9706 * gdb.threads/non-ldr-exit.exp
9707 * gdb.threads/pending-step.exp
9708 * gdb.threads/print-threads.exp
9709 * gdb.threads/process-dies-while-detaching.exp
9710 * gdb.threads/process-dies-while-handling-bp.exp
9711 * gdb.threads/pthreads.exp
9712 * gdb.threads/queue-signal.exp
9713 * gdb.threads/reconnect-signal.exp
9714 * gdb.threads/signal-command-handle-nopass.exp
9715 * gdb.threads/signal-command-multiple-signals-pending.exp
9716 * gdb.threads/signal-delivered-right-thread.exp
9717 * gdb.threads/signal-sigtrap.exp
9718 * gdb.threads/sigthread.exp
9719 * gdb.threads/staticthreads.exp
9720 * gdb.threads/stepi-random-signal.exp
9721 * gdb.threads/thread-unwindonsignal.exp
9722 * gdb.threads/thread_check.exp
9723 * gdb.threads/thread_events.exp
9724 * gdb.threads/tid-reuse.exp
9725 * gdb.threads/tls-nodebug.exp
9726 * gdb.threads/tls-shared.exp
9727 * gdb.threads/tls-so_extern.exp
9728 * gdb.threads/tls.exp
9729 * gdb.threads/wp-replication.exp
9730 * gdb.trace/actions-changed.exp
9731 * gdb.trace/actions.exp
9732 * gdb.trace/backtrace.exp
9733 * gdb.trace/change-loc.exp
9734 * gdb.trace/collection.exp
9735 * gdb.trace/deltrace.exp
9736 * gdb.trace/disconnected-tracing.exp
9737 * gdb.trace/entry-values.exp
9738 * gdb.trace/ftrace-lock.exp
9739 * gdb.trace/ftrace.exp
9740 * gdb.trace/infotrace.exp
9741 * gdb.trace/mi-trace-frame-collected.exp
9742 * gdb.trace/mi-trace-unavailable.exp
9743 * gdb.trace/mi-traceframe-changed.exp
9744 * gdb.trace/mi-tracepoint-changed.exp
9745 * gdb.trace/mi-tsv-changed.exp
9746 * gdb.trace/no-attach-trace.exp
9747 * gdb.trace/packetlen.exp
9748 * gdb.trace/passc-dyn.exp
9749 * gdb.trace/passcount.exp
9750 * gdb.trace/pending.exp
9751 * gdb.trace/pr16508.exp
9752 * gdb.trace/qtro.exp
9753 * gdb.trace/range-stepping.exp
9754 * gdb.trace/read-memory.exp
9755 * gdb.trace/report.exp
9756 * gdb.trace/save-trace.exp
9757 * gdb.trace/signal.exp
9758 * gdb.trace/stap-trace.exp
9759 * gdb.trace/status-stop.exp
9760 * gdb.trace/strace.exp
9761 * gdb.trace/tfile.exp
9762 * gdb.trace/tfind.exp
9763 * gdb.trace/trace-break.exp
9764 * gdb.trace/trace-condition.exp
9765 * gdb.trace/trace-enable-disable.exp
9766 * gdb.trace/trace-mt.exp
9767 * gdb.trace/tracecmd.exp
9768 * gdb.trace/tracefile-pseudo-reg.exp
9769 * gdb.trace/tspeed.exp
9770 * gdb.trace/tstatus.exp
9771 * gdb.trace/tsv.exp
9772 * gdb.trace/unavailable.exp
9773 * gdb.trace/while-dyn.exp
9774 * gdb.trace/while-stepping.exp
9775 * lib/gdb-guile.exp
9776 * lib/gdb.exp
9777 * lib/mi-support.exp
9778 * lib/pascal.exp
9779 * lib/perftest.exp
9780 * lib/prelink-support.exp
9781 * lib/selftest-support.exp
9782
9783 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9784
9785 * Makefile.in: Include disable-implicit-rules.mk.
9786
9787 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9788
9789 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9790 non-byte-aligned bit fields.
9791
9792 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9793
9794 PR gdb/12616
9795 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9796 respects the DW_AT_data_bit_offset attribute.
9797
9798 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9799
9800 * gdb.base/default.exp: Fix output of "set language".
9801
9802 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9803
9804 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9805 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9806 make.
9807 * configure.ac: Remove checks for the make program.
9808 * configure: Re-generate.
9809
9810 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9811
9812 * gdb.python/py-recurse-unwind.c (main): Add loop.
9813 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9814 to read_register() and gdb.parse_and_eval(). Make each code
9815 call a separate case that can be individually tested.
9816 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9817 proc. Call cont_and_backtrace for each of the code paths that
9818 we want to test in the unwinder.
9819
9820 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9821
9822 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9823 the definition of struct S.
9824
9825 2016-11-11 Catherine Moore <clm@codesourcery.com>
9826
9827 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9828
9829 2016-11-09 Pedro Alves <palves@redhat.com>
9830
9831 * gdb.base/commands.exp (runto_or_return): New procedure.
9832 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9833 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9834 (progvar_simple_while_test, progvar_complex_if_while_test)
9835 (if_while_breakpoint_command_test)
9836 (infrun_breakpoint_command_test, breakpoint_command_test)
9837 (user_defined_command_test, watchpoint_command_test)
9838 (test_command_prompt_position, redefine_hook_test)
9839 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9840 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9841 multi_line_input and multi_line. Remove gdb_expect and
9842 gdb_stop_suppressing_tests uses.
9843 * lib/gdb.exp (valnum_re): New global.
9844 (multi_line_input): New procedure.
9845
9846 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9847
9848 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9849 Remove.
9850 (test_setup): Define with proc_with_prefix.
9851 (test_cli_inferior): Likewise.
9852 (test_cli_thread): Likewise.
9853 (test_cli_frame): Likewise.
9854 (test_cli_select_frame): Likewise.
9855 (test_cli_up_down): Likewise.
9856 (test_mi_thread_select): Likewise.
9857 (test_mi_stack_select_frame): Likewise.
9858 (test_cli_in_mi_inferior): Likewise.
9859 (test_cli_in_mi_thread): Likewise.
9860 (test_cli_in_mi_frame): Likewise.
9861 (top level): Do not use with_test_prefix_procname.
9862
9863 2016-11-09 Pedro Alves <palves@redhat.com>
9864
9865 * gdb.base/commands.exp (gdbvar_simple_if_test)
9866 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9867 (progvar_simple_if_test, progvar_simple_while_test)
9868 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9869 (infrun_breakpoint_command_test, breakpoint_command_test)
9870 (user_defined_command_test, watchpoint_command_test)
9871 (test_command_prompt_position, deprecated_command_test)
9872 (bp_deleted_in_command, temporary_breakpoint_commands)
9873 (stray_arg0_test, source_file_with_indented_comment)
9874 (recursive_source_test, if_commands_test)
9875 (error_clears_commands_left, redefine_hook_test)
9876 (redefine_backtrace_test): Use proc_with_prefix.
9877 * lib/gdb.exp (proc_with_prefix): New proc.
9878
9879 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9880
9881 * gdb.base/tui-layout.c: New file.
9882 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9883 disassembly window contains very long lines.
9884
9885 2016-11-08 Tom Tromey <tom@tromey.com>
9886
9887 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9888 depend on Python 2.
9889
9890 2016-11-08 Tom Tromey <tom@tromey.com>
9891
9892 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9893 New method.
9894
9895 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9896
9897 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9898
9899 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9900
9901 * gdb.rust/simple.rs: Add test for univariant enums without
9902 discriminants and for encoded struct-like enums.
9903
9904 2016-10-28 Pedro Alves <palves@redhat.com>
9905
9906 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9907 gdb_test_multiple, tighten regexps and match symtabs and line
9908 tables incrementally.
9909
9910 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9911
9912 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9913 general.
9914
9915 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9916
9917 * gdb.base/exec-invalid-sysroot.exp: New file.
9918
9919 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9920
9921 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9922
9923 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9924
9925 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9926
9927 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9928
9929 * gdb.base/killed-outside.exp: Remove $options from a call to
9930 `prepare_for_testing'.
9931
9932 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9933
9934 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9935 Change test message.
9936
9937 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9938
9939 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9940 Update comment.
9941
9942 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9943
9944 * gdb.trace/mi-trace-save.exp: New file.
9945
9946 2016-10-13 Yao Qi <yao.qi@linaro.org>
9947
9948 * gdb.base/code_elim.exp (get_var_address): Remove.
9949 * gdb.base/relocate.exp: Likewise.
9950 * gdb.base/shreloc.exp: Likewise.
9951 * lib/gdb.exp (get_var_address): New.
9952
9953 2016-10-13 Yao Qi <yao.qi@linaro.org>
9954
9955 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9956 floating point tests if $skip_float_test is false.
9957
9958 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9959
9960 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9961 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9962 argc values.
9963 Add 1 to argc so we guarantee distinct initial/modified argc values.
9964
9965 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9966
9967 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9968
9969 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9970
9971 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9972 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9973 * gdb.arch/vsx-regs.exp: Likewise.
9974
9975 2016-10-07 Yao Qi <yao.qi@linaro.org>
9976
9977 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9978
9979 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9980
9981 * gdb.python/python.exp: Test decode_line("*0").
9982
9983 2016-10-06 Doug Evans <dje@google.com>
9984
9985 * gdb.python/py-value.exp (test_value_creation): Add test for large
9986 unsigned 64-bit value.
9987
9988 2016-10-06 Tom Tromey <tom@tromey.com>
9989
9990 * gdb.compile/compile.exp: Change java tests to rust.
9991 * gdb.base/setshow.exp: Change java tests to rust.
9992 * gdb.base/default.exp: Remove java from language list.
9993 * README (Examples): Update language example.
9994 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9995 test.
9996 * lib/gdb.exp (skip_java_tests): Remove.
9997 * lib/java.exp: Remove.
9998 * gdb.java: Remove.
9999
10000 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10001
10002 * gdb.arch/mips-fcr.exp: New test.
10003 * gdb.arch/mips-fcr.c: Source for the new test.
10004
10005 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10006
10007 * gdb.base/solib-disc.exp: Use `standard_output_file'
10008 throughout.
10009
10010 2016-10-06 Pedro Alves <palves@redhat.com>
10011
10012 * gdb.base/jit-simple-dl.c: New file.
10013 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10014 * gdb.base/jit-simple.c: ... this.
10015 * gdb.base/jit-simple.exp (jit_run): Delete.
10016 (build_jit): New proc.
10017 (jit_test_reread): Recompile either the main program or the shared
10018 library, depending on what is being tested. Skip changing address
10019 if caller wants to. Compare before/after addresses. If testing
10020 standalone, explicitly load the binary. Test "maint info
10021 breakpoints".
10022 (top level): Add "standalone vs shared lib" and "change address"
10023 vs "same address" axes.
10024
10025 2016-10-06 Pedro Alves <palves@redhat.com>
10026
10027 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10028 call.
10029 (jit_run): Delete.
10030 (jit_test_reread): Use with_test_prefix. Reload the main binary
10031 explicitly. Compare the before/after addresses of the JIT
10032 descriptor.
10033
10034 2016-08-15 Doug Evans <dje@google.com>
10035
10036 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10037 for single bitfields is bool.
10038 * gdb.xml/tdesc-regs.exp: Ditto.
10039
10040 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10041
10042 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10043
10044 2016-10-05 Yao Qi <yao.qi@linaro.org>
10045
10046 * lib/gdb.exp (support_complex_tests): Return zero if
10047 gdb_skip_float_test return true.
10048
10049 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10050 Simon Marchi <simon.marchi@ericsson.com>
10051
10052 PR gdb/20487
10053 * gdb.mi/user-selected-context-sync.exp: New file.
10054 * gdb.mi/user-selected-context-sync.c: New file.
10055
10056 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10057 Simon Marchi <simon.marchi@ericsson.com>
10058
10059 PR gdb/20487
10060 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10061 =thread-select-event check.
10062
10063 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10064
10065 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10066 the compulsory L operand changes.
10067 * gdb.arch/powerpc-power.s: Likewise.
10068
10069 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10070
10071 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10072 * gdb.base/jit-attach-pie.c: New file.
10073 * gdb.base/jit-attach-pie.exp: New file.
10074
10075 2016-09-28 Pedro Alves <palves@redhat.com>
10076
10077 * gdb.base/infcall-input.c: New file.
10078 * gdb.base/infcall-input.exp: New file.
10079
10080 2016-09-22 Yao Qi <yao.qi@linaro.org>
10081
10082 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10083 (gdb_exit): Rename it to ...
10084 (gdbserver_gdb_exit): ... Close GDBserver.
10085 (gdb_exit): New proc, call gdbserver_gdb_exit.
10086 (mi_gdb_exit): Likewise.
10087
10088 2016-09-22 Yao Qi <yao.qi@linaro.org>
10089
10090 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10091 path.
10092 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10093 Remove duplication.
10094
10095 2016-09-22 Yao Qi <yao.qi@linaro.org>
10096
10097 * lib/gdbserver-support.exp: Check the existence of
10098 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10099
10100 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10101
10102 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10103
10104 2016-09-21 Tom Tromey <tom@tromey.com>
10105
10106 PR gdb/20604:
10107 * gdb.base/quit.exp: New file.
10108
10109 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10110
10111 * .gitignore: New file.
10112
10113 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10114
10115 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10116 throughout.
10117
10118 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10119
10120 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10121
10122 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10123
10124 * gdb.cp/casts.cc (decltype): Move it ...
10125 (main): ... with its call to ...
10126 * gdb.cp/casts03.cc: ... a new file.
10127 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10128
10129 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10130
10131 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10132
10133 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10134
10135 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10136 and sync up the test with tests in gas/testsuite/gas/ppc.
10137 * gdb.arch/powerpc-power.exp: Likewise.
10138
10139 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10140
10141 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10142
10143 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10144 Jan Kratochvil <jan.kratochvil@redhat.com>
10145
10146 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10147 make m1's definition to be different from m2's. Use 'dummy' as an
10148 argument for probe 'two'.
10149
10150 2016-09-10 Jon Beniston <jon@beniston.com>
10151
10152 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10153 for sim target.
10154
10155 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10156
10157 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10158 variable declaration.
10159 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10160 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10161 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10162 received HWCAP as its argument.
10163
10164 2016-09-06 Pedro Alves <palves@redhat.com>
10165
10166 * gdb.base/new-ui-pending-input.c: New file.
10167 * gdb.base/new-ui-pending-input.exp: New file.
10168 * gdb.exp (clear_gdb_spawn_id): New procedure.
10169 (with_spawn_id): Check whether gdb_spawn_id exists before
10170 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10171 on exit.
10172
10173 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10174
10175 * gdb.base/float128.c: New file.
10176 * gdb.base/float128.exp: Likewise.
10177 * gdb.base/floatn.c: Likewise.
10178 * gdb.base/floatn.exp: Likewise.
10179
10180 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10181
10182 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10183
10184 2016-09-05 Pedro Alves <palves@redhat.com>
10185
10186 PR backtrace/19927
10187 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10188 unwinders are immediately called as side effect of "source" or
10189 "disable unwinder" commands.
10190 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10191
10192 2016-09-02 Yao Qi <yao.qi@linaro.org>
10193
10194 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10195 is true and $type is "float" or "double".
10196
10197 2016-09-02 Yao Qi <yao.qi@linaro.org>
10198
10199 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10200 true.
10201 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10202 * gdb.base/call-rt-st.exp: Likewise.
10203 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10204 return value instead of gdb,skip_float_test.
10205 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10206 (do_function_calls): Use its return value instead of
10207 gdb,skip_float_test.
10208 * gdb.base/finish.exp: Likewise.
10209 * gdb.base/funcargs.exp: Likewise.
10210 * gdb.base/return.exp: Likewise.
10211 * gdb.base/return2.exp: Likewise.
10212 * gdb.base/varargs.exp: Likewise.
10213 * lib/gdb.exp (gdb_skip_float_test): Change it to
10214 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10215
10216 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10217
10218 * gdb.multi/tids.exp: Test "thread apply all".
10219
10220 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10221
10222 * gdb.base/default.exp (tty): Remove.
10223
10224 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10225
10226 * gdb.python/py-recurse-unwind.c: New file.
10227 * gdb.python/py-recurse-unwind.py: New file.
10228 * gdb.python/py-recurse-unwind.exp: New file.
10229
10230 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10231
10232 * gdb.base/set-inferior-tty.exp: New file.
10233 * gdb.base/set-inferior-tty.c: New file.
10234
10235 2016-08-23 Pedro Alves <palves@redhat.com>
10236
10237 PR gdb/20494
10238 * gdb.base/new-ui-echo.c: New file.
10239 * gdb.base/new-ui-echo.exp: New file.
10240
10241 2016-08-23 Yao Qi <yao.qi@linaro.org>
10242
10243 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10244 gdbserver_spawn.
10245 * gdb.server/connect-without-multi-process.exp (do_test):
10246 Likewise.
10247
10248 2016-08-23 Yao Qi <yao.qi@linaro.org>
10249
10250 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10251 standalone_txt. Delete gdb_txt and standalone_txt on host
10252 and target. Spawn the binary on target. Copy files from
10253 target to host.
10254
10255 2016-08-22 Pedro Alves <palves@redhat.com>
10256
10257 PR gdb/20505
10258 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10259 with_test_prefix. Factor out bits to ...
10260 (test_no_vdso): ... this new procedure.
10261
10262 2016-08-19 Carl Love <cel@us.ibm.com>
10263
10264 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10265 maintaining separate logic for constructing the output path.
10266 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10267 * gdb.arch/ppc-dfp.exp: Likewise.
10268 * gdb.arch/ppc-fp.exp: Likewise.
10269 * gdb.arch/vsx-regs.exp: Likewise.
10270 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10271 binprefix for generating the additional binary files.
10272
10273 2016-08-19 Pedro Alves <palves@redhat.com>
10274
10275 * gdb.trace/mi-trace-frame-collected.exp
10276 (test_trace_frame_collected): On x32, expect two registers.
10277
10278 2016-08-18 Carl Love <cel@us.ibm.com>
10279
10280 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10281 and sync up the test with tests in gas/testsuite/gas/ppc.
10282 * gdb.arch/powerpc-power.exp: Likewise.
10283
10284 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10285
10286 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10287 expected error message.
10288
10289 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10290
10291 * gdb.multi/remove-inferiors.exp: New file.
10292 * gdb.multi/remove-inferiors.c: New file.
10293
10294 2016-08-12 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10297 argument list.
10298
10299 2016-08-10 Pedro Alves <palves@redhat.com>
10300
10301 PR gdb/19187
10302 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10303 setup_kfails.
10304
10305 2016-08-09 Pedro Alves <palves@redhat.com>
10306 Simon Marchi <simon.marchi@ericsson.com>
10307
10308 PR gdb/20418
10309 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10310 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10311
10312 2016-08-09 Pedro Alves <palves@redhat.com>
10313
10314 PR mi/20431
10315 * gdb.mi/mi-cmd-error.exp: New file.
10316
10317 2016-08-09 Pedro Alves <palves@redhat.com>
10318
10319 PR gdb/18653
10320 * gdb.base/signals-state-child.c: New file.
10321 * gdb.base/signals-state-child.exp: New file.
10322 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10323
10324 2016-08-09 Pedro Alves <palves@redhat.com>
10325
10326 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10327
10328 2016-08-03 Tom Tromey <tom@tromey.com>
10329
10330 PR python/18565:
10331 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10332
10333 2016-08-01 Yao Qi <yao.qi@linaro.org>
10334
10335 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10336 variable mode to "multi-process" if $multi_process is 1, otherwise
10337 set it to "single-process".
10338
10339 2016-08-01 Yao Qi <yao.qi@linaro.org>
10340
10341 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10342 * gdb.cp/cpexprs.exp: Likewise.
10343 * gdb.cp/m-static.exp: Likewise.
10344
10345 2016-07-26 Tom Tromey <tom@tromey.com>
10346
10347 PR python/20190:
10348 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10349 test.
10350
10351 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10352
10353 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10354 selecting assembly source files.
10355 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10356 assembly source files.
10357 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10358 assembly source files.
10359 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10360 selecting assembly source files.
10361
10362 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10363
10364 * gdb.base/new-ui.exp (do_test_invalid_args): New
10365 procedure.
10366
10367 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10368
10369 * gdb.btrace/reconnect.c: New file.
10370 * gdb.btrace/reconnect.exp: New file.
10371
10372 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10373
10374 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10375 to test_catch_syscall_group.
10376 (test_catch_syscall_group): New.
10377
10378 2016-07-21 Tom Tromey <tom@tromey.com>
10379
10380 * gdb.rust/simple.rs (main): Use empty struct expression.
10381 * gdb.rust/simple.exp: Add tests for empty struct expression.
10382
10383 2016-07-21 Yao Qi <yao.qi@linaro.org>
10384
10385 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10386 if gdb_skip_xml_test is true on some targets.
10387
10388 2016-07-21 Yao Qi <yao.qi@linaro.org>
10389
10390 * gdb.server/solib-list.exp: Unset last_loaded_file.
10391
10392 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10393
10394 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10395 "step into captured_main (args)".
10396
10397 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10398
10399 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10400
10401 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10402
10403 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10404
10405 2016-07-19 Pedro Alves <palves@redhat.com>
10406
10407 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10408 * gdb.opt/inline-bt.exp: Likewise.
10409 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10410 additional_flags=-Winline.
10411 * gdb.opt/inline-locals.exp: Likewise.
10412 * gdb.opt/inline-markers.c (ATTR): Define.
10413 (inlined_fn): Use it.
10414
10415 2016-07-19 Yao Qi <yao.qi@linaro.org>
10416
10417 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10418 (test_with_self): Remove some code. Remove argument executable.
10419 (top-level): Use do_self_tests.
10420
10421 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10422 Don Breazeal <donb@codesourcery.com>
10423
10424 * gdb.base/maint.exp: Escape paths used in regular expressions.
10425 * gdb.stabs/weird.exp: Likewise.
10426
10427 2016-07-13 Tom Tromey <tom@tromey.com>
10428
10429 PR python/15620, PR python/18620:
10430 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10431 (test_bkpt_events): New procs.
10432
10433 2016-07-13 Tom Tromey <tom@tromey.com>
10434
10435 PR python/17698:
10436 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10437 test.
10438 (test_watchpoints): Likewise.
10439 (test_bkpt_pending): New proc.
10440
10441 2016-07-13 Tom Tromey <tom@tromey.com>
10442
10443 PR cli/18053:
10444 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10445 completion test.
10446
10447 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10448
10449 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10450 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10451 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10452 f_label.
10453 (g): Rename g_end_lbl to g_label.
10454 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10455 low_pc and high_pc.
10456 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10457
10458 2016-07-12 Tom Tromey <tom@tromey.com>
10459
10460 PR python/19293:
10461 * gdb.python/py-unwind-maint.exp: Update tests.
10462
10463 2016-07-12 Yao Qi <yao.qi@linaro.org>
10464
10465 * lib/selftest-support.exp (selftest_setup): Match the output
10466 when captured_main is inlined.
10467
10468 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10469
10470 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10471 New variables.
10472 (print this%a, print this%b, print this): New tests.
10473 * gdb.fortran/derived-types.f90 (this): New object and
10474 initialization.
10475
10476 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10477
10478 * gdb.ada/arraydim.exp: Remove extra directory level in build
10479 directory.
10480
10481 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10482
10483 * lib/ada.exp: Remove extra directory level in build directory.
10484 * gdb.ada/cond_lang.exp: Likewise.
10485 * gdb.ada/exec_changed.exp: Likewise.
10486 * gdb.ada/lang_switch.exp: Likewise.
10487
10488 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10489
10490 * simple.rs: Add test for raw pointer subscripting.
10491 * simple.exp: Add test expectations.
10492
10493 2016-07-05 Yao Qi <yao.qi@linaro.org>
10494
10495 * gdb.mi/mi-reverse.exp: Match =record-started output.
10496
10497 2016-07-01 Pedro Alves <palves@redhat.com>
10498
10499 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10500 procedure.
10501 (jit_reader_test): Test the jit reader's unwinder.
10502 * gdb.base/jithost.c (jit_function_00_code): New global.
10503 (main): Use memcpy to fill in the mmapped code, instead of poking
10504 bytes manually here.
10505 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10506 value.
10507 (read_debug_info): Save the function's range.
10508 (read_sp): New function.
10509 (unwind_frame): Use it. Also unwind RBP.
10510 (get_frame_id): Use read_sp.
10511 (gdb_init_reader): Use calloc instead of malloc.
10512 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10513 parameter. Use gdb_test_multiple.
10514
10515 2016-07-01 Pedro Alves <palves@redhat.com>
10516 Antoine Tremblay <antoine.tremblay@ericsson.com>
10517
10518 * gdb.threads/process-dies-while-detaching.c: New file.
10519 * gdb.threads/process-dies-while-detaching.exp: New file.
10520
10521 2016-07-01 Pedro Alves <palves@redhat.com>
10522
10523 * gdb.multi/watchpoint-multi-exit.c: New file.
10524 * gdb.multi/watchpoint-multi-exit.exp: New file.
10525
10526 2016-06-30 Pedro Alves <palves@redhat.com>
10527
10528 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10529 unset inferior_spawn_id.
10530
10531 2016-06-30 Pedro Alves <palves@redhat.com>
10532
10533 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10534 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10535
10536 2016-06-29 Yao Qi <yao.qi@linaro.org>
10537
10538 * gdb.base/return.c: Add copyright header.
10539
10540 2016-06-29 Tom Tromey <tom@tromey.com>
10541
10542 PR python/20129:
10543 * gdb.python/py-framefilter.exp: Add tests for setting priority
10544 and disabling of non-existent frame filter.
10545
10546 2016-06-29 Yao Qi <yao.qi@linaro.org>
10547
10548 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10549 0x0f07ff.
10550
10551 2016-06-28 Yao Qi <yao.qi@linaro.org>
10552
10553 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10554 triplets. Start gdb, execute catch syscall, and continue. Check
10555 gdb's output to determine catch syscall is supported.
10556
10557 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10558
10559 * gdb.rust/simple.rs: Add test for returning unit in a function.
10560 * gdb.rust/simple.exp: Add expectation for functions returning
10561 unit.
10562
10563 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10564
10565 * gdb.python/py-breakpoint-create-fail.c,
10566 gdb.python/py-breakpoint-create-fail.exp,
10567 gdb.python/py-breakpoint-create-fail.py: New testcase.
10568
10569 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10570
10571 PR gdb/20239
10572 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10573 * gdb.rust/simple.exp: Add test expectations for new NonZero
10574 tests.
10575
10576 2016-06-24 David Taylor <dtaylor@emc.com>
10577
10578 * gdb.base/offsets.exp: New file.
10579 * gdb.base/offsets.c: New file.
10580
10581 2016-06-23 Tom Tromey <tom@tromey.com>
10582
10583 PR gdb/16483:
10584 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10585 before any filters are loaded.
10586
10587 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10588
10589 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10590 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10591 structs.
10592 * gdb.fortran/derived-type-function.exp: New file.
10593 * gdb.fortran/derived-type-function.f90: New file.
10594
10595
10596 2016-06-21 Pedro Alves <palves@redhat.com>
10597
10598 * gdb.base/new-ui.exp: New file.
10599 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10600 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10601 (with_spawn_id): New procedure.
10602
10603 2016-06-21 Pedro Alves <palves@redhat.com>
10604
10605 * gdb.mi/mi-exec-run.exp: New file.
10606
10607 2016-06-21 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10610 breakpoint command's output on the main UI.
10611 (test_break): New procedure, factored out from calls in the top
10612 level.
10613 (top level): Use foreach_with_prefix to test MI as main UI and as
10614 separate UI.
10615
10616 2016-06-21 Pedro Alves <palves@redhat.com>
10617
10618 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10619 (test_awatch_creation_and_listing)
10620 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10621 Remove 'type' parameter.
10622 (test_watchpoint_all): New parameter mi_mode. Remove
10623 with_test_prefix.
10624 (top level): Use foreach_with_prefix, and add main/separate UI MI
10625 testing axis.
10626
10627 2016-06-21 Pedro Alves <palves@redhat.com>
10628
10629 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10630 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10631 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10632 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10633 (gdb_main_spawn_id, mi_spawn_id): Declare and
10634 comment.
10635 (mi_create_inferior_pty): New procedure,
10636 factored out from default_mi_gdb_start.
10637 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10638 procedures.
10639 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10640 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10641 Use mi_create_inferior_pty.
10642 (mi_gdb_start): Use eval to pass down args list.
10643
10644 2016-06-21 Pedro Alves <palves@redhat.com>
10645
10646 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10647 * gdb.opt/inline-cmds.exp: Add MI tests.
10648
10649 2016-06-21 Pedro Alves <palves@redhat.com>
10650
10651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10652
10653 2016-06-21 Pedro Alves <palves@redhat.com>
10654
10655 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10656 (top level): Use it instead of mi_execute_to.
10657
10658 2016-06-21 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10661 (cont_handler_str): New.
10662 (signal_stop_handler): Set stop_handler_str instead of printing to
10663 stdout.
10664 (continue_handler): Set cont_handler_str instead of printing to
10665 stdout.
10666 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10667 mi_send_resuming_command. Print stop_handler_str and
10668 cont_handler_str instead of expecting the python events print
10669 directly.
10670
10671 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10672
10673 * gdb.base/jit-reader.exp: New file.
10674 * gdb.base/jithost.c: New file.
10675 * gdb.base/jithost.h: New file.
10676 * gdb.base/jitreader.c : New file.
10677 * gdb.base/jit-protocol.h: New file.
10678
10679 2016-06-17 Yao Qi <yao.qi@linaro.org>
10680
10681 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10682 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10683 and detach-on-fork. Adjust tests.
10684 (top level): Invoke break_cond_on_syscall with combinations of
10685 syscall, follow-fork-mode and detach-on-fork.
10686
10687 2016-06-17 Yao Qi <yao.qi@linaro.org>
10688
10689 * gdb.base/step-over-exit.c: New.
10690 * gdb.base/step-over-exit.exp: New.
10691
10692 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10693
10694 * gdb.base/float.exp: Add target check for nds32*-*-*.
10695 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10696
10697 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10698
10699 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10700 for unsupported target features.
10701 * gdb.base/call-rt-st.exp: Likewise.
10702 * gdb.base/call-sc.exp: Likewise.
10703 * gdb.base/call-signal-resume.exp: Likewise.
10704 * gdb.base/call-strs.exp: Likewise.
10705 * gdb.base/callexit.exp: Likewise.
10706 * gdb.base/callfuncs.exp: Likewise.
10707 * gdb.base/nodebug.exp: Likewise.
10708 * gdb.base/printcmds.exp: Likewise.
10709 * gdb.base/ptype.exp: Likewise.
10710 * gdb.base/structs.exp: Likewise.
10711 * gdb.base/unwindonsignal.exp: Likewise.
10712 * gdb.cp/gdb2495.exp: Likewise.
10713 * gdb.cp/templates.exp: Likewise.
10714 * gdb.cp/virtfunc.exp: Likewise.
10715 * gdb.threads/hand-call-in-threads.exp: Likewise.
10716 * gdb.threads/interrupted-hand-call.exp: Likewise.
10717 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10718
10719 2016-06-10 Tom Tromey <tom@tromey.com>
10720
10721 PR rust/20110:
10722 * gdb.rust/expr.exp: Add test for integer constant larger than
10723 i32.
10724
10725 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10726
10727 * gdb.fortran/nested-funcs.exp: New.
10728 * gdb.fortran/nested-funcs.f90: New.
10729
10730 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10731
10732 * gdb.base/examine-backward.c: New file.
10733 * gdb.base/examine-backward.exp: New file.
10734
10735 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10736
10737 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10738 matching.
10739
10740 2016-06-02 Tom Tromey <tom@tromey.com>
10741
10742 PR python/18984:
10743 * gdb.python/py-shared.exp: Add solib_name test.
10744
10745 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10746
10747 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10748
10749 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10750
10751 PR c++/19893
10752 * gdb.dwarf2/implref.exp: Rename to...
10753 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10754 * gdb.dwarf2/implref-array.c: New file.
10755 * gdb.dwarf2/implref-array.exp: Likewise.
10756 * gdb.dwarf2/implref-global.c: Likewise.
10757 * gdb.dwarf2/implref-global.exp: Likewise.
10758 * gdb.dwarf2/implref-struct.c: Likewise.
10759 * gdb.dwarf2/implref-struct.exp: Likewise.
10760
10761 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10762
10763 * gdb.trace/trace-condition.exp: Add 64bit tests.
10764
10765 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10766
10767 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10768 bits types.
10769 (main): Adapt to 8 to 64 bits types.
10770 * gdb.trace/trace-condition.exp: Add new tests.
10771
10772 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10773
10774 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10775
10776 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10777
10778 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10779 Move condition tests...
10780 * gdb.trace/trace-condition.exp: Here.
10781
10782 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10783
10784 * gdb.trace/trace-condition.exp: Add counter-case tests.
10785
10786 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10787
10788 PR c++/15231
10789 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10790 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10791
10792 2016-05-27 Pedro Alves <palves@redhat.com>
10793
10794 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10795 New procedure.
10796 (top level): Call it, and bail out of DejaGnu is known to be bad.
10797
10798 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10799
10800 * gdb.base/whatis.c: Extend the test case.
10801 * gdb.base/whatis.exp: Add additional tests.
10802
10803 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10804
10805 * gdb.fortran/type.f90: Add pointer variable.
10806 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10807
10808 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10809
10810 * gdb.fortran/vla-type.exp: Fix testcase name.
10811
10812 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10813
10814 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10815
10816 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10817
10818 * gdb.fortran/type.f90: Add nested structures.
10819 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10820 * gdb.fortran/derived-type.exp: Adapt expected output.
10821 * gdb.fortran/vla-type.exp: Adapt expected output.
10822
10823 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10824
10825 * gdb.fortran/whatis_type.exp: Adapt expected output.
10826
10827 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10828
10829 * gdb.fortran/print_type.exp: Fix expected output.
10830 * gdb.fortran/whatis_type.exp: Fix expected output.
10831
10832 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10833
10834 * gdb.fortran/whatis_type.exp: Use multi_line.
10835
10836 2016-05-24 Tom Tromey <tom@tromey.com>
10837
10838 PR python/17386:
10839 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10840 use value as an index.
10841
10842 2016-05-23 Tom Tromey <tom@tromey.com>
10843
10844 PR python/17981:
10845 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10846 no-breakpoint case.
10847
10848 2016-05-24 Pedro Alves <palves@redhat.com>
10849
10850 PR gdb/19828
10851 * gdb.threads/clone-attach-detach.c: New file.
10852 * gdb.threads/clone-attach-detach.exp: New file.
10853
10854 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10855
10856 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10857
10858 2016-05-23 Tom Tromey <tom@tromey.com>
10859
10860 PR python/19438, PR python/18393:
10861 * gdb.python/py-progspace.exp: Add "dir" test.
10862 * gdb.python/py-objfile.exp: Add "dir" test.
10863
10864 2016-05-23 Yao Qi <yao.qi@linaro.org>
10865
10866 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10867 * gdb.arch/thumb2-it.exp: Likewise.
10868
10869 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10870
10871 * gdb.mi/mi-threads-interrupt.c: New file.
10872 * gdb.mi/mi-threads-interrupt.exp: New file.
10873
10874 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10875
10876 PR gdb/18077
10877 * gdb.mi/mi-async-run.exp: New file.
10878 * gdb.mi/mi-async-run.c: New file.
10879
10880 2016-05-17 Tom Tromey <tom@tromey.com>
10881 Manish Goregaokar <manishsmail@gmail.com>
10882
10883 * lib/rust-support.exp: New file.
10884 * lib/gdb.exp (skip_rust_tests): New proc.
10885 (build_executable_from_specs): Handle rust.
10886 * lib/future.exp (gdb_find_rustc): New proc.
10887 (gdb_default_target_compile): Handle rust.
10888 * gdb.rust/expr.exp: New file.
10889 * gdb.rust/generics.exp: New file.
10890 * gdb.rust/generics.rs: New file.
10891 * gdb.rust/methods.exp: New file.
10892 * gdb.rust/methods.rs: New file.
10893 * gdb.rust/modules.exp: New file.
10894 * gdb.rust/modules.rs: New file.
10895 * gdb.rust/simple.exp: New file.
10896 * gdb.rust/simple.rs: New file.
10897
10898 2016-05-17 Tom Tromey <tom@tromey.com>
10899
10900 * gdb.base/default.exp (set language): Add rust.
10901
10902 2016-05-17 Tom Tromey <tom@tromey.com>
10903
10904 * gdb.gdb/unittest.exp: New file.
10905
10906 2016-05-16 Yao Qi <yao.qi@linaro.org>
10907
10908 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10909 shell_prompt. Update shell_prompt_re.
10910
10911 2016-05-12 Doug Evans <dje@google.com>
10912
10913 PR symtab/19999
10914 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10915 $options when building executable.
10916 * gdb.dwarf2/fission-loclists-pie.S: New file.
10917 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10918
10919 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10920
10921 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10922 of [is_remote target],
10923
10924 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10925
10926 * lib/gdb.exp (use_gdb_stub): New procedure.
10927
10928 2016-05-03 Yunlian Jiang <yunlian@google.com>
10929 Doug Evans <dje@google.com>
10930
10931 PR symtab/19914
10932 * gdb.dwarf2/dwp-sepdebug.c: New file.
10933 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10934
10935 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10936
10937 * gdb.base/detach.exp: Remove is_remote check.
10938
10939 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10940
10941 * gdb.base/annota-input-while-running.exp: Don't check for
10942 [is_remote target]. Enable annotations after running to main.
10943 Remove unused "set test..." line.
10944
10945 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10946
10947 * gdb.trace/trace-enable-disable.exp: New file.
10948 * gdb.trace/trace-enable-disable.c: New file.
10949
10950 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10951
10952 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10953 use it in info sharedlibrary test.
10954 * gdb.trace/ftrace-lock.exp: Likewise.
10955 * gdb.trace/ftrace.exp: Likewise.
10956 * gdb.trace/range-stepping.exp: Likewise.
10957 * gdb.trace/trace-break.exp: Likewise.
10958 * gdb.trace/trace-condition.exp: Likewise.
10959 * gdb.trace/trace-mt.exp: Likewise.
10960
10961 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10962
10963 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10964 (gdb_load_shlib): ... this.
10965 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10966 gdb_load_shlib.
10967 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10968 * gdb.base/ctxobj.exp: Likewise.
10969 * gdb.base/dprintf-pending.exp: Likewise.
10970 * gdb.base/dso2dso.exp: Likewise.
10971 * gdb.base/fixsection.exp: Likewise.
10972 * gdb.base/gcore-relro.exp: Likewise.
10973 * gdb.base/gdb1555.exp: Likewise.
10974 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10975 * gdb.base/gnu-ifunc.exp: Likewise.
10976 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10977 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10978 * gdb.base/pending.exp: Likewise.
10979 * gdb.base/print-file-var.exp: Likewise.
10980 * gdb.base/print-symbol-loading.exp: Likewise.
10981 * gdb.base/shlib-call.exp: Likewise.
10982 * gdb.base/shreloc.exp: Likewise.
10983 * gdb.base/so-impl-ld.exp: Likewise.
10984 * gdb.base/solib-disc.exp: Likewise.
10985 * gdb.base/solib-nodir.exp: Likewise.
10986 * gdb.base/solib-overlap.exp: Likewise.
10987 * gdb.base/solib-symbol.exp: Likewise.
10988 * gdb.base/solib-weak.exp (do_test): Likewise.
10989 * gdb.base/sym-file.exp: Likewise.
10990 * gdb.base/symtab-search-order.exp: Likewise.
10991 * gdb.base/type-opaque.exp: Likewise.
10992 * gdb.base/unload.exp: Likewise.
10993 * gdb.base/watchpoint-solib.exp: Likewise.
10994 * gdb.compile/compile.exp: Likewise.
10995 * gdb.cp/gdb2384.exp: Likewise.
10996 * gdb.cp/infcall-dlopen.exp: Likewise.
10997 * gdb.cp/re-set-overloaded.exp: Likewise.
10998 * gdb.fortran/library-module.exp: Likewise.
10999 * gdb.opt/solib-intra-step.exp: Likewise.
11000 * gdb.python/py-finish-breakpoint.exp: Likewise.
11001 * gdb.python/py-shared.exp: Likewise.
11002 * gdb.reverse/solib-precsave.exp: Likewise.
11003 * gdb.reverse/solib-reverse.exp: Likewise.
11004 * gdb.server/solib-list.exp: Likewise.
11005 * gdb.threads/dlopen-libpthread.exp: Likewise.
11006 * gdb.threads/tls-shared.exp: Likewise.
11007 * gdb.threads/tls-so_extern.exp: Likewise.
11008 * gdb.trace/change-loc.exp: Likewise.
11009 * gdb.trace/ftrace-lock.exp: Likewise.
11010 * gdb.trace/ftrace.exp: Likewise.
11011 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11012 * gdb.trace/pending.exp: Likewise.
11013 * gdb.trace/range-stepping.exp: Likewise.
11014 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11015 (strace_info_marker): Likewise.
11016 (strace_probe_marker): Likewise.
11017 (strace_trace_on_same_addr): Likewise.
11018 (strace_trace_on_diff_addr): Likewise.
11019 * gdb.trace/trace-break.exp: Likewise.
11020 * gdb.trace/trace-condition.exp: Likewise.
11021 * gdb.trace/trace-mt.exp: Likewise.
11022
11023 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11024
11025 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11026 result of gdb_remote_download.
11027 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11028 * gdb.base/dso2dso.exp: Likewise.
11029 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11030 * gdb.base/print-file-var.exp: Likewise.
11031 * gdb.base/shlib-call.exp: Likewise.
11032 * gdb.base/shreloc.exp: Likewise.
11033 * gdb.base/solib-overlap.exp: Likewise.
11034 * gdb.base/solib-weak.exp (do_test): Likewise.
11035 * gdb.base/unload.exp: Likewise.
11036
11037 2016-04-27 Yao Qi <yao.qi@linaro.org>
11038
11039 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11040 exists.
11041
11042 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11043
11044 * vla-type.exp: Print structure from toplevel.
11045
11046 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11047
11048 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11049 of dynamic types.
11050 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11051 of dynamic types.
11052
11053 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11054
11055 * gdb.fortran/vla-type.f90: New file.
11056 * gdb.fortran/vla-type.exp: New file.
11057
11058 2016-04-25 Yao Qi <yao.qi@linaro.org>
11059
11060 * gdb.base/branch-to-self.c: New file.
11061 * gdb.base/branch-to-self.exp: New file.
11062
11063 2016-04-22 Yao Qi <yao.qi@linaro.org>
11064
11065 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11066 more after $hex.
11067
11068 2016-04-22 Yao Qi <yao.qi@linaro.org>
11069
11070 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11071 * gdb.base/annota3.exp: Likewise.
11072
11073 2016-04-22 Yao Qi <yao.qi@linaro.org>
11074
11075 * gdb.reverse/step-precsave.exp: Do one step and test program
11076 stops in "callee" and do multiple steps until program goes out
11077 of "callee".
11078 * gdb.reverse/step-reverse.exp: Likewise.
11079
11080 2016-04-22 Yao Qi <yao.qi@linaro.org>
11081
11082 * gdb.trace/signal.exp: Also pass if
11083 $tracepoint_hits($i) > $iterations.
11084
11085 2016-04-22 Yao Qi <yao.qi@linaro.org>
11086
11087 * gdb.trace/signal.c: New file.
11088 * gdb.trace/signal.exp: New file.
11089
11090 2016-04-19 Doug Evans <xdje42@gmail.com>
11091
11092 * gdb.base/bad-file.exp: New file.
11093
11094 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11095
11096 * gdb.dwarf2/implref.exp: New file.
11097
11098 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11099
11100 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11101 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11102 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11103 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11104 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11105 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11106 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11107 * lib/fortran.exp (fortran_int4): New procedure.
11108 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11109 (fortran_logical4): Likewise.
11110
11111 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11112
11113 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11114
11115 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11116
11117 * lib/compiler.c: Add Intel specific preprocessor macros.
11118 * lib/compiler.cc: Likewise.
11119
11120 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11121
11122 * gdb.server/connect-with-no-symbol-file.c: New file.
11123 * gdb.server/connect-with-no-symbol-file.exp: New file.
11124
11125 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11126
11127 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11128
11129 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11130
11131 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11132 standard output directory.
11133
11134 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11135
11136 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11137
11138 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11139
11140 * gdb.btrace/instruction_history.c (loop): Add declaration.
11141
11142 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11143
11144 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11145
11146 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11147
11148 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11149 parentheses to print.
11150 (continue_handler): Likewise.
11151
11152 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11153
11154 * gdb.server/solib-list.exp: Remove is_remote check.
11155 Pass shlib= to gdb_compile. Don't link shared library with
11156 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11157 Run binary filename through "readlink -f" on the target.
11158
11159 2016-04-08 Pedro Alves <palves@redhat.com>
11160
11161 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11162 interpreter filename as argument to gdbserver_spawn.
11163 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11164 Return empty if $last_loaded_file does not exist.
11165
11166 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11167
11168 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11169 * gdb.base/jit-main.c: Use exit after usage.
11170
11171 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11172
11173 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11174 GDBHISTSIZE prior to the tests.
11175 * gdb.base/gdbinit-history.exp: Likewise.
11176
11177 2016-04-07 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11180 instead of build_executable. Use gdb_load_shlibs.
11181
11182 2016-04-07 Yao Qi <yao.qi@linaro.org>
11183
11184 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11185 Execute "si" command.
11186
11187 2016-04-07 Yao Qi <yao.qi@linaro.org>
11188
11189 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11190 number instead of the comments on some line.
11191
11192 2016-04-06 Don Breazeal <donb@codesourcery.com>
11193
11194 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11195 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11196
11197 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11198
11199 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11200 standard_output_file. Remove unused binfile variable.
11201
11202 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11203
11204 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11205 * gdb.python/py-mi-objfile.exp: Match "list main" output
11206 in console format.
11207
11208 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11209
11210 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11211 absolute.
11212
11213 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11214
11215 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11216 absolute.
11217 * gdb.trace/ftrace.exp: Likewise.
11218 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11219 targets as well.
11220 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11221 (gdb_load_shlibs): Copy libraries to test directory when testing
11222 natively. Only set solib-search-path if testing remotely.
11223 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11224
11225 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11226
11227 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11228 gdb_download. Use it even if the target is not remote.
11229 * gdb.base/jit.exp (compile_jit_test): Likewise.
11230 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11231 output directory if the destination board is local, otherwise use
11232 the standard remote_download from DejaGnu.
11233 (gdb_download): Remove.
11234 (gdb_load_shlibs): Use gdb_remote_download instead of
11235 gdb_download.
11236 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11237 Use gdb_remote_download instead of gdb_download. Use it even if
11238 the target is not remote.
11239 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11240 instead of gdb_download.
11241
11242 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11243
11244 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11245 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11246 run.
11247
11248 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11249
11250 PR gdb/19820
11251 * gdb.base/printcmds.exp: Add artificial arrays tests.
11252
11253 2016-03-31 Pedro Alves <palves@redhat.com>
11254
11255 PR gdb/19858
11256 * gdb.base/jit-main.c: Include unistd.h.
11257 (ATTACH): Define to 0 if not already defined.
11258 (wait_for_gdb, mypid): New globals.
11259 (WAIT_FOR_GDB): New macro.
11260 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11261 some breakpoint locations.
11262 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11263 New procedures.
11264 (one_jit_test): Add REATTACH parameter, and handle it. Use
11265 continue_to_test_location.
11266 (top level): Test attach, and adjusts calls to one_jit_test.
11267
11268 2016-03-31 Pedro Alves <palves@redhat.com>
11269
11270 PR gdb/19858
11271 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11272 BINSUFFIX parameter, and handle it.
11273 (top level): Adjust calls compile_jit_test.
11274
11275 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11276
11277 PR python/19743
11278 * gdb.python/py-mi-events-gdb.py: New file.
11279 * gdb.python/py-mi-events.c: New file.
11280 * gdb.python/py-mi-events.exp: New file.
11281
11282 2016-03-30 Yao Qi <yao.qi@linaro.org>
11283
11284 * gdb.reverse/until-precsave.exp: Match function name only.
11285 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11286 Move malloc to a condition block.
11287 * gdb.reverse/until-reverse.exp: Match function name only.
11288
11289 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11290
11291 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11292 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11293 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11294 variable for GPR 0 instead of assuming it is register 0.
11295 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11296 * lib/trace-support.exp: Add s390 registers.
11297
11298 2016-03-29 Yao Qi <yao.qi@linaro.org>
11299
11300 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11301
11302 2016-03-24 Yao Qi <yao.qi@linaro.org>
11303
11304 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11305 test message.
11306
11307 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11308
11309 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11310 maintaining separate logic for constructing the output path.
11311
11312 2016-03-16 Don Breazeal <donb@codesourcery.com>
11313
11314 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11315 Retry fork and waitpid on interrupted system call errors.
11316 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11317 Use with_timeout_factor to increase timeout by factor of 10.
11318
11319 2016-03-15 Don Breazeal <donb@codesourcery.com>
11320
11321 * gdb.cp/scope-err.cc: New test program.
11322 * gdb.cp/scope-err.exp: New test script.
11323 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11324 lines and "set breakpoint here" comment.
11325 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11326 Fixed some whitespace and format issues.
11327 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11328 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11329
11330 2016-03-15 Doug Evans <dje@google.com>
11331
11332 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11333 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11334 All callers updated. Add tests for enums, mixed flags register.
11335
11336 2016-03-15 Doug Evans <dje@google.com>
11337
11338 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11339 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11340
11341 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11342
11343 * gdb.base/default.exp: Add $_as_string to the list of expected
11344 convenience functions.
11345
11346 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11347
11348 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11349
11350 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11351
11352 * gdb.python/py-as-string.exp: New file.
11353 * gdb.python/py-as-string.c: New file.
11354
11355 2016-03-09 Pedro Alves <palves@redhat.com>
11356
11357 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11358 signal" -> "Thread NN received signal" output change.
11359 * gdb.threads/ia64-sigill.exp: Likewise.
11360 * gdb.threads/linux-dp.exp: Likewise.
11361 * gdb.threads/manythreads.exp: Likewise.
11362 * gdb.threads/pending-step.exp: Likewise.
11363 * gdb.threads/print-threads.exp: Likewise.
11364 * gdb.threads/sigstep-threads.exp: Likewise.
11365 * gdb.threads/staticthreads.exp: Likewise.
11366 * gdb.threads/tls.exp: Likewise.
11367
11368 2016-03-09 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.base/command-line-input.exp: New file.
11371
11372 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11373
11374 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11375 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11376 * gdb.trace/pending.exp: Accept leading dot before function name.
11377 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11378 * lib/trace-support.exp: Set registers for ppc.
11379
11380 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11381
11382 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11383 use it for disassembly; accept .main in addition to main in backtrace.
11384
11385 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11386 Marcin Kościelnicki <koriakin@0x04.net>
11387
11388 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11389 (gdb_recursion_test_ptr): New global variable.
11390 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11391 gdb_recursion_test.
11392 (gdb_c_test): Ditto.
11393
11394 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11395
11396 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11397 ordering.
11398
11399 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11400
11401 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11402 (bar): Add bar_start_lbl label.
11403 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11404 of foo/bar for emitting DWARF and tracing.
11405
11406 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11407
11408 * analyze-racy-logs.py: Set executable bit.
11409
11410 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11411
11412 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11413 (CHECK_TARGET_TMP): Likewise.
11414 (check-single-racy): New rule.
11415 (check-parallel-racy): Likewise.
11416 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11417 (do-check-parallel-racy): New rule.
11418 (check-racy/%.exp): Likewise.
11419 * README (Racy testcases): New section.
11420 * analyze-racy-logs.py: New file.
11421
11422 2016-03-03 Doug Evans <dje@google.com>
11423
11424 * gdb.base/skip.exp: Use with_test_prefix.
11425
11426 2016-03-03 Yao Qi <yao.qi@linaro.org>
11427
11428 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11429 Invoke step_over_syscall "clone" and break_cond_on_syscall
11430 "clone".
11431 * gdb.base/step-over-clone.c: New file.
11432
11433 2016-03-03 Yao Qi <yao.qi@linaro.org>
11434
11435 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11436 code format.
11437
11438 2016-03-03 Yao Qi <yao.qi@linaro.org>
11439
11440 * gdb.base/disp-step-fork.c: Rename to ...
11441 * gdb.base/step-over-fork.c: ... it. New file.
11442 * gdb.base/disp-step-vfork.c: Rename to ...
11443 * gdb.base/step-over-vfork.c: ... it. New file.
11444 * gdb.base/disp-step-syscall.exp: Rename to ...
11445 * gdb.base/step-over-syscall.exp: ... it. New file.
11446 (disp_step_cross_syscall): Rename to ...
11447 (step_over_syscall): ... it.
11448
11449 2016-03-03 Yao Qi <yao.qi@linaro.org>
11450
11451 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11452 If target supports condition evaluation on target, invoke
11453 break_cond_on_syscall for fork and vfork.
11454
11455 2016-03-03 Yao Qi <yao.qi@linaro.org>
11456
11457 * gdb.base/disp-step-syscall.exp: Don't invoke
11458 support_displaced_stepping.
11459 (disp_step_cross_syscall): Test with displaced stepping off and
11460 on if supported.
11461
11462 2016-03-03 Yao Qi <yao.qi@linaro.org>
11463
11464 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11465 proc.
11466 (setup): New proc.
11467 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11468 and setup.
11469
11470 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11471
11472 * gdb.fortran/vla-history.exp: Remove breakpoint.
11473
11474 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11475
11476 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11477 exceeds timeout.
11478
11479 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11480
11481 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11482 breakpoint.
11483
11484 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11485
11486 * gdb.mi/vla.f90: Nullify pointer after declaration.
11487
11488 2016-03-01 Pedro Alves <palves@redhat.com>
11489
11490 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11491
11492 2016-03-01 Pedro Alves <palves@redhat.com>
11493
11494 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11495 before anything else.
11496 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11497 _GNU_SOURCE here.
11498 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11499 before anything else.
11500 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11501
11502 2016-03-01 Pedro Alves <palves@redhat.com>
11503
11504 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11505
11506 2016-03-01 Yao Qi <yao.qi@linaro.org>
11507
11508 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11509 prepare_for_testing.
11510
11511 2016-03-01 Yao Qi <yao.qi@linaro.org>
11512
11513 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11514
11515 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11516
11517 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11518 manually constructing the output path.
11519
11520 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11521
11522 * gdb.arch/s390-stackless.S: New.
11523 * gdb.arch/s390-stackless.exp: New.
11524
11525 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11526
11527 * gdb.dlang/circular.c: New file.
11528 * gdb.dlang/circular.exp: New file.
11529
11530 2016-02-26 Yao Qi <yao.qi@linaro.org>
11531
11532 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11533 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11534 (testcases): Update.
11535
11536 2016-02-26 Yao Qi <yao.qi@linaro.org>
11537
11538 * gdb.reverse/aarch64.c: Rename to ...
11539 * gdb.reverse/insn-reverse.c: ... it.
11540 * gdb.reverse/aarch64.exp: Rename to ...
11541 * gdb.reverse/insn-reverse.exp: ... it.
11542
11543 2016-02-26 Yao Qi <yao.qi@linaro.org>
11544
11545 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11546 (testcase_ftype): New.
11547 (testcases): New array.
11548 (n_testcases): New.
11549 (main): Call each element in testcases.
11550 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11551 (read_testcase): New.
11552 Do the tests in a loop.
11553
11554 2016-02-25 Yao Qi <yao.qi@linaro.org>
11555
11556 * gdb.base/branches.c: Remove.
11557
11558 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11559
11560 PR gdb/13808
11561 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11562
11563 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11564
11565 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11566
11567 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11568
11569 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11570 change x86_64 call_insn to 'callq'.
11571
11572 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11573
11574 * gdb.trace/tfile-avx.c: Move to...
11575 * gdb.trace/tracefile-pseudo-reg.c: Here.
11576 * gdb.trace/tfile-avx.exp: Move to...
11577 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11578
11579 2016-02-24 Gary Benson <gbenson@redhat.com>
11580
11581 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11582 message on attach.
11583
11584 2016-02-23 Doug Evans <dje@google.com>
11585
11586 * gdb.base/skip.c (test_skip): New function.
11587 (end_test_skip_file_and_function): New function.
11588 (test_skip_file_and_function): New function.
11589 * gdb.base/skip1.c (test_skip): New function.
11590 (skip1_test_skip_file_and_function): New function.
11591 * gdb.base/skip.exp: Add tests for new skip options.
11592 * gdb.base/skip-solib.exp: Update expected output.
11593 * gdb.perf/skip-command.cc: New file.
11594 * gdb.perf/skip-command.exp: New file.
11595 * gdb.perf/skip-command.py: New file.
11596
11597 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11598
11599 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11600 info registers pattern.
11601
11602 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11603
11604 * lib/future.exp: Add D support.
11605 (gdb_find_gdc): New proc.
11606 (gdb_default_target_compile): Add D support.
11607
11608 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11609
11610 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11611 user+system time.
11612 (trace_speed_test): Determine the iteration count for a time
11613 between 15..30 seconds.
11614
11615 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11616
11617 * gdb.arch/i386-mpx-sigsegv.c: New file.
11618 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11619 * gdb.arch/i386-mpx-simple_segv.c: New file.
11620 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11621
11622 2016-02-18 Yao Qi <yao.qi@linaro.org>
11623
11624 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11625 Don't call setup_kfail.
11626
11627 2016-02-18 Yao Qi <yao.qi@linaro.org>
11628
11629 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11630 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11631
11632 2016-02-16 Doug Evans <dje@google.com>
11633
11634 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11635 * gdb.base/skip1.c: Ditto.
11636 * gdb.base/skip.exp: Whitespace cleanup.
11637
11638 2016-02-16 Don Breazeal <donb@codesourcery.com>
11639
11640 PR remote/19496
11641 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11642 Remove kfail for PR remote/19496.
11643
11644 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11645
11646 * lib/gdb.exp (standard_temp_file): Return a path specific to
11647 the runtest invocation.
11648
11649 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11650
11651 * gdb.trace/save-trace.exp: Change relative path to be in the
11652 standard output directory.
11653
11654 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.arch/i386-prologue.c: Add missing prototypes.
11657
11658 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11659
11660 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11661 * gdb.arch/i386-prologue.exp: Likewise.
11662 * gdb.arch/i386-size.exp: Likewise.
11663
11664 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11665
11666 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11667 define object file path.
11668 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11669 file path.
11670 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11671 standard_output_file to define binfile.
11672
11673 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 Fix compatibility with recent gfortran-5.3.1.
11676 * gdb.fortran/vla-history.exp (print vla1 allocated)
11677 (print vla2 allocated, print $2, print $3): Remove
11678 (print $4): Rename to ...
11679 (print $2): ... here.
11680 (print $9): Rename to ...
11681 (print $5): ... here.
11682 (print $10): Rename to ...
11683 (print $6): ... here.
11684 * gdb.fortran/vla.f90: Add pvla initialization.
11685
11686 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11687
11688 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11689 New test.
11690 * gdb.fortran/vla-value-sub.exp: Likewise.
11691
11692 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11693
11694 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11695
11696 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11697
11698 * i386-biarch-core.exp: Define corefile using
11699 standard_output_file.
11700
11701 2016-02-12 Yao Qi <yao.qi@linaro.org>
11702
11703 * gdb.arch/arm-single-step-kernel-helper.c: New.
11704 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11705
11706 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11707
11708 * gdb.btrace/tailcall-only.exp: New.
11709 * gdb.btrace/tailcall-only.c: New.
11710 * gdb.btrace/x86_64-tailcall-only.S: New.
11711 * gdb.btrace/i686-tailcall-only.S: New.
11712
11713 2016-02-11 Pedro Alves <palves@redhat.com>
11714
11715 * README (Parallel testing): Add missing double quotes.
11716
11717 2016-02-11 Pedro Alves <palves@redhat.com>
11718
11719 * README (Parallel testing): New section.
11720 (GDB_PARALLEL): Rewrite.
11721 (FORCE_PARALLEL): Document.
11722
11723 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11724
11725 * gdb.trace/tfile-avx.c: New test.
11726 * gdb.trace/tfile-avx.exp: New test.
11727
11728 2016-02-09 Keith Seitz <keiths@redhat.com>
11729
11730 PR breakpoints/19546
11731 * gdb.base/infcall-exec.c: New file.
11732 * gdb.base/infcall-exec2.c: New file.
11733 * gdb.base/infcall-exec.exp: New file.
11734
11735 2016-02-09 Keith Seitz <keiths@redhat.com>
11736
11737 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11738 (toplevel): Call test_bkpt_address.
11739
11740 2016-02-09 Keith Seitz <keiths@redhat.com>
11741
11742 PR python/19506
11743 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11744 (toplevel): Call test_bkpt_address.
11745
11746 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11747
11748 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11749 to AC_OUTPUT.
11750 * configure: Regenerate.
11751
11752 2016-02-09 Pedro Alves <palves@redhat.com>
11753
11754 PR breakpoints/19548
11755 * gdb.base/execl-update-breakpoints.c (some_function): New
11756 function.
11757 (main): Call it.
11758 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11759 Tighten expected GDB output.
11760
11761 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11762
11763 * Makefile.in (ALL_SUBDIRS): Remove.
11764 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11765 (distclean maintainer-clean realclean): Likewise.
11766 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11767 * configure: Regenerate.
11768 * gdb.ada/Makefile.in: Delete.
11769 * gdb.arch/Makefile.in: Likewise.
11770 * gdb.asm/Makefile.in: Likewise.
11771 * gdb.base/Makefile.in: Likewise.
11772 * gdb.btrace/Makefile.in: Likewise.
11773 * gdb.cell/Makefile.in: Likewise.
11774 * gdb.compile/Makefile.in: Likewise.
11775 * gdb.cp/Makefile.in: Likewise.
11776 * gdb.disasm/Makefile.in: Likewise.
11777 * gdb.dlang/Makefile.in: Likewise.
11778 * gdb.dwarf2/Makefile.in: Likewise.
11779 * gdb.fortran/Makefile.in: Likewise.
11780 * gdb.gdb/Makefile.in: Likewise.
11781 * gdb.go/Makefile.in: Likewise.
11782 * gdb.guile/Makefile.in: Likewise.
11783 * gdb.java/Makefile.in: Likewise.
11784 * gdb.linespec/Makefile.in: Likewise.
11785 * gdb.mi/Makefile.in: Likewise.
11786 * gdb.modula2/Makefile.in: Likewise.
11787 * gdb.multi/Makefile.in: Likewise.
11788 * gdb.objc/Makefile.in: Likewise.
11789 * gdb.opencl/Makefile.in: Likewise.
11790 * gdb.opt/Makefile.in: Likewise.
11791 * gdb.pascal/Makefile.in: Likewise.
11792 * gdb.perf/Makefile.in: Likewise.
11793 * gdb.python/Makefile.in: Likewise.
11794 * gdb.reverse/Makefile.in: Likewise.
11795 * gdb.server/Makefile.in: Likewise.
11796 * gdb.stabs/Makefile.in: Likewise.
11797 * gdb.threads/Makefile.in: Likewise.
11798 * gdb.trace/Makefile.in: Likewise.
11799 * gdb.xml/Makefile.in: Likewise.
11800 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11801 GDB_PARALLEL.
11802 (standard_output_file): Remove check for GDB_PARALLEL, always
11803 return path in outputs/$subdir/$testname.
11804
11805 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11806
11807 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11808 (site.exp): Assign abs_srcdir to tcl's srcdir.
11809
11810 2016-02-04 Yao Qi <yao.qi@linaro.org>
11811
11812 * gdb.base/foll-exec-mode.c: Include limits.h.
11813 (main): Add parameters argc and argv. Get directory from
11814 argv[0].
11815 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11816 compilation.
11817 * gdb.base/foll-exec.c: Include limits.h.
11818 (main): Add parameters argc and argv.
11819 Get directory from argv[0].
11820 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11821 Adjust tests on the number of lines as source code changed.
11822 * gdb.base/foll-vfork-exit.c: Include limits.h.
11823 (main): Add one line of statement before vfork.
11824 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11825 (main): Add parameters argc and argv. Get directory from
11826 argv[0].
11827 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11828 (setup_gdb): Set tbreak to skip some source lines.
11829 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11830 (main): Add parameters argc and argv. Get directory from
11831 argv[0].
11832 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11833 compilation.
11834 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11835 (main): Add parameters argc and argv. Get directory from
11836 argv[0].
11837 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11838 compilation.
11839
11840 2016-02-01 Doug Evans <dje@google.com>
11841
11842 * gdb.base/skip.exp: Clean up multiple references to same test name.
11843
11844 2016-02-01 Pedro Alves <palves@redhat.com>
11845
11846 PR remote/19496
11847 * gdb.threads/forking-threads-plus-breakpoint.exp
11848 (displaced_stepping_supported): New global.
11849 (probe_displaced_stepping_support): New procedure.
11850 (do_test): Add 'displaced' parameter, and use it.
11851 (top level): Check for displaced stepping support. Add displaced
11852 stepping on/off testing axis.
11853
11854 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11855
11856 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11857 pointer. Don't perform further tests on the unassociated pointer
11858 if the first test fails.
11859
11860 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11861
11862 * gdb.base/max-value-size.c: New file.
11863 * gdb.base/max-value-size.exp: New file.
11864 * gdb.base/huge.exp: Disable max-value-size for this test.
11865
11866 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11867
11868 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11869
11870 2016-01-28 Yao Qi <yao.qi@linaro.org>
11871
11872 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11873
11874 2016-01-25 Pedro Alves <palves@redhat.com>
11875
11876 PR threads/19461
11877 * gdb.base/fork-running-state.c: New file.
11878 * gdb.base/fork-running-state.exp: New file.
11879
11880 2016-01-25 Pedro Alves <palves@redhat.com>
11881
11882 PR gdb/19494
11883 * gdb.base/catch-fork-kill.c: New file.
11884 * gdb.base/catch-fork-kill.exp: New file.
11885
11886 2016-01-25 Pedro Alves <palves@redhat.com>
11887
11888 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11889 Delete, moved to lib/gdb.exp.
11890 * gdb.threads/forking-threads-plus-breakpoint.exp
11891 (foreach_with_prefix): Likewise.
11892 * gdb.threads/process-dies-while-handling-bp.exp
11893 (foreach_with_prefix): Likewise.
11894 * lib/gdb.exp (foreach_with_prefix): New procedure.
11895
11896 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11897
11898 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11899 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11900
11901 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11902
11903 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11904 endian targets.
11905
11906 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11907 Pedro Alves <palves@redhat.com>
11908
11909 Fix testsuite compatibility with Guile.
11910 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11911 number.
11912
11913 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11914
11915 Fix testsuite compatibility with Guile.
11916 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11917 (thread 1): New test for backtrace through signal handler.
11918
11919 2016-01-22 Yao Qi <yao.qi@linaro.org>
11920
11921 PR testsuite/19491
11922 * gdb.base/multi-forks.c: Include
11923 ../lib/unbuffer_output.c
11924 (main): Call gdb_unbuffer_output.
11925
11926 2016-01-21 Doug Evans <dje@google.com>
11927
11928 * lib/ada.exp (gdb_compile_ada): Fix typo.
11929
11930 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11931
11932 * gdb.base/break-fun-addr.exp: New file.
11933 * gdb.base/break-fun-addr1.c: New file.
11934 * gdb.base/break-fun-addr2.c: New file.
11935
11936 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11937
11938 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11939 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11940 enum flag values.
11941
11942 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11943
11944 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11945 when GDB can not set the vector return value. Add more comments
11946 for clarification.
11947
11948 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11949
11950 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11951 command.
11952
11953 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11954
11955 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11956
11957 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11958
11959 * Makefile.in (check-single): Pass --status to runtest.
11960 (check/%.exp): Likewise.
11961
11962 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11963
11964 * Makefile.in (check-parallel): Propagate return code from make
11965 do-check-parallel.
11966
11967 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11968
11969 * gdb.trace/ftrace.exp: Fix expected message on continue.
11970 * gdb.trace/pending.exp: Fix expected message on continue.
11971 * gdb.trace/trace-break.exp: Fix expected message on continue.
11972
11973 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11974
11975 * lib/gdb.exp (gdb_test): Remove unused global references.
11976
11977 2016-01-18 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.base/async-shell.exp: Adjust expected output.
11980 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11981 * gdb.base/siginfo-thread.exp: Adjust expected output.
11982 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11983 * gdb.java/jnpe.exp: Adjust expected output.
11984 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11985 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11986 * gdb.threads/leader-exit.exp: Adjust expected output.
11987 * gdb.threads/manythreads.exp: Adjust expected output.
11988 * gdb.threads/pthreads.exp: Adjust expected output.
11989 * gdb.threads/schedlock.exp: Adjust expected output.
11990 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11991 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11992 expected output.
11993 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11994 output.
11995 * gdb.threads/sigthread.exp: Adjust expected output.
11996 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11997
11998 2016-01-18 Yao Qi <yao.qi@linaro.org>
11999
12000 * gdb.guile/scm-section-script.c: Replace @progbits with
12001 %progbits.
12002 * gdb.python/py-section-script.c: Likewise.
12003
12004 2016-01-15 Pedro Alves <palves@redhat.com>
12005
12006 * gdb.multi/tids.exp: Test star wildcard ranges.
12007
12008 2016-01-15 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12011 command from "thread apply" invocation.
12012 (thr_apply_info_thr_invalid): Default the expected output to the
12013 input tid list.
12014 (top level): Add tests that use convenience variables. Add tests
12015 for "thread apply" with a valid TID list, but missing the command.
12016
12017 2016-01-13 Pedro Alves <palves@redhat.com>
12018
12019 * gdb.base/default.exp: Expect $_gthread as well.
12020 * gdb.multi/tids.exp: Test $_gthread.
12021 * gdb.threads/thread-specific.exp: Test $_gthread.
12022
12023 2016-01-13 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.multi/tids.exp: Test "info threads -gid".
12026
12027 2016-01-13 Pedro Alves <palves@redhat.com>
12028
12029 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12030 Breakpoint.thread.
12031 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12032
12033 2016-01-07 Pedro Alves <palves@redhat.com>
12034
12035 * gdb.base/break.exp: Adjust to output changes.
12036 * gdb.base/hbreak2.exp: Likewise.
12037 * gdb.base/sepdebug.exp: Likewise.
12038 * gdb.base/watch_thread_num.exp: Likewise.
12039 * gdb.linespec/keywords.exp: Likewise.
12040 * gdb.multi/info-threads.exp: Likewise.
12041 * gdb.threads/thread-find.exp: Likewise.
12042 * gdb.multi/tids.c: New file.
12043 * gdb.multi/tids.exp: New file.
12044
12045 2016-01-13 Pedro Alves <palves@redhat.com>
12046
12047 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12048
12049 2016-01-13 Pedro Alves <palves@redhat.com>
12050
12051 * gdb.base/default.exp: Expect $_inferior as well.
12052 * gdb.multi/base.exp: Test $_inferior.
12053
12054 2016-01-13 Pedro Alves <palves@redhat.com>
12055
12056 PR breakpoints/19388
12057 * gdb.base/catch-signal-siginfo-cond.c: New file.
12058 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12059
12060 2016-01-12 Josh Stone <jistone@redhat.com>
12061 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12062
12063 * gdb.base/catch-syscall.c (do_execve): New variable.
12064 (main): Conditionally trigger an execve.
12065 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12066 (test_catch_syscall_execve): New, check entry/return across execve.
12067 (do_syscall_tests): Call test_catch_syscall_execve.
12068
12069 2016-01-12 Pedro Alves <palves@redhat.com>
12070
12071 * gdb.base/random-signal.exp (do_test): New procedure, with body
12072 of testcase moved in.
12073
12074 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12075 Pedro Alves <palves@redhat.com>
12076
12077 * gdb.base/funcargs.exp (finish from indirectly called function):
12078 Reintroduce the case for 'First'.
12079
12080 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12081 Pedro Alves <palves@redhat.com>
12082
12083 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12084 (tcatch_vfork_then_child_follow_exec)
12085 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12086 identification.
12087
12088 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12089
12090 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12091 and repeats to unlimited.
12092 * gdb.python/py-value.exp: Likewise.
12093 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12094 and repeats to unlimited.
12095
12096 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12097
12098 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12099 and reordering the functions.
12100 * gdb.multi/hangout.c: Likewise.
12101 * gdb.multi/hello.c: Likewise.
12102
12103 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12104
12105 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12106 absolute.
12107 (SingleStatisticTestResult.report): Use dict.keys instead of
12108 dict.iterkeys.
12109
12110 2016-01-06 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12113
12114 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12115
12116 * gdb.btrace/dlopen.exp: New.
12117 * gdb.btrace/dlopen.c: New.
12118 * gdb.btrace/dlopen-dso.c: New.
12119
12120 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12121
12122 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12123 PATTERN argument is optional.
12124
12125 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12126
12127 * lib/ada.exp (target_compile_ada_from_dir): New function.
12128 (gdb_compile_ada): Reimplement avoiding the use of project files.
12129 * gdb.ada/gnat_ada.gpr: Delete.
12130 * gdb.ada/cond_lang.exp: Adjust test to make path before
12131 filename optional.
12132 * gdb.ada/small_reg_param.exp: Likewise.
12133
12134 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12135
12136 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12137
12138 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12139
12140 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12141 case.
12142
12143 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12144
12145 * gdb.base/break.exp: Remove dead code.
12146 * gdb.base/sepdebug.exp: Likewise.
12147
12148 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12149
12150 * gdb.asm/asm-source.exp: Remove HP-UX references.
12151 * gdb.base/annota1.exp: Likewise.
12152 * gdb.base/annota3.exp: Likewise.
12153 * gdb.base/attach.exp: Likewise.
12154 * gdb.base/bigcore.exp: Likewise.
12155 * gdb.base/break.exp: Likewise.
12156 * gdb.base/call-ar-st.exp: Likewise.
12157 * gdb.base/callfuncs.exp: Likewise.
12158 * gdb.base/catch-fork-static.exp: Likewise.
12159 * gdb.base/display.exp: Likewise.
12160 * gdb.base/foll-exec-mode.exp: Likewise.
12161 * gdb.base/foll-exec.exp: Likewise.
12162 * gdb.base/foll-fork.exp: Likewise.
12163 * gdb.base/foll-vfork.exp: Likewise.
12164 * gdb.base/funcargs.exp: Likewise.
12165 * gdb.base/hbreak2.exp: Likewise.
12166 * gdb.base/inferior-died.exp: Likewise.
12167 * gdb.base/interrupt.exp: Likewise.
12168 * gdb.base/multi-forks.exp: Likewise.
12169 * gdb.base/nodebug.exp: Likewise.
12170 * gdb.base/sepdebug.exp: Likewise.
12171 * gdb.base/solib1.c: Likewise.
12172 * gdb.base/step-test.exp: Likewise.
12173 * gdb.mi/non-stop.c: Likewise.
12174 * gdb.mi/pthreads.c: Likewise.
12175 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12176 * gdb.threads/pthreads.c: Likewise.
12177 * gdb.threads/staticthreads.exp: Likewise.
12178 * lib/future.exp: Likewise.
12179 * lib/gdb.exp: Likewise.
12180 * gdb.base/so-indr-cl.c: Remove.
12181 * gdb.base/so-indr-cl.exp: Likewise.
12182 * gdb.base/solib.c: Likewise.
12183 * gdb.base/solib.exp: Likewise.
12184 * gdb.base/solib2.c: Likewise.
12185
12186 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12187
12188 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12189 * gdb.base/call-ar-st.exp: Likewise.
12190 * gdb.base/callfuncs.exp: Likewise.
12191 * gdb.base/condbreak.exp: Likewise.
12192 * gdb.base/constvars.exp: Likewise.
12193 * gdb.base/hbreak2.exp: Likewise.
12194 * gdb.base/langs.exp: Likewise.
12195 * gdb.base/list.exp: Likewise.
12196 * gdb.base/long_long.exp: Likewise.
12197 * gdb.base/ptype.exp: Likewise.
12198 * gdb.base/scope.exp: Likewise.
12199 * gdb.base/signals.exp: Likewise.
12200 * gdb.base/so-impl-ld.exp: Likewise.
12201 * gdb.base/varargs.exp: Likewise.
12202 * gdb.base/volatile.exp: Likewise.
12203 * gdb.base/whatis.exp: Likewise.
12204 * gdb.cp/cplusfuncs.exp: Likewise.
12205 * gdb.cp/inherit.exp: Likewise.
12206 * gdb.cp/local.exp: Likewise.
12207 * gdb.cp/member-ptr.exp: Likewise.
12208 * gdb.cp/method.exp: Likewise.
12209 * gdb.cp/overload.exp: Likewise.
12210 * gdb.cp/templates.exp: Likewise.
12211 * gdb.stabs/weird.exp: Likewise.
12212 * lib/compiler.c: Likewise.
12213 * lib/compiler.cc: Likewise.
12214 * lib/cp-support.exp: Likewise.
12215 * lib/gdb.exp: Likewise.
12216
12217 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12218
12219 * configure.ac: Remove HP-UX case.
12220 * configure: Regenerate.
12221
12222 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12223
12224 * lib/gdb.exp (gdb_compile): Add function doc.
12225
12226 2015-12-17 Pedro Alves <palves@redhat.com>
12227
12228 PR threads/19354
12229 * gdb.multi/info-threads.exp: New file.
12230
12231 2015-12-15 Yao Qi <yao.qi@linaro.org>
12232
12233 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12234 is aarch64*-*-*.
12235
12236 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12237
12238 * gdb.base/history-duplicates.exp: Skip if no readline support.
12239
12240 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12241
12242 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12243
12244 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12245
12246 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12247
12248 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12249
12250 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12251 ctrl-C if nointerrupts target property is set.
12252 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12253 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12254 * gdb.base/paginate-bg-execution.exp: Likewise.
12255 * gdb.base/paginate-execution-startup.exp: Likewise.
12256 * gdb.base/random-signal.exp: Likewise.
12257 * gdb.base/range-stepping.exp: Likewise.
12258 * gdb.cp/annota2.exp: Likewise.
12259 * gdb.cp/annota3.exp: Likewise.
12260 * gdb.gdb/selftest.exp: Likewise.
12261 * gdb.threads/continue-pending-status.exp: Likewise.
12262 * gdb.threads/leader-exit.exp: Likewise.
12263 * gdb.threads/manythreads.exp: Likewise.
12264 * gdb.threads/pthreads.exp: Likewise.
12265 * gdb.threads/schedlock.exp: Likewise.
12266 * gdb.threads/sigthread.exp: Likewise.
12267
12268 2015-12-11 Don Breazeal <donb@codesourcery.com>
12269
12270 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12271 remote.
12272 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12273 * gdb.base/foll-exec.exp (main): Enable for target remote.
12274 * gdb.base/foll-fork.exp (main): Likewise.
12275 * gdb.base/foll-vfork.exp (main): Likewise.
12276 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12277 (proc continue_to_exit_bp_loc): Use clean_restart.
12278 * gdb.base/pie-execl.exp (main): Disable for target remote.
12279 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12280 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12281 * gdb.threads/execl.exp (main): Likewise.
12282 * gdb.threads/fork-child-threads.exp (main): Likewise.
12283 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12284 remote.
12285 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12286 remote.
12287 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12288 pid.tid style ptids, instead of just tid.
12289 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12290 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12291 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12292 ptids, instead of just tid.
12293
12294 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12295
12296 * gdb.base/list.exp (test_list_forward): Add end of file error
12297 test.
12298 (test_repeat_list_command): Add end of file error test.
12299 (test_list_backwards): Add beginning of file error test.
12300
12301 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12302
12303 * gdb.base/list.exp (test_list_invalid_args): New function,
12304 defined, and called.
12305
12306 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12307
12308 * gdb.base/list.exp (test_list): Make test names unique.
12309
12310 2015-12-11 Yao Qi <yao.qi@linaro.org>
12311
12312 * gdb.base/coremaker2.c: Remove.
12313
12314 2015-12-10 Pedro Alves <palves@redhat.com>
12315
12316 * gdb.multi/base.exp: Remove stale "spaces" references.
12317
12318 2015-12-10 Pedro Alves <palves@redhat.com>
12319
12320 * gdb.multi/base.exp: Don't use nowarnings.
12321 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12322 * gdb.multi/hangout.c: Include stdio.h.
12323 * gdb.multi/hello.c: Include stdlib.h.
12324 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12325 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12326 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12327
12328 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12329
12330 * gdb.dwarf2/dw2-ranges-base.c: New file.
12331 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12332 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12333 support additional line table, and debug ranges generation.
12334 (Dwarf::ranges): New function, generate .debug_ranges.
12335 (Dwarf::lines): Support generating simple line table programs.
12336 (Dwarf::assemble): Initialise new namespace variables.
12337
12338 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12339
12340 * gdb.base/async.exp (proc test_background): Add case for
12341 asynchronous execution not supported.
12342
12343 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12344
12345 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12346 format and change test names to make them unique.
12347
12348 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12349 Pedro Alves <pedro@redhat.com>
12350
12351 PR gdb/18702
12352 Add checking of floatformats setup on x86_64 hosts.
12353 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12354 (smallval, bigval): New labels/constants.
12355 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12356 float" after loading bigval and smallval.
12357
12358 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12359
12360 * gdb.ada/fun_overload_menu.exp: New testcase.
12361 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12362
12363 2015-12-04 Josh Stone <jistone@redhat.com>
12364
12365 * gdb.base/catch-fork-static.exp: New.
12366
12367 2015-12-03 Yao Qi <yao.qi@linaro.org>
12368
12369 * gdb.base/sizeof.c: Don't include stdio.h and
12370 ../lib/unbuffer_output.c.
12371 (main): New variable 'size' and 'value'. Remove printf and
12372 gdb_unbuffer_output. Assign return value to size and value.
12373 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12374 at the beginning.
12375 (check_sizeof): Check the result by printing variable 'size'.
12376 (check_valueof): Check the result by printing variable 'value'.
12377
12378 2015-12-01 Yao Qi <yao.qi@linaro.org>
12379
12380 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12381 for aarch64*-*-linux* target.
12382
12383 2015-11-30 Pedro Alves <palves@redhat.com>
12384
12385 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12386
12387 2015-11-30 Pedro Alves <palves@redhat.com>
12388
12389 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12390 Handle non-stop mode vCont replies.
12391
12392 2015-11-30 Pedro Alves <palves@redhat.com>
12393
12394 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12395 prepare_for_testing. Start gdb with "set non-stop on" appended to
12396 GDBFLAGS. Lax expected stop output.
12397
12398 2015-11-27 Yao Qi <yao.qi@linaro.org>
12399
12400 * gdb.arch/arm-neon.exp: New.
12401 * gdb.arch/arm-neon.c: New.
12402
12403 2015-11-27 Yao Qi <yao.qi@linaro.org>
12404
12405 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12406
12407 2015-11-27 Yao Qi <yao.qi@linaro.org>
12408
12409 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12410 frames-invalid annotation.
12411
12412 2015-11-27 Yao Qi <yao.qi@linaro.org>
12413
12414 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12415
12416 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12417
12418 * gdb.threads/names.exp: New file.
12419 * gdb.threads/names.c: New file.
12420 * README: Mention gdb,no_thread_names.
12421
12422 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12423
12424 PR 19297
12425 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12426 support" error.
12427
12428 2015-11-24 Pedro Alves <palves@redhat.com>
12429
12430 PR 17539
12431 * gdb.base/display.exp: Expect displays to be sorted in ascending
12432 order. Use multi_line.
12433 * gdb.base/solib-display.exp: Likewise.
12434
12435 2015-11-24 Pedro Alves <palves@redhat.com>
12436
12437 PR 17539
12438 * gdb.base/display.exp: Expect displays to be sorted in ascending
12439 order. Use multi_line.
12440 * gdb.base/solib-display.exp: Likewise.
12441
12442 2015-11-24 Pedro Alves <palves@redhat.com>
12443
12444 PR 17539
12445 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12446 threads in ascending order.
12447 * gdb.base/foll-fork.exp: Likewise.
12448 * gdb.base/foll-vfork.exp: Likewise.
12449 * gdb.base/multi-forks.exp: Likewise.
12450 * gdb.mi/mi-nonstop.exp: Likewise.
12451 * gdb.mi/mi-nsintrall.exp: Likewise.
12452 * gdb.multi/base.exp: Likewise.
12453 * gdb.multi/multi-arch.exp: Likewise.
12454 * gdb.python/py-inferior.exp: Likewise.
12455 * gdb.threads/break-while-running.exp: Likewise.
12456 * gdb.threads/execl.exp: Likewise.
12457 * gdb.threads/gcore-thread.exp: Likewise.
12458 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12459 * gdb.threads/kill.exp: Likewise.
12460 * gdb.threads/linux-dp.exp: Likewise.
12461 * gdb.threads/multiple-step-overs.exp: Likewise.
12462 * gdb.threads/next-bp-other-thread.exp: Likewise.
12463 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12464 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12465 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12466 * gdb.threads/thread-find.exp: Likewise.
12467 * gdb.threads/tls.exp: Likewise.
12468 * lib/mi-support.exp (mi_reverse_list): Delete.
12469 (mi_check_thread_states): No longer reverse list.
12470
12471 2015-11-24 Pedro Alves <palves@redhat.com>
12472
12473 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12474 use lowercase.
12475
12476 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12477
12478 * gdb.trace/actions.c: Include trace-common.h.
12479 (main): Add a location for a fast tracepoint.
12480 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12481 the normal tracepoints.
12482 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12483
12484 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12485
12486 * save-trace.exp: Factor out code to these...
12487 (gdb_save_tracepoints): New.
12488 (gdb_load_tracepoints): New.
12489 (do_save_load_test): New.
12490
12491 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12492
12493 * gdb.base/asmlabel.exp: New test.
12494 * gdb.base/asmlabel.c: New test case.
12495
12496 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12497
12498 * gdb.base/wrong_frame_bt_full-main.c: New file.
12499 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12500 * gdb.base/wrong_frame_bt_full.exp: New file.
12501
12502 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12503
12504 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12505
12506 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12507
12508 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12509 pstate register when comparing registers values in
12510 sparc64-*-linux-gnu targets to avoid spurious differences.
12511
12512 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12513
12514 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12515
12516 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12517
12518 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12519 as type argument to gdb_compile.
12520 * gdb.base/nested-subp2.exp: Likewise.
12521 * gdb.base/nested-subp3.exp: Likewise.
12522
12523 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12524
12525 * lib/dwarf.exp (_note): Fix left shift of negative value.
12526 * gdb.trace/trace-condition.exp: Likewise.
12527
12528 2015-11-13 Yao Qi <yao.qi@linaro.org>
12529
12530 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12531 comments about d10v.
12532 (test_scalar_returns): Likewise.
12533 * gdb.base/d10v.ld: Remove.
12534 * gdb.base/overlays.exp: Remove the target triplet checking for
12535 d10v-*-*.
12536 * gdb.base/structs.exp (test_struct_returns): Remove the
12537 comments about d10v.
12538 (test_struct_calls): Likewise.
12539
12540 2015-11-13 Yao Qi <yao.qi@linaro.org>
12541
12542 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12543 * gdb.base/gnu_vector.c: Don't include stdio.h.
12544 (main): Don't print res and call add_some_intvecs.
12545
12546 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12547
12548 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12549 macro.
12550 (func5): Removed.
12551 (func4): Use FAST_TRACEPOINT_LABEL.
12552 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12553 macro.
12554 (func): Removed.
12555 (thread_function): Use FAST_TRACEPOINT_LABEL.
12556 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12557 (func): Remove.
12558 (marker): Use FAST_TRACEPOINT_LABEL.
12559 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12560 (pendfunc1): Remove.
12561 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12562 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12563 (foo): Remove.
12564 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12565 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12566 macro.
12567 (func): Remove.
12568 (marker): Use FAST_TRACEPOINT_LABEL.
12569 * gdb.trace/trace-common.h: New header.
12570 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12571 macro.
12572 (func): Remove.
12573 (marker): Use FAST_TRACEPOINT_LABEL.
12574 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12575 (func): Remove.
12576 (thread_function): Use FAST_TRACEPOINT_LABEL.
12577
12578 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12579
12580 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12581 in front.
12582 * gdb.trace/change-loc.exp: Use global pcreg definition.
12583 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12584 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12585 in front.
12586 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12587 * gdb.trace/pending.exp: Likewise.
12588 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12589 * gdb.trace/trace-break.exp: Likewise.
12590 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12591 in front.
12592 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12593 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12594 in front.
12595 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12596
12597 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12598
12599 * gdb.ada/fin_fun_out: New testcase.
12600
12601 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12602
12603 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12604 value associated with DW_AT_byte_size.
12605 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12606 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12607 DW_AT_upper_bound.
12608
12609 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12610
12611 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12612 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12613 version.
12614 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12615 gdb.dwarf2/dw2-canonicalize-type.exp,
12616 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12617 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12618 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12619 provided by gdb_target_symbol_prefix_flags_asm.
12620 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12621 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12622 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12623 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12624 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12625 macros where needed). Use this macro for symbols which require
12626 the prefix provided by SYMBOL_PREFIX.
12627
12628 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12629
12630 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12631 New procs.
12632 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12633 representing expressions, of more than one list element.
12634 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12635 to prepend linker symbol prefix to f.
12636 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12637 table_1 and table_2.
12638 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12639 Likewise, for f and g.
12640 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12641 for ptr.
12642 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12643 for main.
12644 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12645 table_1_ptr and table_2_ptr.
12646
12647 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12648 Joel Brobecker <brobecker@adacore.com>
12649
12650 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12651
12652 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12653
12654 * gdb.reverse/s390-mvcle.c: New test.
12655 * gdb.reverse/s390-mvcle.exp: New file.
12656 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12657
12658 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12659
12660 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12661
12662 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12663
12664 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12665 reaching marker2.
12666 * gdb.reverse/getresuid-reverse.exp: Likewise.
12667 * gdb.reverse/pipe-reverse.exp: Likewise.
12668 * gdb.reverse/readv-reverse.exp: Likewise.
12669 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12670 * gdb.reverse/time-reverse.exp: Likewise.
12671 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12672
12673 2015-10-30 Yao Qi <yao.qi@linaro.org>
12674
12675 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12676 (empty_cycle): Remove.
12677 (main): Don't call empty_cycle. Don't use watch_count_done.
12678 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12679 empty_cycle. Rewrite the code counting HW watchpoints.
12680
12681 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12682
12683 * gdb.reverse/fstatat-reverse.c: New test.
12684 * gdb.reverse/fstatat-reverse.exp: New file.
12685 * gdb.reverse/getresuid-reverse.c: New test.
12686 * gdb.reverse/getresuid-reverse.exp: New file.
12687 * gdb.reverse/pipe-reverse.c: New test.
12688 * gdb.reverse/pipe-reverse.exp: New file.
12689 * gdb.reverse/readv-reverse.c: New test.
12690 * gdb.reverse/readv-reverse.exp: New file.
12691 * gdb.reverse/recvmsg-reverse.c: New test.
12692 * gdb.reverse/recvmsg-reverse.exp: New file.
12693 * gdb.reverse/time-reverse.c: New test.
12694 * gdb.reverse/time-reverse.exp: New file.
12695 * gdb.reverse/waitpid-reverse.c: New test.
12696 * gdb.reverse/waitpid-reverse.exp: New file.
12697
12698 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12699
12700 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12701
12702 2015-10-26 Doug Evans <dje@google.com>
12703
12704 PR symtab/17391
12705 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12706 * gdb.dwarf2/bad-regnum.c: New file.
12707 * gdb.dwarf2/bad-regnum.exp: New file.
12708
12709 2015-10-26 Doug Evans <dje@google.com>
12710
12711 PR python/18938
12712 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12713 file.
12714
12715 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12716
12717 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12718 for a change by "Mention language in compile error message".
12719
12720 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12721
12722 PR python/18073
12723 * gdb.python/py-type.c (C::a_method): New.
12724 (C::a_const_method): New.
12725 (C::a_static_method): New.
12726 (a_function): New.
12727 * gdb.python/py-type.exp (test_fields): Test getting fields
12728 from function and method.
12729
12730 2015-10-21 Keven Boell <keven.boell@intel.com>
12731
12732 * gdb.fortran/vla-alloc-assoc.exp: New file.
12733 * gdb.fortran/vla-datatypes.exp: New file.
12734 * gdb.fortran/vla-datatypes.f90: New file.
12735 * gdb.fortran/vla-history.exp: New file.
12736 * gdb.fortran/vla-ptype-sub.exp: New file.
12737 * gdb.fortran/vla-ptype.exp: New file.
12738 * gdb.fortran/vla-sizeof.exp: New file.
12739 * gdb.fortran/vla-sub.f90: New file.
12740 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12741 * gdb.fortran/vla-value-sub-finish.exp: New file.
12742 * gdb.fortran/vla-value-sub.exp: New file.
12743 * gdb.fortran/vla-value.exp: New file.
12744 * gdb.fortran/vla-ptr-info.exp: New file.
12745 * gdb.mi/mi-vla-fortran.exp: New file.
12746 * gdb.mi/vla.f90: New file.
12747
12748 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12749
12750 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12751 of hardwired timeout value.
12752
12753 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12754 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12757 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12758
12759 2015-10-19 Josh Stone <jistone@redhat.com>
12760
12761 * gdb.base/catch-syscall.c: Include <sched.h>.
12762 (unknown_syscall): New variable.
12763 (main): Trigger a vfork and an unknown syscall.
12764 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12765 (unknown_syscall_number): Likewise.
12766 (check_call_to_syscall): Accept an optional syscall pattern.
12767 (check_return_from_syscall): Likewise.
12768 (check_continue): Likewise.
12769 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12770 (test_catch_syscall_skipping_return): New test toggling off 'catch
12771 syscall' to step over the syscall return, then toggling back on.
12772 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12773 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12774 (do_syscall_tests): Call test_catch_syscall_without_args and
12775 test_catch_syscall_mid_vfork.
12776 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12777 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12778
12779 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12780
12781 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12782 print g_vE): Add new pass patterns.
12783 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12784 print various symbol names for vptr fields.
12785
12786 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12787
12788 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12789 results.
12790
12791 2015-10-12 Yao Qi <yao.qi@linaro.org>
12792
12793 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12794
12795 2015-10-12 Yao Qi <yao.qi@linaro.org>
12796
12797 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12798 is aarch64*-*-linux*.
12799
12800 2015-10-12 Yao Qi <yao.qi@linaro.org>
12801
12802 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12803 (can_relocate_bcond_true): ... it.
12804 (can_relocate_bcond_false): New function.
12805 (foo): Likewise.
12806 (can_relocate_bl): Likewise.
12807 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12808 can_relocate_bl.
12809
12810 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12811
12812 * gdb.base/nested-addr.c: New file.
12813 * gdb.base/nested-addr.exp: New testcase.
12814
12815 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12816
12817 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12818 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12819 its output. Ignore the output of "record goto begin" and instead
12820 check that GDB is replaying.
12821
12822 2015-10-09 Pedro Alves <palves@redhat.com>
12823
12824 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12825 (top level): Use it in the run with no args test.
12826
12827 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12828
12829 * gdb.dlang/properties.exp: New file.
12830
12831 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12832
12833 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12834 whether or not address 0x1000 is mapped on the target.
12835
12836 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12837
12838 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12839 build.
12840
12841 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12842
12843 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12844 instruction-history test.
12845
12846 2015-09-28 Doug Evans <dje@google.com>
12847
12848 * gdb.base/gcore.c (array_func): Add reference to static_array.
12849
12850 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12851
12852 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12853 source line.
12854
12855 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12856
12857 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12858 short or char as base type.
12859
12860 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12861
12862 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12863 to allow any size enum.
12864
12865 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12866
12867 * gdb.ada/array_ptr_renaming.exp: New testcase.
12868 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12869 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12870
12871 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12872
12873 * gdb.trace/ftrace-lock.c: New file.
12874 * gdb.trace/ftrace-lock.exp: New file.
12875
12876 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12877
12878 * gdb.arch/insn-reloc.c: New file.
12879 * gdb.arch/ftrace-insn-reloc.exp: New file.
12880
12881 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12882
12883 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12884 instruction.
12885 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12886 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12887 * gdb.trace/range-stepping.c: Likewise.
12888 * gdb.trace/trace-break.c: Likewise.
12889 * gdb.trace/trace-mt.c (thread_function): Likewise.
12890 * gdb.trace/ftrace.c (marker): Likewise.
12891 * gdb.trace/trace-condition.c (marker): Likewise.
12892 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12893 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12894 is_aarch64_target.
12895
12896 2015-09-18 Doug Evans <xdje42@gmail.com>
12897
12898 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12899 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12900
12901 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12902
12903 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12904 the breakpoint.
12905
12906 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12907
12908 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12909 the pending breakpoint. Remove timeout override for "Run till
12910 MI pending breakpoint on pendfunc3 on thread 2" test.
12911
12912 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12913
12914 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12915 filename pattern.
12916
12917 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12918
12919 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12920 in breakpoint filename pattern.
12921
12922 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12923
12924 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12925
12926 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12927
12928 * gdb.linespec/explicit.exp: Check for readline support for
12929 tab-completion tests. Fix obvious typo.
12930
12931 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12932
12933 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12934 and replay.
12935
12936 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12937
12938 * gdb.btrace/non-stop.c: New.
12939 * gdb.btrace/non-stop.exp: New.
12940
12941 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12942 Yao Qi <yao.qi@linaro.org>
12943
12944 * gdb.trace/trace-condition.c: New file.
12945 * gdb.trace/trace-condition.exp: New file.
12946
12947 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12948
12949 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12950 for testing bytecode compilation.
12951
12952 2015-09-16 Pedro Alves <palves@redhat.com>
12953 Sandra Loosemore <sandra@codesourcery.com>
12954
12955 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12956 (SECONDS): Redefine.
12957 (main): Call pthread_kill and alarm early.
12958 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12959 support.
12960 (test): If the target can't hardware step and doesn't support
12961 displaced stepping, increase the timeout.
12962
12963 2015-09-16 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12966 (enable_debug): New procedures.
12967 (test): Use them. Bail out if waiting for threads fails.
12968 (top level): Bail out if a test fails.
12969
12970 2015-09-16 Yao Qi <yao.qi@linaro.org>
12971
12972 * gdb.asm/asm-source.exp: Set asm-arch for
12973 aarch64*-*-* target.
12974 * gdb.asm/aarch64.inc: New file.
12975
12976 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12977
12978 * gdb.ada/array_of_variable_length.exp: New testcase.
12979 * gdb.ada/array_of_variable_length/foo.adb: New file.
12980 * gdb.ada/array_of_variable_length/pck.adb: New file.
12981 * gdb.ada/array_of_variable_length/pck.ads: New file.
12982
12983 2015-09-15 Doug Evans <dje@google.com>
12984
12985 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12986 of function static local variable.
12987
12988 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12989
12990 * gdb.threads/tls-so_extern.exp: New test file.
12991 * gdb.threads/tls-so_extern.c: New test file.
12992 * gdb.threads/tls-so_extern_main.c: New test file.
12993
12994 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12995
12996 * gdb.opt/solib-intra-step-lib.c: New file.
12997 * gdb.opt/solib-intra-step-main.c: New file.
12998 * gdb.opt/solib-intra-step.exp: New file.
12999
13000 2015-09-15 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13003 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13004
13005 2015-09-14 Pedro Alves <palves@redhat.com>
13006
13007 * gdb.base/hook-stop-continue.c: Delete.
13008 * gdb.base/hook-stop-continue.exp: Delete.
13009 * gdb.base/hook-stop-frame.c: Delete.
13010 * gdb.base/hook-stop-frame.exp: Delete.
13011 * gdb.base/hook-stop.c: New file.
13012 * gdb.base/hook-stop.exp: New file.
13013
13014 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13015
13016 * gdb.ada/access_to_packed_array.exp: New testcase.
13017 * gdb.ada/access_to_packed_array/foo.adb: New file.
13018 * gdb.ada/access_to_packed_array/pack.adb: New file.
13019 * gdb.ada/access_to_packed_array/pack.ads: New file.
13020
13021 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13022
13023 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13024 buffer size test.
13025
13026 2015-09-11 Don Breazeal <donb@codesourcery.com>
13027
13028 * gdb.base/foll-exec.c: Add copyright header. Fix
13029 formatting issues.
13030 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13031 (do_exec_tests): Use clean_restart in place of zap_session,
13032 and for test initialization. Fix formatting issues. Use
13033 fail in place of perror.
13034 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13035 an expect statement to match an expression with output from
13036 the program under debug.
13037 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13038 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13039 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13040 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13041 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13042
13043 2015-09-09 Doug Evans <dje@google.com>
13044
13045 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13046
13047 2015-09-09 Doug Evans <dje@google.com>
13048
13049 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13050
13051 2015-09-09 Doug Evans <dje@google.com>
13052
13053 * gdb.base/savedregs.exp: Fix typo.
13054
13055 2015-09-09 Pedro Alves <palves@redhat.com>
13056
13057 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13058
13059 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13060
13061 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13062 command actually switches threads. Give up on remaining
13063 tests if target fails to stop at breakpoint.
13064
13065 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13066
13067 * gdb.ada/funcall_char.exp: New testcase.
13068 * gdb.ada/funcall_char/foo.adb: New file.
13069
13070 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13071
13072 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13073 expected outputs. Add two testcases for completing ambiguous
13074 functions.
13075 * gdb.ada/complete/aux_pck.adb: New file.
13076 * gdb.ada/complete/aux_pck.ads: New file.
13077 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13078 Ambiguous_Func functions.
13079 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13080 * gdb.ada/complete/pck.adb: Likewise.
13081
13082 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13083
13084 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13085 failures to run the test program under GDB.
13086
13087 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13088
13089 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13090 to C.
13091
13092 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13093
13094 * gdb.base/run-after-attach.exp: New test file.
13095 * gdb.base/run-after-attach.c: New test file.
13096
13097 2015-08-26 Don Breazeal <donb@codesourcery.com>
13098
13099 * gdb.base/foll-exec-2.c: New test program.
13100 * gdb.base/foll-exec-2.exp: New test.
13101
13102 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13103
13104 * gdb.base/nested-subp1.exp: New file.
13105 * gdb.base/nested-subp1.c: New file.
13106 * gdb.base/nested-subp2.exp: New file.
13107 * gdb.base/nested-subp2.c: New file.
13108 * gdb.base/nested-subp3.exp: New file.
13109 * gdb.base/nested-subp3.c: New file.
13110
13111 2015-08-24 Pedro Alves <palves@redhat.com>
13112
13113 * gdb.server/connect-without-multi-process.c: New file.
13114 * gdb.server/connect-without-multi-process.exp: New file.
13115
13116 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13117
13118 * gdb.opt/inline-markers.c: Make z int.
13119
13120 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13121
13122 * gdb.opt/inline-markers.c: Make z volatile.
13123
13124 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13125
13126 * gdb.opt/inline-bt.c: New volatile global z.
13127 * gdb.opt/inline-cmds.c: Likewise.
13128 * gdb.opt/inline-locals.c: Likewise.
13129 * gdb.opt/inline-markers.c: New extern global z.
13130 (marker): Use z.
13131 (inline_fn): Likewise.
13132
13133 2015-08-24 Pedro Alves <palves@redhat.com>
13134
13135 * config/m32r-stub.exp: Remove file.
13136 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13137 * gdb.base/call-rt-st.exp: Likewise.
13138 * gdb.base/call-strs.exp: Likewise.
13139 * gdb.base/default.exp: Remove references to h8300-*-hms and
13140 *-*-udi*.
13141 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13142
13143 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13144
13145 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13146 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13147 and "return" use KFAIL when GDB can not read/write the vector
13148 return value.
13149
13150 2015-08-21 Gary Benson <gbenson@redhat.com>
13151
13152 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13153
13154 2015-08-20 Pedro Alves <palves@redhat.com>
13155
13156 * gdb.server/solib-list.exp: No longer expect an interior stop in
13157 non-stop mode.
13158
13159 2015-08-20 Pedro Alves <palves@redhat.com>
13160
13161 * gdb.server/connect-stopped-target.c: New file.
13162 * gdb.server/connect-stopped-target.exp: New file.
13163
13164 2015-08-20 Pedro Alves <palves@redhat.com>
13165
13166 * gdb.dwarf2/comp-unit-lang.exp: New file.
13167 * gdb.dwarf2/comp-unit-lang.c: New file.
13168
13169 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13170
13171 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13172 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13173
13174 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13175
13176 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13177 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13178
13179 2015-08-18 Doug Evans <dje@google.com>
13180 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13181
13182 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13183 skip_python_tests. New arg prompt_regexp.
13184 (skip_python_tests): New function.
13185 * lib/mi-support.exp (mi_skip_python_tests): New function.
13186 * gdb.python/py-mi-objfile-gdb.py: New file.
13187 * gdb.python/py-mi-objfile.c: New file.
13188 * gdb.python/py-mi-objfile.exp: New file.
13189
13190 2015-08-17 Keith Seitz <keiths@redhat.com>
13191
13192 * gdb.linespec/explicit.exp: Move strace test from here ...
13193 * gdb.trace/strace.exp: ... to here.
13194
13195 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13196
13197 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13198 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13199
13200 2015-08-14 Doug Evans <xdje42@gmail.com>
13201
13202 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13203 inferior before selecting a new file.
13204
13205 2015-08-14 Doug Evans <xdje42@gmail.com>
13206
13207 * gdb.mi/mi-disassemble.exp: Update.
13208 * gdb.base/disasm-optim.S: New file.
13209 * gdb.base/disasm-optim.c: New file.
13210 * gdb.base/disasm-optim.h: New file.
13211 * gdb.base/disasm-optim.exp: New file.
13212
13213 2015-08-14 Keith Seitz <keiths@redhat.com>
13214
13215 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13216 "evaluated-by".
13217
13218 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13219
13220 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13221
13222 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13223
13224 * gdb.ada/fun_renaming.exp: New testcase.
13225 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13226 * gdb.ada/fun_renaming/pack.adb: New file.
13227 * gdb.ada/fun_renaming/pack.ads: New file.
13228
13229 2015-08-12 Keith Seitz <keiths@redhat.com>
13230
13231 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13232 gdb_get_line_number.
13233
13234 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13235
13236 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13237 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13238 gdb.base/dso2dso.exp: New files.
13239
13240 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13241 Pedro Alves <palves@redhat.com>
13242 Keith Seitz <keiths@redhat.com>
13243
13244 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13245 GDBFLAGS.
13246
13247 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13248
13249 * gdb.base/gdbhistsize-history.exp
13250 (test_histsize_history_setting): Use save_vars.
13251 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13252 Use save_vars.
13253 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13254 * gdb.base/readline.exp: Use save_vars.
13255
13256 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13257
13258 * lib/gdb.exp (save_vars): New proc.
13259
13260 2015-08-11 Keith Seitz <keiths@redhat.com>
13261
13262 * gdb.base/help.exp: Update help_breakpoint_text.
13263
13264 2015-08-11 Keith Seitz <keiths@redhat.com>
13265
13266 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13267 (at toplevel): Call test_explicit_breakpoints.
13268 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13269 breakpoints.
13270 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13271 breakpoint conditions, "-cond".
13272
13273 2015-08-11 Keith Seitz <keiths@redhat.com>
13274
13275 * gdb.linespec/3explicit.c: New file.
13276 * gdb.linespec/cpexplicit.cc: New file.
13277 * gdb.linespec/cpexplicit.exp: New file.
13278 * gdb.linespec/explicit.c: New file.
13279 * gdb.linespec/explicit.exp: New file.
13280 * gdb.linespec/explicit2.c: New file.
13281 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13282 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13283 before using in the matching pattern.
13284 Clarify that `prefix' is a regular expression.
13285
13286 2015-08-11 Keith Seitz <keiths@redhat.com>
13287
13288 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13289 test.
13290 Add tests for missing ",FMT" and ",".
13291
13292 2015-08-10 Doug Evans <dje@google.com>
13293 Keith Seitz <keiths@redhat.com>
13294
13295 PR gdb/17960
13296 * gdb.base/completion.exp: Add location completer tests.
13297
13298 2015-08-07 Pedro Alves <palves@redhat.com>
13299
13300 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13301 tests here.
13302 (top level): Run do_test with and without displaced stepping.
13303
13304 2015-08-07 Pedro Alves <palves@redhat.com>
13305
13306 * gdb.base/valgrind-disp-step.c: New file.
13307 * gdb.base/valgrind-disp-step.exp: New file.
13308
13309 2015-08-07 Pedro Alves <palves@redhat.com>
13310
13311 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13312 Delete function.
13313 (main): Add alarm. Run an infinite loop instead of calling
13314 wait_threads.
13315 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13316 comment.
13317 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13318 Delete function.
13319 (main): Add alarm. Run an infinite loop instead of calling
13320 wait_threads.
13321 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13322 comment.
13323
13324 2015-08-07 Pedro Alves <palves@redhat.com>
13325
13326 * gdb.base/checkpoint-ns.exp: New file.
13327 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13328 standard_testfile.
13329
13330 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13331
13332 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13333 * gdb.btrace/instruction_history.exp: Update.
13334 * gdb.btrace/tsx.exp: New.
13335 * gdb.btrace/tsx.c: New.
13336
13337 2015-08-06 Pedro Alves <palves@redhat.com>
13338
13339 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13340 increase timeout.
13341 * gdb.reverse/until-precsave.exp: Bump timeouts.
13342
13343 2015-08-06 Pedro Alves <palves@redhat.com>
13344
13345 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13346
13347 2015-08-06 Pedro Alves <palves@redhat.com>
13348
13349 PR gdb/18749
13350 * gdb.threads/process-dies-while-handling-bp.c: New file.
13351 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13352
13353 2015-08-06 Pedro Alves <palves@redhat.com>
13354
13355 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13356 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13357
13358 2015-08-05 Pedro Alves <palves@redhat.com>
13359
13360 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13361 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13362
13363 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13364
13365 * gdb.base/bp-permanent.exp: Report test as unsupported if
13366 the target cannot stop at the permanent breakpoint.
13367
13368 2015-08-03 Doug Evans <dje@google.com>
13369
13370 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13371 10000.
13372
13373 2015-08-03 Doug Evans <dje@google.com>
13374
13375 * Makefile.in (workers/%.worker, build-perf): New rule.
13376 (GDB_PERFTEST_MODE): New variable.
13377 (check-perf): Use it.
13378 (clean): Clean up gdb.perf parallel build subdirs.
13379 * lib/build-piece.exp: New file.
13380 * lib/gdb.exp (make_gdb_parallel_path): New function
13381 (standard_output_file, standard_temp_file): Call it.
13382 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13383 of $GDB_PARALLEL.
13384 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13385
13386 2015-08-03 Doug Evans <dje@google.com>
13387
13388 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13389 (LOG_FILE_NAME): New global.
13390 (TextReporter.__init__): Initialize self.txt_sum.
13391 (TextReporter.report): Add support for multiple data-points.
13392 Move report to perftest.sum, put raw data in perftest.log.
13393 (TextReporter.start): Open sum and log files.
13394 (TextReporter.end): Close sum and log files.
13395 * gdb.perf/lib/perftest/testresult.py
13396 (SingleStatisticTestResult.record): Handle multiple data-points.
13397
13398 2015-07-31 Pedro Alves <palves@redhat.com>
13399
13400 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13401 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13402 kill_wait_spawned_process instead of explicit "kill -9".
13403 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13404 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13405 kill_wait_spawned_process.
13406 * gdb.base/attach-twice.exp: Likewise.
13407 * gdb.base/attach.exp: Likewise.
13408 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13409 gdb_test_multiple.
13410 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13411 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13412 kill_wait_spawned_process.
13413 * gdb.base/valgrind-infcall.exp: Likewise.
13414 * gdb.multi/multi-attach.exp: Likewise.
13415 * gdb.python/py-prompt.exp: Likewise.
13416 * gdb.python/py-sync-interp.exp: Likewise.
13417 * gdb.server/ext-attach.exp: Likewise.
13418 * gdb.threads/attach-into-signal.exp (corefunc): Use
13419 spawn_wait_for_attach, spawn_id_get_pid and
13420 kill_wait_spawned_process.
13421 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13422 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13423 spawn_id_get_pid and kill_wait_spawned_process.
13424 * gdb.threads/attach-stopped.exp (corefunc): Use
13425 spawn_wait_for_attach, spawn_id_get_pid and
13426 kill_wait_spawned_process.
13427 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13428 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13429 kill_wait_spawned_process instead of explicit "kill -9".
13430 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13431 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13432 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13433 processes. Don't map cygwin/windows pids here. Now returns a
13434 spawn id list.
13435
13436 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13437
13438 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13439 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13440 correct patch.
13441
13442 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13443
13444 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13445
13446 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13447
13448 Reapply:
13449 2014-05-21 Mark Wielaard <mjw@redhat.com>
13450
13451 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13452
13453 2015-07-30 Pedro Alves <palves@redhat.com>
13454
13455 * linux-low.c (handle_extended_wait): Set the child's last
13456 reported status to TARGET_WAITKIND_STOPPED.
13457
13458 2015-07-30 Pedro Alves <palves@redhat.com>
13459
13460 PR threads/18600
13461 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13462 only shows inferior 1.
13463
13464 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13465 Pedro Alves <palves@redhat.com>
13466
13467 PR threads/18600
13468 * gdb.threads/fork-plus-threads.c: New file.
13469 * gdb.threads/fork-plus-threads.exp: New file.
13470
13471 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13472
13473 * gdb.base/batch-preserve-term-settings.exp
13474 (test_terminal_settings_preserved_after_cli_exit): Use
13475 send_quit_command.
13476
13477 2015-07-29 Pedro Alves <palves@redhat.com>
13478 Don Breazeal <donb@codesourcery.com>
13479
13480 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13481 output from both inferior_spawn_id and gdb_spawn_id.
13482
13483 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13484
13485 * gdb.threads/attach-into-signal.exp (corefunc): Use
13486 with_test_prefix on nested loops, uniquefying the test messages.
13487
13488 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13489
13490 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13491 commit.
13492
13493 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13494
13495 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13496 New proc.
13497 (test_terminal_settings_preserved_after_sigterm): New test.
13498
13499 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13500
13501 * gdb.base/batch-preserve-term-settings.exp
13502 (test_terminal_settings_preserved_after_cli_exit): New test.
13503
13504 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13505
13506 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13507 manipulation of saved_gdbflags.
13508 (test_terminal_settings_preserved): Remove global declaration of
13509 the unused variable pagination_prompt. Remove manipulation of
13510 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13511 GDBFLAGS.
13512
13513 2015-07-29 Pedro Alves <palves@redhat.com>
13514
13515 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13516
13517 2015-07-29 Pedro Alves <palves@redhat.com>
13518
13519 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13520 at the top.
13521
13522 2015-07-29 Pedro Alves <palves@redhat.com>
13523
13524 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13525 (main): Call gdb_unbuffer_output.
13526 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13527 (main): Call gdb_unbuffer_output.
13528 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13529 (main): Call gdb_unbuffer_output.
13530 * gdb.base/call-strs.exp: Adjust to step over the
13531 gdb_unbuffer_output call.
13532 * gdb.base/catch-gdb-caused-signals.c: Include
13533 "../lib/unbuffer_output.c".
13534 (main): Call gdb_unbuffer_output.
13535 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13536 (main): Call gdb_unbuffer_output.
13537 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13538 (main): Call gdb_unbuffer_output.
13539 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13540 (main): Call gdb_unbuffer_output.
13541 * gdb.base/shlib-call.exp: Adjust to step over the
13542 gdb_unbuffer_output call.
13543 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13544 (main): Call gdb_unbuffer_output.
13545 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13546 (main): Call gdb_unbuffer_output.
13547 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13548 (main): Rename to ...
13549 (test): ... this.
13550 (main): Reimplement.
13551 * gdb.base/varargs.exp: Run to test instead of to main.
13552 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13553 (main): Call gdb_unbuffer_output.
13554
13555 2015-07-29 Pedro Alves <palves@redhat.com>
13556
13557 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13558 factore out from mi_continue_dprintf. For call-style dprintfs,
13559 expect dprintf output out of $inferior_spawn_id.
13560 (mi_continue_dprintf): Use mi_expect_dprintf.
13561 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13562 (main): Call gdb_unbuffer_output.
13563
13564 2015-07-29 Pedro Alves <palves@redhat.com>
13565
13566 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13567 (default_mi_gdb_start): Set inferior_spawn_id instead of
13568 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13569 gdb_spawn_id.
13570 (mi_gdb_test): Always expect inferior output from both
13571 $inferior_spawn_id and $gdb_spawn_id.
13572
13573 2015-07-29 Pedro Alves <palves@redhat.com>
13574
13575 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13576 send_inferior and $inferior_spawn_id.
13577
13578 2015-07-29 Pedro Alves <palves@redhat.com>
13579
13580 * gdb.gdb/complaints.exp (test_initial_complaints)
13581 (test_serial_complaints, test_short_complaints): Use
13582 gdb_test_stdio.
13583 (test_empty_complaint): Handle $inferior_spawn_id !=
13584 $gdb_spawn_id.
13585
13586 2015-07-29 Pedro Alves <palves@redhat.com>
13587
13588 * gdb.base/varargs.exp: Use gdb_test_stdio.
13589
13590 2015-07-29 Pedro Alves <palves@redhat.com>
13591
13592 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13593
13594 2015-07-29 Pedro Alves <palves@redhat.com>
13595
13596 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13597
13598 2015-07-29 Pedro Alves <palves@redhat.com>
13599
13600 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13601 parameter into two new parameters, "inf_result" and "gdb_result".
13602 Expect inferior output and gdb output from $inferior_spawn_id and
13603 $gdb_spawn_id, respectively. Adjust all callers.
13604
13605 2015-07-29 Pedro Alves <palves@redhat.com>
13606
13607 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13608 of gdb_test_sequence.
13609
13610 2015-07-29 Pedro Alves <palves@redhat.com>
13611
13612 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13613 (saw_spurious_output): Expect inferior output from
13614 $inferior_spawn_id. Use gdb_test_stdio.
13615
13616 2015-07-29 Pedro Alves <palves@redhat.com>
13617
13618 * gdb.base/dprintf.exp: Use standard_testfile. Change
13619 prepare_for_testing call.
13620 (srcfile): Don't set.
13621 (restart): New procedure.
13622 (test_dprintf): New procecure, use to continue over dprintfs.
13623 (test_call, test_agent): New procedures, tests moved here.
13624 Restart gdb and recreate dprintfs. Adjust expected output.
13625
13626 2015-07-29 Pedro Alves <palves@redhat.com>
13627
13628 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13629
13630 2015-07-29 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13633
13634 2015-07-29 Pedro Alves <palves@redhat.com>
13635
13636 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13637 gdb_test_stdio.
13638
13639 2015-07-29 Pedro Alves <palves@redhat.com>
13640
13641 * lib/gdb.exp (gdb_test_stdio): New procedure.
13642
13643 2015-07-29 Pedro Alves <palves@redhat.com>
13644
13645 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13646
13647 2015-07-29 Pedro Alves <palves@redhat.com>
13648
13649 * gdb.base/call-signal-resume.exp: Remove check for
13650 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13651 * gdb.base/unwindonsignal.exp: Likewise.
13652 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13653 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13654
13655 2015-07-29 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.base/siginfo-addr.c (pass): New function.
13658 (handler): Call it iff si_addr is correct.
13659 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13660 Set a breakpoint at "pass" and continue to it.
13661
13662 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13663
13664 * gdb.python/py-objfile.exp: Make some tests have unique names.
13665 * gdb.python/py-pp-registration.exp: Likewise.
13666
13667 2015-07-28 Pedro Alves <palves@redhat.com>
13668
13669 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13670
13671 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13672
13673 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13674
13675 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13676
13677 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13678
13679 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13680
13681 * gdb.base/gdb-sigterm-2.exp: New test.
13682
13683 2015-07-25 Doug Evans <xdje42@gmail.com>
13684
13685 Revert:
13686 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13687 (workers/%.worker, build-perf): New rule.
13688 (GDB_PERFTEST_MODE): New variable.
13689 (check-perf): Use it.
13690 (clean): Clean up gdb.perf parallel build subdirs.
13691 * lib/build-piece.exp: New file.
13692 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13693 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13694 name.
13695 (standard_temp_file): Ditto.
13696 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13697 of $GDB_PARALLEL.
13698
13699 2015-07-24 Doug Evans <dje@google.com>
13700
13701 * gdb.perf/lib/perftest/utils.py: New file.
13702 * gdb.perf/gm-hello.cc: New file.
13703 * gdb.perf/gm-pervasive-typedef.cc: New file.
13704 * gdb.perf/gm-pervasive-typedef.h: New file.
13705 * gdb.perf/gm-std.cc: New file.
13706 * gdb.perf/gm-std.h: New file.
13707 * gdb.perf/gm-use-cerr.cc: New file.
13708 * gdb.perf/gm-utils.h: New file.
13709 * gdb.perf/gmonster-null-lookup.py: New file.
13710 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13711 * gdb.perf/gmonster-print-cerr.py: New file.
13712 * gdb.perf/gmonster-ptype-string.py: New file.
13713 * gdb.perf/gmonster-runto-main.py: New file.
13714 * gdb.perf/gmonster-select-file.py: New file.
13715 * gdb.perf/gmonster1-null-lookup.exp: New file.
13716 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13717 * gdb.perf/gmonster1-print-cerr.exp: New file.
13718 * gdb.perf/gmonster1-ptype-string.exp: New file.
13719 * gdb.perf/gmonster1-runto-main.exp: New file.
13720 * gdb.perf/gmonster1-select-file.exp: New file.
13721 * gdb.perf/gmonster1.cc: New file.
13722 * gdb.perf/gmonster1.exp: New file.
13723 * gdb.perf/gmonster2-null-lookup.exp: New file.
13724 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13725 * gdb.perf/gmonster2-print-cerr.exp: New file.
13726 * gdb.perf/gmonster2-ptype-string.exp: New file.
13727 * gdb.perf/gmonster2-runto-main.exp: New file.
13728 * gdb.perf/gmonster2-select-file.exp: New file.
13729 * gdb.perf/gmonster2.cc: New file.
13730 * gdb.perf/gmonster2.exp: New file.
13731
13732 2015-07-24 Doug Evans <dje@google.com>
13733
13734 * gdb.perf/README: New file.
13735 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13736 * lib/gen-perf-test.exp: New file.
13737
13738 2015-07-24 Doug Evans <dje@google.com>
13739
13740 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13741 (PerfTest::startup): New function.
13742 (PerfTest::run): Return result of calling body.
13743 (PerfTest::assemble): Rewrite.
13744 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13745 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13746 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13747 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13748 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13749
13750 2015-07-24 Doug Evans <dje@google.com>
13751
13752 * lib/gdb.exp (clean_restart): Make executable optional.
13753
13754 2015-07-24 Doug Evans <dje@google.com>
13755
13756 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13757 compiler_info references.
13758 * gdb.cp/temargs.exp: Ditto.
13759 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13760 (get_compiler_info): Early exit if already computed. Set compiler_info
13761 to "unknown" if there was a problem.
13762 (test_compiler_info): Add function comment. Call get_compiler_info.
13763
13764 2015-07-24 Doug Evans <dje@google.com>
13765
13766 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13767 (workers/%.worker, build-perf): New rule.
13768 (GDB_PERFTEST_MODE): New variable.
13769 (check-perf): Use it.
13770 (clean): Clean up gdb.perf parallel build subdirs.
13771 * lib/build-piece.exp: New file.
13772 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13773 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13774 name.
13775 (standard_temp_file): Ditto.
13776 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13777 of $GDB_PARALLEL.
13778
13779 2015-07-24 Doug Evans <dje@google.com>
13780
13781 * lib/future.exp (gdb_default_target_compile): New option
13782 "early_flags".
13783 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13784 --as-needed.
13785
13786 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13787
13788 * gdb.base/catch-syscall.exp: Call gdb_exit before
13789 gdb_skip_xml_test.
13790
13791 2015-07-24 Pedro Alves <palves@redhat.com>
13792
13793 * gdb.python/py-events.exp: Accept output between the stop event
13794 and the prompt.
13795 * gdb.python/py-evsignal.exp: Likewise.
13796 * gdb.python/py-evthreads.exp: Likewise.
13797
13798 2015-07-24 Pedro Alves <palves@redhat.com>
13799
13800 PR gdb/18717
13801 * gdb.threads/non-ldr-exit.c: New file.
13802 * gdb.threads/non-ldr-exit.exp: New file.
13803
13804 2015-07-24 Yao Qi <yao.qi@linaro.org>
13805
13806 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13807 restarting process.
13808
13809 2015-07-24 Yao Qi <yao.qi@linaro.org>
13810
13811 * gdb.server/ext-restart.exp: New file.
13812
13813 2015-07-24 Yao Qi <yao.qi@linaro.org>
13814
13815 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13816 argument options.
13817 * gdb.server/ext-wrapper.exp: New file.
13818
13819 2015-07-23 Doug Evans <dje@google.com>
13820
13821 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13822 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13823
13824 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13825
13826 * gdb.ada/var_arr_typedef.exp: New testcase.
13827 * gdb.ada/var_arr_typedef/pack.adb: New file.
13828 * gdb.ada/var_arr_typedef/pack.ads: New file.
13829 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13830
13831 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13832
13833 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13834
13835 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13836
13837 * gdb.arch/i386-biarch-core.exp: Replace istarget
13838 by "complete set gnutarget". Remove expectation for the "core-file"
13839 command.
13840
13841 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13842
13843 Revert the previous commit:
13844 Tests for validate symbol file using build-id.
13845
13846 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13847
13848 Tests for validate symbol file using build-id.
13849 * gdb.base/solib-mismatch-lib.c: New file.
13850 * gdb.base/solib-mismatch-libmod.c: New file.
13851 * gdb.base/solib-mismatch.c: New file.
13852 * gdb.base/solib-mismatch.exp: New file.
13853
13854 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13855
13856 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13857 nios2-*-linux*.
13858 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13859 * gdb.base/siginfo.exp: Likewise.
13860 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13861
13862 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13863
13864 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13865 Move it to ...
13866 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13867 ... here.
13868 * gdb.trace/range-stepping.exp: Check that the target supports
13869 range stepping.
13870
13871 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13872
13873 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13874
13875 2015-07-14 Pedro Alves <palves@redhat.com>
13876
13877 * gdb.base/killed-outside.exp: New file.
13878 * gdb.base/killed-outside.c: New file.
13879
13880 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13881
13882 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13883 (n at main): New.
13884 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13885
13886 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13887
13888 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13889 infcall tests instead of setting up for KFAIL.
13890
13891 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13892
13893 * gdb.btrace/record_goto-step.exp: New.
13894
13895 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13896
13897 PR compile/18484
13898 * gdb.compile/compile.c (struct struct_type): Add volatile to
13899 selffield's type.
13900 * gdb.compile/compile.exp
13901 (compile code struct_object.selffield = &struct_object): Skip further
13902 struct_object tests if this one xfails.
13903
13904 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13905
13906 PR exp/18617
13907 * gdb.trace/ax.exp: Add test.
13908
13909 2015-07-07 Yao Qi <yao.qi@linaro.org>
13910
13911 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13912 instead of istarget "aarch64*-*-*".
13913 * gdb.arch/aarch64-fp.exp: Likewise.
13914 * gdb.base/float.exp: Likewise.
13915 * gdb.reverse/aarch64.exp: Likewise.
13916 * lib/gdb.exp (is_aarch64_target): New proc.
13917
13918 2015-07-07 Yao Qi <yao.qi@linaro.org>
13919
13920 * lib/gdb.exp (is_aarch32_target): New proc.
13921 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13922 instead of "istarget "arm*-*-*"".
13923 * gdb.arch/arm-disp-step.exp: Likewise.
13924 * gdb.arch/thumb-bx-pc.exp: Likewise.
13925 * gdb.arch/thumb-prologue.exp: Likewise.
13926 * gdb.arch/thumb-singlestep.exp: Likewise.
13927 * gdb.base/disp-step-syscall.exp: Likewise.
13928 * gdb.base/float.exp: Likewise.
13929
13930 2015-07-07 Yao Qi <yao.qi@linaro.org>
13931
13932 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13933 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13934
13935 2015-07-07 Yao Qi <yao.qi@linaro.org>
13936
13937 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13938 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13939 if it exists.
13940 * gdb.multi/multi-arch.exp: Likewise.
13941
13942 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13943
13944 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13945 print.
13946
13947 2015-07-07 Yao Qi <yao.qi@linaro.org>
13948
13949 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13950
13951 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13952
13953 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13954 '[' and ']' characters.
13955
13956 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13957
13958 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13959
13960 2015-06-29 Pedro Alves <palves@redhat.com>
13961
13962 PR threads/18127
13963 * gdb.threads/hand-call-new-thread.c: New file.
13964 * gdb.threads/hand-call-new-thread.c: New file.
13965
13966 2015-06-26 Keith Seitz <keiths@redhat.com>
13967 Doug Evans <dje@google.com>
13968
13969 PR 16253
13970 * gdb.cp/var-tag-2.cc: New file.
13971 * gdb.cp/var-tag-3.cc: New file.
13972 * gdb.cp/var-tag-4.cc: New file.
13973 * gdb.cp/var-tag.cc: New file.
13974 * gdb.cp/var-tag.exp: New file.
13975
13976 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13977
13978 * gdb.base/history-duplicates.exp: New test.
13979
13980 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13981
13982 * gdb.base/completion.exp: Test the completion of the "focus"
13983 command.
13984
13985 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13986
13987 * gdb.arch/amd64-prologue-skip.S: New file.
13988 * gdb.arch/amd64-prologue-skip.exp: New file.
13989
13990 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13991
13992 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13993 is_address_zero_readable check.
13994
13995 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13996
13997 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13998 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13999
14000 2015-06-24 Yao Qi <yao.qi@linaro.org>
14001
14002 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14003 linux targets.
14004
14005 2015-06-24 Yao Qi <yao.qi@linaro.org>
14006
14007 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14008 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14009 * gdb.base/siginfo-thread.exp: Likewise.
14010
14011 2015-06-22 Yao Qi <yao.qi@linaro.org>
14012
14013 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14014
14015 2015-06-22 Yao Qi <yao.qi@linaro.org>
14016
14017 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14018 aarch64*-*-*.
14019 (skip_hw_watchpoint_tests): Likewise.
14020
14021 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14022
14023 * gdb.base/gdbinit-history.exp: Test the interaction between
14024 setting GDBHISTSIZE and setting the history size via .gdbinit.
14025
14026 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14027
14028 PR gdb/16999
14029 * gdb.base/gdbhistsize-history.exp: New test.
14030
14031 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14032
14033 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14034 with GDBHISTSIZE.
14035 * gdb.base/readline.exp: Likewise.
14036
14037 2015-06-17 Yao Qi <yao.qi@linaro.org>
14038
14039 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14040 line.
14041
14042 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14043
14044 * gdb.base/gdbinit-history.exp: Add test case to check that
14045 an unlimited history file does not get truncated on exit.
14046
14047 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14048
14049 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14050 (VECTOR): New macro. Use it...
14051 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14052 ...for these typedefs.
14053 (int8, char1, int1, double1): New typedefs.
14054 (struct just_int2, struct two_int2): New structures.
14055 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14056 (add_structvecs, add_singlevecs): New functions.
14057 (main): Call add_some_intvecs twice.
14058 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14059 the compile and exit upon failure. Try compiling for the "native"
14060 architecture. Test inferior function calls with vector arguments
14061 and vector return value handling with "finish" and "return".
14062
14063 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14064
14065 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14066 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14067 PE file.
14068 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14069
14070 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14071
14072 PR breakpoints/16465
14073 * gdb.mi/mi-dprintf-pending.c: New file.
14074 * gdb.mi/mi-dprintf-pending.exp: New test.
14075 * gdb.mi/mi-dprintf-pendshr.c: New file.
14076
14077 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14078 Mircea Gherzan <mircea.gherzan@intel.com>
14079
14080 * gdb.arch/i386-mpx-map.c: New file.
14081 * gdb.arch/i386-mpx-map.exp: New File.
14082
14083 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14084
14085 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14086 * gdb.arch/i386-mpx.exp: Indentation fixed.
14087
14088 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14089
14090 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14091 function and improved indentation.
14092 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14093 gdb_test_multiple. Added additional tests to skip the test.
14094
14095 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14096
14097 * gdb.arch/i386-avx512.c: Change path in include file.
14098 * gdb.arch/i386-avx512.exp: Change include dir path
14099 compilation flag.
14100 * gdb.arch/i386-mpx.c: Change path in include file.
14101 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14102 flag.
14103
14104 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 * gdb.compile/compile-print.exp (compile print *vararray@3)
14107 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14108
14109 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14110
14111 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14112 (do not keep jit in memory): ... this.
14113 (expect 5): Change it to ...
14114 (expect no 5): ... this.
14115
14116 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14117
14118 PR gdb/15564
14119 * gdb.mi/mi-detach.exp: New file.
14120
14121 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14122
14123 PR symtab/18392
14124 * gdb.arch/amd64-tailcall-self.S: New file.
14125 * gdb.arch/amd64-tailcall-self.c: New file.
14126 * gdb.arch/amd64-tailcall-self.exp: New file.
14127
14128 2015-05-28 Don Breazeal <donb@codesourcery.com>
14129
14130 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14131 tests for remote targets by checking is_target_gdbserver.
14132
14133 2015-05-27 Doug Evans <dje@google.com>
14134
14135 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14136 * gdb.dwarf2/opaque-type-lookup.c: New file.
14137 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14138
14139 2015-05-26 Doug Evans <dje@google.com>
14140
14141 * gdb.cp/iostream.cc: New file.
14142 * gdb.cp/iostream.exp: New file.
14143
14144 2015-05-26 Doug Evans <dje@google.com>
14145
14146 * gdb.dwarf2/dw2-op-call.exp: Update.
14147 * gdb.dwarf2/dw4-sig-types.exp: Update.
14148 * gdb.dwarf2/implptr.exp: Update.
14149 * gdb.mi/mi-cmd-param-changed.exp: Update.
14150
14151 2015-05-26 Doug Evans <dje@google.com>
14152
14153 * gdb.python/py-lazy-string.c: New file.
14154 * gdb.python/py-lazy-string.exp: New file.
14155 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14156 (main): Update. Add estring3.
14157 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14158 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14159
14160 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14161 Yao Qi <yao.qi@linaro.org>
14162
14163 * gdb.reverse/aarch64.c: New.
14164 * gdb.reverse/aarch64.exp: New.
14165
14166 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14167
14168 * lib/gdb.exp (supports_process_record): Return true for
14169 aarch64*-linux*.
14170 (supports_reverse): Likewise.
14171
14172 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14173
14174 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14175 Use with_test_prefix.
14176
14177 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14178
14179 * gdb.base/completion.exp: Add test for completion of layout
14180 names.
14181
14182 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14183
14184 * lib/gdb.exp (skip_tui_tests): New proc.
14185 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14186
14187 2015-05-19 Pedro Alves <palves@redhat.com>
14188
14189 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14190 Save the whole env array instead of just HOME. Unset HISTSIZE in
14191 the environment while testing. Restore whole environment
14192 afterwards.
14193
14194 2015-05-16 Doug Evans <xdje42@gmail.com>
14195
14196 * gdb.guile/scm-ports.c: New file.
14197 * gdb.guile/scm-ports.exp: Add memory port tests.
14198
14199 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14200
14201 * gdb.compile/compile-print.c: New file.
14202 * gdb.compile/compile-print.exp: New file.
14203
14204 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14205
14206 * gdb.compile/compile-ops.exp: Cast param to void.
14207 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14208 (compile code struct_object.selffield = &struct_object): Add xfail.
14209
14210 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14211
14212 * gdb.ada/arr_enum_with_gap: New testcase.
14213
14214 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14215
14216 * gdb.ada/byte_packed_arr: New testcase.
14217
14218 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14219
14220 * gdb.ada/pckd_neg: New testcase.
14221
14222 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14223
14224 PR gdb/17820
14225 * gdb.base/gdbinit-history.exp: New test.
14226 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14227 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14228
14229 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14230
14231 * gdb.python/py-xmethods.cc: Enhance test case.
14232 * gdb.python/py-xmethods.exp: New tests.
14233 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14234 function.
14235 (B_indexoper): Likewise.
14236 (global_dm_list) : Add new xmethod worker functions.
14237
14238 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14239
14240 * gdb.base/coredump-filter.exp: Correctly unset
14241 "coredump_var_addr" array.
14242
14243 2015-05-08 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.server/non-existing-program.exp: Unset spawn_id.
14246
14247 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14248
14249 PR python/18291
14250 * gdb.python/py-xmethods.exp: Add tests.
14251
14252 2015-05-08 Yao Qi <yao.qi@linaro.org>
14253
14254 PR gdb/18208
14255 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14256 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14257 function set_coredump_filter, and remove remote_exec call.
14258 Remove argument ipid. Callers update.
14259 (top level): Don't get inferior's PID.
14260
14261 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14262
14263 * gdb.base/watch_thread_num.exp: Skip test on targets without
14264 access watchpoints.
14265
14266 2015-05-06 Pedro Alves <palves@redhat.com>
14267
14268 PR server/18081
14269 * gdb.server/non-existing-program.exp: New file.
14270
14271 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14272
14273 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14274
14275 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14276
14277 * gdb.ada/out_of_line_in_inlined: New testcase.
14278
14279 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14280
14281 * gdb.ada/var_rec_arr: New testcase.
14282
14283 2015-04-30 Yao Qi <yao.qi@linaro.org>
14284
14285 * gdb.base/break-idempotent.exp: If
14286 skip_hw_watchpoint_multi_tests returns true, skip the tests
14287 on "rwatch" and "awatch".
14288
14289 2015-04-30 Yao Qi <yao.qi@linaro.org>
14290
14291 * gdb.base/relativedebug.exp: Invoke gdb command
14292 "info sharedlibrary", and if libc.so doesn't have debug info,
14293 skip the test.
14294
14295 2015-04-29 Doug Evans <dje@google.com>
14296
14297 * gdb.python/py-xmethods.exp: Add ptype tests.
14298 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14299 get_result_type method.
14300
14301 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14302
14303 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14304 the target does not support hardware watchpoints.
14305
14306 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14307
14308 * gdb.base/break-always.exp: Abort testing if writing to memory
14309 causes an error.
14310
14311 2015-04-28 Doug Evans <dje@google.com>
14312
14313 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14314 * gdb.python/py-pp-registration.exp: ... here. New file.
14315 * gdb.python/py-pp-registration.c: New file.
14316 * gdb.python/py-pp-registration.py: New file.
14317
14318 2015-04-28 Doug Evans <dje@google.com>
14319
14320 * gdb.python/py-bad-printers.c: New file.
14321 * gdb.python/py-bad-printers.py: New file.
14322 * gdb.python/py-bad-printers.exp: New file.
14323
14324 2015-04-28 Sasha Smundak <asmundak@google.com>
14325
14326 * gdb.python/py-type.exp: New test.
14327
14328 2015-04-28 Andy Wingo <wingo@igalia.com>
14329
14330 * gdb.python/py-parameter.exp:
14331 * gdb.guile/scm-parameter.exp: Escape the path that we are
14332 matching against, as it might contain characters that are special
14333 to regular expressions.
14334
14335 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14336
14337 * gdb.ada/rec_comp: New testcase.
14338
14339 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14340
14341 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14342 before using it.
14343
14344 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14345
14346 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14347 new tests for verilog output.
14348
14349 2015-04-24 Yao Qi <yao.qi@linaro.org>
14350
14351 * boards/remote-gdbserver-on-localhost.exp: New file.
14352
14353 2015-04-23 Pedro Alves <palves@redhat.com>
14354
14355 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14356 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14357 "end of file", remove $inferior_spawn_id from the indirect list.
14358
14359 2015-04-23 Pedro Alves <palves@redhat.com>
14360
14361 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14362
14363 2015-04-23 Pedro Alves <palves@redhat.com>
14364
14365 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14366 on $any_spawn_id instead of only on $gdb_spawn_id.
14367
14368 2015-04-21 Pierre Muller <muller@sourceware.org>
14369
14370 PR pascal/17815
14371 * lib/pascal.exp (gpc_compile): Add new option "class".
14372 (fpc_compile): Likewise.
14373 * gdb.pascal/case-insensitive-symbols.pas: New file.
14374 * gdb.pascal/case-insensitive-symbols.exp: New file.
14375
14376 2015-04-20 Gary Benson <gbenson@redhat.com>
14377
14378 * gdb.base/attach.exp: Fix three extended remote failures.
14379
14380 2015-04-17 Gary Benson <gbenson@redhat.com>
14381
14382 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14383 the main executable over the remote protocol.
14384
14385 2015-04-16 Pedro Alves <palves@redhat.com>
14386
14387 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14388 a new gdbserver if gdbserver_reconnect_p is set.
14389
14390 2015-04-16 Pedro Alves <palves@redhat.com>
14391
14392 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14393 is set, don't exit gdbserver.
14394
14395 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14396
14397 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14398 appropriate .insn, such that an older assembler can be used.
14399 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14400 the z/Architecture instruction set on 31-bit targets as well.
14401
14402 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14403
14404 * gdb.go/handcall.exp: Remove all logic related to the first
14405 breakpoint and rely on go_runto_main instead.
14406 * gdb.go/strings.exp: Likewise.
14407 * gdb.go/unsafe.exp: Likewise.
14408 * gdb.go/hello.exp: Likewise. Also rename the remaining
14409 breakpoint marker to "breakpoint 1".
14410 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14411 * gdb.go/strings.go: Likewise.
14412 * gdb.go/unsafe.go: Likewise.
14413 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14414 "set breakpoint 2 here" and rename the remaining breakpoint marker
14415 to "breakpoint 1".
14416
14417 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14418
14419 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14420 if itertools.imap is not present.
14421 * gdb.python/py-objfile.exp: Add parentheses.
14422 * gdb.python/py-type.exp: Same.
14423 * gdb.python/py-unwind-maint.py: Same.
14424
14425 2015-04-15 Yao Qi <yao.qi@linaro.org>
14426
14427 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14428 of ":$ptr_size" and set its form explicitly.
14429
14430 2015-04-15 Pedro Alves <palves@redhat.com>
14431 Yao Qi <yao.qi@linaro.org>
14432
14433 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14434 timeout by factor of 4.
14435 (test_regular_watch): Likewise.
14436 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14437 * gdb.reverse/sigall-reverse.exp: Likewise.
14438 * gdb.reverse/until-precsave.exp: Likewise.
14439 * lib/gdb.exp (with_timeout_factor): New proc.
14440 (gdb_expect): Move some code to ...
14441 (get_largest_timeout): ... here. New procedure.
14442
14443 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14444
14445 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14446
14447 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14448
14449 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14450 to write to the .text section.
14451
14452 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14453
14454 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14455 Handle the case of targets that do not provide PID information.
14456
14457 2015-04-13 Yao Qi <yao.qi@linaro.org>
14458
14459 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14460 and use expect instead of gdb_expect.
14461
14462 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14463
14464 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14465 "coredump_var_addr" to avoid naming conflict with other testcases.
14466
14467 2015-04-10 Pedro Alves <palves@redhat.com>
14468
14469 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14470 gdb_test_sequence and gdb_assert.
14471
14472 2015-04-10 Pedro Alves <palves@redhat.com>
14473
14474 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14475 test messages that don't include the breakpoint address.
14476
14477 2015-04-10 Yao Qi <yao.qi@linaro.org>
14478
14479 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14480 false for some offset and width combinations which aren't
14481 supported by linux kernel.
14482
14483 2015-04-10 Pedro Alves <palves@redhat.com>
14484
14485 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14486 procedure, factored out from ...
14487 (top level): ... here. Add "set displaced-stepping" testing axis.
14488 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14489 parameter "displaced". Use it.
14490 (top level): Use foreach and add "set displaced-stepping" testing
14491 axis.
14492
14493 2015-04-10 Pedro Alves <palves@redhat.com>
14494
14495 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14496 Remove comment.
14497 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14498 both the address of the instruction that triggers the watchpoint
14499 and the address of the instruction immediately after, and use
14500 those addresses for the test. Fix comment.
14501
14502 2015-04-10 Pedro Alves <palves@redhat.com>
14503
14504 * gdb.base/sigstep.exp (breakpoint_to_handler)
14505 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14506 Test "backtrace" in handler.
14507 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14508 (top level): Add new "displaced" test axis to
14509 breakpoint_to_handler, breakpoint_to_handler_entry and
14510 breakpoint_over_handler.
14511
14512 2015-04-10 Pedro Alves <palves@redhat.com>
14513
14514 PR gdb/18216
14515 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14516
14517 2015-04-10 Yao Qi <yao.qi@linaro.org>
14518
14519 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14520 (test_add_rn_pc): New function.
14521 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14522 (top level): Invoke test_add_rn_pc.
14523
14524 2015-04-10 Pedro Alves <palves@redhat.com>
14525
14526 PR gdb/13858
14527 * gdb.base/step-over-no-symbols.exp: New file.
14528
14529 2015-04-09 Andy Wingo <wingo@igalia.com>
14530
14531 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14532 after the Python tests.
14533
14534 2015-04-08 Keith Seitz <keiths@redhat.com>
14535
14536 PR python/16699
14537 * gdb.python/py-completion.exp: New tests for completion.
14538 * gdb.python/py-completion.py (CompleteLimit1): New class.
14539 (CompleteLimit2): Likewise.
14540 (CompleteLimit3): Likewise.
14541 (CompleteLimit4): Likewise.
14542 (CompleteLimit5): Likewise.
14543 (CompleteLimit6): Likewise.
14544 (CompleteLimit7): Likewise.
14545
14546 2015-04-08 Pedro Alves <palves@redhat.com>
14547
14548 PR gdb/18214
14549 PR gdb/18216
14550 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14551 function.
14552 (main): Install it as SIGUSR1 handler.
14553 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14554 parameter. Always use "setup" as prefix. Toggle "set
14555 displaced-stepping" off/on depending on global. Don't switch to
14556 thread 1 here.
14557 (top level): Add displaced stepping "off/on" test axis. Update
14558 "setup" calls. Wrap each subtest with with_test_prefix. Test
14559 continuing with a queued signal in each thread.
14560
14561 2015-04-08 Pedro Alves <palves@redhat.com>
14562
14563 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14564 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14565 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14566 Return early if running to main fails.
14567 * gdb.trace/while-stepping.exp: Likewise.
14568
14569 2015-04-07 Pedro Alves <palves@redhat.com>
14570
14571 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14572 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14573 interact with inferior program.
14574
14575 2015-04-07 Pedro Alves <palves@redhat.com>
14576
14577 * lib/gdb.exp (inferior_spawn_id): New global.
14578 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14579 spawn id after processing the user code.
14580 (default_gdb_start): Set inferior_spawn_id.
14581 (send_inferior): New procedure.
14582 * lib/gdbserver-support.exp (gdbserver_start): Set
14583 inferior_spawn_id.
14584 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14585
14586 2015-04-07 Pedro Alves <palves@redhat.com>
14587
14588 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14589 * lib/gdbserver-support.exp (gdbserver_start): Make
14590 $server_spawn_id global.
14591 (gdbserver_start): Don't wait for gdbserver's spawn id with
14592 expect_background.
14593 (close_gdbserver): New procedure.
14594 (gdb_exit): Rename the default version and reimplement.
14595
14596 2015-04-07 Pedro Alves <palves@redhat.com>
14597
14598 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14599 append the substituted item, not the original item.
14600
14601 2015-04-07 Pedro Alves <palves@redhat.com>
14602
14603 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14604 gdb_expect.
14605
14606 2015-04-07 Pedro Alves <palves@redhat.com>
14607
14608 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14609 output appearing once only.
14610
14611 2015-04-07 Pedro Alves <palves@redhat.com>
14612
14613 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14614 that doesn't expect anything. Return early if running to main
14615 fails.
14616
14617 2015-04-07 Yao Qi <yao.qi@linaro.org>
14618
14619 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14620 (child_function): Call alarm.
14621 (main): Move call to alarm into the loop.
14622 * gdb.threads/non-stop-fair-events.exp: Build program with
14623 -DTIMEOUT=$timeout.
14624
14625 2015-04-06 Doug Evans <xdje42@gmail.com>
14626
14627 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14628 Fix dest parameter to board_info.
14629 (fpc_compile): Ditto.
14630 (gdb_compile_pascal): Rename dest arg to destfile.
14631
14632 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14633
14634 * gdb.ada/funcall_ref.exp: New file.
14635 * gdb.ada/funcall_ref/foo.adb: New file.
14636
14637 2015-04-02 Yao Qi <yao.qi@linaro.org>
14638
14639 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14640 is remote.
14641
14642 2015-04-02 Gary Benson <gbenson@redhat.com>
14643
14644 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14645
14646 2015-04-01 Sasha Smundak <asmundak@google.com>
14647
14648 * gdb.python/py-unwind-maint.c: New file.
14649 * gdb.python/py-unwind-maint.exp: New test.
14650 * gdb.python/py-unwind-maint.py: New file.
14651 * gdb.python/py-unwind.c: New file.
14652 * gdb.python/py-unwind.exp: New test.
14653 * gdb.python/py-unwind.py: New test.
14654
14655 2015-04-01 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14658 to fail instead of non-existent $test.
14659
14660 2015-04-01 Pedro Alves <palves@redhat.com>
14661
14662 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14663 GDBFLAGS if not empty.
14664
14665 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14666
14667 * gdb.ada/complete.exp: Remove "multi_line".
14668 * gdb.ada/info_exc.exp: Remove "multi_line".
14669 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14670 * gdb.ada/ptype_field.exp: Remove "multi_line".
14671 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14672 * gdb.ada/tagged.exp: Remove "multi_line".
14673 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14674 [multi_line ...]
14675 * gdb.btrace/delta.exp: Likewise.
14676 * gdb.btrace/exception.exp: Likewise.
14677 * gdb.btrace/function_call_history.exp: Likewise.
14678 * gdb.btrace/instruction_history.exp: Likewise.
14679 * gdb.btrace/nohist.exp: Likewise.
14680 * gdb.btrace/record_goto.exp: Likewise.
14681 * gdb.btrace/segv.exp: Likewise.
14682 * gdb.btrace/stepi.exp: Likewise.
14683 * gdb.btrace/tailcall.exp: Likewise.
14684 * gdb.btrace/unknown_functions.exp: Likewise.
14685 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14686 * lib/gdb.exp: Add the "multi_line" helper.
14687
14688 2015-04-01 Pedro Alves <palves@redhat.com>
14689
14690 * gdb.threads/tid-reuse.c: New file.
14691 * gdb.threads/tid-reuse.exp: New file.
14692
14693 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14694
14695 PR corefiles/16092
14696 * gdb.base/coredump-filter.c: New file.
14697 * gdb.base/coredump-filter.exp: Likewise.
14698
14699 2015-03-27 Petr Machata <pmachata@redhat.com>
14700
14701 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14702 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14703 (Dwarf::assemble): Initialize them.
14704 (Dwarf::lines): New function.
14705
14706 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14707
14708 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14709 SYMBOL_PREFIX for x86_64-*-cygwin.
14710
14711 2015-03-26 Andy Wingo <wingo@igalia.com>
14712
14713 PR symtab/18148
14714 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14715 const_value but not a location.
14716 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14717 location defined in non-main CUs are visible.
14718
14719 2015-03-26 Yao Qi <yao.qi@linaro.org>
14720
14721 PR testsuite/18139
14722 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14723 Add a line number entry for the same line.
14724 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14725 Add a line number entry for the same line.
14726
14727 2015-03-26 Yao Qi <yao.qi@linaro.org>
14728
14729 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14730 .int 0.
14731 (func): Likewise. Add .Lfunc_1 label.
14732 Use .Lfunc_1 label.
14733 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14734 .int 0.
14735 (func): Likewise.
14736 Use .Lfunc_1 label.
14737
14738 2015-03-26 Yao Qi <yao.qi@linaro.org>
14739
14740 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14741 Call gdb_compile instead to compile each .s files without debug
14742 information.
14743
14744 2015-03-26 Yao Qi <yao.qi@linaro.org>
14745
14746 * gdb.base/savedregs.exp (process_saved_regs): Make
14747 "Saved registers:" optional in the pattern.
14748
14749 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14750
14751 * gdb.btrace/next.exp: Merged into step.exp.
14752 * gdb.btrace/finish.exp: Merged into step.exp.
14753 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14754 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14755 "record goto" and checking the exact replay position.
14756 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14757 check for "Recording format" in "info record" output.
14758 * gdb.btrace/record_goto.exp: Choose test file based on target.
14759 * gdb.btrace/x86-record_goto.S: Renamed into ...
14760 * gdb.btrace/x86_64-record_goto.S: ... this.
14761 * gdb.btrace/i686-record_goto.S: New.
14762 * gdb.btrace/x86-tailcall.S: Renamed into ...
14763 * gdb.btrace/x86_64-tailcall.S: ... this.
14764 * gdb.btrace/i686-tailcall.S: New.
14765 * gdb.btrace/x86-tailcall.c: Renamed into ...
14766 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14767 separate statements. Update test.
14768 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14769 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14770 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14771 * gdb.btrace/tailcall.exp: Choose test file based on target.
14772 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14773
14774 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14775
14776 * gdb.btrace/exception.exp: Increase BTS buffer size.
14777
14778 2015-03-24 Pedro Alves <palves@redhat.com>
14779
14780 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14781
14782 2015-03-24 Pedro Alves <palves@redhat.com>
14783
14784 * gdb.threads/schedlock.exp (test_step): No longer expect that
14785 "set scheduler-locking step" with "next" over a function call runs
14786 threads unlocked.
14787
14788 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14789
14790 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14791
14792 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14793
14794 PR breakpoints/16466
14795 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14796 * gdb.mi/mi-pending.c (thread_func): New function.
14797 (int main): Add threading support required.
14798 * gdb.mi/mi-pending.exp: Add tests for this issue.
14799 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14800 (pendfunc2): Remove stdio dependency.
14801 * gdb.mi/mi-pendshr2.c: New file.
14802
14803 2015-03-23 Keith Seitz <keiths@redhat.com>
14804
14805 * gdb.linespec/keywords.c: New file.
14806 * gdb.linespec/keywords.exp: New file.
14807
14808 2015-03-23 Keith Seitz <keiths@redhat.com>
14809
14810 PR gdb/18021
14811 * gdb.dwarf2/staticvirtual.exp: New test.
14812
14813 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14814
14815 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14816 * README: Remove HP-UX and gdb.hp.
14817 (configuration):
14818 * configure: Regenerate.
14819 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14820 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14821 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14822 gdb.hp/gdb.defects/Makefile.
14823 * gdb.hp/Makefile.in: File deleted.
14824 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14825 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14826 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14827 * gdb.hp/gdb.aCC/run.c: File deleted.
14828 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14829 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14830 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14831 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14832 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14833 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14834 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14835 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14836 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14837 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14838 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14839 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14840 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14841 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14842 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14843 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14844 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14845 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14846 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14847 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14848 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14849 * gdb.hp/gdb.compat/average.c: File deleted.
14850 * gdb.hp/gdb.compat/sum.c: File deleted.
14851 * gdb.hp/gdb.compat/xdb.c: File deleted.
14852 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14853 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14854 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14855 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14856 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14857 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14858 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14859 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14860 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14861 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14862 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14863 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14864 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14865 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14866 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14867 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14868 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14869 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14870 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14871 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14872 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14873 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14874 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14875 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14876 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14877 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14878 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14879 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14880 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14881 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14882 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14883 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14884 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14885 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14886 * gdb.hp/tools/odump: File deleted.
14887
14888 2015-03-19 Pedro Alves <palves@redhat.com>
14889
14890 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14891 (saw_thread_3): New globals.
14892 (top level): Increment them when an event for the corresponding
14893 thread is seen.
14894 (no thread starvation): New test.
14895
14896 2015-03-19 Pedro Alves <palves@redhat.com>
14897
14898 * gdb.threads/continue-pending-status.c: New file.
14899 * gdb.threads/continue-pending-status.exp: New file.
14900
14901 2015-03-18 Pedro Alves <palves@redhat.com>
14902
14903 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14904 Use gdb_is_target_remote instead of is_remote. Use
14905 gdb_test_multiple instead of gdb_expect. Exit early if
14906 gdb_test_multiple hits its internal matches. Tighten stepi tests
14907 expected output. Fail on exit with any signal, instead of just
14908 SIGILL.
14909
14910 2015-03-18 Yao Qi <yao.qi@linaro.org>
14911
14912 PR tdep/18107
14913 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14914 variable.
14915 * gdb.base/catch-syscall.exp: Don't skip it on
14916 aarch64*-*-linux* target. Remove elements in all_syscalls.
14917 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14918 target.
14919 (setup_all_syscalls): New proc.
14920
14921 2015-03-16 Yao Qi <yao.qi@linaro.org>
14922
14923 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14924 (top level): Skip tests if valid_addr_p returns false for
14925 $cmd1 or $cmd2.
14926
14927 2015-03-11 Andy Wingo <wingo@igalia.com>
14928
14929 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14930
14931 2015-03-11 Yao Qi <yao.qi@linaro.org>
14932
14933 * gdb.base/catch-syscall.exp: Fix typo in comments.
14934
14935 2015-03-11 Yao Qi <yao.qi@linaro.org>
14936
14937 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14938
14939 2015-03-09 Pedro Alves <palves@redhat.com>
14940
14941 * dg-extract-results.py: Delete.
14942
14943 2015-03-09 Pedro Alves <palves@redhat.com>
14944
14945 Merge dg-extract-results.sh from GCC upstream (r218843).
14946
14947 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14948 * dg-extract-results.sh: Use --text with grep to avoid issues with
14949 binary files. Fall back to cat -v, if that doesn't work.
14950
14951 2015-03-05 Pedro Alves <palves@redhat.com>
14952
14953 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14954
14955 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14956
14957 * lib/mi-support.exp (mi_expect_interrupt): Accept
14958 alternative event for when in all-stop mode.
14959
14960 2015-03-04 Pedro Alves <palves@redhat.com>
14961
14962 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14963
14964 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14965
14966 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14967
14968 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14969
14970 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14971 regexps for GDB's current line display, accept a hex address
14972 preceding the line number.
14973
14974 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14975
14976 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14977 the 'arch1' variable for "s390*-linux*" targets.
14978
14979 2015-03-04 Pedro Alves <palves@redhat.com>
14980
14981 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14982 (main): Pass missing retval argument to pthread_join call.
14983
14984 2015-03-02 Pedro Alves <palves@redhat.com>
14985
14986 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14987 (top level): Call do_test with non-stop as well.
14988
14989 2015-03-02 Pedro Alves <palves@redhat.com>
14990
14991 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14992 -1.
14993
14994 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14995
14996 * gdb.arch/s390-vregs.exp: New test.
14997 * gdb.arch/s390-vregs.S: New file.
14998
14999 2015-02-27 Pedro Alves <palves@redhat.com>
15000
15001 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15002 call to catch_command_errors.
15003 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15004 catch_command_errors.
15005
15006 2015-02-27 Pedro Alves <palves@redhat.com>
15007
15008 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15009 "true" for boolean result.
15010 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15011 prototype of main.
15012
15013 2015-02-27 Pedro Alves <palves@redhat.com>
15014
15015 * lib/unbuffer_output.c: New file.
15016 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15017 (main): Call gdb_unbuffer_output.
15018
15019 2015-02-27 Yao Qi <yao.qi@linaro.org>
15020
15021 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15022 target.
15023
15024 2015-02-26 Doug Evans <dje@google.com>
15025
15026 * gdb.cp/class2.cc (Dbase, D): New classes.
15027 (main): New local delta.
15028 * gdb.cp/class2.exp: Test printing delta.
15029 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15030 (dynbar): New global.
15031 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15032
15033 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15034
15035 * gdb.compile/compile-ifunc.c: New file.
15036 * gdb.compile/compile-ifunc.exp: New file.
15037
15038 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15039
15040 * gdb.base/structs.exp: Check for correct struct on finish.
15041
15042 2015-02-26 Yao Qi <yao.qi@linaro.org>
15043
15044 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15045 is zero.
15046
15047 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15048
15049 * gdb.arch/cordic.ko.bz2: New file.
15050 * gdb.arch/cordic.ko.debug.bz2: New file.
15051 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15052
15053 2015-02-25 Yao Qi <yao.qi@linaro.org>
15054
15055 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15056 aarch64*-*-* target.
15057
15058 2015-02-23 Pedro Alves <palves@redhat.com>
15059
15060 * lib/gdb.exp (delete_breakpoints): Rewrite using
15061 gdb_test_multiple.
15062
15063 2015-02-23 Pedro Alves <palves@redhat.com>
15064
15065 * gdb.base/info-os.c: Include stdlib.h.
15066
15067 2015-02-22 Doug Evans <xdje42@gmail.com>
15068
15069 PR symtab/17855
15070 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15071 is read after symbols have been re-read.
15072 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15073 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15074
15075 2015-02-21 Doug Evans <dje@google.com>
15076
15077 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15078
15079 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15080
15081 PR corefiles/17808
15082 * gdb.arch/i386-biarch-core.core.bz2: New file.
15083 * gdb.arch/i386-biarch-core.exp: New file.
15084
15085 2015-02-21 Pedro Alves <palves@redhat.com>
15086
15087 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15088 runto_main fails.
15089
15090 2015-02-20 Pedro Alves <palves@redhat.com>
15091
15092 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15093 info probes.
15094
15095 2015-02-20 Pedro Alves <palves@redhat.com>
15096
15097 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15098
15099 2015-02-20 Pedro Alves <palves@redhat.com>
15100
15101 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15102 clean_restart before gdb_target_supports_trace.
15103
15104 2015-02-20 Pedro Alves <palves@redhat.com>
15105
15106 PR threads/18006
15107 * gdb.threads/clone-thread_db.c: New file.
15108 * gdb.threads/clone-thread_db.exp: New file.
15109
15110 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15111
15112 PR breakpoints/16812
15113 * gdb.base/catch-gdb-caused-signals.c: New file.
15114 * gdb.base/catch-gdb-caused-signals.exp: New file.
15115
15116 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15117
15118 * configure: Regenerated.
15119 * configure.ac: Use GDB_AC_TRANSFORM.
15120 * aclocal.m4: sinclude ../transform.m4.
15121
15122 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15123
15124 * lib/dtrace.exp: New file.
15125 * gdb.base/dtrace-probe.exp: Likewise.
15126 * gdb.base/dtrace-probe.d: Likewise.
15127 * gdb.base/dtrace-probe.c: Likewise.
15128 * lib/pdtrace.in: Likewise.
15129 * configure.ac: Output variables with the transformed names of
15130 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15131 * configure: Regenerated.
15132
15133 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15134
15135 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15136 expected message when trying to access $_probe_* convenience
15137 variables while not on a probe.
15138
15139 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15140
15141 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15142
15143 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15144
15145 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15146 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15147
15148 2015-02-10 Doug Evans <xdje42@gmail.com>
15149
15150 * lib/gdb.exp (gdb_load): Always return a result.
15151
15152 2015-02-10 Pedro Alves <palves@redhat.com>
15153
15154 * gdb.threads/signal-sigtrap.c: New file.
15155 * gdb.threads/signal-sigtrap.exp: New file.
15156
15157 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15158
15159 * gdb.trace/no-attach-trace.c: New file.
15160 * gdb.trace/no-attach-trace.exp: New file.
15161
15162 2015-02-09 Mark Wielaard <mjw@redhat.com>
15163
15164 * gdb.dwarf2/atomic.c: New file.
15165 * gdb.dwarf2/atomic-type.exp: Likewise.
15166
15167 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15168
15169 * gdb.btrace/buffer-size.exp: Update "info record" output.
15170 * gdb.btrace/delta.exp: Update "info record" output.
15171 * gdb.btrace/enable.exp: Update "info record" output.
15172 * gdb.btrace/finish.exp: Update "info record" output.
15173 * gdb.btrace/instruction_history.exp: Update "info record" output.
15174 * gdb.btrace/next.exp: Update "info record" output.
15175 * gdb.btrace/nexti.exp: Update "info record" output.
15176 * gdb.btrace/step.exp: Update "info record" output.
15177 * gdb.btrace/stepi.exp: Update "info record" output.
15178 * gdb.btrace/nohist.exp: Update "info record" output.
15179
15180 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15181
15182 * gdb.btrace/buffer-size: New.
15183
15184 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15185
15186 * gdb.btrace/delta.exp: Update "info record" output.
15187 * gdb.btrace/enable.exp: Update "info record" output.
15188 * gdb.btrace/finish.exp: Update "info record" output.
15189 * gdb.btrace/instruction_history.exp: Update "info record" output.
15190 * gdb.btrace/next.exp: Update "info record" output.
15191 * gdb.btrace/nexti.exp: Update "info record" output.
15192 * gdb.btrace/step.exp: Update "info record" output.
15193 * gdb.btrace/stepi.exp: Update "info record" output.
15194 * gdb.btrace/nohist.exp: Update "info record" output.
15195
15196 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15197
15198 PR gdb/15678
15199 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15200
15201 2015-02-06 Pedro Alves <palves@redhat.com>
15202
15203 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15204 macro.
15205 (seconds_left, again): New globals.
15206 (main): Wait seconds_left in a 1-second sleep loop instead of
15207 sleeping 180 seconds. If 'again' is set, reset the seconds
15208 counter.
15209 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15210 'again' in the inferior before detaching. Print the seconds left.
15211 (options): New global.
15212 (top level): Build program with -DTIMEOUT=$timeout.
15213
15214 2015-02-06 Pedro Alves <palves@redhat.com>
15215
15216 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15217 determine how many seconds to pass to 'alarm'.
15218 * gdb.base/gdb-sigterm.exp (top level): Build program with
15219 -DTIMEOUT=$timeout.
15220 (do_test): Return success/failure indication. Add more verbose
15221 logging. Don't fail if 200 single steps are seen. Instead, fail
15222 when the test times out.
15223 (passes): New global.
15224 (top level): Break the testing loop if testing fails on any
15225 iteration. Use gdb_assert.
15226
15227 2015-02-04 Don Breazeal <donb@codesourcery.com>
15228
15229 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15230 and initialize them.
15231 (ipc_cleanup): New function.
15232 (main): Don't declare shmid, semid, and msqid. Add a call to
15233 atexit so that we call ipc_cleanup on exit.
15234
15235 2015-02-04 Pedro Alves <palves@redhat.com>
15236
15237 * boards/native-extended-gdbserver.exp: Remove any target variant
15238 specifications from the board name before clearing the isremote
15239 flag from board_info.
15240
15241 2015-01-31 Doug Evans <xdje42@gmail.com>
15242
15243 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15244
15245 2015-01-31 Gary Benson <gbenson@redhat.com>
15246
15247 * gdb.base/completion.exp: Disable completion limiting for
15248 existing tests. Add new tests to check completion limiting.
15249 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15250
15251 2015-01-31 Doug Evans <xdje42@gmail.com>
15252
15253 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15254
15255 2015-01-31 Doug Evans <xdje42@gmail.com>
15256
15257 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15258 entries. Duplicate file section script entries.
15259 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15260 inlined entries. Add test for safe-path rejection.
15261 * gdb.python/py-section-script.c: Add duplicate inlined section script
15262 entries. Duplicate file section script entries.
15263 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15264 inlined entries. Add test for safe-path rejection.
15265
15266 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15267
15268 * gdb.ada/disc_arr_bound: New testcase.
15269
15270 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15271
15272 * gdb.ada/mi_var_array: New testcase.
15273
15274 2015-01-27 Doug Evans <dje@google.com>
15275
15276 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15277 Add test for objfile.filename, objfile.username after objfile
15278 has been unloaded.
15279
15280 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15281
15282 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15283 the second test to print the name attribute of value
15284 returned by the call to gdb.lookup_type, and adjust
15285 the expected output accordingly.
15286
15287 2015-01-25 Mark Wielaard <mjw@redhat.com>
15288
15289 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15290 * gdb.base/disp-step-fork.c: Include unistd.h.
15291 * gdb.base/siginfo-obj.c: Include stdio.h.
15292 * gdb.base/siginfo-thread.c: Likewise.
15293 * gdb.mi/non-stop.c: Include unistd.h.
15294 * gdb.mi/nsthrexec.c: Include stdio.h.
15295 * gdb.mi/pthreads.c: Include unistd.h.
15296 * gdb.modula2/unbounded1.c (main): Declare returns int.
15297 * gdb.reverse/consecutive-reverse.c: Likewise.
15298 * gdb.threads/create-fail.c: Include unistd.h.
15299 * gdb.threads/killed.c: Likewise.
15300 * gdb.threads/linux-dp.c: Likewise.
15301 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15302 * gdb.threads/non-ldr-exc-2.c: Likewise.
15303 * gdb.threads/non-ldr-exc-3.c: Likewise.
15304 * gdb.threads/non-ldr-exc-4.c: Likewise.
15305 * gdb.threads/pthreads.c: Include unistd.h.
15306 (main): Declare returns int.
15307 * gdb.threads/tls-main.c (foo): New declaration.
15308 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15309
15310 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15311
15312 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15313 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15314
15315 2015-01-15 Mark Wielaard <mjw@redhat.com>
15316
15317 * gdb.base/noreturn-return.c: New file.
15318 * gdb.base/noreturn-return.exp: New file.
15319 * gdb.base/noreturn-finish.c: New file.
15320 * gdb.base/noreturn-finish.exp: New file.
15321
15322 2015-01-23 Pedro Alves <palves@redhat.com>
15323
15324 * gdb.threads/continue-pending-after-query.c: New file.
15325 * gdb.threads/continue-pending-after-query.exp: New file.
15326
15327 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15328 Simon Marchi <simon.marchi@ericsson.com>
15329
15330 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15331 * gdb.base/valgrind-db-attach.exp: Same.
15332 * gdb.base/valgrind-infcall.exp: Same.
15333 * lib/mi-support.exp (default_mi_gdb_start): Same.
15334 * lib/prompt.exp (default_prompt_gdb_start): Same.
15335 * lib/gdb.exp (default_gdb_spawn): Same.
15336 (gdb_interact): New.
15337
15338
15339 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15340
15341 * gdb.compile/compile.exp (pointer to jit function): New test.
15342
15343 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15344
15345 * lib/gdb.exp (supports_process_record): Return true for
15346 powerpc*-*-linux*.
15347 (supports_reverse): Likewise.
15348
15349 2015-01-15 Don Breazeal <donb@codesourcery.com>
15350
15351 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15352 instead of checking whether the target board is remote and
15353 use spawn_wait_for_attach instead of exec/sleep.
15354 * gdb.base/attach-twice.exp: Likewise.
15355
15356 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15357
15358 * gdb.ada/var_arr_attrs: New testcase.
15359
15360 2015-01-14 Pedro Alves <palves@redhat.com>
15361 Joel Brobecker <brobecker@adacore.com>
15362
15363 PR gdb/17525
15364 * gdb.base/bp-cmds-execution-x-script.c: New file.
15365 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15366 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15367
15368 2015-01-14 Pedro Alves <palves@redhat.com>
15369
15370 PR cli/17828
15371 * gdb.base/batch-preserve-term-settings.c: New file.
15372 * gdb.base/batch-preserve-term-settings.exp: New file.
15373
15374 2015-01-13 Doug Evans <dje@google.com>
15375
15376 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15377 binary.
15378
15379 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15380
15381 * Makefile.in (clean mostlyclean): Do not delete *.py.
15382
15383 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15384
15385 * gdb.python/py-lookup-type.exp: New file.
15386
15387 2015-01-12 Pedro Alves <palves@redhat.com>
15388
15389 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15390 restore GDBFLAGS before returning.
15391
15392 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15393
15394 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15395 is_amd64_regs_target and is_x86_like_target.
15396
15397 2015-01-11 Doug Evans <xdje42@gmail.com>
15398
15399 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15400 is given without an explicit form.
15401 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15402 attributes.
15403 * gdb.dwarf/corrupt.exp: Ditto.
15404 * gdb.dwarf2/enum-type.exp: Ditto.
15405 * gdb.trace/entry-values.exp: Ditto.
15406 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15407
15408 2015-01-11 Doug Evans <xdje42@gmail.com>
15409
15410 PR gdb/15830
15411 * gdb.base/maint.exp: Remove references to "maint demangle".
15412 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15413 Add tests for explicitly specifying language to demangle.
15414 * gdb.dlang/demangle.exp: Ditto.
15415
15416 2015-01-09 Pedro Alves <palves@redhat.com>
15417
15418 * gdb.threads/non-stop-fair-events.c: New file.
15419 * gdb.threads/non-stop-fair-events.exp: New file.
15420
15421 2015-01-09 Pedro Alves <palves@redhat.com>
15422
15423 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15424 the global scope. Set a breakpoint after all threads are started
15425 rather than stepping over two source lines. Expect the prompt.
15426 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15427 global.
15428 (NUM): Now 15.
15429 (main): Use threads_started_barrier to wait for all threads to
15430 start. Main thread no longer calls thread_function. Exit after
15431 180 seconds.
15432 (loop): New function.
15433 (thread_function): Wait on threads_started_barrier barrier. Call
15434 'loop' at each iteration.
15435 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15436 threads have started, instead of hardcoding number of "next"
15437 steps. Use an access watchpoint instead of a write watchpoint.
15438
15439 2015-01-09 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15442 (thread_func): Wait on barrier.
15443 (main): Wait for all threads to start before stopping GDB.
15444 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15445 global.
15446 (thread1_func, thread2_func): Wait on barrier.
15447 (main): Wait for all threads to start before stopping GDB.
15448 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15449 New global.
15450 (thread1_func, thread2_func): Wait on barrier.
15451 (main): Wait for all threads to start before stopping GDB.
15452
15453 2015-01-09 Pedro Alves <palves@redhat.com>
15454
15455 * gdb.threads/attach-many-short-lived-threads.c: New file.
15456 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15457
15458 2014-01-09 Pedro Alves <palves@redhat.com>
15459
15460 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15461 instead of to thread 2.
15462 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15463 Add barrier around each pthread_create call instead of around all
15464 calls.
15465 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15466 Set a break on thread_function and have the child threads hit it
15467 one at at a time.
15468
15469 2015-01-09 Pedro Alves <palves@redhat.com>
15470
15471 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15472 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15473 false.
15474 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15475 checking whether the target board is remote.
15476 * gdb.multi/multi-attach.exp: Likewise.
15477 * gdb.python/py-sync-interp.exp: Likewise.
15478 * gdb.server/ext-attach.exp: Likewise.
15479 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15480 tests that need to attach, instead of checking whether the target
15481 board is remote at the top of the file.
15482
15483 2015-01-08 Yao Qi <yao@codesourcery.com>
15484
15485 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15486
15487 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15488
15489 Fix testcase compilation.
15490 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15491
15492 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15493
15494 * gdb.python/py-type.exp: Add a couple test about empty
15495 array creation, and negative-length array creation.
15496
15497 2015-01-02 Doug Evans <xdje42@gmail.com>
15498
15499 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15500
15501 2015-01-02 Doug Evans <dje@google.com>
15502
15503 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15504
15505 2014-12-29 Yao Qi <yao@codesourcery.com>
15506
15507 * gdb.trace/entry-values.exp: Update comments. Rename variable
15508 bar_call_foo to returned_from_foo.
15509
15510 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15511
15512 PR gdb/17394
15513 * gdb.linespec/break-asm-file.c: New file.
15514 * gdb.linespec/break-asm-file.exp: New file.
15515 * gdb.linespec/break-asm-file0.s: New file.
15516 * gdb.linespec/break-asm-file1.s: New file.
15517
15518 2014-12-18 Nigel Stephens <nigel@mips.com>
15519 Maciej W. Rozycki <macro@codesourcery.com>
15520
15521 * gdb.base/float.exp: Handle the new output from "info float" on
15522 MIPS targets.
15523
15524 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15525
15526 Fix MinGW compilation.
15527 * gdb.compile/compile-ops.exp: Update untested message if
15528 !skip_compile_feature_tests.
15529 * gdb.compile/compile-setjmp.exp: Likewise.
15530 * gdb.compile/compile-tls.exp: Likewise.
15531 * gdb.compile/compile.exp: Likewise.
15532 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15533 supported on this host".
15534
15535 2014-12-16 Doug Evans <xdje42@gmail.com>
15536
15537 * boards/stabs.exp: New file.
15538
15539 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15540
15541 * gdb.base/completion.exp: Adjust to format changes of "maint
15542 print user-registers".
15543
15544 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15545
15546 PR server/17457
15547 * gdb.arch/aarch64-fp.c: New file.
15548 * gdb.arch/aarch64-fp.exp: New file.
15549
15550 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15551
15552 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15553 r210637, r210913, r211666, r215400, r215817).
15554
15555 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15556 * dg-extract-results.py: New file.
15557 * dg-extract-results.sh: Use it if the environment seems
15558 suitable.
15559
15560 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15561
15562 * dg-extract-results.py (parse_run): Handle warnings that
15563 are printed before a test harness is run.
15564
15565 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15566
15567 * dg-extract-results.py (Named): Remove __cmp__ method.
15568 (output_variation): Use a key to sort variation.harnesses.
15569
15570 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15571
15572 * dg-extract-results.py: For Python 3, force sys.stdout to
15573 handle surrogate escape sequences.
15574 (safe_open): New function.
15575 (output_segment, main): Use it.
15576
15577 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15578
15579 * dg-extract-results.py (Prog.result_re): Include options
15580 in test name.
15581
15582 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15583
15584 * dg-extract-results.py (output_variation): Always sort if
15585 do_sum.
15586
15587 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15588
15589 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15590 as long as we get pagination notifications.
15591
15592 2014-12-15 Jason Merrill <jason@redhat.com>
15593
15594 * Makefile.in (check-gdb.%): Restore.
15595 * README: Mention it.
15596
15597 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15598
15599 * gdb.ada/str_uninit: New testcase.
15600
15601 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15602
15603 PR symtab/17642
15604 * gdb.base/vla-stub-define.c: New file.
15605 * gdb.base/vla-stub.c: New file.
15606 * gdb.base/vla-stub.exp: New file.
15607
15608 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15609 Jan Kratochvil <jan.kratochvil@redhat.com>
15610 Tom Tromey <tromey@redhat.com>
15611
15612 * configure.ac: Add gdb.compile/.
15613 * configure: Regenerate.
15614 * gdb.compile/Makefile.in: New file.
15615 * gdb.compile/compile-ops.exp: New file.
15616 * gdb.compile/compile-ops.c: New file.
15617 * gdb.compile/compile-tls.c: New file.
15618 * gdb.compile/compile-tls.exp: New file.
15619 * gdb.compile/compile-constvar.S: New file.
15620 * gdb.compile/compile-constvar.c: New file.
15621 * gdb.compile/compile-mod.c: New file.
15622 * gdb.compile/compile-nodebug.c: New file.
15623 * gdb.compile/compile-setjmp-mod.c: New file.
15624 * gdb.compile/compile-setjmp.c: New file.
15625 * gdb.compile/compile-setjmp.exp: New file.
15626 * gdb.compile/compile-shlib.c: New file.
15627 * gdb.compile/compile.c: New file.
15628 * gdb.compile/compile.exp: New file.
15629 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15630
15631 2014-12-12 Tom Tromey <tromey@redhat.com>
15632
15633 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15634 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15635
15636 2014-12-12 Doug Evans <dje@google.com>
15637
15638 * lib/gdb-python.exp (get_python_valueof): New function.
15639 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15640
15641 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15642
15643 * gdb.base/completion.exp: Add test for completion of "info
15644 registers ".
15645
15646 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15647
15648 * gdb.base/func-ptrs.c: New file.
15649 * gdb.base/func-ptrs.exp: New file.
15650
15651 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15652
15653 PR breakpoints/17012
15654 * gdb.base/dprintf-detach.c: New file.
15655 * gdb.base/dprintf-detach.exp: New file.
15656
15657 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15658
15659 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15660 * lib/gdb.exp (target_is_gdbserver): New procedure.
15661
15662 2014-12-08 Doug Evans <dje@google.com>
15663
15664 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15665
15666 2014-12-05 Yao Qi <yao@codesourcery.com>
15667
15668 * gdb.guile/scm-error.exp: Remove the third argument to
15669 gdb_remote_download.
15670 * gdb.guile/scm-frame-args.exp: Likewise.
15671 * gdb.guile/scm-section-script.exp: Likewise.
15672
15673 2014-12-05 Yao Qi <yao@codesourcery.com>
15674
15675 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15676
15677 2014-12-04 Doug Evans <dje@google.com>
15678
15679 * gdb.python/py-objfile.exp: Add tests for
15680 objfile.add_separate_debug_file.
15681
15682 2014-12-04 Doug Evans <dje@google.com>
15683
15684 * lib/gdb.exp (get_build_id): New function.
15685 (build_id_debug_filename_get): Rewrite to use it.
15686 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15687
15688 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15689
15690 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15691 `method(long)', not just 0x0.
15692 * gdb.cp/nsalias.exp: Align code labels to 4.
15693 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15694 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15695 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15696 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15697 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15698 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15699
15700 2014-12-02 Doug Evans <dje@google.com>
15701
15702 PR symtab/17602
15703 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15704 * gdb.cp/anon-ns2.cc: ... here. New file.
15705 * gdb.cp/anon-ns.exp: Update.
15706
15707 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15708
15709 * gdb.python/py-events.py (inferior_call_handler): New.
15710 (register_changed_handler, memory_changed_handler): New.
15711 (test_events.invoke): Register new handlers.
15712 * gdb.python/py-events.exp: Add tests for inferior call,
15713 memory_changed and register_changed events.
15714
15715 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15716
15717 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15718 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15719 if the linker doesn't understand this.
15720
15721 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15722
15723 * gdb.python/python.exp: Change expected reply to help().
15724
15725 2014-12-01 Yao Qi <yao@codesourcery.com>
15726
15727 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15728 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15729 * configure: Re-generated.
15730
15731 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15732
15733 * gdb.cp/chained-calls.cc: New file.
15734 * gdb.cp/chained-calls.exp: New file.
15735 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15736
15737 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15738
15739 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15740 * gdb.dwarf2/symtab-producer.exp: Same.
15741 * gdb.gdb/python-interrupts.exp: Same.
15742 * gdb.gdb/python-selftest.exp: Same.
15743 * gdb.python/py-linetable.exp: Same.
15744 * gdb.python/py-type.exp: Same.
15745 * gdb.python/py-value-cc.exp: Same.
15746 * gdb.python/py-value.exp: Same.
15747
15748 2014-11-28 Yao Qi <yao@codesourcery.com>
15749
15750 * gdb.base/break-probes.exp: Match library name prefixed with
15751 sysroot.
15752
15753 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15754
15755 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15756 test expected output. Add parentheses for the call to print.
15757 Remove L suffix from integers.
15758
15759 2014-11-26 Doug Evans <dje@google.com>
15760
15761 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15762
15763 2014-11-22 Yao Qi <yao@codesourcery.com>
15764
15765 * gdb.trace/entry-values.c: Remove asms.
15766 (foo): Add foo_label.
15767 (bar): Add bar_label.
15768 * gdb.trace/entry-values.exp: Remove code computing foo's
15769 length and bar's length.
15770 (Dwarf::assemble): Invoke function_range for bar and use
15771 MACRO_AT_func for foo.
15772
15773 2014-11-22 Yao Qi <yao@codesourcery.com>
15774
15775 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15776 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15777 Use .Lgcc43_procstart instead of gcc43.
15778
15779 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15780
15781 * gdb.ada/n_arr_bound: New testcase.
15782
15783 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15784
15785 PR breakpoints/10737
15786 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15787 test_catch_syscall_multi_arch.
15788 (test_catch_syscall_multi_arch): New function.
15789
15790 2014-11-20 Doug Evans <xdje42@gmail.com>
15791
15792 * gdb.base/maint.exp: Update expected output.
15793
15794 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15795
15796 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15797 4-byte instruction on S390.
15798
15799 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15800
15801 * gdb.ada/arr_arr: New testcase.
15802
15803 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15804
15805 * gdb.ada/pkd_arr_elem: New Testcase.
15806
15807 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15808
15809 * gdb.reverse/break-precsave: Expect completion message for
15810 core file reads.
15811 * gdb.reverse/consecutive-precsave.exp: Likewise.
15812 * gdb.reverse/finish-precsave.exp: Likewise.
15813 * gdb.reverse/i386-precsave.exp: Likewise.
15814 * gdb.reverse/machinestate-precsave.exp: Likewise.
15815 * gdb.reverse/sigall-precsave.exp: Likewise.
15816 * gdb.reverse/solib-precsave.exp: Likewise.
15817 * gdb.reverse/step-precsave.exp: Likewise.
15818 * gdb.reverse/until-precsave.exp: Likewise.
15819 * gdb.reverse/watch-precsave.exp: Likewise.
15820
15821 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15822
15823 * gdb.base/bp-permanent.c: Include unistd.h.
15824 * gdb.python/py-framefilter-mi.c (main): Add return type.
15825 * gdb.python/py-framefilter.c (main): Likewise.
15826 * gdb.trace/actions-changed.c (main): Likewise.
15827
15828 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15829
15830 * gdb.mi/until.c: Add eye-catchers.
15831 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15832 line numbers.
15833
15834 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15835
15836 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15837 function header variants in break1.c.
15838 * gdb.base/ena-dis-br.exp: Likewise.
15839 * gdb.base/hbreak2.exp: Likewise.
15840 * gdb.reverse/until-precsave.exp: Drop references to removed
15841 non-prototype function header variants in ur1.c.
15842 * gdb.reverse/until-reverse.exp: Likewise.
15843
15844 2014-11-17 Petr Machata <pmachata@redhat.com>
15845
15846 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15847 ${_cu_offset_size} bytes abbrev offset.
15848
15849 2014-11-15 Doug Evans <xdje42@gmail.com>
15850
15851 PR symtab/17559
15852 * gdb.base/line-symtabs.exp: New file.
15853 * gdb.base/line-symtabs.c: New file.
15854 * gdb.base/line-symtabs.h: New file.
15855
15856 2014-11-14 Yao Qi <yao@codesourcery.com>
15857
15858 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15859 (func): Add label func_label.
15860 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15861 Replace low_pc and high_pc with MACRO_AT_range.
15862 Replace name, low_pc and high_pc with MACRO_AT_func.
15863
15864 2014-11-14 Yao Qi <yao@codesourcery.com>
15865
15866 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15867 Replace name, low_pc and high_pc with MACRO_AT_func.
15868
15869 2014-11-14 Yao Qi <yao@codesourcery.com>
15870
15871 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15872 produce debug information.
15873 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15874
15875 2014-11-14 Yao Qi <yao@codesourcery.com>
15876
15877 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15878 object and get function length.
15879 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15880 with MACRO_AT_func.
15881 (top-level): Replace gdb_compile and clean_restart with
15882 prepare_for_testing.
15883 * gdb.dwarf2/main.c (main): Add label main_label.
15884
15885 2014-11-14 Yao Qi <yao@codesourcery.com>
15886
15887 * lib/dwarf.exp (function_range): New procedure.
15888 (Dwarf::_handle_macro_at_func): New procedure.
15889 (Dwarf::_handle_macro_at_range): New procedure.
15890 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15891
15892 2014-11-14 Yao Qi <yao@codesourcery.com>
15893
15894 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15895 (_handle_attribute): New procedure.
15896
15897 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15898
15899 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15900 * gdb.base/call-sc.c (zed): Likewise.
15901 * gdb.base/checkpoint.c (main): Likewise.
15902 * gdb.base/dump.c (main): Likewise.
15903 * gdb.base/gcore.c (main): Likewise.
15904 * gdb.base/huge.c (main): Likewise.
15905 * gdb.base/multi-forks.c (main): Likewise.
15906 * gdb.base/pr10179-a.c (main): Likewise.
15907 * gdb.base/savedregs.c (main): Likewise.
15908 * gdb.base/sigaltstack.c (main): Likewise.
15909 * gdb.base/siginfo.c (main): Likewise.
15910 * gdb.base/structs.c (zed): Likewise.
15911 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15912 * gdb.mi/mi-syn-frame.c (main): Likewise.
15913 * gdb.mi/until.c (foo, main): Likewise.
15914 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15915 * gdb.base/solib-weak.c (foo): Declare.
15916 * gdb.base/attach-twice.c: Include stdio.h.
15917 * gdb.base/weaklib1.c: Likewise.
15918 * gdb.base/weaklib2.c: Likewise.
15919 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15920 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15921 unistd.h.
15922 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15923 * gdb.mi/mi-exit-code.c: Likewise.
15924 * gdb.base/break-interp-lib.c: Include string.h.
15925 * gdb.base/coremaker.c: Likewise.
15926 * gdb.base/testenv.c: Likewise.
15927 * gdb.python/py-finish-breakpoint.c: Likewise.
15928 * gdb.base/inferior-died.c: Include sys/wait.h.
15929 * gdb.base/fileio.c: Include time.h.
15930 * gdb.base/async-shell.c: Include unistd.h.
15931 * gdb.base/dprintf-non-stop.c: Likewise.
15932 * gdb.base/info-os.c: Likewise.
15933 * gdb.mi/mi-console.c: Likewise.
15934 * gdb.mi/watch-nonstop.c: Likewise.
15935 * gdb.python/py-events.c: Likewise.
15936 * gdb.base/async.c (baz): Move up before its invocation.
15937 * gdb.base/code_elim2.c (my_global_func): Likewise.
15938 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15939 * gdb.base/advance.c (func2): Likewise.
15940
15941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15942
15943 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15944 variant.
15945 * gdb.base/annota3.c: Likewise.
15946 * gdb.base/async.c: Likewise.
15947 * gdb.base/average.c: Likewise.
15948 * gdb.base/call-ar-st.c: Likewise.
15949 * gdb.base/call-rt-st.c: Likewise.
15950 * gdb.base/call-sc.c: Likewise.
15951 * gdb.base/call-strs.c: Likewise.
15952 * gdb.base/ending-run.c: Likewise.
15953 * gdb.base/execd-prog.c: Likewise.
15954 * gdb.base/exprs.c: Likewise.
15955 * gdb.base/foll-exec.c: Likewise.
15956 * gdb.base/foll-fork.c: Likewise.
15957 * gdb.base/foll-vfork.c: Likewise.
15958 * gdb.base/funcargs.c: Likewise.
15959 * gdb.base/gcore.c: Likewise.
15960 * gdb.base/jump.c: Likewise.
15961 * gdb.base/langs0.c: Likewise.
15962 * gdb.base/langs1.c: Likewise.
15963 * gdb.base/langs2.c: Likewise.
15964 * gdb.base/mips_pro.c: Likewise.
15965 * gdb.base/nodebug.c: Likewise.
15966 * gdb.base/opaque0.c: Likewise.
15967 * gdb.base/opaque1.c: Likewise.
15968 * gdb.base/recurse.c: Likewise.
15969 * gdb.base/run.c: Likewise.
15970 * gdb.base/scope0.c: Likewise.
15971 * gdb.base/scope1.c: Likewise.
15972 * gdb.base/setshow.c: Likewise.
15973 * gdb.base/setvar.c: Likewise.
15974 * gdb.base/shmain.c: Likewise.
15975 * gdb.base/shr1.c: Likewise.
15976 * gdb.base/shr2.c: Likewise.
15977 * gdb.base/sigall.c: Likewise.
15978 * gdb.base/signals.c: Likewise.
15979 * gdb.base/so-indr-cl.c: Likewise.
15980 * gdb.base/solib2.c: Likewise.
15981 * gdb.base/structs.c: Likewise.
15982 * gdb.base/sum.c: Likewise.
15983 * gdb.base/vforked-prog.c: Likewise.
15984 * gdb.base/watchpoint.c: Likewise.
15985 * gdb.reverse/shr2.c: Likewise.
15986 * gdb.reverse/until-reverse.c: Likewise.
15987 * gdb.reverse/ur1.c: Likewise.
15988 * gdb.reverse/watch-reverse.c: Likewise.
15989
15990 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15991
15992 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15993 variant.
15994 * gdb.base/sepdebug.exp: Drop references to removed code.
15995
15996 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15997
15998 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15999 variant. Preserve original line numbering.
16000 * gdb.base/list1.c: Likewise.
16001
16002 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16003
16004 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16005 variant.
16006 * gdb.base/break1.c: Likewise.
16007 * gdb.base/break.exp: Drop references to removed code.
16008
16009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16010
16011 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16012 variant.
16013
16014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16015
16016 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16017
16018 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16019
16020 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16021 logic into perform_all_tests() and invoke it with and without
16022 function header prototypes.
16023 (do_function_calls): Remove conditional XFAIL for PR 5318.
16024 (rerun_and_prepare): Remove duplicate code.
16025 (perform_all_tests): New. Main logic moved here.
16026
16027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16028
16029 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16030 code guarded by #ifdef NO_PROTOTYPES.
16031 (t_double_many_args): Likewise.
16032 (DEF_FUNC_MANY_ARGS_1): Likewise.
16033 (DEF_FUNC_VALUES_1): Likewise.
16034 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16035 guarded by #ifdef PROTOTYPES.
16036
16037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16038
16039 * gdb.mi/mi-console.c: Add eye-catcher.
16040 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16041 instead of literal line number.
16042
16043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16044
16045 * gdb.base/shr2.c: Add eye-catcher.
16046 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16047 line number.
16048
16049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16050
16051 * gdb.base/jump.c: Add eye-catchers.
16052 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16053 numbers.
16054
16055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16056
16057 * gdb.base/execd-prog.c: Add eye-catchers.
16058 * gdb.base/foll-exec.c: Likewise.
16059 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16060 line numbers.
16061
16062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16063
16064 * gdb.base/ending-run.c: Add eye-catchers.
16065 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16066 literal line numbers.
16067
16068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16069
16070 * gdb.base/call-rt-st.c: Add eye-catchers.
16071 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16072 literal line numbers.
16073
16074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16075
16076 * gdb.base/call-ar-st.c: Add eye-catchers.
16077 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16078 literal line numbers.
16079
16080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16081
16082 * gdb.base/average.c: Add eye-catchers.
16083 * gdb.base/sum.c: Likewise.
16084 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16085 regexps dynamically.
16086
16087 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16088
16089 * gdb.base/solib1.c: Add eye-catchers.
16090 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16091 literal line numbers.
16092
16093 2014-11-12 Pedro Alves <palves@redhat.com>
16094
16095 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16096 leader has exited.
16097
16098 2014-11-12 Pedro Alves <palves@redhat.com>
16099
16100 * gdb.arch/i386-bp_permanent.c: New file.
16101 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16102 (srcfile): Set to i386-bp_permanent.c.
16103 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16104 that stepi does not execute the 'leave' instruction, instead of
16105 testing it does execute.
16106 * gdb.base/bp-permanent.c: New file.
16107 * gdb.base/bp-permanent.exp: New file.
16108
16109 2014-11-10 Doug Evans <xdje42@gmail.com>
16110
16111 PR symtab/17564
16112 * gdb.base/symtab-search-order.exp: New file.
16113 * gdb.base/symtab-search-order.c: New file.
16114 * gdb.base/symtab-search-order-1.c: New file.
16115 * gdb.base/symtab-search-order-shlib-1.c: New file.
16116
16117 2014-11-07 Pedro Alves <palves@redhat.com>
16118
16119 PR gdb/17511
16120 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16121 i?86-*-linux*.
16122
16123 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16124
16125 PR c++/17494
16126 * gdb.cp/pr17494.cc: New file.
16127 * gdb.cp/pr17494.exp: New file.
16128
16129 2014-11-02 Yao Qi <yao@codesourcery.com>
16130
16131 * gdb.python/python.exp: Get working directory and match the
16132 output of "set extended-prompt \\w " with it.
16133
16134 2014-10-30 Doug Evans <dje@google.com>
16135
16136 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16137 in objfiles.
16138 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16139 in progspaces.
16140
16141 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16142
16143 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16144 * gdb.base/realname-expand.exp: Likewise.
16145 * gdb.linespec/macro-relative.exp: Likewise.
16146
16147 2014-10-29 Pedro Alves <palves@redhat.com>
16148
16149 PR gdb/17408
16150 * gdb.threads/schedlock.c (some_function): New function.
16151 (call_function): New global.
16152 (MAYBE_CALL_SOME_FUNCTION): New macro.
16153 (thread_function): Call it.
16154 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16155 and use it instead of a global counter. Adjust all callers.
16156 (get_current_thread): Use "find current thread" for test message
16157 here rather than having all callers pass down the same string.
16158 (goto_loop): New procedure, factored out from ...
16159 (my_continue): ... this.
16160 (step_ten_loops): Change parameter from test message to command to
16161 use. Adjust.
16162 (list_count): Delete global.
16163 (check_result): New procedure, factored out from duplicate top
16164 level code.
16165 (continue tests): Wrap in with_test_prefix.
16166 (test_step): New procedure, factored out from duplicate top level
16167 code.
16168 (top level): Test "step" in combination with all scheduler-locking
16169 modes. Test "next" in combination with all scheduler-locking
16170 modes, and in combination with stepping over a function call or
16171 not.
16172 * gdb.threads/next-bp-other-thread.c: New file.
16173 * gdb.threads/next-bp-other-thread.exp: New file.
16174
16175 2014-10-29 Pedro Alves <palves@redhat.com>
16176
16177 PR python/17372
16178 * gdb.python/python.exp: Test a multi-line command that spawns
16179 interactive Python.
16180 * gdb.base/multi-line-starts-subshell.exp: New file.
16181
16182 2014-10-29 Yao Qi <yao@codesourcery.com>
16183
16184 * gdb.base/fileio.exp: Make directories on host.
16185
16186 2014-10-29 Yao Qi <yao@codesourcery.com>
16187
16188 * gdb.base/fileio.c (test_write): Close the file.
16189
16190 2014-10-28 Pedro Alves <palves@redhat.com>
16191
16192 PR gdb/12623
16193 * gdb.base/sigstep.c (no_handler): New global.
16194 (main): If 'no_handler is true, set the signal handlers to
16195 SIG_IGN.
16196 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16197 with_sw_watch and no_handler parameters. Handle them.
16198 (top level) <stepping over handler when stopped at a breakpoint
16199 test>: Add a test axis for testing with a software watchpoint, and
16200 another for testing with the signal handler set to SIG_IGN.
16201 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16202 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16203
16204 2014-10-28 Pedro Alves <palves@redhat.com>
16205
16206 PR gdb/17511
16207 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16208 * gdb.base/sigstep.exp (other_handler_location): New global.
16209 (advance): Support stepping into the signal handler, and running
16210 commands while in the handler.
16211 (in_handler_map): New global.
16212 (top level): In the advance test, add combinations for getting
16213 into the handler with stepping commands, and for running commands
16214 in the handler. Add comment descripting the advancei tests.
16215
16216 2014-10-28 Pedro Alves <palves@redhat.com>
16217
16218 * gdb.base/sigstep.exp: Use build_executable instead of
16219 prepare_for_testing.
16220 (top level): Move code that starts GDB, runs to main and creates a
16221 display to ...
16222 (restart): ... this new procedure.
16223 (top level): Move backtrace from signal handler test to ...
16224 (validate_backtrace): ... this new procedure.
16225 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16226 with_test_prefix. Always restart GDB.
16227 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16228 with_test_prefix. Always restart GDB. No need to delete
16229 breakpoints after the test.
16230 (test_skip_handler): Remove prefix parameter.
16231 (skip_over_handler, breakpoint_to_handler)
16232 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16233 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16234 restart GDB. No need to delete breakpoints after the test.
16235 (top level): Use foreach to call the test procedures with
16236 different commands.
16237
16238 2014-10-28 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16241 instead of GNATS numbers.
16242 * gdb.base/sigbpt.exp: Likewise.
16243 * gdb.base/siginfo.exp: Likewise.
16244 * gdb.base/sigstep.exp: Likewise.
16245
16246 2014-10-27 Pedro Alves <palves@redhat.com>
16247
16248 * gdb.base/sigstep.c (dummy): New global.
16249 (main): Issue a couple writes to the new global.
16250 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16251 procedures.
16252 (skip_over_handler): Use test_skip_handler.
16253 (top level): Call skip_over_handler for stepi and nexti too.
16254 (breakpoint_over_handler): Use test_skip_handler.
16255 (top level): Call breakpoint_over_handler for stepi and nexti too.
16256
16257 2014-10-27 Yao Qi <yao@codesourcery.com>
16258
16259 * gdb.trace/tfile.c (adjust_function_address)
16260 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16261 function descriptor.
16262
16263 2014-10-24 Don Breazeal <donb@codesourcery.com>
16264
16265 * gdb.base/foll-fork.exp (test_follow_fork,
16266 catch_fork_child_follow): Check for updated fork messages emitted
16267 from infrun.c.
16268 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16269 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16270 vfork_and_exec_child_follow_through_step): Check for updated vfork
16271 messages emitted from infrun.c.
16272
16273 2014-10-24 Pedro Alves <palves@redhat.com>
16274
16275 * gdb.base/corefile.exp: Remove references to ultrix.
16276 * gdb.base/interrupt.exp: Likewise.
16277 * gdb.base/whatis.exp: Likewise.
16278 * gdb.gdb/selftest.exp: Likewise.
16279 * gdb.threads/manythreads.exp: Likewise.
16280 * gdb.threads/print-threads.exp: Likewise.
16281 * gdb.threads/pthreads.exp:: Likewise.
16282 * gdb.threads/schedlock.exp: Likewise.
16283
16284 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16285
16286 * gdb.cp/non-trivial-retval.cc: Add a test case.
16287 * gdb.cp/non-trivial-retval.exp: Add a test.
16288
16289 2014-10-20 Yao Qi <yao@codesourcery.com>
16290
16291 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16292 * gdb.python/py-objfile-script-gdb.py: New file.
16293 * gdb.python/py-objfile-script.exp: Update reference to
16294 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16295 of remote_download. Remove the dest file.
16296
16297 2014-10-20 Yao Qi <yao@codesourcery.com>
16298
16299 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16300 * gdb.base/step-line.exp: Likewise.
16301 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16302 * gdb.dwarf2/dw2-basic.exp: Likewise.
16303 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16304 * gdb.dwarf2/dw2-filename.exp: Likewise.
16305 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16306 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16307 * gdb.dwarf2/dw2-producer.exp: Likewise.
16308 * gdb.dwarf2/mac-fileno.exp: Likewise.
16309 * gdb.python/py-frame-args.exp: Likewise.
16310 * gdb.python/py-framefilter.exp: Likewise.
16311 * gdb.python/py-mi.exp: Likewise.
16312 * gdb.python/py-objfile-script.exp: Likewise
16313 * gdb.python/py-pp-integral.exp: Likewise.
16314 * gdb.python/py-pp-re-notag.exp: Likewise.
16315 * gdb.python/py-prettyprint.exp: Likewise.
16316 * gdb.python/py-section-script.exp: Likewise.
16317 * gdb.python/py-typeprint.exp: Likewise.
16318 * gdb.python/py-xmethods.exp: Likewise.
16319 * gdb.stabs/weird.exp: Likewise.
16320 * gdb.xml/tdesc-regs.exp: Likewise.
16321
16322 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16323
16324 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16325 (out_cu): Use addr_len for the size of addresses.
16326 (out_line): Likewise. Size DW_LNE_set_address instruction
16327 according to addr_len.
16328 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16329 (FUNC): Add START_INSNS to definition.
16330
16331 2014-10-18 Yao Qi <yao@codesourcery.com>
16332
16333 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16334 gdb_has_argv0 return true.
16335 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16336 check [target_info exists noargs], check [gdb_has_argv0]
16337 instead.
16338 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16339 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16340 procedures.
16341
16342 2014-10-17 Doug Evans <dje@google.com>
16343
16344 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16345 event.
16346 * gdb.python/py-events.py: Add clear_objfiles event.
16347
16348 2014-10-17 Doug Evans <dje@google.com>
16349
16350 * gdb.python/py-objfile.exp: Test progspace attribute.
16351
16352 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16353
16354 * gdb.guile/scm-breakpoint.exp: Do not assume any
16355 directory separators when matching source file paths.
16356 * gdb.python/py-breakpoint.exp: Likewise.
16357 * gdb.reverse/break-precsave.exp: Likewise.
16358 * gdb.reverse/break-reverse.exp: Likewise.
16359 * gdb.reverse/consecutive-precsave.exp: Likewise.
16360 * gdb.reverse/finish-precsave.exp: Likewise.
16361 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16362 * gdb.reverse/finish-reverse.exp: Likewise.
16363 * gdb.reverse/i386-precsave.exp: Likewise.
16364 * gdb.reverse/i387-env-reverse.exp: Likewise.
16365 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16366 * gdb.reverse/machinestate-precsave.exp: Likewise.
16367 * gdb.reverse/machinestate.exp: Likewise.
16368 * gdb.reverse/sigall-precsave.exp: Likewise.
16369 * gdb.reverse/solib-precsave.exp: Likewise.
16370 * gdb.reverse/step-precsave.exp: Likewise.
16371 * gdb.reverse/until-precsave.exp: Likewise.
16372 * gdb.reverse/watch-precsave.exp: Likewise.
16373 * gdb.reverse/watch-reverse.exp: Likewise.
16374
16375 2014-10-17 Yao Qi <yao@codesourcery.com>
16376
16377 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16378 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16379
16380 2014-10-17 Pedro Alves <palves@redhat.com>
16381
16382 PR gdb/17471
16383 * gdb.base/bg-execution-repeat.c: New file.
16384 * gdb.base/bg-execution-repeat.exp: New file.
16385
16386 2014-10-17 Pedro Alves <palves@redhat.com>
16387
16388 PR gdb/17300
16389 * gdb.base/continue-all-already-running.c: New file.
16390 * gdb.base/continue-all-already-running.exp: New file.
16391
16392 2014-10-17 Pedro Alves <palves@redhat.com>
16393
16394 PR gdb/17472
16395 * gdb.base/annota-input-while-running.c: New file.
16396 * gdb.base/annota-input-while-running.exp: New file.
16397
16398 2014-10-17 Pedro Alves <palves@redhat.com>
16399
16400 * gdb.base/callfuncs.exp: emove references to osf.
16401 * gdb.base/sigall.exp: Likewise.
16402 * gdb.gdb/selftest.exp: Likewise.
16403 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16404 * gdb.mi/non-stop.c: Likewise.
16405 * gdb.mi/pthreads.c: Likewise.
16406 * gdb.reverse/sigall-precsave.exp: Likewise.
16407 * gdb.reverse/sigall-reverse.exp: Likewise.
16408 * gdb.threads/pthreads.c: Likewise.
16409 * gdb.threads/pthreads.exp: Likewise.
16410
16411 2014-10-17 Yao Qi <yao@codesourcery.com>
16412
16413 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16414 check 'target_info exists noargs'.
16415 (test_command_prompt_position): Likewise.
16416 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16417 Remove "set args".
16418 (progvar_simple_while_test): Likewise.
16419 (progvar_complex_if_while_test): Likewise.
16420 (if_while_breakpoint_command_test): Likewise.
16421 (infrun_breakpoint_command_test): Likewise.
16422 (breakpoint_command_test): Likewise.
16423 (watchpoint_command_test): Likewise.
16424 (bp_deleted_in_command_test): Likewise.
16425 (temporary_breakpoint_commands): Likewise.
16426
16427 2014-10-16 Yao Qi <yao@codesourcery.com>
16428
16429 * gdb.base/remotetimeout.exp: Remove noargs checking.
16430
16431 2014-10-15 Pedro Alves <palves@redhat.com>
16432
16433 PR breakpoints/9649
16434 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16435 * gdb.base/breakpoint-in-ro-region.exp
16436 (probe_target_hardware_step): New procedure.
16437 (top level): Probe hardware stepping and hardware breakpoint
16438 support. Test stepping through a read-only region, with both
16439 "breakpoint auto-hw" on and off and both "always-inserted" on and
16440 off.
16441
16442 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16443
16444 * gdb.dlang/demangle.exp: Update for demangling changes.
16445
16446 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16447
16448 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16449 * gdb.cp/non-trivial-retval.exp: Add new tests.
16450
16451 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16452
16453 PR c++/13403
16454 PR c++/15154
16455 * gdb.cp/non-trivial-retval.cc: New file.
16456 * gdb.cp/non-trivial-retval.exp: New file.
16457
16458 2014-10-15 Yao Qi <yao@codesourcery.com>
16459
16460 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16461 remote host.
16462
16463 2014-10-15 Yao Qi <yao@codesourcery.com>
16464
16465 * gdb.python/py-symbol.exp: Match file base name if host is
16466 remote, otherwise match file name with dir name.
16467 * gdb.python/py-symtab.exp: Likewise.
16468 * gdb.python/python.exp: Likewise.
16469
16470 2014-10-15 Yao Qi <yao@codesourcery.com>
16471
16472 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16473 pattern.
16474 * gdb.python/py-symtab.exp: Likewise.
16475 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16476 locationn.
16477
16478 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16479
16480 * gdb.ada/addr_arith: New testcase.
16481
16482 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16483
16484 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16485 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16486 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16487 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16488
16489 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16490
16491 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16492 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16493 * gdb.arch/stap-eval-lang-ada.exp: New file.
16494
16495 2014-10-14 Yao Qi <yao@codesourcery.com>
16496
16497 * gdb.mi/mi-var-child.c (nothing1): New function.
16498 (nothing2): New function.
16499 (do_children_tests): Set function pointers by nothing1 and
16500 nothing2.
16501 * gdb.mi/mi-var-child.exp: Step over new added statements.
16502 Update test to match the new output.
16503 * gdb.mi/var-cmd.c (nothing1): New function.
16504 (nothing2): New function.
16505 (do_children_tests): Set function pointers by nothing1 and
16506 nothing2.
16507 * gdb.mi/mi-var-display.exp: Update test to match output.
16508 Step to the line specified by $line_dct_nothing.
16509 Increase the number of lines to step.
16510
16511 2014-10-14 Yao Qi <yao@codesourcery.com>
16512
16513 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16514 tests.
16515 * gdb.mi/mi2-var-child.exp: Likewise.
16516
16517 2014-10-13 Doug Evans <dje@google.com>
16518
16519 * gdb.python/py-objfile.exp: Change name of file name test.
16520
16521 2014-10-13 Doug Evans <dje@google.com>
16522
16523 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16524 from the start of the CU.
16525
16526 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16527 Yao Qi <yao@codesourcery.com>
16528
16529 Fix "save breakpoints" for "catch" command.
16530 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16531 Remove -nonewline. Match also the added "main" line.
16532
16533 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16534
16535 Fix "save breakpoints" for "disable $bpnum" command.
16536 * gdb.base/save-bp.c (main): Add label.
16537 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16538
16539 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16540
16541 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16542
16543 2014-10-11 Yao Qi <yao@codesourcery.com>
16544
16545 * gdb.server/server-kill.exp: Execute command
16546 "set remote trace-status-packet on" before "tstatus".
16547
16548 2014-10-11 Yao Qi <yao@codesourcery.com>
16549
16550 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16551 (main): Call getppid.
16552 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16553 and continue to it. Read variable "server_pid".
16554
16555 2014-10-11 Yao Qi <yao@codesourcery.com>
16556
16557 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16558
16559 2014-10-11 Yao Qi <yao@codesourcery.com>
16560
16561 * gdb.threads/thread-find.exp: Don't execute command
16562 "info threads".
16563 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16564 * gdb.threads/linux-dp.exp: Don't check the condition
16565 $threads_created equals to zero.
16566
16567 2014-10-10 Pedro Alves <palves@redhat.com>
16568
16569 * gdb.base/bigcore.exp: Remove references to IRIX.
16570 * gdb.base/funcargs.exp: Likewise.
16571 * gdb.base/interrupt.exp: Likewise.
16572 * gdb.base/mips_pro.exp: Likewise.
16573 * gdb.base/nodebug.exp: Likewise.
16574 * gdb.base/setvar.exp: Likewise.
16575 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16576
16577 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16578 Pedro Alves <palves@redhat.com>
16579
16580 PR symtab/14466
16581 * gdb.base/vdso-warning.c: New file.
16582 * gdb.base/vdso-warning.exp: New file.
16583
16584 2014-10-02 Doug Evans <dje@google.com>
16585
16586 * gdb.base/structs.c (main): Don't run forever.
16587
16588 2014-10-02 Pedro Alves <palves@redhat.com>
16589
16590 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16591 (top level) <stop threads 1, stop threads 2>: Use it.
16592
16593 2014-10-02 Pedro Alves <palves@redhat.com>
16594
16595 * gdb.threads/break-while-running.exp (test): Add new
16596 'update_thread_list' argument. Skip "info threads" if false.
16597 (top level): Add new 'update_thread_list' axis.
16598
16599 2014-10-02 Pedro Alves <palves@redhat.com>
16600
16601 PR breakpoints/17431
16602 * gdb.base/execl-update-breakpoints.c: New file.
16603 * gdb.base/execl-update-breakpoints.exp: New file.
16604
16605 2014-10-01 Pedro Alves <palves@redhat.com>
16606
16607 * gdb.base/breakpoint-in-ro-region.c: New file.
16608 * gdb.base/breakpoint-in-ro-region.exp: New file.
16609
16610 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16611
16612 * gdb.mi/mi-exit-code.exp: New file.
16613 * gdb.mi/mi-exit-code.c: New file.
16614
16615 2014-09-30 Yao Qi <yao@codesourcery.com>
16616
16617 * lib/prelink-support.exp (build_executable_own_libs): Error if
16618 the target isn't native.
16619
16620 2014-09-30 Yao Qi <yao@codesourcery.com>
16621
16622 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16623 false.
16624
16625 2014-09-22 Pedro Alves <palves@redhat.com>
16626
16627 * gdb.threads/break-while-running.exp: New file.
16628 * gdb.threads/break-while-running.c: New file.
16629
16630 2014-09-19 Yao Qi <yao@codesourcery.com>
16631
16632 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16633 Invoke test. Restart GDB with --readnow and invoke test again.
16634
16635 2014-09-19 Yao Qi <yao@codesourcery.com>
16636
16637 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16638 proc set_breakpoint_on_gcd_function. Invoke
16639 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16640 invoke set_breakpoint_on_gcd_function again.
16641
16642 2014-09-18 Doug Evans <dje@google.com>
16643
16644 * gdb.dwarf2/symtab-producer.exp: New file.
16645
16646 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16647
16648 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16649 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16650 * gdb.base/global-var-nested-by-dso.c: Likewise.
16651 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16652
16653 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16654 Pedro Alves <palves@redhat.com>
16655
16656 * gdb.base/watch-bitfields.exp: Pass string other than test file
16657 name to prepare_for_testing.
16658 (watch): New procedure.
16659 (expect_watchpoint): Use with_test_prefix.
16660 (top level): Factor out tests to ...
16661 (test_watch_location, test_regular_watch): ... these new
16662 procedures, and use with_test_prefix and gdb_continue_to_end.
16663
16664 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16665
16666 PR breakpoints/12526
16667 * gdb.base/watch-bitfields.exp: New file.
16668 * gdb.base/watch-bitfields.c: New file.
16669
16670 2014-09-16 Pedro Alves <palves@redhat.com>
16671
16672 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16673 software and hardware addresses, not software address against
16674 itself.
16675
16676 2014-09-16 Pedro Alves <palves@redhat.com>
16677
16678 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16679 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16680
16681 2014-09-16 Pedro Alves <palves@redhat.com>
16682
16683 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16684 files.
16685 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16686 "*-*-vxworks*" throughout.
16687 * gdb.base/break.exp: Likewise.
16688 * gdb.base/default.exp: Likewise.
16689 * gdb.base/scope.exp: Likewise.
16690 * gdb.base/sepdebug.exp: Likewise.
16691 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16692 throughout.
16693 * gdb.base/run.c: Likewise.
16694 * gdb.base/sepdebug.c: Likewise.
16695 * gdb.hp/gdb.aCC/run.c: Likewise.
16696 * gdb.reverse/until-reverse.c: Likewise.
16697 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16698
16699 2014-09-16 Yao Qi <yao@codesourcery.com>
16700
16701 * boards/local-remote-host-native.exp: New file.
16702
16703 2014-09-14 Doug Evans <xdje42@gmail.com>
16704
16705 * gdb.threads/queue-signal.c (thread_count): New variable.
16706 (thread_count_mutex, thread_count_condvar): New variables.
16707 (incr_thread_count, wait_all_threads_running): New functions.
16708 (main): Wait for all threads to be in their thread functions.
16709
16710 2014-09-13 Doug Evans <xdje42@gmail.com>
16711
16712 * gdb.threads/queue-signal.c: New file.
16713 * gdb.threads/queue-signal.exp: New file.
16714
16715 2014-09-13 Doug Evans <xdje42@gmail.com>
16716
16717 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16718 be consistent with what default_gdb_init uses.
16719 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16720 the plain text of the prompt. Add some logging printfs.
16721 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16722
16723 2014-09-12 Pedro Alves <palves@redhat.com>
16724
16725 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16726 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16727 * gdb.arch/i386-size-overlap.exp: Likewise.
16728 * gdb.arch/i386-size.exp: Likewise.
16729 * gdb.arch/i386-unwind.exp: Likewise.
16730 * gdb.base/a2-run.exp: Likewise.
16731 * gdb.base/break.exp: Likewise.
16732 * gdb.base/charset.exp: Likewise.
16733 * gdb.base/chng-syms.exp: Likewise.
16734 * gdb.base/commands.exp: Likewise.
16735 * gdb.base/dbx.exp: Likewise.
16736 * gdb.base/find.exp: Likewise.
16737 * gdb.base/funcargs.exp: Likewise.
16738 * gdb.base/jit-simple.exp: Likewise.
16739 * gdb.base/reread.exp: Likewise.
16740 * gdb.base/sepdebug.exp: Likewise.
16741 * gdb.base/step-bt.exp: Likewise.
16742 * gdb.cp/mb-inline.exp: Likewise.
16743 * gdb.cp/mb-templates.exp: Likewise.
16744 * gdb.objc/basicclass.exp: Likewise.
16745 * gdb.threads/killed.exp: Likewise.
16746
16747 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16748
16749 PR tdep/17379
16750 * gdb.arch/powerpc-stackless.S: New file.
16751 * gdb.arch/powerpc-stackless.exp: New file.
16752
16753 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16754
16755 * gdb.base/attach.c: Include unistd.h.
16756 (main): Call alarm. Add label postloop.
16757 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16758 gdb_breakpoint, gdb_continue_to_breakpoint.
16759 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16760
16761 2014-09-11 Pedro Alves <palves@redhat.com>
16762
16763 PR gdb/17347
16764 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16765 * gdb.base/attach.exp (test_command_line_attach_run): New
16766 procedure.
16767 (top level): Call it.
16768
16769 2014-09-11 Pedro Alves <palves@redhat.com>
16770
16771 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16772 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16773 (do_command_attach_tests): Use spawn_wait_for_attach.
16774 * gdb.base/solib-overlap.exp: Likewise.
16775 * gdb.multi/multi-attach.exp: Likewise.
16776 * gdb.python/py-prompt.exp: Likewise.
16777 * gdb.python/py-sync-interp.exp: Likewise.
16778 * gdb.server/ext-attach.exp: Likewise.
16779
16780 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16781
16782 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16783 command in testcase. Simplify testcase.
16784
16785 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16786
16787 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16788
16789 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16790
16791 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16792
16793 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16794
16795 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16796
16797 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16798
16799 * gdb.dwarf2/dynarr-ptr.c: New file.
16800 * gdb.dwarf2/dynarr-ptr.exp: New file.
16801
16802 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16803
16804 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16805 of 30 rather than hardcoding 120 for a slow test case. Take the
16806 `gdb,timeout' target setting into account for this calculation.
16807 Don't extend the timeout for the test cases that don't need it.
16808
16809 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16810
16811 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16812 a factor of 2 for a slow test case. Take the `gdb,timeout'
16813 target setting into account for this calculation.
16814 * gdb.reverse/until-precsave.exp: Increase the timeout by
16815 a factor of 15 and 3 respectively rather than adding 120
16816 for a pair of slow test cases. Take the `gdb,timeout'
16817 target setting into account for this calculation.
16818
16819 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16820
16821 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16822 timeout, don't pass one down to gdb_expect.
16823 (gdb_expect): Rework timeout selection.
16824
16825 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16826
16827 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16828 exception on timeout.
16829 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16830 (gdbserver_start_extended): Catch any `gdbserver_start' error
16831 exceptions.
16832 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16833 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16834 `gdbserver_gdb_load' error exceptions.
16835
16836 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16837
16838 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16839 120 on waiting for the TCP socket to open.
16840
16841 2014-09-09 Doug Evans <xdje42@gmail.com>
16842
16843 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16844 _caller_matches, _any_caller_is, _any_caller_matches.
16845
16846 2014-09-09 Doug Evans <xdje42@gmail.com>
16847
16848 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16849
16850 2014-09-09 Yao Qi <yao@codesourcery.com>
16851
16852 * gdb.mi/mi-var-display.exp: Set print symbol off.
16853
16854 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16855
16856 PR gdb/17035
16857 * gdb.base/commands.exp: Add tests to verify user-defined
16858 commands with empty bodies.
16859 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16860 python commands in `show user command`.
16861 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16862 scheme commands in `show user command`.
16863
16864 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16865
16866 PR python/17355
16867 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16868 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16869 * gdb.python/py-framefilter-invalidarg.exp: New file.
16870 * gdb.python/py-framefilter-invalidarg.py: New file.
16871
16872 2014-09-06 Doug Evans <xdje42@gmail.com>
16873
16874 PR 15276
16875 * gdb.python/py-caller-is.c: New file.
16876 * gdb.python/py-caller-is.exp: New file.
16877
16878 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16879
16880 PR gdb/17235
16881 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16882 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16883
16884 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16885
16886 PR fortran/17237
16887 * gdb.fortran/print-formatted.exp: New file.
16888 * gdb.fortran/print-formatted.f90: Likewise.
16889
16890 2014-09-03 Sasha Smundak <asmundak@google.com>
16891
16892 * gdb.python/py-frame.exp: Test Frame.read_register.
16893
16894 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16895
16896 PR python/16699
16897 * gdb.python/py-completion.exp: New file.
16898 * gdb.python/py-completion.py: Likewise.
16899
16900 2014-08-28 Doug Evans <dje@google.com>
16901
16902 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16903 eax,etc. are live with values set by gdb and thus the compiler can't
16904 use them.
16905 * gdb.arch/i386-pseudo.c (main): Ditto.
16906
16907 2014-08-27 Doug Evans <dje@google.com>
16908
16909 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16910
16911 2014-08-25 Doug Evans <dje@google.com>
16912
16913 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16914 (main): Ditto.
16915
16916 2014-08-25 Doug Evans <dje@google.com>
16917
16918 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16919
16920 2014-08-24 Yao Qi <yao@codesourcery.com>
16921
16922 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16923 symbol off.
16924 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16925
16926 2014-08-22 Doug Evans <dje@google.com>
16927
16928 PR 17276
16929 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16930 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16931 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16932
16933 2014-08-22 Yao Qi <yao@codesourcery.com>
16934
16935 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16936 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16937 * gdb.python/python.exp: Likewise. Use .py file on the host
16938 instead of the build.
16939
16940 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16941
16942 * gdb.threads/gcore-stale-thread.c: New file.
16943 * gdb.threads/gcore-stale-thread.exp: New file.
16944
16945 2014-08-21 Pedro Alves <palves@redhat.com>
16946
16947 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16948 * gdb.base/gcore-relro-pie.exp: Likewise.
16949 * gdb.base/gcore-relro.exp: Likewise.
16950 * gdb.base/gcore.exp: Likewise.
16951 * gdb.base/print-symbol-loading.exp: Likewise.
16952 * gdb.threads/gcore-thread.exp: Likewise.
16953 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16954
16955 2014-08-20 Pedro Alves <palves@redhat.com>
16956 Jan Kratochvil <jan.kratochvil@redhat.com>
16957
16958 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16959 configure.
16960 (EXPECT): Handle READ1 being set.
16961 (all): Depend on EXTRA_RULES.
16962 (check-read1, expect-read1, read1.so, read1): New rules.
16963 * README (Testsuite Parameters): Document the READ1 make variable.
16964 (Race detection): New section.
16965 * configure: Regenerate.
16966 * configure.ac: If build==host==target, and running under a
16967 GNU/glibc system, add read1 to the extra Makefile rules.
16968 (EXTRA_RULES): AC_SUBST it.
16969 * lib/read1.c: New file.
16970
16971 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16972
16973 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16974 the handling of variables declared as a typedef to an array
16975 which a DW_AT_data_location attribute.
16976
16977 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16978 Pedro Alves <palves@redhat.com>
16979
16980 PR symtab/14604
16981 PR symtab/14605
16982 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16983 gdb_test.
16984
16985 2014-08-19 Pedro Alves <palves@redhat.com>
16986
16987 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16988
16989 2014-08-19 Yao Qi <yao@codesourcery.com>
16990
16991 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16992 right line.
16993
16994 2014-08-18 David Blaikie <dblaikie@gmail.com>
16995
16996 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16997
16998 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16999
17000 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17001 attribute in array range.
17002
17003 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17004
17005 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17006
17007 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17008
17009 PR c++/17132
17010 * gdb.cp/pr17132.cc: New file.
17011 * gdb.cp/pr17132.exp: New file.
17012
17013 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17014
17015 * gdb.python/py-xmethods.py (A_getarrayind)
17016 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17017 Use 'print' with function call syntax.
17018 (E_method_matcher.match): Fix tab vs space indentation mixup.
17019
17020 2014-08-15 Yao Qi <yao@codesourcery.com>
17021
17022 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17023 false.
17024
17025 2014-08-15 Yao Qi <yao@codesourcery.com>
17026
17027 * gdb.cp/casts.exp: Set print symbol off.
17028 * gdb.cp/class2.exp: Likewise.
17029 * gdb.cp/overload.exp: Likewise.
17030 * gdb.cp/templates.exp: Likewise.
17031
17032 2014-08-11 Doug Evans <dje@google.com>
17033
17034 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17035 (test_load_shlib): Update.
17036
17037 2014-08-09 Yao Qi <yao@codesourcery.com>
17038
17039 * gdb.base/display.exp: Invoke is_address_zero_readable.
17040 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17041 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17042 * gdb.base/hbreak-unmapped.exp: Return if
17043 is_address_zero_readable returns true.
17044 * gdb.base/signest.exp: Likewise.
17045 * gdb.base/signull.exp: Likewise.
17046 * gdb.base/sigbpt.exp: Likewise.
17047 * gdb.guile/scm-disasm.exp: Do the test if
17048 is_address_zero_readable returns false.
17049 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17050 * gdb.python/py-arch.exp: Likewise.
17051 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17052 * lib/gdb.exp (is_address_zero_readable): New proc.
17053
17054 2014-08-09 Yao Qi <yao@codesourcery.com>
17055
17056 PR testsuite/13443
17057 * gdb.mi/mi-var-display.exp: Make test messages unique.
17058
17059 2014-08-04 Tom Tromey <tromey@redhat.com>
17060
17061 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17062 target 0".
17063
17064 2014-08-04 Tom Tromey <tromey@redhat.com>
17065
17066 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17067 "target_resume".
17068
17069 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17070
17071 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17072 inner_vla_struct_object_size.
17073 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17074 as xfail.
17075
17076 2014-07-30 Pedro Alves <palves@redhat.com>
17077
17078 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17079 comment.
17080
17081 2014-07-29 Yao Qi <yao@codesourcery.com>
17082
17083 PR gdb/17206
17084 * gdb.base/until-nodebug.exp: New.
17085
17086 2014-07-28 Doug Evans <xdje42@gmail.com>
17087
17088 PR guile/17203
17089 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17090 previously existing parameter, and previously ambiguously spelled
17091 parameter.
17092
17093 2014-07-28 Will Newton <will.newton@linaro.org>
17094
17095 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17096
17097 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17098 Doug Evans <xdje42@gmail.com>
17099
17100 PR guile/17146
17101 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17102
17103 2014-07-25 Pedro Alves <palves@redhat.com>
17104
17105 * gdb.threads/signal-command-handle-nopass.c: New file.
17106 * gdb.threads/signal-command-handle-nopass.exp: New file.
17107 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17108 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17109 * gdb.threads/signal-delivered-right-thread.c: New file.
17110 * gdb.threads/signal-delivered-right-thread.exp: New file.
17111
17112 2014-07-25 Pedro Alves <palves@redhat.com>
17113
17114 * gdb.base/double-prompt-target-event-error.exp
17115 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17116 match.
17117 (cancel_pagination_in_target_event): Rework double prompt
17118 detection.
17119 * gdb.base/paginate-after-ctrl-c-running.exp
17120 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17121 <return>' match.
17122 * gdb.base/paginate-bg-execution.exp
17123 (test_bg_execution_pagination_return)
17124 (test_bg_execution_pagination_cancel): Remove '-notransfer
17125 <return>' matches.
17126 * gdb.base/paginate-execution-startup.exp
17127 (test_fg_execution_pagination_return)
17128 (test_fg_execution_pagination_cancel): Remove '-notransfer
17129 <return>' matches.
17130 * gdb.base/paginate-inferior-exit.exp
17131 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17132 match.
17133 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17134 * lib/gdb.exp (pagination_prompt): Run text through
17135 string_to_regexp.
17136 (gdb_test_multiple): Match $pagination_prompt instead of
17137 "<return>".
17138 (string_to_regexp): Move to lib/gdb-utils.exp.
17139
17140 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17141
17142 * gdb.arch/amd64-entry-value-paramref.S: New file.
17143 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17144 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17145 * gdb.arch/amd64-optimout-repeat.S: New file.
17146 * gdb.arch/amd64-optimout-repeat.c: New file.
17147 * gdb.arch/amd64-optimout-repeat.exp: New file.
17148
17149 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17150
17151 PR gdb/17170
17152 * gdb.base/statistics.exp: New file.
17153
17154 2014-07-17 Doug Evans <dje@google.com>
17155
17156 PR gdb/17170
17157 * gdb.base/maint.exp: Update testing of per-command stats.
17158
17159 2014-07-16 Pedro Alves <palves@redhat.com>
17160
17161 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17162 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17163 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17164 (tfile_write_buf): New functions.
17165 (add_memory_block): Rewrite using the above.
17166 (adjust_function_address): New function.
17167 (FUNCTION_ADDRESS): New macro.
17168 (write_basic_trace_file): Remove short_x local, and use
17169 tfile_write_16. Change type of func_addr local to unsigned long
17170 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17171 here. Cast argument of add_memory_block to char pointer.
17172 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17173 (main): Remove parameters.
17174 * gdb.trace/tfile.exp: Remove nowarnings.
17175
17176 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17177
17178 * gdb.base/debug-expr.exp: Test string evaluation with
17179 "debug expression" on.
17180
17181 2014-07-15 Pedro Alves <palves@redhat.com>
17182
17183 * gdb.base/reread.exp: Use clean_restart.
17184
17185 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17186
17187 * gdb.arch/avr-flash-qualifer.c: New.
17188 * gdb.arch/avr-flash-qualifer.exp: New.
17189
17190 2014-07-14 Pedro Alves <palves@redhat.com>
17191
17192 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17193 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17194
17195 2014-07-14 Pedro Alves <palves@redhat.com>
17196
17197 * gdb.base/double-prompt-target-event-error.c: New file.
17198 * gdb.base/double-prompt-target-event-error.exp: New file.
17199
17200 2014-07-14 Pedro Alves <palves@redhat.com>
17201
17202 PR gdb/17072
17203 * gdb.base/paginate-inferior-exit.c: New file.
17204 * gdb.base/paginate-inferior-exit.exp: New file.
17205
17206 2014-07-14 Pedro Alves <palves@redhat.com>
17207
17208 PR gdb/17072
17209 * gdb.base/paginate-bg-execution.c: New file.
17210 * gdb.base/paginate-bg-execution.exp: New file.
17211
17212 2014-07-14 Pedro Alves <palves@redhat.com>
17213
17214 PR gdb/17072
17215 * gdb.base/paginate-execution-startup.c: New file.
17216 * gdb.base/paginate-execution-startup.exp: New file.
17217 * lib/gdb.exp (pagination_prompt): New global.
17218 (default_gdb_spawn): New procedure, factored out from
17219 default_gdb_spawn.
17220 (default_gdb_start): Adjust to call default_gdb_spawn.
17221 (gdb_spawn): New procedure.
17222
17223 2014-07-14 Pedro Alves <palves@redhat.com>
17224
17225 * lib/gdb.exp (gdb_assert): New procedure.
17226 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17227
17228 2014-07-14 Pedro Alves <palves@redhat.com>
17229
17230 * gdb.base/execution-termios.c: New file.
17231 * gdb.base/execution-termios.exp: New file.
17232
17233 2014-07-14 Tom Tromey <tromey@redhat.com>
17234
17235 * gdb.cp/vla-cxx.cc: New file.
17236 * gdb.cp/vla-cxx.exp: New file.
17237
17238 2014-07-14 Tom Tromey <tromey@redhat.com>
17239
17240 * gdb.reverse/rerun-prec.c: New file.
17241 * gdb.reverse/rerun-prec.exp: New file.
17242
17243 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17244 Maciej W. Rozycki <macro@codesourcery.com>
17245
17246 * lib/gdb-utils.exp: New file.
17247 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17248 inline `gdb_init_command' processing.
17249 (gdb_start_cmd): Likewise.
17250 * lib/mi-support.exp (mi_run_cmd): Likewise.
17251 * README: Document `gdb_init_command' and `gdb_init_commands'.
17252
17253 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17254
17255 Fix false FAIL running under a very long directory name.
17256 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17257 and "set print elements 10000". Twice.
17258
17259 2014-07-11 Yao Qi <yao@codesourcery.com>
17260
17261 * gdb.base/exprs.exp: "set print symbol off".
17262
17263 2014-07-11 Pedro Alves <palves@redhat.com>
17264
17265 * gdb.threads/kill.c: New file.
17266 * gdb.threads/kill.exp: New file.
17267
17268 2014-07-10 Yao Qi <yao@codesourcery.com>
17269
17270 * gdb.trace/tfile.c (write_basic_trace_file)
17271 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17272 address written to trace file.
17273
17274 2014-07-09 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.base/attach-wait-input.exp: New file.
17277 * gdb.base/attach-wait-input.c: New file.
17278
17279 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17280
17281 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17282 setting up test structures.
17283 (main): Call new test function.
17284 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17285 test function, continue into test function and walk test
17286 structures.
17287
17288 2014-07-02 Yao Qi <yao@codesourcery.com>
17289
17290 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17291 'bar_start' at the beginning of functions 'foo' and 'bar'
17292 respectively.
17293 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17294 instead of 'foo' and 'bar'.
17295
17296 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17297
17298 * gdb.btrace/segv.exp: New.
17299 * gdb.btrace/segv.c: New.
17300
17301 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17302
17303 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17304 instruction.
17305
17306 2014-06-30 Mark Wielaard <mjw@redhat.com>
17307
17308 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17309 vulture, vilify, villar): New volatile array constants.
17310 (vindictive, vegetation): New const volatile array constants.
17311 * gdb.base/volatile.exp: Test volatile and const volatile array
17312 types.
17313
17314 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17315
17316 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17317 target lacks support for awatch, rwatch, or hbreak.
17318
17319 2014-06-27 Yao Qi <yao@codesourcery.com>
17320
17321 * gdb.multi/dummy-frame-restore.exp: New.
17322 * gdb.multi/dummy-frame-restore.c: New.
17323
17324 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17325
17326 * gdb.btrace/gcore.exp: New.
17327
17328 2014-06-23 Pedro Alves <palves@redhat.com>
17329
17330 * gdb.base/watchpoint-reuse-slot.c: New file.
17331 * gdb.base/watchpoint-reuse-slot.exp: New file.
17332
17333 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17334
17335 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17336 progspace's filename in 'info', 'enable' and 'disable' command
17337 tests.
17338
17339 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17340
17341 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17342 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17343 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17344
17345 2014-06-20 Gary Benson <gbenson@redhat.com>
17346
17347 * gdb.arch/i386-avx.exp: Fix include file location.
17348 * gdb.arch/i386-sse.exp: Likewise.
17349
17350 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17351
17352 * gdb.dlang/expression.exp: New file.
17353
17354 2014-06-19 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17357 out from ...
17358 (top level): ... here. Iterate running tests under different
17359 scheduler-locking settings.
17360
17361 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17362
17363 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17364 to DW_FORM_addr and use non-zero addresses.
17365
17366 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17367
17368 PR gdb/17017
17369 * gdb.python/py-xmethods.cc: Add global function call counters and
17370 increment them in their respective functions. Remove "cout"
17371 statements.
17372 * gdb.python/py-xmethods.exp: Make tests check the global function
17373 call counters instead of depending on inferior IO.
17374
17375 2014-06-18 Don Breazeal <donb@codesourcery.com>
17376
17377 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17378 Deleted procedure.
17379 (explicit_fork_parent_follow): Deleted procedure.
17380 (explicit_fork_child_follow): Deleted procedure.
17381 (test_follow_fork): New procedure.
17382 (do_fork_tests): Replace calls to deleted procedures with
17383 calls to test_follow_fork and reset GDB for subsequent
17384 procedure calls.
17385
17386 2014-06-17 Yao Qi <yao@codesourcery.com>
17387
17388 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17389 CP1252.
17390
17391 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17392
17393 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17394 Initialize ptr and S explicitly.
17395 (skip_type_update_when_not_use_rtti_test): Likewise.
17396
17397 2014-06-16 Keith Seitz <keiths@redhat.com>
17398
17399 PR mi/15863
17400 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17401 the inferior is started.
17402
17403 2014-06-16 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.base/break-main-file-remove-fail.c: New file.
17406 * gdb.base/break-main-file-remove-fail.exp: New file.
17407 * gdb.base/break-unload-file.exp: Use build_executable instead of
17408 prepare_for_testing.
17409 (test_break): New parameter "initial_load". Handle it.
17410 (top level): Add initial_load cmdline/file axis.
17411
17412 2014-06-12 Tom Tromey <tromey@redhat.com>
17413
17414 * gdb.base/completion.exp: Don't use directory name in test.
17415
17416 2014-06-09 Gary Benson <gbenson@redhat.com>
17417
17418 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17419 separate the always-available ANSI-standard signals from the
17420 signals that require checking.
17421 (main): Likewise.
17422 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17423 Likewise.
17424 (main): Likewise.
17425
17426 2014-06-07 Keith Seitz <keiths@redhat.com>
17427
17428 Revert:
17429 PR c++/16253
17430 * gdb.cp/var-tag.cc: New file.
17431 * gdb.cp/var-tag.exp: New file.
17432 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17433 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17434 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17435 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17436
17437 2014-06-06 Doug Evans <xdje42@gmail.com>
17438
17439 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17440
17441 2014-06-06 Pedro Alves <palves@redhat.com>
17442
17443 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17444 in target debug output instead of looking at RSP packets,
17445 disabling the test on any target that uses hardware stepping.
17446 Update comments.
17447
17448 2014-06-06 Pedro Alves <palves@redhat.com>
17449
17450 * gdb.base/break-unload-file.exp: Fix typo.
17451
17452 2014-06-06 Yao Qi <yao@codesourcery.com>
17453
17454 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17455 from "jit_function" to "^jit_function".
17456
17457 2014-06-06 Yao Qi <yao@codesourcery.com>
17458
17459 * gdb.base/async.c (foo): Add one statement.
17460 * gdb.base/async.exp: Get the next instruction address and
17461 match the output of "nexti" by instruction address. Match
17462 the hex address in the output of "finish".
17463
17464 2014-06-06 Gary Benson <gbenson@redhat.com>
17465
17466 * gdb.base/call-signals.c: Remove preprocessor conditionals
17467 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17468 SIGSEGV and SIGTERM.
17469 * gdb.base/sigall.c: Likewise.
17470 * gdb.base/unwindonsignal.c: Likewise.
17471 * gdb.reverse/sigall-reverse.c: Likewise.
17472
17473 2014-06-06 Yao Qi <yao@codesourcery.com>
17474
17475 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17476 readable, skip the test.
17477
17478 2014-06-06 Yao Qi <yao@codesourcery.com>
17479
17480 * gdb.threads/staticthreads.c (thread_function): Move the line
17481 setting breakpoint on forward.
17482 * gdb.threads/staticthreads.exp: Update comments.
17483
17484 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17485
17486 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17487 "history-append! type error".
17488
17489 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17490
17491 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17492 erroneous dprintf expected input.
17493
17494 2014-06-04 Doug Evans <xdje42@gmail.com>
17495
17496 * gdb.guile/scm-generics.exp: Delete.
17497
17498 2014-06-04 Doug Evans <xdje42@gmail.com>
17499
17500 * gdb.guile/scm-breakpoint.exp: Update.
17501 Add tests for breakpoint registration.
17502
17503 2014-06-04 Tom Tromey <tromey@redhat.com>
17504
17505 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17506 VLA-in-union.
17507 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17508 inner_vla_struct, vla_union types. Initialize objects of those
17509 types and compute their sizes.
17510
17511 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17512 Hui Zhu <hui@codesourcery.com>
17513
17514 * gdb.base/fileio.exp: Add test for shell not available as well as
17515 available.
17516 * gdb.base/fileio.c (test_system): Check for shell twice.
17517
17518 2014-06-04 Yao Qi <yao@codesourcery.com>
17519
17520 * gdb.base/auto-connect-native-target.exp: Remove redundant
17521 space from the regexp pattern.
17522
17523 2014-06-04 Yao Qi <yao@codesourcery.com>
17524
17525 * gdb.base/default.exp: Replace "child" with "native" in
17526 regexp pattern.
17527
17528 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17529
17530 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17531 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17532 * gdb.python/py-xmethods.py: Python script supporting the
17533 new testcase and tests.
17534
17535 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17536 Pedro Alves <palves@redhat.com>
17537
17538 PR breakpoints/17000
17539 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17540 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17541
17542 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17543
17544 * gdb.base/subst.exp: Add tests to verify partial path matching
17545 output.
17546
17547 2014-06-03 Pedro Alves <palves@redhat.com>
17548
17549 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17550 target that doesn't use software single-stepping.
17551
17552 2014-06-03 Pedro Alves <palves@redhat.com>
17553
17554 PR breakpoints/17000
17555 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17556 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17557
17558 2014-06-02 Doug Evans <xdje42@gmail.com>
17559
17560 * gdb.guile/scm-parameter.exp: New file.
17561
17562 2014-06-02 Doug Evans <xdje42@gmail.com>
17563
17564 * gdb.guile/scm-cmd.c: New file.
17565 * gdb.guile/scm-cmd.exp: New file.
17566
17567 2014-06-02 Doug Evans <xdje42@gmail.com>
17568
17569 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17570 pretty-printer lookup.
17571 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17572 (make-pp_s-printer): Call it.
17573 (make-pretty-printer-from-dict): New function.
17574 (lookup-pretty-printer-maker-from-dict): New function.
17575 (*pretty-printer*): Simplify.
17576 (make-objfile-pp_s-printer): New function.
17577 (install-objfile-pretty-printers!): New function.
17578 (make-progspace-pp_s-printer): New function.
17579 (install-progspace-pretty-printers!): New function.
17580 * gdb.guile/scm-progspace.c: New file.
17581 * gdb.guile/scm-progspace.exp: New file.
17582
17583 2014-06-02 Pedro Alves <palves@redhat.com>
17584
17585 * gdb.base/dprintf-bp-same-addr.c: New file.
17586 * gdb.base/dprintf-bp-same-addr.exp: New file.
17587
17588 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17589
17590 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17591 * gdb.arch/powerpc-power.s: Likewise.
17592
17593 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17594
17595 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17596
17597 2014-06-01 Yao Qi <yao@codesourcery.com>
17598
17599 * gdb.base/watchpoint.exp (test_watch_location): Check null
17600 pointer can be dereferenced. If not, do the test, otherwise
17601 skip it.
17602
17603 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17604
17605 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17606 results.
17607 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17608
17609 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17610
17611 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17612 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17613 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17614 * gdb.arch/amd64-invalid-stack-top.c: New file.
17615 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17616
17617 2014-05-30 Pedro Alves <palves@redhat.com>
17618
17619 PR breakpoints/17000
17620 * gdb.base/sss-bp-on-user-bp.c: New file.
17621 * gdb.base/sss-bp-on-user-bp.exp: New file.
17622
17623 2014-05-30 David Blaikie <dblaikie@gmail.com>
17624
17625 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17626 gnu_inline semantics via attribute.
17627 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17628 source explicitly specifies the required semantics.
17629
17630 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17631
17632 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17633
17634 2014-05-29 Pedro Alves <palves@redhat.com>
17635 Tom Tromey <tromey@redhat.com>
17636
17637 * gdb.base/async-shell.exp: Don't enable target-async.
17638 * gdb.base/async.exp
17639 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17640 parameter. Adjust.
17641 (top level): Don't test with "target-async".
17642 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17643 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17644 * gdb.base/inferior-died.exp: Don't enable target-async.
17645 * gdb.base/interrupt-noterm.exp: Likewise.
17646 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17647 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17648 * gdb.mi/mi-nonstop.exp: Likewise.
17649 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17650 * gdb.mi/mi-nsintrall.exp: Likewise.
17651 * gdb.mi/mi-nsmoribund.exp: Likewise.
17652 * gdb.mi/mi-nsthrexec.exp: Likewise.
17653 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17654 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17655 * gdb.python/py-evsignal.exp: Don't enable target-async.
17656 * gdb.python/py-evthreads.exp: Likewise.
17657 * gdb.python/py-prompt.exp: Likewise.
17658 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17659 * gdb.server/solib-list.exp: Don't enable target-async.
17660 * gdb.threads/thread-specific-bp.exp: Likewise.
17661 * lib/mi-support.exp: Adjust to use mi-async.
17662
17663 2014-05-29 Pedro Alves <palves@redhat.com>
17664
17665 PR gdb/13860
17666 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17667 reason, even in sync mode.
17668
17669 2014-05-29 Pedro Alves <palves@redhat.com>
17670 Hui Zhu <hui@codesourcery.com>
17671
17672 PR PR15693
17673 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17674 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17675 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17676 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17677
17678 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17679
17680 * config/monitor.exp (gdb_target_monitor): Replace use of
17681 "set remotebaud" by "set serial baud".
17682
17683 2014-05-26 Andy Wingo <wingo@igalia.com>
17684
17685 * gdb.guile/scm-breakpoint.exp:
17686 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17687 properties instead of gdb-object-properties.
17688
17689 2014-05-26 Yao Qi <yao@codesourcery.com>
17690
17691 * gdb.server/no-thread-db.exp: Specify source file name
17692 explicitly when setting a breakpoint.
17693
17694 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17695
17696 * gdb.btrace/vdso.c: New.
17697 * gdb.btrace/vdso.exp: New.
17698
17699 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17700
17701 * gdb.base/gcore.exp (capture_command_output): Move ...
17702 * lib/gdb.exp (capture_command_output): ... here.
17703
17704 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17705
17706 * gdb.btrace/data.exp: Test memory access during btrace replay.
17707
17708 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17709
17710 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17711
17712 2014-05-21 Pedro Alves <palves@redhat.com>
17713
17714 PR gdb/13860
17715 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17716 (top level): Test that output related to execution commands is
17717 sent to the console with CLI commands, but not with MI commands.
17718 Test that breakpoint events are always mirrored to the console.
17719 Also expect the new source line to be output after a "next" in
17720 async mode too. Make it a pass/fail test.
17721 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17722 output.
17723 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17724
17725 2014-05-21 Pedro Alves <palves@redhat.com>
17726
17727 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17728 Use them to test variations of "list" after reaching a breakpoint.
17729 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17730 Test "list" with listsize 10 after reaching a breakpoint.
17731 * gdb.python/python.exp (decode_line current location line
17732 number): Adjust expected line number.
17733
17734 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17735
17736 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17737 behavior for $args, pass it directly to "run".
17738
17739 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17740
17741 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17742 30000 to 65536.
17743
17744 2014-05-21 Pedro Alves <palves@redhat.com>
17745
17746 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17747 auto-connect-native-target off".
17748 * gdb.base/auto-connect-native-target.c: New file.
17749 * gdb.base/auto-connect-native-target.exp: New file.
17750
17751 2014-05-21 Pedro Alves <palves@redhat.com>
17752
17753 * gdb.base/default.exp: Test "target native" instead of "target
17754 child".
17755
17756 2014-05-21 Mark Wielaard <mjw@redhat.com>
17757
17758 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17759
17760 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17761
17762 Fix TLS access for -static -pthread.
17763 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17764 <HAVE_TLS> (thread_function, main): Initialize it.
17765 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17766 Add clean_restart.
17767 <$have_tls != "">: Check TLSVAR.
17768
17769 2014-05-21 Pedro Alves <palves@redhat.com>
17770
17771 * gdb.base/dcache-line-read-error.c: New.
17772 * gdb.base/dcache-line-read-error.exp: New.
17773
17774 2014-05-20 Pedro Alves <palves@redhat.com>
17775
17776 * gdb.base/compare-sections.c: New file.
17777 * gdb.base/compare-sections.exp: New file.
17778
17779 2014-05-20 Pedro Alves <palves@redhat.com>
17780
17781 * gdb.base/break-idempotent.c: New file.
17782 * gdb.base/break-idempotent.exp: New file.
17783
17784 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17785
17786 * gdb.btrace/nohist.exp: New.
17787
17788 2014-05-20 Yao Qi <yao@codesourcery.com>
17789
17790 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17791 gdb.reverse directory and gdb_reverse_timeout exists in board
17792 setting.
17793 * README: Document gdb_reverse_timeout.
17794
17795 2014-05-20 Yao Qi <yao@codesourcery.com>
17796
17797 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17798 'test_file_name'. Treat args as a string instead of a list.
17799 (gdb_init): Rename argument 'args' by 'test_file_name'.
17800
17801 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17802
17803 * gdb.arch/powerpc-power.exp: New file.
17804 * gdb.arch/powerpc-power.s: New file.
17805
17806 2014-05-16 Doug Evans <dje@google.com>
17807
17808 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17809 * gdb.base/completion.exp: Check that all expected files exist
17810 before doing file completion.
17811
17812 2014-05-16 Doug Evans <dje@google.com>
17813
17814 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17815 Update.
17816 (do_syscall_tests_without_xml): Update.
17817
17818 2014-05-16 Pedro Alves <palves@redhat.com>
17819
17820 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17821 instead of "unknown output after running".
17822
17823 2014-05-16 Yao Qi <yao@codesourcery.com>
17824
17825 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17826 file1.txt from host at the end.
17827 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17828
17829 2014-05-15 Doug Evans <dje@google.com>
17830
17831 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17832 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17833 loading file. Add test for TU lookup.
17834
17835 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17836
17837 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17838 calling "-exec-arguments" or "set args" before running the
17839 inferior.
17840
17841 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17842
17843 * lib/mi-support.exp (mi_expect_stop): Expect message for
17844 inferiors that exit with non-zero exit code.
17845
17846 2014-05-14 Yao Qi <yao@codesourcery.com>
17847
17848 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17849 match absolute path on remote host.
17850 (test_file_list_exec_source_files): Remove "/" from the
17851 pattern.
17852
17853 2014-05-14 Yao Qi <yao@codesourcery.com>
17854
17855 * boards/local-remote-host-notty.exp (${board}_file): New
17856 proc.
17857
17858 2014-05-07 Kyle McMartin <kyle@redhat.com>
17859
17860 Pushed by Joel Brobecker <brobecker@adacore.com>.
17861 * gdb.arch/aarch64-atomic-inst.c: New file.
17862 * gdb.arch/aarch64-atomic-inst.exp: New file.
17863
17864 2014-05-07 Yao Qi <yao@codesourcery.com>
17865
17866 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17867 in current context" too.
17868
17869 2014-05-05 Keith Seitz <keiths@redhat.com>
17870
17871 * gdb.linespec/ls-dollar.exp: Add test for linespec
17872 file:convenience_variable.
17873
17874 2014-05-05 Yao Qi <yao@codesourcery.com>
17875
17876 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17877 traceframes into tfile and ctf trace files. Read data from
17878 trace file and test collected data.
17879 (gdb_collect_locals_test): Likewise.
17880 (gdb_unavailable_registers_test): Likewise.
17881 (gdb_unavailable_floats): Likewise.
17882 (gdb_collect_globals_test): Likewise.
17883 (top-level): Append "ctf" to trace_file_targets if GDB
17884 supports.
17885
17886 2014-05-05 Yao Qi <yao@codesourcery.com>
17887
17888 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17889 code to ...
17890 (gdb_collect_args_test_1): ... it. New proc.
17891 (gdb_collect_locals_test): Move some code to ...
17892 (gdb_collect_locals_test_1): ... it. New proc.
17893 (gdb_unavailable_registers_test): Move some code to ...
17894 (gdb_unavailable_registers_test_1): ... it. New proc.
17895 (gdb_unavailable_floats): Move some code to ...
17896 (gdb_unavailable_floats_1): ... it. New proc.
17897
17898 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17899
17900 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17901 probes to test for bitness recognition.
17902 * gdb.arch/amd64-stap-optional-prefix.exp
17903 (test_probe_value_without_reg): New procedure.
17904 Add code to test for different kinds of bitness.
17905
17906 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17907
17908 PR breakpoints/16889
17909 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17910 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17911
17912 2014-05-01 Pedro Alves <palves@redhat.com>
17913
17914 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17915 gdb_file_cmd if no file is specified.
17916 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17917 last_loaded_file to set the remote exec-file.
17918
17919 2014-05-01 Pedro Alves <palves@redhat.com>
17920
17921 * boards/local-remote-host.exp: New file.
17922
17923 2014-05-01 Pedro Alves <palves@redhat.com>
17924
17925 * boards/local-remote-host.exp: Rename to ...
17926 * boards/local-remote-host-notty.exp: ... this.
17927
17928 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17929
17930 * gdb.ada/dyn_arrayidx: New testcase.
17931
17932 2014-04-26 Yao Qi <yao@codesourcery.com>
17933
17934 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17935 and compute the length of function main. Save it in
17936 $main_length.
17937 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17938 (top-level): Use gdb_compile to compile objects into
17939 executable and restart GDB. Remove invocation to
17940 prepare_for_testing.
17941
17942 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17943 Pedro Alves <palves@redhat.com>
17944
17945 PR server/16255
17946 * gdb.multi/multi-attach.c: New file.
17947 * gdb.multi/multi-attach.exp: New file.
17948
17949 2014-04-25 Pedro Alves <palves@redhat.com>
17950
17951 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17952 user.
17953 (top level): Test that "set remote conditional-breakpoints-packet
17954 off" works as intended.
17955 * gdb.base/dprintf.exp: Test that "set remote
17956 breakpoint-commands-packet off" works as intended.
17957 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17958 New function.
17959 (top level): Call it.
17960 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17961 remote fast-tracepoints-packet off" works as intended.
17962 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17963 * lib/gdb.exp (gdb_is_target_remote): ... here.
17964
17965 2014-04-24 David Blaikie <dblaikie@gmail.com>
17966
17967 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17968 ensure clang would not discard them.
17969 * gdb.base/gdbvars.c: Ditto.
17970 * gdb.base/memattr.c: Ditto.
17971 * gdb.base/whatis.c: Ditto.
17972 * gdb.python/py-prettyprint.c: Ditto.
17973 * gdb.trace/actions.c: Ditto.
17974 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17975 ensure clang would not discard it.
17976
17977 2014-04-24 David Blaikie <dblaikie@gmail.com>
17978
17979 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17980 clang to emit the full definition of type required by the test
17981 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17982
17983 2014-04-24 David Blaikie <dblaikie@gmail.com>
17984
17985 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17986 coax Clang into emitting the definition of the type.
17987 * gdb.cp/pr10728-x.h (y): Ditto.
17988 * gdb.cp/pr10728-y.cc (y): Ditto.
17989
17990 2014-04-24 David Blaikie <dblaikie@gmail.com>
17991
17992 * gdb.base/label.exp: XFAIL label related tests under Clang.
17993 * gdb.cp/cplabel.exp: Ditto.
17994 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17995 under Clang those using labels.
17996
17997 2014-04-25 Yao Qi <yao@codesourcery.com>
17998
17999 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18000 double_label.
18001 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18002 partial_label and double_label.
18003
18004 2014-04-24 David Blaikie <dblaikie@gmail.com>
18005
18006 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18007
18008 2014-04-24 David Blaikie <dblaikie@gmail.com>
18009
18010 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18011 of the function to work across GCC and Clang.
18012 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18013 pointer types (const void ** const V void **).
18014
18015 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
18016 Walfred Tedeschi <walfred.tedeschi@intel.com>
18017
18018 * Makefile.in (EXECUTABLES): Added i386-avx512.
18019 * gdb.arch/i386-avx512.c: New file.
18020 * gdb.arch/i386-avx512.exp: Likewise.
18021
18022 2014-04-23 Keith Seitz <keiths@redhat.com>
18023
18024 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18025 (mi_make_breakpoint_table): New procedure.
18026 (mi_create_breakpoint): Use mi_make_breakpoint
18027 and return the result.
18028 (mi_make_breakpoint): New procedure.
18029 (mi_build_kv_pairs): New procedure.
18030
18031 * gdb.mi/mi-break.exp: Remove unused globals,
18032 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18033 All callers updated.
18034 * gdb.mi/mi-dprintf.exp: Use variable to track command
18035 number.
18036 Update all callers of mi_create_breakpoint and use
18037 mi_make_breakpoint_table.
18038 Remove any unused global variables.
18039 * gdb.mi/mi-nonstop.exp: Likewise.
18040 * gdb.mi/mi-nsintrall.exp: Likewise.
18041 * gdb.mi/mi-nsmoribund.exp: Likewise.
18042 * gdb.mi/mi-nsthrexec.exp: Likewise.
18043 * gdb.mi/mi-reverse.exp: Likewise.
18044 * gdb.mi/mi-simplerun.exp: Likewise.
18045 * gdb.mi/mi-stepn.exp: Likewise.
18046 * gdb.mi/mi-syn-frame.exp: Likewise.
18047 * gdb.mi/mi-until.exp: Likewise.
18048 * gdb.mi/mi-var-cp.exp: Likewise.
18049 * gdb.mi/mi-var-display.exp: Likewise.
18050 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18051 * gdb.mi/mi2-var-child.exp: Likewise.
18052 * gdb.mi/mi-vla-c99.exp: Likewise.
18053 * lib/mi-support.exp: Likewise.
18054
18055 From Ian Lance Taylor <iant@cygnus.com>:
18056 * lib/gdb.exp (parse_args): New procedure.
18057
18058 2014-04-23 Pedro Alves <palves@redhat.com>
18059
18060 * gdb.base/break-unload-file.c: New file.
18061 * gdb.base/break-unload-file.exp: New file.
18062 * gdb.base/sym-file-lib.c (baz): New function.
18063 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18064 field.
18065 (load): Store the segment's mapped size.
18066 (unload): New function.
18067 (unload_shlib): New function.
18068 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18069 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18070 set a breakpoint at baz, and call it.
18071 * gdb.base/sym-file.exp: New tests for stale breakpoint
18072 instructions.
18073
18074 2014-04-23 Pedro Alves <palves@redhat.com>
18075
18076 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18077 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18078 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18079 * gdb.base/hbreak-unmapped.c: New file.
18080 * gdb.base/hbreak-unmapped.exp: New file.
18081 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18082 * lib/gdb.exp (gdb_is_target_remote): ... here.
18083
18084 2014-04-22 Pedro Alves <palves@redhat.com>
18085
18086 * gdb.base/consecutive-step-over.c: New file.
18087 * gdb.base/consecutive-step-over.exp: New file.
18088
18089 2014-04-22 Pedro Alves <palves@redhat.com>
18090
18091 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18092 instead of send_gdb/gdb_expect.
18093
18094 2014-04-22 Yao Qi <yao@codesourcery.com>
18095
18096 * lib/trace-support.exp (generate_tracefile): New procedure.
18097 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18098 return 0.
18099 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18100 if generate_tracefile returns 1.
18101
18102 2014-04-18 Tom Tromey <palves@redhat.com>
18103 Pedro alves <tromey@redhat.com>
18104
18105 PR backtrace/15558
18106 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18107 with a backtrace limit.
18108 * gdb.python/py-frame-inline.exp: Test running to an inline
18109 function with a backtrace limit, and printing the newest frame.
18110 * gdb.python/py-frame-inline.c (main): Call f.
18111
18112 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18113
18114 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18115
18116 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18117
18118 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18119 Drop prefix from unsupported source file path.
18120
18121 2014-04-17 Yao Qi <yao@codesourcery.com>
18122
18123 * lib/gdb.exp (with_target_charset): New proc.
18124 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18125 with_target_charset.
18126 (test_print_strings): Likewise.
18127 (test_repeat_bytes): Likewise.
18128 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18129 for some tests.
18130
18131 2014-04-16 Keith Seitz <keiths@redhat.com>
18132
18133 PR gdb/15827
18134 * gdb.dwarf2/corrupt.c: New file.
18135 * gdb.dwarf2/corrupt.exp: New file.
18136
18137 2014-04-16 Keith Seitz <keiths@redhat.com>
18138
18139 PR c++/16597
18140 * gdb.cp/namelessclass.cc: New file.
18141 * gdb.cp/namelessclass.exp: New file.
18142 * gdb.cp/namelessclass.S: New file.
18143
18144 2014-04-16 Doug Evans <dje@google.com>
18145
18146 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18147 Add comment.
18148 (gdbserver_default_get_comm_port): New function.
18149 (gdbserver_start): Check if board file provided
18150 "gdbserver,get_comm_port" and use it if so.
18151 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18152 (gdb,socketport): Set to "stdio".
18153 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18154 (stdio_gdbserver_template): Delete.
18155 (${board}_get_remote_address): Update.
18156 (${board}_build_remote_cmd): Delete.
18157 (${board}_get_comm_port): New function.
18158 (${board}_spawn): Update.
18159 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18160 Delete.
18161 (${board}_get_remote_address): Update.
18162 (${board}_get_comm_port): New function.
18163
18164 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18165
18166 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18167 appearing in any order.
18168
18169 2014-04-15 Doug Evans <dje@google.com>
18170
18171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18172 uninitialized value of "description".
18173
18174 2014-04-15 Keith Seitz <keiths@redhat.com>
18175
18176 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18177 Remove unused globals.
18178 (test_running_the_program): Likewise.
18179 (test_controlled_execution): Likewise.
18180 (test_controlling_breakpoints): Likewise.
18181 (test_program_termination): Likewise.
18182
18183 2014-04-15 Keith Seitz <keiths@redhat.com>
18184
18185 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18186 unused globals.
18187 (test_rbreak_creation_and_listing): Likewise.
18188 (test_ignore_count): Likewise.
18189 (test_error): Likewise.
18190
18191 2014-04-15 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18194 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18195 sym-file-loader.c.
18196 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18197 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18198 to sym-file-loader.c.
18199 (struct library): Forward declare.
18200 (load_shlib, lookup_function): Change prototypes.
18201 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18202 (translate_offset): Remove declarations.
18203 (get_text_addr): New declaration.
18204 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18205 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18206 sym-file-loader.h.
18207 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18208 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18209 here from sym-file-loader.h.
18210 (struct library): New structure.
18211 (load_shlib, lookup_function): Change prototypes and adjust to
18212 work with a struct library.
18213 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18214 (translate_offset): Make static.
18215 (get_text_addr): New function.
18216 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18217
18218 2014-04-15 Pedro Alves <palves@redhat.com>
18219
18220 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18221
18222 2014-04-15 Pedro Alves <palves@redhat.com>
18223
18224 * gdb.base/sym-file-loader.c: Include <limits.h>.
18225 (SELF_LINK): New define.
18226 (get_origin): New function.
18227 (load_shlib): Use it.
18228 * gdb.base/sym-file.exp: Don't early return if the target is
18229 remote. Use runto_main, and issue fail is that fails. Use
18230 gdb_load_shlibs.
18231 (shlib_name): Delete.
18232 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18233
18234 2014-04-15 Pedro Alves <palves@redhat.com>
18235
18236 * gdb.base/sym-file.exp: Remove regex characters from test
18237 message. Don't refer to breakpoint numbers in test messages.
18238
18239 2014-04-14 Keith Seitz <keiths@redhat.com>
18240
18241 PR c++/16253
18242 * gdb.cp/var-tag.cc: New file.
18243 * gdb.cp/var-tag.exp: New file.
18244 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18245 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18246 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18247 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18248
18249 2014-04-14 Tom Tromey <tromey@redhat.com>
18250
18251 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18252 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18253 type.
18254 * gdb.cp/enum-class.exp: New file.
18255 * gdb.cp/enum-class.cc: New file.
18256
18257 2014-04-14 Tom Tromey <tromey@redhat.com>
18258
18259 * gdb.dwarf2/enum-type.exp: New file.
18260
18261 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18262
18263 * gdb.mi/mi-vla-c99.exp: New file.
18264 * gdb.mi/vla.c: New file.
18265
18266 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18267
18268 * gdb.base/vla-datatypes.c: New file.
18269 * gdb.base/vla-datatypes.exp: New file.
18270
18271 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18272
18273 * gdb.base/vla-ptr.c: New file.
18274 * gdb.base/vla-ptr.exp: New file.
18275
18276 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18277
18278 * gdb.dwarf2/count.exp: New file.
18279
18280 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18281
18282 * gdb.base/vla-sideeffect.c: New file.
18283 * gdb.base/vla-sideeffect.exp: New file.
18284
18285 2014-04-14 David Blaikie <dblaikie@gmail.com>
18286
18287 * gdb.mi/non-stop.c: Add return value for non-void function return
18288 statement.
18289 * gdb.threads/staticthreads.c: Ditto.
18290
18291 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18292 Doug Evans <xdje42@gmail.com>
18293
18294 * gdb.guile/scm-value.c: Improve test case.
18295 * gdb.guile/scm-value.exp: Add new test.
18296
18297 2014-04-11 David Blaikie <dblaikie@gmail.com>
18298
18299 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18300 override Clang's default.
18301
18302 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18303
18304 Revert the following changes (regressions):
18305
18306 * gdb.base/vla-sideeffect.c: New file.
18307 * gdb.base/vla-sideeffect.exp: New file.
18308
18309 * gdb.dwarf2/count.exp: New file.
18310
18311 * gdb.base/vla-multi.c: New file.
18312 * gdb.base/vla-multi.exp: New file.
18313
18314 * gdb.base/vla-ptr.c: New file.
18315 * gdb.base/vla-ptr.exp: New file.
18316
18317 * gdb.base/vla-datatypes.c: New file.
18318 * gdb.base/vla-datatypes.exp: New file.
18319
18320 * gdb.mi/mi-vla-c99.exp: New file.
18321 * gdb.mi/vla.c: New file.
18322
18323 2014-04-11 Keith Seitz <keiths@redhat.com>
18324
18325 PR c++/16675
18326 * gdb.cp/cpsizeof.exp: New file.
18327 * gdb.cp/cpsizeof.cc: New file.
18328
18329 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18330
18331 * gdb.mi/mi-vla-c99.exp: New file.
18332 * gdb.mi/vla.c: New file.
18333
18334 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18335
18336 * gdb.base/vla-datatypes.c: New file.
18337 * gdb.base/vla-datatypes.exp: New file.
18338
18339 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18340
18341 * gdb.base/vla-ptr.c: New file.
18342 * gdb.base/vla-ptr.exp: New file.
18343
18344 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18345
18346 * gdb.base/vla-multi.c: New file.
18347 * gdb.base/vla-multi.exp: New file.
18348
18349 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18350
18351 * gdb.dwarf2/count.exp: New file.
18352
18353 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18354
18355 * gdb.base/vla-sideeffect.c: New file.
18356 * gdb.base/vla-sideeffect.exp: New file.
18357
18358 2014-04-11 Yao Qi <yao@codesourcery.com>
18359
18360 * gdb.base/completion.exp: Check file exists before running tests
18361 on file completion.
18362
18363 2014-04-10 Pedro Alves <palves@redhat.com>
18364
18365 * gdb.base/cond-eval-mode.c: New file.
18366 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18367 prepare_for_testing to build the new file. Check result of
18368 runto_main.
18369 (test_break, test_watch): New procedures.
18370 (top level): Use them.
18371
18372 2014-04-08 Pierre Muller <muller@sourceware.org>
18373
18374 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18375 Ctrl-V use for mingw hosts.
18376
18377 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18378
18379 * gdb.python/py-value.c: Improve test case.
18380 * gdb.python/py-value.exp: Add new test.
18381
18382 2014-04-07 David Blaikie <dblaikie@gmail.com>
18383
18384 * lib/compiler.c: Identify the clang compiler.
18385 * lib/compiler.cc: Ditto.
18386
18387 2014-04-03 Yao Qi <yao@codesourcery.com>
18388
18389 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18390
18391 2014-04-01 Anton Blanchard <anton@samba.org>
18392
18393 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18394 messages unique.
18395
18396 2014-04-01 Anton Blanchard <anton@samba.org>
18397
18398 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18399 prepare_for_testing.
18400
18401 2014-04-01 Anton Blanchard <anton@samba.org>
18402
18403 * gdb.arch/ppc64-atomic-inst.c: Remove.
18404 * gdb.arch/ppc64-atomic-inst.S: New file.
18405 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18406
18407 2014-03-31 Doug Evans <dje@google.com>
18408
18409 * gdb.base/print-symbol-loading-lib.c: New file.
18410 * gdb.base/print-symbol-loading-main.c: New file.
18411 * gdb.base/print-symbol-loading.exp: New file.
18412
18413 2014-03-31 Yao Qi <yao@codesourcery.com>
18414
18415 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18416
18417 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18418
18419 * gdb.ada/mi_dyn_arr: New testcase.
18420
18421 2014-03-27 Doug Evans <dje@google.com>
18422
18423 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18424
18425 2014-03-27 Yao Qi <yao@codesourcery.com>
18426
18427 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18428 if target is nios2-*-*.
18429
18430 2014-03-26 Yao Qi <yao@codesourcery.com>
18431
18432 * lib/gdb.exp (readline_is_used): New proc.
18433 * gdb.base/completion.exp: Move tests on command complete up.
18434 Skip the rest of tests if readline is not used.
18435 * gdb.ada/complete.exp: Skp the test if readline is not
18436 used.
18437 * gdb.base/filesym.exp: Likewise.
18438 * gdb.base/macscp.exp: Likewise.
18439 * gdb.base/readline-ask.exp: Likewise.
18440 * gdb.base/readline.exp: Likewise.
18441 * gdb.python/py-cmd.exp: Likewise.
18442 * gdb.trace/tfile.exp: Likewise.
18443
18444 2014-03-26 Yao Qi <yao@codesourcery.com>
18445
18446 * gdb.base/macscp.exp: Fix code format issues.
18447
18448 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18449
18450 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18451 * gdb.asm/powerpc64le.inc: New file.
18452
18453 2014-03-25 Pedro Alves <palves@redhat.com>
18454 Doug Evans <dje@google.com>
18455
18456 * gdb.base/source-execution.c: New file.
18457 * gdb.base/source-execution.exp: New file.
18458 * gdb.base/source-execution.gdb: New file.
18459
18460 2014-03-24 Doug Evans <dje@google.com>
18461
18462 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18463 using fission.
18464
18465 2014-03-24 Hui Zhu <hui@codesourcery.com>
18466 Pedro Alves <palves@redhat.com>
18467
18468 PR breakpoints/16101
18469 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18470 test pass/fail messages. Detect missing support for dprintf when
18471 breakpoints are actually inserted.
18472 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18473 breakpoints are actually inserted.
18474 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18475 fails.
18476
18477 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18478
18479 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18480
18481 2014-03-22 Doug Evans <xdje42@gmail.com>
18482
18483 * gdb.python/python.exp (python not supported): Verify multi-line
18484 python command issues an error.
18485 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18486 guile command issues an error.
18487
18488 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18489
18490 * gdb.threads/thread-specific.exp: Handle the lack of usable
18491 $this_breakpoint and $this_thread.
18492
18493 2014-03-21 Hui Zhu <hui@codesourcery.com>
18494
18495 * gdb.base/attach.exp (do_command_attach_tests): New.
18496
18497 2014-03-20 Tom Tromey <tromey@redhat.com>
18498 Pedro Alves <palves@redhat.com>
18499
18500 PR cli/15718
18501 * gdb.base/condbreak-call-false.c: New file.
18502 * gdb.base/condbreak-call-false.exp: New file.
18503
18504 2014-03-20 Pedro Alves <palves@redhat.com>
18505
18506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18507 Delete.
18508 (block_signals, unblock_signals): Delete.
18509 (child_function_2, main): Remove references to deleted variable
18510 and functions.
18511
18512 2014-03-20 Pedro Alves <palves@redhat.com>
18513
18514 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18515 Use pthread_kill to signal thread 2.
18516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18517 Adjust to make the test send itself a signal rather than using the
18518 host's "kill" command.
18519
18520 2014-03-20 Pedro Alves <palves@redhat.com>
18521
18522 * gdb.threads/multiple-step-overs.c: New file.
18523 * gdb.threads/multiple-step-overs.exp: New file.
18524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18525 Adjust expected infrun debug output.
18526
18527 2014-03-20 Pedro Alves <palves@redhat.com>
18528
18529 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18530 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18531
18532 2014-03-20 Pedro Alves <palves@redhat.com>
18533
18534 PR breakpoints/7143
18535 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18536 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18537 of gdb_test_multiple.
18538 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18539 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18540
18541 2014-03-20 Pedro Alves <palves@redhat.com>
18542
18543 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18544 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18545
18546 2014-03-19 Pedro Alves <palves@redhat.com>
18547
18548 * gdb.base/async.exp: Remove early return.
18549
18550 2014-03-19 Pedro Alves <palves@redhat.com>
18551
18552 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18553
18554 2014-03-19 Pedro Alves <palves@redhat.com>
18555
18556 * gdb.base/async.exp (test_background): Expect \r\n after
18557 "completed." in the fail pattern.
18558
18559 2014-03-19 Pedro Alves <palves@redhat.com>
18560
18561 * gdb.base/async.exp (test_background): New procedure.
18562 Use it for all background execution command tests.
18563
18564 2014-03-19 Pedro Alves <palves@redhat.com>
18565
18566 * gdb.base/async.exp: Use prepare_for_testing.
18567
18568 2014-03-19 Pedro Alves <palves@redhat.com>
18569
18570 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18571 the same line.
18572
18573 2014-03-19 Pedro Alves <palves@redhat.com>
18574
18575 * gdb.base/async.c (main): Add "jump here" and "until here" line
18576 marker comments.
18577 * gdb.base/async.exp (jump_here): New global.
18578 (jump& test): Use it.
18579 (until_here): New global.
18580 (until& test): Use it.
18581
18582 2014-03-19 Pedro Alves <palves@redhat.com>
18583
18584 * gdb.base/async.exp: Don't frob gdb_protocol.
18585
18586 2014-03-18 Doug Evans <xdje42@gmail.com>
18587
18588 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18589 Fix spelling of exec-done-display.
18590
18591 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18592
18593 PR gdb/15358
18594 * gdb.base/gdb-sigterm.c: New file.
18595 * gdb.base/gdb-sigterm.exp: New file.
18596
18597 2014-03-18 Pedro Alves <palves@redhat.com>
18598
18599 PR gdb/13860
18600 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18601 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18602 solib-event.
18603
18604 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18605
18606 * gdb.ada/pckd_arr_ren: New testcase.
18607
18608 2014-03-13 Doug Evans <xdje42@gmail.com>
18609
18610 PR guile/16612
18611 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18612 collect after discarding symbols.
18613
18614 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18615 Doug Evans <xdje42@gmail.com>
18616
18617 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18618 to history survives a gc.
18619
18620 2014-03-13 Pedro Alves <palves@redhat.com>
18621
18622 * gdb.base/default.exp: Don't test "target procfs".
18623
18624 2014-03-13 Pedro Alves <palves@redhat.com>
18625
18626 * gdb.base/default.exp: Update "target child" and "target procfs"
18627 tests to not expect "Unix".
18628
18629 2014-03-12 Tom Tromey <tromey@redhat.com>
18630
18631 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18632 New procs. Add target-async tests.
18633 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18634 Add target-async tests.
18635
18636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18637
18638 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18639 'func_start' and 'func_end' for the beginning and end of the
18640 function code, respectively.
18641 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18642 'func_end' instead of 'func' and 'main'.
18643
18644 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18645
18646 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18647 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18648 generate the debug info assembler source.
18649
18650 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18651
18652 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18653 * gdb.dwarf2/arr-subrange.exp: Likewise.
18654 * gdb.dwarf2/dwz.exp: Likewise.
18655 * gdb.dwarf2/method-ptr.exp: Likewise.
18656 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18657 * gdb.dwarf2/subrange.exp: Likewise.
18658 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18659 * gdb.dwarf2/implptrpiece.exp: Likewise.
18660 * gdb.dwarf2/nostaticblock.exp: Likewise.
18661
18662 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18663
18664 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18665 directory to absolute path name arguments.
18666
18667 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18668
18669 * gdb.ada/tagged_access: New testcase.
18670
18671 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18672
18673 * gdb.btrace/data.exp: Update expected output.
18674
18675 2014-03-06 Yao Qi <yao@codesourcery.com>
18676
18677 * gdb.trace/pr16508.exp: New file.
18678
18679 2014-03-05 Pedro Alves <palves@redhat.com>
18680
18681 PR gdb/16575
18682 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18683 procedure.
18684 (top level): Adjust to use it. Add tests that exercise breakpoint
18685 interaction with the code-cache.
18686
18687 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18688
18689 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18690 test for 'history-append!'.
18691
18692 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18693
18694 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18695 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18696 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18697 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18698 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18699 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18700
18701 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18702
18703 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18704 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18705 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18706
18707 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18708
18709 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18710
18711 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18712
18713 * gdb.dwarf2/arr-stride.c: New file.
18714 * gdb.dwarf2/arr-stride.exp: New file.
18715
18716 2014-02-26 Pedro Alves <palves@redhat.com>
18717
18718 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18719 that won't ever trigger. Make sure that GDB reports the correct
18720 breakpoint that caused the stop.
18721
18722 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18723
18724 PR gdb/16626
18725 * gdb.base/auto-load-script: New file.
18726 * gdb.base/auto-load.c: New file.
18727 * gdb.base/auto-load.exp: New file.
18728
18729 PR gdb/16626
18730 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18731
18732 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18733
18734 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18735 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18736
18737 2014-02-24 Doug Evans <dje@google.com>
18738
18739 * lib/gdb.exp (run_on_host): Log error output if program fails.
18740
18741 2014-02-21 Pedro Alves <palves@redhat.com>
18742
18743 * gdb.threads/step-after-sr-lock.c: Rename to ...
18744 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18745 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18746 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18747 ... this.
18748
18749 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18750
18751 PR tdep/16397
18752 * gdb.arch/amd64-stap-special-operands.exp: New file.
18753 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18754 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18755 * gdb.arch/amd64-stap-triplet.S: Likewise.
18756 * gdb.arch/amd64-stap-triplet.c: Likewise.
18757
18758 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18759
18760 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18761 in .section pseudo-op.
18762
18763 2014-02-20 lin zuojian <manjian2006@gmail.com>
18764 Joel Brobecker <brobecker@adacore.com>
18765 Doug Evans <xdje42@gmail.com>
18766
18767 PR symtab/16581
18768 * gdb.dwarf2/dw2-icycle.S: New file.
18769 * gdb.dwarf2/dw2-icycle.c: New file.
18770 * gdb.dwarf2/dw2-icycle.exp: New file.
18771
18772 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18773
18774 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18775 operations on gdb.Value objects.
18776 * gdb.python/py-value-cc.exp: Add new test to test operations on
18777 gdb.Value objects.
18778
18779 2014-02-18 Doug Evans <dje@google.com>
18780
18781 * Makefile.in (TESTS): New variable.
18782 (expanded_tests, expanded_tests_or_none): New variables
18783 (check-single): Pass $(expanded_tests_or_none) to runtest.
18784 (check-parallel): Only run tests in $(TESTS) if non-empty.
18785 (check/no-matching-tests-found): New rule.
18786 * README: Document TESTS makefile variable.
18787
18788 2014-02-18 Doug Evans <dje@google.com>
18789
18790 * Makefile.in (check-parallel): rm -rf outputs temp.
18791
18792 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18793
18794 Fix "ERROR: no fileid for" in the testsuite.
18795 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18796
18797 2014-02-12 Doug Evans <dje@google.com>
18798
18799 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18800 (MISCELLANEOUS): New variable.
18801 (clean): rm -rf $(MISCELLANEOUS).
18802 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18803 dwp live in the same directory as symlinks, with each symlink pointed
18804 to a differently named file in a different directory.
18805
18806 2014-02-11 Doug Evans <dje@google.com>
18807
18808 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18809 of Tcl file commands.
18810
18811 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18812
18813 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18814 "kill -SIGUSR1 -1".
18815
18816 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18817
18818 * gdb.ada/tick_length_array_enum_idx: New testcase.
18819
18820 2014-02-10 Doug Evans <xdje42@gmail.com>
18821
18822 * configure.ac (AC_OUTPUT): Add gdb.guile.
18823 * configure: Regenerate.
18824 * lib/gdb-guile.exp: New file.
18825 * lib/gdb.exp (get_target_charset): New function.
18826 * gdb.base/help.exp: Update expected output from "apropos apropos".
18827 * gdb.guile/Makefile.in: New file.
18828 * gdb.guile/guile.exp: New file.
18829 * gdb.guile/scm-arch.c: New file.
18830 * gdb.guile/scm-arch.exp: New file.
18831 * gdb.guile/scm-block.c: New file.
18832 * gdb.guile/scm-block.exp: New file.
18833 * gdb.guile/scm-breakpoint.c: New file.
18834 * gdb.guile/scm-breakpoint.exp: New file.
18835 * gdb.guile/scm-disasm.c: New file.
18836 * gdb.guile/scm-disasm.exp: New file.
18837 * gdb.guile/scm-equal.c: New file.
18838 * gdb.guile/scm-equal.exp: New file.
18839 * gdb.guile/scm-error.exp: New file.
18840 * gdb.guile/scm-error.scm: New file.
18841 * gdb.guile/scm-frame-args.c: New file.
18842 * gdb.guile/scm-frame-args.exp: New file.
18843 * gdb.guile/scm-frame-args.scm: New file.
18844 * gdb.guile/scm-frame-inline.c: New file.
18845 * gdb.guile/scm-frame-inline.exp: New file.
18846 * gdb.guile/scm-frame.c: New file.
18847 * gdb.guile/scm-frame.exp: New file.
18848 * gdb.guile/scm-generics.exp: New file.
18849 * gdb.guile/scm-gsmob.exp: New file.
18850 * gdb.guile/scm-iterator.c: New file.
18851 * gdb.guile/scm-iterator.exp: New file.
18852 * gdb.guile/scm-math.c: New file.
18853 * gdb.guile/scm-math.exp: New file.
18854 * gdb.guile/scm-objfile-script-gdb.in: New file.
18855 * gdb.guile/scm-objfile-script.c: New file.
18856 * gdb.guile/scm-objfile-script.exp: New file.
18857 * gdb.guile/scm-objfile.c: New file.
18858 * gdb.guile/scm-objfile.exp: New file.
18859 * gdb.guile/scm-ports.exp: New file.
18860 * gdb.guile/scm-pretty-print.c: New file.
18861 * gdb.guile/scm-pretty-print.exp: New file.
18862 * gdb.guile/scm-pretty-print.scm: New file.
18863 * gdb.guile/scm-section-script.c: New file.
18864 * gdb.guile/scm-section-script.exp: New file.
18865 * gdb.guile/scm-section-script.scm: New file.
18866 * gdb.guile/scm-symbol.c: New file.
18867 * gdb.guile/scm-symbol.exp: New file.
18868 * gdb.guile/scm-symtab-2.c: New file.
18869 * gdb.guile/scm-symtab.c: New file.
18870 * gdb.guile/scm-symtab.exp: New file.
18871 * gdb.guile/scm-type.c: New file.
18872 * gdb.guile/scm-type.exp: New file.
18873 * gdb.guile/scm-value-cc.cc: New file.
18874 * gdb.guile/scm-value-cc.exp: New file.
18875 * gdb.guile/scm-value.c: New file.
18876 * gdb.guile/scm-value.exp: New file.
18877 * gdb.guile/source2.scm: New file.
18878 * gdb.guile/types-module.cc: New file.
18879 * gdb.guile/types-module.exp: New file.
18880
18881 2014-02-10 Yao Qi <yao@codesourcery.com>
18882
18883 PR testsuite/16543
18884 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18885 * configure: Regenerated.
18886 * Makefile.in: New file.
18887
18888 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18889
18890 * gdb.python/py-framefilter.exp: Fix typo.
18891
18892 2014-02-08 Yao Qi <yao@codesourcery.com>
18893
18894 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18895 that no =breakpoint-modified is emitted when breakpoints are
18896 modified through MI commands.
18897
18898 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18899 Pedro Alves <palves@redhat.com>
18900
18901 * gdb.threads/step-after-sr-lock.c: New file.
18902 * gdb.threads/step-after-sr-lock.exp: New file.
18903
18904 2014-02-07 Pedro Alves <palves@redhat.com>
18905
18906 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18907
18908 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18909
18910 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18911 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18912
18913 2014-02-06 Doug Evans <xdje42@gmail.com>
18914
18915 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18916 output.
18917
18918 * gdb.gdb/python-interrupts.exp: New file.
18919
18920 2014-02-05 Yao Qi <yao@codesourcery.com>
18921
18922 * gdb.trace/report.exp (use_collected_data): Test the output
18923 of "info threads" and "info inferiors".
18924
18925 2014-02-05 Yao Qi <yao@codesourcery.com>
18926
18927 Revert this patch:
18928
18929 2013-05-24 Yao Qi <yao@codesourcery.com>
18930
18931 * gdb.trace/tfile.exp: Test inferior and thread.
18932
18933 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18934
18935 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18936 on a function.
18937 * gdb.base/step-bt.c: Call hello via function pointer to make
18938 sure its first instruction is executed on powerpc64le-linux.
18939
18940 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18941
18942 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18943
18944 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18945
18946 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18947 of the test patterns for use on little-endian systems.
18948
18949 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18950
18951 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18952 (decimal_vector): Fix for little-endian.
18953
18954 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18955
18956 * gdb.arch/sparc-sysstep.exp: New file.
18957 * gdb.arch/sparc-sysstep.c: Likewise.
18958
18959 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18960
18961 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18962
18963 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18964
18965 2014-01-23 Tom Tromey <tromey@redhat.com>
18966
18967 * gdb.ada/array_char_idx: New testcase.
18968
18969 2014-01-23 Tom Tromey <tromey@redhat.com>
18970
18971 PR python/16487:
18972 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18973 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18974 classes.
18975
18976 2014-01-23 Tom Tromey <tromey@redhat.com>
18977
18978 PR python/16491:
18979 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18980 string from an inferior frame.
18981 * gdb.python/py-framefilter-mi.exp: Update.
18982
18983 2014-01-22 Doug Evans <dje@google.com>
18984
18985 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18986
18987 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18988
18989 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18990
18991 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18992
18993 * gdb.trace/entry-values.exp: Remove excess space character from
18994 regex patterns. Handle s390 call instruction.
18995
18996 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18997
18998 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18999 define "*_start" label. Make "name" static.
19000 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19001 ${name} by references to ${name}_start.
19002
19003 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19004
19005 * gdb.base/info-macros.exp: Remove "debug" from the compile
19006 options.
19007
19008 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19009
19010 * gdb.dlang/demangle.exp: New file.
19011
19012 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19013
19014 * gdb.dlang/primitive-types.exp: New file.
19015
19016 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19017
19018 * configure.ac: Create gdb.dlang/Makefile.
19019 * configure: Regenerate.
19020 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19021 * gdb.dlang/Makefile.in: New file.
19022 * lib/d-support.exp: New file.
19023 * lib/gdb.exp (skip_d_tests): New proc.
19024
19025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19026
19027 * gdb.btrace/delta.exp: Check reverse stepi.
19028 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19029 * gdb.btrace/finish.exp: New.
19030 * gdb.btrace/next.exp: New.
19031 * gdb.btrace/nexti.exp: New.
19032 * gdb.btrace/record_goto.c: Add comments.
19033 * gdb.btrace/step.exp: New.
19034 * gdb.btrace/stepi.exp: New.
19035 * gdb.btrace/multi-thread-step.c: New.
19036 * gdb.btrace/multi-thread-step.exp: New.
19037 * gdb.btrace/rn-dl-bind.c: New.
19038 * gdb.btrace/rn-dl-bind.exp: New.
19039 * gdb.btrace/data.c: New.
19040 * gdb.btrace/data.exp: New.
19041 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19042
19043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19044
19045 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19046 * gdb.btrace/exception.exp: Update.
19047 * gdb.btrace/instruction_history.exp: Update.
19048 * gdb.btrace/record_goto.exp: Update.
19049 * gdb.btrace/tailcall.exp: Update.
19050 * gdb.btrace/unknown_functions.exp: Update.
19051 * gdb.btrace/delta.exp: New.
19052
19053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19054
19055 * gdb.btrace/record_goto.exp: Add backtrace test.
19056 * gdb.btrace/tailcall.exp: Add backtrace test.
19057
19058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19059
19060 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19061 * gdb.btrace/record_goto.c: New.
19062 * gdb.btrace/record_goto.exp: New.
19063 * gdb.btrace/x86-record_goto.S: New.
19064
19065 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19066
19067 * gdb.btrace/function_call_history.exp: Update tests.
19068 * gdb.btrace/instruction_history.exp: Update tests.
19069
19070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19071
19072 * gdb.btrace/function_call_history.exp: Fix expected field
19073 order for "record function-call-history".
19074 Add new tests for "record function-call-history /c".
19075 * gdb.btrace/exception.cc: New.
19076 * gdb.btrace/exception.exp: New.
19077 * gdb.btrace/tailcall.exp: New.
19078 * gdb.btrace/x86-tailcall.S: New.
19079 * gdb.btrace/x86-tailcall.c: New.
19080 * gdb.btrace/unknown_functions.c: New.
19081 * gdb.btrace/unknown_functions.exp: New.
19082 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19083
19084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19085
19086 * gdb.btrace/instruction_history.exp: Update.
19087 * gdb.btrace/function_call_history.exp: Update.
19088
19089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19090
19091 * gdb.btrace/function_call_history.exp: Fix expected function
19092 trace.
19093 * gdb.btrace/instruction_history.exp: Initialize traced.
19094 Remove traced_functions.
19095
19096 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19097
19098 * gdb.btrace/function_call_history.exp: Update
19099 * gdb.btrace/instruction_history.exp: Update.
19100
19101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19102
19103 * gdb.btrace/enable.exp: Update expected text.
19104
19105 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19106
19107 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19108 bytes.
19109
19110 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19111
19112 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19113
19114 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19115
19116 * lib/gdb.exp (supports_process_record): Return true for
19117 arm*-linux*. (supports_reverse): Likewise.
19118
19119 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19120
19121 PR python/15464
19122 PR python/16113
19123 * gdb.python/py-type.c: Enhance test case.
19124 * gdb.python/py-value-cc.cc: Likewise
19125 * gdb.python/py-type.exp: Add new tests.
19126 * gdb.python/py-value-cc.exp: Likewise
19127
19128 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19129 Pedro Alves <palves@redhat.com>
19130
19131 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19132 Make "name" extern.
19133 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19134 references to ${name}_start by references to ${name}.
19135
19136 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19137
19138 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19139
19140 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19141
19142 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19143
19144 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19145 Pedro Alves <palves@redhat.com>
19146
19147 * gdb.mi/mi-info-os.exp: Connect to the target with
19148 mi_gdb_target_load.
19149
19150 2014-01-08 Pedro Alves <palves@redhat.com>
19151
19152 * gdb.threads/reconnect-signal.c: New file.
19153 * gdb.threads/reconnect-signal.exp: New file.
19154
19155 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19156
19157 * gdb.base/source-dir.exp: New file.
19158
19159 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19160
19161 * gdb.ada/mi_interface: New testcase.
19162
19163 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19164
19165 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19166 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19167 gdb.ada/pp-rec-component/pck.ads: New files.
19168
19169 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19170
19171 * gdb.python/py-pp-integral.c: New file.
19172 * gdb.python/py-pp-integral.py: New file.
19173 * gdb.python/py-pp-integral.exp: New file.
19174
19175 For older changes see ChangeLog-1993-2013.
19176 \f
19177 ;; Local Variables:
19178 ;; mode: change-log
19179 ;; left-margin: 8
19180 ;; fill-column: 74
19181 ;; version-control: never
19182 ;; End:
19183
19184 Copyright 2014-2020 Free Software Foundation, Inc.
19185 Copying and distribution of this file, with or without modification,
19186 are permitted provided the copyright notice and this notice are preserved.
This page took 0.633224 seconds and 4 git commands to generate.