Add "layout split" test
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-07-27 Tom Tromey <tom@tromey.com>
2
3 * gdb.tui/basic.exp: Add "layout split" test.
4
5 2019-07-27 Tom Tromey <tom@tromey.com>
6
7 * gdb.tui/basic.exp: Add "layout asm" test.
8
9 2019-07-27 Tom Tromey <tom@tromey.com>
10
11 * lib/tuiterm.exp: New file.
12 * gdb.tui/basic.exp: New file.
13
14 2019-07-27 Kevin Buettner <kevinb@redhat.com>
15
16 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
17 Enable tests associated with this flag. Adjust regex
18 referencing "foo_low" to now refer to "foo_cold" instead.
19
20 2019-07-27 Kevin Buettner <kevinb@redhat.com>
21
22 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
23 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
24 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
25 foo_cold. Revise comments to match.
26 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
27 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
28 were wrapped into this proc; Call do_test in loop from outermost
29 level.
30 (foo_low): Rename all occurrences to "foo_cold".
31 (backtrace from baz): New test.
32 (x2/i foo_cold): New test.
33 (info line *foo_cold): New test.
34
35 2019-07-26 Tom de Vries <tdevries@suse.de>
36
37 * gdb.arch/i386-pkru.exp: Fix unterminated string.
38
39 2019-07-25 Tom de Vries <tdevries@suse.de>
40
41 PR testsuite/24830
42 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
43 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
44 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
45 (skip_libstdcxx_probe_tests): ... here.
46 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
47
48 2019-07-24 Tom de Vries <tdevries@suse.de>
49
50 PR testsuite/24807
51 * gdb.objc/basicclass.m: Include stdio.h.
52 * gdb.objc/nondebug.m: Same.
53 * gdb.objc/objcdecode.m: Same.
54
55 2019-07-24 Tom de Vries <tdevries@suse.de>
56
57 PR testsuite/24612
58 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
59 additional_flags.
60
61 2019-07-24 Tom de Vries <tdevries@suse.de>
62
63 PR testsuite/24831
64 * gdb.multi/tids.exp: Update error messages for info threads.
65
66 2019-07-24 Tom de Vries <tdevries@suse.de>
67
68 * gdb.base/info-types.exp: Allow info types to print info for more than
69 one file.
70
71 2019-07-23 Tom de Vries <tdevries@suse.de>
72
73 PR testsuite/24842
74 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
75 gdb_spawn_with_cmdline_opts.
76
77 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
78
79 * gdb.arch/arm-cmse-sgstubs.c: New test.
80 * gdb.arch/arm-cmse-sgstubs.exp: New file.
81
82 2019-07-23 Tom de Vries <tdevries@suse.de>
83
84 PR testsuite/24711
85 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
86 issuing next command.
87
88 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
89
90 * gdb.ada/info_auto_lang.exp: Update expected results.
91 * gdb.base/info-types.c: Add additional types to check.
92 * gdb.base/info-types.exp: Update expected results.
93
94 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.base/info-types.c: New file.
97 * gdb.base/info-types.exp: New file.
98
99 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * gdb.arch/riscv-bp-infcall.c: New file.
102 * gdb.arch/riscv-bp-infcall.exp: New file.
103
104 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
105
106 PR breakpoints/24541
107 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
108
109 2019-07-14 Tom de Vries <tdevries@suse.de>
110
111 PR testsuite/24760
112 * gdb.objc/basicclass.exp: Fix unterminated string.
113
114 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
115 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
118 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
119 negative bounds.
120 * gdb.fortran/vla-value.exp: Print elements of an array with
121 negative bounds.
122 * gdb.fortran/vla.f90: Setup an array with negative bounds for
123 testing.
124
125 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * gdb.base/options.exp (expect_string): Dequote strings in
128 results.
129 (test-string): Test strings with different quoting and reindent.
130
131 2019-07-10 Tom Tromey <tromey@adacore.com>
132
133 * gdb.ada/mi_ex_cond.exp: Update expected results.
134 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
135 * gdb.ada/mi_catch_ex.exp: Update expected results.
136 * gdb.ada/mi_catch_assert.exp: Update expected results.
137 * gdb.ada/catch_ex.exp (catch_exception_info)
138 (catch_exception_entry, catch_assert_entry)
139 (catch_unhandled_entry): Update.
140 * gdb.ada/catch_assert_if.exp: Update expected results.
141
142 2019-07-10 Richard Bunt <richard.bunt@arm.com>
143 Stephen Roberts <stephen.roberts@arm.com>
144
145 * gdb.base/define.exp: Restore original prompt.
146
147 2019-07-09 Pedro Alves <palves@redhat.com>
148
149 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
150 breakpoints" output.
151 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
152 * gdb.python/py-breakpoint.exp: No longer expect that "catch
153 throw" creates breakpoint.
154 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
155 'type="catchpoint"'.
156
157 2019-07-09 Pedro Alves <palves@redhat.com>
158
159 PR c++/15468
160 * gdb.cp/except-multi-location-lib.cc: New.
161 * gdb.cp/except-multi-location-main.cc: New.
162 * gdb.cp/except-multi-location.exp: New.
163
164 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
165
166 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
167 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
168 argument and update callers.
169
170 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * gdb.arch/amd64-break-on-asm-line.S: New file.
173 * gdb.arch/amd64-break-on-asm-line.exp: New file.
174
175 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
176
177 * gdb.base/printcmds.exp: Test printing C string and
178 C wide string convenience vars without transiting via the inferior.
179 Also make test names unique.
180
181 2019-07-08 Alan Hayward <alan.hayward@arm.com>
182
183 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
184
185 2019-07-04 Pedro Alves <palves@redhat.com>
186
187 * lib/gdb.exp (foreach_with_prefix): Don't return early if
188 body returned ok(0), break(3) or continue(4).
189 * gdb.testsuite/foreach_with_prefix.exp: New file.
190
191 2019-07-04 Alan Hayward <alan.hayward@arm.com>
192
193 * gdb.server/unittest.exp: Allow 0 unit tests to run.
194
195 2019-07-03 Pedro Alves <palves@redhat.com>
196
197 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
198 "return -code".
199
200 2019-07-03 Pedro Alves <palves@redhat.com>
201
202 PR cli/24732
203 * gdb.base/shell.exp: Load completion-support.exp.
204 Adjust expected error output. Add completion tests.
205
206 2019-07-03 Pedro Alves <palves@redhat.com>
207
208 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
209 string_to_regexp.
210
211 2019-07-03 Pedro Alves <palves@redhat.com>
212
213 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
214 (expect_integer): Adjust to expect "-string".
215 (expect_string): New.
216 (all_options): Expect "-string".
217 (test-flag, test-boolean): Adjust to expect "-string".
218 (test-string): New proc.
219 (top level): Call it.
220
221 2019-07-03 Pedro Alves <palves@redhat.com>
222
223 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
224 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
225 the expected output in the success.
226
227 2019-07-03 Pedro Alves <palves@redhat.com>
228
229 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
230 Split one gdb_test_multiple call in two to avoid a race.
231
232 2019-07-03 Pedro Alves <palves@redhat.com>
233
234 * gdb.base/with.c: New file.
235 * gdb.base/with.exp: New file.
236
237 2019-07-03 Pedro Alves <palves@redhat.com>
238
239 * gdb.base/settings.exp: Replace all references to "maint
240 test-settings set" with references to "maint set test-settings",
241 and all references to "maint test-settings show" with references
242 to "maint show test-settings".
243
244 2019-07-03 Pedro Alves <palves@redhat.com>
245
246 * gdb.base/settings.exp (test-string): Adjust expected out when
247 testing "maint test-settings show filename"
248
249 2019-07-02 Pedro Alves <palves@redhat.com>
250
251 * gdb.base/options.exp (test-info-threads): New procedure.
252 (top level): Call it.
253
254 2019-06-28 Tom Tromey <tromey@adacore.com>
255
256 * gdb.dwarf2/ada-linkage-name.c: New file.
257 * gdb.dwarf2/ada-linkage-name.exp: New file.
258
259 2019-06-27 Tom Tromey <tromey@adacore.com>
260
261 * gdb.cp/constexpr-field.exp: Use setup_xfail.
262
263 2019-06-26 Tom de Vries <tdevries@suse.de>
264
265 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
266
267 2019-06-26 Tom de Vries <tdevries@suse.de>
268
269 * gdb.base/index-cache.exp: Add back missing debug option.
270
271 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
272
273 * gdb.base/alias.exp: Test non matching/non existing prefixes.
274
275 2019-06-25 Tom de Vries <tdevries@suse.de>
276
277 PR testsuite/24727
278 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
279
280 2019-06-24 Tom de Vries <tdevries@suse.de>
281
282 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
283
284 2019-06-24 Tom de Vries <tdevries@suse.de>
285
286 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
287 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
288 * gdb.trace/unavailable-dwarf-piece.exp: Same.
289
290 2019-06-24 Tom de Vries <tdevries@suse.de>
291
292 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
293
294 2019-06-21 Tom de Vries <tdevries@suse.de>
295
296 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
297
298 2019-06-21 Tom de Vries <tdevries@suse.de>
299
300 PR testsuite/24518
301 PR ada/24713
302 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
303 index.
304
305 2019-06-19 Tom Tromey <tromey@adacore.com>
306
307 * gdb.ada/length_cond.exp: Add intro comment.
308
309 2019-06-19 Tom Tromey <tromey@adacore.com>
310
311 * gdb.ada/length_cond.exp: New file.
312 * gdb.ada/length_cond/length_cond.adb: New file.
313 * gdb.ada/length_cond/pck.adb: New file.
314 * gdb.ada/length_cond/pck.ads: New file.
315
316 2019-06-18 Tom de Vries <tdevries@suse.de>
317
318 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
319
320 2019-06-18 Tom Tromey <tromey@adacore.com>
321
322 * gdb.base/list0.h: Add comment explaining control character.
323
324 2019-06-18 Tom de Vries <tdevries@suse.de>
325
326 * boards/fission.exp: Break up long debug_flags line.
327
328 2019-06-16 Tom de Vries <tdevries@suse.de>
329
330 PR gdb/24445
331 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
332 generated index.
333
334 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
335
336 PR gdb/24686
337 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
338 improve detection of bug gdb/24541.
339
340 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
341
342 PR gdb/24669
343 * gdb.base/index-cache.exp (uses_readnow,
344 expecting_index_cache_use): Define global variable.
345 (test_cache_enabled_miss, test_cache_enabled_hit): Use
346 expecting_index_cache_use.
347
348 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
349 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 * gdb.fortran/pointers.f90: New file.
352 * gdb.fortran/print_type.exp: New file.
353 * gdb.fortran/vla-ptype.exp: Adapt expected results.
354 * gdb.fortran/vla-type.exp: Likewise.
355 * gdb.fortran/vla-value.exp: Likewise.
356 * gdb.mi/mi-vla-fortran.exp: Likewise.
357
358 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
361 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
362 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
363 as a stop reason.
364
365 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * gdb.base/annota1.exp: Update expected results.
368 * gdb.cp/annota2.exp: Likewise.
369 * gdb.cp/annota3.exp: Likewise.
370
371 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
372
373 * gdb.base/style-logging.exp: Remove path from test name.
374
375 2019-06-14 Tom Tromey <tromey@adacore.com>
376
377 PR gdb/24502:
378 * gdb.base/style-logging.exp: New file.
379
380 2019-06-14 Tom Tromey <tromey@adacore.com>
381
382 * gdb.base/symfile-warn.exp: New file.
383 * gdb.base/symfile-warn.c: New file.
384
385 2019-06-14 Tom Tromey <tromey@adacore.com>
386
387 * gdb.base/annotate-symlink.exp: New file.
388
389 2019-06-14 Tom Tromey <tromey@adacore.com>
390
391 * gdb.ada/set_wstr.exp: Add reassignment test.
392
393 2019-06-14 Tom Tromey <tromey@adacore.com>
394
395 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
396 'unchecked_access and 'unrestricted_access as well.
397
398 2019-06-14 Tom Tromey <tromey@adacore.com>
399
400 PR ada/24539:
401 * gdb.ada/vla.exp: Update tests.
402 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
403 pragma.
404
405 2019-06-13 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/settings.exp (test-integer): Test junk after
408 "unlimited".
409
410 2019-06-13 Pedro Alves <palves@redhat.com>
411
412 * gdb.base/options.exp (test-thread-apply): New.
413 (top level): Call it.
414
415 2019-06-13 Pedro Alves <palves@redhat.com>
416
417 * gdb.base/options.exp (test-frame-apply): New.
418 (top level): Test print commands with different "frame apply"
419 prefixes.
420
421 2019-06-13 Pedro Alves <palves@redhat.com>
422
423 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
424 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
425 'max_completions' parameter and handle it.
426 (test_gdb_completion_offers_commands): New.
427
428 2019-06-13 Pedro Alves <palves@redhat.com>
429
430 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
431
432 2019-06-13 Pedro Alves <palves@redhat.com>
433
434 * gdb.base/options.exp (test-backtrace): New.
435 (top level): Call it.
436
437 2019-06-13 Pedro Alves <palves@redhat.com>
438
439 * gdb.guile/scm-frame-args.exp: Use "set print
440 raw-frame-arguments" instead of "set print raw frame-arguments".
441 * gdb.python/py-frame-args.exp: Likewise.
442
443 2019-06-13 Pedro Alves <palves@redhat.com>
444
445 * gdb.compile/compile.exp: Adjust expected output to option
446 processing changes.
447
448 2019-06-13 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/options.exp: Build executable.
451 (test-print): New procedure.
452 (top level): Call it, once for "print" and another for "compile
453 print".
454
455 2019-06-13 Pedro Alves <palves@redhat.com>
456
457 * gdb.base/options.c: New file.
458 * gdb.base/options.exp: New file.
459
460 2019-06-13 Pedro Alves <palves@redhat.com>
461
462 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
463 that "o" is ambiguous.
464
465 2019-06-13 Pedro Alves <palves@redhat.com>
466
467 * gdb.base/settings.c: New file.
468 * gdb.base/settings.exp: New file.
469
470 2019-06-13 Pedro Alves <palves@redhat.com>
471
472 * gdb.base/completion.exp: Fix comment typo.
473
474 2019-06-13 Pedro Alves <palves@redhat.com>
475
476 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
477 foo --1" test.
478
479 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
480
481 * gdb.fortran/block-data.f: New.
482 * gdb.fortran/block-data.exp: New.
483
484 2019-06-11 Tom de Vries <tdevries@suse.de>
485
486 PR testsuite/24521
487 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
488 message.
489
490 2019-06-11 Tom de Vries <tdevries@suse.de>
491
492 PR testsuite/24521
493 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
494
495 2019-06-11 Tom de Vries <tdevries@suse.de>
496
497 * boards/readnow.exp: New file.
498
499 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
500
501 * gdb.fortran/vla-sizeof.exp: Update expected results.
502
503 2019-06-06 Amos Bird <amosbird@gmail.com>
504
505 * gdb.base/annota1.exp (thread_switch): Add test for
506 thread-exited annotation.
507
508 2019-06-06 Tom Tromey <tromey@adacore.com>
509
510 * gdb.base/maint.exp: Expect command started/finished output.
511
512 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
513
514 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
515 comment.
516 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
517
518 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
519
520 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
521 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
522 * gdb.arch/riscv-unwind-long-insn.c: New file.
523 * gdb.arch/riscv-unwind-long-insn.exp: New file.
524
525 2019-06-04 Christian Biesinger <cbiesinger@google.com>
526
527 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
528
529 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
530
531 * lib/gdb.exp (help_list_trailer): New regexp variable
532 factorizing the help trailer message.
533 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
534 arg to allow to better factorize various tests.
535 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
536 (test_prefix_command_help): Use help_list_trailer.
537 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
538 * gdb.guile/scm-cmd.exp: Likewise.
539 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
540 * gdb.base/help.exp: Use test_user_defined_class_help.
541 * gdb.base/style.exp: Add tests for styling of help and apropos.
542 * lib/gdb-utils.exp (style): Add title and highlight styles.
543
544 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
545
546 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
547 $_shell_exitsignal.
548 * gdb.base/default.exp: Update for new convenience variables.
549
550 2019-05-29 Tom Tromey <tromey@adacore.com>
551
552 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
553 to "break complete ada" test case's regexp.
554
555 2019-05-29 Tom Tromey <tromey@adacore.com>
556
557 PR c++/20020:
558 * gdb.cp/constexpr-field.exp: New file.
559 * gdb.cp/constexpr-field.cc: New file.
560
561 2019-05-29 Tom Tromey <tromey@adacore.com>
562
563 * gdb.base/finish.exp (finish_no_print): New proc.
564 (finish_tests): Call it.
565
566 2019-05-24 Tom de Vries <tdevries@suse.de>
567
568 * gdb.dwarf2/gdb-add-index.exp: New file.
569
570 2019-05-22 Tom Tromey <tromey@adacore.com>
571
572 * gdb.base/info-shared.exp (check_info_shared): Use "style".
573 * gdb.base/style.exp: Use "style".
574 * lib/gdb-utils.exp (style): New proc.
575
576 2019-05-22 Tom de Vries <tdevries@suse.de>
577
578 * gdb.base/align.exp: Require c++11.
579
580 2019-05-22 Tom de Vries <tdevries@suse.de>
581
582 PR testsuite/24586
583 * gdb.python/py-mi-var-info-path-expression.exp: Call
584 mi_skip_python_tests to check if python is supported.
585
586 2019-05-22 Alan Hayward <alan.hayward@arm.com>
587
588 * gdb.arch/aarch64-pauth.c: New test.
589 * gdb.arch/aarch64-pauth.exp: New file.
590
591 2019-05-22 Alan Hayward <alan.hayward@arm.com>
592
593 * README (Re-running Tests Outside The Testsuite): New section.
594
595 2019-05-21 Tom de Vries <tdevries@suse.de>
596
597 * gdb.arch/amd64-eval.exp: Require c++11.
598 * gdb.base/max-depth.exp: Same.
599 * gdb.compile/compile-cplus-array-decay.exp: Same.
600 * gdb.cp/meth-typedefs.exp: Same.
601 * gdb.cp/subtypes.exp: Same.
602 * gdb.cp/temargs.exp: Same.
603
604 2019-05-21 Alan Hayward <alan.hayward@arm.com>
605
606 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
607
608 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 PR gdb/18644
611 * gdb.fortran/complex.exp: Remove setup_kfail calls.
612 * gdb.fortran/printing-types.exp: Add new test.
613 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
614 testing.
615 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
616 setup_kfail call.
617
618 2019-05-17 Alan Hayward <alan.hayward@arm.com>
619
620 * README (Running the Testsuite): Change example.
621 (Testsuite Parameters): Remove TRANSCRIPT.
622 * lib/gdb.exp: Remove TRANSCRIPT check.
623
624 2019-05-17 Alan Hayward <alan.hayward@arm.com>
625
626 * README (Testsuite Parameters): Add replay logging to
627 GDBSERVER_DEBUG.
628 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
629 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
630 as a comma separated list.
631 (gdb_debug_init): Override procedure.
632
633 2019-05-17 Alan Hayward <alan.hayward@arm.com>
634
635 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
636 (gdb_write_cmd_file): New procedure.
637 * lib/gdbserver-support.exp (gdbserver_start): Call
638 gdbserver_write_cmd_file.
639 (gdbserver_write_cmd_file): New procedure.
640
641 2019-05-17 Alan Hayward <alan.hayward@arm.com>
642
643 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
644 (delete_breakpoints): Likewise.
645 (gdb_run_cmd): Likewise.
646 (gdb_start_cmd): Likewise.
647 (gdb_starti_cmd): Likewise.
648 (gdb_internal_error_resync): Likewise.
649 (gdb_test_multiple): Likewise.
650 (gdb_reinitialize_dir): Likewise.
651 (default_gdb_exit): Likewise.
652 (gdb_file_cmd): Mark kill as optional.
653 (default_gdb_start): Call gdb_stdin_log_init.
654 (send_gdb): Call gdb_stdin_log_write.
655 (rerun_to_main): Mark Y as an answer.
656 (gdb_stdin_log_init): New function.
657 (gdb_stdin_log_write): Likewise.
658
659 2019-05-17 Alan Hayward <alan.hayward@arm.com>
660
661 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
662 * gdb.base/debug-expr.exp: Likewise.
663 * gdb.base/foll-fork.exp: Likewise.
664 * gdb.base/foll-vfork.exp: Likewise.
665 * gdb.base/fork-print-inferior-events.exp: Likewise.
666 * gdb.base/gdb-sigterm.exp: Likewise.
667 * gdb.base/gdbinit-history.exp: Likewise.
668 * gdb.base/osabi.exp: Likewise.
669 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
670 * gdb.base/ui-redirect.exp: Likewise.
671 * gdb.gdb/unittest.exp: Likewise.
672 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
673 * gdb.mi/mi-watch.exp: Likewise.
674 * gdb.mi/new-ui-mi-sync.exp: Likewise.
675 * gdb.mi/user-selected-context-sync.exp: Likewise.
676 * gdb.python/python.exp: Disable debug test when debugging.
677 * gdb.threads/check-libthread-db.exp: Disable when debugging.
678 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
679 Likewise.
680 * gdb.threads/stepi-random-signal.exp: Likewise.
681
682 2019-05-17 Alan Hayward <alan.hayward@arm.com>
683
684 * Makefile.in: Pass through GDB_DEBUG.
685 * README (Testsuite Parameters): Add GDB_DEBUG.
686 (gdb,debug): Add board setting.
687 * lib/gdb.exp (default_gdb_start): Start debugging.
688 (gdb_debug_enabled): New procedure.
689 (gdb_debug_init): Likewise.
690
691 2019-05-17 Alan Hayward <alan.hayward@arm.com>
692
693 * Makefile.in: Pass through GDB_DEBUG.
694 * README (Testsuite Parameters): Add GDB_DEBUG.
695 (gdb,debug): Add board setting.
696 * lib/gdb.exp (default_gdb_start): Start debugging.
697 (gdb_debug_enabled): New procedure.
698 (gdb_debug_init): Likewise.
699
700 2019-05-17 Alan Hayward <alan.hayward@arm.com>
701
702 * gdb.base/ui-redirect.exp: Add debug redirect tests.
703
704 2019-05-17 Alan Hayward <alan.hayward@arm.com>
705
706 * gdb.base/ui-redirect.exp: Test redirection.
707
708 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
709
710 * gdb.mi/mi-complete.exp: New file.
711 * gdb.mi/mi-complete.cc: Likewise.
712
713 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
714
715 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
716 indexed and sliced arrays, and pointers to arrays.
717
718 2019-05-14 Tom Tromey <tromey@adacore.com>
719
720 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
721 styling test.
722
723 2019-05-14 Tom de Vries <tdevries@suse.de>
724
725 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
726 selection entry encoding.
727
728 2019-05-10 Tom Tromey <tromey@adacore.com>
729
730 * gdb.ada/info_exc.exp: Add "complete" test.
731
732 2019-05-09 Tom de Vries <tdevries@suse.de>
733
734 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
735 CU-relative.
736
737 2019-05-09 Tom de Vries <tdevries@suse.de>
738
739 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
740 CU-relative.
741
742 2019-05-08 Joel Brobecker <brobecker@adacore.com>
743
744 * gdb.ada/frame_arg_lang.exp: New testcase.
745 * gdb.ada/frame_arg_lang/bla.adb: New file.
746 * gdb.ada/frame_arg_lang/pck.ads: New file.
747 * gdb.ada/frame_arg_lang/pck.adb: New file.
748 * gdb.ada/frame_arg_lang/foo.c: New file.
749
750 2019-05-08 Tom Tromey <tromey@adacore.com>
751
752 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
753
754 2019-05-08 Tom Tromey <tromey@adacore.com>
755
756 * gdb.base/ptype-offsets.exp: Update tests.
757
758 2019-05-08 Tom Tromey <tromey@adacore.com>
759
760 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
761 cases.
762 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
763 "short".
764
765 2019-05-08 Tom Tromey <tromey@adacore.com>
766
767 * gdb.ada/vla.exp: New file.
768 * gdb.ada/vla/vla.adb: New file.
769
770 2019-05-07 Tom de Vries <tdevries@suse.de>
771
772 * gdb.base/index-cache.exp (ls_host): Fix return statement.
773
774 2019-05-07 Tom de Vries <tdevries@suse.de>
775
776 PR testsuite/24522
777 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
778 section.
779
780 2019-05-07 Tom de Vries <tdevries@suse.de>
781
782 PR testsuite/24522
783 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
784 .debug_aranges section.
785
786 2019-05-07 Tom de Vries <tdevries@suse.de>
787
788 PR testsuite/24159
789 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
790
791 2019-05-06 Tom de Vries <tdevries@suse.de>
792
793 * lib/gdb.exp (exec_has_index_section): New proc.
794 * gdb.base/index-cache.exp: Handle case that binfile contains an index
795 section.
796
797 2019-05-04 Tom de Vries <tdevries@suse.de>
798
799 * boards/cc-with-debug-names.exp: New file.
800
801 2019-05-03 Tom Tromey <tromey@adacore.com>
802
803 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
804 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
805 * gdb.ada/char_enum.exp: Add test.
806
807 2019-05-03 Tom de Vries <tdevries@suse.de>
808
809 * boards/cc-with-gdb-index.exp: New file.
810
811 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
812
813 * gdb.rust/simple.exp: Add new test case.
814 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
815 (main): Initialise an instance of the new struct.
816
817 2019-05-01 Tom Tromey <tromey@adacore.com>
818
819 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
820 record.
821 (NPR): New variable.
822 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
823 test.
824
825 2019-05-01 Tom Tromey <tromey@adacore.com>
826
827 * gdb.ada/packed_array_assign.exp: Add packed assignment
828 regression test.
829
830 2019-05-01 Tom de Vries <tdevries@suse.de>
831
832 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
833
834 2019-05-01 Tom de Vries <tdevries@suse.de>
835
836 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
837
838 2019-04-30 Ali Tamur <tamur@google.com>
839
840 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
841
842 2019-04-30 Tom Tromey <tromey@adacore.com>
843
844 * lib/ada.exp (find_ada_tool): New proc.
845 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
846 * gdb.ada/catch_ex_std.exp: New file.
847 * gdb.ada/catch_ex_std/foo.adb: New file.
848 * gdb.ada/catch_ex_std/some_package.adb: New file.
849 * gdb.ada/catch_ex_std/some_package.ads: New file.
850
851 2019-04-30 Tom Tromey <tromey@adacore.com>
852
853 PR c++/24470:
854 * gdb.cp/temargs.cc: Add test code from PR.
855
856 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
857
858 * gdb.fortran/vla-datatypes.exp: Update expected results.
859 * gdb.fortran/vla-ptype.exp: Likewise.
860 * gdb.fortran/vla-type.exp: Likewise.
861 * gdb.fortran/vla-value.exp: Likewise.
862
863 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.fortran/ptr-indentation.exp: Update expected results.
866 * gdb.fortran/ptype-on-functions.exp: Likewise.
867 * gdb.fortran/vla-ptr-info.exp: Likewise.
868 * gdb.fortran/vla-value.exp: Likewise.
869
870 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * gdb.fortran/ptype-on-functions.exp: New file.
873 * gdb.fortran/ptype-on-functions.f90: New file.
874
875 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
876
877 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
878 case void string.
879
880 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.fortran/complex.exp: Expand.
883 * gdb.fortran/complex.f: Renamed to...
884 * gdb.fortran/complex.f90: ...this, and extended to add more
885 complex values.
886
887 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
890 MODULO, CMPLX.
891
892 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
893 Richard Bunt <richard.bunt@arm.com>
894
895 * gdb.base/max-depth.c: New file.
896 * gdb.base/max-depth.exp: New file.
897 * gdb.python/py-nested-maps.c: New file.
898 * gdb.python/py-nested-maps.exp: New file.
899 * gdb.python/py-nested-maps.py: New file.
900 * gdb.python/py-format-string.exp (test_max_depth): New proc.
901 (test_all_common): Call test_max_depth.
902 * gdb.fortran/max-depth.exp: New file.
903 * gdb.fortran/max-depth.f90: New file.
904 * gdb.go/max-depth.exp: New file.
905 * gdb.go/max-depth.go: New file.
906 * gdb.modula2/max-depth.exp: New file.
907 * gdb.modula2/max-depth.c: New file.
908 * lib/gdb.exp (get_print_expr_at_depths): New proc.
909
910 2019-04-29 Tom de Vries <tdevries@suse.de>
911
912 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
913
914 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
915
916 * gdb.base/callexit.exp: Test may-call-functions off.
917
918 2019-04-25 Keith Seitz <keiths@redhat.com>
919
920 PR c++/24367
921 * gdb.cp/meth-typedefs.cc (incomplete_struct)
922 (another_incomplete_struct, test_incomplete): New definitions.
923 (main): Use new definitions.
924 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
925 functions.
926
927 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
928
929 PR corefiles/11608
930 PR corefiles/18187
931 * gdb.base/coredump-filter-build-id.exp: New file.
932
933 2019-04-25 Alan Hayward <alan.hayward@arm.com>
934
935 * Makefile.in: Pass through GDBSERVER_DEBUG.
936 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
937 (gdbserver,debug): Add board setting.
938 * gdb.trace/tspeed.exp: Skip when debugging.
939 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
940 * lib/gdbserver-support.exp: Likewise
941
942 2019-04-24 Tom Tromey <tromey@adacore.com>
943
944 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
945 Rust.
946
947 2019-04-24 Tom Tromey <tromey@adacore.com>
948
949 * gdb.arch/amd64-eval.exp: Test bitfield return.
950 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
951 (class Foo) <return_bitfields>: New method.
952 (main): Call it.
953
954 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * gdb.cp/many-args.cc: New file.
957 * gdb.cp/many-args.exp: New file.
958
959 2019-04-23 Tom de Vries <tdevries@suse.de>
960
961 PR gdb/24433
962 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
963
964 2019-04-23 Alan Hayward <alan.hayward@arm.com>
965
966 * gdb.trace/backtrace.exp: Use nopie flag.
967 * gdb.trace/circ.exp: Likewise.
968 * gdb.trace/collection.exp: Likewise.
969 * gdb.trace/ftrace.exp: Likewise.
970 * gdb.trace/mi-trace-unavailable.exp: Likewise.
971 * gdb.trace/mi-traceframe-changed.exp: Likewise.
972 * gdb.trace/qtro.exp: Likewise.
973 * gdb.trace/read-memory.exp: Likewise.
974 * gdb.trace/report.exp: Likewise.
975 * gdb.trace/tfile.exp: Likewise.
976 * gdb.trace/tfind.exp: Likewise.
977 * gdb.trace/unavailable.exp: Likewise.
978
979 2019-04-22 Pedro Alves <palves@redhat.com>
980
981 * gdb.base/solib-probes-nosharedlibrary.c,
982 gdb.base/solib-probes-nosharedlibrary.exp: New files.
983
984 2019-04-19 Tom Tromey <tromey@adacore.com>
985
986 * gdb.ada/ptype_union.c: New file.
987 * gdb.ada/ptype_union.exp: New file.
988
989 2019-04-19 Tom Tromey <tromey@adacore.com>
990
991 PR symtab/24423:
992 * gdb.base/list0.h (foo): Add a control-l character.
993
994 2019-04-18 Tom de Vries <tdevries@suse.de>
995
996 PR gdb/24433
997 * boards/local-board.exp: Set sysroot to "".
998
999 2019-04-18 Tom de Vries <tdevries@suse.de>
1000 Pedro Alves <palves@redhat.com>
1001
1002 PR gdb/24454
1003 * gdb.threads/vfork-follow-child-exec.c: New file.
1004 * gdb.threads/vfork-follow-child-exec.exp: New file.
1005 * gdb.threads/vfork-follow-child-exit.c: New file.
1006 * gdb.threads/vfork-follow-child-exit.exp: New file.
1007
1008 2019-04-15 Leszek Swirski <leszeks@google.com>
1009
1010 * gdb.arch/amd64-eval.cc: New file.
1011 * gdb.arch/amd64-eval.exp: New file.
1012
1013 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1014
1015 * gdb.server/sysroot.c: New test.
1016 * gdb.server/sysroot.exp: New file.
1017 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1018 matching param.
1019
1020 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.base/align.exp: Extend test to cover structures containing
1023 only static fields.
1024
1025 2019-04-11 Tom de Vries <tdevries@suse.de>
1026
1027 * boards/cc-with-dwz-m.exp: New file.
1028 * boards/cc-with-dwz.exp: New file.
1029 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1030
1031 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1032
1033 * gdb.base/start-cpp.exp: New file.
1034 * gdb.base/start-cpp.cc: New file.
1035
1036 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1037
1038 * gdb.python/py-thrhandle.exp: Adjust tests to call
1039 thread_from_handle instead of thread_from_thread_handle.
1040
1041 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1042
1043 * gdb.python/py-thrhandle.exp: Add tests for
1044 gdb.InferiorThread.handle.
1045
1046 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1047
1048 * gdb.python/py-function.exp: Check calling helper function from
1049 all languages.
1050 * lib/gdb.exp (gdb_supported_languages): New proc.
1051
1052 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1053
1054 * gdb.base/complex-parts.c: New file.
1055 * gdb.base/complex-parts.exp: New file.
1056
1057 2019-04-01 Tom Tromey <tromey@adacore.com>
1058
1059 PR symtab/23331:
1060 * gdb.dwarf2/dw2-ranges-main.c: New file.
1061 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1062 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1063
1064 2019-03-30 Simon Marchi <simark@simark.ca>
1065
1066 * gdb.base/default.exp: Add values for $_gdb_major and
1067 $_gdb_minor.
1068
1069 2019-03-29 Tom Tromey <tromey@adacore.com>
1070
1071 * gdb.base/help.exp: Tighten apropos regexp.
1072
1073 2019-03-29 Keith Seitz <keiths@redhat.com>
1074
1075 * gdb.fortran/array-bounds.exp: New file.
1076 * gdb.fortran/array-bounds.f90: New file.
1077
1078 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1079
1080 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1081
1082 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1083
1084 * gdb.multi/hello.c (main): Increase alarm timer.
1085
1086 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1087
1088 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1089 factor when no hardware watchpoint support.
1090
1091 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1092 Pedro Alves <palves@redhat.com>
1093
1094 * boards/local-board.exp: set sysroot to /.
1095
1096 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1097
1098 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1099 in child.
1100
1101 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1104 field.
1105 (make_container): Initialise new field.
1106 * gdb.python/py-prettyprint.exp: Add new tests.
1107 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1108 <display_hint>: New method.
1109
1110 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1113 gdb_continue_to_breakpoint more throughout this test.
1114 (run_lang_tests) Supply unique test names, and use
1115 gdb_test_no_output.
1116
1117 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1118
1119 * gdb.base/finish-pretty.exp: Update expected results.
1120 * gdb.base/pretty-print.c: New file.
1121 * gdb.base/pretty-print.exp: New file.
1122
1123 2019-03-25 Pedro Alves <palves@redhat.com>
1124
1125 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1126 move comments outside list. Append '-i "" eof' section.
1127
1128 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1129
1130 * README: Add pie options.
1131 * gdb.base/break-interp.exp: Ensure pie is disabled.
1132 * gdb.base/dump.exp: Likewise.
1133 * lib/gdb.exp (gdb_compile): Add pie option.
1134
1135 2019-03-19 Tom Tromey <tromey@adacore.com>
1136
1137 * gdb.mi/mi2-cli-display.c: New file.
1138 * gdb.mi/mi2-cli-display.exp: New file.
1139
1140 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1141 Tom Tromey <tromey@adacore.com>
1142
1143 * gdb.ada/ptype_array/pck.adb: New file.
1144 * gdb.ada/ptype_array/pck.ads: New file.
1145 * gdb.ada/ptype_array/foo.adb: New file.
1146 * gdb.ada/ptype_array.exp: New file.
1147
1148 2019-03-14 Tom Tromey <tromey@adacore.com>
1149
1150 * gdb.base/style.exp: Add "set style sources" test.
1151
1152 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1153
1154 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1155 * mi-breakpoint-multiple-locations.exp: ... this.
1156 (make_breakpoints_pattern): New proc.
1157 (do_test): Add mi_version parameter, test -break-insert,
1158 -break-info and =breakpoint-created.
1159
1160 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1161
1162 * config/default.exp: Remove 'load_lib gdb.exp'.
1163 * config/monitor.exp: Likewise.
1164 * config/sid.exp: Likewise.
1165 * config/sim.exp: Likewise.
1166 * config/slite.exp: Likewise.
1167 * config/unix.exp: Likewise.
1168 * gdb.base/default.exp: Remove unhelpful comment.
1169
1170 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1171
1172 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1173
1174 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1175
1176 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1177
1178 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1179
1180 * gdb.fortran/type-kinds.exp: Update expected results.
1181
1182 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1183
1184 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1185
1186 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1189 function.
1190 (test_basic_parsing_of_type_kinds): Expand types tested.
1191 (test_parsing_invalid_type_kinds): New function.
1192
1193 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1194
1195 * gdb.fortran/intrinsics.exp: New file.
1196 * gdb.fortran/intrinsics.f90: New file.
1197 * gdb.fortran/type-kinds.exp: New file.
1198
1199 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.fortran/dot-ops.exp: New file.
1202
1203 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1206 Check upper and lower case logical literals.
1207
1208 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1209
1210 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1211 Remove duplicate tests.
1212
1213 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1214
1215 * lib/gdb.exp (builtin_cd): rename of cd.
1216 (cd): Override builtin.
1217
1218 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1219
1220 * gdb.fortran/function-calls.exp: New file.
1221 * gdb.fortran/function-calls.f90: New test.
1222
1223 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1224
1225 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1226 on user program standard output.
1227 * gdb.fortran/short-circuit-argument-list.f90: Record function
1228 calls.
1229
1230 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1231
1232 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1233 failure.
1234
1235 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1236
1237 PR gdb/8527
1238 * gdb.base/interrupt-daemon-attach.c,
1239 gdb.base/interrupt-daemon-attach.exp: New test.
1240
1241 2019-02-27 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.base/page.exp: Add tests for "set width/height -1".
1244
1245 2019-02-27 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/page.exp: Add tests for "set/show width/height" with
1248 "infinite" values.
1249
1250 2019-02-27 Tom Tromey <tromey@adacore.com>
1251
1252 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1253 2.4.
1254 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1255 workaround.
1256
1257 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1258
1259 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1260 tests for structs with static members.
1261
1262 2019-02-26 Tom Tromey <tromey@adacore.com>
1263
1264 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1265 ValueError, not TypeError.
1266
1267 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1268
1269 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1270 call from main program.
1271
1272 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1273
1274 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1275 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1276 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1277 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1278 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1279
1280 2019-02-22 Keith Seitz <keiths@redhat.com>
1281
1282 PR symtab/23853
1283 * gdb.base/symlink-sourcefile.c: New file.
1284 * gdb.base/symlink-sourcefile.exp: New file.
1285
1286 2019-02-20 Tom Tromey <tom@tromey.com>
1287
1288 * gdb.base/info_qt.exp: Update.
1289
1290 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1291
1292 * gdb.base/source.exp: Move "error in sourced script" code to
1293 the end.
1294 * gdb.base/source-error.gdb: Move contents to
1295 source-error-1.gdb. Add new code to source source-error-1.gdb.
1296 * gdb.base/source-error-1.gdb: New file, from previous
1297 source-error.gdb.
1298
1299 2019-02-17 Tom Tromey <tom@tromey.com>
1300
1301 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1302 for macro styling.
1303 * gdb.base/style.c (SOME_MACRO): New macro.
1304
1305 2019-02-17 Tom Tromey <tom@tromey.com>
1306
1307 * gdb.base/style.exp: Add line-wrapping tests.
1308 * gdb.base/page.exp: Add test for quitting during pagination.
1309
1310 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1311
1312 * gdb.ada/big_packed_array: New testcase.
1313 * gdb.ada/homonym.exp: Fix incorrect expected output for
1314 "break <homonym__get_value>" test.
1315
1316 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1317
1318 PR breakpoints/21870
1319 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1320 and prepare_for_testing. Add comment.
1321 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1322 redundant cleanup call. Clean up comment.
1323
1324 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1325
1326 PR breakpoints/21870
1327 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1328 * gdb.arch/aarch64-dbreg-contents.c: New file.
1329
1330 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1331
1332 * gdb.ada/mi_ref_changeable: New testcase.
1333
1334 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1335
1336 * gdb.base/attach.exp: Add double attach test.
1337
1338 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1339
1340 * lib/gdb.exp (default_gdb_start): Don't match pagination
1341 prompt.
1342 (gdb_init): Set stty_init.
1343
1344 2019-01-27 Tom Tromey <tom@tromey.com>
1345
1346 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1347 skip_python_tests.
1348
1349 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1350
1351 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1352 New structure.
1353 (struct struct_static_02_02): Likewise.
1354 (struct struct_static_02_03): Likewise.
1355 (struct struct_static_02_04): Likewise.
1356 (struct struct_static_04_01): Likewise.
1357 (struct struct_static_04_02): Likewise.
1358 (struct struct_static_04_03): Likewise.
1359 (struct struct_static_04_04): Likewise.
1360 (struct struct_static_06_01): Likewise.
1361 (struct struct_static_06_02): Likewise.
1362 (struct struct_static_06_03): Likewise.
1363 (struct struct_static_06_04): Likewise.
1364 (cmp_struct_static_02_01): Likewise.
1365 (cmp_struct_static_02_02): Likewise.
1366 (cmp_struct_static_02_03): Likewise.
1367 (cmp_struct_static_02_04): Likewise.
1368 (cmp_struct_static_04_01): Likewise.
1369 (cmp_struct_static_04_02): Likewise.
1370 (cmp_struct_static_04_03): Likewise.
1371 (cmp_struct_static_04_04): Likewise.
1372 (cmp_struct_static_06_01): Likewise.
1373 (cmp_struct_static_06_02): Likewise.
1374 (cmp_struct_static_06_03): Likewise.
1375 (cmp_struct_static_06_04): Likewise.
1376 (call_all): Test new structs.
1377 * gdb.base/infcall-nested-structs.exp: Likewise.
1378
1379 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1380 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1381
1382 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1383 * gdb.base/stack-protector.c: New test.
1384 * gdb.base/stack-protector.exp: New file.
1385 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1386 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1387 option.
1388 (gdb_compile): Remove stack protector for GCC and prevent
1389 recursion.
1390
1391 2019-01-16 Keith Seitz <keiths@redhat.com>
1392
1393 PR gdb/23773
1394 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1395
1396 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1397
1398 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1399 aliases.
1400 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1401 tests.
1402 * gdb.arch/powerpc-vector-regs.c: New file.
1403 * gdb.arch/powerpc-vector-regs.exp: New file.
1404
1405 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1406
1407 * gdb.arch/altivec-regs.exp: Fix the list passed to
1408 gdb_expect_list when testing "info vector".
1409
1410 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.base/style.exp: Don't include path in testname.
1413
1414 2019-01-10 Keith Seitz <keiths@redhat.com>
1415
1416 PR gdb/23712
1417 PR symtab/23010
1418 * gdb.dwarf2/multidictionary.exp: New file.
1419
1420 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1421
1422 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1423 (test_gnuv3_style_demangling): ... this.
1424 (test_lucid_style_demangling): Remove.
1425 (test_arm_style_demangling): Remove.
1426 (test_hp_style_demangling): Remove.
1427 (do_tests): Remove calls to the above.
1428
1429 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1430
1431 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1432 case.
1433
1434 2019-01-06 Tom Tromey <tom@tromey.com>
1435
1436 PR gdb/28155:
1437 * gdb.dwarf2/typedef-void-finish.exp: New file.
1438
1439 2018-12-28 Tom Tromey <tom@tromey.com>
1440 Simon Marchi <simark@simark.ca>
1441
1442 * gdb.base/jit-exec.exp: New file.
1443 * gdb.base/jit-exec.c: New file.
1444 * gdb.base/jit-execd.c: New file.
1445
1446 2018-12-28 Tom Tromey <tom@tromey.com>
1447
1448 * gdb.base/style.exp: Update test to check for address styling.
1449
1450 2018-12-28 Tom Tromey <tom@tromey.com>
1451
1452 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1453 message.
1454
1455 2018-12-28 Tom Tromey <tom@tromey.com>
1456
1457 * gdb.base/style.exp: Add test for version number styling.
1458
1459 2018-12-28 Tom Tromey <tom@tromey.com>
1460
1461 * gdb.base/style.exp: Add test for print_address_symbolic.
1462
1463 2018-12-28 Tom Tromey <tom@tromey.com>
1464
1465 * gdb.base/style.exp: Add test for breakpoint setting.
1466
1467 2018-12-28 Tom Tromey <tom@tromey.com>
1468
1469 * gdb.base/style.exp: Add test for variable names.
1470
1471 2018-12-28 Tom Tromey <tom@tromey.com>
1472
1473 * gdb.base/style.exp: New file.
1474 * gdb.base/style.c: New file.
1475
1476 2018-12-28 Tom Tromey <tom@tromey.com>
1477
1478 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1479 "dumb".
1480 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1481 the TERM environment variable.
1482
1483 2018-12-27 Tom Tromey <tom@tromey.com>
1484
1485 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1486 pagination test.
1487
1488 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1489
1490 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1491 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1492
1493 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1494
1495 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1496 Filename a.adb changed to bp_fun_addr.adb.
1497 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1498
1499 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1500
1501 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1502 non-PIE executables.
1503 * README: Mention the gdb,nopie_flag board setting.
1504 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1505 non-PIE executable.
1506 * gdb.arch/amd64-entry-value.exp: Likewise.
1507 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1508 * gdb.arch/i386-float.exp: Likewise.
1509 * gdb.arch/i386-signal.exp: Likewise.
1510 * gdb.mi/mi-reg-undefined.exp: Likewise.
1511
1512 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1513
1514 PR gdb/23974
1515 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1516
1517 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1518
1519 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1520 Update order of results accordingly.
1521
1522 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1523
1524 * gdb.base/annota1.exp: Update a test regexp.
1525
1526 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1527
1528 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1529
1530 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1531
1532 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1533 (reuse_time): Initialize to REUSE_TIME_CAP.
1534 (check_rc): New function.
1535 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1536 Check pthread_create rc.
1537 (spawner_thread_func): Check pthread_create and pthread_join rc.
1538
1539 2018-12-08 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.base/list.exp (test_forward_search): Rename to ...
1542 (test_forward_reverse_search): ... this. Also test reverse-search
1543 and the forward-search alias.
1544
1545 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1546
1547 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1548 local timeout variable before return, and remove all local timeout
1549 variable entirely.
1550 (gdb_load): Likewise.
1551
1552 2018-12-01 Tom de Vries <tdevries@suse.de>
1553
1554 * gdb.base/gdb-caching-proc.exp: New file.
1555
1556 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1557
1558 * Makefile.in (TIMESTAMP): New variable.
1559 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1560 command.
1561 (check-single-racy): Likewise.
1562 (check/%.exp): Likewise.
1563 (check-racy/%.exp): Likewise.
1564 (workers/%.worker): Likewise.
1565 (build-perf): Likewise.
1566 (check-perf): Likewise.
1567 * README: Describe new "TS" and "TS_FORMAT" variables.
1568 * print-ts.py: New file.
1569
1570 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1571
1572 PR python/23714
1573 * gdb.python/python.exp: Test command repetition after
1574 gdb.execute.
1575
1576 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1577
1578 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1579 is correctly aligned.
1580
1581 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1582
1583 * gdb.ada/info_auto_lang.exp: New testcase.
1584 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1585 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1586 * gdb.ada/info_auto_lang/some_c.c: New file.
1587
1588 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1589
1590 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1591 FUNC_lang language syntax.
1592
1593 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1594
1595 * gdb.base/info_minsym.c: New file.
1596 * gdb.base/info_minsym.exp: New file.
1597
1598 2018-11-19 Tom Tromey <tom@tromey.com>
1599
1600 PR rust/23625:
1601 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1602 * gdb.rust/expr.exp: Update expected output. Change one test.
1603
1604 2018-11-19 Tom Tromey <tom@tromey.com>
1605
1606 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1607
1608 2018-11-19 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1611 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1612 see the expected warning.
1613
1614 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1615
1616 PR gdb/22736:
1617 * gdb.cp/infcall-nodebug-lib.c: New test.
1618 * gdb.cp/infcall-nodebug-main.c: New test.
1619 * gdb.cp/infcall-nodebug.exp: New file.
1620
1621 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1622
1623 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1624 completer tests.
1625
1626 2018-11-09 Tom de Vries <tdevries@suse.de>
1627
1628 * gdb.base/msym-lang.c: New test.
1629 * gdb.base/msym-lang.exp: New file.
1630 * gdb.base/msym-lang-main.c: New test.
1631
1632 2018-11-08 Tom Tromey <tom@tromey.com>
1633
1634 PR gdb/23555:
1635 PR gdb/23838:
1636 * gdb.base/warning.exp: New file.
1637
1638 2018-11-08 Jan Beulich <jbeulich@suse.com>
1639
1640 * testsuite/gdb.arch/i386-avx512.c,
1641 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1642
1643 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1644
1645 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1646 point hardware.
1647
1648 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1649
1650 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1651 * gdb.dwarf2/missing-type-name.exp: New file.
1652
1653 2018-11-06 Tom de Vries <tdevries@suse.de>
1654
1655 * gdb.base/many-headers.c: New test.
1656 * gdb.base/many-headers.exp: New file.
1657
1658 2018-11-06 Jim Wilson <jimw@sifive.com>
1659
1660 * gdb.base/code_elim.exp: For riscv, set additional_flags
1661 to include -msmall-data-limit=0.
1662
1663 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1664
1665 * gdb.ada/watch_minus_l: New testcase.
1666
1667 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1668
1669 * gdb.arch/aix-sighandle.c: New file.
1670 * gdb.arch/aix-sighandle.exp: New file.
1671
1672 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1675 registers being unions.
1676
1677 2018-10-31 Tom de Vries <tdevries@suse.de>
1678
1679 * lib/valgrind.exp: New file.
1680 (vgdb_start, vgdb_stop): New procs, factored out of ...
1681 * gdb.base/valgrind-bt.exp: ... here, ...
1682 * gdb.base/valgrind-disp-step.exp: ... here and ...
1683 * gdb.base/valgrind-infcall.exp: ... here.
1684
1685 2018-10-31 Tom de Vries <tdevries@suse.de>
1686
1687 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1688
1689 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1690
1691 * gdb.dwarf2/void-type.c: New file.
1692 * gdb.dwarf2/void-type.exp: New file.
1693
1694 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1695
1696 * gdb.base/info_qt.c: New file.
1697 * gdb.base/info_qt.exp: New file.
1698
1699 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1700
1701 * gdb.arch/powerpc-htm-regs.c: New file.
1702 * gdb.arch/powerpc-htm-regs.exp: New file.
1703
1704 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1705
1706 * gdb.arch/powerpc-tar.c: New file.
1707 * gdb.arch/powerpc-tar.exp: New file.
1708
1709 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1710
1711 * gdb.arch/powerpc-ppr-dscr.c: New file.
1712 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1713
1714 2018-10-25 Tom de Vries <tdevries@suse.de>
1715
1716 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1717
1718 2018-10-24 Tom de Vries <tdevries@suse.de>
1719
1720 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1721 longer exists error.
1722
1723 2018-10-24 Tom de Vries <tdevries@suse.de>
1724
1725 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1726
1727 2018-10-24 Tom de Vries <tdevries@suse.de>
1728
1729 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1730 --db-attach in valgrind.
1731
1732 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1733
1734 * gdb.arch/riscv-reg-aliases.c: New file.
1735 * gdb.arch/riscv-reg-aliases.exp: New file.
1736
1737 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1738
1739 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1740
1741 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1742
1743 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1744
1745 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1746
1747 * gdb.cp/ovldbreak.exp: Fix regexps.
1748
1749 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1750
1751 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1752
1753 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1754
1755 PR cli/23785
1756 * gdb.base/restore.exp: New test to check if "restore" with an
1757 invalid file doesn't segfault.
1758
1759 2018-10-18 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1762 * gdb.ada/excep_handle.exp: Same.
1763 * gdb.ada/mi_string_access.exp: Same.
1764 * gdb.ada/mi_var_union.exp: Same.
1765 * gdb.arch/arc-analyze-prologue.exp: Same.
1766 * gdb.arch/arc-decode-insn.exp: Same.
1767 * gdb.base/readnever.exp: Same.
1768 * gdb.fortran/printing-types.exp: Same.
1769 * gdb.guile/scm-lazy-string.exp: Same.
1770
1771 2018-10-16 Tom de Vries <tdevries@suse.de>
1772
1773 PR gdb/23730
1774 * gdb.base/catch-follow-exec.c: Add copyright notice.
1775 * gdb.base/catch-follow-exec.exp: Rewrite to use
1776 gdb_spawn_with_cmdline_opts. Require gdb-native.
1777
1778 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1779
1780 * gdb.trace/actions-changed.exp: Check for arch support.
1781 * gdb.trace/actions.exp: Likewise.
1782 * gdb.trace/ax.exp: Likewise.
1783 * gdb.trace/backtrace.exp: Likewise.
1784 * gdb.trace/change-loc.exp: Likewise.
1785 * gdb.trace/deltrace.exp: Likewise.
1786 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1787 * gdb.trace/ftrace.exp: Likewise.
1788 * gdb.trace/infotrace.exp: Check for arch support.
1789 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1790 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1791 * gdb.trace/mi-tsv-changed.exp: Likewise.
1792 * gdb.trace/packetlen.exp: Likewise.
1793 * gdb.trace/passc-dyn.exp: Likewise.
1794 * gdb.trace/passcount.exp: Likewise.
1795 * gdb.trace/pending.exp: Likewise.
1796 * gdb.trace/range-stepping.exp: Check for shlib support.
1797 * gdb.trace/report.exp: Check for arch support.
1798 * gdb.trace/save-trace.exp: Likewise.
1799 * gdb.trace/signal.exp: Check for signal support.
1800 * gdb.trace/tfind.exp: Check for arch support.
1801 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1802 * gdb.trace/trace-common.h: Add comment.
1803 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1804 * gdb.trace/trace-enable-disable.exp: Likewise.
1805 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1806 * gdb.trace/tracecmd.exp: Check for arch support.
1807 * gdb.trace/tspeed.exp: Check for shlib and target support.
1808 * gdb.trace/tstatus.exp: Check for arch support.
1809 * gdb.trace/tsv.exp: Likewise.
1810 * gdb.trace/while-dyn.exp: Likewise.
1811 * gdb.trace/while-stepping.exp: Likewise.
1812 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1813
1814 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1815
1816 * gdb.trace/tspeed.exp: Remove nowarnings.
1817 (prepare_for_trace_test): Declare "global ipalib".
1818 * gdb.trace/tspeed.c: Include unistd.h.
1819 (main): Remove superfluous printf argument.
1820
1821 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1822
1823 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1824 directory prefix on the filename.
1825
1826 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1827
1828 * gdb.gdb/unittest.exp: Update expected message informing that
1829 selftests have been disabled.
1830 * gdb.server/unittest.exp: Likewise.
1831
1832 2018-10-09 Tom de Vries <tdevries@suse.de>
1833
1834 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1835 with runto_main.
1836
1837 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1838
1839 PR c++/16841
1840 * gdb.cp/virtbase2.cc: New file.
1841 * gdb.cp/virtbase2.exp: New file.
1842
1843 2018-10-06 Tom Tromey <tom@tromey.com>
1844
1845 PR python/19399:
1846 * gdb.python/py-inferior.exp: Add architecture test.
1847
1848 2018-10-06 Tom Tromey <tom@tromey.com>
1849
1850 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1851 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1852
1853 2018-10-06 Tom Tromey <tom@tromey.com>
1854
1855 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1856 of a "throw" catchpoint.
1857
1858 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1859
1860 * gdb.base/info-proc.exp: Update string expected from "help info
1861 proc".
1862
1863 2018-10-04 Tom Tromey <tom@tromey.com>
1864
1865 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1866 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1867 (test_initial_complaints, test_empty_complaints): Update.
1868 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1869
1870 2018-10-04 Tom Tromey <tom@tromey.com>
1871
1872 PR cli/19551:
1873 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1874 * lib/gdb.exp (gdb_file_cmd): Update.
1875 * gdb.stabs/weird.exp (print_weird_var): Update.
1876 * gdb.server/solib-list.exp: Update.
1877 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1878 * gdb.mi/mi-cli.exp: Update.
1879 * gdb.linespec/linespec.exp: Update.
1880 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1881 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1882 * gdb.cp/cp-relocate.exp: Update.
1883 * gdb.base/sym-file.exp: Update.
1884 * gdb.base/relocate.exp: Update.
1885 * gdb.base/readnever.exp: Update.
1886 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1887 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1888 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1889 * gdb.base/code_elim.exp: Update.
1890 * gdb.base/break-unload-file.exp (test_break): Update.
1891 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1892 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1893 Update.
1894 * gdb.base/attach.exp (do_attach_tests): Update.
1895 * gdb.base/sepdebug.exp: Update.
1896 * gdb.python/py-section-script.exp: Update.
1897
1898 2018-10-04 Tom Tromey <tom@tromey.com>
1899
1900 PR cli/22234:
1901 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1902 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1903 output.
1904
1905 2018-10-04 Tom Tromey <tom@tromey.com>
1906
1907 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1908 set width and height to 0.
1909 (test_command_line_attach_run): Use -quiet.
1910
1911 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1912
1913 * lib/gdb.exp (skip_ifunc_tests): New.
1914 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1915 other compile failures.
1916 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1917
1918 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1919
1920 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1921 is_amd64_regs_target.
1922
1923 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1924
1925 * gdb.arch/aarch64-sighandler-regs.c: New test.
1926 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1927 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1928
1929 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1930
1931 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1932 assembly.
1933
1934 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1935
1936 * gdb.base/frame-selection.exp: New file.
1937 * gdb.base/frame-selection.c: New file.
1938
1939 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1940
1941 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1942 pthread barrier.
1943 (main): Likewise.
1944
1945 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1946
1947 * gdb.base/large-frame-1.c: New file.
1948 * gdb.base/large-frame-2.c: New file.
1949 * gdb.base/large-frame.exp: New file.
1950 * gdb.base/large-frame.h: New file.
1951
1952 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1953
1954 PR gdb/20948
1955 * gdb.base/write_mem.exp: New test.
1956 * gdb.base/write_mem.c: Likewise.
1957
1958 2018-09-23 Tom Tromey <tom@tromey.com>
1959
1960 PR python/18852:
1961 * gdb.python/py-parameter.exp: Add test for parameter that throws
1962 on "set".
1963
1964 2018-09-23 Tom Tromey <tom@tromey.com>
1965
1966 PR python/17284:
1967 * gdb.python/py-template.exp (test_template_arg): Add test for
1968 negative template argument number.
1969
1970 2018-09-23 Tom Tromey <tom@tromey.com>
1971
1972 PR python/14062:
1973 * gdb.python/python.exp: Add test for post_event error.
1974
1975 2018-09-23 Tom Tromey <tom@tromey.com>
1976
1977 PR python/18170:
1978 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1979 convert pointers to int and long.
1980
1981 2018-09-23 Tom Tromey <tom@tromey.com>
1982
1983 PR python/20126:
1984 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1985 signed-ness conversion tests.
1986
1987 2018-09-23 Tom Tromey <tom@tromey.com>
1988
1989 PR python/18352;
1990 * gdb.python/py-value.exp (test_float_conversion): New proc.
1991 Use it.
1992
1993 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1994
1995 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1996
1997 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1998
1999 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2000 no readline.
2001 * gdb.base/utf8-identifiers.exp: Likewise.
2002 * gdb.cp/cpcompletion.exp: Likewise.
2003 * gdb.linespec/cpcompletion.exp: Likewise.
2004 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2005 * gdb.linespec/cpls-ops.exp: Likewise.
2006
2007 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2008 Chris January <chris.january@arm.com>
2009
2010 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2011 * gdb.fortran/short-circuit-argument-list.exp: New file.
2012 * gdb.fortran/short-circuit-argument-list.f90: New test.
2013
2014 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2015
2016 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2017 "arch=" keyword when executing "-stack-list-frames".
2018
2019 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2020
2021 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2022 "arch=" keyword when executing "-stack-list-frames".
2023
2024 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2025
2026 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2027 break ada".
2028
2029 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2030
2031 PR python/23669
2032 * gdb.python/python.exp: Test gdb.execute("show commands").
2033
2034 2018-09-16 Tom Tromey <tom@tromey.com>
2035
2036 * gdb.base/new-ui.exp (do_execution_tests): Update.
2037 * gdb.base/dbx.exp (test_breakpoints): Update.
2038
2039 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2040
2041 * lib/gdb.exp (gdb_simple_compile): Add proc.
2042 (is_elf_target): Use gdb_simple_compile.
2043 (skip_altivec_tests): Likewise.
2044 (skip_vsx_tests): Likewise.
2045 (skip_tsx_tests): Likewise.
2046 (skip_btrace_tests): Likewise.
2047 (skip_btrace_pt_tests): Likewise.
2048 (gdb_can_simple_compile): Likewise.
2049 (gdb_has_argv0): Likewise.
2050 (gdb_target_symbol_prefix): Likewise.
2051 (target_supports_scheduler_locking): Likewise.
2052
2053 2018-09-13 Tom Tromey <tom@tromey.com>
2054
2055 * Makefile.in (TAGS): Recognize proc_with_prefix and
2056 gdb_caching_proc.
2057
2058 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2059
2060 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2061 method.
2062
2063 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2064
2065 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2066 and a few other Inferior properties when the Inferior is no
2067 longer valid.
2068
2069 2018-09-13 Tom Tromey <tom@tromey.com>
2070
2071 PR rust/23650:
2072 * gdb.rust/simple.exp: Add test for enum field access error.
2073
2074 2018-09-13 Tom Tromey <tom@tromey.com>
2075
2076 PR rust/23626:
2077 * gdb.rust/simple.rs (EmptyEnum): New type.
2078 (main): Use it.
2079 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2080
2081 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2082
2083 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2084 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2085 * gdb.python/py-symtab.exp: Update test printing an objfile.
2086
2087 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2088
2089 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2090 object.
2091
2092 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2093
2094 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2095 (support_complex_tests): Use gdb_can_simple_compile.
2096 (is_ilp32_target): Likewise.
2097 (is_lp64_target): Likewise.
2098 (is_64_target): Likewise.
2099 (is_amd64_regs_target): Likewise.
2100 (is_aarch32_target): Likewise.
2101 (gdb_int128_helper): Likewise.
2102
2103 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2106
2107 2018-09-10 Jerome Guitton <guitton@adacore.com>
2108
2109 * gdb.ada/same_component_name: Add test for case of tagged record
2110 with variable-length fields.
2111
2112 2018-09-10 Xavier Roirand <roirand@adacore.com>
2113
2114 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2115 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2116 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2117 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2118
2119 2018-09-10 Xavier Roirand <roirand@adacore.com>
2120
2121 * gdb.ada/mi_string_access.exp: New testcase.
2122 * gdb.ada/mi_string_access/bar.adb: New file.
2123 * gdb.ada/mi_string_access/pck.adb: New file.
2124 * gdb.ada/mi_string_access/pck.asd: New file.
2125
2126 2018-09-10 Xavier Roirand <roirand@adacore.com>
2127
2128 * gdb.ada/mi_var_union.exp: New testcase.
2129 * gdb.ada/mi_var_union/bar.adb: New file.
2130 * gdb.ada/mi_var_union/pck.adb: New file.
2131 * gdb.ada/mi_var_union/pck.asd: New file.
2132
2133 2018-09-08 Tom Tromey <tom@tromey.com>
2134
2135 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2136
2137 2018-09-08 Tom Tromey <tom@tromey.com>
2138
2139 PR python/16047:
2140 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2141 (register_pretty_printers): Register new printer.
2142 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2143 test.
2144 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2145 (an_int_type3): New global.
2146
2147 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2148
2149 * gdb.ada/expr_with_funcall: New testcase.
2150
2151 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2152
2153 * gdb.ada/packed_array_assign: New testcase.
2154
2155 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2156
2157 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2158 names, and add test prefixes to make test names unique.
2159
2160 2018-09-05 Tom de Vries <tdevries@suse.de>
2161
2162 * gdb.dwarf2/varval.exp: Add test.
2163
2164 2018-09-04 Gary Benson <gbenson@redhat.com>
2165
2166 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2167 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2168
2169 2018-08-31 Tom Tromey <tom@tromey.com>
2170
2171 * gdb.rust/simple.rs: Rename second variable "v".
2172
2173 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2174
2175 * gdb.base/funcargs.c (use_a): New function.
2176 (recurse): Call use_a.
2177
2178 2018-08-29 Keith Seitz <keiths@redhat.com>
2179
2180 * gdb.compile/compile-cplus-anonymous.cc: New file.
2181 * gdb.compile/compile-cplus-anonymous.exp: New file.
2182 * gdb.compile/compile-cplus-array-decay.cc: New file.
2183 * gdb.compile/compile-cplus-array-decay.exp: New file.
2184 * gdb.compile/compile-cplus-inherit.cc: New file.
2185 * gdb.compile/compile-cplus-inherit.exp: New file.
2186 * gdb.compile/compile-cplus-member.cc: New file.
2187 * gdb.compile/compile-cplus-member.exp: New file.
2188 * gdb.compile/compile-cplus-method.cc: New file.
2189 * gdb.compile/compile-cplus-method.exp: New file.
2190 * gdb.compile/compile-cplus-mod.c: "New" file.
2191 * gdb.compile/compile-cplus-namespace.cc: New file.
2192 * gdb.compile/compile-cplus-namespace.exp: New file.
2193 * gdb.compile/compile-cplus-nested.cc: New file.
2194 * gdb.compile/compile-cplus-nested.exp: New file.
2195 * gdb.compile/compile-cplus-print.c: "New" file.
2196 * gdb.compile/compile-cplus-print.exp: "New" file.
2197 * gdb.compile/compile-cplus-virtual.cc: New file.
2198 * gdb.compile/compile-cplus-virtual.exp: New file.
2199 * gdb.compile/compile-cplus.c: "New" file.
2200 * gdb.compile/compile-cplus.exp: "New" file.
2201 * lib/compile-support.exp: New file.
2202
2203 2018-08-16 Gary Benson <gbenson@redhat.com>
2204
2205 PR gdb/13000:
2206 * gdb.base/batch-exit-status.exp: New file.
2207 * gdb.base/batch-exit-status.good-commands: Likewise.
2208 * gdb.base/batch-exit-status.bad-commands: Likewise.
2209
2210 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2211
2212 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2213 (struct struct02): Likewise.
2214 (struct struct03): Likewise.
2215 (struct struct04): Likewise.
2216 (struct struct_01_01): New struct.
2217 (struct struct_01_02): Likewise.
2218 (struct struct_01_03): Likewise.
2219 (struct struct_01_04): Likewise.
2220 (struct struct_02_01): Likewise.
2221 (struct struct_02_02): Likewise.
2222 (struct struct_02_03): Likewise.
2223 (struct struct_02_04): Likewise.
2224 (struct struct_04_01): Likewise.
2225 (struct struct_04_02): Likewise.
2226 (struct struct_04_03): Likewise.
2227 (struct struct_04_04): Likewise.
2228 (struct struct_05_01): Likewise.
2229 (struct struct_05_02): Likewise.
2230 (struct struct_05_03): Likewise.
2231 (struct struct_05_04): Likewise.
2232 (cmp_struct01): Remove function.
2233 (cmp_struct02): Likewise.
2234 (cmp_struct03): Likewise.
2235 (cmp_struct04): Likewise.
2236 (cmp_struct_01_01): Add Function.
2237 (cmp_struct_01_02): Likewise.
2238 (cmp_struct_01_03): Likewise.
2239 (cmp_struct_01_04): Likewise.
2240 (cmp_struct_02_01): Likewise.
2241 (cmp_struct_02_02): Likewise.
2242 (cmp_struct_02_03): Likewise.
2243 (cmp_struct_02_04): Likewise.
2244 (cmp_struct_04_01): Likewise.
2245 (cmp_struct_04_02): Likewise.
2246 (cmp_struct_04_03): Likewise.
2247 (cmp_struct_04_04): Likewise.
2248 (cmp_struct_05_01): Likewise.
2249 (cmp_struct_05_02): Likewise.
2250 (cmp_struct_05_03): Likewise.
2251 (cmp_struct_05_04): Likewise.
2252 (call_all): Add new structs.
2253 * gdb.base/infcall-nested-structs.exp: Likewise.
2254
2255 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2256
2257 * gdb.python/py-framefilter-mi.exp: Update regexp to
2258 check for "arch" field in frame output.
2259
2260 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2261
2262 * gdb.dwarf2/dw2-ranges-func.c: New file.
2263 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2264
2265 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2266
2267 * gdb.base/term.exp: Compare terminal settings with values from
2268 the inferior.
2269 * gdb.base/term.c: Get and set terminal settings.
2270
2271 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2272
2273 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2274 accommodate new "arch" field in frame output.
2275 * gdb.mi/mi-return.exp: Likewise.
2276 * gdb.mi/mi-stack.exp: Likewise.
2277 * gdb.mi/mi-syn-frame.exp: Likewise.
2278 * gdb.mi/user-selected-context-sync.exp: Likewise.
2279
2280 2018-08-19 Michael Spang <spang@google.com>
2281
2282 PR gdb/11786
2283 * gdb.base/gcore-tls-pie.c: New file.
2284 * gdb.base/gcore-tls-pie.exp: New file.
2285
2286 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2287
2288 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2289 * gdb.dwarf2/varval.c: New file.
2290 * gdb.dwarf2/varval.exp: New file.
2291
2292 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2293
2294 PR gdb/18931
2295 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2296
2297 2018-08-16 Keith Seitz <keiths@redhat.com>
2298
2299 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2300 tests expected to pass.
2301
2302 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2303
2304 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2305 -data-disassemble -a.
2306 (test_disassembly_bogus_args): Likewise.
2307
2308 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2309
2310 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2311
2312 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.base/vla-optimized-out.exp: Add new test.
2315
2316 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2317
2318 * gdb.base/vla-optimized-out-o3.exp: Delete.
2319 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2320 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2321 deleted tests.
2322
2323 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2324
2325 PR gdb/18050:
2326 * gdb.server/extended-remote-restart.c: New file.
2327 * gdb.server/extended-remote-restart.exp: New file.
2328
2329 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2330
2331 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2332 "set variable index = 42".
2333
2334 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2335
2336 * boards/index-cache-gdb.exp: New file.
2337 * gdb.dwarf2/index-cache.exp: New file.
2338 * gdb.dwarf2/index-cache.c: New file.
2339 * gdb.base/maint.exp: Check if we are using the index cache.
2340
2341 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2342
2343 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2344 MAKEFLAGS.
2345
2346 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2347
2348 * dg-extract-results.sh: Move to toplevel contrib.
2349 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2350 * Makefile.in (check-parallel-racy): Likewise.
2351
2352 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2353
2354 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2355 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2356 tests if the target supports scheduler locking.
2357
2358 2018-08-04 Tom de Vries <tdevries@suse.de>
2359
2360 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2361
2362 2018-08-02 Tom Tromey <tom@tromey.com>
2363
2364 PR symtab/16842.
2365 * gdb.cp/temargs.exp: Test "info address" of a template
2366 parameter.
2367
2368 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2369
2370 * gdb.python/py-mi-var-info-path-expression.c: New file.
2371 * gdb.python/py-mi-var-info-path-expression.py: New file.
2372 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2373
2374 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2375
2376 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2377 error after "cannot resolve name" string.
2378
2379 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2380
2381 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2382 started.
2383 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2384
2385 2018-07-28 Tom de Vries <tdevries@suse.de>
2386
2387 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2388
2389 2018-07-26 Tom de Vries <tdevries@suse.de>
2390
2391 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2392
2393 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2394
2395 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2396 is visible.
2397
2398 2018-07-26 Tom de Vries <tdevries@suse.de>
2399
2400 PR breakpoints/23366
2401 * gdb.base/catch-follow-exec.c: New test.
2402 * gdb.base/catch-follow-exec.exp: New file.
2403
2404 2018-07-25 Tom de Vries <tdevries@suse.de>
2405
2406 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2407 vla-optimized-out.c.
2408
2409 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2410
2411 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2412 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2413
2414 2018-07-20 Tom de Vries <tdevries@suse.de>
2415
2416 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2417 NOCLONE macro.
2418 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2419
2420 2018-07-19 Tom de Vries <tdevries@suse.de>
2421
2422 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2423 regular expression.
2424
2425 2018-07-18 Tom de Vries <tdevries@suse.de>
2426
2427 * gdb.base/vla-optimized-out.c: New test.
2428 * gdb.base/vla-optimized-out.exp: New file.
2429
2430 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2431
2432 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2433 message "No address associated with hostname" when gdbserver
2434 cannot resolve the hostname.
2435
2436 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2437
2438 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2439 Add some test prefixes to make tests unique.
2440
2441 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2442
2443 * gdb.base/frameapply.c: New file.
2444 * gdb.base/frameapply.exp: New file.
2445
2446 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2447
2448 * gdb.base/skip.exp: Update expected error message.
2449
2450 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2451 Jan Kratochvil <jan.kratochvil@redhat.com>
2452 Paul Fertser <fercerpav@gmail.com>
2453 Tsutomu Seki <sekiriki@gmail.com>
2454
2455 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2456 parameter.
2457 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2458 by default.
2459 * boards/native-gdbserver.exp: Likewise.
2460 * gdb.server/run-without-local-binary.exp: Improve regexp used
2461 for detecting when a remote debugging connection succeeds.
2462 * gdb.server/server-connect.exp: New file.
2463 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2464 Do not prefix the port number with ":".
2465 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2466 support for detecting and using it. Add '$debughost_gdbserver'
2467 to the list of arguments used to start gdbserver. Handle case
2468 when gdbserver cannot resolve a network name.
2469
2470 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2471
2472 PR c++/23373
2473 * gdb.base/ptype-offsets.cc (struct static_member): New
2474 struct.
2475 (main) <stmember>: New variable.
2476 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2477 with a static member in it.
2478
2479 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2482 watchpoints enabled and disabled.
2483
2484 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2485
2486 * gdb.base/examine-backward.exp: Still run tests around address
2487 0x0, even if address 0x0 is not readable. Update the pattern for
2488 matching address 0x0 in expected output.
2489
2490 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2491
2492 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2493 malloc/free.
2494
2495 2018-07-04 Tom de Vries <tdevries@suse.de>
2496
2497 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2498
2499 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2500
2501 PR tdep/8282
2502 * gdb.arch/mips-disassembler-options.exp: New test.
2503 * gdb.arch/mips-disassembler-options.s: New test source.
2504
2505 2018-06-29 Pedro Alves <palves@redhat.com>
2506
2507 * gdb.threads/names.exp: Adjust expected "info threads" output.
2508
2509 2018-06-29 Pedro Alves <palves@redhat.com>
2510
2511 * gdb.opt/inline-break.exp (line number, address): Add "info
2512 break" tests.
2513
2514 2018-06-29 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2517 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2518 number and address and running to them.
2519
2520 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2521
2522 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2523
2524 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2525
2526 * lib/compiler.c: Remove executable permission flag.
2527
2528 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2529
2530 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2531 code.
2532 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2533
2534 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2535
2536 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2537
2538 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2539
2540 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2541 address argument is omitted.
2542
2543 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2544
2545 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2546
2547 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2548
2549 PR gdb/21695
2550 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2551 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2552
2553 2018-06-26 Tom Tromey <tom@tromey.com>
2554
2555 PR rust/22574:
2556 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2557 * gdb.rust/simple.rs (struct SimpleLayout): New.
2558
2559 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2560
2561 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2562 "info registers" output.
2563
2564 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2565
2566 * gdb.base/watchpoint-hw-attach.c: New test.
2567 * gdb.base/watchpoint-hw-attach.exp: New file.
2568
2569 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2570
2571 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2572 through /bin/sh.
2573 * boards/dwarf4-gdb-index.exp: Likewise.
2574 * boards/fission-dwp.exp: Likewise.
2575
2576 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2577
2578 * gdb.base/float128.exp: Add comment and improved fail message
2579 to the failure case of "print large128" test.
2580
2581 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2582
2583 * configure.ac: Remove AC_PREREQ.
2584 * configure: Re-generate.
2585
2586 2018-06-19 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2589 (func_extern_caller): New.
2590 (main): Call func_extern_caller.
2591 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2592 logic change.
2593
2594 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2595
2596 PR gdb/16841
2597 * gdb.cp/typedef-base.cc: New file.
2598 * gdb.cp/typedef-base.exp: New file.
2599
2600 2018-06-18 Tom de Vries <tdevries@suse.de>
2601
2602 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2603
2604 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2605 Richard Bunt <Richard.Bunt@arm.com>
2606
2607 * gdb.threads/attach-slow-waitpid.c: New file.
2608 * gdb.threads/attach-slow-waitpid.exp: New file.
2609 * gdb.threads/slow-waitpid.c: New file.
2610
2611 2018-06-14 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.base/fork-running-state.c: Include <errno.h>.
2614 (exit_if_relative_exits): New.
2615 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2616 exits.
2617 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2618 child exits.
2619
2620 2018-06-14 Tom de Vries <tdevries@suse.de>
2621
2622 PR cli/22573
2623 * gdb.base/finish-pretty.c: New test.
2624 * gdb.base/finish-pretty.exp: New file.
2625
2626 2018-06-14 Pedro Alves <palves@redhat.com>
2627
2628 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2629 gdb's expected startup output.
2630
2631 2018-06-14 Pedro Alves <palves@redhat.com>
2632
2633 * lib/selftest-support.exp (selftest_setup): Remove inlined
2634 function handling.
2635
2636 2018-06-14 Tom de Vries <tdevries@suse.de>
2637
2638 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2639 matching of breakpoint printing.
2640
2641 2018-06-13 Tom de Vries <tdevries@suse.de>
2642
2643 PR testsuite/23269
2644 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2645 (fork_child): ... here, and ...
2646 (fork_parent): ... here.
2647
2648 2018-06-12 Tom de Vries <tdevries@suse.de>
2649
2650 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2651
2652 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2653 Stephen Roberts <stephen.roberts@arm.com>
2654
2655 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2656 rewrite test to describe action performed, rather than possible
2657 failure.
2658
2659 2018-06-08 Gary Benson <gbenson@redhat.com>
2660
2661 * gdb.threads/check-libthread-db.exp: New file.
2662 * gdb.threads/check-libthread-db.c: Likewise.
2663
2664 2018-06-05 Tom Tromey <tom@tromey.com>
2665
2666 * gdb.base/default.exp: Update expected "show version" output.
2667
2668 2018-06-05 Tom Tromey <tom@tromey.com>
2669
2670 PR cli/12326:
2671 * gdb.cp/static-print-quit.exp: Update.
2672 * lib/gdb.exp (pagination_prompt): Update.
2673 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2674 * gdb.python/python.exp: Update.
2675
2676 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2677
2678 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2679
2680 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2681
2682 * gdb.ada/bp_fun_addr: New testcase.
2683
2684 2018-06-01 Tom Tromey <tom@tromey.com>
2685
2686 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2687 results.
2688 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2689 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2690 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2691 * gdb.base/maint.exp (maint_pass_if): Update.
2692
2693 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2694
2695 * gdb.base/endian.exp: New test.
2696 * gdb.base/endian.c: New test source.
2697
2698 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2699
2700 PR gdb/23203
2701 * gdb.base/bt-selected-frame.c: New file.
2702 * gdb.base/bt-selected-frame.exp: New file.
2703 * lib/gdb.exp (get_current_frame_number): New function.
2704
2705 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2706 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.threads/tls-core.c: Include <stdlib.h>
2709 (thread_proc): Call `abort'.
2710 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2711 (tls_core_test): New procedure, bits factored out from ...
2712 (top level): ... here. Test both native cores and gcore cores.
2713
2714 2018-05-23 Tom Tromey <tom@tromey.com>
2715
2716 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2717
2718 2018-05-23 Tom Tromey <tom@tromey.com>
2719
2720 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2721 symfile_complaints.
2722 (test_short_complaints): Likewise.
2723 (test_empty_complaints): Likewise.
2724 (test_initial_complaints): Update.
2725
2726 2018-05-23 Tom Tromey <tom@tromey.com>
2727
2728 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2729
2730 2018-05-23 Tom Tromey <tom@tromey.com>
2731
2732 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2733 (test_short_complaints): Update.
2734
2735 2018-05-22 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/remote.exp: Only gdb_start after compiling the
2738 testcase. Issue "disconnect" before testing "set remote" command
2739 defaults. Issue clean_restart before running to main.
2740
2741 2018-05-22 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/remote.exp: Adjust expected output of "show remote
2744 memory-write-packet-size". Add tests for "set remote
2745 memory-write-packet-size 0" and "set remote
2746 memory-write-packet-size fixed/limit".
2747
2748 2018-05-22 Pedro Alves <palves@redhat.com>
2749
2750 PR gdb/22973
2751 * gdb.base/utf8-identifiers.c: New file.
2752 * gdb.base/utf8-identifiers.exp: New file.
2753
2754 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2755
2756 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2757
2758 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2759
2760 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2761
2762 2018-05-18 Tom Tromey <tom@tromey.com>
2763
2764 * gdb.base/ptype-offsets.exp: Update.
2765
2766 2018-05-17 Keith Seitz <keiths@redhat.com>
2767
2768 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2769 in expected breakpoint stop locations.
2770 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2771 move to proper scope to test variable values.
2772 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2773 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2774 New functions.
2775 (main): Call not_inline_func3.
2776 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2777 inline_func1, inline_func2, and inline_func3. Test that when each
2778 breakpoint is hit, GDB properly reports both the stop location
2779 and the backtrace. Repeat tests for temporary breakpoints.
2780
2781 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2782
2783 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2784 rather then trying to access it in determining whether the PID
2785 of `gdbserver' could have been retrieved.
2786
2787 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2788
2789 * gdb.arch/amd64-init-x87-values.S: New file.
2790 * gdb.arch/amd64-init-x87-values.exp: New file.
2791
2792 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2793
2794 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2795
2796 2018-05-04 Tom Tromey <tom@tromey.com>
2797
2798 PR python/22730:
2799 * gdb.python/python.exp: Test multi-line execute.
2800
2801 2018-05-04 Tom Tromey <tom@tromey.com>
2802
2803 PR python/22731:
2804 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2805
2806 2018-05-04 Tom Tromey <tom@tromey.com>
2807
2808 PR gdb/11750:
2809 * gdb.base/define.exp: Test defining a user command inside a user
2810 command.
2811 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2812
2813 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2814 Pedro Alves <palves@redhat.com>
2815
2816 PR breakpoints/19806 and support for PR external/20207.
2817 * gdb.base/watchpoint-unaligned.c: New file.
2818 * gdb.base/watchpoint-unaligned.exp: New file.
2819
2820 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2821
2822 * gdb.base/maint.exp: Make test names unique, use
2823 test_prefix_command_help to test 'help maint info', and remove
2824 repeated test of 'help maint'.
2825
2826 2018-05-04 Tom Tromey <tom@tromey.com>
2827
2828 PR gdb/22619:
2829 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2830 behavior.
2831
2832 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2833
2834 * gdb.base/maint.exp: Process output from 'maint print registers'
2835 line at a time.
2836
2837 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2838
2839 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2840 timeout.
2841
2842 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2845 filter pattern.
2846
2847 2018-05-02 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2850 to_log_command renames.
2851 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2852
2853 2018-05-02 Tom Tromey <tom@tromey.com>
2854
2855 * gdb.python/py-parameter.exp: Set test message.
2856
2857 2018-05-02 Tom Tromey <tom@tromey.com>
2858
2859 PR python/20084:
2860 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2861 PARAM_ZUINTEGER_UNLIMITED tests.
2862
2863 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2864
2865 PR rust/23124
2866 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2867 when casting.
2868
2869 2018-04-30 Tom Tromey <tom@tromey.com>
2870
2871 * gdb.python/py-type.exp: Check align attribute.
2872 * gdb.python/py-type.c: New "aligncheck" global.
2873
2874 2018-04-30 Tom Tromey <tom@tromey.com>
2875
2876 PR exp/17095:
2877 * gdb.dwarf2/dw2-align.exp: New file.
2878 * gdb.cp/align.exp: New file.
2879 * gdb.base/align.exp: New file.
2880 * lib/gdb.exp (gdb_int128_helper): New proc.
2881 (has_int128_c, has_int128_cxx): New caching procs.
2882
2883 2018-04-27 Tom Tromey <tom@tromey.com>
2884
2885 PR rust/22545:
2886 * gdb.rust/simple.exp: Add inclusive range tests.
2887
2888 2018-04-26 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2891 ifunc breakpoint locations correctly of ifunc breakpoints set
2892 while the program resolves the ifunc.
2893
2894 2018-04-26 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.base/gnu-ifunc-final.c: New file.
2897 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2898 * gdb.base/gnu-ifunc.exp (executable): Delete.
2899 (staticexecutable): Adjust.
2900 (lib_opts, exec_opts): Delete.
2901 (make_binsuffix, build, set-break): New procedures.
2902 (misc_tests): New, with tests factored out from the top level.
2903 (top level): Test different combinations of ifunc resolver name,
2904 resolver with and with debug info, and ifunc target with and
2905 without debug info. Wrap static tests with with_target_prefix.
2906
2907 2018-04-26 Pedro Alves <palves@redhat.com>
2908
2909 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2910 return type" warnings.
2911
2912 2018-04-25 Pedro Alves <palves@redhat.com>
2913
2914 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2915 killed".
2916 * gdb.base/kill-after-signal.exp: Likewise.
2917 * gdb.threads/kill.exp: Likewise.
2918
2919 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 Sergio Durigan Junior <sergiodj@redhat.com>
2921 Pedro Alves <palves@redhat.com>
2922
2923 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2924 regexps to expect for '[Inferior ... detached]' as well.
2925 * gdb.base/attach.exp: Likewise.
2926 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2927 "gdb_continue_to_end".
2928 (test_catch_syscall_with_wrong_args): Likewise.
2929 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2930 ']'. Don't set 'verbose' on.
2931 * gdb.base/foll-vfork.exp: Likewise.
2932 * gdb.base/fork-print-inferior-events.c: New file.
2933 * gdb.base/fork-print-inferior-events.exp: New file.
2934 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2935 '[Inferior ... has been killed]' message.
2936 * gdb.base/kill-after-signal.exp: Likewise.
2937 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2938 detach message.
2939 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2940 message.
2941 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2942 regexps to expect for '[Inferior ... detached]' as well.
2943 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2944
2945 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2946
2947 PR gdb/23104
2948 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2949
2950 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2951
2952 * gdb.threads/multiple-successive-infcall.c: New test.
2953 * gdb.threads/multiple-successive-infcall.exp: New file.
2954
2955 2018-04-17 Tom Tromey <tom@tromey.com>
2956
2957 * gdb.rust/simple.rs (Union): New type.
2958 (main): New local "u".
2959 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2960
2961 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2962
2963 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2964 number information in output of "whereis" command.
2965 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2966
2967 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2968
2969 * gdb.ada/info_types.exp: Adjust expected output to the line
2970 numbers now printed by "info var/func/type".
2971 * gdb.base/completion.exp: Likewise.
2972 * gdb.base/included.exp: Likewise.
2973 * gdb.cp/cp-relocate.exp: Likewise.
2974 * gdb.cp/cplusfuncs.exp: Likewise.
2975 * gdb.cp/namespace.exp: Likewise.
2976 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2977
2978 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2979
2980 * gdb.btrace/cpu.exp: New.
2981
2982 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2983
2984 * gdb.base/step-indirect-call-thunk.exp: New.
2985 * gdb.base/step-indirect-call-thunk.c: New.
2986 * gdb.reverse/step-indirect-call-thunk.exp: New.
2987 * gdb.reverse/step-indirect-call-thunk.c: New.
2988
2989 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2990
2991 * gdb.base/pie-fork.c: New file.
2992 * gdb.base/pie-fork.exp: New file.
2993
2994 2018-04-11 Tom Tromey <tom@tromey.com>
2995
2996 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2997
2998 2018-04-10 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3001 exits. Instead loop running forever.
3002 (fork_parent): Run forever too.
3003
3004 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3005
3006 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3007 mi_continue_to_line.
3008 * gdb.mi/mi-stack.c (callee4): Add comment.
3009
3010 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3011
3012 * gdb.mi/mi-stack.exp: Fix indentation.
3013
3014 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3015
3016 PR gdb/22979
3017 * gdb.arch/amd64-osabi.exp: New file.
3018
3019 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 PR gdb/22980
3022 * gdb.base/osabi.exp: New file.
3023
3024 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3025
3026 * gdb.cp/static-typedef-print.exp: New file.
3027 * gdb.cp/static-typedef-print.cc: New file.
3028
3029 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3030
3031 * gdb.ada/varsize_limit: New testcase.
3032
3033 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3034
3035 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3036
3037 * gdb.ada/notcplusplus: New testcase.
3038
3039 * gdb.base/c-linkage-name.c: New file.
3040 * gdb.base/c-linkage-name.exp: New testcase.
3041
3042 2018-03-26 Tom Tromey <tom@tromey.com>
3043
3044 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3045 * gdb.python/py-framefilter.py (name_error): New global.
3046 (ErrorInName.function): Use name_error.
3047
3048 2018-03-26 Tom Tromey <tom@tromey.com>
3049
3050 PR backtrace/15582:
3051 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3052
3053 2018-03-23 Keith Seitz <keiths@redhat.com>
3054
3055 PR c++/22968
3056 * gdb.cp/subtypes.exp: New file.
3057 * gdb.cp/subtypes.h: New file.
3058 * gdb.cp/subtypes.cc: New file.
3059 * gdb.cp/subtypes-2.cc: New file.
3060
3061 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3062
3063 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3064 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3065 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3066 -nostartfiles when compiling the test. Confirm that all registers
3067 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3068
3069 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3070
3071 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3072 option, syntax was wrong anyway.
3073 * gdb.arch/arm-disp-step.exp: Likewise.
3074 * gdb.arch/sparc64-regs.exp: Likewise.
3075 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3076 option, syntax was wrong anyway, switch to use
3077 prepare_for_testing.
3078 * gdb.arch/i386-disp-step.exp: Likewise.
3079
3080 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3081
3082 * gdb.ada/exec_changed.exp: Replace "target_info exists
3083 use_gdb_stub" by "use_gdb_stub".
3084 * gdb.ada/start.exp: Likewise.
3085 * gdb.base/async-shell.exp: Likewise.
3086 * gdb.base/attach-pie-misread.exp: Likewise.
3087 * gdb.base/attach-wait-input.exp: Likewise.
3088 * gdb.base/break-entry.exp: Likewise.
3089 * gdb.base/break-interp.exp: Likewise.
3090 * gdb.base/dprintf-detach.exp: Likewise.
3091 * gdb.base/nostdlib.exp: Likewise.
3092 * gdb.base/solib-nodir.exp: Likewise.
3093 * gdb.base/statistics.exp: Likewise.
3094 * gdb.base/testenv.exp: Likewise.
3095 * gdb.mi/mi-exec-run.exp: Likewise.
3096 * gdb.mi/mi-start.exp: Likewise.
3097 * gdb.multi/dummy-frame-restore.exp: Likewise.
3098 * gdb.multi/multi-arch-exec.exp: Likewise.
3099 * gdb.multi/multi-arch.exp: Likewise.
3100 * gdb.multi/tids.exp: Likewise.
3101 * gdb.multi/watchpoint-multi.exp: Likewise.
3102 * gdb.python/py-events.exp: Likewise.
3103 * gdb.threads/attach-into-signal.exp: Likewise.
3104 * gdb.threads/attach-stopped.exp: Likewise.
3105 * gdb.threads/threadapply.exp: Likewise.
3106 * lib/selftest-support.exp: Likewise.
3107
3108 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3109
3110 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3111
3112 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3113
3114 * gdb.perf/template-breakpoints.cc: New file.
3115 * gdb.perf/template-breakpoints.exp: New file.
3116 * gdb.perf/template-breakpoints.py: New file.
3117
3118 2018-03-19 Tom Tromey <tom@tromey.com>
3119
3120 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3121 y0.
3122 * gdb.rust/simple.exp: Test bare identifier form of struct
3123 initializer.
3124
3125 2018-03-19 Tom Tromey <tom@tromey.com>
3126
3127 * gdb.gdb/observer.exp: Remove.
3128
3129 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3130
3131 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3132 "qualified" option when setting breakpoints.
3133 * gdb.trace/backtrace.exp: Likewise.
3134 * gdb.trace/circ.exp: Likewise.
3135 * gdb.trace/collection.exp: Likewise.
3136 * gdb.trace/disconnected-tracing.exp: Likewise.
3137 * gdb.trace/ftrace-lock.exp: Likewise.
3138 * gdb.trace/ftrace.exp: Likewise.
3139 * gdb.trace/infotrace.exp: Likewise.
3140 * gdb.trace/packetlen.exp: Likewise.
3141 * gdb.trace/passc-dyn.exp: Likewise.
3142 * gdb.trace/qtro.exp: Likewise.
3143 * gdb.trace/read-memory.exp: Likewise.
3144 * gdb.trace/report.exp: Likewise.
3145 * gdb.trace/signal.exp: Likewise.
3146 * gdb.trace/status-stop.exp: Likewise.
3147 * gdb.trace/strace.exp: Likewise.
3148 * gdb.trace/tfind.exp: Likewise.
3149 * gdb.trace/trace-break.exp: Likewise.
3150 * gdb.trace/trace-condition.exp: Likewise.
3151 * gdb.trace/trace-mt.exp: Likewise.
3152 * gdb.trace/tstatus.exp: Likewise.
3153 * gdb.trace/tsv.exp: Likewise.
3154 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3155 * gdb.trace/unavailable.exp: Likewise.
3156 * gdb.trace/while-dyn.exp: Likewise.
3157
3158 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3159
3160 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3161 that libinproctrace is copied to the target.
3162
3163 2018-03-14 Tom Tromey <tom@tromey.com>
3164
3165 PR cli/14977:
3166 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3167 a null pointer.
3168 * gdb.base/wchar.exp: Likewise.
3169
3170 2018-03-14 Tom Tromey <tom@tromey.com>
3171
3172 PR cli/19918:
3173 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3174 flag.
3175
3176 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3177
3178 PR gdb/22841
3179 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3180 "target" to remote_exec.
3181
3182 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3183
3184 PR gdb/22841
3185 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3186 ${board}_upload): Remove.
3187
3188 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3189
3190 * gdb.cp/watch-cp.cc: New test.
3191 * gdb.cp/watch-cp.exp: New file.
3192
3193 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3194
3195 * gdb.base/infcall-nested-structs.exp: New file.
3196 * gdb.base/infcall-nested-structs.c: New file.
3197 * gdb.base/float.exp: Add riscv support.
3198
3199 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3200
3201 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3202 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3203
3204 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3205
3206 * gdb.server/abspath.exp: New file.
3207 * lib/gdb.exp (with_cwd): New procedure.
3208
3209 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3210
3211 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3212 use it.
3213 (gdb_is_target_remote_prompt): New proc.
3214 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3215 (gdb_is_target_native): Pass prompt parameter to
3216 gdb_is_target_1.
3217
3218 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3219
3220 * gdb.base/load-command.c: New file.
3221 * gdb.base/load-command.exp: New file.
3222 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3223 (gdb_is_target_1): ...this, and generalize for other targets
3224 than just remote.
3225 (gdb_is_target_remote): Use gdb_is_target_1.
3226 (gdb_is_target_native): use gdb_is_target_1.
3227
3228 2018-02-26 Tom Tromey <tom@tromey.com>
3229
3230 PR python/16497:
3231 * gdb.python/py-framefilter.exp: Update test.
3232
3233 2018-02-26 Tom Tromey <tom@tromey.com>
3234
3235 * gdb.dwarf2/variant.c: New file.
3236 * gdb.dwarf2/variant.exp: New file.
3237
3238 2018-02-26 Tom Tromey <tom@tromey.com>
3239
3240 * gdb.rust/simple.exp: Accept more possible results in enum test.
3241
3242 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3243
3244 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3245 parentheses.
3246
3247 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3248
3249 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3250 name of a variable: $actual_linejj -> $actual_line.
3251
3252 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3253
3254 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3255
3256 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3257
3258 * gdb.btrace/buffer-size.exp: Do not force BTS.
3259
3260 2018-02-14 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3263 getting a "Quit".
3264
3265 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3266
3267 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3268 Fix test name.
3269
3270 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3271
3272 * gdb.cp/m-static.exp: Check type of optimized out static
3273 member.
3274
3275 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3278 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3279
3280 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3281 Leszek Swirski <leszeks@google.com>
3282
3283 * gdb.python/py-prettyprint.c
3284 (struct to_string_returns_value_inner,
3285 struct to_string_returns_value_wrapper): New.
3286 (main): Add tsrvw variable.
3287 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3288 ToStringReturnsValueWrapper): New classes.
3289 (register_pretty_printers): Register new pretty-printers.
3290 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3291 recursive pretty printer.
3292 * gdb.python/py-mi.exp: Likewise.
3293
3294 2018-02-01 Leszek Swirski <leszeks@google.com>
3295
3296 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3297 functions with the same name as an include file are parsed
3298 correctly.
3299
3300 2018-02-01 Yao Qi <yao.qi@linaro.org>
3301
3302 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3303 "\[^\r\n\]*".
3304
3305 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3306
3307 * gdb.arch/powerpc-prologue-frame.s: New file.
3308 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3309 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3310
3311 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3312
3313 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3314
3315 2018-01-30 Pedro Alves <palves@redhat.com>
3316
3317 PR gdb/13211
3318 * gdb.base/interrupt-daemon.c: New.
3319 * gdb.base/interrupt-daemon.exp: New.
3320 * gdb.multi/multi-term-settings.c: New.
3321 * gdb.multi/multi-term-settings.exp: New.
3322
3323 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3324
3325 * gdb.base/break.exp: Save the location where the breakpoint
3326 on break.c:47 was actually inserted when debugging the version
3327 compiled at -O2 and use it in the expected output of the "info
3328 break" test performed soon after.
3329
3330 2018-01-22 Pedro Alves <palves@redhat.com>
3331 Sergio Durigan Junior <sergiodj@redhat.com>
3332
3333 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3334 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3335
3336 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3337
3338 * gdb.base/break-include.c, gdb.base/break-include.inc,
3339 gdb.base/break-include.exp: New files.
3340 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3341 line number now being the actual line number where the breakpoint
3342 was inserted.
3343 * gdb.mi/mi-break.exp: Likewise.
3344 * gdb.mi/mi-reverse.exp: Likewise.
3345 * gdb.mi/mi-simplerun.exp: Ditto.
3346
3347 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3348
3349 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3350 varobj.
3351 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3352
3353 2018-01-21 Don Breazeal <donb@codesourcery.com>
3354 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.mi/basics.c: Add new global.
3357 * gdb.mi/mi-frame-regs.exp: New file.
3358 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3359 case.
3360
3361 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3362
3363 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3364 non-parameter, and on an unknown symbol.
3365
3366 2018-01-19 Tom Tromey <tom@tromey.com>
3367
3368 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3369 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3370
3371 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3372
3373 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3374 setrlimit and chdir to int.
3375
3376 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3377
3378 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3379 function.
3380 (my_tend): Likewise.
3381 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3382 rationale of avoiding FP- and vector instructions.
3383
3384 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3385
3386 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3387 "info reg" with "\[ \t\]*".
3388 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3389 "\[ \t\]+".
3390 * gdb.arch/s390-multiarch.exp: Ditto.
3391 * gdb.base/pc-fp.exp: Ditto.
3392 * gdb.reverse/i386-precsave.exp: Ditto.
3393 * gdb.reverse/i386-reverse.exp: Ditto.
3394 * gdb.reverse/i387-env-reverse.exp: Ditto.
3395 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3396
3397 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3398
3399 * lib/gdb.exp (gdb_compile): Re-enable use of
3400 universal_compile_options for languages other than Rust.
3401
3402 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3403
3404 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3405
3406 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3407
3408 PR gdb/16577
3409 * gdb.base/solib-vanish.exp: New.
3410 * gdb.base/solib-vanish-main.c: New.
3411 * gdb.base/solib-vanish-lib1.c: New.
3412 * gdb.base/solib-vanish-lib2.c: New.
3413
3414 2018-01-17 Yao Qi <yao.qi@linaro.org>
3415
3416 * gdb.compile/compile.exp: Match the address printed for
3417 frame in the output of command "bt".
3418
3419 2018-01-15 Tom Tromey <tom@tromey.com>
3420
3421 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3422 compute sp_reg.
3423
3424 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3427 to prepare.
3428 (prepare): Return 0 on error, 1 on success.
3429
3430 2018-01-12 Pedro Alves <palves@redhat.com>
3431
3432 * gdb.base/continue-after-aborted-step-over.c: New.
3433 * gdb.base/continue-after-aborted-step-over.exp: New.
3434
3435 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3436
3437 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3438 options when not creating an executable.
3439
3440 2018-01-11 Pedro Alves <palves@redhat.com>
3441
3442 PR remote/22597
3443 * gdb.server/stop-reply-no-thread.c: New file.
3444 * gdb.server/stop-reply-no-thread.exp: New file.
3445
3446 2018-01-10 Pedro Alves <palves@redhat.com>
3447
3448 PR gdb/22670
3449 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3450 functions too. Test setting breakpoints and printing C functions
3451 with no debug info too.
3452 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3453
3454 2018-01-10 Pedro Alves <palves@redhat.com>
3455
3456 PR gdb/22670
3457 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3458 a fail.
3459
3460 2018-01-10 Pedro Alves <palves@redhat.com>
3461
3462 PR gdb/22670
3463 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3464
3465 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3466
3467 * gdb.server/unittest.exp: Match the output in non-development
3468 mode.
3469
3470 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3471
3472 * gdb.gdb/unittest.exp: Match output in non-development mode.
3473
3474 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3475
3476 * gdb.ada/access_tagged_param.exp: Relax expected output
3477 for value of "ObjL" in "continue" to pck.inspect breakpoint
3478 test.
3479
3480 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3481
3482 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3483 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3484
3485 2018-01-05 Pedro Alves <palves@redhat.com>
3486
3487 PR gdb/18653
3488 * gdb.base/libsegfault.exp: New.
3489
3490 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3491
3492 PR gdb/22670
3493 * gdb.ada/access_tagged_param.exp: New file.
3494 * gdb.ada/access_tagged_param/foo.adb: New file.
3495
3496 2018-01-05 Pedro Alves <palves@redhat.com>
3497
3498 PR gdb/22670
3499 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3500 exercise lower case too, and to exercise both full matching and
3501 wild matching.
3502
3503 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3504
3505 * gdb.ada/rename_subscript_param: New testcase.
3506
3507 2018-01-05 Jerome Guitton <guitton@adacore.com>
3508
3509 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3510
3511 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3512
3513 * gdb.ada/convvar_comp: New testcase.
3514
3515 2018-01-05 Xavier Roirand <roirand@adacore.com>
3516
3517 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3518 (My_Table): New global variable.
3519 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3520
3521 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3522
3523 PR gdb/22670
3524 * gdb.ada/maint_with_ada: New testcase.
3525
3526 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3527
3528 PR gdb/22670
3529 * gdb.ada/bp_c_mixed_case: New testcase.
3530
3531 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3532
3533 PR gdb/22670
3534 * gdb.ada/complete.exp: Add "complete break ada" test.
3535
3536 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3537
3538 PR gdb/22670
3539 * gdb.ada/info_addr_mixed_case: New testcase.
3540
3541 2018-01-03 Xavier Roirand <roirand@adacore.com>
3542
3543 * gdb.ada/excep_handle.exp: New testcase.
3544 * gdb.ada/excep_handle/foo.adb: New file.
3545 * gdb.ada/excep_handle/pck.ads: New file.
3546
3547 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3548
3549 * gdb.base/step-line.c: Add extra empty line in copyright header.
3550 * gdb.base/step-line.inp: Likewise.
3551
3552 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3553
3554 * gdb.ada/dyn_stride.exp: Add slice test.
3555
3556 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3557
3558 * gdb.ada/dyn_stride: New testcase.
3559
3560 2017-12-27 Stafford Horne <shorne@gmail.com>
3561
3562 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3563 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3564
3565 2017-12-27 Stafford Horne <shorne@gmail.com>
3566
3567 * gdb.base/reggroups.c: New file.
3568 * gdb.base/reggroups.exp: New file.
3569
3570 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3571
3572 * gdb.dwarf2/ada-valprint-error.c: New file.
3573 * gdb.dwarf2/ada-valprint-error.exp: New file.
3574
3575 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3576
3577 * gdb.ada/assign_arr: New testcase.
3578
3579 2017-12-18 Xavier Roirand <roirand@adacore.com>
3580
3581 * gdb.ada/funcall_ptr: New testcase.
3582
3583 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3584
3585 PR cli/16224
3586 * gdb.base/ptype-offsets.cc: New file.
3587 * gdb.base/ptype-offsets.exp: New file.
3588
3589 2017-12-15 Yao Qi <yao.qi@linaro.org>
3590
3591 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3592 if XML is disabled.
3593
3594 2017-12-15 Xavier Roirand <roirand@adacore.com>
3595
3596 * gdb.ada/same_component_name: New testcase.
3597
3598 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3599
3600 * gdb.ada/str_binop_equal: New testcase.
3601
3602 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3603
3604 * gdb.ada/task_switch_in_core: New testcase.
3605
3606 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3607
3608 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3609 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3610 call test_bkpt_qualified.
3611 (test_bkpt_qualified): New proc.
3612
3613 2017-12-13 Pedro Alves <palves@redhat.com>
3614
3615 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3616 Tighten regexp by matching with an anchor.
3617
3618 2017-12-13 Pedro Alves <palves@redhat.com>
3619
3620 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3621 ("expression with namespace"): New set of tests.
3622 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3623 (Nested::Test_NS::qux): New.
3624 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3625 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3626
3627 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3628
3629 * gdb.base/server-del-break.c: New file.
3630 * gdb.base/server-del-break.exp: New file.
3631
3632 2017-12-12 Stafford Horne <shorne@gmail.com>
3633
3634 * gdb.xml/tdesc-regs.exp: Add or1k support.
3635
3636 2017-12-12 Stafford Horne <shorne@gmail.com>
3637
3638 * gdb.base/bp-permanent.c: Define nop of or1k.
3639
3640 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3641
3642 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3643 output with components being reordered.
3644
3645 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3646
3647 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3648 output with components being reordered.
3649
3650 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3651 Pedro Alves <palves@redhat.com>
3652
3653 * gdb.base/maint.exp (check for .gdb_index): Check also for
3654 .debug_names.
3655 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3656 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3657 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3658 (.gdb_index used after symbol reloading): Support also .debug_names.
3659 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3660
3661 2017-12-08 Yao Qi <yao.qi@linaro.org>
3662
3663 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3664 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3665
3666 2017-12-08 Yao Qi <yao.qi@linaro.org>
3667
3668 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3669 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3670
3671 2017-12-08 Yao Qi <yao.qi@linaro.org>
3672
3673 * gdb.arch/aarch64-tagged-pointer.c: New file.
3674 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3675
3676 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3677
3678 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3679 "int".
3680
3681 2017-12-07 Keith Seitz <keiths@redhat.com>
3682
3683 PR breakpoints/22569
3684 * gdb.linespec/ls-errs.exp: Change expected result of "break
3685 -source this file has spaces.c -line 3".
3686 Check that an explicit source file followed by whitespace is
3687 identified as an invalid explicit location.
3688
3689 2017-12-07 Keith Seitz <keiths@redhat.com>
3690
3691 * gdb.cp/nested-types.cc: New file.
3692 * gdb.cp/nested-types.exp: New file.
3693 * lib/cp-support.exp: Load data-structures.exp library.
3694 (debug_cp_test_ptype_class): New global.
3695 (cp_ptype_class_verbose, next_line): New procedures.
3696 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3697 Add and document new return value.
3698 Switch the list of lines to a queue.
3699 Add support for new `type' key for nested type definitions.
3700 Add debugging/troubleshooting messages.
3701 * lib/data-structures.exp: New file.
3702
3703 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3704
3705 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3706 with proc_with_prefix, don't use with_test_prefix.
3707
3708 2017-12-07 Tom Tromey <tom@tromey.com>
3709
3710 * gdb.base/break.exp: Add test for empty "commands".
3711
3712 2017-12-07 Yao Qi <yao.qi@linaro.org>
3713
3714 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3715 malloc and catch syscall.
3716
3717 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3718
3719 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3720 tests for explicit locations.
3721
3722 2017-12-06 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3725 force-disabling XML descriptions.
3726
3727 2017-12-04 Pedro Alves <palves@redhat.com>
3728
3729 PR gdb/22499
3730 * gdb.arch/amd64-disp-step-avx.S: New file.
3731 * gdb.arch/amd64-disp-step-avx.exp: New file.
3732
3733 2017-12-03 Pedro Alves <palves@redhat.com>
3734
3735 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3736 and <string.h>.
3737 (parent_function): Print distinct messages when waitpid fails, or
3738 the child exits with a signal, or the child exits for an unhandled
3739 reason.
3740 * gdb.threads/process-dies-while-detaching.exp
3741 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3742 it. Wait for both inferior output and GDB's prompt. Use an
3743 indirect spawn id list.
3744 (do_detach): New parameter 'child_exit'. Use it to compute
3745 expected inferior output.
3746 (test_detach, test_detach_watch, test_detach_killed_outside):
3747 Adjust to pass down the expected child exit kind.
3748
3749 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3750 Sergio Durigan Junior <sergiodj@redhat.com>
3751 Pedro Alves <palves@redhat.com>
3752
3753 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3754
3755 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3756
3757 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3758 to 'symbol-file' and 'add-symbol-file' can be
3759 position-independent.
3760
3761 2017-12-01 Yao Qi <yao.qi@linaro.org>
3762
3763 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3764 the URL in copyright header.
3765 * gdb.arch/aarch64-fp.exp: Likewise.
3766 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3767 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3768 * gdb.base/expand-psymtabs.exp: Likewise.
3769 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3770 * gdb.fortran/common-block.exp: Likewise.
3771 * gdb.fortran/common-block.f90: Likewise.
3772 * gdb.fortran/logical.exp: Likewise.
3773 * gdb.fortran/vla-datatypes.f90: Likewise.
3774 * gdb.fortran/vla-sub.f90: Likewise.
3775
3776 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3777
3778 * gdb.ada/repeat_dyn: New testcase.
3779
3780 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3781
3782 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3783 Update for changed thread numbering.
3784 * gdb.cell/bt.exp: Update for changed GDB output.
3785
3786 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3787
3788 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3789 setting isremote by hand.
3790 * boards/dwarf4-gdb-index.exp: Likewise.
3791 * boards/fission.exp: Likewise.
3792 * boards/stabs.exp: Likewise.
3793
3794 2017-11-30 Pedro Alves <palves@redhat.com>
3795
3796 * gdb.linespec/cpls-ops.exp
3797 (check_explicit_skips_function_argument): Extract the underlying
3798 type of size_t instead of hardcoding it.
3799
3800 2017-11-29 Pedro Alves <palves@redhat.com>
3801
3802 PR c++/19436
3803 * gdb.linespec/cpls-abi-tag.cc: New file.
3804 * gdb.linespec/cpls-abi-tag.exp: New file.
3805
3806 2017-11-29 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/langs.exp: Use -qualified.
3809 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3810 it.
3811 * gdb.cp/namespace.exp: Use -qualified.
3812 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3813 (overload-3, template-overload, template-ret-type, const-overload)
3814 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3815 procedures.
3816 (test_driver): Call them.
3817 * gdb.cp/save-bp-qualified.cc: New.
3818 * gdb.cp/save-bp-qualified.exp: New.
3819 * gdb.linespec/explicit.exp: Test -qualified.
3820 * lib/completion-support.exp (completion::explicit_opts_list): Add
3821 "-qualified".
3822 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3823
3824 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3825
3826 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3827
3828 2017-11-29 Tom Tromey <tom@tromey.com>
3829
3830 * gdb.base/relocate.exp: Update invalid argument test.
3831 Add new tests for invalid arguments.
3832
3833 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3834
3835 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3836 Return 0 as a long.
3837 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3838
3839 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3840
3841 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3842 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3843 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3844 func ().
3845 * gdb.cp/shadow.cc (B.func): Return 0.
3846
3847 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3850 expected output in gdb_expect call to allow the exception
3851 message to be present as well. Fix syntax confusion to avoid
3852 TCL thinking that exception_name is an array.
3853
3854 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3855
3856 * gdb.arch/spu-info.c: Include <unistd.h>.
3857 (do_signal_test): Fix broken calls to write.
3858 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3859 Fix checks for empty mailboxes. Update signal tests for corrected
3860 do_signal_test routine. Allow nonzero event status.
3861 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3862 * gdb.cell/arch.exp: Use standard_output_file.
3863 * gdb.cell/break.exp: Likewise.
3864 * gdb.cell/bt.exp: Likewise.
3865 * gdb.cell/core.exp: Likewise.
3866 * gdb.cell/dwarfaddr.exp: Likewise.
3867 * gdb.cell/ea-cache.exp: Likewise.
3868 * gdb.cell/ea-standalone.exp: Likewise.
3869 * gdb.cell/f-regs.exp: Likewise.
3870 * gdb.cell/fork.exp: Likewise.
3871 * gdb.cell/gcore.exp: Likewise.
3872 * gdb.cell/mem-access.exp: Likewise.
3873 * gdb.cell/ptype.exp: Likewise.
3874 * gdb.cell/registers.exp: Likewise.
3875 * gdb.cell/sizeof.exp: Likewise.
3876 * gdb.cell/solib-symbol.exp: Likewise.
3877 * gdb.cell/solib.exp: Likewise.
3878
3879 2017-11-25 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.base/complete-empty.exp: New file.
3882 * gdb.base/completion.exp: Adjust.
3883
3884 2017-11-25 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.linespec/cpls-ops.cc: New file.
3887 * gdb.linespec/cpls-ops.exp: New file.
3888 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3889 factored out from ...
3890 (test_complete_prefix_range): ... this.
3891
3892 2017-11-24 Pedro Alves <palves@redhat.com>
3893
3894 * gdb.linespec/cpcompletion.exp: New file.
3895 * gdb.linespec/cpls-hyphen.cc: New file.
3896 * gdb.linespec/cpls.cc: New file.
3897 * gdb.linespec/cpls2.cc: New file.
3898 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3899 test to use test_gdb_complete_unique. Add label completion,
3900 keyword completion and explicit location completion tests.
3901 * lib/completion-support.exp: New file.
3902
3903 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3904
3905 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3906 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3907 when hitting an exception catchpoint.
3908
3909 2017-11-22 Yao Qi <yao.qi@linaro.org>
3910
3911 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3912
3913 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3914
3915 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3916 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3917 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3918
3919 2017-11-22 Yao Qi <yao.qi@linaro.org>
3920
3921 * gdb.base/info-os.exp: Pass pthreads.
3922 * gdb.multi/multi-attach.exp: Likewise.
3923
3924 2017-11-22 Yao Qi <yao.qi@linaro.org>
3925
3926 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3927 compiler.
3928
3929 2017-11-22 Yao Qi <yao.qi@linaro.org>
3930
3931 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3932 * gdb.base/break-interp.exp: Likewise.
3933 * gdb.base/jit-attach-pie.exp: Likewise.
3934
3935 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3936
3937 * gdb.base/float128.c (large128): New variable.
3938 * gdb.base/float128.exp: Add test to print largest __float128 value.
3939
3940 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3941
3942 * gdb.arch/vsx-regs.exp: Update register content checks.
3943
3944 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3945
3946 * gdb.arch/ppc-longdouble.exp: New file.
3947 * gdb.arch/ppc-longdouble.c: Likewise.
3948
3949 2017-11-21 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3952
3953 2017-11-20 Pedro Alves <palves@redhat.com>
3954
3955 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3956 (long_double_typedef): New typedefs.
3957 Use DEF on double and long double.
3958 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3959 cases.
3960 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3961 and 'long_double_ptr_same_size' locals. Use them to decide
3962 whether cast from array/function to float is valid/invalid.
3963
3964 2017-11-17 Tom Tromey <tom@tromey.com>
3965
3966 * gdb.rust/traits.rs: New file.
3967 * gdb.rust/traits.exp: New file.
3968
3969 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3970
3971 * gdb.ada/minsyms: New testcase.
3972
3973 2017-11-16 Pedro Alves <palves@redhat.com>
3974
3975 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3976 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3977
3978 2017-11-16 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3981 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3982
3983 2017-11-16 Pedro Alves <palves@redhat.com>
3984
3985 * gdb.server/reconnect-ctrl-c.c: New file.
3986 * gdb.server/reconnect-ctrl-c.exp: New file.
3987
3988 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3989
3990 * gdb.python/py-rbreak.exp: New file.
3991 * gdb.python/py-rbreak.c: New file.
3992 * gdb.python/py-rbreak-func2.c: New file.
3993
3994 2017-11-16 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3997 pattern.
3998 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3999 GDB.
4000
4001 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4002
4003 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4004 regex.
4005
4006 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4007
4008 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4009 test names.
4010
4011 2017-11-09 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4014 factored out from ...
4015 (top level): ... here, and adjusted to avoid expecting beyond the
4016 prompt in a single gdb_test_multiple.
4017
4018 2017-11-09 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4021 output.
4022 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4023 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4024 * gdb.server/ext-run.exp ("kill" test): Likewise.
4025 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4026
4027 2017-11-09 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4030 match till end of line.
4031
4032 2017-11-09 Pedro Alves <palves@redhat.com>
4033
4034 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4035
4036 2017-11-09 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4039 New procedures, factored out from ...
4040 (top level): ... here, and adjusted to avoid expecting beyond the
4041 prompt in one go.
4042
4043 2017-11-09 Pedro Alves <palves@redhat.com>
4044
4045 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4046 output. Fix '?' match.
4047
4048 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4049
4050 * gdb.ada/scoped_watch: New testcase.
4051 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4052 which is actually correct.
4053 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4054 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4055
4056 2017-11-08 Pedro Alves <palves@redhat.com>
4057
4058 * gdb.gdb/complaints.exp (test_initial_complaints)
4059 (test_serial_complaints, test_short_complaints): Call
4060 complaint_internal instead of complaint.
4061
4062 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4063
4064 * gdb.threads/tls-core.c: New file.
4065 * gdb.threads/tls-core.exp: Likewise.
4066
4067 2017-11-08 Pedro Alves <palves@redhat.com>
4068
4069 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4070 (p Exported_Capitalized): New test.
4071 (p exported_capitalized): New test.
4072
4073 2017-11-07 Pedro Alves <palves@redhat.com>
4074
4075 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4076
4077 2017-11-07 Pedro Alves <palves@redhat.com>
4078
4079 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4080 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4081 (disable_invalid, disable_inverted, disable_negative): New
4082 procedures.
4083 ("bad numbers"): New set of tests.
4084
4085 2017-11-07 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.cp/ena-dis-br-range.exp: Add tests.
4088
4089 2017-11-07 Pedro Alves <palves@redhat.com>
4090
4091 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4092
4093 2017-11-07 Xavier Roirand <roirand@adacore.com>
4094 Pedro Alves <palves@redhat.com>
4095
4096 * gdb.base/ena-dis-br.exp: Add reference to
4097 gdb.cp/ena-dis-br-range.exp.
4098 * gdb.cp/ena-dis-br-range.exp: New file.
4099 * gdb.cp/ena-dis-br-range.cc: New file.
4100
4101 2017-11-06 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.base/attach-non-pgrp-leader.c: New.
4104 * gdb.base/attach-non-pgrp-leader.exp: New.
4105
4106 2017-11-06 Pedro Alves <palves@redhat.com>
4107
4108 * configure.ac: No longer check for termio.h and sgtty.h.
4109 * configure: Regenerate.
4110 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4111 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4112 Remove termio and sgtty code.
4113
4114 2017-11-03 Yao Qi <yao.qi@linaro.org>
4115
4116 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4117 in GDB is disabled.
4118
4119 2017-11-03 Yao Qi <yao.qi@linaro.org>
4120
4121 * gdb.python/py-thrhandle.exp: Skip it if python is not
4122 enabled.
4123
4124 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4125
4126 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4127 as a breakpoint command.
4128
4129 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4130
4131 PR python/21213
4132 * gdb.python/py-infthread.exp: Test calling
4133 InferiorThread.inferior () multiple times in a row.
4134
4135 2017-10-27 Keith Seitz <keiths@redhat.com>
4136
4137 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4138 Test "info break" for every inlined function breakpoint.
4139
4140 2017-10-27 Yao Qi <yao.qi@linaro.org>
4141
4142 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4143
4144 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4145
4146 * gdb.cp/classes.exp (test_static_members): Test printing
4147 Outer::instance.
4148 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4149 (Inner::instance, Outer::instance): New.
4150
4151 2017-10-24 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4154 extra console" test in two stages.
4155
4156 2017-10-24 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4159
4160 2017-10-24 Pedro Alves <palves@redhat.com>
4161
4162 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4163 loop.
4164
4165 2017-10-24 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4168 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4169
4170 2017-10-24 Pedro Alves <palves@redhat.com>
4171
4172 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4173 parameter and handle it. Don't output read value in test name.
4174
4175 2017-10-24 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4178 custom test name.
4179
4180 2017-10-24 Pedro Alves <palves@redhat.com>
4181
4182 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4183 include the unstable output directory name in the test's name.
4184 (initial_setup_simple) <'set args'>: Use custom test name.
4185
4186 2017-10-24 Pedro Alves <palves@redhat.com>
4187
4188 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4189 with explicit test name.
4190
4191 2017-10-20 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4194 'wait -i'. Use gdb_assert and remote_close.
4195
4196 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4197
4198 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4199 number from variable rather than hard-coded.
4200
4201 2017-10-19 Pedro Alves <palves@redhat.com>
4202
4203 * gdb.base/long-inferior-output.c: New file.
4204 * gdb.base/long-inferior-output.exp: New file.
4205
4206 2017-11-18 Keith Seitz <keiths@redhat.com>
4207
4208 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4209 method.
4210 (main): Call it.
4211 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4212 Add additional user-defined conversion operator tests.
4213
4214 2017-10-17 Pedro Alves <palves@redhat.com>
4215
4216 * boards/native-stdio-gdbserver.exp: Load "local-board".
4217
4218 2017-10-17 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/quit-live.c: New file.
4221 * gdb.base/quit-live.exp: New file.
4222
4223 2017-10-16 Keith Seitz <keiths@redhat.com>
4224
4225 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4226 (class_with_protected_typedef, class_with_private_typedef)
4227 (struct_with_public_typedef, struct_with_protected_typedef)
4228 (struct_with_private_typedef): New classes/structs.
4229 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4230 typedefs and access specifiers.
4231
4232 2017-10-16 Pedro Alves <palves@redhat.com>
4233 Simon Marchi <simon.marchi@polymtl.ca>
4234
4235 * README (Local vs Remote vs Native): New section.
4236 * boards/local-board.exp: New file, with bits factored out from
4237 ...
4238 * boards/native-extended-gdbserver.exp: ... here. Load
4239 "local-board".
4240 * boards/native-gdbserver.exp: Load "local-board".
4241 (${board}_spawn, ${board}_exec): Delete.
4242 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4243 ...
4244 * boards/stdio-gdbserver-base.exp: ... this new file.
4245 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4246 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4247 procedure.
4248 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4249 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4250 stdio_gdbserver_command.
4251 (${board}_get_remote_address, ${board}_get_comm_port)
4252 (${board}_download, ${board}_upload): Delete.
4253 (get_target_remote_pipe_cmd): New.
4254
4255 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4256
4257 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4258 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4259 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4260 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4261 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4262 remove with_test_prefix.
4263
4264 2017-10-13 Pedro Alves <palves@redhat.com>
4265
4266 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4267 * gdb.base/annota1.exp: Use it instead of is_remote.
4268 * gdb.base/annota3.exp: Use it instead of is_remote.
4269 * gdb.cp/annota2.exp: Use it instead of is_remote.
4270 * gdb.cp/annota3.exp: Use it instead of is_remote.
4271 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4272
4273 2017-10-13 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4276 (test_num_test_vars, run_and_count_vars, find_env)
4277 (test_set_unset_env, test_inherit_env_var): New procedures.
4278 (top level): Use them.
4279
4280 2017-10-13 Pedro Alves <palves@redhat.com>
4281
4282 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4283 also skip on stub-like targets.
4284
4285 2017-10-13 Pedro Alves <palves@redhat.com>
4286
4287 PR gdb/22293
4288 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4289 (top level): Move some tests to ...
4290 (test_not_found): ... this new procedure.
4291 (top level): Call it.
4292
4293 2017-10-13 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4296 expect different "info terminal" output if testing with a
4297 non-native target.
4298
4299 2017-10-13 Pedro Alves <palves@redhat.com>
4300 Simon Marchi <simon.marchi@polymtl.ca>
4301
4302 PR python/12966
4303 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4304
4305 2017-10-13 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4308 already.
4309
4310 2017-10-13 Pedro Alves <palves@redhat.com>
4311
4312 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4313 is_remote.
4314
4315 2017-10-13 Pedro Alves <palves@redhat.com>
4316
4317 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4318 is_remote.
4319
4320 2017-10-13 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4323 is set.
4324 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4325 instead of is_remote.
4326
4327 2017-10-13 Pedro Alves <palves@redhat.com>
4328
4329 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4330 (top level): Add comment.
4331
4332 2017-10-13 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.base/remote.exp (top level): Fix comment typo and add
4335 missing return.
4336
4337 2017-10-13 Pedro Alves <palves@redhat.com>
4338 Simon Marchi <simon.marchi@polymtl.ca>
4339
4340 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4341 calls and add comments. Skip test if use_gdb_stub is set.
4342 (top level): Use "set cwd" command instead of "cd" command.
4343
4344 2017-10-13 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4347 is_remote target check.
4348
4349 2017-10-13 Pedro Alves <palves@redhat.com>
4350
4351 * gdb.base/scope.exp: Use build_executable + clean_restart +
4352 gdb_file_cmd instead of prepare_for_testing and no longer skip
4353 "before run" tests on is_remote target boards. Update comments.
4354 * boards/native-extended-gdbserver.exp
4355 (extended_gdbserver_load_last_file): New, factored out from ...
4356 (gdb_load): ... this. Move further below and add comment.
4357 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4358
4359 2017-10-12 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.base/attach.exp: Remove references to gdb64.
4362 * gdb.base/dbx.exp: Remove references to gdb64.
4363
4364 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4365 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.base/label.exp: Remove is_remote target check.
4368
4369 2017-10-12 Pedro Alves <palves@redhat.com>
4370
4371 * gdb.base/auvx.exp (coredir): Update comment.
4372 (top level) <core_works>: Use "set cwd" command instead of "cd"
4373 command.
4374
4375 2017-10-12 Pedro Alves <palves@redhat.com>
4376 Simon Marchi <simon.marchi@polymtl.ca>
4377
4378 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4379 target boards.
4380
4381 2017-10-12 Pedro Alves <palves@redhat.com>
4382 Simon Marchi <simon.marchi@polymtl.ca>
4383
4384 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4385 Instead skip if there's any gdb_protocol set.
4386
4387 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4388 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4391
4392 2017-10-12 Pedro Alves <palves@redhat.com>
4393 Simon Marchi <simon.marchi@polymtl.ca>
4394
4395 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4396 instead of on dejagnu remote boards.
4397
4398 2017-10-12 Pedro Alves <palves@redhat.com>
4399 Simon Marchi <simon.marchi@polymtl.ca>
4400
4401 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4402 checks. Use build_executable + clean_restart instead of
4403 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4404 of enabling non-stop after starting gdb.
4405
4406 2017-10-12 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4409 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4410 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4411 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4412
4413 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4414
4415 * gdb.arch/arc-tdesc-cpu.exp: New file.
4416 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4417
4418 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4419
4420 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4421
4422 2017-10-10 Pedro Alves <palves@redhat.com>
4423
4424 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4425 expect CLI output.
4426
4427 2017-10-10 Pedro Alves <palves@redhat.com>
4428
4429 * lib/selftest-support.exp (selftest_setup): Update for
4430 captured_command_loop's prototype change.
4431
4432 2017-10-09 Pedro Alves <palves@redhat.com>
4433
4434 Test both arch1=>arch2 and arch2=>arch1.
4435
4436 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4437 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4438 factored out to...
4439 (append_arch1_options, append_arch2_options, append_arch_options)
4440 (build_executables): New procedures.
4441 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4442 local.
4443 (top level): Add new 'first_arch' testing axis.
4444
4445 2017-10-09 Pedro Alves <palves@redhat.com>
4446
4447 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4448 (barrier): New.
4449 (thread_start, all_started): New functions.
4450 (main): Spawn new thread and wait until it is scheduled.
4451 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4452 option.
4453 (do_test): Add 'selected_thread' parameter. Run to all_started
4454 instead of main. Explicitly set the breakpoint at main. Switch
4455 to the SELECTED_THREAD thread.
4456 (top level): Test handling the exec event with either the main
4457 thread or the second thread selected.
4458
4459 2017-10-09 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4462 logic. Move STOP marker after the value checks.
4463 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4464 regexp.
4465
4466 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4467
4468 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4469
4470 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4471
4472 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4473 integer-to-dfp conversion.
4474 * gdb.base/dfp-test.exp: Likewise.
4475
4476 2017-10-04 Pedro Alves <palves@redhat.com>
4477
4478 * gdb.multi/hangout.c: Include <unistd.h>.
4479 (hangout_loop): New function.
4480 (main): Call alarm. Call hangout_loop in a loop.
4481 * gdb.multi/hello.c: Include <unistd.h>.
4482 (hello_loop): New function.
4483 (main): Call alarm. Call hangout_loop in a loop.
4484 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4485 inferior with the other selected.
4486
4487 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4488
4489 * gdb.mi/list-thread-groups-available.exp: New file.
4490 * gdb.mi/list-thread-groups-available.c: New file.
4491
4492 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4493
4494 * gdb.base/set-cwd.exp: Make it available on
4495 native-extended-gdbserver.
4496
4497 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4498
4499 * gdb.base/set-cwd.c: New file.
4500 * gdb.base/set-cwd.exp: Likewise.
4501
4502 2017-10-02 Tom Tromey <tom@tromey.com>
4503
4504 PR rust/22236:
4505 * gdb.rust/simple.rs (main): New variable "fslice".
4506 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4507
4508 2017-10-02 Tom Tromey <tom@tromey.com>
4509
4510 * gdb.rust/simple.exp: Test ptype of a slice.
4511
4512 2017-10-02 Tom Tromey <tom@tromey.com>
4513
4514 * gdb.rust/simple.exp: Test index of slice.
4515
4516 2017-09-27 Tom Tromey <tom@tromey.com>
4517
4518 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4519
4520 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4521 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.base/compare-sections.exp (get value of read-only section): Read
4524 as unsigned value.
4525 (corrupt read-only section): Likewise and don't set written if patching
4526 failed.
4527
4528 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4529
4530 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4531 files.
4532
4533 2017-09-20 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4536 symbol names in gdb's output.
4537 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4538
4539 2017-09-20 Pedro Alves <palves@redhat.com>
4540
4541 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4542 Rename to ...
4543 (test_list_ambiguous_symbol): ... this and add a symbol name
4544 parameter. Adjust.
4545 (test_list_ambiguous_function): Reimplement on top of
4546 test_list_ambiguous_symbol and also test listing ambiguous
4547 variables.
4548 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4549 (ambiguous_fun): ... this.
4550 (ambiguous_var): New.
4551 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4552 (ambiguous_fun): ... this.
4553 (ambiguous_var): New.
4554
4555 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4556
4557 * gdb.base/starti.c: New file.
4558 * gdb.base/starti.exp: New file.
4559 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4560
4561 2017-09-14 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4564 (top level): Use it instead of runto.
4565
4566 2017-09-11 Tom Tromey <tom@tromey.com>
4567
4568 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4569
4570 2017-09-11 Tom Tromey <tom@tromey.com>
4571
4572 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4573 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4574
4575 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4576
4577 * gdb.fortran/printing-types.exp: New file.
4578 * gdb.fortran/printing-types.exp: New file.
4579
4580 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4581
4582 * gdb.fortran/vla-ptype.exp: Fix typos.
4583 * gdb.fortran/vla-value.exp: Same.
4584
4585 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4586
4587 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4588 * gdb.mi/mi-var-child-f.exp: Likewise.
4589 * gdb.mi/mi-vla-fortran.exp: Likewise.
4590
4591 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4592 Christoph Weinmann <christoph.t.weinmann@intel.com>
4593 Bernhard Heckel <bernhard.heckel@intel.com>
4594
4595 * gdb.fortran/ptr-indentation.f90: New file.
4596 * gdb.fortran/ptr-indentation.exp: New file.
4597
4598 2017-09-05 Tom Tromey <tom@tromey.com>
4599
4600 PR gdb/22010:
4601 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4602
4603 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4604
4605 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4606
4607 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4608
4609 * gdb.threads/tls-nodebug-pie.c: New file.
4610 * gdb.threads/tls-nodebug-pie.exp: New file.
4611
4612 2017-09-05 Tom Tromey <tom@tromey.com>
4613
4614 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4615 for rust.
4616
4617 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4618
4619 * gdb.multi/multi-arch-exec.exp: Test with different
4620 "follow-exec-mode" settings.
4621 (do_test): New procedure.
4622
4623 2017-09-04 Pedro Alves <palves@redhat.com>
4624
4625 * gdb.base/func-static.c (S::method const, S::method volatile)
4626 (S::method volatile const): New methods.
4627 (c_s, v_s, cv_s): New instances.
4628 (main): Call method() on them.
4629 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4630 (cannot_resolve): New procedure.
4631 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4632 print-quote-unquoted columns.
4633 (do_test): Test printing each scope too.
4634
4635 2017-09-04 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.base/local-static.exp: Also test with
4638 class::method::variable wholly quoted.
4639 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4640
4641 2017-09-04 Pedro Alves <palves@redhat.com>
4642
4643 * gdb.base/local-static.c: New.
4644 * gdb.base/local-static.cc: New.
4645 * gdb.base/local-static.exp: New.
4646
4647 2017-09-04 Pedro Alves <palves@redhat.com>
4648
4649 * gdb.asm/asm-source.exp: Add casts to int.
4650 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4651 (dataglobal64_1, dataglobal64_2): New globals.
4652 * gdb.base/nodebug.exp: Test different expressions involving the
4653 new globals, with print, whatis and ptype. Add casts to int.
4654 * gdb.base/solib-display.exp: Add casts to int.
4655 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4656 * gdb.cp/m-static.exp: Add cast to int.
4657 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4658 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4659 tls variable with no debug info without a cast. Test with a cast
4660 to int too.
4661 * gdb.trace/entry-values.exp: Add casts.
4662
4663 2017-09-04 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.base/nodebug.exp: Test that ptype's error about functions
4666 with unknown return type includes the function name too.
4667
4668 2017-09-04 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4671 return type of munmap in infcall.
4672 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4673 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4674 type of ftell in infcall.
4675 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4676 type of getpid in infcall.
4677 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4678 infcall.
4679 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4680 Bail on failure to extract the pid.
4681 * gdb.base/nodebug.c: #include <stdint.h>.
4682 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4683 New functions.
4684 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4685 Change expected output of print/whatis/ptype with functions with
4686 no debug info. Test all supported languages. Call
4687 test_call_promotion.
4688 * gdb.compile/compile.exp: Adjust expected output to expect
4689 warning.
4690 * gdb.threads/siginfo-threads.exp: Likewise.
4691
4692 2017-09-04 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4695 "prototypes". Test calling float functions via prototyped and
4696 unprototyped function pointers.
4697 (perform_all_tests): New parameter "prototypes". Pass it down.
4698 (top level): Pass down "prototypes" parameter to
4699 perform_all_tests.
4700
4701 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4702
4703 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4704 Test with nested loops.
4705
4706 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4707
4708 * gdb.base/commands.exp: Call the new procedures.
4709 (loop_break_test, loop_continue_test): New procedures.
4710
4711 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4712
4713 * gdb.base/commands.exp: Call new procedure.
4714 (define_if_without_arg_test): New procedure.
4715
4716 2017-09-04 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.base/list-ambiguous.exp: New file.
4719 * gdb.base/list-ambiguous0.c: New file.
4720 * gdb.base/list-ambiguous1.c: New file.
4721 * gdb.base/list.exp (test_list_range): Adjust expected output.
4722
4723 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4724
4725 * gdb.base/share-env-with-gdbserver.c: New file.
4726 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4727
4728 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4729
4730 * gdb.base/commands.exp (gdbvar_simple_if_test,
4731 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4732 progvar_simple_if_test, progvar_simple_while_test,
4733 progvar_complex_if_while_test, user_defined_command_test,
4734 user_defined_command_args_eval,
4735 user_defined_command_args_stack_test,
4736 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4737 temporary_breakpoint_commands,
4738 gdb_test_no_prompt, redefine_hook_test,
4739 redefine_backtrace_test): Remove "global gdb_prompt".
4740
4741 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4742
4743 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4744 New proc, call it from toplevel.
4745
4746 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4747
4748 PR remote/21852
4749 * gdb.server/normal.c: New file, copied from gdb.base.
4750 * gdb.server/run-without-local-binary.exp: New file.
4751
4752 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4753
4754 * gdb.arch/sparc64-adi.exp: New file.
4755 * gdb.arch/sparc64-adi.c: New file.
4756
4757 2017-08-22 Pedro Alves <palves@redhat.com>
4758
4759 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4760 (top level): Add "list all overloads" tests.
4761
4762 2017-08-22 Tom Tromey <tom@tromey.com>
4763
4764 * gdb.gdb/xfullpath.exp: Remove.
4765
4766 2017-08-21 Pedro Alves <palves@redhat.com>
4767
4768 PR gdb/19487
4769 * gdb.base/symbol-alias.c: New.
4770 * gdb.base/symbol-alias2.c: New.
4771 * gdb.base/symbol-alias.exp: New.
4772
4773 2017-08-21 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/dfp-test.c
4776 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4777 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4778 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4779 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4780 * gdb.base/whatis-ptype-typedefs.c: New.
4781 * gdb.base/whatis-ptype-typedefs.exp: New.
4782 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4783 (an_int, an_int_type, an_int_type2): New globals.
4784 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4785 involving typedefs and cast expressions.
4786 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4787 (lookup_typedefs_function): New.
4788 (typedefs_pretty_printers_dict): New.
4789 (top level): Register lookup_typedefs_function in
4790 gdb.pretty_printers.
4791
4792 2017-08-18 Yao Qi <yao.qi@linaro.org>
4793
4794 * gdb.server/unittest.exp: New.
4795
4796 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4797
4798 PR gdb/21954
4799 * gdb.base/environ.exp: Add test to check if 'unset environment'
4800 works.
4801
4802 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4803
4804 * lib/gdb.exp (universal_compile_options): New caching proc.
4805 (gdb_compile): Suppress GCC's coloring of messages.
4806
4807 2017-08-14 Tom Tromey <tom@tromey.com>
4808
4809 PR gdb/21675:
4810 * gdb.base/printcmds.exp (test_radices): New function.
4811 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4812 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4813 * lib/gdb.exp (get_integer_valueof): Use p/d.
4814
4815 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4816
4817 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4818 characters.
4819
4820 2017-08-05 Tom Tromey <tom@tromey.com>
4821
4822 * gdb.rust/simple.exp: Allow String to appear in a different
4823 namespace.
4824
4825 2017-07-26 Yao Qi <yao.qi@linaro.org>
4826
4827 * gdb.gdb/unittest.exp: Invoke command
4828 "maintenance check xml-descriptions".
4829
4830 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4831
4832 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4833 calling context.
4834 (hex128): Drop erroneous calculation of parameters.
4835
4836 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4837
4838 * gdb.python/py-unwind.exp: Disable stack protection when
4839 building test file.
4840
4841 2017-07-20 Pedro Alves <palves@redhat.com>
4842
4843 * gdb.base/default.exp (set language): Adjust expected output.
4844
4845 2017-07-20 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4848 (test_minsym): ... this, and make static.
4849 (get_pck__foo__bar__minsym): Rename to ...
4850 (get_test_minsym): ... this.
4851 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4852 symbol names and comments.
4853 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4854 (get_test_minsym): ... this.
4855 (pck__foo__bar__minsym__2): Rename to ...
4856 (test_minsym): ... this.
4857 (main): Adjust.
4858
4859 2017-07-17 Pedro Alves <palves@redhat.com>
4860
4861 * gdb.base/completion.exp: Adjust expected output.
4862 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4863 the completer works.
4864
4865 2017-07-17 Pedro Alves <palves@redhat.com>
4866
4867 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4868
4869 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4870
4871 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4872
4873 2017-07-14 Tom Tromey <tom@tromey.com>
4874
4875 PR rust/21764:
4876 * gdb.rust/simple.exp: Add tests.
4877
4878 2017-07-14 Tom Tromey <tom@tromey.com>
4879
4880 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4881
4882 2017-07-14 Pedro Alves <palves@redhat.com>
4883
4884 * gdb.linespec/base/one/thefile.cc (z1): New function.
4885 * gdb.linespec/base/two/thefile.cc (z2): New function.
4886 * gdb.linespec/linespec.exp: Add tests.
4887
4888 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4889
4890 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4891 to mi_create_breakpoint.
4892
4893 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4894
4895 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4896 mi_create_breakpoint.
4897
4898 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4899
4900 * gdb.dlang/demangle.exp: Update for demangling changes.
4901
4902 2017-07-09 Tom Tromey <tom@tromey.com>
4903
4904 * gdb.dwarf2/shortpiece.exp: New file.
4905
4906 2017-07-06 David Blaikie <dblaikie@gmail.com>
4907
4908 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4909 built from fissiont-multi-cu{1,2}.c.
4910 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4911 except putting 'main' and 'func' in separate CUs in the same DWO file.
4912 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4913 test.
4914 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4915 test.
4916
4917 2017-07-06 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.python/py-unwind.exp: Test flushregs.
4920
4921 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4922
4923 PR cli/21688
4924 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4925 tests for alias commands and trailing whitespace.
4926
4927 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4928
4929 PR cli/21688
4930 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4931 procedure. Call it.
4932
4933 2017-06-29 Pedro Alves <palves@redhat.com>
4934
4935 * gdb.base/printcmds.exp: Add tests.
4936
4937 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4938
4939 PR gdb/21337
4940 * gdb.base/reread-readsym.exp: New file.
4941 * gdb.base/reread-readsym.c: New file.
4942
4943 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4944
4945 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4946 subpattern.
4947
4948 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4949
4950 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4951 extended mnemonic.
4952 * gdb.arch/powerpc-power9.s: Likewise.
4953
4954 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4955
4956 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4957 on 32-bit x86 targets. Exploit is_*_target macros where
4958 appropriate.
4959
4960 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4961
4962 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4963 register pieces.
4964
4965 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4966
4967 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4968 located in one or more DWARF pieces.
4969
4970 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4971
4972 * lib/gdb.exp (get_endianness): New proc.
4973 * gdb.arch/aarch64-fp.exp: Use it.
4974 * gdb.arch/altivec-regs.exp: Likewise.
4975 * gdb.arch/e500-regs.exp: Likewise.
4976 * gdb.arch/vsx-regs.exp: Likewise.
4977 * gdb.base/dump.exp: Likewise.
4978 * gdb.base/funcargs.exp: Likewise.
4979 * gdb.base/gnu_vector.exp: Likewise.
4980 * gdb.dwarf2/formdata16.exp: Likewise.
4981 * gdb.dwarf2/implptrpiece.exp: Likewise.
4982 * gdb.dwarf2/nonvar-access.exp: Likewise.
4983 * gdb.python/py-inferior.exp: Likewise.
4984 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4985
4986 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4987
4988 PR gdb/21226
4989 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4990 stack value pieces are taken from the LSB end.
4991
4992 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4993
4994 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4995 variable at nonzero offset.
4996
4997 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4998
4999 * gdb.dwarf2/var-access.c: New file.
5000 * gdb.dwarf2/var-access.exp: New test.
5001 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5002
5003 2017-06-12 Tom Tromey <tom@tromey.com>
5004
5005 * gdb.dwarf2/formdata16.exp: Add tests.
5006
5007 2017-06-12 Tom Tromey <tom@tromey.com>
5008
5009 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5010
5011 2017-06-12 Tom Tromey <tom@tromey.com>
5012
5013 PR exp/16225:
5014 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5015 * gdb.arch/vsx-regs.exp: Update tests.
5016 * gdb.arch/s390-vregs.exp (hex128): New proc.
5017 Update test.
5018 * gdb.arch/altivec-regs.exp: Update tests.
5019
5020 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5021
5022 * gdb.base/startup-with-shell.c: New file.
5023 * gdb.base/startup-with-shell.exp: Likewise.
5024
5025 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5026
5027 * gdb.server/non-existing-program.exp: Update regex in order to
5028 reflect the fact that gdbserver is now using fork_inferior (with a
5029 shell) to startup the inferior.
5030
5031 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5032
5033 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5034 support function calls from GDB.
5035
5036 2017-05-21 Tom Tromey <tom@tromey.com>
5037
5038 PR rust/21466:
5039 * gdb.rust/unsized.exp: New file.
5040 * gdb.rust/unsized.rs: New file.
5041
5042 2017-05-19 Tom Tromey <tom@tromey.com>
5043
5044 PR rust/21484:
5045 * gdb.rust/watch.exp: New file.
5046 * gdb.rust/watch.rs: New file.
5047
5048 2017-05-18 Tom Tromey <tom@tromey.com>
5049
5050 * gdb.rust/simple.exp: Allow Box to be qualified.
5051
5052 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5053
5054 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5055
5056 2017-05-18 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.base/fileio.c (test_write, test_read, test_close)
5059 (test_fstat): Don't print 'ret' in the fail path.
5060
5061 2017-05-18 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5064 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5065 (test_system, test_rename, test_unlink, test_time): Change
5066 prototypes.
5067 * gdb.base/fileio.exp (stop_msg): Adjust.
5068
5069 2017-05-18 Pedro Alves <palves@redhat.com>
5070
5071 * gdb.base/fileio.c (null_str): New global.
5072 (test_stat): Use it.
5073 * gdb.base/fileio.exp: Remove nowarnings.
5074
5075 2017-05-17 Yao Qi <yao.qi@linaro.org>
5076
5077 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5078
5079 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5080
5081 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5082 argument command.
5083 (top-level): Invoke test_set_inferior_tty.
5084
5085 2017-05-04 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5088 Add parens to print call for Python 3.
5089
5090 2017-05-03 Keith Seitz <keiths@redhat.com>
5091
5092 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5093 (main): Call it.
5094
5095 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5096
5097 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5098 to prev and next.
5099
5100 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5101
5102 * gdb.python/py-record-btrace.exp: Remove test for
5103 gdb.BtraceInstruction.error.
5104
5105 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5106
5107 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5108
5109 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5110
5111 * gdb.python/py-record-btrace-threads.c: New file.
5112 * gdb.python/py-record-btrace-threads.exp: New file.
5113
5114 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5115
5116 PR testsuite/8595
5117 * gdb.base/environ.exp: Make test available in all architectures.
5118 Move bits related to "info program" testing to
5119 gdb.base/info-program.exp. Rewrite tests to use the two new
5120 procedures mentione below.
5121 (test_set_show_env_var) New procedure.
5122 (test_set_show_env_var_equal): Likewise.
5123 * gdb.base/info-program.exp: New file.
5124
5125 2017-04-27 Keith Seitz <keiths@redhat.com>
5126
5127 * gdb.cp/oranking.cc (test15): New function.
5128 (main): Call test15 and declare additional variables for testing.
5129 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5130 "p foo101('abc')" tests.
5131 Add tests for cv qualifier overloads.
5132 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5133 "lvalue reference overload" test.
5134 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5135 "print value of f1 on Child&& in f2" test.
5136
5137 2017-04-19 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5140 procedure.
5141 (top level): Call it.
5142 * lib/gdb.exp (gdb_define_cmd): New procedure.
5143
5144 2017-04-12 Pedro Alves <palves@redhat.com>
5145
5146 PR gdb/21323
5147 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5148 (wchar): New global.
5149 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5150 (do_test_wide_char, wide_char_types_no_program, top level): Add
5151 wchar_t testing.
5152
5153 2017-04-12 Pedro Alves <palves@redhat.com>
5154
5155 PR c++/21323
5156 * gdb.cp/wide_char_types.c: New file.
5157 * gdb.cp/wide_char_types.exp: New file.
5158
5159 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5160
5161 PR gdb/21352
5162 * gdb.trace/tsv.exp: Add test for "tsave -r".
5163
5164 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5165
5166 * gdb.dlang/watch-loc.c: New file.
5167 * gdb.dlang/watch-loc.exp: New file.
5168
5169 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5170
5171 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5172
5173 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5174
5175 * gdb.arch/arc-analyze-prologue.S: New file.
5176 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5177
5178 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5179
5180 * gdb.arch/arc-decode-insn.S: New file.
5181 * gdb.arch/arc-decode-insn.exp: Likewise.
5182
5183 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5184
5185 PR tdep/20928
5186 * gdb.arch/sparc64-regs.exp: New file.
5187 * gdb.arch/sparc64-regs.S: Likewise.
5188
5189 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5190
5191 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5192 and memory view on Python 3.
5193
5194 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5195 Keith Seitz <keiths@redhat.com>
5196
5197 PR gdb/14441
5198 * gdb.cp/demangle.exp: Add rvalue reference tests.
5199 * gdb.cp/rvalue-ref-casts.cc: New file.
5200 * gdb.cp/rvalue-ref-casts.exp: New file.
5201 * gdb.cp/rvalue-ref-overload.cc: New file.
5202 * gdb.cp/rvalue-ref-overload.exp: New file.
5203 * gdb.cp/rvalue-ref-params.cc: New file.
5204 * gdb.cp/rvalue-ref-params.exp: New file.
5205 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5206 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5207 * gdb.cp/rvalue-ref-types.cc: New file.
5208 * gdb.cp/rvalue-ref-types.exp: New file.
5209 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5210 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5211
5212 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5213
5214 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5215 New procedure.
5216
5217 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5218
5219 * lib/mi-support.exp (mi_gdb_test): Add additional message
5220 for unexpected output.
5221
5222 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5223
5224 * gdb.base/examine-backward.c (Barrier): New character array
5225 constant, to ensure that TestStrings is preceded by a string
5226 terminator.
5227
5228 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5229
5230 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5231 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5232 and implicit pointer into such a location.
5233
5234 2017-03-16 Doug Evans <dje@google.com>
5235
5236 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5237
5238 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5239
5240 * gdb.cp/m-static.exp: Fix expectation for prototype of
5241 test5.single_constructor and single_constructor::single_constructor.
5242
5243 2017-03-16 Doug Evans <dje@google.com>
5244
5245 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5246 * gdb.guile/scm-lazy-string.c: New file.
5247 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5248 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5249 for pointer, array, typedef lazy strings.
5250
5251 2017-03-16 Doug Evans <dje@google.com>
5252
5253 PR python/17728, python/18439, python/18779
5254 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5255 * gdb.python/py-lazy-string.c (pointer): New typedef.
5256 (main): New locals ptr, array, typedef_ptr.
5257 * gdb.python/py-value.exp: Move lazy string tests to ...
5258 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5259 array, typedef lazy strings.
5260
5261 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5262
5263 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5264 Add optional 'test' parameter.
5265
5266 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5267
5268 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5269 Skip for versions of DejaGnu < 1.5.
5270
5271 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5272
5273 * lib/gdb.exp (dejagnu_version): New proc.
5274 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5275 Use dejagnu_version.
5276
5277 2017-03-10 Keith Seitz <keiths@redhat.com>
5278
5279 PR c++/8128
5280 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5281 type from destructor regexps.
5282 Add a branch which actually passes the test.
5283 Adjust "ptype t5i" test names.
5284
5285 2017-03-08 Pedro Alves <palves@redhat.com>
5286
5287 * gdb.base/step-over-exit.exp: Add explicit test message.
5288
5289 2017-03-08 Pedro Alves <palves@redhat.com>
5290
5291 PR gdb/18360
5292 * gdb.threads/interrupt-while-step-over.c: New file.
5293 * gdb.threads/interrupt-while-step-over.exp: New file.
5294
5295 2017-03-08 Pedro Alves <palves@redhat.com>
5296
5297 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5298 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5299
5300 2017-03-08 Pedro Alves <palves@redhat.com>
5301
5302 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5303 PKRU as not supported as a PASS.
5304
5305 2017-03-08 Pedro Alves <palves@redhat.com>
5306
5307 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5308 prefix instead of $binfile1/$binfile2.
5309 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5310 in test message.
5311 * gdb.python/py-completion.exp: Use "load python file" as test
5312 messages instead of unstable path names.
5313
5314 2017-03-08 Pedro Alves <palves@redhat.com>
5315 Jan Kratochvil <jan.kratochvil@redhat.com>
5316
5317 PR cli/21218
5318 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5319 New proc.
5320 (top level): Call it.
5321
5322 2017-03-08 Pedro Alves <palves@redhat.com>
5323
5324 PR tui/21216
5325 * gdb.tui/tui-nl-filtered-output.exp: New file.
5326
5327 2017-03-08 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.base/completion.exp: Move TUI completion tests to ...
5330 * gdb.tui/completion.exp: ... this new file.
5331
5332 2017-03-08 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.base/tui-disasm-long-lines.c,
5335 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5336 gdb.base/tui-layout.exp: Move to ...
5337 * gdb.tui/: ... this new directory.
5338
5339 2017-03-07 Pedro Alves <palves@redhat.com>
5340
5341 * gdb.base/tui-layout.c: New file.
5342 * gdb.base/tui-layout.exp: New file.
5343
5344 2017-03-07 Pedro Alves <palves@redhat.com>
5345
5346 * gdb.base/tui-layout.c: Rename to ...
5347 * gdb.base/tui-disasm-long-lines.c: ... this.
5348 * gdb.base/tui-layout.exp: Rename to ...
5349 * gdb.base/tui-disasm-long-lines.exp: ... this.
5350
5351 2017-03-07 Pedro Alves <palves@redhat.com>
5352
5353 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5354
5355 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5356
5357 * i386-mpx-call.c: New file.
5358 * i386-mpx-call.exp: New file.
5359
5360 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5361
5362 * gdb.arch/powerpc-power.exp: Delete test.
5363 * gdb.arch/powerpc-power.s: Likewise.
5364 * gdb.disasm/disassembler-options.exp: New test.
5365 * gdb.arch/powerpc-altivec.exp: Likewise.
5366 * gdb.arch/powerpc-altivec.s: Likewise.
5367 * gdb.arch/powerpc-altivec2.exp: Likewise.
5368 * gdb.arch/powerpc-altivec2.s: Likewise.
5369 * gdb.arch/powerpc-altivec3.exp: Likewise.
5370 * gdb.arch/powerpc-altivec3.s: Likewise.
5371 * gdb.arch/powerpc-power7.exp: Likewise.
5372 * gdb.arch/powerpc-power7.s: Likewise.
5373 * gdb.arch/powerpc-power8.exp: Likewise.
5374 * gdb.arch/powerpc-power8.s: Likewise.
5375 * gdb.arch/powerpc-power9.exp: Likewise.
5376 * gdb.arch/powerpc-power9.s: Likewise.
5377 * gdb.arch/powerpc-vsx.exp: Likewise.
5378 * gdb.arch/powerpc-vsx.s: Likewise.
5379 * gdb.arch/powerpc-vsx2.exp: Likewise.
5380 * gdb.arch/powerpc-vsx2.s: Likewise.
5381 * gdb.arch/powerpc-vsx3.exp: Likewise.
5382 * gdb.arch/powerpc-vsx3.s: Likewise.
5383 * gdb.arch/arm-disassembler-options.exp: Likewise.
5384 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5385 * gdb.arch/s390-disassembler-options.exp: Likewise.
5386
5387 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5388
5389 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5390 (check_supported_features): ... this. Changed return type to void.
5391 (supports_rdseed): New static global.
5392 (rdseed): Check supports_rdseed.
5393 (initialize): Call check_supported_features.
5394
5395 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5396
5397 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5398 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5399 and lqarx/stqcx.
5400 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5401 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5402
5403 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5404
5405 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5406 uppercase.
5407
5408 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5409
5410 * gdb.dwarf2/formdata16.c: New file.
5411 * gdb.dwarf2/formdata16.exp: New file.
5412 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5413
5414 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5417 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5418 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5419 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5420 DW_AT_GNU_*.
5421
5422 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5423
5424 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5425
5426 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5427
5428 PR gdb/21164
5429 * gdb.base/maint.exp: Add testcases for when the commands do
5430 not have arguments.
5431
5432 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5433
5434 * gdb.cp/chained-calls.exp: Use p instead of P.
5435
5436 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5437
5438 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5439 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5440
5441 2017-02-14 Tom Tromey <tom@tromey.com>
5442
5443 PR python/13598:
5444 * gdb.python/py-events.exp: Add before_prompt event tests.
5445
5446 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5447
5448 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5449
5450 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5451
5452 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5453 (main): Call my_unique_function_name.
5454 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5455 completion of patterns with a single match.
5456 Add missing -re switches to gdb_test_multiple calls.
5457
5458 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5459
5460 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5461 return if core file is not recognized.
5462
5463 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5464
5465 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5466 and extra UIs.
5467
5468 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5469
5470 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5471 proc_with_prefix.
5472
5473 2017-02-10 Tom Tromey <tom@tromey.com>
5474
5475 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5476
5477 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5478
5479 PR gdb/21122
5480 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5481
5482 2017-02-08 Jerome Guitton <guitton@adacore.com>
5483
5484 * gdb.base/define.exp: Add test for command abbreviations
5485 in define.
5486
5487 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5488
5489 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5490 * gdb.reverse/insn-reverse-x86.c: New file.
5491
5492 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5493
5494 PR tdep/20936
5495 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5496
5497 2017-02-03 Tom Tromey <tom@tromey.com>
5498
5499 PR rust/21097:
5500 * gdb.rust/simple.exp: Add new tests.
5501
5502 2017-02-02 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5505 tests.
5506
5507 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5508
5509 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5510 taking a 2-byte value out of a 4-byte DWARF implicit value on
5511 big-endian targets.
5512 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5513 logic. Add test cases for DW_OP_implicit.
5514
5515 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5516
5517 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5518
5519 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5520
5521 * gdb.btrace/enable.exp: Call gdb_exit before
5522 skip_gdbserver_tests.
5523
5524 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5525
5526 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5527 GDBFLAGS.
5528
5529 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5530
5531 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5532 the test is skipped.
5533 * gdb.btrace/data.exp: Likewise.
5534 * gdb.btrace/delta.exp: Likewise.
5535 * gdb.btrace/dlopen.exp: Likewise.
5536 * gdb.btrace/enable-running.exp: Likewise.
5537 * gdb.btrace/enable.exp: Likewise.
5538 * gdb.btrace/exception.exp: Likewise.
5539 * gdb.btrace/function_call_history.exp: Likewise.
5540 * gdb.btrace/gcore.exp: Likewise.
5541 * gdb.btrace/instruction_history.exp: Likewise.
5542 * gdb.btrace/multi-thread-step.exp: Likewise.
5543 * gdb.btrace/nohist.exp: Likewise.
5544 * gdb.btrace/non-stop.exp: Likewise.
5545 * gdb.btrace/reconnect.exp: Likewise.
5546 * gdb.btrace/record_goto-step.exp: Likewise.
5547 * gdb.btrace/record_goto.exp: Likewise.
5548 * gdb.btrace/rn-dl-bind.exp: Likewise.
5549 * gdb.btrace/segv.exp: Likewise.
5550 * gdb.btrace/step.exp: Likewise.
5551 * gdb.btrace/stepi.exp: Likewise.
5552 * gdb.btrace/tailcall-only.exp: Likewise.
5553 * gdb.btrace/tailcall.exp: Likewise.
5554 * gdb.btrace/tsx.exp: Likewise.
5555 * gdb.btrace/unknown_functions.exp: Likewise.
5556 * gdb.btrace/vdso.exp: Likewise.
5557
5558 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5559
5560 * gdb.btrace/enable-running.c: New.
5561 * gdb.btrace/enable-running.exp: New.
5562
5563 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5564
5565 * gdb.arch/amd64-gs_base.c: New file.
5566 * gdb.arch/amd64-gs_base.exp: New file.
5567
5568 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5569
5570 * lib/memory.exp: Remove spurious empty newlines.
5571
5572 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5573
5574 * gdb.python/py-bad-printers.exp: Load python file using "source".
5575 * gdb.python/py-events.exp: Likewise.
5576 * gdb.python/py-evsignal.exp: Likewise.
5577 * gdb.python/py-evthreads.exp: Likewise.
5578 * gdb.python/py-frame-args.exp: Likewise.
5579 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5580 * gdb.python/py-framefilter-mi.exp: Likewise.
5581 * gdb.python/py-framefilter.exp: Likewise.
5582 * gdb.python/py-mi.exp: Likewise.
5583 * gdb.python/py-pp-maint.exp: Likewise.
5584 * gdb.python/py-pp-registration.exp: Likewise.
5585 * gdb.python/py-prettyprint.exp: Likewise.
5586 (run_lang_tests): Likewise.
5587 * gdb.python/py-typeprint.exp: Likewise.
5588
5589 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5590
5591 * lib/memory.exp: New file.
5592 * lib/gdb.exp: Load memory.exp.
5593 * gdb.base/memattr.exp (delete_memory): Move proc to
5594 lib/memory.exp and rename to delete_memory_regions.
5595 Replace delete_memory with delete_memory_regions.
5596 Cleanup memory regions before tests.
5597 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5598 before tests.
5599
5600 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5601
5602 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5603 files.
5604 (initialize): New function conditionally defined.
5605 (testcases): Move within conditional block.
5606 (main): Call initialize.
5607 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5608 of gdb.reverse/insn-reverse.c.
5609 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5610 gdb.reverse/insn-reverse.c.
5611
5612 2017-01-26 Yao Qi <yao.qi@linaro.org>
5613
5614 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5615 disassemble on address 0.
5616
5617 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5618 Yao Qi <yao.qi@linaro.org>
5619
5620 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5621 * gdb.dwarf2/implptr-64bit.S: Remove.
5622 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5623 variables in caller's context. Add DW_OP_implicit_value.
5624
5625 2017-01-25 Yao Qi <yao.qi@linaro.org>
5626
5627 * lib/dwarf.exp (Dwarf::_location): Handle
5628 DW_OP_GNU_implicit_pointer with proper size.
5629
5630 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5631
5632 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5633 and add untested calls.
5634
5635 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5636
5637 * gdb.python/python.exp: Check line number against what GDB thinks
5638 the line number is for func1.
5639
5640 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5641
5642 * gdb.dlang/debug-expr.exp: New file.
5643
5644 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5645
5646 Fix test names for the following files:
5647
5648 * gdb.ada/exec_changed.exp
5649 * gdb.ada/info_types.exp
5650 * gdb.arch/aarch64-atomic-inst.exp
5651 * gdb.arch/aarch64-fp.exp
5652 * gdb.arch/altivec-abi.exp
5653 * gdb.arch/altivec-regs.exp
5654 * gdb.arch/amd64-byte.exp
5655 * gdb.arch/amd64-disp-step.exp
5656 * gdb.arch/amd64-dword.exp
5657 * gdb.arch/amd64-entry-value-inline.exp
5658 * gdb.arch/amd64-entry-value-param.exp
5659 * gdb.arch/amd64-entry-value-paramref.exp
5660 * gdb.arch/amd64-entry-value.exp
5661 * gdb.arch/amd64-i386-address.exp
5662 * gdb.arch/amd64-invalid-stack-middle.exp
5663 * gdb.arch/amd64-invalid-stack-top.exp
5664 * gdb.arch/amd64-optimout-repeat.exp
5665 * gdb.arch/amd64-prologue-skip.exp
5666 * gdb.arch/amd64-prologue-xmm.exp
5667 * gdb.arch/amd64-stap-special-operands.exp
5668 * gdb.arch/amd64-stap-wrong-subexp.exp
5669 * gdb.arch/amd64-tailcall-cxx.exp
5670 * gdb.arch/amd64-tailcall-noret.exp
5671 * gdb.arch/amd64-tailcall-ret.exp
5672 * gdb.arch/amd64-tailcall-self.exp
5673 * gdb.arch/amd64-word.exp
5674 * gdb.arch/arm-bl-branch-dest.exp
5675 * gdb.arch/arm-disp-step.exp
5676 * gdb.arch/arm-neon.exp
5677 * gdb.arch/arm-single-step-kernel-helper.exp
5678 * gdb.arch/avr-flash-qualifier.exp
5679 * gdb.arch/disp-step-insn-reloc.exp
5680 * gdb.arch/e500-abi.exp
5681 * gdb.arch/e500-regs.exp
5682 * gdb.arch/ftrace-insn-reloc.exp
5683 * gdb.arch/i386-avx512.exp
5684 * gdb.arch/i386-bp_permanent.exp
5685 * gdb.arch/i386-byte.exp
5686 * gdb.arch/i386-cfi-notcurrent.exp
5687 * gdb.arch/i386-disp-step.exp
5688 * gdb.arch/i386-dr3-watch.exp
5689 * gdb.arch/i386-float.exp
5690 * gdb.arch/i386-gnu-cfi.exp
5691 * gdb.arch/i386-mpx-map.exp
5692 * gdb.arch/i386-mpx-sigsegv.exp
5693 * gdb.arch/i386-mpx-simple_segv.exp
5694 * gdb.arch/i386-mpx.exp
5695 * gdb.arch/i386-permbkpt.exp
5696 * gdb.arch/i386-prologue.exp
5697 * gdb.arch/i386-signal.exp
5698 * gdb.arch/i386-size-overlap.exp
5699 * gdb.arch/i386-unwind.exp
5700 * gdb.arch/i386-word.exp
5701 * gdb.arch/mips-fcr.exp
5702 * gdb.arch/powerpc-d128-regs.exp
5703 * gdb.arch/powerpc-stackless.exp
5704 * gdb.arch/ppc64-atomic-inst.exp
5705 * gdb.arch/s390-stackless.exp
5706 * gdb.arch/s390-tdbregs.exp
5707 * gdb.arch/s390-vregs.exp
5708 * gdb.arch/sparc-sysstep.exp
5709 * gdb.arch/thumb-bx-pc.exp
5710 * gdb.arch/thumb-singlestep.exp
5711 * gdb.arch/thumb2-it.exp
5712 * gdb.arch/vsx-regs.exp
5713 * gdb.asm/asm-source.exp
5714 * gdb.base/a2-run.exp
5715 * gdb.base/advance.exp
5716 * gdb.base/all-bin.exp
5717 * gdb.base/anon.exp
5718 * gdb.base/args.exp
5719 * gdb.base/arithmet.exp
5720 * gdb.base/async-shell.exp
5721 * gdb.base/async.exp
5722 * gdb.base/attach-pie-noexec.exp
5723 * gdb.base/attach-twice.exp
5724 * gdb.base/auto-load.exp
5725 * gdb.base/bang.exp
5726 * gdb.base/bitfields.exp
5727 * gdb.base/break-always.exp
5728 * gdb.base/break-caller-line.exp
5729 * gdb.base/break-entry.exp
5730 * gdb.base/break-inline.exp
5731 * gdb.base/break-on-linker-gcd-function.exp
5732 * gdb.base/break-probes.exp
5733 * gdb.base/break.exp
5734 * gdb.base/breakpoint-shadow.exp
5735 * gdb.base/call-ar-st.exp
5736 * gdb.base/call-sc.exp
5737 * gdb.base/call-signal-resume.exp
5738 * gdb.base/call-strs.exp
5739 * gdb.base/callfuncs.exp
5740 * gdb.base/catch-fork-static.exp
5741 * gdb.base/catch-gdb-caused-signals.exp
5742 * gdb.base/catch-load.exp
5743 * gdb.base/catch-signal-fork.exp
5744 * gdb.base/catch-signal.exp
5745 * gdb.base/catch-syscall.exp
5746 * gdb.base/charset.exp
5747 * gdb.base/checkpoint.exp
5748 * gdb.base/chng-syms.exp
5749 * gdb.base/code-expr.exp
5750 * gdb.base/code_elim.exp
5751 * gdb.base/commands.exp
5752 * gdb.base/completion.exp
5753 * gdb.base/complex.exp
5754 * gdb.base/cond-expr.exp
5755 * gdb.base/condbreak.exp
5756 * gdb.base/consecutive.exp
5757 * gdb.base/continue-all-already-running.exp
5758 * gdb.base/coredump-filter.exp
5759 * gdb.base/corefile.exp
5760 * gdb.base/dbx.exp
5761 * gdb.base/debug-expr.exp
5762 * gdb.base/define.exp
5763 * gdb.base/del.exp
5764 * gdb.base/disabled-location.exp
5765 * gdb.base/disasm-end-cu.exp
5766 * gdb.base/disasm-optim.exp
5767 * gdb.base/display.exp
5768 * gdb.base/duplicate-bp.exp
5769 * gdb.base/ena-dis-br.exp
5770 * gdb.base/ending-run.exp
5771 * gdb.base/enumval.exp
5772 * gdb.base/environ.exp
5773 * gdb.base/eu-strip-infcall.exp
5774 * gdb.base/eval-avoid-side-effects.exp
5775 * gdb.base/eval-skip.exp
5776 * gdb.base/exitsignal.exp
5777 * gdb.base/expand-psymtabs.exp
5778 * gdb.base/filesym.exp
5779 * gdb.base/find-unmapped.exp
5780 * gdb.base/finish.exp
5781 * gdb.base/float.exp
5782 * gdb.base/foll-exec-mode.exp
5783 * gdb.base/foll-exec.exp
5784 * gdb.base/foll-fork.exp
5785 * gdb.base/fortran-sym-case.exp
5786 * gdb.base/freebpcmd.exp
5787 * gdb.base/func-ptr.exp
5788 * gdb.base/func-ptrs.exp
5789 * gdb.base/funcargs.exp
5790 * gdb.base/gcore-buffer-overflow.exp
5791 * gdb.base/gcore-relro-pie.exp
5792 * gdb.base/gcore-relro.exp
5793 * gdb.base/gcore.exp
5794 * gdb.base/gdb1090.exp
5795 * gdb.base/gdb11530.exp
5796 * gdb.base/gdb11531.exp
5797 * gdb.base/gdb1821.exp
5798 * gdb.base/gdbindex-stabs.exp
5799 * gdb.base/gdbvars.exp
5800 * gdb.base/hbreak.exp
5801 * gdb.base/hbreak2.exp
5802 * gdb.base/included.exp
5803 * gdb.base/infcall-input.exp
5804 * gdb.base/inferior-died.exp
5805 * gdb.base/infnan.exp
5806 * gdb.base/info-macros.exp
5807 * gdb.base/info-os.exp
5808 * gdb.base/info-proc.exp
5809 * gdb.base/info-shared.exp
5810 * gdb.base/info-target.exp
5811 * gdb.base/infoline.exp
5812 * gdb.base/interp.exp
5813 * gdb.base/interrupt.exp
5814 * gdb.base/jit-reader.exp
5815 * gdb.base/jit-simple.exp
5816 * gdb.base/kill-after-signal.exp
5817 * gdb.base/kill-detach-inferiors-cmd.exp
5818 * gdb.base/label.exp
5819 * gdb.base/langs.exp
5820 * gdb.base/ldbl_e308.exp
5821 * gdb.base/line-symtabs.exp
5822 * gdb.base/linespecs.exp
5823 * gdb.base/list.exp
5824 * gdb.base/long_long.exp
5825 * gdb.base/longest-types.exp
5826 * gdb.base/maint.exp
5827 * gdb.base/max-value-size.exp
5828 * gdb.base/memattr.exp
5829 * gdb.base/mips_pro.exp
5830 * gdb.base/morestack.exp
5831 * gdb.base/moribund-step.exp
5832 * gdb.base/multi-forks.exp
5833 * gdb.base/nested-addr.exp
5834 * gdb.base/nextoverexit.exp
5835 * gdb.base/noreturn-finish.exp
5836 * gdb.base/noreturn-return.exp
5837 * gdb.base/nostdlib.exp
5838 * gdb.base/offsets.exp
5839 * gdb.base/opaque.exp
5840 * gdb.base/pc-fp.exp
5841 * gdb.base/permissions.exp
5842 * gdb.base/print-symbol-loading.exp
5843 * gdb.base/prologue-include.exp
5844 * gdb.base/psymtab.exp
5845 * gdb.base/ptype.exp
5846 * gdb.base/random-signal.exp
5847 * gdb.base/randomize.exp
5848 * gdb.base/range-stepping.exp
5849 * gdb.base/readline-ask.exp
5850 * gdb.base/recpar.exp
5851 * gdb.base/recurse.exp
5852 * gdb.base/relational.exp
5853 * gdb.base/restore.exp
5854 * gdb.base/return-nodebug.exp
5855 * gdb.base/return.exp
5856 * gdb.base/run-after-attach.exp
5857 * gdb.base/save-bp.exp
5858 * gdb.base/scope.exp
5859 * gdb.base/sect-cmd.exp
5860 * gdb.base/set-lang-auto.exp
5861 * gdb.base/set-noassign.exp
5862 * gdb.base/setvar.exp
5863 * gdb.base/sigall.exp
5864 * gdb.base/sigbpt.exp
5865 * gdb.base/siginfo-addr.exp
5866 * gdb.base/siginfo-infcall.exp
5867 * gdb.base/siginfo-obj.exp
5868 * gdb.base/siginfo.exp
5869 * gdb.base/signals-state-child.exp
5870 * gdb.base/signest.exp
5871 * gdb.base/sigstep.exp
5872 * gdb.base/sizeof.exp
5873 * gdb.base/skip.exp
5874 * gdb.base/solib-corrupted.exp
5875 * gdb.base/solib-nodir.exp
5876 * gdb.base/solib-search.exp
5877 * gdb.base/stack-checking.exp
5878 * gdb.base/stale-infcall.exp
5879 * gdb.base/stap-probe.exp
5880 * gdb.base/start.exp
5881 * gdb.base/step-break.exp
5882 * gdb.base/step-bt.exp
5883 * gdb.base/step-line.exp
5884 * gdb.base/step-over-exit.exp
5885 * gdb.base/step-over-syscall.exp
5886 * gdb.base/step-resume-infcall.exp
5887 * gdb.base/step-test.exp
5888 * gdb.base/store.exp
5889 * gdb.base/structs3.exp
5890 * gdb.base/sym-file.exp
5891 * gdb.base/symbol-without-target_section.exp
5892 * gdb.base/term.exp
5893 * gdb.base/testenv.exp
5894 * gdb.base/ui-redirect.exp
5895 * gdb.base/until.exp
5896 * gdb.base/unwindonsignal.exp
5897 * gdb.base/value-double-free.exp
5898 * gdb.base/vla-datatypes.exp
5899 * gdb.base/vla-ptr.exp
5900 * gdb.base/vla-sideeffect.exp
5901 * gdb.base/volatile.exp
5902 * gdb.base/watch-cond-infcall.exp
5903 * gdb.base/watch-cond.exp
5904 * gdb.base/watch-non-mem.exp
5905 * gdb.base/watch-read.exp
5906 * gdb.base/watch-vfork.exp
5907 * gdb.base/watchpoint-cond-gone.exp
5908 * gdb.base/watchpoint-delete.exp
5909 * gdb.base/watchpoint-hw-hit-once.exp
5910 * gdb.base/watchpoint-hw.exp
5911 * gdb.base/watchpoint-stops-at-right-insn.exp
5912 * gdb.base/watchpoints.exp
5913 * gdb.base/wchar.exp
5914 * gdb.base/whatis-exp.exp
5915 * gdb.btrace/buffer-size.exp
5916 * gdb.btrace/data.exp
5917 * gdb.btrace/delta.exp
5918 * gdb.btrace/dlopen.exp
5919 * gdb.btrace/enable.exp
5920 * gdb.btrace/exception.exp
5921 * gdb.btrace/function_call_history.exp
5922 * gdb.btrace/gcore.exp
5923 * gdb.btrace/instruction_history.exp
5924 * gdb.btrace/nohist.exp
5925 * gdb.btrace/reconnect.exp
5926 * gdb.btrace/record_goto-step.exp
5927 * gdb.btrace/record_goto.exp
5928 * gdb.btrace/rn-dl-bind.exp
5929 * gdb.btrace/segv.exp
5930 * gdb.btrace/step.exp
5931 * gdb.btrace/stepi.exp
5932 * gdb.btrace/tailcall-only.exp
5933 * gdb.btrace/tailcall.exp
5934 * gdb.btrace/tsx.exp
5935 * gdb.btrace/unknown_functions.exp
5936 * gdb.btrace/vdso.exp
5937 * gdb.compile/compile-ifunc.exp
5938 * gdb.compile/compile-ops.exp
5939 * gdb.compile/compile-print.exp
5940 * gdb.compile/compile-setjmp.exp
5941 * gdb.cp/abstract-origin.exp
5942 * gdb.cp/ambiguous.exp
5943 * gdb.cp/annota2.exp
5944 * gdb.cp/annota3.exp
5945 * gdb.cp/anon-ns.exp
5946 * gdb.cp/anon-struct.exp
5947 * gdb.cp/anon-union.exp
5948 * gdb.cp/arg-reference.exp
5949 * gdb.cp/baseenum.exp
5950 * gdb.cp/bool.exp
5951 * gdb.cp/breakpoint.exp
5952 * gdb.cp/bs15503.exp
5953 * gdb.cp/call-c.exp
5954 * gdb.cp/casts.exp
5955 * gdb.cp/chained-calls.exp
5956 * gdb.cp/class2.exp
5957 * gdb.cp/classes.exp
5958 * gdb.cp/cmpd-minsyms.exp
5959 * gdb.cp/converts.exp
5960 * gdb.cp/cp-relocate.exp
5961 * gdb.cp/cpcompletion.exp
5962 * gdb.cp/cpexprs.exp
5963 * gdb.cp/cplabel.exp
5964 * gdb.cp/cplusfuncs.exp
5965 * gdb.cp/cpsizeof.exp
5966 * gdb.cp/ctti.exp
5967 * gdb.cp/derivation.exp
5968 * gdb.cp/destrprint.exp
5969 * gdb.cp/dispcxx.exp
5970 * gdb.cp/enum-class.exp
5971 * gdb.cp/exception.exp
5972 * gdb.cp/exceptprint.exp
5973 * gdb.cp/expand-psymtabs-cxx.exp
5974 * gdb.cp/expand-sals.exp
5975 * gdb.cp/extern-c.exp
5976 * gdb.cp/filename.exp
5977 * gdb.cp/formatted-ref.exp
5978 * gdb.cp/fpointer.exp
5979 * gdb.cp/gdb1355.exp
5980 * gdb.cp/gdb2495.exp
5981 * gdb.cp/hang.exp
5982 * gdb.cp/impl-this.exp
5983 * gdb.cp/infcall-dlopen.exp
5984 * gdb.cp/inherit.exp
5985 * gdb.cp/iostream.exp
5986 * gdb.cp/koenig.exp
5987 * gdb.cp/local.exp
5988 * gdb.cp/m-data.exp
5989 * gdb.cp/m-static.exp
5990 * gdb.cp/mb-ctor.exp
5991 * gdb.cp/mb-inline.exp
5992 * gdb.cp/mb-templates.exp
5993 * gdb.cp/member-name.exp
5994 * gdb.cp/member-ptr.exp
5995 * gdb.cp/meth-typedefs.exp
5996 * gdb.cp/method.exp
5997 * gdb.cp/method2.exp
5998 * gdb.cp/minsym-fallback.exp
5999 * gdb.cp/misc.exp
6000 * gdb.cp/namelessclass.exp
6001 * gdb.cp/namespace-enum.exp
6002 * gdb.cp/namespace-nested-import.exp
6003 * gdb.cp/namespace.exp
6004 * gdb.cp/nextoverthrow.exp
6005 * gdb.cp/no-dmgl-verbose.exp
6006 * gdb.cp/non-trivial-retval.exp
6007 * gdb.cp/noparam.exp
6008 * gdb.cp/nsdecl.exp
6009 * gdb.cp/nsimport.exp
6010 * gdb.cp/nsnested.exp
6011 * gdb.cp/nsnoimports.exp
6012 * gdb.cp/nsrecurs.exp
6013 * gdb.cp/nsstress.exp
6014 * gdb.cp/nsusing.exp
6015 * gdb.cp/operator.exp
6016 * gdb.cp/oranking.exp
6017 * gdb.cp/overload-const.exp
6018 * gdb.cp/overload.exp
6019 * gdb.cp/ovldbreak.exp
6020 * gdb.cp/ovsrch.exp
6021 * gdb.cp/paren-type.exp
6022 * gdb.cp/parse-lang.exp
6023 * gdb.cp/pass-by-ref.exp
6024 * gdb.cp/pr-1023.exp
6025 * gdb.cp/pr-1210.exp
6026 * gdb.cp/pr-574.exp
6027 * gdb.cp/pr10687.exp
6028 * gdb.cp/pr12028.exp
6029 * gdb.cp/pr17132.exp
6030 * gdb.cp/pr17494.exp
6031 * gdb.cp/pr9067.exp
6032 * gdb.cp/pr9167.exp
6033 * gdb.cp/pr9631.exp
6034 * gdb.cp/printmethod.exp
6035 * gdb.cp/psmang.exp
6036 * gdb.cp/psymtab-parameter.exp
6037 * gdb.cp/ptype-cv-cp.exp
6038 * gdb.cp/ptype-flags.exp
6039 * gdb.cp/re-set-overloaded.exp
6040 * gdb.cp/ref-types.exp
6041 * gdb.cp/rtti.exp
6042 * gdb.cp/scope-err.exp
6043 * gdb.cp/shadow.exp
6044 * gdb.cp/smartp.exp
6045 * gdb.cp/static-method.exp
6046 * gdb.cp/static-print-quit.exp
6047 * gdb.cp/temargs.exp
6048 * gdb.cp/templates.exp
6049 * gdb.cp/try_catch.exp
6050 * gdb.cp/typedef-operator.exp
6051 * gdb.cp/typeid.exp
6052 * gdb.cp/userdef.exp
6053 * gdb.cp/using-crash.exp
6054 * gdb.cp/var-tag.exp
6055 * gdb.cp/virtbase.exp
6056 * gdb.cp/virtfunc.exp
6057 * gdb.cp/virtfunc2.exp
6058 * gdb.cp/vla-cxx.exp
6059 * gdb.disasm/t01_mov.exp
6060 * gdb.disasm/t02_mova.exp
6061 * gdb.disasm/t03_add.exp
6062 * gdb.disasm/t04_sub.exp
6063 * gdb.disasm/t05_cmp.exp
6064 * gdb.disasm/t06_ari2.exp
6065 * gdb.disasm/t07_ari3.exp
6066 * gdb.disasm/t08_or.exp
6067 * gdb.disasm/t09_xor.exp
6068 * gdb.disasm/t10_and.exp
6069 * gdb.disasm/t11_logs.exp
6070 * gdb.disasm/t12_bit.exp
6071 * gdb.disasm/t13_otr.exp
6072 * gdb.dlang/circular.exp
6073 * gdb.dwarf2/arr-stride.exp
6074 * gdb.dwarf2/arr-subrange.exp
6075 * gdb.dwarf2/atomic-type.exp
6076 * gdb.dwarf2/bad-regnum.exp
6077 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6078 * gdb.dwarf2/callframecfa.exp
6079 * gdb.dwarf2/clztest.exp
6080 * gdb.dwarf2/corrupt.exp
6081 * gdb.dwarf2/data-loc.exp
6082 * gdb.dwarf2/dup-psym.exp
6083 * gdb.dwarf2/dw2-anon-mptr.exp
6084 * gdb.dwarf2/dw2-anonymous-func.exp
6085 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6086 * gdb.dwarf2/dw2-bad-unresolved.exp
6087 * gdb.dwarf2/dw2-basic.exp
6088 * gdb.dwarf2/dw2-canonicalize-type.exp
6089 * gdb.dwarf2/dw2-case-insensitive.exp
6090 * gdb.dwarf2/dw2-common-block.exp
6091 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6092 * gdb.dwarf2/dw2-compressed.exp
6093 * gdb.dwarf2/dw2-const.exp
6094 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6095 * gdb.dwarf2/dw2-cu-size.exp
6096 * gdb.dwarf2/dw2-dup-frame.exp
6097 * gdb.dwarf2/dw2-entry-value.exp
6098 * gdb.dwarf2/dw2-icycle.exp
6099 * gdb.dwarf2/dw2-ifort-parameter.exp
6100 * gdb.dwarf2/dw2-inline-break.exp
6101 * gdb.dwarf2/dw2-inline-param.exp
6102 * gdb.dwarf2/dw2-intercu.exp
6103 * gdb.dwarf2/dw2-intermix.exp
6104 * gdb.dwarf2/dw2-lexical-block-bare.exp
6105 * gdb.dwarf2/dw2-linkage-name-trust.exp
6106 * gdb.dwarf2/dw2-minsym-in-cu.exp
6107 * gdb.dwarf2/dw2-noloc.exp
6108 * gdb.dwarf2/dw2-op-call.exp
6109 * gdb.dwarf2/dw2-op-out-param.exp
6110 * gdb.dwarf2/dw2-opt-structptr.exp
6111 * gdb.dwarf2/dw2-param-error.exp
6112 * gdb.dwarf2/dw2-producer.exp
6113 * gdb.dwarf2/dw2-ranges-base.exp
6114 * gdb.dwarf2/dw2-ref-missing-frame.exp
6115 * gdb.dwarf2/dw2-reg-undefined.exp
6116 * gdb.dwarf2/dw2-regno-invalid.exp
6117 * gdb.dwarf2/dw2-restore.exp
6118 * gdb.dwarf2/dw2-restrict.exp
6119 * gdb.dwarf2/dw2-single-line-discriminators.exp
6120 * gdb.dwarf2/dw2-strp.exp
6121 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6122 * gdb.dwarf2/dw2-unresolved.exp
6123 * gdb.dwarf2/dw2-var-zero-addr.exp
6124 * gdb.dwarf2/dw4-sig-types.exp
6125 * gdb.dwarf2/dwz.exp
6126 * gdb.dwarf2/dynarr-ptr.exp
6127 * gdb.dwarf2/enum-type.exp
6128 * gdb.dwarf2/gdb-index.exp
6129 * gdb.dwarf2/implptr-64bit.exp
6130 * gdb.dwarf2/implptr-optimized-out.exp
6131 * gdb.dwarf2/implptr.exp
6132 * gdb.dwarf2/implref-array.exp
6133 * gdb.dwarf2/implref-const.exp
6134 * gdb.dwarf2/implref-global.exp
6135 * gdb.dwarf2/implref-struct.exp
6136 * gdb.dwarf2/mac-fileno.exp
6137 * gdb.dwarf2/main-subprogram.exp
6138 * gdb.dwarf2/member-ptr-forwardref.exp
6139 * gdb.dwarf2/method-ptr.exp
6140 * gdb.dwarf2/missing-sig-type.exp
6141 * gdb.dwarf2/nonvar-access.exp
6142 * gdb.dwarf2/opaque-type-lookup.exp
6143 * gdb.dwarf2/pieces-optimized-out.exp
6144 * gdb.dwarf2/pieces.exp
6145 * gdb.dwarf2/pr10770.exp
6146 * gdb.dwarf2/pr13961.exp
6147 * gdb.dwarf2/staticvirtual.exp
6148 * gdb.dwarf2/subrange.exp
6149 * gdb.dwarf2/symtab-producer.exp
6150 * gdb.dwarf2/trace-crash.exp
6151 * gdb.dwarf2/typeddwarf.exp
6152 * gdb.dwarf2/valop.exp
6153 * gdb.dwarf2/watch-notconst.exp
6154 * gdb.fortran/array-element.exp
6155 * gdb.fortran/charset.exp
6156 * gdb.fortran/common-block.exp
6157 * gdb.fortran/complex.exp
6158 * gdb.fortran/derived-type-function.exp
6159 * gdb.fortran/derived-type.exp
6160 * gdb.fortran/logical.exp
6161 * gdb.fortran/module.exp
6162 * gdb.fortran/multi-dim.exp
6163 * gdb.fortran/nested-funcs.exp
6164 * gdb.fortran/print-formatted.exp
6165 * gdb.fortran/subarray.exp
6166 * gdb.fortran/vla-alloc-assoc.exp
6167 * gdb.fortran/vla-datatypes.exp
6168 * gdb.fortran/vla-history.exp
6169 * gdb.fortran/vla-ptr-info.exp
6170 * gdb.fortran/vla-ptype-sub.exp
6171 * gdb.fortran/vla-ptype.exp
6172 * gdb.fortran/vla-sizeof.exp
6173 * gdb.fortran/vla-type.exp
6174 * gdb.fortran/vla-value-sub-arbitrary.exp
6175 * gdb.fortran/vla-value-sub-finish.exp
6176 * gdb.fortran/vla-value-sub.exp
6177 * gdb.fortran/vla-value.exp
6178 * gdb.fortran/whatis_type.exp
6179 * gdb.go/chan.exp
6180 * gdb.go/handcall.exp
6181 * gdb.go/hello.exp
6182 * gdb.go/integers.exp
6183 * gdb.go/methods.exp
6184 * gdb.go/package.exp
6185 * gdb.go/strings.exp
6186 * gdb.go/types.exp
6187 * gdb.go/unsafe.exp
6188 * gdb.guile/scm-arch.exp
6189 * gdb.guile/scm-block.exp
6190 * gdb.guile/scm-breakpoint.exp
6191 * gdb.guile/scm-cmd.exp
6192 * gdb.guile/scm-disasm.exp
6193 * gdb.guile/scm-equal.exp
6194 * gdb.guile/scm-frame-args.exp
6195 * gdb.guile/scm-frame-inline.exp
6196 * gdb.guile/scm-frame.exp
6197 * gdb.guile/scm-iterator.exp
6198 * gdb.guile/scm-math.exp
6199 * gdb.guile/scm-objfile.exp
6200 * gdb.guile/scm-ports.exp
6201 * gdb.guile/scm-symbol.exp
6202 * gdb.guile/scm-symtab.exp
6203 * gdb.guile/scm-value-cc.exp
6204 * gdb.guile/types-module.exp
6205 * gdb.linespec/break-ask.exp
6206 * gdb.linespec/cpexplicit.exp
6207 * gdb.linespec/explicit.exp
6208 * gdb.linespec/keywords.exp
6209 * gdb.linespec/linespec.exp
6210 * gdb.linespec/ls-dollar.exp
6211 * gdb.linespec/ls-errs.exp
6212 * gdb.linespec/skip-two.exp
6213 * gdb.linespec/thread.exp
6214 * gdb.mi/mi-async.exp
6215 * gdb.mi/mi-basics.exp
6216 * gdb.mi/mi-break.exp
6217 * gdb.mi/mi-catch-load.exp
6218 * gdb.mi/mi-cli.exp
6219 * gdb.mi/mi-cmd-param-changed.exp
6220 * gdb.mi/mi-console.exp
6221 * gdb.mi/mi-detach.exp
6222 * gdb.mi/mi-disassemble.exp
6223 * gdb.mi/mi-eval.exp
6224 * gdb.mi/mi-file-transfer.exp
6225 * gdb.mi/mi-file.exp
6226 * gdb.mi/mi-fill-memory.exp
6227 * gdb.mi/mi-inheritance-syntax-error.exp
6228 * gdb.mi/mi-linespec-err-cp.exp
6229 * gdb.mi/mi-logging.exp
6230 * gdb.mi/mi-memory-changed.exp
6231 * gdb.mi/mi-read-memory.exp
6232 * gdb.mi/mi-record-changed.exp
6233 * gdb.mi/mi-reg-undefined.exp
6234 * gdb.mi/mi-regs.exp
6235 * gdb.mi/mi-return.exp
6236 * gdb.mi/mi-reverse.exp
6237 * gdb.mi/mi-simplerun.exp
6238 * gdb.mi/mi-solib.exp
6239 * gdb.mi/mi-stack.exp
6240 * gdb.mi/mi-stepi.exp
6241 * gdb.mi/mi-syn-frame.exp
6242 * gdb.mi/mi-until.exp
6243 * gdb.mi/mi-var-block.exp
6244 * gdb.mi/mi-var-child.exp
6245 * gdb.mi/mi-var-cmd.exp
6246 * gdb.mi/mi-var-cp.exp
6247 * gdb.mi/mi-var-display.exp
6248 * gdb.mi/mi-var-invalidate.exp
6249 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6250 * gdb.mi/mi-vla-fortran.exp
6251 * gdb.mi/mi-watch.exp
6252 * gdb.mi/mi2-var-child.exp
6253 * gdb.mi/user-selected-context-sync.exp
6254 * gdb.modula2/unbounded-array.exp
6255 * gdb.multi/dummy-frame-restore.exp
6256 * gdb.multi/multi-arch-exec.exp
6257 * gdb.multi/multi-arch.exp
6258 * gdb.multi/tids.exp
6259 * gdb.multi/watchpoint-multi.exp
6260 * gdb.opencl/callfuncs.exp
6261 * gdb.opencl/convs_casts.exp
6262 * gdb.opencl/datatypes.exp
6263 * gdb.opencl/operators.exp
6264 * gdb.opencl/vec_comps.exp
6265 * gdb.opt/clobbered-registers-O2.exp
6266 * gdb.opt/inline-break.exp
6267 * gdb.opt/inline-bt.exp
6268 * gdb.opt/inline-cmds.exp
6269 * gdb.opt/inline-locals.exp
6270 * gdb.pascal/case-insensitive-symbols.exp
6271 * gdb.pascal/floats.exp
6272 * gdb.pascal/gdb11492.exp
6273 * gdb.python/lib-types.exp
6274 * gdb.python/py-arch.exp
6275 * gdb.python/py-as-string.exp
6276 * gdb.python/py-bad-printers.exp
6277 * gdb.python/py-block.exp
6278 * gdb.python/py-breakpoint-create-fail.exp
6279 * gdb.python/py-breakpoint.exp
6280 * gdb.python/py-caller-is.exp
6281 * gdb.python/py-cmd.exp
6282 * gdb.python/py-explore-cc.exp
6283 * gdb.python/py-explore.exp
6284 * gdb.python/py-finish-breakpoint.exp
6285 * gdb.python/py-finish-breakpoint2.exp
6286 * gdb.python/py-frame-args.exp
6287 * gdb.python/py-frame-inline.exp
6288 * gdb.python/py-frame.exp
6289 * gdb.python/py-framefilter-mi.exp
6290 * gdb.python/py-infthread.exp
6291 * gdb.python/py-lazy-string.exp
6292 * gdb.python/py-linetable.exp
6293 * gdb.python/py-mi-events.exp
6294 * gdb.python/py-mi-objfile.exp
6295 * gdb.python/py-mi.exp
6296 * gdb.python/py-objfile.exp
6297 * gdb.python/py-pp-integral.exp
6298 * gdb.python/py-pp-maint.exp
6299 * gdb.python/py-pp-re-notag.exp
6300 * gdb.python/py-pp-registration.exp
6301 * gdb.python/py-recurse-unwind.exp
6302 * gdb.python/py-strfns.exp
6303 * gdb.python/py-symbol.exp
6304 * gdb.python/py-symtab.exp
6305 * gdb.python/py-sync-interp.exp
6306 * gdb.python/py-typeprint.exp
6307 * gdb.python/py-unwind-maint.exp
6308 * gdb.python/py-unwind.exp
6309 * gdb.python/py-value-cc.exp
6310 * gdb.python/py-xmethods.exp
6311 * gdb.reverse/amd64-tailcall-reverse.exp
6312 * gdb.reverse/break-precsave.exp
6313 * gdb.reverse/break-reverse.exp
6314 * gdb.reverse/consecutive-precsave.exp
6315 * gdb.reverse/consecutive-reverse.exp
6316 * gdb.reverse/finish-precsave.exp
6317 * gdb.reverse/finish-reverse-bkpt.exp
6318 * gdb.reverse/finish-reverse.exp
6319 * gdb.reverse/fstatat-reverse.exp
6320 * gdb.reverse/getresuid-reverse.exp
6321 * gdb.reverse/i386-precsave.exp
6322 * gdb.reverse/i386-reverse.exp
6323 * gdb.reverse/i386-sse-reverse.exp
6324 * gdb.reverse/i387-env-reverse.exp
6325 * gdb.reverse/i387-stack-reverse.exp
6326 * gdb.reverse/insn-reverse.exp
6327 * gdb.reverse/machinestate-precsave.exp
6328 * gdb.reverse/machinestate.exp
6329 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6330 * gdb.reverse/pipe-reverse.exp
6331 * gdb.reverse/readv-reverse.exp
6332 * gdb.reverse/recvmsg-reverse.exp
6333 * gdb.reverse/rerun-prec.exp
6334 * gdb.reverse/s390-mvcle.exp
6335 * gdb.reverse/step-precsave.exp
6336 * gdb.reverse/step-reverse.exp
6337 * gdb.reverse/time-reverse.exp
6338 * gdb.reverse/until-precsave.exp
6339 * gdb.reverse/until-reverse.exp
6340 * gdb.reverse/waitpid-reverse.exp
6341 * gdb.reverse/watch-precsave.exp
6342 * gdb.reverse/watch-reverse.exp
6343 * gdb.rust/generics.exp
6344 * gdb.rust/methods.exp
6345 * gdb.rust/modules.exp
6346 * gdb.rust/simple.exp
6347 * gdb.server/connect-with-no-symbol-file.exp
6348 * gdb.server/ext-attach.exp
6349 * gdb.server/ext-restart.exp
6350 * gdb.server/ext-wrapper.exp
6351 * gdb.server/file-transfer.exp
6352 * gdb.server/server-exec-info.exp
6353 * gdb.server/server-kill.exp
6354 * gdb.server/server-mon.exp
6355 * gdb.server/wrapper.exp
6356 * gdb.stabs/exclfwd.exp
6357 * gdb.stabs/gdb11479.exp
6358 * gdb.threads/clone-new-thread-event.exp
6359 * gdb.threads/corethreads.exp
6360 * gdb.threads/current-lwp-dead.exp
6361 * gdb.threads/dlopen-libpthread.exp
6362 * gdb.threads/gcore-thread.exp
6363 * gdb.threads/sigstep-threads.exp
6364 * gdb.threads/watchpoint-fork.exp
6365 * gdb.trace/actions-changed.exp
6366 * gdb.trace/backtrace.exp
6367 * gdb.trace/change-loc.exp
6368 * gdb.trace/circ.exp
6369 * gdb.trace/collection.exp
6370 * gdb.trace/disconnected-tracing.exp
6371 * gdb.trace/ftrace.exp
6372 * gdb.trace/mi-trace-frame-collected.exp
6373 * gdb.trace/mi-trace-unavailable.exp
6374 * gdb.trace/mi-traceframe-changed.exp
6375 * gdb.trace/mi-tsv-changed.exp
6376 * gdb.trace/no-attach-trace.exp
6377 * gdb.trace/passc-dyn.exp
6378 * gdb.trace/qtro.exp
6379 * gdb.trace/range-stepping.exp
6380 * gdb.trace/read-memory.exp
6381 * gdb.trace/save-trace.exp
6382 * gdb.trace/signal.exp
6383 * gdb.trace/status-stop.exp
6384 * gdb.trace/tfile.exp
6385 * gdb.trace/trace-break.exp
6386 * gdb.trace/trace-buffer-size.exp
6387 * gdb.trace/trace-condition.exp
6388 * gdb.trace/tracefile-pseudo-reg.exp
6389 * gdb.trace/tstatus.exp
6390 * gdb.trace/unavailable.exp
6391 * gdb.trace/while-dyn.exp
6392 * gdb.trace/while-stepping.exp
6393
6394 2016-12-22 Doug Evans <xdje42@gmail.com>
6395
6396 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6397 and msymbols.
6398
6399 2016-12-19 Yao Qi <yao.qi@linaro.org>
6400
6401 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6402 (test_with_self): Don't call do_steps_and_nexts, and remove
6403 code about stepping into xmalloc.
6404
6405 2016-12-09 Yao Qi <yao.qi@linaro.org>
6406
6407 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6408
6409 2016-12-09 Yao Qi <yao.qi@linaro.org>
6410
6411 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6412
6413 2016-12-09 Pedro Alves <palves@redhat.com>
6414
6415 * gdb.base/all-architectures-0.exp: New file.
6416 * gdb.base/all-architectures-1.exp: New file.
6417 * gdb.base/all-architectures-2.exp: New file.
6418 * gdb.base/all-architectures-3.exp: New file.
6419 * gdb.base/all-architectures-4.exp: New file.
6420 * gdb.base/all-architectures-5.exp: New file.
6421 * gdb.base/all-architectures-6.exp: New file.
6422 * gdb.base/all-architectures-7.exp: New file.
6423 * gdb.base/all-architectures.exp.in: New file.
6424
6425 2016-12-09 Yao Qi <yao.qi@linaro.org>
6426
6427 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6428
6429 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6430
6431 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6432 possible.
6433 Remove useless pattern-matching code.
6434
6435 2016-12-02 Pedro Alves <palves@redhat.com>
6436
6437 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6438 procedure.
6439 (top level): Call it.
6440
6441 2016-12-02 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6444 New procedure.
6445 (top level): Call it.
6446
6447 2016-12-02 Pedro Alves <palves@redhat.com>
6448
6449 PR cli/20559
6450 * gdb.base/commands.exp (user_defined_command_args_eval): New
6451 procedure.
6452 (top level): Call it.
6453
6454 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6455
6456 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6457 timeout handling.
6458
6459 2016-12-02 Tom Tromey <tom@tromey.com>
6460
6461 * gdb.dwarf2/main-subprogram.c: New file.
6462 * gdb.dwarf2/main-subprogram.exp: New file.
6463
6464 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6465
6466 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6467 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6468 gdb_test_no_output for a couple of cases.
6469 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6470
6471 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6472
6473 Fix test names and standardize compilation error messages throughout
6474 the following files:
6475
6476 * gdb.ada/start.exp
6477 * gdb.arch/alpha-step.exp
6478 * gdb.arch/e500-prologue.exp
6479 * gdb.arch/ftrace-insn-reloc.exp
6480 * gdb.arch/gdb1291.exp
6481 * gdb.arch/gdb1431.exp
6482 * gdb.arch/gdb1558.exp
6483 * gdb.arch/i386-dr3-watch.exp
6484 * gdb.arch/i386-sse-stack-align.exp
6485 * gdb.arch/ia64-breakpoint-shadow.exp
6486 * gdb.arch/pa-nullify.exp
6487 * gdb.arch/powerpc-aix-prologue.exp
6488 * gdb.arch/thumb-bx-pc.exp
6489 * gdb.base/annota1.exp
6490 * gdb.base/annota3.exp
6491 * gdb.base/arrayidx.exp
6492 * gdb.base/assign.exp
6493 * gdb.base/attach.exp
6494 * gdb.base/auxv.exp
6495 * gdb.base/bang.exp
6496 * gdb.base/bfp-test.exp
6497 * gdb.base/bigcore.exp
6498 * gdb.base/bitfields2.exp
6499 * gdb.base/break-fun-addr.exp
6500 * gdb.base/break-probes.exp
6501 * gdb.base/call-rt-st.exp
6502 * gdb.base/callexit.exp
6503 * gdb.base/catch-fork-kill.exp
6504 * gdb.base/charset.exp
6505 * gdb.base/checkpoint.exp
6506 * gdb.base/comprdebug.exp
6507 * gdb.base/constvars.exp
6508 * gdb.base/coredump-filter.exp
6509 * gdb.base/cursal.exp
6510 * gdb.base/cvexpr.exp
6511 * gdb.base/detach.exp
6512 * gdb.base/display.exp
6513 * gdb.base/dmsym.exp
6514 * gdb.base/dprintf-pending.exp
6515 * gdb.base/dso2dso.exp
6516 * gdb.base/dtrace-probe.exp
6517 * gdb.base/dump.exp
6518 * gdb.base/enum_cond.exp
6519 * gdb.base/exe-lock.exp
6520 * gdb.base/exec-invalid-sysroot.exp
6521 * gdb.base/execl-update-breakpoints.exp
6522 * gdb.base/exprs.exp
6523 * gdb.base/fileio.exp
6524 * gdb.base/find.exp
6525 * gdb.base/finish.exp
6526 * gdb.base/fixsection.exp
6527 * gdb.base/foll-vfork.exp
6528 * gdb.base/frame-args.exp
6529 * gdb.base/gcore.exp
6530 * gdb.base/gdb1250.exp
6531 * gdb.base/global-var-nested-by-dso.exp
6532 * gdb.base/gnu-ifunc.exp
6533 * gdb.base/hashline1.exp
6534 * gdb.base/hashline2.exp
6535 * gdb.base/hashline3.exp
6536 * gdb.base/hbreak-in-shr-unsupported.exp
6537 * gdb.base/huge.exp
6538 * gdb.base/infcall-input.exp
6539 * gdb.base/info-fun.exp
6540 * gdb.base/info-shared.exp
6541 * gdb.base/jit-simple.exp
6542 * gdb.base/jit-so.exp
6543 * gdb.base/jit.exp
6544 * gdb.base/jump.exp
6545 * gdb.base/label.exp
6546 * gdb.base/lineinc.exp
6547 * gdb.base/logical.exp
6548 * gdb.base/longjmp.exp
6549 * gdb.base/macscp.exp
6550 * gdb.base/miscexprs.exp
6551 * gdb.base/new-ui-echo.exp
6552 * gdb.base/new-ui-pending-input.exp
6553 * gdb.base/new-ui.exp
6554 * gdb.base/nodebug.exp
6555 * gdb.base/nofield.exp
6556 * gdb.base/offsets.exp
6557 * gdb.base/overlays.exp
6558 * gdb.base/pending.exp
6559 * gdb.base/pointers.exp
6560 * gdb.base/pr11022.exp
6561 * gdb.base/printcmds.exp
6562 * gdb.base/prologue.exp
6563 * gdb.base/ptr-typedef.exp
6564 * gdb.base/realname-expand.exp
6565 * gdb.base/relativedebug.exp
6566 * gdb.base/relocate.exp
6567 * gdb.base/remote.exp
6568 * gdb.base/reread.exp
6569 * gdb.base/return2.exp
6570 * gdb.base/savedregs.exp
6571 * gdb.base/sep.exp
6572 * gdb.base/sepdebug.exp
6573 * gdb.base/sepsymtab.exp
6574 * gdb.base/set-inferior-tty.exp
6575 * gdb.base/setshow.exp
6576 * gdb.base/shlib-call.exp
6577 * gdb.base/sigaltstack.exp
6578 * gdb.base/siginfo-addr.exp
6579 * gdb.base/signals.exp
6580 * gdb.base/signull.exp
6581 * gdb.base/sigrepeat.exp
6582 * gdb.base/so-impl-ld.exp
6583 * gdb.base/solib-display.exp
6584 * gdb.base/solib-overlap.exp
6585 * gdb.base/solib-search.exp
6586 * gdb.base/solib-symbol.exp
6587 * gdb.base/structs.exp
6588 * gdb.base/structs2.exp
6589 * gdb.base/symtab-search-order.exp
6590 * gdb.base/twice.exp
6591 * gdb.base/unload.exp
6592 * gdb.base/varargs.exp
6593 * gdb.base/watchpoint-solib.exp
6594 * gdb.base/watchpoint.exp
6595 * gdb.base/whatis.exp
6596 * gdb.base/wrong_frame_bt_full.exp
6597 * gdb.btrace/dlopen.exp
6598 * gdb.cell/ea-standalone.exp
6599 * gdb.cell/ea-test.exp
6600 * gdb.cp/dispcxx.exp
6601 * gdb.cp/gdb2384.exp
6602 * gdb.cp/method2.exp
6603 * gdb.cp/nextoverthrow.exp
6604 * gdb.cp/pr10728.exp
6605 * gdb.disasm/am33.exp
6606 * gdb.disasm/h8300s.exp
6607 * gdb.disasm/mn10300.exp
6608 * gdb.disasm/sh3.exp
6609 * gdb.dwarf2/dw2-dir-file-name.exp
6610 * gdb.fortran/complex.exp
6611 * gdb.fortran/library-module.exp
6612 * gdb.guile/scm-pretty-print.exp
6613 * gdb.guile/scm-symbol.exp
6614 * gdb.guile/scm-type.exp
6615 * gdb.guile/scm-value.exp
6616 * gdb.linespec/linespec.exp
6617 * gdb.mi/gdb701.exp
6618 * gdb.mi/gdb792.exp
6619 * gdb.mi/mi-breakpoint-changed.exp
6620 * gdb.mi/mi-dprintf-pending.exp
6621 * gdb.mi/mi-dprintf.exp
6622 * gdb.mi/mi-exit-code.exp
6623 * gdb.mi/mi-pending.exp
6624 * gdb.mi/mi-solib.exp
6625 * gdb.mi/new-ui-mi-sync.exp
6626 * gdb.mi/pr11022.exp
6627 * gdb.mi/user-selected-context-sync.exp
6628 * gdb.opt/solib-intra-step.exp
6629 * gdb.python/py-events.exp
6630 * gdb.python/py-finish-breakpoint.exp
6631 * gdb.python/py-mi.exp
6632 * gdb.python/py-prettyprint.exp
6633 * gdb.python/py-shared.exp
6634 * gdb.python/py-symbol.exp
6635 * gdb.python/py-template.exp
6636 * gdb.python/py-type.exp
6637 * gdb.python/py-value.exp
6638 * gdb.reverse/solib-precsave.exp
6639 * gdb.reverse/solib-reverse.exp
6640 * gdb.server/solib-list.exp
6641 * gdb.stabs/weird.exp
6642 * gdb.threads/reconnect-signal.exp
6643 * gdb.threads/stepi-random-signal.exp
6644 * gdb.trace/actions.exp
6645 * gdb.trace/ax.exp
6646 * gdb.trace/backtrace.exp
6647 * gdb.trace/change-loc.exp
6648 * gdb.trace/deltrace.exp
6649 * gdb.trace/ftrace-lock.exp
6650 * gdb.trace/ftrace.exp
6651 * gdb.trace/infotrace.exp
6652 * gdb.trace/mi-tracepoint-changed.exp
6653 * gdb.trace/packetlen.exp
6654 * gdb.trace/passcount.exp
6655 * gdb.trace/pending.exp
6656 * gdb.trace/range-stepping.exp
6657 * gdb.trace/report.exp
6658 * gdb.trace/stap-trace.exp
6659 * gdb.trace/tfind.exp
6660 * gdb.trace/trace-break.exp
6661 * gdb.trace/trace-condition.exp
6662 * gdb.trace/trace-enable-disable.exp
6663 * gdb.trace/trace-mt.exp
6664 * gdb.trace/tracecmd.exp
6665 * gdb.trace/tspeed.exp
6666 * gdb.trace/tsv.exp
6667 * lib/perftest.exp
6668
6669 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6670
6671 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6672 with gdb_test_no_output.
6673 Use command as test name.
6674
6675 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6676
6677 Fix test names starting with uppercase throughout the files.
6678
6679 * gdb.ada/assign_1.exp
6680 * gdb.ada/boolean_expr.exp
6681 * gdb.base/arrayidx.exp
6682 * gdb.base/del.exp
6683 * gdb.base/gcore-buffer-overflow.exp
6684 * gdb.base/testenv.exp
6685 * gdb.compile/compile.exp
6686 * gdb.python/py-framefilter-invalidarg.exp
6687 * gdb.python/py-framefilter.exp
6688
6689 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6690
6691 Fix test names starting with uppercase throughout the files.
6692
6693 * gdb.ada/array_return.exp
6694 * gdb.ada/expr_delims.exp
6695 * gdb.ada/mi_dyn_arr.exp
6696 * gdb.ada/mi_interface.exp
6697 * gdb.ada/mi_var_array.exp
6698 * gdb.ada/watch_arg.exp
6699 * gdb.arch/alpha-step.exp
6700 * gdb.arch/altivec-regs.exp
6701 * gdb.arch/e500-regs.exp
6702 * gdb.arch/powerpc-d128-regs.exp
6703 * gdb.base/arrayidx.exp
6704 * gdb.base/break.exp
6705 * gdb.base/checkpoint.exp
6706 * gdb.base/debug-expr.exp
6707 * gdb.base/dmsym.exp
6708 * gdb.base/radix.exp
6709 * gdb.base/sepdebug.exp
6710 * gdb.base/testenv.exp
6711 * gdb.base/watch_thread_num.exp
6712 * gdb.base/watchpoint-cond-gone.exp
6713 * gdb.cell/break.exp
6714 * gdb.cell/ea-cache.exp
6715 * gdb.compile/compile.exp
6716 * gdb.cp/gdb2495.exp
6717 * gdb.gdb/selftest.exp
6718 * gdb.gdb/xfullpath.exp
6719 * gdb.go/hello.exp
6720 * gdb.go/integers.exp
6721 * gdb.objc/basicclass.exp
6722 * gdb.pascal/hello.exp
6723 * gdb.pascal/integers.exp
6724 * gdb.python/py-breakpoint.exp
6725 * gdb.python/py-cmd.exp
6726 * gdb.python/py-linetable.exp
6727 * gdb.python/py-xmethods.exp
6728 * gdb.python/python.exp
6729 * gdb.reverse/consecutive-precsave.exp
6730 * gdb.reverse/finish-precsave.exp
6731 * gdb.reverse/i386-precsave.exp
6732 * gdb.reverse/machinestate-precsave.exp
6733 * gdb.reverse/sigall-precsave.exp
6734 * gdb.reverse/solib-precsave.exp
6735 * gdb.reverse/step-precsave.exp
6736 * gdb.reverse/until-precsave.exp
6737 * gdb.reverse/watch-precsave.exp
6738 * gdb.threads/leader-exit.exp
6739 * gdb.threads/pthreads.exp
6740 * gdb.threads/wp-replication.exp
6741 * gdb.trace/actions.exp
6742 * gdb.trace/mi-tsv-changed.exp
6743 * gdb.trace/tsv.exp
6744
6745 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6746
6747 Fix test names starting with uppercase throughout the files.
6748
6749 * gdb.arch/i386-bp_permanent.exp
6750 * gdb.arch/i386-gnu-cfi.exp
6751 * gdb.base/disasm-end-cu.exp
6752 * gdb.base/macscp.exp
6753 * gdb.base/pending.exp
6754 * gdb.base/watch_thread_num.exp
6755 * gdb.cp/exception.exp
6756 * gdb.cp/gdb2495.exp
6757 * gdb.cp/local.exp
6758 * gdb.python/py-evsignal.exp
6759 * gdb.python/python.exp
6760 * gdb.trace/tracecmd.exp
6761
6762 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6763
6764 Fix test names starting with uppercase throughout the files.
6765
6766 * gdb.base/charset.exp
6767 * gdb.base/eval.exp
6768 * gdb.base/multi-forks.exp
6769 * gdb.guile/scm-progspace.exp
6770 * gdb.opencl/datatypes.exp
6771 * gdb.python/py-block.exp
6772 * gdb.python/py-function.exp
6773 * gdb.python/py-symbol.exp
6774 * gdb.python/py-symtab.exp
6775 * gdb.python/py-xmethods.exp
6776 * gdb.reverse/break-precsave.exp
6777 * gdb.reverse/break-reverse.exp
6778 * gdb.reverse/consecutive-precsave.exp
6779 * gdb.reverse/consecutive-reverse.exp
6780 * gdb.reverse/finish-precsave.exp
6781 * gdb.reverse/finish-reverse-bkpt.exp
6782 * gdb.reverse/finish-reverse.exp
6783 * gdb.reverse/fstatat-reverse.exp
6784 * gdb.reverse/getresuid-reverse.exp
6785 * gdb.reverse/i386-precsave.exp
6786 * gdb.reverse/i386-reverse.exp
6787 * gdb.reverse/i386-sse-reverse.exp
6788 * gdb.reverse/i387-stack-reverse.exp
6789 * gdb.reverse/insn-reverse.exp
6790 * gdb.reverse/machinestate-precsave.exp
6791 * gdb.reverse/machinestate.exp
6792 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6793 * gdb.reverse/pipe-reverse.exp
6794 * gdb.reverse/readv-reverse.exp
6795 * gdb.reverse/recvmsg-reverse.exp
6796 * gdb.reverse/rerun-prec.exp
6797 * gdb.reverse/s390-mvcle.exp
6798 * gdb.reverse/sigall-precsave.exp
6799 * gdb.reverse/sigall-reverse.exp
6800 * gdb.reverse/solib-precsave.exp
6801 * gdb.reverse/solib-reverse.exp
6802 * gdb.reverse/step-precsave.exp
6803 * gdb.reverse/step-reverse.exp
6804 * gdb.reverse/time-reverse.exp
6805 * gdb.reverse/until-precsave.exp
6806 * gdb.reverse/until-reverse.exp
6807 * gdb.reverse/waitpid-reverse.exp
6808 * gdb.reverse/watch-precsave.exp
6809 * gdb.reverse/watch-reverse.exp
6810
6811 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6812
6813 Fix test names starting with uppercase throughout the files.
6814
6815 * gdb.arch/i386-mpx-simple_segv.exp
6816 * gdb.arch/i386-mpx.exp
6817 * gdb.arch/i386-permbkpt.exp
6818 * gdb.arch/pa-nullify.exp
6819 * gdb.arch/powerpc-d128-regs.exp
6820 * gdb.arch/vsx-regs.exp
6821 * gdb.base/bfp-test.exp
6822 * gdb.base/break.exp
6823 * gdb.base/breakpoint-shadow.exp
6824 * gdb.base/callfuncs.exp
6825 * gdb.base/charset.exp
6826 * gdb.base/commands.exp
6827 * gdb.base/completion.exp
6828 * gdb.base/dfp-test.exp
6829 * gdb.base/echo.exp
6830 * gdb.base/ending-run.exp
6831 * gdb.base/eval.exp
6832 * gdb.base/expand-psymtabs.exp
6833 * gdb.base/float128.exp
6834 * gdb.base/floatn.exp
6835 * gdb.base/foll-exec-mode.exp
6836 * gdb.base/gdb1056.exp
6837 * gdb.base/gdb11531.exp
6838 * gdb.base/kill-after-signal.exp
6839 * gdb.base/multi-forks.exp
6840 * gdb.base/overlays.exp
6841 * gdb.base/pending.exp
6842 * gdb.base/sepdebug.exp
6843 * gdb.base/testenv.exp
6844 * gdb.base/valgrind-db-attach.exp
6845 * gdb.base/watch_thread_num.exp
6846 * gdb.base/watchpoint-cond-gone.exp
6847 * gdb.base/watchpoint.exp
6848 * gdb.base/watchpoints.exp
6849 * gdb.cp/arg-reference.exp
6850 * gdb.cp/baseenum.exp
6851 * gdb.cp/operator.exp
6852 * gdb.cp/shadow.exp
6853 * gdb.dwarf2/dw2-op-out-param.exp
6854 * gdb.dwarf2/dw2-reg-undefined.exp
6855 * gdb.go/chan.exp
6856 * gdb.go/hello.exp
6857 * gdb.go/integers.exp
6858 * gdb.go/methods.exp
6859 * gdb.go/package.exp
6860 * gdb.guile/scm-parameter.exp
6861 * gdb.guile/scm-progspace.exp
6862 * gdb.guile/scm-value.exp
6863 * gdb.mi/mi-pending.exp
6864 * gdb.mi/user-selected-context-sync.exp
6865 * gdb.multi/multi-attach.exp
6866 * gdb.multi/tids.exp
6867 * gdb.opt/clobbered-registers-O2.exp
6868 * gdb.pascal/floats.exp
6869 * gdb.pascal/integers.exp
6870 * gdb.python/py-block.exp
6871 * gdb.python/py-events.exp
6872 * gdb.python/py-parameter.exp
6873 * gdb.python/py-symbol.exp
6874 * gdb.python/py-symtab.exp
6875 * gdb.python/py-type.exp
6876 * gdb.python/py-value.exp
6877 * gdb.python/py-xmethods.exp
6878 * gdb.python/python.exp
6879 * gdb.reverse/break-precsave.exp
6880 * gdb.reverse/consecutive-precsave.exp
6881 * gdb.reverse/finish-precsave.exp
6882 * gdb.reverse/i386-precsave.exp
6883 * gdb.reverse/machinestate-precsave.exp
6884 * gdb.reverse/sigall-precsave.exp
6885 * gdb.reverse/solib-precsave.exp
6886 * gdb.reverse/step-precsave.exp
6887 * gdb.reverse/until-precsave.exp
6888 * gdb.reverse/watch-precsave.exp
6889 * gdb.server/ext-attach.exp
6890 * gdb.server/ext-restart.exp
6891 * gdb.server/ext-run.exp
6892 * gdb.server/ext-wrapper.exp
6893 * gdb.stabs/gdb11479.exp
6894 * gdb.stabs/weird.exp
6895 * gdb.threads/attach-many-short-lived-threads.exp
6896 * gdb.threads/kill.exp
6897 * gdb.threads/watchpoint-fork.exp
6898
6899 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6900
6901 Fix test names starting with uppercase throughout all the files below.
6902
6903 * gdb.ada/array_return.exp
6904 * gdb.ada/catch_ex.exp
6905 * gdb.ada/info_exc.exp
6906 * gdb.ada/mi_catch_ex.exp
6907 * gdb.ada/mi_dyn_arr.exp
6908 * gdb.ada/mi_ex_cond.exp
6909 * gdb.ada/mi_exc_info.exp
6910 * gdb.ada/mi_interface.exp
6911 * gdb.ada/mi_task_arg.exp
6912 * gdb.ada/mi_task_info.exp
6913 * gdb.ada/mi_var_array.exp
6914 * gdb.arch/alpha-step.exp
6915 * gdb.arch/amd64-disp-step.exp
6916 * gdb.arch/arm-disp-step.exp
6917 * gdb.arch/disp-step-insn-reloc.exp
6918 * gdb.arch/e500-prologue.exp
6919 * gdb.arch/ftrace-insn-reloc.exp
6920 * gdb.arch/gdb1558.exp
6921 * gdb.arch/i386-bp_permanent.exp
6922 * gdb.arch/i386-disp-step.exp
6923 * gdb.arch/i386-float.exp
6924 * gdb.arch/i386-gnu-cfi.exp
6925 * gdb.arch/ia64-breakpoint-shadow.exp
6926 * gdb.arch/mips16-thunks.exp
6927 * gdb.arch/pa-nullify.exp
6928 * gdb.arch/powerpc-aix-prologue.exp
6929 * gdb.arch/powerpc-power.exp
6930 * gdb.arch/ppc-dfp.exp
6931 * gdb.arch/s390-tdbregs.exp
6932 * gdb.arch/spu-info.exp
6933 * gdb.arch/spu-ls.exp
6934 * gdb.arch/thumb-bx-pc.exp
6935 * gdb.base/advance.exp
6936 * gdb.base/annota-input-while-running.exp
6937 * gdb.base/arrayidx.exp
6938 * gdb.base/asmlabel.exp
6939 * gdb.base/async.exp
6940 * gdb.base/attach-wait-input.exp
6941 * gdb.base/auto-connect-native-target.exp
6942 * gdb.base/batch-preserve-term-settings.exp
6943 * gdb.base/bfp-test.exp
6944 * gdb.base/bigcore.exp
6945 * gdb.base/bp-permanent.exp
6946 * gdb.base/break-always.exp
6947 * gdb.base/break-fun-addr.exp
6948 * gdb.base/break-idempotent.exp
6949 * gdb.base/break-main-file-remove-fail.exp
6950 * gdb.base/break-probes.exp
6951 * gdb.base/break-unload-file.exp
6952 * gdb.base/break.exp
6953 * gdb.base/call-ar-st.exp
6954 * gdb.base/call-rt-st.exp
6955 * gdb.base/call-sc.exp
6956 * gdb.base/call-signal-resume.exp
6957 * gdb.base/call-strs.exp
6958 * gdb.base/callexit.exp
6959 * gdb.base/callfuncs.exp
6960 * gdb.base/catch-gdb-caused-signals.exp
6961 * gdb.base/catch-signal-siginfo-cond.exp
6962 * gdb.base/catch-syscall.exp
6963 * gdb.base/compare-sections.exp
6964 * gdb.base/cond-eval-mode.exp
6965 * gdb.base/condbreak-call-false.exp
6966 * gdb.base/consecutive-step-over.exp
6967 * gdb.base/cursal.exp
6968 * gdb.base/disabled-location.exp
6969 * gdb.base/disasm-end-cu.exp
6970 * gdb.base/display.exp
6971 * gdb.base/double-prompt-target-event-error.exp
6972 * gdb.base/dprintf-bp-same-addr.exp
6973 * gdb.base/dprintf-detach.exp
6974 * gdb.base/dprintf-next.exp
6975 * gdb.base/dprintf-non-stop.exp
6976 * gdb.base/dprintf-pending.exp
6977 * gdb.base/dso2dso.exp
6978 * gdb.base/ending-run.exp
6979 * gdb.base/enum_cond.exp
6980 * gdb.base/examine-backward.exp
6981 * gdb.base/exe-lock.exp
6982 * gdb.base/exec-invalid-sysroot.exp
6983 * gdb.base/execl-update-breakpoints.exp
6984 * gdb.base/execution-termios.exp
6985 * gdb.base/fileio.exp
6986 * gdb.base/fixsection.exp
6987 * gdb.base/foll-exec-mode.exp
6988 * gdb.base/foll-exec.exp
6989 * gdb.base/fork-running-state.exp
6990 * gdb.base/frame-args.exp
6991 * gdb.base/fullpath-expand.exp
6992 * gdb.base/func-ptr.exp
6993 * gdb.base/gcore-relro-pie.exp
6994 * gdb.base/gdb1090.exp
6995 * gdb.base/gdb1555.exp
6996 * gdb.base/global-var-nested-by-dso.exp
6997 * gdb.base/gnu-ifunc.exp
6998 * gdb.base/hbreak-in-shr-unsupported.exp
6999 * gdb.base/hbreak-unmapped.exp
7000 * gdb.base/hook-stop.exp
7001 * gdb.base/infcall-input.exp
7002 * gdb.base/info-fun.exp
7003 * gdb.base/info-shared.exp
7004 * gdb.base/interrupt-noterm.exp
7005 * gdb.base/jit-so.exp
7006 * gdb.base/jit.exp
7007 * gdb.base/line-symtabs.exp
7008 * gdb.base/list.exp
7009 * gdb.base/longjmp.exp
7010 * gdb.base/macscp.exp
7011 * gdb.base/max-value-size.exp
7012 * gdb.base/nodebug.exp
7013 * gdb.base/nofield.exp
7014 * gdb.base/overlays.exp
7015 * gdb.base/paginate-after-ctrl-c-running.exp
7016 * gdb.base/paginate-bg-execution.exp
7017 * gdb.base/paginate-inferior-exit.exp
7018 * gdb.base/pending.exp
7019 * gdb.base/pr11022.exp
7020 * gdb.base/printcmds.exp
7021 * gdb.base/ptr-typedef.exp
7022 * gdb.base/ptype.exp
7023 * gdb.base/randomize.exp
7024 * gdb.base/range-stepping.exp
7025 * gdb.base/realname-expand.exp
7026 * gdb.base/relativedebug.exp
7027 * gdb.base/remote.exp
7028 * gdb.base/savedregs.exp
7029 * gdb.base/sepdebug.exp
7030 * gdb.base/set-noassign.exp
7031 * gdb.base/shlib-call.exp
7032 * gdb.base/shreloc.exp
7033 * gdb.base/sigaltstack.exp
7034 * gdb.base/sigbpt.exp
7035 * gdb.base/siginfo-addr.exp
7036 * gdb.base/siginfo-obj.exp
7037 * gdb.base/siginfo-thread.exp
7038 * gdb.base/signest.exp
7039 * gdb.base/signull.exp
7040 * gdb.base/sigrepeat.exp
7041 * gdb.base/skip.exp
7042 * gdb.base/so-impl-ld.exp
7043 * gdb.base/solib-corrupted.exp
7044 * gdb.base/solib-disc.exp
7045 * gdb.base/solib-display.exp
7046 * gdb.base/solib-overlap.exp
7047 * gdb.base/solib-search.exp
7048 * gdb.base/solib-symbol.exp
7049 * gdb.base/source-execution.exp
7050 * gdb.base/sss-bp-on-user-bp-2.exp
7051 * gdb.base/sss-bp-on-user-bp.exp
7052 * gdb.base/stack-checking.exp
7053 * gdb.base/stale-infcall.exp
7054 * gdb.base/step-break.exp
7055 * gdb.base/step-line.exp
7056 * gdb.base/step-over-exit.exp
7057 * gdb.base/step-test.exp
7058 * gdb.base/structs.exp
7059 * gdb.base/sym-file.exp
7060 * gdb.base/symtab-search-order.exp
7061 * gdb.base/term.exp
7062 * gdb.base/type-opaque.exp
7063 * gdb.base/unload.exp
7064 * gdb.base/until-nodebug.exp
7065 * gdb.base/until.exp
7066 * gdb.base/unwindonsignal.exp
7067 * gdb.base/watch-cond.exp
7068 * gdb.base/watch-non-mem.exp
7069 * gdb.base/watch_thread_num.exp
7070 * gdb.base/watchpoint-reuse-slot.exp
7071 * gdb.base/watchpoint-solib.exp
7072 * gdb.base/watchpoint.exp
7073 * gdb.btrace/dlopen.exp
7074 * gdb.cell/arch.exp
7075 * gdb.cell/break.exp
7076 * gdb.cell/bt.exp
7077 * gdb.cell/core.exp
7078 * gdb.cell/data.exp
7079 * gdb.cell/dwarfaddr.exp
7080 * gdb.cell/ea-cache.exp
7081 * gdb.cell/ea-standalone.exp
7082 * gdb.cell/ea-test.exp
7083 * gdb.cell/f-regs.exp
7084 * gdb.cell/fork.exp
7085 * gdb.cell/gcore.exp
7086 * gdb.cell/mem-access.exp
7087 * gdb.cell/ptype.exp
7088 * gdb.cell/registers.exp
7089 * gdb.cell/sizeof.exp
7090 * gdb.cell/solib-symbol.exp
7091 * gdb.cell/solib.exp
7092 * gdb.compile/compile-tls.exp
7093 * gdb.cp/exception.exp
7094 * gdb.cp/gdb2495.exp
7095 * gdb.cp/local.exp
7096 * gdb.cp/mb-inline.exp
7097 * gdb.cp/mb-templates.exp
7098 * gdb.cp/pr10687.exp
7099 * gdb.cp/pr9167.exp
7100 * gdb.cp/scope-err.exp
7101 * gdb.cp/templates.exp
7102 * gdb.cp/virtfunc.exp
7103 * gdb.dwarf2/dw2-dir-file-name.exp
7104 * gdb.dwarf2/dw2-single-line-discriminators.exp
7105 * gdb.fortran/complex.exp
7106 * gdb.fortran/library-module.exp
7107 * gdb.guile/guile.exp
7108 * gdb.guile/scm-cmd.exp
7109 * gdb.guile/scm-frame-inline.exp
7110 * gdb.guile/scm-objfile.exp
7111 * gdb.guile/scm-pretty-print.exp
7112 * gdb.guile/scm-symbol.exp
7113 * gdb.guile/scm-type.exp
7114 * gdb.guile/scm-value.exp
7115 * gdb.linespec/keywords.exp
7116 * gdb.linespec/ls-errs.exp
7117 * gdb.linespec/macro-relative.exp
7118 * gdb.linespec/thread.exp
7119 * gdb.mi/mi-breakpoint-changed.exp
7120 * gdb.mi/mi-dprintf-pending.exp
7121 * gdb.mi/mi-fullname-deleted.exp
7122 * gdb.mi/mi-logging.exp
7123 * gdb.mi/mi-pending.exp
7124 * gdb.mi/mi-solib.exp
7125 * gdb.mi/new-ui-mi-sync.exp
7126 * gdb.mi/user-selected-context-sync.exp
7127 * gdb.multi/dummy-frame-restore.exp
7128 * gdb.multi/multi-arch-exec.exp
7129 * gdb.multi/remove-inferiors.exp
7130 * gdb.multi/watchpoint-multi-exit.exp
7131 * gdb.opt/solib-intra-step.exp
7132 * gdb.perf/backtrace.exp
7133 * gdb.perf/single-step.exp
7134 * gdb.perf/skip-command.exp
7135 * gdb.perf/skip-prologue.exp
7136 * gdb.perf/solib.exp
7137 * gdb.python/lib-types.exp
7138 * gdb.python/py-as-string.exp
7139 * gdb.python/py-bad-printers.exp
7140 * gdb.python/py-block.exp
7141 * gdb.python/py-breakpoint.exp
7142 * gdb.python/py-cmd.exp
7143 * gdb.python/py-events.exp
7144 * gdb.python/py-evthreads.exp
7145 * gdb.python/py-finish-breakpoint.exp
7146 * gdb.python/py-finish-breakpoint2.exp
7147 * gdb.python/py-frame-inline.exp
7148 * gdb.python/py-frame.exp
7149 * gdb.python/py-inferior.exp
7150 * gdb.python/py-infthread.exp
7151 * gdb.python/py-mi.exp
7152 * gdb.python/py-objfile.exp
7153 * gdb.python/py-pp-maint.exp
7154 * gdb.python/py-pp-registration.exp
7155 * gdb.python/py-prettyprint.exp
7156 * gdb.python/py-recurse-unwind.exp
7157 * gdb.python/py-shared.exp
7158 * gdb.python/py-symbol.exp
7159 * gdb.python/py-symtab.exp
7160 * gdb.python/py-template.exp
7161 * gdb.python/py-type.exp
7162 * gdb.python/py-unwind-maint.exp
7163 * gdb.python/py-unwind.exp
7164 * gdb.python/py-value.exp
7165 * gdb.python/python.exp
7166 * gdb.reverse/finish-reverse-bkpt.exp
7167 * gdb.reverse/insn-reverse.exp
7168 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7169 * gdb.reverse/solib-precsave.exp
7170 * gdb.reverse/solib-reverse.exp
7171 * gdb.stabs/gdb11479.exp
7172 * gdb.stabs/weird.exp
7173 * gdb.threads/fork-child-threads.exp
7174 * gdb.threads/fork-plus-threads.exp
7175 * gdb.threads/fork-thread-pending.exp
7176 * gdb.threads/forking-threads-plus-breakpoint.exp
7177 * gdb.threads/hand-call-in-threads.exp
7178 * gdb.threads/interrupted-hand-call.exp
7179 * gdb.threads/linux-dp.exp
7180 * gdb.threads/local-watch-wrong-thread.exp
7181 * gdb.threads/next-while-other-thread-longjmps.exp
7182 * gdb.threads/non-ldr-exit.exp
7183 * gdb.threads/pending-step.exp
7184 * gdb.threads/print-threads.exp
7185 * gdb.threads/process-dies-while-detaching.exp
7186 * gdb.threads/process-dies-while-handling-bp.exp
7187 * gdb.threads/pthreads.exp
7188 * gdb.threads/queue-signal.exp
7189 * gdb.threads/reconnect-signal.exp
7190 * gdb.threads/signal-command-handle-nopass.exp
7191 * gdb.threads/signal-command-multiple-signals-pending.exp
7192 * gdb.threads/signal-delivered-right-thread.exp
7193 * gdb.threads/signal-sigtrap.exp
7194 * gdb.threads/sigthread.exp
7195 * gdb.threads/staticthreads.exp
7196 * gdb.threads/stepi-random-signal.exp
7197 * gdb.threads/thread-unwindonsignal.exp
7198 * gdb.threads/thread_check.exp
7199 * gdb.threads/thread_events.exp
7200 * gdb.threads/tid-reuse.exp
7201 * gdb.threads/tls-nodebug.exp
7202 * gdb.threads/tls-shared.exp
7203 * gdb.threads/tls-so_extern.exp
7204 * gdb.threads/tls.exp
7205 * gdb.threads/wp-replication.exp
7206 * gdb.trace/actions-changed.exp
7207 * gdb.trace/actions.exp
7208 * gdb.trace/backtrace.exp
7209 * gdb.trace/change-loc.exp
7210 * gdb.trace/collection.exp
7211 * gdb.trace/deltrace.exp
7212 * gdb.trace/disconnected-tracing.exp
7213 * gdb.trace/entry-values.exp
7214 * gdb.trace/ftrace-lock.exp
7215 * gdb.trace/ftrace.exp
7216 * gdb.trace/infotrace.exp
7217 * gdb.trace/mi-trace-frame-collected.exp
7218 * gdb.trace/mi-trace-unavailable.exp
7219 * gdb.trace/mi-traceframe-changed.exp
7220 * gdb.trace/mi-tracepoint-changed.exp
7221 * gdb.trace/mi-tsv-changed.exp
7222 * gdb.trace/no-attach-trace.exp
7223 * gdb.trace/packetlen.exp
7224 * gdb.trace/passc-dyn.exp
7225 * gdb.trace/passcount.exp
7226 * gdb.trace/pending.exp
7227 * gdb.trace/pr16508.exp
7228 * gdb.trace/qtro.exp
7229 * gdb.trace/range-stepping.exp
7230 * gdb.trace/read-memory.exp
7231 * gdb.trace/report.exp
7232 * gdb.trace/save-trace.exp
7233 * gdb.trace/signal.exp
7234 * gdb.trace/stap-trace.exp
7235 * gdb.trace/status-stop.exp
7236 * gdb.trace/strace.exp
7237 * gdb.trace/tfile.exp
7238 * gdb.trace/tfind.exp
7239 * gdb.trace/trace-break.exp
7240 * gdb.trace/trace-condition.exp
7241 * gdb.trace/trace-enable-disable.exp
7242 * gdb.trace/trace-mt.exp
7243 * gdb.trace/tracecmd.exp
7244 * gdb.trace/tracefile-pseudo-reg.exp
7245 * gdb.trace/tspeed.exp
7246 * gdb.trace/tstatus.exp
7247 * gdb.trace/tsv.exp
7248 * gdb.trace/unavailable.exp
7249 * gdb.trace/while-dyn.exp
7250 * gdb.trace/while-stepping.exp
7251 * lib/gdb-guile.exp
7252 * lib/gdb.exp
7253 * lib/mi-support.exp
7254 * lib/pascal.exp
7255 * lib/perftest.exp
7256 * lib/prelink-support.exp
7257 * lib/selftest-support.exp
7258
7259 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7260
7261 * Makefile.in: Include disable-implicit-rules.mk.
7262
7263 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7264
7265 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7266 non-byte-aligned bit fields.
7267
7268 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7269
7270 PR gdb/12616
7271 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7272 respects the DW_AT_data_bit_offset attribute.
7273
7274 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7275
7276 * gdb.base/default.exp: Fix output of "set language".
7277
7278 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7279
7280 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7281 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7282 make.
7283 * configure.ac: Remove checks for the make program.
7284 * configure: Re-generate.
7285
7286 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7287
7288 * gdb.python/py-recurse-unwind.c (main): Add loop.
7289 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7290 to read_register() and gdb.parse_and_eval(). Make each code
7291 call a separate case that can be individually tested.
7292 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7293 proc. Call cont_and_backtrace for each of the code paths that
7294 we want to test in the unwinder.
7295
7296 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7297
7298 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7299 the definition of struct S.
7300
7301 2016-11-11 Catherine Moore <clm@codesourcery.com>
7302
7303 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7304
7305 2016-11-09 Pedro Alves <palves@redhat.com>
7306
7307 * gdb.base/commands.exp (runto_or_return): New procedure.
7308 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7309 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7310 (progvar_simple_while_test, progvar_complex_if_while_test)
7311 (if_while_breakpoint_command_test)
7312 (infrun_breakpoint_command_test, breakpoint_command_test)
7313 (user_defined_command_test, watchpoint_command_test)
7314 (test_command_prompt_position, redefine_hook_test)
7315 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7316 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7317 multi_line_input and multi_line. Remove gdb_expect and
7318 gdb_stop_suppressing_tests uses.
7319 * lib/gdb.exp (valnum_re): New global.
7320 (multi_line_input): New procedure.
7321
7322 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7323
7324 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7325 Remove.
7326 (test_setup): Define with proc_with_prefix.
7327 (test_cli_inferior): Likewise.
7328 (test_cli_thread): Likewise.
7329 (test_cli_frame): Likewise.
7330 (test_cli_select_frame): Likewise.
7331 (test_cli_up_down): Likewise.
7332 (test_mi_thread_select): Likewise.
7333 (test_mi_stack_select_frame): Likewise.
7334 (test_cli_in_mi_inferior): Likewise.
7335 (test_cli_in_mi_thread): Likewise.
7336 (test_cli_in_mi_frame): Likewise.
7337 (top level): Do not use with_test_prefix_procname.
7338
7339 2016-11-09 Pedro Alves <palves@redhat.com>
7340
7341 * gdb.base/commands.exp (gdbvar_simple_if_test)
7342 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7343 (progvar_simple_if_test, progvar_simple_while_test)
7344 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7345 (infrun_breakpoint_command_test, breakpoint_command_test)
7346 (user_defined_command_test, watchpoint_command_test)
7347 (test_command_prompt_position, deprecated_command_test)
7348 (bp_deleted_in_command, temporary_breakpoint_commands)
7349 (stray_arg0_test, source_file_with_indented_comment)
7350 (recursive_source_test, if_commands_test)
7351 (error_clears_commands_left, redefine_hook_test)
7352 (redefine_backtrace_test): Use proc_with_prefix.
7353 * lib/gdb.exp (proc_with_prefix): New proc.
7354
7355 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7356
7357 * gdb.base/tui-layout.c: New file.
7358 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7359 disassembly window contains very long lines.
7360
7361 2016-11-08 Tom Tromey <tom@tromey.com>
7362
7363 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7364 depend on Python 2.
7365
7366 2016-11-08 Tom Tromey <tom@tromey.com>
7367
7368 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7369 New method.
7370
7371 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7372
7373 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7374
7375 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7376
7377 * gdb.rust/simple.rs: Add test for univariant enums without
7378 discriminants and for encoded struct-like enums.
7379
7380 2016-10-28 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7383 gdb_test_multiple, tighten regexps and match symtabs and line
7384 tables incrementally.
7385
7386 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7387
7388 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7389 general.
7390
7391 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7392
7393 * gdb.base/exec-invalid-sysroot.exp: New file.
7394
7395 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7398
7399 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7400
7401 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7402
7403 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7404
7405 * gdb.base/killed-outside.exp: Remove $options from a call to
7406 `prepare_for_testing'.
7407
7408 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7409
7410 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7411 Change test message.
7412
7413 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7414
7415 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7416 Update comment.
7417
7418 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7419
7420 * gdb.trace/mi-trace-save.exp: New file.
7421
7422 2016-10-13 Yao Qi <yao.qi@linaro.org>
7423
7424 * gdb.base/code_elim.exp (get_var_address): Remove.
7425 * gdb.base/relocate.exp: Likewise.
7426 * gdb.base/shreloc.exp: Likewise.
7427 * lib/gdb.exp (get_var_address): New.
7428
7429 2016-10-13 Yao Qi <yao.qi@linaro.org>
7430
7431 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7432 floating point tests if $skip_float_test is false.
7433
7434 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7435
7436 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7437 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7438 argc values.
7439 Add 1 to argc so we guarantee distinct initial/modified argc values.
7440
7441 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7442
7443 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7444
7445 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7446
7447 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7448 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7449 * gdb.arch/vsx-regs.exp: Likewise.
7450
7451 2016-10-07 Yao Qi <yao.qi@linaro.org>
7452
7453 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7454
7455 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7456
7457 * gdb.python/python.exp: Test decode_line("*0").
7458
7459 2016-10-06 Doug Evans <dje@google.com>
7460
7461 * gdb.python/py-value.exp (test_value_creation): Add test for large
7462 unsigned 64-bit value.
7463
7464 2016-10-06 Tom Tromey <tom@tromey.com>
7465
7466 * gdb.compile/compile.exp: Change java tests to rust.
7467 * gdb.base/setshow.exp: Change java tests to rust.
7468 * gdb.base/default.exp: Remove java from language list.
7469 * README (Examples): Update language example.
7470 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7471 test.
7472 * lib/gdb.exp (skip_java_tests): Remove.
7473 * lib/java.exp: Remove.
7474 * gdb.java: Remove.
7475
7476 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7477
7478 * gdb.arch/mips-fcr.exp: New test.
7479 * gdb.arch/mips-fcr.c: Source for the new test.
7480
7481 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7482
7483 * gdb.base/solib-disc.exp: Use `standard_output_file'
7484 throughout.
7485
7486 2016-10-06 Pedro Alves <palves@redhat.com>
7487
7488 * gdb.base/jit-simple-dl.c: New file.
7489 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7490 * gdb.base/jit-simple.c: ... this.
7491 * gdb.base/jit-simple.exp (jit_run): Delete.
7492 (build_jit): New proc.
7493 (jit_test_reread): Recompile either the main program or the shared
7494 library, depending on what is being tested. Skip changing address
7495 if caller wants to. Compare before/after addresses. If testing
7496 standalone, explicitly load the binary. Test "maint info
7497 breakpoints".
7498 (top level): Add "standalone vs shared lib" and "change address"
7499 vs "same address" axes.
7500
7501 2016-10-06 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7504 call.
7505 (jit_run): Delete.
7506 (jit_test_reread): Use with_test_prefix. Reload the main binary
7507 explicitly. Compare the before/after addresses of the JIT
7508 descriptor.
7509
7510 2016-08-15 Doug Evans <dje@google.com>
7511
7512 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7513 for single bitfields is bool.
7514 * gdb.xml/tdesc-regs.exp: Ditto.
7515
7516 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7517
7518 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7519
7520 2016-10-05 Yao Qi <yao.qi@linaro.org>
7521
7522 * lib/gdb.exp (support_complex_tests): Return zero if
7523 gdb_skip_float_test return true.
7524
7525 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7526 Simon Marchi <simon.marchi@ericsson.com>
7527
7528 PR gdb/20487
7529 * gdb.mi/user-selected-context-sync.exp: New file.
7530 * gdb.mi/user-selected-context-sync.c: New file.
7531
7532 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7533 Simon Marchi <simon.marchi@ericsson.com>
7534
7535 PR gdb/20487
7536 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7537 =thread-select-event check.
7538
7539 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7540
7541 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7542 the compulsory L operand changes.
7543 * gdb.arch/powerpc-power.s: Likewise.
7544
7545 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7548 * gdb.base/jit-attach-pie.c: New file.
7549 * gdb.base/jit-attach-pie.exp: New file.
7550
7551 2016-09-28 Pedro Alves <palves@redhat.com>
7552
7553 * gdb.base/infcall-input.c: New file.
7554 * gdb.base/infcall-input.exp: New file.
7555
7556 2016-09-22 Yao Qi <yao.qi@linaro.org>
7557
7558 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7559 (gdb_exit): Rename it to ...
7560 (gdbserver_gdb_exit): ... Close GDBserver.
7561 (gdb_exit): New proc, call gdbserver_gdb_exit.
7562 (mi_gdb_exit): Likewise.
7563
7564 2016-09-22 Yao Qi <yao.qi@linaro.org>
7565
7566 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7567 path.
7568 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7569 Remove duplication.
7570
7571 2016-09-22 Yao Qi <yao.qi@linaro.org>
7572
7573 * lib/gdbserver-support.exp: Check the existence of
7574 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7575
7576 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7577
7578 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7579
7580 2016-09-21 Tom Tromey <tom@tromey.com>
7581
7582 PR gdb/20604:
7583 * gdb.base/quit.exp: New file.
7584
7585 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7586
7587 * .gitignore: New file.
7588
7589 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7590
7591 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7592 throughout.
7593
7594 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7595
7596 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7597
7598 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 * gdb.cp/casts.cc (decltype): Move it ...
7601 (main): ... with its call to ...
7602 * gdb.cp/casts03.cc: ... a new file.
7603 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7604
7605 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7606
7607 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7608
7609 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7610
7611 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7612 and sync up the test with tests in gas/testsuite/gas/ppc.
7613 * gdb.arch/powerpc-power.exp: Likewise.
7614
7615 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7616
7617 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7618
7619 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7620 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7623 make m1's definition to be different from m2's. Use 'dummy' as an
7624 argument for probe 'two'.
7625
7626 2016-09-10 Jon Beniston <jon@beniston.com>
7627
7628 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7629 for sim target.
7630
7631 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7632
7633 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7634 variable declaration.
7635 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7636 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7637 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7638 received HWCAP as its argument.
7639
7640 2016-09-06 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.base/new-ui-pending-input.c: New file.
7643 * gdb.base/new-ui-pending-input.exp: New file.
7644 * gdb.exp (clear_gdb_spawn_id): New procedure.
7645 (with_spawn_id): Check whether gdb_spawn_id exists before
7646 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7647 on exit.
7648
7649 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7650
7651 * gdb.base/float128.c: New file.
7652 * gdb.base/float128.exp: Likewise.
7653 * gdb.base/floatn.c: Likewise.
7654 * gdb.base/floatn.exp: Likewise.
7655
7656 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7657
7658 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7659
7660 2016-09-05 Pedro Alves <palves@redhat.com>
7661
7662 PR backtrace/19927
7663 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7664 unwinders are immediately called as side effect of "source" or
7665 "disable unwinder" commands.
7666 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7667
7668 2016-09-02 Yao Qi <yao.qi@linaro.org>
7669
7670 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7671 is true and $type is "float" or "double".
7672
7673 2016-09-02 Yao Qi <yao.qi@linaro.org>
7674
7675 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7676 true.
7677 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7678 * gdb.base/call-rt-st.exp: Likewise.
7679 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7680 return value instead of gdb,skip_float_test.
7681 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7682 (do_function_calls): Use its return value instead of
7683 gdb,skip_float_test.
7684 * gdb.base/finish.exp: Likewise.
7685 * gdb.base/funcargs.exp: Likewise.
7686 * gdb.base/return.exp: Likewise.
7687 * gdb.base/return2.exp: Likewise.
7688 * gdb.base/varargs.exp: Likewise.
7689 * lib/gdb.exp (gdb_skip_float_test): Change it to
7690 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7691
7692 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7693
7694 * gdb.multi/tids.exp: Test "thread apply all".
7695
7696 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7697
7698 * gdb.base/default.exp (tty): Remove.
7699
7700 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7701
7702 * gdb.python/py-recurse-unwind.c: New file.
7703 * gdb.python/py-recurse-unwind.py: New file.
7704 * gdb.python/py-recurse-unwind.exp: New file.
7705
7706 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7707
7708 * gdb.base/set-inferior-tty.exp: New file.
7709 * gdb.base/set-inferior-tty.c: New file.
7710
7711 2016-08-23 Pedro Alves <palves@redhat.com>
7712
7713 PR gdb/20494
7714 * gdb.base/new-ui-echo.c: New file.
7715 * gdb.base/new-ui-echo.exp: New file.
7716
7717 2016-08-23 Yao Qi <yao.qi@linaro.org>
7718
7719 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7720 gdbserver_spawn.
7721 * gdb.server/connect-without-multi-process.exp (do_test):
7722 Likewise.
7723
7724 2016-08-23 Yao Qi <yao.qi@linaro.org>
7725
7726 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7727 standalone_txt. Delete gdb_txt and standalone_txt on host
7728 and target. Spawn the binary on target. Copy files from
7729 target to host.
7730
7731 2016-08-22 Pedro Alves <palves@redhat.com>
7732
7733 PR gdb/20505
7734 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7735 with_test_prefix. Factor out bits to ...
7736 (test_no_vdso): ... this new procedure.
7737
7738 2016-08-19 Carl Love <cel@us.ibm.com>
7739
7740 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7741 maintaining separate logic for constructing the output path.
7742 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7743 * gdb.arch/ppc-dfp.exp: Likewise.
7744 * gdb.arch/ppc-fp.exp: Likewise.
7745 * gdb.arch/vsx-regs.exp: Likewise.
7746 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7747 binprefix for generating the additional binary files.
7748
7749 2016-08-19 Pedro Alves <palves@redhat.com>
7750
7751 * gdb.trace/mi-trace-frame-collected.exp
7752 (test_trace_frame_collected): On x32, expect two registers.
7753
7754 2016-08-18 Carl Love <cel@us.ibm.com>
7755
7756 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7757 and sync up the test with tests in gas/testsuite/gas/ppc.
7758 * gdb.arch/powerpc-power.exp: Likewise.
7759
7760 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7761
7762 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7763 expected error message.
7764
7765 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7766
7767 * gdb.multi/remove-inferiors.exp: New file.
7768 * gdb.multi/remove-inferiors.c: New file.
7769
7770 2016-08-12 Yao Qi <yao.qi@linaro.org>
7771
7772 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7773 argument list.
7774
7775 2016-08-10 Pedro Alves <palves@redhat.com>
7776
7777 PR gdb/19187
7778 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7779 setup_kfails.
7780
7781 2016-08-09 Pedro Alves <palves@redhat.com>
7782 Simon Marchi <simon.marchi@ericsson.com>
7783
7784 PR gdb/20418
7785 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7786 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7787
7788 2016-08-09 Pedro Alves <palves@redhat.com>
7789
7790 PR mi/20431
7791 * gdb.mi/mi-cmd-error.exp: New file.
7792
7793 2016-08-09 Pedro Alves <palves@redhat.com>
7794
7795 PR gdb/18653
7796 * gdb.base/signals-state-child.c: New file.
7797 * gdb.base/signals-state-child.exp: New file.
7798 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7799
7800 2016-08-09 Pedro Alves <palves@redhat.com>
7801
7802 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7803
7804 2016-08-03 Tom Tromey <tom@tromey.com>
7805
7806 PR python/18565:
7807 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7808
7809 2016-08-01 Yao Qi <yao.qi@linaro.org>
7810
7811 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7812 variable mode to "multi-process" if $multi_process is 1, otherwise
7813 set it to "single-process".
7814
7815 2016-08-01 Yao Qi <yao.qi@linaro.org>
7816
7817 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7818 * gdb.cp/cpexprs.exp: Likewise.
7819 * gdb.cp/m-static.exp: Likewise.
7820
7821 2016-07-26 Tom Tromey <tom@tromey.com>
7822
7823 PR python/20190:
7824 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7825 test.
7826
7827 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7828
7829 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7830 selecting assembly source files.
7831 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7832 assembly source files.
7833 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7834 assembly source files.
7835 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7836 selecting assembly source files.
7837
7838 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7839
7840 * gdb.base/new-ui.exp (do_test_invalid_args): New
7841 procedure.
7842
7843 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7844
7845 * gdb.btrace/reconnect.c: New file.
7846 * gdb.btrace/reconnect.exp: New file.
7847
7848 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7849
7850 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7851 to test_catch_syscall_group.
7852 (test_catch_syscall_group): New.
7853
7854 2016-07-21 Tom Tromey <tom@tromey.com>
7855
7856 * gdb.rust/simple.rs (main): Use empty struct expression.
7857 * gdb.rust/simple.exp: Add tests for empty struct expression.
7858
7859 2016-07-21 Yao Qi <yao.qi@linaro.org>
7860
7861 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7862 if gdb_skip_xml_test is true on some targets.
7863
7864 2016-07-21 Yao Qi <yao.qi@linaro.org>
7865
7866 * gdb.server/solib-list.exp: Unset last_loaded_file.
7867
7868 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7869
7870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7871 "step into captured_main (args)".
7872
7873 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7874
7875 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7876
7877 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7878
7879 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7880
7881 2016-07-19 Pedro Alves <palves@redhat.com>
7882
7883 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7884 * gdb.opt/inline-bt.exp: Likewise.
7885 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7886 additional_flags=-Winline.
7887 * gdb.opt/inline-locals.exp: Likewise.
7888 * gdb.opt/inline-markers.c (ATTR): Define.
7889 (inlined_fn): Use it.
7890
7891 2016-07-19 Yao Qi <yao.qi@linaro.org>
7892
7893 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7894 (test_with_self): Remove some code. Remove argument executable.
7895 (top-level): Use do_self_tests.
7896
7897 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7898 Don Breazeal <donb@codesourcery.com>
7899
7900 * gdb.base/maint.exp: Escape paths used in regular expressions.
7901 * gdb.stabs/weird.exp: Likewise.
7902
7903 2016-07-13 Tom Tromey <tom@tromey.com>
7904
7905 PR python/15620, PR python/18620:
7906 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7907 (test_bkpt_events): New procs.
7908
7909 2016-07-13 Tom Tromey <tom@tromey.com>
7910
7911 PR python/17698:
7912 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7913 test.
7914 (test_watchpoints): Likewise.
7915 (test_bkpt_pending): New proc.
7916
7917 2016-07-13 Tom Tromey <tom@tromey.com>
7918
7919 PR cli/18053:
7920 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7921 completion test.
7922
7923 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7926 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7927 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7928 f_label.
7929 (g): Rename g_end_lbl to g_label.
7930 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7931 low_pc and high_pc.
7932 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7933
7934 2016-07-12 Tom Tromey <tom@tromey.com>
7935
7936 PR python/19293:
7937 * gdb.python/py-unwind-maint.exp: Update tests.
7938
7939 2016-07-12 Yao Qi <yao.qi@linaro.org>
7940
7941 * lib/selftest-support.exp (selftest_setup): Match the output
7942 when captured_main is inlined.
7943
7944 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7945
7946 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7947 New variables.
7948 (print this%a, print this%b, print this): New tests.
7949 * gdb.fortran/derived-types.f90 (this): New object and
7950 initialization.
7951
7952 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7953
7954 * gdb.ada/arraydim.exp: Remove extra directory level in build
7955 directory.
7956
7957 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7958
7959 * lib/ada.exp: Remove extra directory level in build directory.
7960 * gdb.ada/cond_lang.exp: Likewise.
7961 * gdb.ada/exec_changed.exp: Likewise.
7962 * gdb.ada/lang_switch.exp: Likewise.
7963
7964 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7965
7966 * simple.rs: Add test for raw pointer subscripting.
7967 * simple.exp: Add test expectations.
7968
7969 2016-07-05 Yao Qi <yao.qi@linaro.org>
7970
7971 * gdb.mi/mi-reverse.exp: Match =record-started output.
7972
7973 2016-07-01 Pedro Alves <palves@redhat.com>
7974
7975 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7976 procedure.
7977 (jit_reader_test): Test the jit reader's unwinder.
7978 * gdb.base/jithost.c (jit_function_00_code): New global.
7979 (main): Use memcpy to fill in the mmapped code, instead of poking
7980 bytes manually here.
7981 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7982 value.
7983 (read_debug_info): Save the function's range.
7984 (read_sp): New function.
7985 (unwind_frame): Use it. Also unwind RBP.
7986 (get_frame_id): Use read_sp.
7987 (gdb_init_reader): Use calloc instead of malloc.
7988 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7989 parameter. Use gdb_test_multiple.
7990
7991 2016-07-01 Pedro Alves <palves@redhat.com>
7992 Antoine Tremblay <antoine.tremblay@ericsson.com>
7993
7994 * gdb.threads/process-dies-while-detaching.c: New file.
7995 * gdb.threads/process-dies-while-detaching.exp: New file.
7996
7997 2016-07-01 Pedro Alves <palves@redhat.com>
7998
7999 * gdb.multi/watchpoint-multi-exit.c: New file.
8000 * gdb.multi/watchpoint-multi-exit.exp: New file.
8001
8002 2016-06-30 Pedro Alves <palves@redhat.com>
8003
8004 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8005 unset inferior_spawn_id.
8006
8007 2016-06-30 Pedro Alves <palves@redhat.com>
8008
8009 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8010 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8011
8012 2016-06-29 Yao Qi <yao.qi@linaro.org>
8013
8014 * gdb.base/return.c: Add copyright header.
8015
8016 2016-06-29 Tom Tromey <tom@tromey.com>
8017
8018 PR python/20129:
8019 * gdb.python/py-framefilter.exp: Add tests for setting priority
8020 and disabling of non-existent frame filter.
8021
8022 2016-06-29 Yao Qi <yao.qi@linaro.org>
8023
8024 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8025 0x0f07ff.
8026
8027 2016-06-28 Yao Qi <yao.qi@linaro.org>
8028
8029 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8030 triplets. Start gdb, execute catch syscall, and continue. Check
8031 gdb's output to determine catch syscall is supported.
8032
8033 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8034
8035 * gdb.rust/simple.rs: Add test for returning unit in a function.
8036 * gdb.rust/simple.exp: Add expectation for functions returning
8037 unit.
8038
8039 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8040
8041 * gdb.python/py-breakpoint-create-fail.c,
8042 gdb.python/py-breakpoint-create-fail.exp,
8043 gdb.python/py-breakpoint-create-fail.py: New testcase.
8044
8045 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8046
8047 PR gdb/20239
8048 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8049 * gdb.rust/simple.exp: Add test expectations for new NonZero
8050 tests.
8051
8052 2016-06-24 David Taylor <dtaylor@emc.com>
8053
8054 * gdb.base/offsets.exp: New file.
8055 * gdb.base/offsets.c: New file.
8056
8057 2016-06-23 Tom Tromey <tom@tromey.com>
8058
8059 PR gdb/16483:
8060 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8061 before any filters are loaded.
8062
8063 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8064
8065 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8066 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8067 structs.
8068 * gdb.fortran/derived-type-function.exp: New file.
8069 * gdb.fortran/derived-type-function.f90: New file.
8070
8071
8072 2016-06-21 Pedro Alves <palves@redhat.com>
8073
8074 * gdb.base/new-ui.exp: New file.
8075 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8076 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8077 (with_spawn_id): New procedure.
8078
8079 2016-06-21 Pedro Alves <palves@redhat.com>
8080
8081 * gdb.mi/mi-exec-run.exp: New file.
8082
8083 2016-06-21 Pedro Alves <palves@redhat.com>
8084
8085 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8086 breakpoint command's output on the main UI.
8087 (test_break): New procedure, factored out from calls in the top
8088 level.
8089 (top level): Use foreach_with_prefix to test MI as main UI and as
8090 separate UI.
8091
8092 2016-06-21 Pedro Alves <palves@redhat.com>
8093
8094 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8095 (test_awatch_creation_and_listing)
8096 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8097 Remove 'type' parameter.
8098 (test_watchpoint_all): New parameter mi_mode. Remove
8099 with_test_prefix.
8100 (top level): Use foreach_with_prefix, and add main/separate UI MI
8101 testing axis.
8102
8103 2016-06-21 Pedro Alves <palves@redhat.com>
8104
8105 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8106 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8107 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8108 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8109 (gdb_main_spawn_id, mi_spawn_id): Declare and
8110 comment.
8111 (mi_create_inferior_pty): New procedure,
8112 factored out from default_mi_gdb_start.
8113 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8114 procedures.
8115 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8116 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8117 Use mi_create_inferior_pty.
8118 (mi_gdb_start): Use eval to pass down args list.
8119
8120 2016-06-21 Pedro Alves <palves@redhat.com>
8121
8122 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8123 * gdb.opt/inline-cmds.exp: Add MI tests.
8124
8125 2016-06-21 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8128
8129 2016-06-21 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8132 (top level): Use it instead of mi_execute_to.
8133
8134 2016-06-21 Pedro Alves <palves@redhat.com>
8135
8136 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8137 (cont_handler_str): New.
8138 (signal_stop_handler): Set stop_handler_str instead of printing to
8139 stdout.
8140 (continue_handler): Set cont_handler_str instead of printing to
8141 stdout.
8142 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8143 mi_send_resuming_command. Print stop_handler_str and
8144 cont_handler_str instead of expecting the python events print
8145 directly.
8146
8147 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8148
8149 * gdb.base/jit-reader.exp: New file.
8150 * gdb.base/jithost.c: New file.
8151 * gdb.base/jithost.h: New file.
8152 * gdb.base/jitreader.c : New file.
8153 * gdb.base/jit-protocol.h: New file.
8154
8155 2016-06-17 Yao Qi <yao.qi@linaro.org>
8156
8157 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8158 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8159 and detach-on-fork. Adjust tests.
8160 (top level): Invoke break_cond_on_syscall with combinations of
8161 syscall, follow-fork-mode and detach-on-fork.
8162
8163 2016-06-17 Yao Qi <yao.qi@linaro.org>
8164
8165 * gdb.base/step-over-exit.c: New.
8166 * gdb.base/step-over-exit.exp: New.
8167
8168 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8169
8170 * gdb.base/float.exp: Add target check for nds32*-*-*.
8171 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8172
8173 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8174
8175 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8176 for unsupported target features.
8177 * gdb.base/call-rt-st.exp: Likewise.
8178 * gdb.base/call-sc.exp: Likewise.
8179 * gdb.base/call-signal-resume.exp: Likewise.
8180 * gdb.base/call-strs.exp: Likewise.
8181 * gdb.base/callexit.exp: Likewise.
8182 * gdb.base/callfuncs.exp: Likewise.
8183 * gdb.base/nodebug.exp: Likewise.
8184 * gdb.base/printcmds.exp: Likewise.
8185 * gdb.base/ptype.exp: Likewise.
8186 * gdb.base/structs.exp: Likewise.
8187 * gdb.base/unwindonsignal.exp: Likewise.
8188 * gdb.cp/gdb2495.exp: Likewise.
8189 * gdb.cp/templates.exp: Likewise.
8190 * gdb.cp/virtfunc.exp: Likewise.
8191 * gdb.threads/hand-call-in-threads.exp: Likewise.
8192 * gdb.threads/interrupted-hand-call.exp: Likewise.
8193 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8194
8195 2016-06-10 Tom Tromey <tom@tromey.com>
8196
8197 PR rust/20110:
8198 * gdb.rust/expr.exp: Add test for integer constant larger than
8199 i32.
8200
8201 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8202
8203 * gdb.fortran/nested-funcs.exp: New.
8204 * gdb.fortran/nested-funcs.f90: New.
8205
8206 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8207
8208 * gdb.base/examine-backward.c: New file.
8209 * gdb.base/examine-backward.exp: New file.
8210
8211 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8212
8213 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8214 matching.
8215
8216 2016-06-02 Tom Tromey <tom@tromey.com>
8217
8218 PR python/18984:
8219 * gdb.python/py-shared.exp: Add solib_name test.
8220
8221 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8222
8223 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8224
8225 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8226
8227 PR c++/19893
8228 * gdb.dwarf2/implref.exp: Rename to...
8229 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8230 * gdb.dwarf2/implref-array.c: New file.
8231 * gdb.dwarf2/implref-array.exp: Likewise.
8232 * gdb.dwarf2/implref-global.c: Likewise.
8233 * gdb.dwarf2/implref-global.exp: Likewise.
8234 * gdb.dwarf2/implref-struct.c: Likewise.
8235 * gdb.dwarf2/implref-struct.exp: Likewise.
8236
8237 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8238
8239 * gdb.trace/trace-condition.exp: Add 64bit tests.
8240
8241 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8242
8243 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8244 bits types.
8245 (main): Adapt to 8 to 64 bits types.
8246 * gdb.trace/trace-condition.exp: Add new tests.
8247
8248 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8249
8250 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8251
8252 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8253
8254 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8255 Move condition tests...
8256 * gdb.trace/trace-condition.exp: Here.
8257
8258 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8259
8260 * gdb.trace/trace-condition.exp: Add counter-case tests.
8261
8262 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8263
8264 PR c++/15231
8265 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8266 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8267
8268 2016-05-27 Pedro Alves <palves@redhat.com>
8269
8270 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8271 New procedure.
8272 (top level): Call it, and bail out of DejaGnu is known to be bad.
8273
8274 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8275
8276 * gdb.base/whatis.c: Extend the test case.
8277 * gdb.base/whatis.exp: Add additional tests.
8278
8279 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8280
8281 * gdb.fortran/type.f90: Add pointer variable.
8282 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8283
8284 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8285
8286 * gdb.fortran/vla-type.exp: Fix testcase name.
8287
8288 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8289
8290 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8291
8292 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8293
8294 * gdb.fortran/type.f90: Add nested structures.
8295 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8296 * gdb.fortran/derived-type.exp: Adapt expected output.
8297 * gdb.fortran/vla-type.exp: Adapt expected output.
8298
8299 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8300
8301 * gdb.fortran/whatis_type.exp: Adapt expected output.
8302
8303 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8304
8305 * gdb.fortran/print_type.exp: Fix expected output.
8306 * gdb.fortran/whatis_type.exp: Fix expected output.
8307
8308 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8309
8310 * gdb.fortran/whatis_type.exp: Use multi_line.
8311
8312 2016-05-24 Tom Tromey <tom@tromey.com>
8313
8314 PR python/17386:
8315 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8316 use value as an index.
8317
8318 2016-05-23 Tom Tromey <tom@tromey.com>
8319
8320 PR python/17981:
8321 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8322 no-breakpoint case.
8323
8324 2016-05-24 Pedro Alves <palves@redhat.com>
8325
8326 PR gdb/19828
8327 * gdb.threads/clone-attach-detach.c: New file.
8328 * gdb.threads/clone-attach-detach.exp: New file.
8329
8330 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8331
8332 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8333
8334 2016-05-23 Tom Tromey <tom@tromey.com>
8335
8336 PR python/19438, PR python/18393:
8337 * gdb.python/py-progspace.exp: Add "dir" test.
8338 * gdb.python/py-objfile.exp: Add "dir" test.
8339
8340 2016-05-23 Yao Qi <yao.qi@linaro.org>
8341
8342 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8343 * gdb.arch/thumb2-it.exp: Likewise.
8344
8345 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8346
8347 * gdb.mi/mi-threads-interrupt.c: New file.
8348 * gdb.mi/mi-threads-interrupt.exp: New file.
8349
8350 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8351
8352 PR gdb/18077
8353 * gdb.mi/mi-async-run.exp: New file.
8354 * gdb.mi/mi-async-run.c: New file.
8355
8356 2016-05-17 Tom Tromey <tom@tromey.com>
8357 Manish Goregaokar <manishsmail@gmail.com>
8358
8359 * lib/rust-support.exp: New file.
8360 * lib/gdb.exp (skip_rust_tests): New proc.
8361 (build_executable_from_specs): Handle rust.
8362 * lib/future.exp (gdb_find_rustc): New proc.
8363 (gdb_default_target_compile): Handle rust.
8364 * gdb.rust/expr.exp: New file.
8365 * gdb.rust/generics.exp: New file.
8366 * gdb.rust/generics.rs: New file.
8367 * gdb.rust/methods.exp: New file.
8368 * gdb.rust/methods.rs: New file.
8369 * gdb.rust/modules.exp: New file.
8370 * gdb.rust/modules.rs: New file.
8371 * gdb.rust/simple.exp: New file.
8372 * gdb.rust/simple.rs: New file.
8373
8374 2016-05-17 Tom Tromey <tom@tromey.com>
8375
8376 * gdb.base/default.exp (set language): Add rust.
8377
8378 2016-05-17 Tom Tromey <tom@tromey.com>
8379
8380 * gdb.gdb/unittest.exp: New file.
8381
8382 2016-05-16 Yao Qi <yao.qi@linaro.org>
8383
8384 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8385 shell_prompt. Update shell_prompt_re.
8386
8387 2016-05-12 Doug Evans <dje@google.com>
8388
8389 PR symtab/19999
8390 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8391 $options when building executable.
8392 * gdb.dwarf2/fission-loclists-pie.S: New file.
8393 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8394
8395 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8396
8397 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8398 of [is_remote target],
8399
8400 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8401
8402 * lib/gdb.exp (use_gdb_stub): New procedure.
8403
8404 2016-05-03 Yunlian Jiang <yunlian@google.com>
8405 Doug Evans <dje@google.com>
8406
8407 PR symtab/19914
8408 * gdb.dwarf2/dwp-sepdebug.c: New file.
8409 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8410
8411 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8412
8413 * gdb.base/detach.exp: Remove is_remote check.
8414
8415 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8416
8417 * gdb.base/annota-input-while-running.exp: Don't check for
8418 [is_remote target]. Enable annotations after running to main.
8419 Remove unused "set test..." line.
8420
8421 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8422
8423 * gdb.trace/trace-enable-disable.exp: New file.
8424 * gdb.trace/trace-enable-disable.c: New file.
8425
8426 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8427
8428 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8429 use it in info sharedlibrary test.
8430 * gdb.trace/ftrace-lock.exp: Likewise.
8431 * gdb.trace/ftrace.exp: Likewise.
8432 * gdb.trace/range-stepping.exp: Likewise.
8433 * gdb.trace/trace-break.exp: Likewise.
8434 * gdb.trace/trace-condition.exp: Likewise.
8435 * gdb.trace/trace-mt.exp: Likewise.
8436
8437 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8438
8439 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8440 (gdb_load_shlib): ... this.
8441 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8442 gdb_load_shlib.
8443 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8444 * gdb.base/ctxobj.exp: Likewise.
8445 * gdb.base/dprintf-pending.exp: Likewise.
8446 * gdb.base/dso2dso.exp: Likewise.
8447 * gdb.base/fixsection.exp: Likewise.
8448 * gdb.base/gcore-relro.exp: Likewise.
8449 * gdb.base/gdb1555.exp: Likewise.
8450 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8451 * gdb.base/gnu-ifunc.exp: Likewise.
8452 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8453 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8454 * gdb.base/pending.exp: Likewise.
8455 * gdb.base/print-file-var.exp: Likewise.
8456 * gdb.base/print-symbol-loading.exp: Likewise.
8457 * gdb.base/shlib-call.exp: Likewise.
8458 * gdb.base/shreloc.exp: Likewise.
8459 * gdb.base/so-impl-ld.exp: Likewise.
8460 * gdb.base/solib-disc.exp: Likewise.
8461 * gdb.base/solib-nodir.exp: Likewise.
8462 * gdb.base/solib-overlap.exp: Likewise.
8463 * gdb.base/solib-symbol.exp: Likewise.
8464 * gdb.base/solib-weak.exp (do_test): Likewise.
8465 * gdb.base/sym-file.exp: Likewise.
8466 * gdb.base/symtab-search-order.exp: Likewise.
8467 * gdb.base/type-opaque.exp: Likewise.
8468 * gdb.base/unload.exp: Likewise.
8469 * gdb.base/watchpoint-solib.exp: Likewise.
8470 * gdb.compile/compile.exp: Likewise.
8471 * gdb.cp/gdb2384.exp: Likewise.
8472 * gdb.cp/infcall-dlopen.exp: Likewise.
8473 * gdb.cp/re-set-overloaded.exp: Likewise.
8474 * gdb.fortran/library-module.exp: Likewise.
8475 * gdb.opt/solib-intra-step.exp: Likewise.
8476 * gdb.python/py-finish-breakpoint.exp: Likewise.
8477 * gdb.python/py-shared.exp: Likewise.
8478 * gdb.reverse/solib-precsave.exp: Likewise.
8479 * gdb.reverse/solib-reverse.exp: Likewise.
8480 * gdb.server/solib-list.exp: Likewise.
8481 * gdb.threads/dlopen-libpthread.exp: Likewise.
8482 * gdb.threads/tls-shared.exp: Likewise.
8483 * gdb.threads/tls-so_extern.exp: Likewise.
8484 * gdb.trace/change-loc.exp: Likewise.
8485 * gdb.trace/ftrace-lock.exp: Likewise.
8486 * gdb.trace/ftrace.exp: Likewise.
8487 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8488 * gdb.trace/pending.exp: Likewise.
8489 * gdb.trace/range-stepping.exp: Likewise.
8490 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8491 (strace_info_marker): Likewise.
8492 (strace_probe_marker): Likewise.
8493 (strace_trace_on_same_addr): Likewise.
8494 (strace_trace_on_diff_addr): Likewise.
8495 * gdb.trace/trace-break.exp: Likewise.
8496 * gdb.trace/trace-condition.exp: Likewise.
8497 * gdb.trace/trace-mt.exp: Likewise.
8498
8499 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8500
8501 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8502 result of gdb_remote_download.
8503 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8504 * gdb.base/dso2dso.exp: Likewise.
8505 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8506 * gdb.base/print-file-var.exp: Likewise.
8507 * gdb.base/shlib-call.exp: Likewise.
8508 * gdb.base/shreloc.exp: Likewise.
8509 * gdb.base/solib-overlap.exp: Likewise.
8510 * gdb.base/solib-weak.exp (do_test): Likewise.
8511 * gdb.base/unload.exp: Likewise.
8512
8513 2016-04-27 Yao Qi <yao.qi@linaro.org>
8514
8515 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8516 exists.
8517
8518 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8519
8520 * vla-type.exp: Print structure from toplevel.
8521
8522 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8523
8524 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8525 of dynamic types.
8526 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8527 of dynamic types.
8528
8529 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8530
8531 * gdb.fortran/vla-type.f90: New file.
8532 * gdb.fortran/vla-type.exp: New file.
8533
8534 2016-04-25 Yao Qi <yao.qi@linaro.org>
8535
8536 * gdb.base/branch-to-self.c: New file.
8537 * gdb.base/branch-to-self.exp: New file.
8538
8539 2016-04-22 Yao Qi <yao.qi@linaro.org>
8540
8541 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8542 more after $hex.
8543
8544 2016-04-22 Yao Qi <yao.qi@linaro.org>
8545
8546 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8547 * gdb.base/annota3.exp: Likewise.
8548
8549 2016-04-22 Yao Qi <yao.qi@linaro.org>
8550
8551 * gdb.reverse/step-precsave.exp: Do one step and test program
8552 stops in "callee" and do multiple steps until program goes out
8553 of "callee".
8554 * gdb.reverse/step-reverse.exp: Likewise.
8555
8556 2016-04-22 Yao Qi <yao.qi@linaro.org>
8557
8558 * gdb.trace/signal.exp: Also pass if
8559 $tracepoint_hits($i) > $iterations.
8560
8561 2016-04-22 Yao Qi <yao.qi@linaro.org>
8562
8563 * gdb.trace/signal.c: New file.
8564 * gdb.trace/signal.exp: New file.
8565
8566 2016-04-19 Doug Evans <xdje42@gmail.com>
8567
8568 * gdb.base/bad-file.exp: New file.
8569
8570 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8571
8572 * gdb.dwarf2/implref.exp: New file.
8573
8574 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8575
8576 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8577 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8578 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8579 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8580 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8581 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8582 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8583 * lib/fortran.exp (fortran_int4): New procedure.
8584 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8585 (fortran_logical4): Likewise.
8586
8587 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8588
8589 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8590
8591 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8592
8593 * lib/compiler.c: Add Intel specific preprocessor macros.
8594 * lib/compiler.cc: Likewise.
8595
8596 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8597
8598 * gdb.server/connect-with-no-symbol-file.c: New file.
8599 * gdb.server/connect-with-no-symbol-file.exp: New file.
8600
8601 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8602
8603 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8604
8605 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8606
8607 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8608 standard output directory.
8609
8610 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8611
8612 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8613
8614 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8615
8616 * gdb.btrace/instruction_history.c (loop): Add declaration.
8617
8618 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8619
8620 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8621
8622 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8623
8624 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8625 parentheses to print.
8626 (continue_handler): Likewise.
8627
8628 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8629
8630 * gdb.server/solib-list.exp: Remove is_remote check.
8631 Pass shlib= to gdb_compile. Don't link shared library with
8632 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8633 Run binary filename through "readlink -f" on the target.
8634
8635 2016-04-08 Pedro Alves <palves@redhat.com>
8636
8637 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8638 interpreter filename as argument to gdbserver_spawn.
8639 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8640 Return empty if $last_loaded_file does not exist.
8641
8642 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8643
8644 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8645 * gdb.base/jit-main.c: Use exit after usage.
8646
8647 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8648
8649 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8650 GDBHISTSIZE prior to the tests.
8651 * gdb.base/gdbinit-history.exp: Likewise.
8652
8653 2016-04-07 Pedro Alves <palves@redhat.com>
8654
8655 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8656 instead of build_executable. Use gdb_load_shlibs.
8657
8658 2016-04-07 Yao Qi <yao.qi@linaro.org>
8659
8660 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8661 Execute "si" command.
8662
8663 2016-04-07 Yao Qi <yao.qi@linaro.org>
8664
8665 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8666 number instead of the comments on some line.
8667
8668 2016-04-06 Don Breazeal <donb@codesourcery.com>
8669
8670 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8671 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8672
8673 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8674
8675 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8676 standard_output_file. Remove unused binfile variable.
8677
8678 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8679
8680 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8681 * gdb.python/py-mi-objfile.exp: Match "list main" output
8682 in console format.
8683
8684 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8685
8686 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8687 absolute.
8688
8689 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8690
8691 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8692 absolute.
8693 * gdb.trace/ftrace.exp: Likewise.
8694 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8695 targets as well.
8696 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8697 (gdb_load_shlibs): Copy libraries to test directory when testing
8698 natively. Only set solib-search-path if testing remotely.
8699 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8700
8701 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8702
8703 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8704 gdb_download. Use it even if the target is not remote.
8705 * gdb.base/jit.exp (compile_jit_test): Likewise.
8706 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8707 output directory if the destination board is local, otherwise use
8708 the standard remote_download from DejaGnu.
8709 (gdb_download): Remove.
8710 (gdb_load_shlibs): Use gdb_remote_download instead of
8711 gdb_download.
8712 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8713 Use gdb_remote_download instead of gdb_download. Use it even if
8714 the target is not remote.
8715 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8716 instead of gdb_download.
8717
8718 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8719
8720 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8721 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8722 run.
8723
8724 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8725
8726 PR gdb/19820
8727 * gdb.base/printcmds.exp: Add artificial arrays tests.
8728
8729 2016-03-31 Pedro Alves <palves@redhat.com>
8730
8731 PR gdb/19858
8732 * gdb.base/jit-main.c: Include unistd.h.
8733 (ATTACH): Define to 0 if not already defined.
8734 (wait_for_gdb, mypid): New globals.
8735 (WAIT_FOR_GDB): New macro.
8736 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8737 some breakpoint locations.
8738 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8739 New procedures.
8740 (one_jit_test): Add REATTACH parameter, and handle it. Use
8741 continue_to_test_location.
8742 (top level): Test attach, and adjusts calls to one_jit_test.
8743
8744 2016-03-31 Pedro Alves <palves@redhat.com>
8745
8746 PR gdb/19858
8747 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8748 BINSUFFIX parameter, and handle it.
8749 (top level): Adjust calls compile_jit_test.
8750
8751 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8752
8753 PR python/19743
8754 * gdb.python/py-mi-events-gdb.py: New file.
8755 * gdb.python/py-mi-events.c: New file.
8756 * gdb.python/py-mi-events.exp: New file.
8757
8758 2016-03-30 Yao Qi <yao.qi@linaro.org>
8759
8760 * gdb.reverse/until-precsave.exp: Match function name only.
8761 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8762 Move malloc to a condition block.
8763 * gdb.reverse/until-reverse.exp: Match function name only.
8764
8765 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8766
8767 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8768 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8769 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8770 variable for GPR 0 instead of assuming it is register 0.
8771 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8772 * lib/trace-support.exp: Add s390 registers.
8773
8774 2016-03-29 Yao Qi <yao.qi@linaro.org>
8775
8776 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8777
8778 2016-03-24 Yao Qi <yao.qi@linaro.org>
8779
8780 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8781 test message.
8782
8783 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8784
8785 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8786 maintaining separate logic for constructing the output path.
8787
8788 2016-03-16 Don Breazeal <donb@codesourcery.com>
8789
8790 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8791 Retry fork and waitpid on interrupted system call errors.
8792 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8793 Use with_timeout_factor to increase timeout by factor of 10.
8794
8795 2016-03-15 Don Breazeal <donb@codesourcery.com>
8796
8797 * gdb.cp/scope-err.cc: New test program.
8798 * gdb.cp/scope-err.exp: New test script.
8799 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8800 lines and "set breakpoint here" comment.
8801 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8802 Fixed some whitespace and format issues.
8803 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8804 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8805
8806 2016-03-15 Doug Evans <dje@google.com>
8807
8808 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8809 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8810 All callers updated. Add tests for enums, mixed flags register.
8811
8812 2016-03-15 Doug Evans <dje@google.com>
8813
8814 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8815 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8816
8817 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8818
8819 * gdb.base/default.exp: Add $_as_string to the list of expected
8820 convenience functions.
8821
8822 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8823
8824 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8825
8826 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8827
8828 * gdb.python/py-as-string.exp: New file.
8829 * gdb.python/py-as-string.c: New file.
8830
8831 2016-03-09 Pedro Alves <palves@redhat.com>
8832
8833 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8834 signal" -> "Thread NN received signal" output change.
8835 * gdb.threads/ia64-sigill.exp: Likewise.
8836 * gdb.threads/linux-dp.exp: Likewise.
8837 * gdb.threads/manythreads.exp: Likewise.
8838 * gdb.threads/pending-step.exp: Likewise.
8839 * gdb.threads/print-threads.exp: Likewise.
8840 * gdb.threads/sigstep-threads.exp: Likewise.
8841 * gdb.threads/staticthreads.exp: Likewise.
8842 * gdb.threads/tls.exp: Likewise.
8843
8844 2016-03-09 Pedro Alves <palves@redhat.com>
8845
8846 * gdb.base/command-line-input.exp: New file.
8847
8848 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8849
8850 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8851 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8852 * gdb.trace/pending.exp: Accept leading dot before function name.
8853 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8854 * lib/trace-support.exp: Set registers for ppc.
8855
8856 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8857
8858 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8859 use it for disassembly; accept .main in addition to main in backtrace.
8860
8861 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8862 Marcin Kościelnicki <koriakin@0x04.net>
8863
8864 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8865 (gdb_recursion_test_ptr): New global variable.
8866 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8867 gdb_recursion_test.
8868 (gdb_c_test): Ditto.
8869
8870 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8871
8872 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8873 ordering.
8874
8875 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8876
8877 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8878 (bar): Add bar_start_lbl label.
8879 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8880 of foo/bar for emitting DWARF and tracing.
8881
8882 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8883
8884 * analyze-racy-logs.py: Set executable bit.
8885
8886 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8887
8888 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8889 (CHECK_TARGET_TMP): Likewise.
8890 (check-single-racy): New rule.
8891 (check-parallel-racy): Likewise.
8892 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8893 (do-check-parallel-racy): New rule.
8894 (check-racy/%.exp): Likewise.
8895 * README (Racy testcases): New section.
8896 * analyze-racy-logs.py: New file.
8897
8898 2016-03-03 Doug Evans <dje@google.com>
8899
8900 * gdb.base/skip.exp: Use with_test_prefix.
8901
8902 2016-03-03 Yao Qi <yao.qi@linaro.org>
8903
8904 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8905 Invoke step_over_syscall "clone" and break_cond_on_syscall
8906 "clone".
8907 * gdb.base/step-over-clone.c: New file.
8908
8909 2016-03-03 Yao Qi <yao.qi@linaro.org>
8910
8911 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8912 code format.
8913
8914 2016-03-03 Yao Qi <yao.qi@linaro.org>
8915
8916 * gdb.base/disp-step-fork.c: Rename to ...
8917 * gdb.base/step-over-fork.c: ... it. New file.
8918 * gdb.base/disp-step-vfork.c: Rename to ...
8919 * gdb.base/step-over-vfork.c: ... it. New file.
8920 * gdb.base/disp-step-syscall.exp: Rename to ...
8921 * gdb.base/step-over-syscall.exp: ... it. New file.
8922 (disp_step_cross_syscall): Rename to ...
8923 (step_over_syscall): ... it.
8924
8925 2016-03-03 Yao Qi <yao.qi@linaro.org>
8926
8927 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8928 If target supports condition evaluation on target, invoke
8929 break_cond_on_syscall for fork and vfork.
8930
8931 2016-03-03 Yao Qi <yao.qi@linaro.org>
8932
8933 * gdb.base/disp-step-syscall.exp: Don't invoke
8934 support_displaced_stepping.
8935 (disp_step_cross_syscall): Test with displaced stepping off and
8936 on if supported.
8937
8938 2016-03-03 Yao Qi <yao.qi@linaro.org>
8939
8940 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8941 proc.
8942 (setup): New proc.
8943 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8944 and setup.
8945
8946 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8947
8948 * gdb.fortran/vla-history.exp: Remove breakpoint.
8949
8950 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8951
8952 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8953 exceeds timeout.
8954
8955 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8956
8957 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8958 breakpoint.
8959
8960 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8961
8962 * gdb.mi/vla.f90: Nullify pointer after declaration.
8963
8964 2016-03-01 Pedro Alves <palves@redhat.com>
8965
8966 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8967
8968 2016-03-01 Pedro Alves <palves@redhat.com>
8969
8970 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8971 before anything else.
8972 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8973 _GNU_SOURCE here.
8974 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8975 before anything else.
8976 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8977
8978 2016-03-01 Pedro Alves <palves@redhat.com>
8979
8980 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8981
8982 2016-03-01 Yao Qi <yao.qi@linaro.org>
8983
8984 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8985 prepare_for_testing.
8986
8987 2016-03-01 Yao Qi <yao.qi@linaro.org>
8988
8989 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8990
8991 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8992
8993 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8994 manually constructing the output path.
8995
8996 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8997
8998 * gdb.arch/s390-stackless.S: New.
8999 * gdb.arch/s390-stackless.exp: New.
9000
9001 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9002
9003 * gdb.dlang/circular.c: New file.
9004 * gdb.dlang/circular.exp: New file.
9005
9006 2016-02-26 Yao Qi <yao.qi@linaro.org>
9007
9008 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9009 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9010 (testcases): Update.
9011
9012 2016-02-26 Yao Qi <yao.qi@linaro.org>
9013
9014 * gdb.reverse/aarch64.c: Rename to ...
9015 * gdb.reverse/insn-reverse.c: ... it.
9016 * gdb.reverse/aarch64.exp: Rename to ...
9017 * gdb.reverse/insn-reverse.exp: ... it.
9018
9019 2016-02-26 Yao Qi <yao.qi@linaro.org>
9020
9021 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9022 (testcase_ftype): New.
9023 (testcases): New array.
9024 (n_testcases): New.
9025 (main): Call each element in testcases.
9026 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9027 (read_testcase): New.
9028 Do the tests in a loop.
9029
9030 2016-02-25 Yao Qi <yao.qi@linaro.org>
9031
9032 * gdb.base/branches.c: Remove.
9033
9034 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9035
9036 PR gdb/13808
9037 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9038
9039 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9040
9041 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9042
9043 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9044
9045 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9046 change x86_64 call_insn to 'callq'.
9047
9048 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9049
9050 * gdb.trace/tfile-avx.c: Move to...
9051 * gdb.trace/tracefile-pseudo-reg.c: Here.
9052 * gdb.trace/tfile-avx.exp: Move to...
9053 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9054
9055 2016-02-24 Gary Benson <gbenson@redhat.com>
9056
9057 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9058 message on attach.
9059
9060 2016-02-23 Doug Evans <dje@google.com>
9061
9062 * gdb.base/skip.c (test_skip): New function.
9063 (end_test_skip_file_and_function): New function.
9064 (test_skip_file_and_function): New function.
9065 * gdb.base/skip1.c (test_skip): New function.
9066 (skip1_test_skip_file_and_function): New function.
9067 * gdb.base/skip.exp: Add tests for new skip options.
9068 * gdb.base/skip-solib.exp: Update expected output.
9069 * gdb.perf/skip-command.cc: New file.
9070 * gdb.perf/skip-command.exp: New file.
9071 * gdb.perf/skip-command.py: New file.
9072
9073 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9074
9075 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9076 info registers pattern.
9077
9078 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9079
9080 * lib/future.exp: Add D support.
9081 (gdb_find_gdc): New proc.
9082 (gdb_default_target_compile): Add D support.
9083
9084 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9085
9086 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9087 user+system time.
9088 (trace_speed_test): Determine the iteration count for a time
9089 between 15..30 seconds.
9090
9091 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9092
9093 * gdb.arch/i386-mpx-sigsegv.c: New file.
9094 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9095 * gdb.arch/i386-mpx-simple_segv.c: New file.
9096 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9097
9098 2016-02-18 Yao Qi <yao.qi@linaro.org>
9099
9100 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9101 Don't call setup_kfail.
9102
9103 2016-02-18 Yao Qi <yao.qi@linaro.org>
9104
9105 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9106 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9107
9108 2016-02-16 Doug Evans <dje@google.com>
9109
9110 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9111 * gdb.base/skip1.c: Ditto.
9112 * gdb.base/skip.exp: Whitespace cleanup.
9113
9114 2016-02-16 Don Breazeal <donb@codesourcery.com>
9115
9116 PR remote/19496
9117 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9118 Remove kfail for PR remote/19496.
9119
9120 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9121
9122 * lib/gdb.exp (standard_temp_file): Return a path specific to
9123 the runtest invocation.
9124
9125 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9126
9127 * gdb.trace/save-trace.exp: Change relative path to be in the
9128 standard output directory.
9129
9130 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9131
9132 * gdb.arch/i386-prologue.c: Add missing prototypes.
9133
9134 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9135
9136 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9137 * gdb.arch/i386-prologue.exp: Likewise.
9138 * gdb.arch/i386-size.exp: Likewise.
9139
9140 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9141
9142 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9143 define object file path.
9144 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9145 file path.
9146 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9147 standard_output_file to define binfile.
9148
9149 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9150
9151 Fix compatibility with recent gfortran-5.3.1.
9152 * gdb.fortran/vla-history.exp (print vla1 allocated)
9153 (print vla2 allocated, print $2, print $3): Remove
9154 (print $4): Rename to ...
9155 (print $2): ... here.
9156 (print $9): Rename to ...
9157 (print $5): ... here.
9158 (print $10): Rename to ...
9159 (print $6): ... here.
9160 * gdb.fortran/vla.f90: Add pvla initialization.
9161
9162 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9163
9164 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9165 New test.
9166 * gdb.fortran/vla-value-sub.exp: Likewise.
9167
9168 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9169
9170 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9171
9172 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9173
9174 * i386-biarch-core.exp: Define corefile using
9175 standard_output_file.
9176
9177 2016-02-12 Yao Qi <yao.qi@linaro.org>
9178
9179 * gdb.arch/arm-single-step-kernel-helper.c: New.
9180 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9181
9182 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9183
9184 * gdb.btrace/tailcall-only.exp: New.
9185 * gdb.btrace/tailcall-only.c: New.
9186 * gdb.btrace/x86_64-tailcall-only.S: New.
9187 * gdb.btrace/i686-tailcall-only.S: New.
9188
9189 2016-02-11 Pedro Alves <palves@redhat.com>
9190
9191 * README (Parallel testing): Add missing double quotes.
9192
9193 2016-02-11 Pedro Alves <palves@redhat.com>
9194
9195 * README (Parallel testing): New section.
9196 (GDB_PARALLEL): Rewrite.
9197 (FORCE_PARALLEL): Document.
9198
9199 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9200
9201 * gdb.trace/tfile-avx.c: New test.
9202 * gdb.trace/tfile-avx.exp: New test.
9203
9204 2016-02-09 Keith Seitz <keiths@redhat.com>
9205
9206 PR breakpoints/19546
9207 * gdb.base/infcall-exec.c: New file.
9208 * gdb.base/infcall-exec2.c: New file.
9209 * gdb.base/infcall-exec.exp: New file.
9210
9211 2016-02-09 Keith Seitz <keiths@redhat.com>
9212
9213 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9214 (toplevel): Call test_bkpt_address.
9215
9216 2016-02-09 Keith Seitz <keiths@redhat.com>
9217
9218 PR python/19506
9219 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9220 (toplevel): Call test_bkpt_address.
9221
9222 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9223
9224 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9225 to AC_OUTPUT.
9226 * configure: Regenerate.
9227
9228 2016-02-09 Pedro Alves <palves@redhat.com>
9229
9230 PR breakpoints/19548
9231 * gdb.base/execl-update-breakpoints.c (some_function): New
9232 function.
9233 (main): Call it.
9234 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9235 Tighten expected GDB output.
9236
9237 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9238
9239 * Makefile.in (ALL_SUBDIRS): Remove.
9240 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9241 (distclean maintainer-clean realclean): Likewise.
9242 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9243 * configure: Regenerate.
9244 * gdb.ada/Makefile.in: Delete.
9245 * gdb.arch/Makefile.in: Likewise.
9246 * gdb.asm/Makefile.in: Likewise.
9247 * gdb.base/Makefile.in: Likewise.
9248 * gdb.btrace/Makefile.in: Likewise.
9249 * gdb.cell/Makefile.in: Likewise.
9250 * gdb.compile/Makefile.in: Likewise.
9251 * gdb.cp/Makefile.in: Likewise.
9252 * gdb.disasm/Makefile.in: Likewise.
9253 * gdb.dlang/Makefile.in: Likewise.
9254 * gdb.dwarf2/Makefile.in: Likewise.
9255 * gdb.fortran/Makefile.in: Likewise.
9256 * gdb.gdb/Makefile.in: Likewise.
9257 * gdb.go/Makefile.in: Likewise.
9258 * gdb.guile/Makefile.in: Likewise.
9259 * gdb.java/Makefile.in: Likewise.
9260 * gdb.linespec/Makefile.in: Likewise.
9261 * gdb.mi/Makefile.in: Likewise.
9262 * gdb.modula2/Makefile.in: Likewise.
9263 * gdb.multi/Makefile.in: Likewise.
9264 * gdb.objc/Makefile.in: Likewise.
9265 * gdb.opencl/Makefile.in: Likewise.
9266 * gdb.opt/Makefile.in: Likewise.
9267 * gdb.pascal/Makefile.in: Likewise.
9268 * gdb.perf/Makefile.in: Likewise.
9269 * gdb.python/Makefile.in: Likewise.
9270 * gdb.reverse/Makefile.in: Likewise.
9271 * gdb.server/Makefile.in: Likewise.
9272 * gdb.stabs/Makefile.in: Likewise.
9273 * gdb.threads/Makefile.in: Likewise.
9274 * gdb.trace/Makefile.in: Likewise.
9275 * gdb.xml/Makefile.in: Likewise.
9276 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9277 GDB_PARALLEL.
9278 (standard_output_file): Remove check for GDB_PARALLEL, always
9279 return path in outputs/$subdir/$testname.
9280
9281 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9282
9283 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9284 (site.exp): Assign abs_srcdir to tcl's srcdir.
9285
9286 2016-02-04 Yao Qi <yao.qi@linaro.org>
9287
9288 * gdb.base/foll-exec-mode.c: Include limits.h.
9289 (main): Add parameters argc and argv. Get directory from
9290 argv[0].
9291 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9292 compilation.
9293 * gdb.base/foll-exec.c: Include limits.h.
9294 (main): Add parameters argc and argv.
9295 Get directory from argv[0].
9296 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9297 Adjust tests on the number of lines as source code changed.
9298 * gdb.base/foll-vfork-exit.c: Include limits.h.
9299 (main): Add one line of statement before vfork.
9300 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9301 (main): Add parameters argc and argv. Get directory from
9302 argv[0].
9303 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9304 (setup_gdb): Set tbreak to skip some source lines.
9305 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9306 (main): Add parameters argc and argv. Get directory from
9307 argv[0].
9308 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9309 compilation.
9310 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9311 (main): Add parameters argc and argv. Get directory from
9312 argv[0].
9313 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9314 compilation.
9315
9316 2016-02-01 Doug Evans <dje@google.com>
9317
9318 * gdb.base/skip.exp: Clean up multiple references to same test name.
9319
9320 2016-02-01 Pedro Alves <palves@redhat.com>
9321
9322 PR remote/19496
9323 * gdb.threads/forking-threads-plus-breakpoint.exp
9324 (displaced_stepping_supported): New global.
9325 (probe_displaced_stepping_support): New procedure.
9326 (do_test): Add 'displaced' parameter, and use it.
9327 (top level): Check for displaced stepping support. Add displaced
9328 stepping on/off testing axis.
9329
9330 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9331
9332 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9333 pointer. Don't perform further tests on the unassociated pointer
9334 if the first test fails.
9335
9336 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9337
9338 * gdb.base/max-value-size.c: New file.
9339 * gdb.base/max-value-size.exp: New file.
9340 * gdb.base/huge.exp: Disable max-value-size for this test.
9341
9342 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9343
9344 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9345
9346 2016-01-28 Yao Qi <yao.qi@linaro.org>
9347
9348 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9349
9350 2016-01-25 Pedro Alves <palves@redhat.com>
9351
9352 PR threads/19461
9353 * gdb.base/fork-running-state.c: New file.
9354 * gdb.base/fork-running-state.exp: New file.
9355
9356 2016-01-25 Pedro Alves <palves@redhat.com>
9357
9358 PR gdb/19494
9359 * gdb.base/catch-fork-kill.c: New file.
9360 * gdb.base/catch-fork-kill.exp: New file.
9361
9362 2016-01-25 Pedro Alves <palves@redhat.com>
9363
9364 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9365 Delete, moved to lib/gdb.exp.
9366 * gdb.threads/forking-threads-plus-breakpoint.exp
9367 (foreach_with_prefix): Likewise.
9368 * gdb.threads/process-dies-while-handling-bp.exp
9369 (foreach_with_prefix): Likewise.
9370 * lib/gdb.exp (foreach_with_prefix): New procedure.
9371
9372 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9373
9374 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9375 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9376
9377 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9378
9379 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9380 endian targets.
9381
9382 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9383 Pedro Alves <palves@redhat.com>
9384
9385 Fix testsuite compatibility with Guile.
9386 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9387 number.
9388
9389 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9390
9391 Fix testsuite compatibility with Guile.
9392 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9393 (thread 1): New test for backtrace through signal handler.
9394
9395 2016-01-22 Yao Qi <yao.qi@linaro.org>
9396
9397 PR testsuite/19491
9398 * gdb.base/multi-forks.c: Include
9399 ../lib/unbuffer_output.c
9400 (main): Call gdb_unbuffer_output.
9401
9402 2016-01-21 Doug Evans <dje@google.com>
9403
9404 * lib/ada.exp (gdb_compile_ada): Fix typo.
9405
9406 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9407
9408 * gdb.base/break-fun-addr.exp: New file.
9409 * gdb.base/break-fun-addr1.c: New file.
9410 * gdb.base/break-fun-addr2.c: New file.
9411
9412 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9413
9414 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9415 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9416 enum flag values.
9417
9418 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9419
9420 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9421 when GDB can not set the vector return value. Add more comments
9422 for clarification.
9423
9424 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9425
9426 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9427 command.
9428
9429 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9430
9431 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9432
9433 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9434
9435 * Makefile.in (check-single): Pass --status to runtest.
9436 (check/%.exp): Likewise.
9437
9438 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9439
9440 * Makefile.in (check-parallel): Propagate return code from make
9441 do-check-parallel.
9442
9443 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9444
9445 * gdb.trace/ftrace.exp: Fix expected message on continue.
9446 * gdb.trace/pending.exp: Fix expected message on continue.
9447 * gdb.trace/trace-break.exp: Fix expected message on continue.
9448
9449 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9450
9451 * lib/gdb.exp (gdb_test): Remove unused global references.
9452
9453 2016-01-18 Pedro Alves <palves@redhat.com>
9454
9455 * gdb.base/async-shell.exp: Adjust expected output.
9456 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9457 * gdb.base/siginfo-thread.exp: Adjust expected output.
9458 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9459 * gdb.java/jnpe.exp: Adjust expected output.
9460 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9461 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9462 * gdb.threads/leader-exit.exp: Adjust expected output.
9463 * gdb.threads/manythreads.exp: Adjust expected output.
9464 * gdb.threads/pthreads.exp: Adjust expected output.
9465 * gdb.threads/schedlock.exp: Adjust expected output.
9466 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9467 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9468 expected output.
9469 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9470 output.
9471 * gdb.threads/sigthread.exp: Adjust expected output.
9472 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9473
9474 2016-01-18 Yao Qi <yao.qi@linaro.org>
9475
9476 * gdb.guile/scm-section-script.c: Replace @progbits with
9477 %progbits.
9478 * gdb.python/py-section-script.c: Likewise.
9479
9480 2016-01-15 Pedro Alves <palves@redhat.com>
9481
9482 * gdb.multi/tids.exp: Test star wildcard ranges.
9483
9484 2016-01-15 Pedro Alves <palves@redhat.com>
9485
9486 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9487 command from "thread apply" invocation.
9488 (thr_apply_info_thr_invalid): Default the expected output to the
9489 input tid list.
9490 (top level): Add tests that use convenience variables. Add tests
9491 for "thread apply" with a valid TID list, but missing the command.
9492
9493 2016-01-13 Pedro Alves <palves@redhat.com>
9494
9495 * gdb.base/default.exp: Expect $_gthread as well.
9496 * gdb.multi/tids.exp: Test $_gthread.
9497 * gdb.threads/thread-specific.exp: Test $_gthread.
9498
9499 2016-01-13 Pedro Alves <palves@redhat.com>
9500
9501 * gdb.multi/tids.exp: Test "info threads -gid".
9502
9503 2016-01-13 Pedro Alves <palves@redhat.com>
9504
9505 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9506 Breakpoint.thread.
9507 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9508
9509 2016-01-07 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.base/break.exp: Adjust to output changes.
9512 * gdb.base/hbreak2.exp: Likewise.
9513 * gdb.base/sepdebug.exp: Likewise.
9514 * gdb.base/watch_thread_num.exp: Likewise.
9515 * gdb.linespec/keywords.exp: Likewise.
9516 * gdb.multi/info-threads.exp: Likewise.
9517 * gdb.threads/thread-find.exp: Likewise.
9518 * gdb.multi/tids.c: New file.
9519 * gdb.multi/tids.exp: New file.
9520
9521 2016-01-13 Pedro Alves <palves@redhat.com>
9522
9523 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9524
9525 2016-01-13 Pedro Alves <palves@redhat.com>
9526
9527 * gdb.base/default.exp: Expect $_inferior as well.
9528 * gdb.multi/base.exp: Test $_inferior.
9529
9530 2016-01-13 Pedro Alves <palves@redhat.com>
9531
9532 PR breakpoints/19388
9533 * gdb.base/catch-signal-siginfo-cond.c: New file.
9534 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9535
9536 2016-01-12 Josh Stone <jistone@redhat.com>
9537 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9538
9539 * gdb.base/catch-syscall.c (do_execve): New variable.
9540 (main): Conditionally trigger an execve.
9541 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9542 (test_catch_syscall_execve): New, check entry/return across execve.
9543 (do_syscall_tests): Call test_catch_syscall_execve.
9544
9545 2016-01-12 Pedro Alves <palves@redhat.com>
9546
9547 * gdb.base/random-signal.exp (do_test): New procedure, with body
9548 of testcase moved in.
9549
9550 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9551 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.base/funcargs.exp (finish from indirectly called function):
9554 Reintroduce the case for 'First'.
9555
9556 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9557 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9560 (tcatch_vfork_then_child_follow_exec)
9561 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9562 identification.
9563
9564 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9565
9566 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9567 and repeats to unlimited.
9568 * gdb.python/py-value.exp: Likewise.
9569 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9570 and repeats to unlimited.
9571
9572 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9573
9574 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9575 and reordering the functions.
9576 * gdb.multi/hangout.c: Likewise.
9577 * gdb.multi/hello.c: Likewise.
9578
9579 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9580
9581 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9582 absolute.
9583 (SingleStatisticTestResult.report): Use dict.keys instead of
9584 dict.iterkeys.
9585
9586 2016-01-06 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9589
9590 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9591
9592 * gdb.btrace/dlopen.exp: New.
9593 * gdb.btrace/dlopen.c: New.
9594 * gdb.btrace/dlopen-dso.c: New.
9595
9596 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9597
9598 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9599 PATTERN argument is optional.
9600
9601 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9602
9603 * lib/ada.exp (target_compile_ada_from_dir): New function.
9604 (gdb_compile_ada): Reimplement avoiding the use of project files.
9605 * gdb.ada/gnat_ada.gpr: Delete.
9606 * gdb.ada/cond_lang.exp: Adjust test to make path before
9607 filename optional.
9608 * gdb.ada/small_reg_param.exp: Likewise.
9609
9610 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9611
9612 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9613
9614 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9615
9616 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9617 case.
9618
9619 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9620
9621 * gdb.base/break.exp: Remove dead code.
9622 * gdb.base/sepdebug.exp: Likewise.
9623
9624 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9625
9626 * gdb.asm/asm-source.exp: Remove HP-UX references.
9627 * gdb.base/annota1.exp: Likewise.
9628 * gdb.base/annota3.exp: Likewise.
9629 * gdb.base/attach.exp: Likewise.
9630 * gdb.base/bigcore.exp: Likewise.
9631 * gdb.base/break.exp: Likewise.
9632 * gdb.base/call-ar-st.exp: Likewise.
9633 * gdb.base/callfuncs.exp: Likewise.
9634 * gdb.base/catch-fork-static.exp: Likewise.
9635 * gdb.base/display.exp: Likewise.
9636 * gdb.base/foll-exec-mode.exp: Likewise.
9637 * gdb.base/foll-exec.exp: Likewise.
9638 * gdb.base/foll-fork.exp: Likewise.
9639 * gdb.base/foll-vfork.exp: Likewise.
9640 * gdb.base/funcargs.exp: Likewise.
9641 * gdb.base/hbreak2.exp: Likewise.
9642 * gdb.base/inferior-died.exp: Likewise.
9643 * gdb.base/interrupt.exp: Likewise.
9644 * gdb.base/multi-forks.exp: Likewise.
9645 * gdb.base/nodebug.exp: Likewise.
9646 * gdb.base/sepdebug.exp: Likewise.
9647 * gdb.base/solib1.c: Likewise.
9648 * gdb.base/step-test.exp: Likewise.
9649 * gdb.mi/non-stop.c: Likewise.
9650 * gdb.mi/pthreads.c: Likewise.
9651 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9652 * gdb.threads/pthreads.c: Likewise.
9653 * gdb.threads/staticthreads.exp: Likewise.
9654 * lib/future.exp: Likewise.
9655 * lib/gdb.exp: Likewise.
9656 * gdb.base/so-indr-cl.c: Remove.
9657 * gdb.base/so-indr-cl.exp: Likewise.
9658 * gdb.base/solib.c: Likewise.
9659 * gdb.base/solib.exp: Likewise.
9660 * gdb.base/solib2.c: Likewise.
9661
9662 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9663
9664 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9665 * gdb.base/call-ar-st.exp: Likewise.
9666 * gdb.base/callfuncs.exp: Likewise.
9667 * gdb.base/condbreak.exp: Likewise.
9668 * gdb.base/constvars.exp: Likewise.
9669 * gdb.base/hbreak2.exp: Likewise.
9670 * gdb.base/langs.exp: Likewise.
9671 * gdb.base/list.exp: Likewise.
9672 * gdb.base/long_long.exp: Likewise.
9673 * gdb.base/ptype.exp: Likewise.
9674 * gdb.base/scope.exp: Likewise.
9675 * gdb.base/signals.exp: Likewise.
9676 * gdb.base/so-impl-ld.exp: Likewise.
9677 * gdb.base/varargs.exp: Likewise.
9678 * gdb.base/volatile.exp: Likewise.
9679 * gdb.base/whatis.exp: Likewise.
9680 * gdb.cp/cplusfuncs.exp: Likewise.
9681 * gdb.cp/inherit.exp: Likewise.
9682 * gdb.cp/local.exp: Likewise.
9683 * gdb.cp/member-ptr.exp: Likewise.
9684 * gdb.cp/method.exp: Likewise.
9685 * gdb.cp/overload.exp: Likewise.
9686 * gdb.cp/templates.exp: Likewise.
9687 * gdb.stabs/weird.exp: Likewise.
9688 * lib/compiler.c: Likewise.
9689 * lib/compiler.cc: Likewise.
9690 * lib/cp-support.exp: Likewise.
9691 * lib/gdb.exp: Likewise.
9692
9693 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9694
9695 * configure.ac: Remove HP-UX case.
9696 * configure: Regenerate.
9697
9698 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9699
9700 * lib/gdb.exp (gdb_compile): Add function doc.
9701
9702 2015-12-17 Pedro Alves <palves@redhat.com>
9703
9704 PR threads/19354
9705 * gdb.multi/info-threads.exp: New file.
9706
9707 2015-12-15 Yao Qi <yao.qi@linaro.org>
9708
9709 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9710 is aarch64*-*-*.
9711
9712 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9713
9714 * gdb.base/history-duplicates.exp: Skip if no readline support.
9715
9716 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9717
9718 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9719
9720 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9721
9722 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9723
9724 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9725
9726 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9727 ctrl-C if nointerrupts target property is set.
9728 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9729 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9730 * gdb.base/paginate-bg-execution.exp: Likewise.
9731 * gdb.base/paginate-execution-startup.exp: Likewise.
9732 * gdb.base/random-signal.exp: Likewise.
9733 * gdb.base/range-stepping.exp: Likewise.
9734 * gdb.cp/annota2.exp: Likewise.
9735 * gdb.cp/annota3.exp: Likewise.
9736 * gdb.gdb/selftest.exp: Likewise.
9737 * gdb.threads/continue-pending-status.exp: Likewise.
9738 * gdb.threads/leader-exit.exp: Likewise.
9739 * gdb.threads/manythreads.exp: Likewise.
9740 * gdb.threads/pthreads.exp: Likewise.
9741 * gdb.threads/schedlock.exp: Likewise.
9742 * gdb.threads/sigthread.exp: Likewise.
9743
9744 2015-12-11 Don Breazeal <donb@codesourcery.com>
9745
9746 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9747 remote.
9748 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9749 * gdb.base/foll-exec.exp (main): Enable for target remote.
9750 * gdb.base/foll-fork.exp (main): Likewise.
9751 * gdb.base/foll-vfork.exp (main): Likewise.
9752 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9753 (proc continue_to_exit_bp_loc): Use clean_restart.
9754 * gdb.base/pie-execl.exp (main): Disable for target remote.
9755 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9756 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9757 * gdb.threads/execl.exp (main): Likewise.
9758 * gdb.threads/fork-child-threads.exp (main): Likewise.
9759 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9760 remote.
9761 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9762 remote.
9763 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9764 pid.tid style ptids, instead of just tid.
9765 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9766 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9767 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9768 ptids, instead of just tid.
9769
9770 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9771
9772 * gdb.base/list.exp (test_list_forward): Add end of file error
9773 test.
9774 (test_repeat_list_command): Add end of file error test.
9775 (test_list_backwards): Add beginning of file error test.
9776
9777 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9778
9779 * gdb.base/list.exp (test_list_invalid_args): New function,
9780 defined, and called.
9781
9782 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9783
9784 * gdb.base/list.exp (test_list): Make test names unique.
9785
9786 2015-12-11 Yao Qi <yao.qi@linaro.org>
9787
9788 * gdb.base/coremaker2.c: Remove.
9789
9790 2015-12-10 Pedro Alves <palves@redhat.com>
9791
9792 * gdb.multi/base.exp: Remove stale "spaces" references.
9793
9794 2015-12-10 Pedro Alves <palves@redhat.com>
9795
9796 * gdb.multi/base.exp: Don't use nowarnings.
9797 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9798 * gdb.multi/hangout.c: Include stdio.h.
9799 * gdb.multi/hello.c: Include stdlib.h.
9800 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9801 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9802 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9803
9804 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9805
9806 * gdb.dwarf2/dw2-ranges-base.c: New file.
9807 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9808 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9809 support additional line table, and debug ranges generation.
9810 (Dwarf::ranges): New function, generate .debug_ranges.
9811 (Dwarf::lines): Support generating simple line table programs.
9812 (Dwarf::assemble): Initialise new namespace variables.
9813
9814 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9815
9816 * gdb.base/async.exp (proc test_background): Add case for
9817 asynchronous execution not supported.
9818
9819 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9820
9821 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9822 format and change test names to make them unique.
9823
9824 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9825 Pedro Alves <pedro@redhat.com>
9826
9827 PR gdb/18702
9828 Add checking of floatformats setup on x86_64 hosts.
9829 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9830 (smallval, bigval): New labels/constants.
9831 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9832 float" after loading bigval and smallval.
9833
9834 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9835
9836 * gdb.ada/fun_overload_menu.exp: New testcase.
9837 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9838
9839 2015-12-04 Josh Stone <jistone@redhat.com>
9840
9841 * gdb.base/catch-fork-static.exp: New.
9842
9843 2015-12-03 Yao Qi <yao.qi@linaro.org>
9844
9845 * gdb.base/sizeof.c: Don't include stdio.h and
9846 ../lib/unbuffer_output.c.
9847 (main): New variable 'size' and 'value'. Remove printf and
9848 gdb_unbuffer_output. Assign return value to size and value.
9849 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9850 at the beginning.
9851 (check_sizeof): Check the result by printing variable 'size'.
9852 (check_valueof): Check the result by printing variable 'value'.
9853
9854 2015-12-01 Yao Qi <yao.qi@linaro.org>
9855
9856 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9857 for aarch64*-*-linux* target.
9858
9859 2015-11-30 Pedro Alves <palves@redhat.com>
9860
9861 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9862
9863 2015-11-30 Pedro Alves <palves@redhat.com>
9864
9865 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9866 Handle non-stop mode vCont replies.
9867
9868 2015-11-30 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9871 prepare_for_testing. Start gdb with "set non-stop on" appended to
9872 GDBFLAGS. Lax expected stop output.
9873
9874 2015-11-27 Yao Qi <yao.qi@linaro.org>
9875
9876 * gdb.arch/arm-neon.exp: New.
9877 * gdb.arch/arm-neon.c: New.
9878
9879 2015-11-27 Yao Qi <yao.qi@linaro.org>
9880
9881 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9882
9883 2015-11-27 Yao Qi <yao.qi@linaro.org>
9884
9885 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9886 frames-invalid annotation.
9887
9888 2015-11-27 Yao Qi <yao.qi@linaro.org>
9889
9890 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9891
9892 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9893
9894 * gdb.threads/names.exp: New file.
9895 * gdb.threads/names.c: New file.
9896 * README: Mention gdb,no_thread_names.
9897
9898 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9899
9900 PR 19297
9901 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9902 support" error.
9903
9904 2015-11-24 Pedro Alves <palves@redhat.com>
9905
9906 PR 17539
9907 * gdb.base/display.exp: Expect displays to be sorted in ascending
9908 order. Use multi_line.
9909 * gdb.base/solib-display.exp: Likewise.
9910
9911 2015-11-24 Pedro Alves <palves@redhat.com>
9912
9913 PR 17539
9914 * gdb.base/display.exp: Expect displays to be sorted in ascending
9915 order. Use multi_line.
9916 * gdb.base/solib-display.exp: Likewise.
9917
9918 2015-11-24 Pedro Alves <palves@redhat.com>
9919
9920 PR 17539
9921 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9922 threads in ascending order.
9923 * gdb.base/foll-fork.exp: Likewise.
9924 * gdb.base/foll-vfork.exp: Likewise.
9925 * gdb.base/multi-forks.exp: Likewise.
9926 * gdb.mi/mi-nonstop.exp: Likewise.
9927 * gdb.mi/mi-nsintrall.exp: Likewise.
9928 * gdb.multi/base.exp: Likewise.
9929 * gdb.multi/multi-arch.exp: Likewise.
9930 * gdb.python/py-inferior.exp: Likewise.
9931 * gdb.threads/break-while-running.exp: Likewise.
9932 * gdb.threads/execl.exp: Likewise.
9933 * gdb.threads/gcore-thread.exp: Likewise.
9934 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9935 * gdb.threads/kill.exp: Likewise.
9936 * gdb.threads/linux-dp.exp: Likewise.
9937 * gdb.threads/multiple-step-overs.exp: Likewise.
9938 * gdb.threads/next-bp-other-thread.exp: Likewise.
9939 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9940 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9941 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9942 * gdb.threads/thread-find.exp: Likewise.
9943 * gdb.threads/tls.exp: Likewise.
9944 * lib/mi-support.exp (mi_reverse_list): Delete.
9945 (mi_check_thread_states): No longer reverse list.
9946
9947 2015-11-24 Pedro Alves <palves@redhat.com>
9948
9949 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9950 use lowercase.
9951
9952 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9953
9954 * gdb.trace/actions.c: Include trace-common.h.
9955 (main): Add a location for a fast tracepoint.
9956 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9957 the normal tracepoints.
9958 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9959
9960 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9961
9962 * save-trace.exp: Factor out code to these...
9963 (gdb_save_tracepoints): New.
9964 (gdb_load_tracepoints): New.
9965 (do_save_load_test): New.
9966
9967 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9968
9969 * gdb.base/asmlabel.exp: New test.
9970 * gdb.base/asmlabel.c: New test case.
9971
9972 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9973
9974 * gdb.base/wrong_frame_bt_full-main.c: New file.
9975 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9976 * gdb.base/wrong_frame_bt_full.exp: New file.
9977
9978 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9979
9980 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9981
9982 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9983
9984 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9985 pstate register when comparing registers values in
9986 sparc64-*-linux-gnu targets to avoid spurious differences.
9987
9988 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9989
9990 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9991
9992 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9993
9994 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9995 as type argument to gdb_compile.
9996 * gdb.base/nested-subp2.exp: Likewise.
9997 * gdb.base/nested-subp3.exp: Likewise.
9998
9999 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10000
10001 * lib/dwarf.exp (_note): Fix left shift of negative value.
10002 * gdb.trace/trace-condition.exp: Likewise.
10003
10004 2015-11-13 Yao Qi <yao.qi@linaro.org>
10005
10006 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10007 comments about d10v.
10008 (test_scalar_returns): Likewise.
10009 * gdb.base/d10v.ld: Remove.
10010 * gdb.base/overlays.exp: Remove the target triplet checking for
10011 d10v-*-*.
10012 * gdb.base/structs.exp (test_struct_returns): Remove the
10013 comments about d10v.
10014 (test_struct_calls): Likewise.
10015
10016 2015-11-13 Yao Qi <yao.qi@linaro.org>
10017
10018 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10019 * gdb.base/gnu_vector.c: Don't include stdio.h.
10020 (main): Don't print res and call add_some_intvecs.
10021
10022 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10023
10024 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10025 macro.
10026 (func5): Removed.
10027 (func4): Use FAST_TRACEPOINT_LABEL.
10028 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10029 macro.
10030 (func): Removed.
10031 (thread_function): Use FAST_TRACEPOINT_LABEL.
10032 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10033 (func): Remove.
10034 (marker): Use FAST_TRACEPOINT_LABEL.
10035 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10036 (pendfunc1): Remove.
10037 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10038 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10039 (foo): Remove.
10040 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10041 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10042 macro.
10043 (func): Remove.
10044 (marker): Use FAST_TRACEPOINT_LABEL.
10045 * gdb.trace/trace-common.h: New header.
10046 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10047 macro.
10048 (func): Remove.
10049 (marker): Use FAST_TRACEPOINT_LABEL.
10050 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10051 (func): Remove.
10052 (thread_function): Use FAST_TRACEPOINT_LABEL.
10053
10054 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10055
10056 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10057 in front.
10058 * gdb.trace/change-loc.exp: Use global pcreg definition.
10059 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10060 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10061 in front.
10062 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10063 * gdb.trace/pending.exp: Likewise.
10064 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10065 * gdb.trace/trace-break.exp: Likewise.
10066 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10067 in front.
10068 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10069 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10070 in front.
10071 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10072
10073 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10074
10075 * gdb.ada/fin_fun_out: New testcase.
10076
10077 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10078
10079 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10080 value associated with DW_AT_byte_size.
10081 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10082 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10083 DW_AT_upper_bound.
10084
10085 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10086
10087 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10088 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10089 version.
10090 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10091 gdb.dwarf2/dw2-canonicalize-type.exp,
10092 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10093 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10094 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10095 provided by gdb_target_symbol_prefix_flags_asm.
10096 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10097 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10098 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10099 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10100 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10101 macros where needed). Use this macro for symbols which require
10102 the prefix provided by SYMBOL_PREFIX.
10103
10104 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10105
10106 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10107 New procs.
10108 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10109 representing expressions, of more than one list element.
10110 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10111 to prepend linker symbol prefix to f.
10112 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10113 table_1 and table_2.
10114 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10115 Likewise, for f and g.
10116 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10117 for ptr.
10118 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10119 for main.
10120 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10121 table_1_ptr and table_2_ptr.
10122
10123 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10124 Joel Brobecker <brobecker@adacore.com>
10125
10126 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10127
10128 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10129
10130 * gdb.reverse/s390-mvcle.c: New test.
10131 * gdb.reverse/s390-mvcle.exp: New file.
10132 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10133
10134 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10135
10136 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10137
10138 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10139
10140 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10141 reaching marker2.
10142 * gdb.reverse/getresuid-reverse.exp: Likewise.
10143 * gdb.reverse/pipe-reverse.exp: Likewise.
10144 * gdb.reverse/readv-reverse.exp: Likewise.
10145 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10146 * gdb.reverse/time-reverse.exp: Likewise.
10147 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10148
10149 2015-10-30 Yao Qi <yao.qi@linaro.org>
10150
10151 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10152 (empty_cycle): Remove.
10153 (main): Don't call empty_cycle. Don't use watch_count_done.
10154 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10155 empty_cycle. Rewrite the code counting HW watchpoints.
10156
10157 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10158
10159 * gdb.reverse/fstatat-reverse.c: New test.
10160 * gdb.reverse/fstatat-reverse.exp: New file.
10161 * gdb.reverse/getresuid-reverse.c: New test.
10162 * gdb.reverse/getresuid-reverse.exp: New file.
10163 * gdb.reverse/pipe-reverse.c: New test.
10164 * gdb.reverse/pipe-reverse.exp: New file.
10165 * gdb.reverse/readv-reverse.c: New test.
10166 * gdb.reverse/readv-reverse.exp: New file.
10167 * gdb.reverse/recvmsg-reverse.c: New test.
10168 * gdb.reverse/recvmsg-reverse.exp: New file.
10169 * gdb.reverse/time-reverse.c: New test.
10170 * gdb.reverse/time-reverse.exp: New file.
10171 * gdb.reverse/waitpid-reverse.c: New test.
10172 * gdb.reverse/waitpid-reverse.exp: New file.
10173
10174 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10175
10176 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10177
10178 2015-10-26 Doug Evans <dje@google.com>
10179
10180 PR symtab/17391
10181 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10182 * gdb.dwarf2/bad-regnum.c: New file.
10183 * gdb.dwarf2/bad-regnum.exp: New file.
10184
10185 2015-10-26 Doug Evans <dje@google.com>
10186
10187 PR python/18938
10188 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10189 file.
10190
10191 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10192
10193 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10194 for a change by "Mention language in compile error message".
10195
10196 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10197
10198 PR python/18073
10199 * gdb.python/py-type.c (C::a_method): New.
10200 (C::a_const_method): New.
10201 (C::a_static_method): New.
10202 (a_function): New.
10203 * gdb.python/py-type.exp (test_fields): Test getting fields
10204 from function and method.
10205
10206 2015-10-21 Keven Boell <keven.boell@intel.com>
10207
10208 * gdb.fortran/vla-alloc-assoc.exp: New file.
10209 * gdb.fortran/vla-datatypes.exp: New file.
10210 * gdb.fortran/vla-datatypes.f90: New file.
10211 * gdb.fortran/vla-history.exp: New file.
10212 * gdb.fortran/vla-ptype-sub.exp: New file.
10213 * gdb.fortran/vla-ptype.exp: New file.
10214 * gdb.fortran/vla-sizeof.exp: New file.
10215 * gdb.fortran/vla-sub.f90: New file.
10216 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10217 * gdb.fortran/vla-value-sub-finish.exp: New file.
10218 * gdb.fortran/vla-value-sub.exp: New file.
10219 * gdb.fortran/vla-value.exp: New file.
10220 * gdb.fortran/vla-ptr-info.exp: New file.
10221 * gdb.mi/mi-vla-fortran.exp: New file.
10222 * gdb.mi/vla.f90: New file.
10223
10224 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10225
10226 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10227 of hardwired timeout value.
10228
10229 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10230 Pedro Alves <palves@redhat.com>
10231
10232 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10233 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10234
10235 2015-10-19 Josh Stone <jistone@redhat.com>
10236
10237 * gdb.base/catch-syscall.c: Include <sched.h>.
10238 (unknown_syscall): New variable.
10239 (main): Trigger a vfork and an unknown syscall.
10240 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10241 (unknown_syscall_number): Likewise.
10242 (check_call_to_syscall): Accept an optional syscall pattern.
10243 (check_return_from_syscall): Likewise.
10244 (check_continue): Likewise.
10245 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10246 (test_catch_syscall_skipping_return): New test toggling off 'catch
10247 syscall' to step over the syscall return, then toggling back on.
10248 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10249 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10250 (do_syscall_tests): Call test_catch_syscall_without_args and
10251 test_catch_syscall_mid_vfork.
10252 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10253 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10254
10255 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10256
10257 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10258 print g_vE): Add new pass patterns.
10259 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10260 print various symbol names for vptr fields.
10261
10262 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10263
10264 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10265 results.
10266
10267 2015-10-12 Yao Qi <yao.qi@linaro.org>
10268
10269 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10270
10271 2015-10-12 Yao Qi <yao.qi@linaro.org>
10272
10273 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10274 is aarch64*-*-linux*.
10275
10276 2015-10-12 Yao Qi <yao.qi@linaro.org>
10277
10278 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10279 (can_relocate_bcond_true): ... it.
10280 (can_relocate_bcond_false): New function.
10281 (foo): Likewise.
10282 (can_relocate_bl): Likewise.
10283 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10284 can_relocate_bl.
10285
10286 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10287
10288 * gdb.base/nested-addr.c: New file.
10289 * gdb.base/nested-addr.exp: New testcase.
10290
10291 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10292
10293 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10294 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10295 its output. Ignore the output of "record goto begin" and instead
10296 check that GDB is replaying.
10297
10298 2015-10-09 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10301 (top level): Use it in the run with no args test.
10302
10303 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10304
10305 * gdb.dlang/properties.exp: New file.
10306
10307 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10308
10309 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10310 whether or not address 0x1000 is mapped on the target.
10311
10312 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10313
10314 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10315 build.
10316
10317 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10318
10319 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10320 instruction-history test.
10321
10322 2015-09-28 Doug Evans <dje@google.com>
10323
10324 * gdb.base/gcore.c (array_func): Add reference to static_array.
10325
10326 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10327
10328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10329 source line.
10330
10331 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10332
10333 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10334 short or char as base type.
10335
10336 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10337
10338 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10339 to allow any size enum.
10340
10341 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10342
10343 * gdb.ada/array_ptr_renaming.exp: New testcase.
10344 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10345 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10346
10347 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10348
10349 * gdb.trace/ftrace-lock.c: New file.
10350 * gdb.trace/ftrace-lock.exp: New file.
10351
10352 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10353
10354 * gdb.arch/insn-reloc.c: New file.
10355 * gdb.arch/ftrace-insn-reloc.exp: New file.
10356
10357 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10358
10359 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10360 instruction.
10361 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10362 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10363 * gdb.trace/range-stepping.c: Likewise.
10364 * gdb.trace/trace-break.c: Likewise.
10365 * gdb.trace/trace-mt.c (thread_function): Likewise.
10366 * gdb.trace/ftrace.c (marker): Likewise.
10367 * gdb.trace/trace-condition.c (marker): Likewise.
10368 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10369 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10370 is_aarch64_target.
10371
10372 2015-09-18 Doug Evans <xdje42@gmail.com>
10373
10374 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10375 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10376
10377 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10378
10379 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10380 the breakpoint.
10381
10382 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10383
10384 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10385 the pending breakpoint. Remove timeout override for "Run till
10386 MI pending breakpoint on pendfunc3 on thread 2" test.
10387
10388 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10389
10390 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10391 filename pattern.
10392
10393 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10394
10395 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10396 in breakpoint filename pattern.
10397
10398 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10399
10400 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10401
10402 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10403
10404 * gdb.linespec/explicit.exp: Check for readline support for
10405 tab-completion tests. Fix obvious typo.
10406
10407 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10408
10409 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10410 and replay.
10411
10412 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10413
10414 * gdb.btrace/non-stop.c: New.
10415 * gdb.btrace/non-stop.exp: New.
10416
10417 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10418 Yao Qi <yao.qi@linaro.org>
10419
10420 * gdb.trace/trace-condition.c: New file.
10421 * gdb.trace/trace-condition.exp: New file.
10422
10423 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10424
10425 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10426 for testing bytecode compilation.
10427
10428 2015-09-16 Pedro Alves <palves@redhat.com>
10429 Sandra Loosemore <sandra@codesourcery.com>
10430
10431 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10432 (SECONDS): Redefine.
10433 (main): Call pthread_kill and alarm early.
10434 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10435 support.
10436 (test): If the target can't hardware step and doesn't support
10437 displaced stepping, increase the timeout.
10438
10439 2015-09-16 Pedro Alves <palves@redhat.com>
10440
10441 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10442 (enable_debug): New procedures.
10443 (test): Use them. Bail out if waiting for threads fails.
10444 (top level): Bail out if a test fails.
10445
10446 2015-09-16 Yao Qi <yao.qi@linaro.org>
10447
10448 * gdb.asm/asm-source.exp: Set asm-arch for
10449 aarch64*-*-* target.
10450 * gdb.asm/aarch64.inc: New file.
10451
10452 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10453
10454 * gdb.ada/array_of_variable_length.exp: New testcase.
10455 * gdb.ada/array_of_variable_length/foo.adb: New file.
10456 * gdb.ada/array_of_variable_length/pck.adb: New file.
10457 * gdb.ada/array_of_variable_length/pck.ads: New file.
10458
10459 2015-09-15 Doug Evans <dje@google.com>
10460
10461 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10462 of function static local variable.
10463
10464 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10465
10466 * gdb.threads/tls-so_extern.exp: New test file.
10467 * gdb.threads/tls-so_extern.c: New test file.
10468 * gdb.threads/tls-so_extern_main.c: New test file.
10469
10470 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10471
10472 * gdb.opt/solib-intra-step-lib.c: New file.
10473 * gdb.opt/solib-intra-step-main.c: New file.
10474 * gdb.opt/solib-intra-step.exp: New file.
10475
10476 2015-09-15 Pedro Alves <palves@redhat.com>
10477
10478 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10479 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10480
10481 2015-09-14 Pedro Alves <palves@redhat.com>
10482
10483 * gdb.base/hook-stop-continue.c: Delete.
10484 * gdb.base/hook-stop-continue.exp: Delete.
10485 * gdb.base/hook-stop-frame.c: Delete.
10486 * gdb.base/hook-stop-frame.exp: Delete.
10487 * gdb.base/hook-stop.c: New file.
10488 * gdb.base/hook-stop.exp: New file.
10489
10490 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10491
10492 * gdb.ada/access_to_packed_array.exp: New testcase.
10493 * gdb.ada/access_to_packed_array/foo.adb: New file.
10494 * gdb.ada/access_to_packed_array/pack.adb: New file.
10495 * gdb.ada/access_to_packed_array/pack.ads: New file.
10496
10497 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10498
10499 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10500 buffer size test.
10501
10502 2015-09-11 Don Breazeal <donb@codesourcery.com>
10503
10504 * gdb.base/foll-exec.c: Add copyright header. Fix
10505 formatting issues.
10506 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10507 (do_exec_tests): Use clean_restart in place of zap_session,
10508 and for test initialization. Fix formatting issues. Use
10509 fail in place of perror.
10510 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10511 an expect statement to match an expression with output from
10512 the program under debug.
10513 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10514 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10515 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10516 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10517 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10518
10519 2015-09-09 Doug Evans <dje@google.com>
10520
10521 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10522
10523 2015-09-09 Doug Evans <dje@google.com>
10524
10525 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10526
10527 2015-09-09 Doug Evans <dje@google.com>
10528
10529 * gdb.base/savedregs.exp: Fix typo.
10530
10531 2015-09-09 Pedro Alves <palves@redhat.com>
10532
10533 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10534
10535 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10536
10537 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10538 command actually switches threads. Give up on remaining
10539 tests if target fails to stop at breakpoint.
10540
10541 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10542
10543 * gdb.ada/funcall_char.exp: New testcase.
10544 * gdb.ada/funcall_char/foo.adb: New file.
10545
10546 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10547
10548 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10549 expected outputs. Add two testcases for completing ambiguous
10550 functions.
10551 * gdb.ada/complete/aux_pck.adb: New file.
10552 * gdb.ada/complete/aux_pck.ads: New file.
10553 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10554 Ambiguous_Func functions.
10555 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10556 * gdb.ada/complete/pck.adb: Likewise.
10557
10558 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10559
10560 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10561 failures to run the test program under GDB.
10562
10563 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10564
10565 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10566 to C.
10567
10568 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10569
10570 * gdb.base/run-after-attach.exp: New test file.
10571 * gdb.base/run-after-attach.c: New test file.
10572
10573 2015-08-26 Don Breazeal <donb@codesourcery.com>
10574
10575 * gdb.base/foll-exec-2.c: New test program.
10576 * gdb.base/foll-exec-2.exp: New test.
10577
10578 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10579
10580 * gdb.base/nested-subp1.exp: New file.
10581 * gdb.base/nested-subp1.c: New file.
10582 * gdb.base/nested-subp2.exp: New file.
10583 * gdb.base/nested-subp2.c: New file.
10584 * gdb.base/nested-subp3.exp: New file.
10585 * gdb.base/nested-subp3.c: New file.
10586
10587 2015-08-24 Pedro Alves <palves@redhat.com>
10588
10589 * gdb.server/connect-without-multi-process.c: New file.
10590 * gdb.server/connect-without-multi-process.exp: New file.
10591
10592 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10593
10594 * gdb.opt/inline-markers.c: Make z int.
10595
10596 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10597
10598 * gdb.opt/inline-markers.c: Make z volatile.
10599
10600 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10601
10602 * gdb.opt/inline-bt.c: New volatile global z.
10603 * gdb.opt/inline-cmds.c: Likewise.
10604 * gdb.opt/inline-locals.c: Likewise.
10605 * gdb.opt/inline-markers.c: New extern global z.
10606 (marker): Use z.
10607 (inline_fn): Likewise.
10608
10609 2015-08-24 Pedro Alves <palves@redhat.com>
10610
10611 * config/m32r-stub.exp: Remove file.
10612 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10613 * gdb.base/call-rt-st.exp: Likewise.
10614 * gdb.base/call-strs.exp: Likewise.
10615 * gdb.base/default.exp: Remove references to h8300-*-hms and
10616 *-*-udi*.
10617 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10618
10619 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10620
10621 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10622 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10623 and "return" use KFAIL when GDB can not read/write the vector
10624 return value.
10625
10626 2015-08-21 Gary Benson <gbenson@redhat.com>
10627
10628 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10629
10630 2015-08-20 Pedro Alves <palves@redhat.com>
10631
10632 * gdb.server/solib-list.exp: No longer expect an interior stop in
10633 non-stop mode.
10634
10635 2015-08-20 Pedro Alves <palves@redhat.com>
10636
10637 * gdb.server/connect-stopped-target.c: New file.
10638 * gdb.server/connect-stopped-target.exp: New file.
10639
10640 2015-08-20 Pedro Alves <palves@redhat.com>
10641
10642 * gdb.dwarf2/comp-unit-lang.exp: New file.
10643 * gdb.dwarf2/comp-unit-lang.c: New file.
10644
10645 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10646
10647 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10648 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10649
10650 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10651
10652 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10654
10655 2015-08-18 Doug Evans <dje@google.com>
10656 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10657
10658 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10659 skip_python_tests. New arg prompt_regexp.
10660 (skip_python_tests): New function.
10661 * lib/mi-support.exp (mi_skip_python_tests): New function.
10662 * gdb.python/py-mi-objfile-gdb.py: New file.
10663 * gdb.python/py-mi-objfile.c: New file.
10664 * gdb.python/py-mi-objfile.exp: New file.
10665
10666 2015-08-17 Keith Seitz <keiths@redhat.com>
10667
10668 * gdb.linespec/explicit.exp: Move strace test from here ...
10669 * gdb.trace/strace.exp: ... to here.
10670
10671 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10672
10673 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10674 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10675
10676 2015-08-14 Doug Evans <xdje42@gmail.com>
10677
10678 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10679 inferior before selecting a new file.
10680
10681 2015-08-14 Doug Evans <xdje42@gmail.com>
10682
10683 * gdb.mi/mi-disassemble.exp: Update.
10684 * gdb.base/disasm-optim.S: New file.
10685 * gdb.base/disasm-optim.c: New file.
10686 * gdb.base/disasm-optim.h: New file.
10687 * gdb.base/disasm-optim.exp: New file.
10688
10689 2015-08-14 Keith Seitz <keiths@redhat.com>
10690
10691 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10692 "evaluated-by".
10693
10694 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10695
10696 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10697
10698 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10699
10700 * gdb.ada/fun_renaming.exp: New testcase.
10701 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10702 * gdb.ada/fun_renaming/pack.adb: New file.
10703 * gdb.ada/fun_renaming/pack.ads: New file.
10704
10705 2015-08-12 Keith Seitz <keiths@redhat.com>
10706
10707 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10708 gdb_get_line_number.
10709
10710 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10711
10712 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10713 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10714 gdb.base/dso2dso.exp: New files.
10715
10716 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10717 Pedro Alves <palves@redhat.com>
10718 Keith Seitz <keiths@redhat.com>
10719
10720 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10721 GDBFLAGS.
10722
10723 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10724
10725 * gdb.base/gdbhistsize-history.exp
10726 (test_histsize_history_setting): Use save_vars.
10727 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10728 Use save_vars.
10729 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10730 * gdb.base/readline.exp: Use save_vars.
10731
10732 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10733
10734 * lib/gdb.exp (save_vars): New proc.
10735
10736 2015-08-11 Keith Seitz <keiths@redhat.com>
10737
10738 * gdb.base/help.exp: Update help_breakpoint_text.
10739
10740 2015-08-11 Keith Seitz <keiths@redhat.com>
10741
10742 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10743 (at toplevel): Call test_explicit_breakpoints.
10744 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10745 breakpoints.
10746 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10747 breakpoint conditions, "-cond".
10748
10749 2015-08-11 Keith Seitz <keiths@redhat.com>
10750
10751 * gdb.linespec/3explicit.c: New file.
10752 * gdb.linespec/cpexplicit.cc: New file.
10753 * gdb.linespec/cpexplicit.exp: New file.
10754 * gdb.linespec/explicit.c: New file.
10755 * gdb.linespec/explicit.exp: New file.
10756 * gdb.linespec/explicit2.c: New file.
10757 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10758 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10759 before using in the matching pattern.
10760 Clarify that `prefix' is a regular expression.
10761
10762 2015-08-11 Keith Seitz <keiths@redhat.com>
10763
10764 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10765 test.
10766 Add tests for missing ",FMT" and ",".
10767
10768 2015-08-10 Doug Evans <dje@google.com>
10769 Keith Seitz <keiths@redhat.com>
10770
10771 PR gdb/17960
10772 * gdb.base/completion.exp: Add location completer tests.
10773
10774 2015-08-07 Pedro Alves <palves@redhat.com>
10775
10776 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10777 tests here.
10778 (top level): Run do_test with and without displaced stepping.
10779
10780 2015-08-07 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.base/valgrind-disp-step.c: New file.
10783 * gdb.base/valgrind-disp-step.exp: New file.
10784
10785 2015-08-07 Pedro Alves <palves@redhat.com>
10786
10787 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10788 Delete function.
10789 (main): Add alarm. Run an infinite loop instead of calling
10790 wait_threads.
10791 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10792 comment.
10793 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10794 Delete function.
10795 (main): Add alarm. Run an infinite loop instead of calling
10796 wait_threads.
10797 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10798 comment.
10799
10800 2015-08-07 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.base/checkpoint-ns.exp: New file.
10803 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10804 standard_testfile.
10805
10806 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10807
10808 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10809 * gdb.btrace/instruction_history.exp: Update.
10810 * gdb.btrace/tsx.exp: New.
10811 * gdb.btrace/tsx.c: New.
10812
10813 2015-08-06 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10816 increase timeout.
10817 * gdb.reverse/until-precsave.exp: Bump timeouts.
10818
10819 2015-08-06 Pedro Alves <palves@redhat.com>
10820
10821 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10822
10823 2015-08-06 Pedro Alves <palves@redhat.com>
10824
10825 PR gdb/18749
10826 * gdb.threads/process-dies-while-handling-bp.c: New file.
10827 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10828
10829 2015-08-06 Pedro Alves <palves@redhat.com>
10830
10831 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10832 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10833
10834 2015-08-05 Pedro Alves <palves@redhat.com>
10835
10836 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10837 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10838
10839 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10840
10841 * gdb.base/bp-permanent.exp: Report test as unsupported if
10842 the target cannot stop at the permanent breakpoint.
10843
10844 2015-08-03 Doug Evans <dje@google.com>
10845
10846 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10847 10000.
10848
10849 2015-08-03 Doug Evans <dje@google.com>
10850
10851 * Makefile.in (workers/%.worker, build-perf): New rule.
10852 (GDB_PERFTEST_MODE): New variable.
10853 (check-perf): Use it.
10854 (clean): Clean up gdb.perf parallel build subdirs.
10855 * lib/build-piece.exp: New file.
10856 * lib/gdb.exp (make_gdb_parallel_path): New function
10857 (standard_output_file, standard_temp_file): Call it.
10858 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10859 of $GDB_PARALLEL.
10860 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10861
10862 2015-08-03 Doug Evans <dje@google.com>
10863
10864 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10865 (LOG_FILE_NAME): New global.
10866 (TextReporter.__init__): Initialize self.txt_sum.
10867 (TextReporter.report): Add support for multiple data-points.
10868 Move report to perftest.sum, put raw data in perftest.log.
10869 (TextReporter.start): Open sum and log files.
10870 (TextReporter.end): Close sum and log files.
10871 * gdb.perf/lib/perftest/testresult.py
10872 (SingleStatisticTestResult.record): Handle multiple data-points.
10873
10874 2015-07-31 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10877 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10878 kill_wait_spawned_process instead of explicit "kill -9".
10879 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10880 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10881 kill_wait_spawned_process.
10882 * gdb.base/attach-twice.exp: Likewise.
10883 * gdb.base/attach.exp: Likewise.
10884 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10885 gdb_test_multiple.
10886 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10887 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10888 kill_wait_spawned_process.
10889 * gdb.base/valgrind-infcall.exp: Likewise.
10890 * gdb.multi/multi-attach.exp: Likewise.
10891 * gdb.python/py-prompt.exp: Likewise.
10892 * gdb.python/py-sync-interp.exp: Likewise.
10893 * gdb.server/ext-attach.exp: Likewise.
10894 * gdb.threads/attach-into-signal.exp (corefunc): Use
10895 spawn_wait_for_attach, spawn_id_get_pid and
10896 kill_wait_spawned_process.
10897 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10898 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10899 spawn_id_get_pid and kill_wait_spawned_process.
10900 * gdb.threads/attach-stopped.exp (corefunc): Use
10901 spawn_wait_for_attach, spawn_id_get_pid and
10902 kill_wait_spawned_process.
10903 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10904 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10905 kill_wait_spawned_process instead of explicit "kill -9".
10906 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10907 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10908 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10909 processes. Don't map cygwin/windows pids here. Now returns a
10910 spawn id list.
10911
10912 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10913
10914 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10915 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10916 correct patch.
10917
10918 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10919
10920 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10921
10922 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10923
10924 Reapply:
10925 2014-05-21 Mark Wielaard <mjw@redhat.com>
10926
10927 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10928
10929 2015-07-30 Pedro Alves <palves@redhat.com>
10930
10931 * linux-low.c (handle_extended_wait): Set the child's last
10932 reported status to TARGET_WAITKIND_STOPPED.
10933
10934 2015-07-30 Pedro Alves <palves@redhat.com>
10935
10936 PR threads/18600
10937 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10938 only shows inferior 1.
10939
10940 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10941 Pedro Alves <palves@redhat.com>
10942
10943 PR threads/18600
10944 * gdb.threads/fork-plus-threads.c: New file.
10945 * gdb.threads/fork-plus-threads.exp: New file.
10946
10947 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10948
10949 * gdb.base/batch-preserve-term-settings.exp
10950 (test_terminal_settings_preserved_after_cli_exit): Use
10951 send_quit_command.
10952
10953 2015-07-29 Pedro Alves <palves@redhat.com>
10954 Don Breazeal <donb@codesourcery.com>
10955
10956 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10957 output from both inferior_spawn_id and gdb_spawn_id.
10958
10959 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10960
10961 * gdb.threads/attach-into-signal.exp (corefunc): Use
10962 with_test_prefix on nested loops, uniquefying the test messages.
10963
10964 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10965
10966 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10967 commit.
10968
10969 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10970
10971 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10972 New proc.
10973 (test_terminal_settings_preserved_after_sigterm): New test.
10974
10975 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10976
10977 * gdb.base/batch-preserve-term-settings.exp
10978 (test_terminal_settings_preserved_after_cli_exit): New test.
10979
10980 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10981
10982 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10983 manipulation of saved_gdbflags.
10984 (test_terminal_settings_preserved): Remove global declaration of
10985 the unused variable pagination_prompt. Remove manipulation of
10986 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10987 GDBFLAGS.
10988
10989 2015-07-29 Pedro Alves <palves@redhat.com>
10990
10991 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10992
10993 2015-07-29 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10996 at the top.
10997
10998 2015-07-29 Pedro Alves <palves@redhat.com>
10999
11000 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11001 (main): Call gdb_unbuffer_output.
11002 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11003 (main): Call gdb_unbuffer_output.
11004 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11005 (main): Call gdb_unbuffer_output.
11006 * gdb.base/call-strs.exp: Adjust to step over the
11007 gdb_unbuffer_output call.
11008 * gdb.base/catch-gdb-caused-signals.c: Include
11009 "../lib/unbuffer_output.c".
11010 (main): Call gdb_unbuffer_output.
11011 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11012 (main): Call gdb_unbuffer_output.
11013 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11014 (main): Call gdb_unbuffer_output.
11015 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11016 (main): Call gdb_unbuffer_output.
11017 * gdb.base/shlib-call.exp: Adjust to step over the
11018 gdb_unbuffer_output call.
11019 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11020 (main): Call gdb_unbuffer_output.
11021 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11022 (main): Call gdb_unbuffer_output.
11023 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11024 (main): Rename to ...
11025 (test): ... this.
11026 (main): Reimplement.
11027 * gdb.base/varargs.exp: Run to test instead of to main.
11028 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11029 (main): Call gdb_unbuffer_output.
11030
11031 2015-07-29 Pedro Alves <palves@redhat.com>
11032
11033 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11034 factore out from mi_continue_dprintf. For call-style dprintfs,
11035 expect dprintf output out of $inferior_spawn_id.
11036 (mi_continue_dprintf): Use mi_expect_dprintf.
11037 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11038 (main): Call gdb_unbuffer_output.
11039
11040 2015-07-29 Pedro Alves <palves@redhat.com>
11041
11042 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11043 (default_mi_gdb_start): Set inferior_spawn_id instead of
11044 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11045 gdb_spawn_id.
11046 (mi_gdb_test): Always expect inferior output from both
11047 $inferior_spawn_id and $gdb_spawn_id.
11048
11049 2015-07-29 Pedro Alves <palves@redhat.com>
11050
11051 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11052 send_inferior and $inferior_spawn_id.
11053
11054 2015-07-29 Pedro Alves <palves@redhat.com>
11055
11056 * gdb.gdb/complaints.exp (test_initial_complaints)
11057 (test_serial_complaints, test_short_complaints): Use
11058 gdb_test_stdio.
11059 (test_empty_complaint): Handle $inferior_spawn_id !=
11060 $gdb_spawn_id.
11061
11062 2015-07-29 Pedro Alves <palves@redhat.com>
11063
11064 * gdb.base/varargs.exp: Use gdb_test_stdio.
11065
11066 2015-07-29 Pedro Alves <palves@redhat.com>
11067
11068 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11069
11070 2015-07-29 Pedro Alves <palves@redhat.com>
11071
11072 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11073
11074 2015-07-29 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11077 parameter into two new parameters, "inf_result" and "gdb_result".
11078 Expect inferior output and gdb output from $inferior_spawn_id and
11079 $gdb_spawn_id, respectively. Adjust all callers.
11080
11081 2015-07-29 Pedro Alves <palves@redhat.com>
11082
11083 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11084 of gdb_test_sequence.
11085
11086 2015-07-29 Pedro Alves <palves@redhat.com>
11087
11088 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11089 (saw_spurious_output): Expect inferior output from
11090 $inferior_spawn_id. Use gdb_test_stdio.
11091
11092 2015-07-29 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.base/dprintf.exp: Use standard_testfile. Change
11095 prepare_for_testing call.
11096 (srcfile): Don't set.
11097 (restart): New procedure.
11098 (test_dprintf): New procecure, use to continue over dprintfs.
11099 (test_call, test_agent): New procedures, tests moved here.
11100 Restart gdb and recreate dprintfs. Adjust expected output.
11101
11102 2015-07-29 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11105
11106 2015-07-29 Pedro Alves <palves@redhat.com>
11107
11108 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11109
11110 2015-07-29 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11113 gdb_test_stdio.
11114
11115 2015-07-29 Pedro Alves <palves@redhat.com>
11116
11117 * lib/gdb.exp (gdb_test_stdio): New procedure.
11118
11119 2015-07-29 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11122
11123 2015-07-29 Pedro Alves <palves@redhat.com>
11124
11125 * gdb.base/call-signal-resume.exp: Remove check for
11126 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11127 * gdb.base/unwindonsignal.exp: Likewise.
11128 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11129 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11130
11131 2015-07-29 Pedro Alves <palves@redhat.com>
11132
11133 * gdb.base/siginfo-addr.c (pass): New function.
11134 (handler): Call it iff si_addr is correct.
11135 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11136 Set a breakpoint at "pass" and continue to it.
11137
11138 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11139
11140 * gdb.python/py-objfile.exp: Make some tests have unique names.
11141 * gdb.python/py-pp-registration.exp: Likewise.
11142
11143 2015-07-28 Pedro Alves <palves@redhat.com>
11144
11145 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11146
11147 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11148
11149 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11150
11151 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11152
11153 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11154
11155 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11156
11157 * gdb.base/gdb-sigterm-2.exp: New test.
11158
11159 2015-07-25 Doug Evans <xdje42@gmail.com>
11160
11161 Revert:
11162 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11163 (workers/%.worker, build-perf): New rule.
11164 (GDB_PERFTEST_MODE): New variable.
11165 (check-perf): Use it.
11166 (clean): Clean up gdb.perf parallel build subdirs.
11167 * lib/build-piece.exp: New file.
11168 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11169 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11170 name.
11171 (standard_temp_file): Ditto.
11172 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11173 of $GDB_PARALLEL.
11174
11175 2015-07-24 Doug Evans <dje@google.com>
11176
11177 * gdb.perf/lib/perftest/utils.py: New file.
11178 * gdb.perf/gm-hello.cc: New file.
11179 * gdb.perf/gm-pervasive-typedef.cc: New file.
11180 * gdb.perf/gm-pervasive-typedef.h: New file.
11181 * gdb.perf/gm-std.cc: New file.
11182 * gdb.perf/gm-std.h: New file.
11183 * gdb.perf/gm-use-cerr.cc: New file.
11184 * gdb.perf/gm-utils.h: New file.
11185 * gdb.perf/gmonster-null-lookup.py: New file.
11186 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11187 * gdb.perf/gmonster-print-cerr.py: New file.
11188 * gdb.perf/gmonster-ptype-string.py: New file.
11189 * gdb.perf/gmonster-runto-main.py: New file.
11190 * gdb.perf/gmonster-select-file.py: New file.
11191 * gdb.perf/gmonster1-null-lookup.exp: New file.
11192 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11193 * gdb.perf/gmonster1-print-cerr.exp: New file.
11194 * gdb.perf/gmonster1-ptype-string.exp: New file.
11195 * gdb.perf/gmonster1-runto-main.exp: New file.
11196 * gdb.perf/gmonster1-select-file.exp: New file.
11197 * gdb.perf/gmonster1.cc: New file.
11198 * gdb.perf/gmonster1.exp: New file.
11199 * gdb.perf/gmonster2-null-lookup.exp: New file.
11200 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11201 * gdb.perf/gmonster2-print-cerr.exp: New file.
11202 * gdb.perf/gmonster2-ptype-string.exp: New file.
11203 * gdb.perf/gmonster2-runto-main.exp: New file.
11204 * gdb.perf/gmonster2-select-file.exp: New file.
11205 * gdb.perf/gmonster2.cc: New file.
11206 * gdb.perf/gmonster2.exp: New file.
11207
11208 2015-07-24 Doug Evans <dje@google.com>
11209
11210 * gdb.perf/README: New file.
11211 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11212 * lib/gen-perf-test.exp: New file.
11213
11214 2015-07-24 Doug Evans <dje@google.com>
11215
11216 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11217 (PerfTest::startup): New function.
11218 (PerfTest::run): Return result of calling body.
11219 (PerfTest::assemble): Rewrite.
11220 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11221 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11222 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11223 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11224 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11225
11226 2015-07-24 Doug Evans <dje@google.com>
11227
11228 * lib/gdb.exp (clean_restart): Make executable optional.
11229
11230 2015-07-24 Doug Evans <dje@google.com>
11231
11232 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11233 compiler_info references.
11234 * gdb.cp/temargs.exp: Ditto.
11235 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11236 (get_compiler_info): Early exit if already computed. Set compiler_info
11237 to "unknown" if there was a problem.
11238 (test_compiler_info): Add function comment. Call get_compiler_info.
11239
11240 2015-07-24 Doug Evans <dje@google.com>
11241
11242 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11243 (workers/%.worker, build-perf): New rule.
11244 (GDB_PERFTEST_MODE): New variable.
11245 (check-perf): Use it.
11246 (clean): Clean up gdb.perf parallel build subdirs.
11247 * lib/build-piece.exp: New file.
11248 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11249 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11250 name.
11251 (standard_temp_file): Ditto.
11252 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11253 of $GDB_PARALLEL.
11254
11255 2015-07-24 Doug Evans <dje@google.com>
11256
11257 * lib/future.exp (gdb_default_target_compile): New option
11258 "early_flags".
11259 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11260 --as-needed.
11261
11262 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11263
11264 * gdb.base/catch-syscall.exp: Call gdb_exit before
11265 gdb_skip_xml_test.
11266
11267 2015-07-24 Pedro Alves <palves@redhat.com>
11268
11269 * gdb.python/py-events.exp: Accept output between the stop event
11270 and the prompt.
11271 * gdb.python/py-evsignal.exp: Likewise.
11272 * gdb.python/py-evthreads.exp: Likewise.
11273
11274 2015-07-24 Pedro Alves <palves@redhat.com>
11275
11276 PR gdb/18717
11277 * gdb.threads/non-ldr-exit.c: New file.
11278 * gdb.threads/non-ldr-exit.exp: New file.
11279
11280 2015-07-24 Yao Qi <yao.qi@linaro.org>
11281
11282 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11283 restarting process.
11284
11285 2015-07-24 Yao Qi <yao.qi@linaro.org>
11286
11287 * gdb.server/ext-restart.exp: New file.
11288
11289 2015-07-24 Yao Qi <yao.qi@linaro.org>
11290
11291 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11292 argument options.
11293 * gdb.server/ext-wrapper.exp: New file.
11294
11295 2015-07-23 Doug Evans <dje@google.com>
11296
11297 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11298 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11299
11300 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11301
11302 * gdb.ada/var_arr_typedef.exp: New testcase.
11303 * gdb.ada/var_arr_typedef/pack.adb: New file.
11304 * gdb.ada/var_arr_typedef/pack.ads: New file.
11305 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11306
11307 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11308
11309 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11310
11311 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11312
11313 * gdb.arch/i386-biarch-core.exp: Replace istarget
11314 by "complete set gnutarget". Remove expectation for the "core-file"
11315 command.
11316
11317 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11318
11319 Revert the previous commit:
11320 Tests for validate symbol file using build-id.
11321
11322 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11323
11324 Tests for validate symbol file using build-id.
11325 * gdb.base/solib-mismatch-lib.c: New file.
11326 * gdb.base/solib-mismatch-libmod.c: New file.
11327 * gdb.base/solib-mismatch.c: New file.
11328 * gdb.base/solib-mismatch.exp: New file.
11329
11330 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11331
11332 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11333 nios2-*-linux*.
11334 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11335 * gdb.base/siginfo.exp: Likewise.
11336 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11337
11338 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11339
11340 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11341 Move it to ...
11342 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11343 ... here.
11344 * gdb.trace/range-stepping.exp: Check that the target supports
11345 range stepping.
11346
11347 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11348
11349 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11350
11351 2015-07-14 Pedro Alves <palves@redhat.com>
11352
11353 * gdb.base/killed-outside.exp: New file.
11354 * gdb.base/killed-outside.c: New file.
11355
11356 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11357
11358 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11359 (n at main): New.
11360 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11361
11362 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11363
11364 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11365 infcall tests instead of setting up for KFAIL.
11366
11367 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11368
11369 * gdb.btrace/record_goto-step.exp: New.
11370
11371 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11372
11373 PR compile/18484
11374 * gdb.compile/compile.c (struct struct_type): Add volatile to
11375 selffield's type.
11376 * gdb.compile/compile.exp
11377 (compile code struct_object.selffield = &struct_object): Skip further
11378 struct_object tests if this one xfails.
11379
11380 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11381
11382 PR exp/18617
11383 * gdb.trace/ax.exp: Add test.
11384
11385 2015-07-07 Yao Qi <yao.qi@linaro.org>
11386
11387 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11388 instead of istarget "aarch64*-*-*".
11389 * gdb.arch/aarch64-fp.exp: Likewise.
11390 * gdb.base/float.exp: Likewise.
11391 * gdb.reverse/aarch64.exp: Likewise.
11392 * lib/gdb.exp (is_aarch64_target): New proc.
11393
11394 2015-07-07 Yao Qi <yao.qi@linaro.org>
11395
11396 * lib/gdb.exp (is_aarch32_target): New proc.
11397 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11398 instead of "istarget "arm*-*-*"".
11399 * gdb.arch/arm-disp-step.exp: Likewise.
11400 * gdb.arch/thumb-bx-pc.exp: Likewise.
11401 * gdb.arch/thumb-prologue.exp: Likewise.
11402 * gdb.arch/thumb-singlestep.exp: Likewise.
11403 * gdb.base/disp-step-syscall.exp: Likewise.
11404 * gdb.base/float.exp: Likewise.
11405
11406 2015-07-07 Yao Qi <yao.qi@linaro.org>
11407
11408 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11409 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11410
11411 2015-07-07 Yao Qi <yao.qi@linaro.org>
11412
11413 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11414 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11415 if it exists.
11416 * gdb.multi/multi-arch.exp: Likewise.
11417
11418 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11419
11420 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11421 print.
11422
11423 2015-07-07 Yao Qi <yao.qi@linaro.org>
11424
11425 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11426
11427 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11428
11429 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11430 '[' and ']' characters.
11431
11432 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11433
11434 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11435
11436 2015-06-29 Pedro Alves <palves@redhat.com>
11437
11438 PR threads/18127
11439 * gdb.threads/hand-call-new-thread.c: New file.
11440 * gdb.threads/hand-call-new-thread.c: New file.
11441
11442 2015-06-26 Keith Seitz <keiths@redhat.com>
11443 Doug Evans <dje@google.com>
11444
11445 PR 16253
11446 * gdb.cp/var-tag-2.cc: New file.
11447 * gdb.cp/var-tag-3.cc: New file.
11448 * gdb.cp/var-tag-4.cc: New file.
11449 * gdb.cp/var-tag.cc: New file.
11450 * gdb.cp/var-tag.exp: New file.
11451
11452 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11453
11454 * gdb.base/history-duplicates.exp: New test.
11455
11456 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11457
11458 * gdb.base/completion.exp: Test the completion of the "focus"
11459 command.
11460
11461 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11462
11463 * gdb.arch/amd64-prologue-skip.S: New file.
11464 * gdb.arch/amd64-prologue-skip.exp: New file.
11465
11466 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11467
11468 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11469 is_address_zero_readable check.
11470
11471 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11472
11473 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11474 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11475
11476 2015-06-24 Yao Qi <yao.qi@linaro.org>
11477
11478 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11479 linux targets.
11480
11481 2015-06-24 Yao Qi <yao.qi@linaro.org>
11482
11483 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11484 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11485 * gdb.base/siginfo-thread.exp: Likewise.
11486
11487 2015-06-22 Yao Qi <yao.qi@linaro.org>
11488
11489 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11490
11491 2015-06-22 Yao Qi <yao.qi@linaro.org>
11492
11493 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11494 aarch64*-*-*.
11495 (skip_hw_watchpoint_tests): Likewise.
11496
11497 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11498
11499 * gdb.base/gdbinit-history.exp: Test the interaction between
11500 setting GDBHISTSIZE and setting the history size via .gdbinit.
11501
11502 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11503
11504 PR gdb/16999
11505 * gdb.base/gdbhistsize-history.exp: New test.
11506
11507 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11508
11509 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11510 with GDBHISTSIZE.
11511 * gdb.base/readline.exp: Likewise.
11512
11513 2015-06-17 Yao Qi <yao.qi@linaro.org>
11514
11515 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11516 line.
11517
11518 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11519
11520 * gdb.base/gdbinit-history.exp: Add test case to check that
11521 an unlimited history file does not get truncated on exit.
11522
11523 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11524
11525 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11526 (VECTOR): New macro. Use it...
11527 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11528 ...for these typedefs.
11529 (int8, char1, int1, double1): New typedefs.
11530 (struct just_int2, struct two_int2): New structures.
11531 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11532 (add_structvecs, add_singlevecs): New functions.
11533 (main): Call add_some_intvecs twice.
11534 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11535 the compile and exit upon failure. Try compiling for the "native"
11536 architecture. Test inferior function calls with vector arguments
11537 and vector return value handling with "finish" and "return".
11538
11539 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11540
11541 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11542 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11543 PE file.
11544 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11545
11546 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11547
11548 PR breakpoints/16465
11549 * gdb.mi/mi-dprintf-pending.c: New file.
11550 * gdb.mi/mi-dprintf-pending.exp: New test.
11551 * gdb.mi/mi-dprintf-pendshr.c: New file.
11552
11553 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11554 Mircea Gherzan <mircea.gherzan@intel.com>
11555
11556 * gdb.arch/i386-mpx-map.c: New file.
11557 * gdb.arch/i386-mpx-map.exp: New File.
11558
11559 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11560
11561 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11562 * gdb.arch/i386-mpx.exp: Indentation fixed.
11563
11564 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11565
11566 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11567 function and improved indentation.
11568 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11569 gdb_test_multiple. Added additional tests to skip the test.
11570
11571 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11572
11573 * gdb.arch/i386-avx512.c: Change path in include file.
11574 * gdb.arch/i386-avx512.exp: Change include dir path
11575 compilation flag.
11576 * gdb.arch/i386-mpx.c: Change path in include file.
11577 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11578 flag.
11579
11580 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11581
11582 * gdb.compile/compile-print.exp (compile print *vararray@3)
11583 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11584
11585 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11586
11587 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11588 (do not keep jit in memory): ... this.
11589 (expect 5): Change it to ...
11590 (expect no 5): ... this.
11591
11592 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11593
11594 PR gdb/15564
11595 * gdb.mi/mi-detach.exp: New file.
11596
11597 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11598
11599 PR symtab/18392
11600 * gdb.arch/amd64-tailcall-self.S: New file.
11601 * gdb.arch/amd64-tailcall-self.c: New file.
11602 * gdb.arch/amd64-tailcall-self.exp: New file.
11603
11604 2015-05-28 Don Breazeal <donb@codesourcery.com>
11605
11606 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11607 tests for remote targets by checking is_target_gdbserver.
11608
11609 2015-05-27 Doug Evans <dje@google.com>
11610
11611 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11612 * gdb.dwarf2/opaque-type-lookup.c: New file.
11613 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11614
11615 2015-05-26 Doug Evans <dje@google.com>
11616
11617 * gdb.cp/iostream.cc: New file.
11618 * gdb.cp/iostream.exp: New file.
11619
11620 2015-05-26 Doug Evans <dje@google.com>
11621
11622 * gdb.dwarf2/dw2-op-call.exp: Update.
11623 * gdb.dwarf2/dw4-sig-types.exp: Update.
11624 * gdb.dwarf2/implptr.exp: Update.
11625 * gdb.mi/mi-cmd-param-changed.exp: Update.
11626
11627 2015-05-26 Doug Evans <dje@google.com>
11628
11629 * gdb.python/py-lazy-string.c: New file.
11630 * gdb.python/py-lazy-string.exp: New file.
11631 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11632 (main): Update. Add estring3.
11633 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11634 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11635
11636 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11637 Yao Qi <yao.qi@linaro.org>
11638
11639 * gdb.reverse/aarch64.c: New.
11640 * gdb.reverse/aarch64.exp: New.
11641
11642 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11643
11644 * lib/gdb.exp (supports_process_record): Return true for
11645 aarch64*-linux*.
11646 (supports_reverse): Likewise.
11647
11648 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11649
11650 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11651 Use with_test_prefix.
11652
11653 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11654
11655 * gdb.base/completion.exp: Add test for completion of layout
11656 names.
11657
11658 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11659
11660 * lib/gdb.exp (skip_tui_tests): New proc.
11661 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11662
11663 2015-05-19 Pedro Alves <palves@redhat.com>
11664
11665 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11666 Save the whole env array instead of just HOME. Unset HISTSIZE in
11667 the environment while testing. Restore whole environment
11668 afterwards.
11669
11670 2015-05-16 Doug Evans <xdje42@gmail.com>
11671
11672 * gdb.guile/scm-ports.c: New file.
11673 * gdb.guile/scm-ports.exp: Add memory port tests.
11674
11675 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11676
11677 * gdb.compile/compile-print.c: New file.
11678 * gdb.compile/compile-print.exp: New file.
11679
11680 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11681
11682 * gdb.compile/compile-ops.exp: Cast param to void.
11683 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11684 (compile code struct_object.selffield = &struct_object): Add xfail.
11685
11686 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11687
11688 * gdb.ada/arr_enum_with_gap: New testcase.
11689
11690 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11691
11692 * gdb.ada/byte_packed_arr: New testcase.
11693
11694 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11695
11696 * gdb.ada/pckd_neg: New testcase.
11697
11698 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11699
11700 PR gdb/17820
11701 * gdb.base/gdbinit-history.exp: New test.
11702 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11703 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11704
11705 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11706
11707 * gdb.python/py-xmethods.cc: Enhance test case.
11708 * gdb.python/py-xmethods.exp: New tests.
11709 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11710 function.
11711 (B_indexoper): Likewise.
11712 (global_dm_list) : Add new xmethod worker functions.
11713
11714 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11715
11716 * gdb.base/coredump-filter.exp: Correctly unset
11717 "coredump_var_addr" array.
11718
11719 2015-05-08 Pedro Alves <palves@redhat.com>
11720
11721 * gdb.server/non-existing-program.exp: Unset spawn_id.
11722
11723 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11724
11725 PR python/18291
11726 * gdb.python/py-xmethods.exp: Add tests.
11727
11728 2015-05-08 Yao Qi <yao.qi@linaro.org>
11729
11730 PR gdb/18208
11731 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11732 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11733 function set_coredump_filter, and remove remote_exec call.
11734 Remove argument ipid. Callers update.
11735 (top level): Don't get inferior's PID.
11736
11737 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11738
11739 * gdb.base/watch_thread_num.exp: Skip test on targets without
11740 access watchpoints.
11741
11742 2015-05-06 Pedro Alves <palves@redhat.com>
11743
11744 PR server/18081
11745 * gdb.server/non-existing-program.exp: New file.
11746
11747 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11748
11749 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11750
11751 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11752
11753 * gdb.ada/out_of_line_in_inlined: New testcase.
11754
11755 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11756
11757 * gdb.ada/var_rec_arr: New testcase.
11758
11759 2015-04-30 Yao Qi <yao.qi@linaro.org>
11760
11761 * gdb.base/break-idempotent.exp: If
11762 skip_hw_watchpoint_multi_tests returns true, skip the tests
11763 on "rwatch" and "awatch".
11764
11765 2015-04-30 Yao Qi <yao.qi@linaro.org>
11766
11767 * gdb.base/relativedebug.exp: Invoke gdb command
11768 "info sharedlibrary", and if libc.so doesn't have debug info,
11769 skip the test.
11770
11771 2015-04-29 Doug Evans <dje@google.com>
11772
11773 * gdb.python/py-xmethods.exp: Add ptype tests.
11774 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11775 get_result_type method.
11776
11777 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11778
11779 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11780 the target does not support hardware watchpoints.
11781
11782 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11783
11784 * gdb.base/break-always.exp: Abort testing if writing to memory
11785 causes an error.
11786
11787 2015-04-28 Doug Evans <dje@google.com>
11788
11789 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11790 * gdb.python/py-pp-registration.exp: ... here. New file.
11791 * gdb.python/py-pp-registration.c: New file.
11792 * gdb.python/py-pp-registration.py: New file.
11793
11794 2015-04-28 Doug Evans <dje@google.com>
11795
11796 * gdb.python/py-bad-printers.c: New file.
11797 * gdb.python/py-bad-printers.py: New file.
11798 * gdb.python/py-bad-printers.exp: New file.
11799
11800 2015-04-28 Sasha Smundak <asmundak@google.com>
11801
11802 * gdb.python/py-type.exp: New test.
11803
11804 2015-04-28 Andy Wingo <wingo@igalia.com>
11805
11806 * gdb.python/py-parameter.exp:
11807 * gdb.guile/scm-parameter.exp: Escape the path that we are
11808 matching against, as it might contain characters that are special
11809 to regular expressions.
11810
11811 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11812
11813 * gdb.ada/rec_comp: New testcase.
11814
11815 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11816
11817 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11818 before using it.
11819
11820 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11821
11822 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11823 new tests for verilog output.
11824
11825 2015-04-24 Yao Qi <yao.qi@linaro.org>
11826
11827 * boards/remote-gdbserver-on-localhost.exp: New file.
11828
11829 2015-04-23 Pedro Alves <palves@redhat.com>
11830
11831 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11832 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11833 "end of file", remove $inferior_spawn_id from the indirect list.
11834
11835 2015-04-23 Pedro Alves <palves@redhat.com>
11836
11837 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11838
11839 2015-04-23 Pedro Alves <palves@redhat.com>
11840
11841 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11842 on $any_spawn_id instead of only on $gdb_spawn_id.
11843
11844 2015-04-21 Pierre Muller <muller@sourceware.org>
11845
11846 PR pascal/17815
11847 * lib/pascal.exp (gpc_compile): Add new option "class".
11848 (fpc_compile): Likewise.
11849 * gdb.pascal/case-insensitive-symbols.pas: New file.
11850 * gdb.pascal/case-insensitive-symbols.exp: New file.
11851
11852 2015-04-20 Gary Benson <gbenson@redhat.com>
11853
11854 * gdb.base/attach.exp: Fix three extended remote failures.
11855
11856 2015-04-17 Gary Benson <gbenson@redhat.com>
11857
11858 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11859 the main executable over the remote protocol.
11860
11861 2015-04-16 Pedro Alves <palves@redhat.com>
11862
11863 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11864 a new gdbserver if gdbserver_reconnect_p is set.
11865
11866 2015-04-16 Pedro Alves <palves@redhat.com>
11867
11868 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11869 is set, don't exit gdbserver.
11870
11871 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11872
11873 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11874 appropriate .insn, such that an older assembler can be used.
11875 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11876 the z/Architecture instruction set on 31-bit targets as well.
11877
11878 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11879
11880 * gdb.go/handcall.exp: Remove all logic related to the first
11881 breakpoint and rely on go_runto_main instead.
11882 * gdb.go/strings.exp: Likewise.
11883 * gdb.go/unsafe.exp: Likewise.
11884 * gdb.go/hello.exp: Likewise. Also rename the remaining
11885 breakpoint marker to "breakpoint 1".
11886 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11887 * gdb.go/strings.go: Likewise.
11888 * gdb.go/unsafe.go: Likewise.
11889 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11890 "set breakpoint 2 here" and rename the remaining breakpoint marker
11891 to "breakpoint 1".
11892
11893 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11894
11895 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11896 if itertools.imap is not present.
11897 * gdb.python/py-objfile.exp: Add parentheses.
11898 * gdb.python/py-type.exp: Same.
11899 * gdb.python/py-unwind-maint.py: Same.
11900
11901 2015-04-15 Yao Qi <yao.qi@linaro.org>
11902
11903 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11904 of ":$ptr_size" and set its form explicitly.
11905
11906 2015-04-15 Pedro Alves <palves@redhat.com>
11907 Yao Qi <yao.qi@linaro.org>
11908
11909 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11910 timeout by factor of 4.
11911 (test_regular_watch): Likewise.
11912 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11913 * gdb.reverse/sigall-reverse.exp: Likewise.
11914 * gdb.reverse/until-precsave.exp: Likewise.
11915 * lib/gdb.exp (with_timeout_factor): New proc.
11916 (gdb_expect): Move some code to ...
11917 (get_largest_timeout): ... here. New procedure.
11918
11919 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11920
11921 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11922
11923 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11924
11925 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11926 to write to the .text section.
11927
11928 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11929
11930 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11931 Handle the case of targets that do not provide PID information.
11932
11933 2015-04-13 Yao Qi <yao.qi@linaro.org>
11934
11935 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11936 and use expect instead of gdb_expect.
11937
11938 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11939
11940 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11941 "coredump_var_addr" to avoid naming conflict with other testcases.
11942
11943 2015-04-10 Pedro Alves <palves@redhat.com>
11944
11945 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11946 gdb_test_sequence and gdb_assert.
11947
11948 2015-04-10 Pedro Alves <palves@redhat.com>
11949
11950 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11951 test messages that don't include the breakpoint address.
11952
11953 2015-04-10 Yao Qi <yao.qi@linaro.org>
11954
11955 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11956 false for some offset and width combinations which aren't
11957 supported by linux kernel.
11958
11959 2015-04-10 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11962 procedure, factored out from ...
11963 (top level): ... here. Add "set displaced-stepping" testing axis.
11964 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11965 parameter "displaced". Use it.
11966 (top level): Use foreach and add "set displaced-stepping" testing
11967 axis.
11968
11969 2015-04-10 Pedro Alves <palves@redhat.com>
11970
11971 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11972 Remove comment.
11973 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11974 both the address of the instruction that triggers the watchpoint
11975 and the address of the instruction immediately after, and use
11976 those addresses for the test. Fix comment.
11977
11978 2015-04-10 Pedro Alves <palves@redhat.com>
11979
11980 * gdb.base/sigstep.exp (breakpoint_to_handler)
11981 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11982 Test "backtrace" in handler.
11983 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11984 (top level): Add new "displaced" test axis to
11985 breakpoint_to_handler, breakpoint_to_handler_entry and
11986 breakpoint_over_handler.
11987
11988 2015-04-10 Pedro Alves <palves@redhat.com>
11989
11990 PR gdb/18216
11991 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11992
11993 2015-04-10 Yao Qi <yao.qi@linaro.org>
11994
11995 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11996 (test_add_rn_pc): New function.
11997 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11998 (top level): Invoke test_add_rn_pc.
11999
12000 2015-04-10 Pedro Alves <palves@redhat.com>
12001
12002 PR gdb/13858
12003 * gdb.base/step-over-no-symbols.exp: New file.
12004
12005 2015-04-09 Andy Wingo <wingo@igalia.com>
12006
12007 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12008 after the Python tests.
12009
12010 2015-04-08 Keith Seitz <keiths@redhat.com>
12011
12012 PR python/16699
12013 * gdb.python/py-completion.exp: New tests for completion.
12014 * gdb.python/py-completion.py (CompleteLimit1): New class.
12015 (CompleteLimit2): Likewise.
12016 (CompleteLimit3): Likewise.
12017 (CompleteLimit4): Likewise.
12018 (CompleteLimit5): Likewise.
12019 (CompleteLimit6): Likewise.
12020 (CompleteLimit7): Likewise.
12021
12022 2015-04-08 Pedro Alves <palves@redhat.com>
12023
12024 PR gdb/18214
12025 PR gdb/18216
12026 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12027 function.
12028 (main): Install it as SIGUSR1 handler.
12029 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12030 parameter. Always use "setup" as prefix. Toggle "set
12031 displaced-stepping" off/on depending on global. Don't switch to
12032 thread 1 here.
12033 (top level): Add displaced stepping "off/on" test axis. Update
12034 "setup" calls. Wrap each subtest with with_test_prefix. Test
12035 continuing with a queued signal in each thread.
12036
12037 2015-04-08 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12040 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12041 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12042 Return early if running to main fails.
12043 * gdb.trace/while-stepping.exp: Likewise.
12044
12045 2015-04-07 Pedro Alves <palves@redhat.com>
12046
12047 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12048 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12049 interact with inferior program.
12050
12051 2015-04-07 Pedro Alves <palves@redhat.com>
12052
12053 * lib/gdb.exp (inferior_spawn_id): New global.
12054 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12055 spawn id after processing the user code.
12056 (default_gdb_start): Set inferior_spawn_id.
12057 (send_inferior): New procedure.
12058 * lib/gdbserver-support.exp (gdbserver_start): Set
12059 inferior_spawn_id.
12060 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12061
12062 2015-04-07 Pedro Alves <palves@redhat.com>
12063
12064 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12065 * lib/gdbserver-support.exp (gdbserver_start): Make
12066 $server_spawn_id global.
12067 (gdbserver_start): Don't wait for gdbserver's spawn id with
12068 expect_background.
12069 (close_gdbserver): New procedure.
12070 (gdb_exit): Rename the default version and reimplement.
12071
12072 2015-04-07 Pedro Alves <palves@redhat.com>
12073
12074 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12075 append the substituted item, not the original item.
12076
12077 2015-04-07 Pedro Alves <palves@redhat.com>
12078
12079 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12080 gdb_expect.
12081
12082 2015-04-07 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12085 output appearing once only.
12086
12087 2015-04-07 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12090 that doesn't expect anything. Return early if running to main
12091 fails.
12092
12093 2015-04-07 Yao Qi <yao.qi@linaro.org>
12094
12095 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12096 (child_function): Call alarm.
12097 (main): Move call to alarm into the loop.
12098 * gdb.threads/non-stop-fair-events.exp: Build program with
12099 -DTIMEOUT=$timeout.
12100
12101 2015-04-06 Doug Evans <xdje42@gmail.com>
12102
12103 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12104 Fix dest parameter to board_info.
12105 (fpc_compile): Ditto.
12106 (gdb_compile_pascal): Rename dest arg to destfile.
12107
12108 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12109
12110 * gdb.ada/funcall_ref.exp: New file.
12111 * gdb.ada/funcall_ref/foo.adb: New file.
12112
12113 2015-04-02 Yao Qi <yao.qi@linaro.org>
12114
12115 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12116 is remote.
12117
12118 2015-04-02 Gary Benson <gbenson@redhat.com>
12119
12120 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12121
12122 2015-04-01 Sasha Smundak <asmundak@google.com>
12123
12124 * gdb.python/py-unwind-maint.c: New file.
12125 * gdb.python/py-unwind-maint.exp: New test.
12126 * gdb.python/py-unwind-maint.py: New file.
12127 * gdb.python/py-unwind.c: New file.
12128 * gdb.python/py-unwind.exp: New test.
12129 * gdb.python/py-unwind.py: New test.
12130
12131 2015-04-01 Pedro Alves <palves@redhat.com>
12132
12133 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12134 to fail instead of non-existent $test.
12135
12136 2015-04-01 Pedro Alves <palves@redhat.com>
12137
12138 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12139 GDBFLAGS if not empty.
12140
12141 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12142
12143 * gdb.ada/complete.exp: Remove "multi_line".
12144 * gdb.ada/info_exc.exp: Remove "multi_line".
12145 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12146 * gdb.ada/ptype_field.exp: Remove "multi_line".
12147 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12148 * gdb.ada/tagged.exp: Remove "multi_line".
12149 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12150 [multi_line ...]
12151 * gdb.btrace/delta.exp: Likewise.
12152 * gdb.btrace/exception.exp: Likewise.
12153 * gdb.btrace/function_call_history.exp: Likewise.
12154 * gdb.btrace/instruction_history.exp: Likewise.
12155 * gdb.btrace/nohist.exp: Likewise.
12156 * gdb.btrace/record_goto.exp: Likewise.
12157 * gdb.btrace/segv.exp: Likewise.
12158 * gdb.btrace/stepi.exp: Likewise.
12159 * gdb.btrace/tailcall.exp: Likewise.
12160 * gdb.btrace/unknown_functions.exp: Likewise.
12161 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12162 * lib/gdb.exp: Add the "multi_line" helper.
12163
12164 2015-04-01 Pedro Alves <palves@redhat.com>
12165
12166 * gdb.threads/tid-reuse.c: New file.
12167 * gdb.threads/tid-reuse.exp: New file.
12168
12169 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12170
12171 PR corefiles/16092
12172 * gdb.base/coredump-filter.c: New file.
12173 * gdb.base/coredump-filter.exp: Likewise.
12174
12175 2015-03-27 Petr Machata <pmachata@redhat.com>
12176
12177 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12178 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12179 (Dwarf::assemble): Initialize them.
12180 (Dwarf::lines): New function.
12181
12182 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12183
12184 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12185 SYMBOL_PREFIX for x86_64-*-cygwin.
12186
12187 2015-03-26 Andy Wingo <wingo@igalia.com>
12188
12189 PR symtab/18148
12190 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12191 const_value but not a location.
12192 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12193 location defined in non-main CUs are visible.
12194
12195 2015-03-26 Yao Qi <yao.qi@linaro.org>
12196
12197 PR testsuite/18139
12198 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12199 Add a line number entry for the same line.
12200 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12201 Add a line number entry for the same line.
12202
12203 2015-03-26 Yao Qi <yao.qi@linaro.org>
12204
12205 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12206 .int 0.
12207 (func): Likewise. Add .Lfunc_1 label.
12208 Use .Lfunc_1 label.
12209 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12210 .int 0.
12211 (func): Likewise.
12212 Use .Lfunc_1 label.
12213
12214 2015-03-26 Yao Qi <yao.qi@linaro.org>
12215
12216 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12217 Call gdb_compile instead to compile each .s files without debug
12218 information.
12219
12220 2015-03-26 Yao Qi <yao.qi@linaro.org>
12221
12222 * gdb.base/savedregs.exp (process_saved_regs): Make
12223 "Saved registers:" optional in the pattern.
12224
12225 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12226
12227 * gdb.btrace/next.exp: Merged into step.exp.
12228 * gdb.btrace/finish.exp: Merged into step.exp.
12229 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12230 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12231 "record goto" and checking the exact replay position.
12232 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12233 check for "Recording format" in "info record" output.
12234 * gdb.btrace/record_goto.exp: Choose test file based on target.
12235 * gdb.btrace/x86-record_goto.S: Renamed into ...
12236 * gdb.btrace/x86_64-record_goto.S: ... this.
12237 * gdb.btrace/i686-record_goto.S: New.
12238 * gdb.btrace/x86-tailcall.S: Renamed into ...
12239 * gdb.btrace/x86_64-tailcall.S: ... this.
12240 * gdb.btrace/i686-tailcall.S: New.
12241 * gdb.btrace/x86-tailcall.c: Renamed into ...
12242 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12243 separate statements. Update test.
12244 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12245 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12246 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12247 * gdb.btrace/tailcall.exp: Choose test file based on target.
12248 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12249
12250 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12251
12252 * gdb.btrace/exception.exp: Increase BTS buffer size.
12253
12254 2015-03-24 Pedro Alves <palves@redhat.com>
12255
12256 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12257
12258 2015-03-24 Pedro Alves <palves@redhat.com>
12259
12260 * gdb.threads/schedlock.exp (test_step): No longer expect that
12261 "set scheduler-locking step" with "next" over a function call runs
12262 threads unlocked.
12263
12264 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12265
12266 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12267
12268 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12269
12270 PR breakpoints/16466
12271 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12272 * gdb.mi/mi-pending.c (thread_func): New function.
12273 (int main): Add threading support required.
12274 * gdb.mi/mi-pending.exp: Add tests for this issue.
12275 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12276 (pendfunc2): Remove stdio dependency.
12277 * gdb.mi/mi-pendshr2.c: New file.
12278
12279 2015-03-23 Keith Seitz <keiths@redhat.com>
12280
12281 * gdb.linespec/keywords.c: New file.
12282 * gdb.linespec/keywords.exp: New file.
12283
12284 2015-03-23 Keith Seitz <keiths@redhat.com>
12285
12286 PR gdb/18021
12287 * gdb.dwarf2/staticvirtual.exp: New test.
12288
12289 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12290
12291 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12292 * README: Remove HP-UX and gdb.hp.
12293 (configuration):
12294 * configure: Regenerate.
12295 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12296 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12297 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12298 gdb.hp/gdb.defects/Makefile.
12299 * gdb.hp/Makefile.in: File deleted.
12300 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12301 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12302 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12303 * gdb.hp/gdb.aCC/run.c: File deleted.
12304 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12305 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12306 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12307 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12308 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12309 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12310 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12311 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12312 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12313 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12314 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12315 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12316 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12317 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12318 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12319 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12320 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12321 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12322 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12323 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12324 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12325 * gdb.hp/gdb.compat/average.c: File deleted.
12326 * gdb.hp/gdb.compat/sum.c: File deleted.
12327 * gdb.hp/gdb.compat/xdb.c: File deleted.
12328 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12329 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12330 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12331 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12332 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12333 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12334 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12335 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12336 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12337 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12338 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12339 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12340 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12341 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12342 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12343 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12344 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12345 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12346 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12347 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12348 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12349 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12350 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12351 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12352 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12353 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12354 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12355 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12356 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12357 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12358 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12359 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12360 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12361 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12362 * gdb.hp/tools/odump: File deleted.
12363
12364 2015-03-19 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12367 (saw_thread_3): New globals.
12368 (top level): Increment them when an event for the corresponding
12369 thread is seen.
12370 (no thread starvation): New test.
12371
12372 2015-03-19 Pedro Alves <palves@redhat.com>
12373
12374 * gdb.threads/continue-pending-status.c: New file.
12375 * gdb.threads/continue-pending-status.exp: New file.
12376
12377 2015-03-18 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12380 Use gdb_is_target_remote instead of is_remote. Use
12381 gdb_test_multiple instead of gdb_expect. Exit early if
12382 gdb_test_multiple hits its internal matches. Tighten stepi tests
12383 expected output. Fail on exit with any signal, instead of just
12384 SIGILL.
12385
12386 2015-03-18 Yao Qi <yao.qi@linaro.org>
12387
12388 PR tdep/18107
12389 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12390 variable.
12391 * gdb.base/catch-syscall.exp: Don't skip it on
12392 aarch64*-*-linux* target. Remove elements in all_syscalls.
12393 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12394 target.
12395 (setup_all_syscalls): New proc.
12396
12397 2015-03-16 Yao Qi <yao.qi@linaro.org>
12398
12399 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12400 (top level): Skip tests if valid_addr_p returns false for
12401 $cmd1 or $cmd2.
12402
12403 2015-03-11 Andy Wingo <wingo@igalia.com>
12404
12405 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12406
12407 2015-03-11 Yao Qi <yao.qi@linaro.org>
12408
12409 * gdb.base/catch-syscall.exp: Fix typo in comments.
12410
12411 2015-03-11 Yao Qi <yao.qi@linaro.org>
12412
12413 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12414
12415 2015-03-09 Pedro Alves <palves@redhat.com>
12416
12417 * dg-extract-results.py: Delete.
12418
12419 2015-03-09 Pedro Alves <palves@redhat.com>
12420
12421 Merge dg-extract-results.sh from GCC upstream (r218843).
12422
12423 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12424 * dg-extract-results.sh: Use --text with grep to avoid issues with
12425 binary files. Fall back to cat -v, if that doesn't work.
12426
12427 2015-03-05 Pedro Alves <palves@redhat.com>
12428
12429 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12430
12431 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12432
12433 * lib/mi-support.exp (mi_expect_interrupt): Accept
12434 alternative event for when in all-stop mode.
12435
12436 2015-03-04 Pedro Alves <palves@redhat.com>
12437
12438 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12439
12440 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12441
12442 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12443
12444 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12445
12446 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12447 regexps for GDB's current line display, accept a hex address
12448 preceding the line number.
12449
12450 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12451
12452 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12453 the 'arch1' variable for "s390*-linux*" targets.
12454
12455 2015-03-04 Pedro Alves <palves@redhat.com>
12456
12457 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12458 (main): Pass missing retval argument to pthread_join call.
12459
12460 2015-03-02 Pedro Alves <palves@redhat.com>
12461
12462 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12463 (top level): Call do_test with non-stop as well.
12464
12465 2015-03-02 Pedro Alves <palves@redhat.com>
12466
12467 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12468 -1.
12469
12470 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12471
12472 * gdb.arch/s390-vregs.exp: New test.
12473 * gdb.arch/s390-vregs.S: New file.
12474
12475 2015-02-27 Pedro Alves <palves@redhat.com>
12476
12477 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12478 call to catch_command_errors.
12479 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12480 catch_command_errors.
12481
12482 2015-02-27 Pedro Alves <palves@redhat.com>
12483
12484 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12485 "true" for boolean result.
12486 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12487 prototype of main.
12488
12489 2015-02-27 Pedro Alves <palves@redhat.com>
12490
12491 * lib/unbuffer_output.c: New file.
12492 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12493 (main): Call gdb_unbuffer_output.
12494
12495 2015-02-27 Yao Qi <yao.qi@linaro.org>
12496
12497 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12498 target.
12499
12500 2015-02-26 Doug Evans <dje@google.com>
12501
12502 * gdb.cp/class2.cc (Dbase, D): New classes.
12503 (main): New local delta.
12504 * gdb.cp/class2.exp: Test printing delta.
12505 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12506 (dynbar): New global.
12507 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12508
12509 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12510
12511 * gdb.compile/compile-ifunc.c: New file.
12512 * gdb.compile/compile-ifunc.exp: New file.
12513
12514 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12515
12516 * gdb.base/structs.exp: Check for correct struct on finish.
12517
12518 2015-02-26 Yao Qi <yao.qi@linaro.org>
12519
12520 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12521 is zero.
12522
12523 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12524
12525 * gdb.arch/cordic.ko.bz2: New file.
12526 * gdb.arch/cordic.ko.debug.bz2: New file.
12527 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12528
12529 2015-02-25 Yao Qi <yao.qi@linaro.org>
12530
12531 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12532 aarch64*-*-* target.
12533
12534 2015-02-23 Pedro Alves <palves@redhat.com>
12535
12536 * lib/gdb.exp (delete_breakpoints): Rewrite using
12537 gdb_test_multiple.
12538
12539 2015-02-23 Pedro Alves <palves@redhat.com>
12540
12541 * gdb.base/info-os.c: Include stdlib.h.
12542
12543 2015-02-22 Doug Evans <xdje42@gmail.com>
12544
12545 PR symtab/17855
12546 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12547 is read after symbols have been re-read.
12548 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12549 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12550
12551 2015-02-21 Doug Evans <dje@google.com>
12552
12553 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12554
12555 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12556
12557 PR corefiles/17808
12558 * gdb.arch/i386-biarch-core.core.bz2: New file.
12559 * gdb.arch/i386-biarch-core.exp: New file.
12560
12561 2015-02-21 Pedro Alves <palves@redhat.com>
12562
12563 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12564 runto_main fails.
12565
12566 2015-02-20 Pedro Alves <palves@redhat.com>
12567
12568 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12569 info probes.
12570
12571 2015-02-20 Pedro Alves <palves@redhat.com>
12572
12573 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12574
12575 2015-02-20 Pedro Alves <palves@redhat.com>
12576
12577 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12578 clean_restart before gdb_target_supports_trace.
12579
12580 2015-02-20 Pedro Alves <palves@redhat.com>
12581
12582 PR threads/18006
12583 * gdb.threads/clone-thread_db.c: New file.
12584 * gdb.threads/clone-thread_db.exp: New file.
12585
12586 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12587
12588 PR breakpoints/16812
12589 * gdb.base/catch-gdb-caused-signals.c: New file.
12590 * gdb.base/catch-gdb-caused-signals.exp: New file.
12591
12592 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12593
12594 * configure: Regenerated.
12595 * configure.ac: Use GDB_AC_TRANSFORM.
12596 * aclocal.m4: sinclude ../transform.m4.
12597
12598 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12599
12600 * lib/dtrace.exp: New file.
12601 * gdb.base/dtrace-probe.exp: Likewise.
12602 * gdb.base/dtrace-probe.d: Likewise.
12603 * gdb.base/dtrace-probe.c: Likewise.
12604 * lib/pdtrace.in: Likewise.
12605 * configure.ac: Output variables with the transformed names of
12606 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12607 * configure: Regenerated.
12608
12609 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12610
12611 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12612 expected message when trying to access $_probe_* convenience
12613 variables while not on a probe.
12614
12615 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12616
12617 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12618
12619 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12620
12621 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12622 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12623
12624 2015-02-10 Doug Evans <xdje42@gmail.com>
12625
12626 * lib/gdb.exp (gdb_load): Always return a result.
12627
12628 2015-02-10 Pedro Alves <palves@redhat.com>
12629
12630 * gdb.threads/signal-sigtrap.c: New file.
12631 * gdb.threads/signal-sigtrap.exp: New file.
12632
12633 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12634
12635 * gdb.trace/no-attach-trace.c: New file.
12636 * gdb.trace/no-attach-trace.exp: New file.
12637
12638 2015-02-09 Mark Wielaard <mjw@redhat.com>
12639
12640 * gdb.dwarf2/atomic.c: New file.
12641 * gdb.dwarf2/atomic-type.exp: Likewise.
12642
12643 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12644
12645 * gdb.btrace/buffer-size.exp: Update "info record" output.
12646 * gdb.btrace/delta.exp: Update "info record" output.
12647 * gdb.btrace/enable.exp: Update "info record" output.
12648 * gdb.btrace/finish.exp: Update "info record" output.
12649 * gdb.btrace/instruction_history.exp: Update "info record" output.
12650 * gdb.btrace/next.exp: Update "info record" output.
12651 * gdb.btrace/nexti.exp: Update "info record" output.
12652 * gdb.btrace/step.exp: Update "info record" output.
12653 * gdb.btrace/stepi.exp: Update "info record" output.
12654 * gdb.btrace/nohist.exp: Update "info record" output.
12655
12656 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12657
12658 * gdb.btrace/buffer-size: New.
12659
12660 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12661
12662 * gdb.btrace/delta.exp: Update "info record" output.
12663 * gdb.btrace/enable.exp: Update "info record" output.
12664 * gdb.btrace/finish.exp: Update "info record" output.
12665 * gdb.btrace/instruction_history.exp: Update "info record" output.
12666 * gdb.btrace/next.exp: Update "info record" output.
12667 * gdb.btrace/nexti.exp: Update "info record" output.
12668 * gdb.btrace/step.exp: Update "info record" output.
12669 * gdb.btrace/stepi.exp: Update "info record" output.
12670 * gdb.btrace/nohist.exp: Update "info record" output.
12671
12672 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12673
12674 PR gdb/15678
12675 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12676
12677 2015-02-06 Pedro Alves <palves@redhat.com>
12678
12679 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12680 macro.
12681 (seconds_left, again): New globals.
12682 (main): Wait seconds_left in a 1-second sleep loop instead of
12683 sleeping 180 seconds. If 'again' is set, reset the seconds
12684 counter.
12685 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12686 'again' in the inferior before detaching. Print the seconds left.
12687 (options): New global.
12688 (top level): Build program with -DTIMEOUT=$timeout.
12689
12690 2015-02-06 Pedro Alves <palves@redhat.com>
12691
12692 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12693 determine how many seconds to pass to 'alarm'.
12694 * gdb.base/gdb-sigterm.exp (top level): Build program with
12695 -DTIMEOUT=$timeout.
12696 (do_test): Return success/failure indication. Add more verbose
12697 logging. Don't fail if 200 single steps are seen. Instead, fail
12698 when the test times out.
12699 (passes): New global.
12700 (top level): Break the testing loop if testing fails on any
12701 iteration. Use gdb_assert.
12702
12703 2015-02-04 Don Breazeal <donb@codesourcery.com>
12704
12705 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12706 and initialize them.
12707 (ipc_cleanup): New function.
12708 (main): Don't declare shmid, semid, and msqid. Add a call to
12709 atexit so that we call ipc_cleanup on exit.
12710
12711 2015-02-04 Pedro Alves <palves@redhat.com>
12712
12713 * boards/native-extended-gdbserver.exp: Remove any target variant
12714 specifications from the board name before clearing the isremote
12715 flag from board_info.
12716
12717 2015-01-31 Doug Evans <xdje42@gmail.com>
12718
12719 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12720
12721 2015-01-31 Gary Benson <gbenson@redhat.com>
12722
12723 * gdb.base/completion.exp: Disable completion limiting for
12724 existing tests. Add new tests to check completion limiting.
12725 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12726
12727 2015-01-31 Doug Evans <xdje42@gmail.com>
12728
12729 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12730
12731 2015-01-31 Doug Evans <xdje42@gmail.com>
12732
12733 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12734 entries. Duplicate file section script entries.
12735 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12736 inlined entries. Add test for safe-path rejection.
12737 * gdb.python/py-section-script.c: Add duplicate inlined section script
12738 entries. Duplicate file section script entries.
12739 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12740 inlined entries. Add test for safe-path rejection.
12741
12742 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12743
12744 * gdb.ada/disc_arr_bound: New testcase.
12745
12746 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12747
12748 * gdb.ada/mi_var_array: New testcase.
12749
12750 2015-01-27 Doug Evans <dje@google.com>
12751
12752 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12753 Add test for objfile.filename, objfile.username after objfile
12754 has been unloaded.
12755
12756 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12757
12758 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12759 the second test to print the name attribute of value
12760 returned by the call to gdb.lookup_type, and adjust
12761 the expected output accordingly.
12762
12763 2015-01-25 Mark Wielaard <mjw@redhat.com>
12764
12765 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12766 * gdb.base/disp-step-fork.c: Include unistd.h.
12767 * gdb.base/siginfo-obj.c: Include stdio.h.
12768 * gdb.base/siginfo-thread.c: Likewise.
12769 * gdb.mi/non-stop.c: Include unistd.h.
12770 * gdb.mi/nsthrexec.c: Include stdio.h.
12771 * gdb.mi/pthreads.c: Include unistd.h.
12772 * gdb.modula2/unbounded1.c (main): Declare returns int.
12773 * gdb.reverse/consecutive-reverse.c: Likewise.
12774 * gdb.threads/create-fail.c: Include unistd.h.
12775 * gdb.threads/killed.c: Likewise.
12776 * gdb.threads/linux-dp.c: Likewise.
12777 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12778 * gdb.threads/non-ldr-exc-2.c: Likewise.
12779 * gdb.threads/non-ldr-exc-3.c: Likewise.
12780 * gdb.threads/non-ldr-exc-4.c: Likewise.
12781 * gdb.threads/pthreads.c: Include unistd.h.
12782 (main): Declare returns int.
12783 * gdb.threads/tls-main.c (foo): New declaration.
12784 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12785
12786 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12787
12788 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12789 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12790
12791 2015-01-15 Mark Wielaard <mjw@redhat.com>
12792
12793 * gdb.base/noreturn-return.c: New file.
12794 * gdb.base/noreturn-return.exp: New file.
12795 * gdb.base/noreturn-finish.c: New file.
12796 * gdb.base/noreturn-finish.exp: New file.
12797
12798 2015-01-23 Pedro Alves <palves@redhat.com>
12799
12800 * gdb.threads/continue-pending-after-query.c: New file.
12801 * gdb.threads/continue-pending-after-query.exp: New file.
12802
12803 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12804 Simon Marchi <simon.marchi@ericsson.com>
12805
12806 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12807 * gdb.base/valgrind-db-attach.exp: Same.
12808 * gdb.base/valgrind-infcall.exp: Same.
12809 * lib/mi-support.exp (default_mi_gdb_start): Same.
12810 * lib/prompt.exp (default_prompt_gdb_start): Same.
12811 * lib/gdb.exp (default_gdb_spawn): Same.
12812 (gdb_interact): New.
12813
12814
12815 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12816
12817 * gdb.compile/compile.exp (pointer to jit function): New test.
12818
12819 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12820
12821 * lib/gdb.exp (supports_process_record): Return true for
12822 powerpc*-*-linux*.
12823 (supports_reverse): Likewise.
12824
12825 2015-01-15 Don Breazeal <donb@codesourcery.com>
12826
12827 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12828 instead of checking whether the target board is remote and
12829 use spawn_wait_for_attach instead of exec/sleep.
12830 * gdb.base/attach-twice.exp: Likewise.
12831
12832 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12833
12834 * gdb.ada/var_arr_attrs: New testcase.
12835
12836 2015-01-14 Pedro Alves <palves@redhat.com>
12837 Joel Brobecker <brobecker@adacore.com>
12838
12839 PR gdb/17525
12840 * gdb.base/bp-cmds-execution-x-script.c: New file.
12841 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12842 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12843
12844 2015-01-14 Pedro Alves <palves@redhat.com>
12845
12846 PR cli/17828
12847 * gdb.base/batch-preserve-term-settings.c: New file.
12848 * gdb.base/batch-preserve-term-settings.exp: New file.
12849
12850 2015-01-13 Doug Evans <dje@google.com>
12851
12852 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12853 binary.
12854
12855 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12856
12857 * Makefile.in (clean mostlyclean): Do not delete *.py.
12858
12859 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12860
12861 * gdb.python/py-lookup-type.exp: New file.
12862
12863 2015-01-12 Pedro Alves <palves@redhat.com>
12864
12865 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12866 restore GDBFLAGS before returning.
12867
12868 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12869
12870 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12871 is_amd64_regs_target and is_x86_like_target.
12872
12873 2015-01-11 Doug Evans <xdje42@gmail.com>
12874
12875 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12876 is given without an explicit form.
12877 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12878 attributes.
12879 * gdb.dwarf/corrupt.exp: Ditto.
12880 * gdb.dwarf2/enum-type.exp: Ditto.
12881 * gdb.trace/entry-values.exp: Ditto.
12882 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12883
12884 2015-01-11 Doug Evans <xdje42@gmail.com>
12885
12886 PR gdb/15830
12887 * gdb.base/maint.exp: Remove references to "maint demangle".
12888 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12889 Add tests for explicitly specifying language to demangle.
12890 * gdb.dlang/demangle.exp: Ditto.
12891
12892 2015-01-09 Pedro Alves <palves@redhat.com>
12893
12894 * gdb.threads/non-stop-fair-events.c: New file.
12895 * gdb.threads/non-stop-fair-events.exp: New file.
12896
12897 2015-01-09 Pedro Alves <palves@redhat.com>
12898
12899 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12900 the global scope. Set a breakpoint after all threads are started
12901 rather than stepping over two source lines. Expect the prompt.
12902 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12903 global.
12904 (NUM): Now 15.
12905 (main): Use threads_started_barrier to wait for all threads to
12906 start. Main thread no longer calls thread_function. Exit after
12907 180 seconds.
12908 (loop): New function.
12909 (thread_function): Wait on threads_started_barrier barrier. Call
12910 'loop' at each iteration.
12911 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12912 threads have started, instead of hardcoding number of "next"
12913 steps. Use an access watchpoint instead of a write watchpoint.
12914
12915 2015-01-09 Pedro Alves <palves@redhat.com>
12916
12917 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12918 (thread_func): Wait on barrier.
12919 (main): Wait for all threads to start before stopping GDB.
12920 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12921 global.
12922 (thread1_func, thread2_func): Wait on barrier.
12923 (main): Wait for all threads to start before stopping GDB.
12924 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12925 New global.
12926 (thread1_func, thread2_func): Wait on barrier.
12927 (main): Wait for all threads to start before stopping GDB.
12928
12929 2015-01-09 Pedro Alves <palves@redhat.com>
12930
12931 * gdb.threads/attach-many-short-lived-threads.c: New file.
12932 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12933
12934 2014-01-09 Pedro Alves <palves@redhat.com>
12935
12936 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12937 instead of to thread 2.
12938 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12939 Add barrier around each pthread_create call instead of around all
12940 calls.
12941 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12942 Set a break on thread_function and have the child threads hit it
12943 one at at a time.
12944
12945 2015-01-09 Pedro Alves <palves@redhat.com>
12946
12947 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12948 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12949 false.
12950 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12951 checking whether the target board is remote.
12952 * gdb.multi/multi-attach.exp: Likewise.
12953 * gdb.python/py-sync-interp.exp: Likewise.
12954 * gdb.server/ext-attach.exp: Likewise.
12955 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12956 tests that need to attach, instead of checking whether the target
12957 board is remote at the top of the file.
12958
12959 2015-01-08 Yao Qi <yao@codesourcery.com>
12960
12961 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12962
12963 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12964
12965 Fix testcase compilation.
12966 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12967
12968 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12969
12970 * gdb.python/py-type.exp: Add a couple test about empty
12971 array creation, and negative-length array creation.
12972
12973 2015-01-02 Doug Evans <xdje42@gmail.com>
12974
12975 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12976
12977 2015-01-02 Doug Evans <dje@google.com>
12978
12979 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12980
12981 2014-12-29 Yao Qi <yao@codesourcery.com>
12982
12983 * gdb.trace/entry-values.exp: Update comments. Rename variable
12984 bar_call_foo to returned_from_foo.
12985
12986 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12987
12988 PR gdb/17394
12989 * gdb.linespec/break-asm-file.c: New file.
12990 * gdb.linespec/break-asm-file.exp: New file.
12991 * gdb.linespec/break-asm-file0.s: New file.
12992 * gdb.linespec/break-asm-file1.s: New file.
12993
12994 2014-12-18 Nigel Stephens <nigel@mips.com>
12995 Maciej W. Rozycki <macro@codesourcery.com>
12996
12997 * gdb.base/float.exp: Handle the new output from "info float" on
12998 MIPS targets.
12999
13000 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13001
13002 Fix MinGW compilation.
13003 * gdb.compile/compile-ops.exp: Update untested message if
13004 !skip_compile_feature_tests.
13005 * gdb.compile/compile-setjmp.exp: Likewise.
13006 * gdb.compile/compile-tls.exp: Likewise.
13007 * gdb.compile/compile.exp: Likewise.
13008 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13009 supported on this host".
13010
13011 2014-12-16 Doug Evans <xdje42@gmail.com>
13012
13013 * boards/stabs.exp: New file.
13014
13015 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13016
13017 * gdb.base/completion.exp: Adjust to format changes of "maint
13018 print user-registers".
13019
13020 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13021
13022 PR server/17457
13023 * gdb.arch/aarch64-fp.c: New file.
13024 * gdb.arch/aarch64-fp.exp: New file.
13025
13026 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13027
13028 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13029 r210637, r210913, r211666, r215400, r215817).
13030
13031 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13032 * dg-extract-results.py: New file.
13033 * dg-extract-results.sh: Use it if the environment seems
13034 suitable.
13035
13036 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13037
13038 * dg-extract-results.py (parse_run): Handle warnings that
13039 are printed before a test harness is run.
13040
13041 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13042
13043 * dg-extract-results.py (Named): Remove __cmp__ method.
13044 (output_variation): Use a key to sort variation.harnesses.
13045
13046 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13047
13048 * dg-extract-results.py: For Python 3, force sys.stdout to
13049 handle surrogate escape sequences.
13050 (safe_open): New function.
13051 (output_segment, main): Use it.
13052
13053 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13054
13055 * dg-extract-results.py (Prog.result_re): Include options
13056 in test name.
13057
13058 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13059
13060 * dg-extract-results.py (output_variation): Always sort if
13061 do_sum.
13062
13063 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13064
13065 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13066 as long as we get pagination notifications.
13067
13068 2014-12-15 Jason Merrill <jason@redhat.com>
13069
13070 * Makefile.in (check-gdb.%): Restore.
13071 * README: Mention it.
13072
13073 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13074
13075 * gdb.ada/str_uninit: New testcase.
13076
13077 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13078
13079 PR symtab/17642
13080 * gdb.base/vla-stub-define.c: New file.
13081 * gdb.base/vla-stub.c: New file.
13082 * gdb.base/vla-stub.exp: New file.
13083
13084 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13085 Jan Kratochvil <jan.kratochvil@redhat.com>
13086 Tom Tromey <tromey@redhat.com>
13087
13088 * configure.ac: Add gdb.compile/.
13089 * configure: Regenerate.
13090 * gdb.compile/Makefile.in: New file.
13091 * gdb.compile/compile-ops.exp: New file.
13092 * gdb.compile/compile-ops.c: New file.
13093 * gdb.compile/compile-tls.c: New file.
13094 * gdb.compile/compile-tls.exp: New file.
13095 * gdb.compile/compile-constvar.S: New file.
13096 * gdb.compile/compile-constvar.c: New file.
13097 * gdb.compile/compile-mod.c: New file.
13098 * gdb.compile/compile-nodebug.c: New file.
13099 * gdb.compile/compile-setjmp-mod.c: New file.
13100 * gdb.compile/compile-setjmp.c: New file.
13101 * gdb.compile/compile-setjmp.exp: New file.
13102 * gdb.compile/compile-shlib.c: New file.
13103 * gdb.compile/compile.c: New file.
13104 * gdb.compile/compile.exp: New file.
13105 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13106
13107 2014-12-12 Tom Tromey <tromey@redhat.com>
13108
13109 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13110 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13111
13112 2014-12-12 Doug Evans <dje@google.com>
13113
13114 * lib/gdb-python.exp (get_python_valueof): New function.
13115 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13116
13117 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13118
13119 * gdb.base/completion.exp: Add test for completion of "info
13120 registers ".
13121
13122 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13123
13124 * gdb.base/func-ptrs.c: New file.
13125 * gdb.base/func-ptrs.exp: New file.
13126
13127 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13128
13129 PR breakpoints/17012
13130 * gdb.base/dprintf-detach.c: New file.
13131 * gdb.base/dprintf-detach.exp: New file.
13132
13133 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13134
13135 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13136 * lib/gdb.exp (target_is_gdbserver): New procedure.
13137
13138 2014-12-08 Doug Evans <dje@google.com>
13139
13140 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13141
13142 2014-12-05 Yao Qi <yao@codesourcery.com>
13143
13144 * gdb.guile/scm-error.exp: Remove the third argument to
13145 gdb_remote_download.
13146 * gdb.guile/scm-frame-args.exp: Likewise.
13147 * gdb.guile/scm-section-script.exp: Likewise.
13148
13149 2014-12-05 Yao Qi <yao@codesourcery.com>
13150
13151 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13152
13153 2014-12-04 Doug Evans <dje@google.com>
13154
13155 * gdb.python/py-objfile.exp: Add tests for
13156 objfile.add_separate_debug_file.
13157
13158 2014-12-04 Doug Evans <dje@google.com>
13159
13160 * lib/gdb.exp (get_build_id): New function.
13161 (build_id_debug_filename_get): Rewrite to use it.
13162 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13163
13164 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13165
13166 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13167 `method(long)', not just 0x0.
13168 * gdb.cp/nsalias.exp: Align code labels to 4.
13169 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13170 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13171 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13172 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13173 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13174 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13175
13176 2014-12-02 Doug Evans <dje@google.com>
13177
13178 PR symtab/17602
13179 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13180 * gdb.cp/anon-ns2.cc: ... here. New file.
13181 * gdb.cp/anon-ns.exp: Update.
13182
13183 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13184
13185 * gdb.python/py-events.py (inferior_call_handler): New.
13186 (register_changed_handler, memory_changed_handler): New.
13187 (test_events.invoke): Register new handlers.
13188 * gdb.python/py-events.exp: Add tests for inferior call,
13189 memory_changed and register_changed events.
13190
13191 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13192
13193 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13194 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13195 if the linker doesn't understand this.
13196
13197 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13198
13199 * gdb.python/python.exp: Change expected reply to help().
13200
13201 2014-12-01 Yao Qi <yao@codesourcery.com>
13202
13203 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13204 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13205 * configure: Re-generated.
13206
13207 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13208
13209 * gdb.cp/chained-calls.cc: New file.
13210 * gdb.cp/chained-calls.exp: New file.
13211 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13212
13213 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13214
13215 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13216 * gdb.dwarf2/symtab-producer.exp: Same.
13217 * gdb.gdb/python-interrupts.exp: Same.
13218 * gdb.gdb/python-selftest.exp: Same.
13219 * gdb.python/py-linetable.exp: Same.
13220 * gdb.python/py-type.exp: Same.
13221 * gdb.python/py-value-cc.exp: Same.
13222 * gdb.python/py-value.exp: Same.
13223
13224 2014-11-28 Yao Qi <yao@codesourcery.com>
13225
13226 * gdb.base/break-probes.exp: Match library name prefixed with
13227 sysroot.
13228
13229 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13230
13231 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13232 test expected output. Add parentheses for the call to print.
13233 Remove L suffix from integers.
13234
13235 2014-11-26 Doug Evans <dje@google.com>
13236
13237 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13238
13239 2014-11-22 Yao Qi <yao@codesourcery.com>
13240
13241 * gdb.trace/entry-values.c: Remove asms.
13242 (foo): Add foo_label.
13243 (bar): Add bar_label.
13244 * gdb.trace/entry-values.exp: Remove code computing foo's
13245 length and bar's length.
13246 (Dwarf::assemble): Invoke function_range for bar and use
13247 MACRO_AT_func for foo.
13248
13249 2014-11-22 Yao Qi <yao@codesourcery.com>
13250
13251 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13252 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13253 Use .Lgcc43_procstart instead of gcc43.
13254
13255 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13256
13257 * gdb.ada/n_arr_bound: New testcase.
13258
13259 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13260
13261 PR breakpoints/10737
13262 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13263 test_catch_syscall_multi_arch.
13264 (test_catch_syscall_multi_arch): New function.
13265
13266 2014-11-20 Doug Evans <xdje42@gmail.com>
13267
13268 * gdb.base/maint.exp: Update expected output.
13269
13270 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13271
13272 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13273 4-byte instruction on S390.
13274
13275 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13276
13277 * gdb.ada/arr_arr: New testcase.
13278
13279 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13280
13281 * gdb.ada/pkd_arr_elem: New Testcase.
13282
13283 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13284
13285 * gdb.reverse/break-precsave: Expect completion message for
13286 core file reads.
13287 * gdb.reverse/consecutive-precsave.exp: Likewise.
13288 * gdb.reverse/finish-precsave.exp: Likewise.
13289 * gdb.reverse/i386-precsave.exp: Likewise.
13290 * gdb.reverse/machinestate-precsave.exp: Likewise.
13291 * gdb.reverse/sigall-precsave.exp: Likewise.
13292 * gdb.reverse/solib-precsave.exp: Likewise.
13293 * gdb.reverse/step-precsave.exp: Likewise.
13294 * gdb.reverse/until-precsave.exp: Likewise.
13295 * gdb.reverse/watch-precsave.exp: Likewise.
13296
13297 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13298
13299 * gdb.base/bp-permanent.c: Include unistd.h.
13300 * gdb.python/py-framefilter-mi.c (main): Add return type.
13301 * gdb.python/py-framefilter.c (main): Likewise.
13302 * gdb.trace/actions-changed.c (main): Likewise.
13303
13304 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13305
13306 * gdb.mi/until.c: Add eye-catchers.
13307 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13308 line numbers.
13309
13310 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13311
13312 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13313 function header variants in break1.c.
13314 * gdb.base/ena-dis-br.exp: Likewise.
13315 * gdb.base/hbreak2.exp: Likewise.
13316 * gdb.reverse/until-precsave.exp: Drop references to removed
13317 non-prototype function header variants in ur1.c.
13318 * gdb.reverse/until-reverse.exp: Likewise.
13319
13320 2014-11-17 Petr Machata <pmachata@redhat.com>
13321
13322 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13323 ${_cu_offset_size} bytes abbrev offset.
13324
13325 2014-11-15 Doug Evans <xdje42@gmail.com>
13326
13327 PR symtab/17559
13328 * gdb.base/line-symtabs.exp: New file.
13329 * gdb.base/line-symtabs.c: New file.
13330 * gdb.base/line-symtabs.h: New file.
13331
13332 2014-11-14 Yao Qi <yao@codesourcery.com>
13333
13334 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13335 (func): Add label func_label.
13336 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13337 Replace low_pc and high_pc with MACRO_AT_range.
13338 Replace name, low_pc and high_pc with MACRO_AT_func.
13339
13340 2014-11-14 Yao Qi <yao@codesourcery.com>
13341
13342 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13343 Replace name, low_pc and high_pc with MACRO_AT_func.
13344
13345 2014-11-14 Yao Qi <yao@codesourcery.com>
13346
13347 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13348 produce debug information.
13349 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13350
13351 2014-11-14 Yao Qi <yao@codesourcery.com>
13352
13353 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13354 object and get function length.
13355 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13356 with MACRO_AT_func.
13357 (top-level): Replace gdb_compile and clean_restart with
13358 prepare_for_testing.
13359 * gdb.dwarf2/main.c (main): Add label main_label.
13360
13361 2014-11-14 Yao Qi <yao@codesourcery.com>
13362
13363 * lib/dwarf.exp (function_range): New procedure.
13364 (Dwarf::_handle_macro_at_func): New procedure.
13365 (Dwarf::_handle_macro_at_range): New procedure.
13366 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13367
13368 2014-11-14 Yao Qi <yao@codesourcery.com>
13369
13370 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13371 (_handle_attribute): New procedure.
13372
13373 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13374
13375 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13376 * gdb.base/call-sc.c (zed): Likewise.
13377 * gdb.base/checkpoint.c (main): Likewise.
13378 * gdb.base/dump.c (main): Likewise.
13379 * gdb.base/gcore.c (main): Likewise.
13380 * gdb.base/huge.c (main): Likewise.
13381 * gdb.base/multi-forks.c (main): Likewise.
13382 * gdb.base/pr10179-a.c (main): Likewise.
13383 * gdb.base/savedregs.c (main): Likewise.
13384 * gdb.base/sigaltstack.c (main): Likewise.
13385 * gdb.base/siginfo.c (main): Likewise.
13386 * gdb.base/structs.c (zed): Likewise.
13387 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13388 * gdb.mi/mi-syn-frame.c (main): Likewise.
13389 * gdb.mi/until.c (foo, main): Likewise.
13390 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13391 * gdb.base/solib-weak.c (foo): Declare.
13392 * gdb.base/attach-twice.c: Include stdio.h.
13393 * gdb.base/weaklib1.c: Likewise.
13394 * gdb.base/weaklib2.c: Likewise.
13395 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13396 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13397 unistd.h.
13398 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13399 * gdb.mi/mi-exit-code.c: Likewise.
13400 * gdb.base/break-interp-lib.c: Include string.h.
13401 * gdb.base/coremaker.c: Likewise.
13402 * gdb.base/testenv.c: Likewise.
13403 * gdb.python/py-finish-breakpoint.c: Likewise.
13404 * gdb.base/inferior-died.c: Include sys/wait.h.
13405 * gdb.base/fileio.c: Include time.h.
13406 * gdb.base/async-shell.c: Include unistd.h.
13407 * gdb.base/dprintf-non-stop.c: Likewise.
13408 * gdb.base/info-os.c: Likewise.
13409 * gdb.mi/mi-console.c: Likewise.
13410 * gdb.mi/watch-nonstop.c: Likewise.
13411 * gdb.python/py-events.c: Likewise.
13412 * gdb.base/async.c (baz): Move up before its invocation.
13413 * gdb.base/code_elim2.c (my_global_func): Likewise.
13414 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13415 * gdb.base/advance.c (func2): Likewise.
13416
13417 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13418
13419 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13420 variant.
13421 * gdb.base/annota3.c: Likewise.
13422 * gdb.base/async.c: Likewise.
13423 * gdb.base/average.c: Likewise.
13424 * gdb.base/call-ar-st.c: Likewise.
13425 * gdb.base/call-rt-st.c: Likewise.
13426 * gdb.base/call-sc.c: Likewise.
13427 * gdb.base/call-strs.c: Likewise.
13428 * gdb.base/ending-run.c: Likewise.
13429 * gdb.base/execd-prog.c: Likewise.
13430 * gdb.base/exprs.c: Likewise.
13431 * gdb.base/foll-exec.c: Likewise.
13432 * gdb.base/foll-fork.c: Likewise.
13433 * gdb.base/foll-vfork.c: Likewise.
13434 * gdb.base/funcargs.c: Likewise.
13435 * gdb.base/gcore.c: Likewise.
13436 * gdb.base/jump.c: Likewise.
13437 * gdb.base/langs0.c: Likewise.
13438 * gdb.base/langs1.c: Likewise.
13439 * gdb.base/langs2.c: Likewise.
13440 * gdb.base/mips_pro.c: Likewise.
13441 * gdb.base/nodebug.c: Likewise.
13442 * gdb.base/opaque0.c: Likewise.
13443 * gdb.base/opaque1.c: Likewise.
13444 * gdb.base/recurse.c: Likewise.
13445 * gdb.base/run.c: Likewise.
13446 * gdb.base/scope0.c: Likewise.
13447 * gdb.base/scope1.c: Likewise.
13448 * gdb.base/setshow.c: Likewise.
13449 * gdb.base/setvar.c: Likewise.
13450 * gdb.base/shmain.c: Likewise.
13451 * gdb.base/shr1.c: Likewise.
13452 * gdb.base/shr2.c: Likewise.
13453 * gdb.base/sigall.c: Likewise.
13454 * gdb.base/signals.c: Likewise.
13455 * gdb.base/so-indr-cl.c: Likewise.
13456 * gdb.base/solib2.c: Likewise.
13457 * gdb.base/structs.c: Likewise.
13458 * gdb.base/sum.c: Likewise.
13459 * gdb.base/vforked-prog.c: Likewise.
13460 * gdb.base/watchpoint.c: Likewise.
13461 * gdb.reverse/shr2.c: Likewise.
13462 * gdb.reverse/until-reverse.c: Likewise.
13463 * gdb.reverse/ur1.c: Likewise.
13464 * gdb.reverse/watch-reverse.c: Likewise.
13465
13466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13467
13468 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13469 variant.
13470 * gdb.base/sepdebug.exp: Drop references to removed code.
13471
13472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13473
13474 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13475 variant. Preserve original line numbering.
13476 * gdb.base/list1.c: Likewise.
13477
13478 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13479
13480 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13481 variant.
13482 * gdb.base/break1.c: Likewise.
13483 * gdb.base/break.exp: Drop references to removed code.
13484
13485 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13486
13487 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13488 variant.
13489
13490 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13491
13492 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13493
13494 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13495
13496 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13497 logic into perform_all_tests() and invoke it with and without
13498 function header prototypes.
13499 (do_function_calls): Remove conditional XFAIL for PR 5318.
13500 (rerun_and_prepare): Remove duplicate code.
13501 (perform_all_tests): New. Main logic moved here.
13502
13503 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13504
13505 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13506 code guarded by #ifdef NO_PROTOTYPES.
13507 (t_double_many_args): Likewise.
13508 (DEF_FUNC_MANY_ARGS_1): Likewise.
13509 (DEF_FUNC_VALUES_1): Likewise.
13510 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13511 guarded by #ifdef PROTOTYPES.
13512
13513 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13514
13515 * gdb.mi/mi-console.c: Add eye-catcher.
13516 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13517 instead of literal line number.
13518
13519 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13520
13521 * gdb.base/shr2.c: Add eye-catcher.
13522 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13523 line number.
13524
13525 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13526
13527 * gdb.base/jump.c: Add eye-catchers.
13528 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13529 numbers.
13530
13531 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13532
13533 * gdb.base/execd-prog.c: Add eye-catchers.
13534 * gdb.base/foll-exec.c: Likewise.
13535 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13536 line numbers.
13537
13538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13539
13540 * gdb.base/ending-run.c: Add eye-catchers.
13541 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13542 literal line numbers.
13543
13544 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13545
13546 * gdb.base/call-rt-st.c: Add eye-catchers.
13547 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13548 literal line numbers.
13549
13550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13551
13552 * gdb.base/call-ar-st.c: Add eye-catchers.
13553 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13554 literal line numbers.
13555
13556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13557
13558 * gdb.base/average.c: Add eye-catchers.
13559 * gdb.base/sum.c: Likewise.
13560 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13561 regexps dynamically.
13562
13563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13564
13565 * gdb.base/solib1.c: Add eye-catchers.
13566 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13567 literal line numbers.
13568
13569 2014-11-12 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13572 leader has exited.
13573
13574 2014-11-12 Pedro Alves <palves@redhat.com>
13575
13576 * gdb.arch/i386-bp_permanent.c: New file.
13577 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13578 (srcfile): Set to i386-bp_permanent.c.
13579 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13580 that stepi does not execute the 'leave' instruction, instead of
13581 testing it does execute.
13582 * gdb.base/bp-permanent.c: New file.
13583 * gdb.base/bp-permanent.exp: New file.
13584
13585 2014-11-10 Doug Evans <xdje42@gmail.com>
13586
13587 PR symtab/17564
13588 * gdb.base/symtab-search-order.exp: New file.
13589 * gdb.base/symtab-search-order.c: New file.
13590 * gdb.base/symtab-search-order-1.c: New file.
13591 * gdb.base/symtab-search-order-shlib-1.c: New file.
13592
13593 2014-11-07 Pedro Alves <palves@redhat.com>
13594
13595 PR gdb/17511
13596 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13597 i?86-*-linux*.
13598
13599 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13600
13601 PR c++/17494
13602 * gdb.cp/pr17494.cc: New file.
13603 * gdb.cp/pr17494.exp: New file.
13604
13605 2014-11-02 Yao Qi <yao@codesourcery.com>
13606
13607 * gdb.python/python.exp: Get working directory and match the
13608 output of "set extended-prompt \\w " with it.
13609
13610 2014-10-30 Doug Evans <dje@google.com>
13611
13612 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13613 in objfiles.
13614 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13615 in progspaces.
13616
13617 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13618
13619 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13620 * gdb.base/realname-expand.exp: Likewise.
13621 * gdb.linespec/macro-relative.exp: Likewise.
13622
13623 2014-10-29 Pedro Alves <palves@redhat.com>
13624
13625 PR gdb/17408
13626 * gdb.threads/schedlock.c (some_function): New function.
13627 (call_function): New global.
13628 (MAYBE_CALL_SOME_FUNCTION): New macro.
13629 (thread_function): Call it.
13630 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13631 and use it instead of a global counter. Adjust all callers.
13632 (get_current_thread): Use "find current thread" for test message
13633 here rather than having all callers pass down the same string.
13634 (goto_loop): New procedure, factored out from ...
13635 (my_continue): ... this.
13636 (step_ten_loops): Change parameter from test message to command to
13637 use. Adjust.
13638 (list_count): Delete global.
13639 (check_result): New procedure, factored out from duplicate top
13640 level code.
13641 (continue tests): Wrap in with_test_prefix.
13642 (test_step): New procedure, factored out from duplicate top level
13643 code.
13644 (top level): Test "step" in combination with all scheduler-locking
13645 modes. Test "next" in combination with all scheduler-locking
13646 modes, and in combination with stepping over a function call or
13647 not.
13648 * gdb.threads/next-bp-other-thread.c: New file.
13649 * gdb.threads/next-bp-other-thread.exp: New file.
13650
13651 2014-10-29 Pedro Alves <palves@redhat.com>
13652
13653 PR python/17372
13654 * gdb.python/python.exp: Test a multi-line command that spawns
13655 interactive Python.
13656 * gdb.base/multi-line-starts-subshell.exp: New file.
13657
13658 2014-10-29 Yao Qi <yao@codesourcery.com>
13659
13660 * gdb.base/fileio.exp: Make directories on host.
13661
13662 2014-10-29 Yao Qi <yao@codesourcery.com>
13663
13664 * gdb.base/fileio.c (test_write): Close the file.
13665
13666 2014-10-28 Pedro Alves <palves@redhat.com>
13667
13668 PR gdb/12623
13669 * gdb.base/sigstep.c (no_handler): New global.
13670 (main): If 'no_handler is true, set the signal handlers to
13671 SIG_IGN.
13672 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13673 with_sw_watch and no_handler parameters. Handle them.
13674 (top level) <stepping over handler when stopped at a breakpoint
13675 test>: Add a test axis for testing with a software watchpoint, and
13676 another for testing with the signal handler set to SIG_IGN.
13677 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13678 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13679
13680 2014-10-28 Pedro Alves <palves@redhat.com>
13681
13682 PR gdb/17511
13683 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13684 * gdb.base/sigstep.exp (other_handler_location): New global.
13685 (advance): Support stepping into the signal handler, and running
13686 commands while in the handler.
13687 (in_handler_map): New global.
13688 (top level): In the advance test, add combinations for getting
13689 into the handler with stepping commands, and for running commands
13690 in the handler. Add comment descripting the advancei tests.
13691
13692 2014-10-28 Pedro Alves <palves@redhat.com>
13693
13694 * gdb.base/sigstep.exp: Use build_executable instead of
13695 prepare_for_testing.
13696 (top level): Move code that starts GDB, runs to main and creates a
13697 display to ...
13698 (restart): ... this new procedure.
13699 (top level): Move backtrace from signal handler test to ...
13700 (validate_backtrace): ... this new procedure.
13701 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13702 with_test_prefix. Always restart GDB.
13703 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13704 with_test_prefix. Always restart GDB. No need to delete
13705 breakpoints after the test.
13706 (test_skip_handler): Remove prefix parameter.
13707 (skip_over_handler, breakpoint_to_handler)
13708 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13709 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13710 restart GDB. No need to delete breakpoints after the test.
13711 (top level): Use foreach to call the test procedures with
13712 different commands.
13713
13714 2014-10-28 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13717 instead of GNATS numbers.
13718 * gdb.base/sigbpt.exp: Likewise.
13719 * gdb.base/siginfo.exp: Likewise.
13720 * gdb.base/sigstep.exp: Likewise.
13721
13722 2014-10-27 Pedro Alves <palves@redhat.com>
13723
13724 * gdb.base/sigstep.c (dummy): New global.
13725 (main): Issue a couple writes to the new global.
13726 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13727 procedures.
13728 (skip_over_handler): Use test_skip_handler.
13729 (top level): Call skip_over_handler for stepi and nexti too.
13730 (breakpoint_over_handler): Use test_skip_handler.
13731 (top level): Call breakpoint_over_handler for stepi and nexti too.
13732
13733 2014-10-27 Yao Qi <yao@codesourcery.com>
13734
13735 * gdb.trace/tfile.c (adjust_function_address)
13736 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13737 function descriptor.
13738
13739 2014-10-24 Don Breazeal <donb@codesourcery.com>
13740
13741 * gdb.base/foll-fork.exp (test_follow_fork,
13742 catch_fork_child_follow): Check for updated fork messages emitted
13743 from infrun.c.
13744 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13745 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13746 vfork_and_exec_child_follow_through_step): Check for updated vfork
13747 messages emitted from infrun.c.
13748
13749 2014-10-24 Pedro Alves <palves@redhat.com>
13750
13751 * gdb.base/corefile.exp: Remove references to ultrix.
13752 * gdb.base/interrupt.exp: Likewise.
13753 * gdb.base/whatis.exp: Likewise.
13754 * gdb.gdb/selftest.exp: Likewise.
13755 * gdb.threads/manythreads.exp: Likewise.
13756 * gdb.threads/print-threads.exp: Likewise.
13757 * gdb.threads/pthreads.exp:: Likewise.
13758 * gdb.threads/schedlock.exp: Likewise.
13759
13760 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13761
13762 * gdb.cp/non-trivial-retval.cc: Add a test case.
13763 * gdb.cp/non-trivial-retval.exp: Add a test.
13764
13765 2014-10-20 Yao Qi <yao@codesourcery.com>
13766
13767 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13768 * gdb.python/py-objfile-script-gdb.py: New file.
13769 * gdb.python/py-objfile-script.exp: Update reference to
13770 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13771 of remote_download. Remove the dest file.
13772
13773 2014-10-20 Yao Qi <yao@codesourcery.com>
13774
13775 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13776 * gdb.base/step-line.exp: Likewise.
13777 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13778 * gdb.dwarf2/dw2-basic.exp: Likewise.
13779 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13780 * gdb.dwarf2/dw2-filename.exp: Likewise.
13781 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13782 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13783 * gdb.dwarf2/dw2-producer.exp: Likewise.
13784 * gdb.dwarf2/mac-fileno.exp: Likewise.
13785 * gdb.python/py-frame-args.exp: Likewise.
13786 * gdb.python/py-framefilter.exp: Likewise.
13787 * gdb.python/py-mi.exp: Likewise.
13788 * gdb.python/py-objfile-script.exp: Likewise
13789 * gdb.python/py-pp-integral.exp: Likewise.
13790 * gdb.python/py-pp-re-notag.exp: Likewise.
13791 * gdb.python/py-prettyprint.exp: Likewise.
13792 * gdb.python/py-section-script.exp: Likewise.
13793 * gdb.python/py-typeprint.exp: Likewise.
13794 * gdb.python/py-xmethods.exp: Likewise.
13795 * gdb.stabs/weird.exp: Likewise.
13796 * gdb.xml/tdesc-regs.exp: Likewise.
13797
13798 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13799
13800 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13801 (out_cu): Use addr_len for the size of addresses.
13802 (out_line): Likewise. Size DW_LNE_set_address instruction
13803 according to addr_len.
13804 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13805 (FUNC): Add START_INSNS to definition.
13806
13807 2014-10-18 Yao Qi <yao@codesourcery.com>
13808
13809 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13810 gdb_has_argv0 return true.
13811 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13812 check [target_info exists noargs], check [gdb_has_argv0]
13813 instead.
13814 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13815 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13816 procedures.
13817
13818 2014-10-17 Doug Evans <dje@google.com>
13819
13820 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13821 event.
13822 * gdb.python/py-events.py: Add clear_objfiles event.
13823
13824 2014-10-17 Doug Evans <dje@google.com>
13825
13826 * gdb.python/py-objfile.exp: Test progspace attribute.
13827
13828 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13829
13830 * gdb.guile/scm-breakpoint.exp: Do not assume any
13831 directory separators when matching source file paths.
13832 * gdb.python/py-breakpoint.exp: Likewise.
13833 * gdb.reverse/break-precsave.exp: Likewise.
13834 * gdb.reverse/break-reverse.exp: Likewise.
13835 * gdb.reverse/consecutive-precsave.exp: Likewise.
13836 * gdb.reverse/finish-precsave.exp: Likewise.
13837 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13838 * gdb.reverse/finish-reverse.exp: Likewise.
13839 * gdb.reverse/i386-precsave.exp: Likewise.
13840 * gdb.reverse/i387-env-reverse.exp: Likewise.
13841 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13842 * gdb.reverse/machinestate-precsave.exp: Likewise.
13843 * gdb.reverse/machinestate.exp: Likewise.
13844 * gdb.reverse/sigall-precsave.exp: Likewise.
13845 * gdb.reverse/solib-precsave.exp: Likewise.
13846 * gdb.reverse/step-precsave.exp: Likewise.
13847 * gdb.reverse/until-precsave.exp: Likewise.
13848 * gdb.reverse/watch-precsave.exp: Likewise.
13849 * gdb.reverse/watch-reverse.exp: Likewise.
13850
13851 2014-10-17 Yao Qi <yao@codesourcery.com>
13852
13853 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13854 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13855
13856 2014-10-17 Pedro Alves <palves@redhat.com>
13857
13858 PR gdb/17471
13859 * gdb.base/bg-execution-repeat.c: New file.
13860 * gdb.base/bg-execution-repeat.exp: New file.
13861
13862 2014-10-17 Pedro Alves <palves@redhat.com>
13863
13864 PR gdb/17300
13865 * gdb.base/continue-all-already-running.c: New file.
13866 * gdb.base/continue-all-already-running.exp: New file.
13867
13868 2014-10-17 Pedro Alves <palves@redhat.com>
13869
13870 PR gdb/17472
13871 * gdb.base/annota-input-while-running.c: New file.
13872 * gdb.base/annota-input-while-running.exp: New file.
13873
13874 2014-10-17 Pedro Alves <palves@redhat.com>
13875
13876 * gdb.base/callfuncs.exp: emove references to osf.
13877 * gdb.base/sigall.exp: Likewise.
13878 * gdb.gdb/selftest.exp: Likewise.
13879 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13880 * gdb.mi/non-stop.c: Likewise.
13881 * gdb.mi/pthreads.c: Likewise.
13882 * gdb.reverse/sigall-precsave.exp: Likewise.
13883 * gdb.reverse/sigall-reverse.exp: Likewise.
13884 * gdb.threads/pthreads.c: Likewise.
13885 * gdb.threads/pthreads.exp: Likewise.
13886
13887 2014-10-17 Yao Qi <yao@codesourcery.com>
13888
13889 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13890 check 'target_info exists noargs'.
13891 (test_command_prompt_position): Likewise.
13892 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13893 Remove "set args".
13894 (progvar_simple_while_test): Likewise.
13895 (progvar_complex_if_while_test): Likewise.
13896 (if_while_breakpoint_command_test): Likewise.
13897 (infrun_breakpoint_command_test): Likewise.
13898 (breakpoint_command_test): Likewise.
13899 (watchpoint_command_test): Likewise.
13900 (bp_deleted_in_command_test): Likewise.
13901 (temporary_breakpoint_commands): Likewise.
13902
13903 2014-10-16 Yao Qi <yao@codesourcery.com>
13904
13905 * gdb.base/remotetimeout.exp: Remove noargs checking.
13906
13907 2014-10-15 Pedro Alves <palves@redhat.com>
13908
13909 PR breakpoints/9649
13910 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13911 * gdb.base/breakpoint-in-ro-region.exp
13912 (probe_target_hardware_step): New procedure.
13913 (top level): Probe hardware stepping and hardware breakpoint
13914 support. Test stepping through a read-only region, with both
13915 "breakpoint auto-hw" on and off and both "always-inserted" on and
13916 off.
13917
13918 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13919
13920 * gdb.dlang/demangle.exp: Update for demangling changes.
13921
13922 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13923
13924 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13925 * gdb.cp/non-trivial-retval.exp: Add new tests.
13926
13927 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13928
13929 PR c++/13403
13930 PR c++/15154
13931 * gdb.cp/non-trivial-retval.cc: New file.
13932 * gdb.cp/non-trivial-retval.exp: New file.
13933
13934 2014-10-15 Yao Qi <yao@codesourcery.com>
13935
13936 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13937 remote host.
13938
13939 2014-10-15 Yao Qi <yao@codesourcery.com>
13940
13941 * gdb.python/py-symbol.exp: Match file base name if host is
13942 remote, otherwise match file name with dir name.
13943 * gdb.python/py-symtab.exp: Likewise.
13944 * gdb.python/python.exp: Likewise.
13945
13946 2014-10-15 Yao Qi <yao@codesourcery.com>
13947
13948 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13949 pattern.
13950 * gdb.python/py-symtab.exp: Likewise.
13951 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13952 locationn.
13953
13954 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13955
13956 * gdb.ada/addr_arith: New testcase.
13957
13958 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13959
13960 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13961 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13962 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13963 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13964
13965 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13966
13967 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13968 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13969 * gdb.arch/stap-eval-lang-ada.exp: New file.
13970
13971 2014-10-14 Yao Qi <yao@codesourcery.com>
13972
13973 * gdb.mi/mi-var-child.c (nothing1): New function.
13974 (nothing2): New function.
13975 (do_children_tests): Set function pointers by nothing1 and
13976 nothing2.
13977 * gdb.mi/mi-var-child.exp: Step over new added statements.
13978 Update test to match the new output.
13979 * gdb.mi/var-cmd.c (nothing1): New function.
13980 (nothing2): New function.
13981 (do_children_tests): Set function pointers by nothing1 and
13982 nothing2.
13983 * gdb.mi/mi-var-display.exp: Update test to match output.
13984 Step to the line specified by $line_dct_nothing.
13985 Increase the number of lines to step.
13986
13987 2014-10-14 Yao Qi <yao@codesourcery.com>
13988
13989 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13990 tests.
13991 * gdb.mi/mi2-var-child.exp: Likewise.
13992
13993 2014-10-13 Doug Evans <dje@google.com>
13994
13995 * gdb.python/py-objfile.exp: Change name of file name test.
13996
13997 2014-10-13 Doug Evans <dje@google.com>
13998
13999 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14000 from the start of the CU.
14001
14002 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14003 Yao Qi <yao@codesourcery.com>
14004
14005 Fix "save breakpoints" for "catch" command.
14006 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14007 Remove -nonewline. Match also the added "main" line.
14008
14009 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14010
14011 Fix "save breakpoints" for "disable $bpnum" command.
14012 * gdb.base/save-bp.c (main): Add label.
14013 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14014
14015 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14016
14017 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14018
14019 2014-10-11 Yao Qi <yao@codesourcery.com>
14020
14021 * gdb.server/server-kill.exp: Execute command
14022 "set remote trace-status-packet on" before "tstatus".
14023
14024 2014-10-11 Yao Qi <yao@codesourcery.com>
14025
14026 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14027 (main): Call getppid.
14028 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14029 and continue to it. Read variable "server_pid".
14030
14031 2014-10-11 Yao Qi <yao@codesourcery.com>
14032
14033 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14034
14035 2014-10-11 Yao Qi <yao@codesourcery.com>
14036
14037 * gdb.threads/thread-find.exp: Don't execute command
14038 "info threads".
14039 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14040 * gdb.threads/linux-dp.exp: Don't check the condition
14041 $threads_created equals to zero.
14042
14043 2014-10-10 Pedro Alves <palves@redhat.com>
14044
14045 * gdb.base/bigcore.exp: Remove references to IRIX.
14046 * gdb.base/funcargs.exp: Likewise.
14047 * gdb.base/interrupt.exp: Likewise.
14048 * gdb.base/mips_pro.exp: Likewise.
14049 * gdb.base/nodebug.exp: Likewise.
14050 * gdb.base/setvar.exp: Likewise.
14051 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14052
14053 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14054 Pedro Alves <palves@redhat.com>
14055
14056 PR symtab/14466
14057 * gdb.base/vdso-warning.c: New file.
14058 * gdb.base/vdso-warning.exp: New file.
14059
14060 2014-10-02 Doug Evans <dje@google.com>
14061
14062 * gdb.base/structs.c (main): Don't run forever.
14063
14064 2014-10-02 Pedro Alves <palves@redhat.com>
14065
14066 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14067 (top level) <stop threads 1, stop threads 2>: Use it.
14068
14069 2014-10-02 Pedro Alves <palves@redhat.com>
14070
14071 * gdb.threads/break-while-running.exp (test): Add new
14072 'update_thread_list' argument. Skip "info threads" if false.
14073 (top level): Add new 'update_thread_list' axis.
14074
14075 2014-10-02 Pedro Alves <palves@redhat.com>
14076
14077 PR breakpoints/17431
14078 * gdb.base/execl-update-breakpoints.c: New file.
14079 * gdb.base/execl-update-breakpoints.exp: New file.
14080
14081 2014-10-01 Pedro Alves <palves@redhat.com>
14082
14083 * gdb.base/breakpoint-in-ro-region.c: New file.
14084 * gdb.base/breakpoint-in-ro-region.exp: New file.
14085
14086 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14087
14088 * gdb.mi/mi-exit-code.exp: New file.
14089 * gdb.mi/mi-exit-code.c: New file.
14090
14091 2014-09-30 Yao Qi <yao@codesourcery.com>
14092
14093 * lib/prelink-support.exp (build_executable_own_libs): Error if
14094 the target isn't native.
14095
14096 2014-09-30 Yao Qi <yao@codesourcery.com>
14097
14098 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14099 false.
14100
14101 2014-09-22 Pedro Alves <palves@redhat.com>
14102
14103 * gdb.threads/break-while-running.exp: New file.
14104 * gdb.threads/break-while-running.c: New file.
14105
14106 2014-09-19 Yao Qi <yao@codesourcery.com>
14107
14108 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14109 Invoke test. Restart GDB with --readnow and invoke test again.
14110
14111 2014-09-19 Yao Qi <yao@codesourcery.com>
14112
14113 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14114 proc set_breakpoint_on_gcd_function. Invoke
14115 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14116 invoke set_breakpoint_on_gcd_function again.
14117
14118 2014-09-18 Doug Evans <dje@google.com>
14119
14120 * gdb.dwarf2/symtab-producer.exp: New file.
14121
14122 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14123
14124 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14125 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14126 * gdb.base/global-var-nested-by-dso.c: Likewise.
14127 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14128
14129 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14130 Pedro Alves <palves@redhat.com>
14131
14132 * gdb.base/watch-bitfields.exp: Pass string other than test file
14133 name to prepare_for_testing.
14134 (watch): New procedure.
14135 (expect_watchpoint): Use with_test_prefix.
14136 (top level): Factor out tests to ...
14137 (test_watch_location, test_regular_watch): ... these new
14138 procedures, and use with_test_prefix and gdb_continue_to_end.
14139
14140 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14141
14142 PR breakpoints/12526
14143 * gdb.base/watch-bitfields.exp: New file.
14144 * gdb.base/watch-bitfields.c: New file.
14145
14146 2014-09-16 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14149 software and hardware addresses, not software address against
14150 itself.
14151
14152 2014-09-16 Pedro Alves <palves@redhat.com>
14153
14154 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14155 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14156
14157 2014-09-16 Pedro Alves <palves@redhat.com>
14158
14159 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14160 files.
14161 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14162 "*-*-vxworks*" throughout.
14163 * gdb.base/break.exp: Likewise.
14164 * gdb.base/default.exp: Likewise.
14165 * gdb.base/scope.exp: Likewise.
14166 * gdb.base/sepdebug.exp: Likewise.
14167 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14168 throughout.
14169 * gdb.base/run.c: Likewise.
14170 * gdb.base/sepdebug.c: Likewise.
14171 * gdb.hp/gdb.aCC/run.c: Likewise.
14172 * gdb.reverse/until-reverse.c: Likewise.
14173 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14174
14175 2014-09-16 Yao Qi <yao@codesourcery.com>
14176
14177 * boards/local-remote-host-native.exp: New file.
14178
14179 2014-09-14 Doug Evans <xdje42@gmail.com>
14180
14181 * gdb.threads/queue-signal.c (thread_count): New variable.
14182 (thread_count_mutex, thread_count_condvar): New variables.
14183 (incr_thread_count, wait_all_threads_running): New functions.
14184 (main): Wait for all threads to be in their thread functions.
14185
14186 2014-09-13 Doug Evans <xdje42@gmail.com>
14187
14188 * gdb.threads/queue-signal.c: New file.
14189 * gdb.threads/queue-signal.exp: New file.
14190
14191 2014-09-13 Doug Evans <xdje42@gmail.com>
14192
14193 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14194 be consistent with what default_gdb_init uses.
14195 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14196 the plain text of the prompt. Add some logging printfs.
14197 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14198
14199 2014-09-12 Pedro Alves <palves@redhat.com>
14200
14201 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14202 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14203 * gdb.arch/i386-size-overlap.exp: Likewise.
14204 * gdb.arch/i386-size.exp: Likewise.
14205 * gdb.arch/i386-unwind.exp: Likewise.
14206 * gdb.base/a2-run.exp: Likewise.
14207 * gdb.base/break.exp: Likewise.
14208 * gdb.base/charset.exp: Likewise.
14209 * gdb.base/chng-syms.exp: Likewise.
14210 * gdb.base/commands.exp: Likewise.
14211 * gdb.base/dbx.exp: Likewise.
14212 * gdb.base/find.exp: Likewise.
14213 * gdb.base/funcargs.exp: Likewise.
14214 * gdb.base/jit-simple.exp: Likewise.
14215 * gdb.base/reread.exp: Likewise.
14216 * gdb.base/sepdebug.exp: Likewise.
14217 * gdb.base/step-bt.exp: Likewise.
14218 * gdb.cp/mb-inline.exp: Likewise.
14219 * gdb.cp/mb-templates.exp: Likewise.
14220 * gdb.objc/basicclass.exp: Likewise.
14221 * gdb.threads/killed.exp: Likewise.
14222
14223 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14224
14225 PR tdep/17379
14226 * gdb.arch/powerpc-stackless.S: New file.
14227 * gdb.arch/powerpc-stackless.exp: New file.
14228
14229 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14230
14231 * gdb.base/attach.c: Include unistd.h.
14232 (main): Call alarm. Add label postloop.
14233 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14234 gdb_breakpoint, gdb_continue_to_breakpoint.
14235 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14236
14237 2014-09-11 Pedro Alves <palves@redhat.com>
14238
14239 PR gdb/17347
14240 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14241 * gdb.base/attach.exp (test_command_line_attach_run): New
14242 procedure.
14243 (top level): Call it.
14244
14245 2014-09-11 Pedro Alves <palves@redhat.com>
14246
14247 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14248 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14249 (do_command_attach_tests): Use spawn_wait_for_attach.
14250 * gdb.base/solib-overlap.exp: Likewise.
14251 * gdb.multi/multi-attach.exp: Likewise.
14252 * gdb.python/py-prompt.exp: Likewise.
14253 * gdb.python/py-sync-interp.exp: Likewise.
14254 * gdb.server/ext-attach.exp: Likewise.
14255
14256 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14257
14258 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14259 command in testcase. Simplify testcase.
14260
14261 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14262
14263 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14264
14265 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14266
14267 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14268
14269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14270
14271 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14272
14273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14274
14275 * gdb.dwarf2/dynarr-ptr.c: New file.
14276 * gdb.dwarf2/dynarr-ptr.exp: New file.
14277
14278 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14279
14280 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14281 of 30 rather than hardcoding 120 for a slow test case. Take the
14282 `gdb,timeout' target setting into account for this calculation.
14283 Don't extend the timeout for the test cases that don't need it.
14284
14285 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14286
14287 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14288 a factor of 2 for a slow test case. Take the `gdb,timeout'
14289 target setting into account for this calculation.
14290 * gdb.reverse/until-precsave.exp: Increase the timeout by
14291 a factor of 15 and 3 respectively rather than adding 120
14292 for a pair of slow test cases. Take the `gdb,timeout'
14293 target setting into account for this calculation.
14294
14295 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14296
14297 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14298 timeout, don't pass one down to gdb_expect.
14299 (gdb_expect): Rework timeout selection.
14300
14301 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14302
14303 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14304 exception on timeout.
14305 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14306 (gdbserver_start_extended): Catch any `gdbserver_start' error
14307 exceptions.
14308 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14309 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14310 `gdbserver_gdb_load' error exceptions.
14311
14312 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14313
14314 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14315 120 on waiting for the TCP socket to open.
14316
14317 2014-09-09 Doug Evans <xdje42@gmail.com>
14318
14319 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14320 _caller_matches, _any_caller_is, _any_caller_matches.
14321
14322 2014-09-09 Doug Evans <xdje42@gmail.com>
14323
14324 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14325
14326 2014-09-09 Yao Qi <yao@codesourcery.com>
14327
14328 * gdb.mi/mi-var-display.exp: Set print symbol off.
14329
14330 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14331
14332 PR gdb/17035
14333 * gdb.base/commands.exp: Add tests to verify user-defined
14334 commands with empty bodies.
14335 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14336 python commands in `show user command`.
14337 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14338 scheme commands in `show user command`.
14339
14340 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14341
14342 PR python/17355
14343 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14344 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14345 * gdb.python/py-framefilter-invalidarg.exp: New file.
14346 * gdb.python/py-framefilter-invalidarg.py: New file.
14347
14348 2014-09-06 Doug Evans <xdje42@gmail.com>
14349
14350 PR 15276
14351 * gdb.python/py-caller-is.c: New file.
14352 * gdb.python/py-caller-is.exp: New file.
14353
14354 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14355
14356 PR gdb/17235
14357 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14358 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14359
14360 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14361
14362 PR fortran/17237
14363 * gdb.fortran/print-formatted.exp: New file.
14364 * gdb.fortran/print-formatted.f90: Likewise.
14365
14366 2014-09-03 Sasha Smundak <asmundak@google.com>
14367
14368 * gdb.python/py-frame.exp: Test Frame.read_register.
14369
14370 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14371
14372 PR python/16699
14373 * gdb.python/py-completion.exp: New file.
14374 * gdb.python/py-completion.py: Likewise.
14375
14376 2014-08-28 Doug Evans <dje@google.com>
14377
14378 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14379 eax,etc. are live with values set by gdb and thus the compiler can't
14380 use them.
14381 * gdb.arch/i386-pseudo.c (main): Ditto.
14382
14383 2014-08-27 Doug Evans <dje@google.com>
14384
14385 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14386
14387 2014-08-25 Doug Evans <dje@google.com>
14388
14389 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14390 (main): Ditto.
14391
14392 2014-08-25 Doug Evans <dje@google.com>
14393
14394 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14395
14396 2014-08-24 Yao Qi <yao@codesourcery.com>
14397
14398 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14399 symbol off.
14400 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14401
14402 2014-08-22 Doug Evans <dje@google.com>
14403
14404 PR 17276
14405 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14406 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14407 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14408
14409 2014-08-22 Yao Qi <yao@codesourcery.com>
14410
14411 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14412 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14413 * gdb.python/python.exp: Likewise. Use .py file on the host
14414 instead of the build.
14415
14416 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14417
14418 * gdb.threads/gcore-stale-thread.c: New file.
14419 * gdb.threads/gcore-stale-thread.exp: New file.
14420
14421 2014-08-21 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14424 * gdb.base/gcore-relro-pie.exp: Likewise.
14425 * gdb.base/gcore-relro.exp: Likewise.
14426 * gdb.base/gcore.exp: Likewise.
14427 * gdb.base/print-symbol-loading.exp: Likewise.
14428 * gdb.threads/gcore-thread.exp: Likewise.
14429 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14430
14431 2014-08-20 Pedro Alves <palves@redhat.com>
14432 Jan Kratochvil <jan.kratochvil@redhat.com>
14433
14434 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14435 configure.
14436 (EXPECT): Handle READ1 being set.
14437 (all): Depend on EXTRA_RULES.
14438 (check-read1, expect-read1, read1.so, read1): New rules.
14439 * README (Testsuite Parameters): Document the READ1 make variable.
14440 (Race detection): New section.
14441 * configure: Regenerate.
14442 * configure.ac: If build==host==target, and running under a
14443 GNU/glibc system, add read1 to the extra Makefile rules.
14444 (EXTRA_RULES): AC_SUBST it.
14445 * lib/read1.c: New file.
14446
14447 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14448
14449 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14450 the handling of variables declared as a typedef to an array
14451 which a DW_AT_data_location attribute.
14452
14453 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14454 Pedro Alves <palves@redhat.com>
14455
14456 PR symtab/14604
14457 PR symtab/14605
14458 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14459 gdb_test.
14460
14461 2014-08-19 Pedro Alves <palves@redhat.com>
14462
14463 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14464
14465 2014-08-19 Yao Qi <yao@codesourcery.com>
14466
14467 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14468 right line.
14469
14470 2014-08-18 David Blaikie <dblaikie@gmail.com>
14471
14472 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14473
14474 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14475
14476 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14477 attribute in array range.
14478
14479 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14480
14481 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14482
14483 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14484
14485 PR c++/17132
14486 * gdb.cp/pr17132.cc: New file.
14487 * gdb.cp/pr17132.exp: New file.
14488
14489 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14490
14491 * gdb.python/py-xmethods.py (A_getarrayind)
14492 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14493 Use 'print' with function call syntax.
14494 (E_method_matcher.match): Fix tab vs space indentation mixup.
14495
14496 2014-08-15 Yao Qi <yao@codesourcery.com>
14497
14498 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14499 false.
14500
14501 2014-08-15 Yao Qi <yao@codesourcery.com>
14502
14503 * gdb.cp/casts.exp: Set print symbol off.
14504 * gdb.cp/class2.exp: Likewise.
14505 * gdb.cp/overload.exp: Likewise.
14506 * gdb.cp/templates.exp: Likewise.
14507
14508 2014-08-11 Doug Evans <dje@google.com>
14509
14510 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14511 (test_load_shlib): Update.
14512
14513 2014-08-09 Yao Qi <yao@codesourcery.com>
14514
14515 * gdb.base/display.exp: Invoke is_address_zero_readable.
14516 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14517 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14518 * gdb.base/hbreak-unmapped.exp: Return if
14519 is_address_zero_readable returns true.
14520 * gdb.base/signest.exp: Likewise.
14521 * gdb.base/signull.exp: Likewise.
14522 * gdb.base/sigbpt.exp: Likewise.
14523 * gdb.guile/scm-disasm.exp: Do the test if
14524 is_address_zero_readable returns false.
14525 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14526 * gdb.python/py-arch.exp: Likewise.
14527 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14528 * lib/gdb.exp (is_address_zero_readable): New proc.
14529
14530 2014-08-09 Yao Qi <yao@codesourcery.com>
14531
14532 PR testsuite/13443
14533 * gdb.mi/mi-var-display.exp: Make test messages unique.
14534
14535 2014-08-04 Tom Tromey <tromey@redhat.com>
14536
14537 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14538 target 0".
14539
14540 2014-08-04 Tom Tromey <tromey@redhat.com>
14541
14542 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14543 "target_resume".
14544
14545 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14546
14547 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14548 inner_vla_struct_object_size.
14549 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14550 as xfail.
14551
14552 2014-07-30 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14555 comment.
14556
14557 2014-07-29 Yao Qi <yao@codesourcery.com>
14558
14559 PR gdb/17206
14560 * gdb.base/until-nodebug.exp: New.
14561
14562 2014-07-28 Doug Evans <xdje42@gmail.com>
14563
14564 PR guile/17203
14565 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14566 previously existing parameter, and previously ambiguously spelled
14567 parameter.
14568
14569 2014-07-28 Will Newton <will.newton@linaro.org>
14570
14571 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14572
14573 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14574 Doug Evans <xdje42@gmail.com>
14575
14576 PR guile/17146
14577 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14578
14579 2014-07-25 Pedro Alves <palves@redhat.com>
14580
14581 * gdb.threads/signal-command-handle-nopass.c: New file.
14582 * gdb.threads/signal-command-handle-nopass.exp: New file.
14583 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14584 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14585 * gdb.threads/signal-delivered-right-thread.c: New file.
14586 * gdb.threads/signal-delivered-right-thread.exp: New file.
14587
14588 2014-07-25 Pedro Alves <palves@redhat.com>
14589
14590 * gdb.base/double-prompt-target-event-error.exp
14591 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14592 match.
14593 (cancel_pagination_in_target_event): Rework double prompt
14594 detection.
14595 * gdb.base/paginate-after-ctrl-c-running.exp
14596 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14597 <return>' match.
14598 * gdb.base/paginate-bg-execution.exp
14599 (test_bg_execution_pagination_return)
14600 (test_bg_execution_pagination_cancel): Remove '-notransfer
14601 <return>' matches.
14602 * gdb.base/paginate-execution-startup.exp
14603 (test_fg_execution_pagination_return)
14604 (test_fg_execution_pagination_cancel): Remove '-notransfer
14605 <return>' matches.
14606 * gdb.base/paginate-inferior-exit.exp
14607 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14608 match.
14609 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14610 * lib/gdb.exp (pagination_prompt): Run text through
14611 string_to_regexp.
14612 (gdb_test_multiple): Match $pagination_prompt instead of
14613 "<return>".
14614 (string_to_regexp): Move to lib/gdb-utils.exp.
14615
14616 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14617
14618 * gdb.arch/amd64-entry-value-paramref.S: New file.
14619 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14620 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14621 * gdb.arch/amd64-optimout-repeat.S: New file.
14622 * gdb.arch/amd64-optimout-repeat.c: New file.
14623 * gdb.arch/amd64-optimout-repeat.exp: New file.
14624
14625 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14626
14627 PR gdb/17170
14628 * gdb.base/statistics.exp: New file.
14629
14630 2014-07-17 Doug Evans <dje@google.com>
14631
14632 PR gdb/17170
14633 * gdb.base/maint.exp: Update testing of per-command stats.
14634
14635 2014-07-16 Pedro Alves <palves@redhat.com>
14636
14637 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14638 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14639 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14640 (tfile_write_buf): New functions.
14641 (add_memory_block): Rewrite using the above.
14642 (adjust_function_address): New function.
14643 (FUNCTION_ADDRESS): New macro.
14644 (write_basic_trace_file): Remove short_x local, and use
14645 tfile_write_16. Change type of func_addr local to unsigned long
14646 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14647 here. Cast argument of add_memory_block to char pointer.
14648 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14649 (main): Remove parameters.
14650 * gdb.trace/tfile.exp: Remove nowarnings.
14651
14652 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14653
14654 * gdb.base/debug-expr.exp: Test string evaluation with
14655 "debug expression" on.
14656
14657 2014-07-15 Pedro Alves <palves@redhat.com>
14658
14659 * gdb.base/reread.exp: Use clean_restart.
14660
14661 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14662
14663 * gdb.arch/avr-flash-qualifer.c: New.
14664 * gdb.arch/avr-flash-qualifer.exp: New.
14665
14666 2014-07-14 Pedro Alves <palves@redhat.com>
14667
14668 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14669 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14670
14671 2014-07-14 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.base/double-prompt-target-event-error.c: New file.
14674 * gdb.base/double-prompt-target-event-error.exp: New file.
14675
14676 2014-07-14 Pedro Alves <palves@redhat.com>
14677
14678 PR gdb/17072
14679 * gdb.base/paginate-inferior-exit.c: New file.
14680 * gdb.base/paginate-inferior-exit.exp: New file.
14681
14682 2014-07-14 Pedro Alves <palves@redhat.com>
14683
14684 PR gdb/17072
14685 * gdb.base/paginate-bg-execution.c: New file.
14686 * gdb.base/paginate-bg-execution.exp: New file.
14687
14688 2014-07-14 Pedro Alves <palves@redhat.com>
14689
14690 PR gdb/17072
14691 * gdb.base/paginate-execution-startup.c: New file.
14692 * gdb.base/paginate-execution-startup.exp: New file.
14693 * lib/gdb.exp (pagination_prompt): New global.
14694 (default_gdb_spawn): New procedure, factored out from
14695 default_gdb_spawn.
14696 (default_gdb_start): Adjust to call default_gdb_spawn.
14697 (gdb_spawn): New procedure.
14698
14699 2014-07-14 Pedro Alves <palves@redhat.com>
14700
14701 * lib/gdb.exp (gdb_assert): New procedure.
14702 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14703
14704 2014-07-14 Pedro Alves <palves@redhat.com>
14705
14706 * gdb.base/execution-termios.c: New file.
14707 * gdb.base/execution-termios.exp: New file.
14708
14709 2014-07-14 Tom Tromey <tromey@redhat.com>
14710
14711 * gdb.cp/vla-cxx.cc: New file.
14712 * gdb.cp/vla-cxx.exp: New file.
14713
14714 2014-07-14 Tom Tromey <tromey@redhat.com>
14715
14716 * gdb.reverse/rerun-prec.c: New file.
14717 * gdb.reverse/rerun-prec.exp: New file.
14718
14719 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14720 Maciej W. Rozycki <macro@codesourcery.com>
14721
14722 * lib/gdb-utils.exp: New file.
14723 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14724 inline `gdb_init_command' processing.
14725 (gdb_start_cmd): Likewise.
14726 * lib/mi-support.exp (mi_run_cmd): Likewise.
14727 * README: Document `gdb_init_command' and `gdb_init_commands'.
14728
14729 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14730
14731 Fix false FAIL running under a very long directory name.
14732 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14733 and "set print elements 10000". Twice.
14734
14735 2014-07-11 Yao Qi <yao@codesourcery.com>
14736
14737 * gdb.base/exprs.exp: "set print symbol off".
14738
14739 2014-07-11 Pedro Alves <palves@redhat.com>
14740
14741 * gdb.threads/kill.c: New file.
14742 * gdb.threads/kill.exp: New file.
14743
14744 2014-07-10 Yao Qi <yao@codesourcery.com>
14745
14746 * gdb.trace/tfile.c (write_basic_trace_file)
14747 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14748 address written to trace file.
14749
14750 2014-07-09 Pedro Alves <palves@redhat.com>
14751
14752 * gdb.base/attach-wait-input.exp: New file.
14753 * gdb.base/attach-wait-input.c: New file.
14754
14755 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14756
14757 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14758 setting up test structures.
14759 (main): Call new test function.
14760 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14761 test function, continue into test function and walk test
14762 structures.
14763
14764 2014-07-02 Yao Qi <yao@codesourcery.com>
14765
14766 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14767 'bar_start' at the beginning of functions 'foo' and 'bar'
14768 respectively.
14769 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14770 instead of 'foo' and 'bar'.
14771
14772 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14773
14774 * gdb.btrace/segv.exp: New.
14775 * gdb.btrace/segv.c: New.
14776
14777 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14778
14779 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14780 instruction.
14781
14782 2014-06-30 Mark Wielaard <mjw@redhat.com>
14783
14784 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14785 vulture, vilify, villar): New volatile array constants.
14786 (vindictive, vegetation): New const volatile array constants.
14787 * gdb.base/volatile.exp: Test volatile and const volatile array
14788 types.
14789
14790 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14791
14792 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14793 target lacks support for awatch, rwatch, or hbreak.
14794
14795 2014-06-27 Yao Qi <yao@codesourcery.com>
14796
14797 * gdb.multi/dummy-frame-restore.exp: New.
14798 * gdb.multi/dummy-frame-restore.c: New.
14799
14800 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14801
14802 * gdb.btrace/gcore.exp: New.
14803
14804 2014-06-23 Pedro Alves <palves@redhat.com>
14805
14806 * gdb.base/watchpoint-reuse-slot.c: New file.
14807 * gdb.base/watchpoint-reuse-slot.exp: New file.
14808
14809 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14810
14811 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14812 progspace's filename in 'info', 'enable' and 'disable' command
14813 tests.
14814
14815 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14816
14817 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14818 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14819 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14820
14821 2014-06-20 Gary Benson <gbenson@redhat.com>
14822
14823 * gdb.arch/i386-avx.exp: Fix include file location.
14824 * gdb.arch/i386-sse.exp: Likewise.
14825
14826 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14827
14828 * gdb.dlang/expression.exp: New file.
14829
14830 2014-06-19 Pedro Alves <palves@redhat.com>
14831
14832 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14833 out from ...
14834 (top level): ... here. Iterate running tests under different
14835 scheduler-locking settings.
14836
14837 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14838
14839 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14840 to DW_FORM_addr and use non-zero addresses.
14841
14842 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14843
14844 PR gdb/17017
14845 * gdb.python/py-xmethods.cc: Add global function call counters and
14846 increment them in their respective functions. Remove "cout"
14847 statements.
14848 * gdb.python/py-xmethods.exp: Make tests check the global function
14849 call counters instead of depending on inferior IO.
14850
14851 2014-06-18 Don Breazeal <donb@codesourcery.com>
14852
14853 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14854 Deleted procedure.
14855 (explicit_fork_parent_follow): Deleted procedure.
14856 (explicit_fork_child_follow): Deleted procedure.
14857 (test_follow_fork): New procedure.
14858 (do_fork_tests): Replace calls to deleted procedures with
14859 calls to test_follow_fork and reset GDB for subsequent
14860 procedure calls.
14861
14862 2014-06-17 Yao Qi <yao@codesourcery.com>
14863
14864 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14865 CP1252.
14866
14867 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14868
14869 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14870 Initialize ptr and S explicitly.
14871 (skip_type_update_when_not_use_rtti_test): Likewise.
14872
14873 2014-06-16 Keith Seitz <keiths@redhat.com>
14874
14875 PR mi/15863
14876 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14877 the inferior is started.
14878
14879 2014-06-16 Pedro Alves <palves@redhat.com>
14880
14881 * gdb.base/break-main-file-remove-fail.c: New file.
14882 * gdb.base/break-main-file-remove-fail.exp: New file.
14883 * gdb.base/break-unload-file.exp: Use build_executable instead of
14884 prepare_for_testing.
14885 (test_break): New parameter "initial_load". Handle it.
14886 (top level): Add initial_load cmdline/file axis.
14887
14888 2014-06-12 Tom Tromey <tromey@redhat.com>
14889
14890 * gdb.base/completion.exp: Don't use directory name in test.
14891
14892 2014-06-09 Gary Benson <gbenson@redhat.com>
14893
14894 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14895 separate the always-available ANSI-standard signals from the
14896 signals that require checking.
14897 (main): Likewise.
14898 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14899 Likewise.
14900 (main): Likewise.
14901
14902 2014-06-07 Keith Seitz <keiths@redhat.com>
14903
14904 Revert:
14905 PR c++/16253
14906 * gdb.cp/var-tag.cc: New file.
14907 * gdb.cp/var-tag.exp: New file.
14908 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14909 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14910 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14911 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14912
14913 2014-06-06 Doug Evans <xdje42@gmail.com>
14914
14915 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14916
14917 2014-06-06 Pedro Alves <palves@redhat.com>
14918
14919 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14920 in target debug output instead of looking at RSP packets,
14921 disabling the test on any target that uses hardware stepping.
14922 Update comments.
14923
14924 2014-06-06 Pedro Alves <palves@redhat.com>
14925
14926 * gdb.base/break-unload-file.exp: Fix typo.
14927
14928 2014-06-06 Yao Qi <yao@codesourcery.com>
14929
14930 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14931 from "jit_function" to "^jit_function".
14932
14933 2014-06-06 Yao Qi <yao@codesourcery.com>
14934
14935 * gdb.base/async.c (foo): Add one statement.
14936 * gdb.base/async.exp: Get the next instruction address and
14937 match the output of "nexti" by instruction address. Match
14938 the hex address in the output of "finish".
14939
14940 2014-06-06 Gary Benson <gbenson@redhat.com>
14941
14942 * gdb.base/call-signals.c: Remove preprocessor conditionals
14943 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14944 SIGSEGV and SIGTERM.
14945 * gdb.base/sigall.c: Likewise.
14946 * gdb.base/unwindonsignal.c: Likewise.
14947 * gdb.reverse/sigall-reverse.c: Likewise.
14948
14949 2014-06-06 Yao Qi <yao@codesourcery.com>
14950
14951 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14952 readable, skip the test.
14953
14954 2014-06-06 Yao Qi <yao@codesourcery.com>
14955
14956 * gdb.threads/staticthreads.c (thread_function): Move the line
14957 setting breakpoint on forward.
14958 * gdb.threads/staticthreads.exp: Update comments.
14959
14960 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14961
14962 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14963 "history-append! type error".
14964
14965 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14966
14967 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14968 erroneous dprintf expected input.
14969
14970 2014-06-04 Doug Evans <xdje42@gmail.com>
14971
14972 * gdb.guile/scm-generics.exp: Delete.
14973
14974 2014-06-04 Doug Evans <xdje42@gmail.com>
14975
14976 * gdb.guile/scm-breakpoint.exp: Update.
14977 Add tests for breakpoint registration.
14978
14979 2014-06-04 Tom Tromey <tromey@redhat.com>
14980
14981 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14982 VLA-in-union.
14983 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14984 inner_vla_struct, vla_union types. Initialize objects of those
14985 types and compute their sizes.
14986
14987 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14988 Hui Zhu <hui@codesourcery.com>
14989
14990 * gdb.base/fileio.exp: Add test for shell not available as well as
14991 available.
14992 * gdb.base/fileio.c (test_system): Check for shell twice.
14993
14994 2014-06-04 Yao Qi <yao@codesourcery.com>
14995
14996 * gdb.base/auto-connect-native-target.exp: Remove redundant
14997 space from the regexp pattern.
14998
14999 2014-06-04 Yao Qi <yao@codesourcery.com>
15000
15001 * gdb.base/default.exp: Replace "child" with "native" in
15002 regexp pattern.
15003
15004 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15005
15006 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15007 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15008 * gdb.python/py-xmethods.py: Python script supporting the
15009 new testcase and tests.
15010
15011 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15012 Pedro Alves <palves@redhat.com>
15013
15014 PR breakpoints/17000
15015 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15016 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15017
15018 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15019
15020 * gdb.base/subst.exp: Add tests to verify partial path matching
15021 output.
15022
15023 2014-06-03 Pedro Alves <palves@redhat.com>
15024
15025 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15026 target that doesn't use software single-stepping.
15027
15028 2014-06-03 Pedro Alves <palves@redhat.com>
15029
15030 PR breakpoints/17000
15031 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15032 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15033
15034 2014-06-02 Doug Evans <xdje42@gmail.com>
15035
15036 * gdb.guile/scm-parameter.exp: New file.
15037
15038 2014-06-02 Doug Evans <xdje42@gmail.com>
15039
15040 * gdb.guile/scm-cmd.c: New file.
15041 * gdb.guile/scm-cmd.exp: New file.
15042
15043 2014-06-02 Doug Evans <xdje42@gmail.com>
15044
15045 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15046 pretty-printer lookup.
15047 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15048 (make-pp_s-printer): Call it.
15049 (make-pretty-printer-from-dict): New function.
15050 (lookup-pretty-printer-maker-from-dict): New function.
15051 (*pretty-printer*): Simplify.
15052 (make-objfile-pp_s-printer): New function.
15053 (install-objfile-pretty-printers!): New function.
15054 (make-progspace-pp_s-printer): New function.
15055 (install-progspace-pretty-printers!): New function.
15056 * gdb.guile/scm-progspace.c: New file.
15057 * gdb.guile/scm-progspace.exp: New file.
15058
15059 2014-06-02 Pedro Alves <palves@redhat.com>
15060
15061 * gdb.base/dprintf-bp-same-addr.c: New file.
15062 * gdb.base/dprintf-bp-same-addr.exp: New file.
15063
15064 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15065
15066 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15067 * gdb.arch/powerpc-power.s: Likewise.
15068
15069 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15070
15071 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15072
15073 2014-06-01 Yao Qi <yao@codesourcery.com>
15074
15075 * gdb.base/watchpoint.exp (test_watch_location): Check null
15076 pointer can be dereferenced. If not, do the test, otherwise
15077 skip it.
15078
15079 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15080
15081 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15082 results.
15083 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15084
15085 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15086
15087 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15088 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15089 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15090 * gdb.arch/amd64-invalid-stack-top.c: New file.
15091 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15092
15093 2014-05-30 Pedro Alves <palves@redhat.com>
15094
15095 PR breakpoints/17000
15096 * gdb.base/sss-bp-on-user-bp.c: New file.
15097 * gdb.base/sss-bp-on-user-bp.exp: New file.
15098
15099 2014-05-30 David Blaikie <dblaikie@gmail.com>
15100
15101 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15102 gnu_inline semantics via attribute.
15103 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15104 source explicitly specifies the required semantics.
15105
15106 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15107
15108 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15109
15110 2014-05-29 Pedro Alves <palves@redhat.com>
15111 Tom Tromey <tromey@redhat.com>
15112
15113 * gdb.base/async-shell.exp: Don't enable target-async.
15114 * gdb.base/async.exp
15115 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15116 parameter. Adjust.
15117 (top level): Don't test with "target-async".
15118 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15119 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15120 * gdb.base/inferior-died.exp: Don't enable target-async.
15121 * gdb.base/interrupt-noterm.exp: Likewise.
15122 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15123 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15124 * gdb.mi/mi-nonstop.exp: Likewise.
15125 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15126 * gdb.mi/mi-nsintrall.exp: Likewise.
15127 * gdb.mi/mi-nsmoribund.exp: Likewise.
15128 * gdb.mi/mi-nsthrexec.exp: Likewise.
15129 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15130 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15131 * gdb.python/py-evsignal.exp: Don't enable target-async.
15132 * gdb.python/py-evthreads.exp: Likewise.
15133 * gdb.python/py-prompt.exp: Likewise.
15134 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15135 * gdb.server/solib-list.exp: Don't enable target-async.
15136 * gdb.threads/thread-specific-bp.exp: Likewise.
15137 * lib/mi-support.exp: Adjust to use mi-async.
15138
15139 2014-05-29 Pedro Alves <palves@redhat.com>
15140
15141 PR gdb/13860
15142 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15143 reason, even in sync mode.
15144
15145 2014-05-29 Pedro Alves <palves@redhat.com>
15146 Hui Zhu <hui@codesourcery.com>
15147
15148 PR PR15693
15149 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15150 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15151 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15152 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15153
15154 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15155
15156 * config/monitor.exp (gdb_target_monitor): Replace use of
15157 "set remotebaud" by "set serial baud".
15158
15159 2014-05-26 Andy Wingo <wingo@igalia.com>
15160
15161 * gdb.guile/scm-breakpoint.exp:
15162 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15163 properties instead of gdb-object-properties.
15164
15165 2014-05-26 Yao Qi <yao@codesourcery.com>
15166
15167 * gdb.server/no-thread-db.exp: Specify source file name
15168 explicitly when setting a breakpoint.
15169
15170 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15171
15172 * gdb.btrace/vdso.c: New.
15173 * gdb.btrace/vdso.exp: New.
15174
15175 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15176
15177 * gdb.base/gcore.exp (capture_command_output): Move ...
15178 * lib/gdb.exp (capture_command_output): ... here.
15179
15180 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15181
15182 * gdb.btrace/data.exp: Test memory access during btrace replay.
15183
15184 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15185
15186 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15187
15188 2014-05-21 Pedro Alves <palves@redhat.com>
15189
15190 PR gdb/13860
15191 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15192 (top level): Test that output related to execution commands is
15193 sent to the console with CLI commands, but not with MI commands.
15194 Test that breakpoint events are always mirrored to the console.
15195 Also expect the new source line to be output after a "next" in
15196 async mode too. Make it a pass/fail test.
15197 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15198 output.
15199 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15200
15201 2014-05-21 Pedro Alves <palves@redhat.com>
15202
15203 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15204 Use them to test variations of "list" after reaching a breakpoint.
15205 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15206 Test "list" with listsize 10 after reaching a breakpoint.
15207 * gdb.python/python.exp (decode_line current location line
15208 number): Adjust expected line number.
15209
15210 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15211
15212 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15213 behavior for $args, pass it directly to "run".
15214
15215 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15216
15217 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15218 30000 to 65536.
15219
15220 2014-05-21 Pedro Alves <palves@redhat.com>
15221
15222 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15223 auto-connect-native-target off".
15224 * gdb.base/auto-connect-native-target.c: New file.
15225 * gdb.base/auto-connect-native-target.exp: New file.
15226
15227 2014-05-21 Pedro Alves <palves@redhat.com>
15228
15229 * gdb.base/default.exp: Test "target native" instead of "target
15230 child".
15231
15232 2014-05-21 Mark Wielaard <mjw@redhat.com>
15233
15234 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15235
15236 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15237
15238 Fix TLS access for -static -pthread.
15239 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15240 <HAVE_TLS> (thread_function, main): Initialize it.
15241 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15242 Add clean_restart.
15243 <$have_tls != "">: Check TLSVAR.
15244
15245 2014-05-21 Pedro Alves <palves@redhat.com>
15246
15247 * gdb.base/dcache-line-read-error.c: New.
15248 * gdb.base/dcache-line-read-error.exp: New.
15249
15250 2014-05-20 Pedro Alves <palves@redhat.com>
15251
15252 * gdb.base/compare-sections.c: New file.
15253 * gdb.base/compare-sections.exp: New file.
15254
15255 2014-05-20 Pedro Alves <palves@redhat.com>
15256
15257 * gdb.base/break-idempotent.c: New file.
15258 * gdb.base/break-idempotent.exp: New file.
15259
15260 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15261
15262 * gdb.btrace/nohist.exp: New.
15263
15264 2014-05-20 Yao Qi <yao@codesourcery.com>
15265
15266 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15267 gdb.reverse directory and gdb_reverse_timeout exists in board
15268 setting.
15269 * README: Document gdb_reverse_timeout.
15270
15271 2014-05-20 Yao Qi <yao@codesourcery.com>
15272
15273 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15274 'test_file_name'. Treat args as a string instead of a list.
15275 (gdb_init): Rename argument 'args' by 'test_file_name'.
15276
15277 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15278
15279 * gdb.arch/powerpc-power.exp: New file.
15280 * gdb.arch/powerpc-power.s: New file.
15281
15282 2014-05-16 Doug Evans <dje@google.com>
15283
15284 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15285 * gdb.base/completion.exp: Check that all expected files exist
15286 before doing file completion.
15287
15288 2014-05-16 Doug Evans <dje@google.com>
15289
15290 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15291 Update.
15292 (do_syscall_tests_without_xml): Update.
15293
15294 2014-05-16 Pedro Alves <palves@redhat.com>
15295
15296 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15297 instead of "unknown output after running".
15298
15299 2014-05-16 Yao Qi <yao@codesourcery.com>
15300
15301 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15302 file1.txt from host at the end.
15303 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15304
15305 2014-05-15 Doug Evans <dje@google.com>
15306
15307 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15308 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15309 loading file. Add test for TU lookup.
15310
15311 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15312
15313 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15314 calling "-exec-arguments" or "set args" before running the
15315 inferior.
15316
15317 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15318
15319 * lib/mi-support.exp (mi_expect_stop): Expect message for
15320 inferiors that exit with non-zero exit code.
15321
15322 2014-05-14 Yao Qi <yao@codesourcery.com>
15323
15324 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15325 match absolute path on remote host.
15326 (test_file_list_exec_source_files): Remove "/" from the
15327 pattern.
15328
15329 2014-05-14 Yao Qi <yao@codesourcery.com>
15330
15331 * boards/local-remote-host-notty.exp (${board}_file): New
15332 proc.
15333
15334 2014-05-07 Kyle McMartin <kyle@redhat.com>
15335
15336 Pushed by Joel Brobecker <brobecker@adacore.com>.
15337 * gdb.arch/aarch64-atomic-inst.c: New file.
15338 * gdb.arch/aarch64-atomic-inst.exp: New file.
15339
15340 2014-05-07 Yao Qi <yao@codesourcery.com>
15341
15342 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15343 in current context" too.
15344
15345 2014-05-05 Keith Seitz <keiths@redhat.com>
15346
15347 * gdb.linespec/ls-dollar.exp: Add test for linespec
15348 file:convenience_variable.
15349
15350 2014-05-05 Yao Qi <yao@codesourcery.com>
15351
15352 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15353 traceframes into tfile and ctf trace files. Read data from
15354 trace file and test collected data.
15355 (gdb_collect_locals_test): Likewise.
15356 (gdb_unavailable_registers_test): Likewise.
15357 (gdb_unavailable_floats): Likewise.
15358 (gdb_collect_globals_test): Likewise.
15359 (top-level): Append "ctf" to trace_file_targets if GDB
15360 supports.
15361
15362 2014-05-05 Yao Qi <yao@codesourcery.com>
15363
15364 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15365 code to ...
15366 (gdb_collect_args_test_1): ... it. New proc.
15367 (gdb_collect_locals_test): Move some code to ...
15368 (gdb_collect_locals_test_1): ... it. New proc.
15369 (gdb_unavailable_registers_test): Move some code to ...
15370 (gdb_unavailable_registers_test_1): ... it. New proc.
15371 (gdb_unavailable_floats): Move some code to ...
15372 (gdb_unavailable_floats_1): ... it. New proc.
15373
15374 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15375
15376 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15377 probes to test for bitness recognition.
15378 * gdb.arch/amd64-stap-optional-prefix.exp
15379 (test_probe_value_without_reg): New procedure.
15380 Add code to test for different kinds of bitness.
15381
15382 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15383
15384 PR breakpoints/16889
15385 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15386 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15387
15388 2014-05-01 Pedro Alves <palves@redhat.com>
15389
15390 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15391 gdb_file_cmd if no file is specified.
15392 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15393 last_loaded_file to set the remote exec-file.
15394
15395 2014-05-01 Pedro Alves <palves@redhat.com>
15396
15397 * boards/local-remote-host.exp: New file.
15398
15399 2014-05-01 Pedro Alves <palves@redhat.com>
15400
15401 * boards/local-remote-host.exp: Rename to ...
15402 * boards/local-remote-host-notty.exp: ... this.
15403
15404 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15405
15406 * gdb.ada/dyn_arrayidx: New testcase.
15407
15408 2014-04-26 Yao Qi <yao@codesourcery.com>
15409
15410 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15411 and compute the length of function main. Save it in
15412 $main_length.
15413 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15414 (top-level): Use gdb_compile to compile objects into
15415 executable and restart GDB. Remove invocation to
15416 prepare_for_testing.
15417
15418 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15419 Pedro Alves <palves@redhat.com>
15420
15421 PR server/16255
15422 * gdb.multi/multi-attach.c: New file.
15423 * gdb.multi/multi-attach.exp: New file.
15424
15425 2014-04-25 Pedro Alves <palves@redhat.com>
15426
15427 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15428 user.
15429 (top level): Test that "set remote conditional-breakpoints-packet
15430 off" works as intended.
15431 * gdb.base/dprintf.exp: Test that "set remote
15432 breakpoint-commands-packet off" works as intended.
15433 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15434 New function.
15435 (top level): Call it.
15436 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15437 remote fast-tracepoints-packet off" works as intended.
15438 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15439 * lib/gdb.exp (gdb_is_target_remote): ... here.
15440
15441 2014-04-24 David Blaikie <dblaikie@gmail.com>
15442
15443 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15444 ensure clang would not discard them.
15445 * gdb.base/gdbvars.c: Ditto.
15446 * gdb.base/memattr.c: Ditto.
15447 * gdb.base/whatis.c: Ditto.
15448 * gdb.python/py-prettyprint.c: Ditto.
15449 * gdb.trace/actions.c: Ditto.
15450 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15451 ensure clang would not discard it.
15452
15453 2014-04-24 David Blaikie <dblaikie@gmail.com>
15454
15455 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15456 clang to emit the full definition of type required by the test
15457 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15458
15459 2014-04-24 David Blaikie <dblaikie@gmail.com>
15460
15461 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15462 coax Clang into emitting the definition of the type.
15463 * gdb.cp/pr10728-x.h (y): Ditto.
15464 * gdb.cp/pr10728-y.cc (y): Ditto.
15465
15466 2014-04-24 David Blaikie <dblaikie@gmail.com>
15467
15468 * gdb.base/label.exp: XFAIL label related tests under Clang.
15469 * gdb.cp/cplabel.exp: Ditto.
15470 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15471 under Clang those using labels.
15472
15473 2014-04-25 Yao Qi <yao@codesourcery.com>
15474
15475 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15476 double_label.
15477 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15478 partial_label and double_label.
15479
15480 2014-04-24 David Blaikie <dblaikie@gmail.com>
15481
15482 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15483
15484 2014-04-24 David Blaikie <dblaikie@gmail.com>
15485
15486 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15487 of the function to work across GCC and Clang.
15488 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15489 pointer types (const void ** const V void **).
15490
15491 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15492 Walfred Tedeschi <walfred.tedeschi@intel.com>
15493
15494 * Makefile.in (EXECUTABLES): Added i386-avx512.
15495 * gdb.arch/i386-avx512.c: New file.
15496 * gdb.arch/i386-avx512.exp: Likewise.
15497
15498 2014-04-23 Keith Seitz <keiths@redhat.com>
15499
15500 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15501 (mi_make_breakpoint_table): New procedure.
15502 (mi_create_breakpoint): Use mi_make_breakpoint
15503 and return the result.
15504 (mi_make_breakpoint): New procedure.
15505 (mi_build_kv_pairs): New procedure.
15506
15507 * gdb.mi/mi-break.exp: Remove unused globals,
15508 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15509 All callers updated.
15510 * gdb.mi/mi-dprintf.exp: Use variable to track command
15511 number.
15512 Update all callers of mi_create_breakpoint and use
15513 mi_make_breakpoint_table.
15514 Remove any unused global variables.
15515 * gdb.mi/mi-nonstop.exp: Likewise.
15516 * gdb.mi/mi-nsintrall.exp: Likewise.
15517 * gdb.mi/mi-nsmoribund.exp: Likewise.
15518 * gdb.mi/mi-nsthrexec.exp: Likewise.
15519 * gdb.mi/mi-reverse.exp: Likewise.
15520 * gdb.mi/mi-simplerun.exp: Likewise.
15521 * gdb.mi/mi-stepn.exp: Likewise.
15522 * gdb.mi/mi-syn-frame.exp: Likewise.
15523 * gdb.mi/mi-until.exp: Likewise.
15524 * gdb.mi/mi-var-cp.exp: Likewise.
15525 * gdb.mi/mi-var-display.exp: Likewise.
15526 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15527 * gdb.mi/mi2-var-child.exp: Likewise.
15528 * gdb.mi/mi-vla-c99.exp: Likewise.
15529 * lib/mi-support.exp: Likewise.
15530
15531 From Ian Lance Taylor <iant@cygnus.com>:
15532 * lib/gdb.exp (parse_args): New procedure.
15533
15534 2014-04-23 Pedro Alves <palves@redhat.com>
15535
15536 * gdb.base/break-unload-file.c: New file.
15537 * gdb.base/break-unload-file.exp: New file.
15538 * gdb.base/sym-file-lib.c (baz): New function.
15539 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15540 field.
15541 (load): Store the segment's mapped size.
15542 (unload): New function.
15543 (unload_shlib): New function.
15544 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15545 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15546 set a breakpoint at baz, and call it.
15547 * gdb.base/sym-file.exp: New tests for stale breakpoint
15548 instructions.
15549
15550 2014-04-23 Pedro Alves <palves@redhat.com>
15551
15552 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15553 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15554 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15555 * gdb.base/hbreak-unmapped.c: New file.
15556 * gdb.base/hbreak-unmapped.exp: New file.
15557 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15558 * lib/gdb.exp (gdb_is_target_remote): ... here.
15559
15560 2014-04-22 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.base/consecutive-step-over.c: New file.
15563 * gdb.base/consecutive-step-over.exp: New file.
15564
15565 2014-04-22 Pedro Alves <palves@redhat.com>
15566
15567 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15568 instead of send_gdb/gdb_expect.
15569
15570 2014-04-22 Yao Qi <yao@codesourcery.com>
15571
15572 * lib/trace-support.exp (generate_tracefile): New procedure.
15573 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15574 return 0.
15575 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15576 if generate_tracefile returns 1.
15577
15578 2014-04-18 Tom Tromey <palves@redhat.com>
15579 Pedro alves <tromey@redhat.com>
15580
15581 PR backtrace/15558
15582 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15583 with a backtrace limit.
15584 * gdb.python/py-frame-inline.exp: Test running to an inline
15585 function with a backtrace limit, and printing the newest frame.
15586 * gdb.python/py-frame-inline.c (main): Call f.
15587
15588 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15589
15590 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15591
15592 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15593
15594 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15595 Drop prefix from unsupported source file path.
15596
15597 2014-04-17 Yao Qi <yao@codesourcery.com>
15598
15599 * lib/gdb.exp (with_target_charset): New proc.
15600 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15601 with_target_charset.
15602 (test_print_strings): Likewise.
15603 (test_repeat_bytes): Likewise.
15604 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15605 for some tests.
15606
15607 2014-04-16 Keith Seitz <keiths@redhat.com>
15608
15609 PR gdb/15827
15610 * gdb.dwarf2/corrupt.c: New file.
15611 * gdb.dwarf2/corrupt.exp: New file.
15612
15613 2014-04-16 Keith Seitz <keiths@redhat.com>
15614
15615 PR c++/16597
15616 * gdb.cp/namelessclass.cc: New file.
15617 * gdb.cp/namelessclass.exp: New file.
15618 * gdb.cp/namelessclass.S: New file.
15619
15620 2014-04-16 Doug Evans <dje@google.com>
15621
15622 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15623 Add comment.
15624 (gdbserver_default_get_comm_port): New function.
15625 (gdbserver_start): Check if board file provided
15626 "gdbserver,get_comm_port" and use it if so.
15627 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15628 (gdb,socketport): Set to "stdio".
15629 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15630 (stdio_gdbserver_template): Delete.
15631 (${board}_get_remote_address): Update.
15632 (${board}_build_remote_cmd): Delete.
15633 (${board}_get_comm_port): New function.
15634 (${board}_spawn): Update.
15635 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15636 Delete.
15637 (${board}_get_remote_address): Update.
15638 (${board}_get_comm_port): New function.
15639
15640 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15641
15642 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15643 appearing in any order.
15644
15645 2014-04-15 Doug Evans <dje@google.com>
15646
15647 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15648 uninitialized value of "description".
15649
15650 2014-04-15 Keith Seitz <keiths@redhat.com>
15651
15652 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15653 Remove unused globals.
15654 (test_running_the_program): Likewise.
15655 (test_controlled_execution): Likewise.
15656 (test_controlling_breakpoints): Likewise.
15657 (test_program_termination): Likewise.
15658
15659 2014-04-15 Keith Seitz <keiths@redhat.com>
15660
15661 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15662 unused globals.
15663 (test_rbreak_creation_and_listing): Likewise.
15664 (test_ignore_count): Likewise.
15665 (test_error): Likewise.
15666
15667 2014-04-15 Pedro Alves <palves@redhat.com>
15668
15669 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15670 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15671 sym-file-loader.c.
15672 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15673 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15674 to sym-file-loader.c.
15675 (struct library): Forward declare.
15676 (load_shlib, lookup_function): Change prototypes.
15677 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15678 (translate_offset): Remove declarations.
15679 (get_text_addr): New declaration.
15680 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15681 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15682 sym-file-loader.h.
15683 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15684 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15685 here from sym-file-loader.h.
15686 (struct library): New structure.
15687 (load_shlib, lookup_function): Change prototypes and adjust to
15688 work with a struct library.
15689 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15690 (translate_offset): Make static.
15691 (get_text_addr): New function.
15692 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15693
15694 2014-04-15 Pedro Alves <palves@redhat.com>
15695
15696 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15697
15698 2014-04-15 Pedro Alves <palves@redhat.com>
15699
15700 * gdb.base/sym-file-loader.c: Include <limits.h>.
15701 (SELF_LINK): New define.
15702 (get_origin): New function.
15703 (load_shlib): Use it.
15704 * gdb.base/sym-file.exp: Don't early return if the target is
15705 remote. Use runto_main, and issue fail is that fails. Use
15706 gdb_load_shlibs.
15707 (shlib_name): Delete.
15708 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15709
15710 2014-04-15 Pedro Alves <palves@redhat.com>
15711
15712 * gdb.base/sym-file.exp: Remove regex characters from test
15713 message. Don't refer to breakpoint numbers in test messages.
15714
15715 2014-04-14 Keith Seitz <keiths@redhat.com>
15716
15717 PR c++/16253
15718 * gdb.cp/var-tag.cc: New file.
15719 * gdb.cp/var-tag.exp: New file.
15720 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15721 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15722 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15723 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15724
15725 2014-04-14 Tom Tromey <tromey@redhat.com>
15726
15727 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15728 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15729 type.
15730 * gdb.cp/enum-class.exp: New file.
15731 * gdb.cp/enum-class.cc: New file.
15732
15733 2014-04-14 Tom Tromey <tromey@redhat.com>
15734
15735 * gdb.dwarf2/enum-type.exp: New file.
15736
15737 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15738
15739 * gdb.mi/mi-vla-c99.exp: New file.
15740 * gdb.mi/vla.c: New file.
15741
15742 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15743
15744 * gdb.base/vla-datatypes.c: New file.
15745 * gdb.base/vla-datatypes.exp: New file.
15746
15747 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15748
15749 * gdb.base/vla-ptr.c: New file.
15750 * gdb.base/vla-ptr.exp: New file.
15751
15752 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15753
15754 * gdb.dwarf2/count.exp: New file.
15755
15756 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15757
15758 * gdb.base/vla-sideeffect.c: New file.
15759 * gdb.base/vla-sideeffect.exp: New file.
15760
15761 2014-04-14 David Blaikie <dblaikie@gmail.com>
15762
15763 * gdb.mi/non-stop.c: Add return value for non-void function return
15764 statement.
15765 * gdb.threads/staticthreads.c: Ditto.
15766
15767 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15768 Doug Evans <xdje42@gmail.com>
15769
15770 * gdb.guile/scm-value.c: Improve test case.
15771 * gdb.guile/scm-value.exp: Add new test.
15772
15773 2014-04-11 David Blaikie <dblaikie@gmail.com>
15774
15775 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15776 override Clang's default.
15777
15778 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15779
15780 Revert the following changes (regressions):
15781
15782 * gdb.base/vla-sideeffect.c: New file.
15783 * gdb.base/vla-sideeffect.exp: New file.
15784
15785 * gdb.dwarf2/count.exp: New file.
15786
15787 * gdb.base/vla-multi.c: New file.
15788 * gdb.base/vla-multi.exp: New file.
15789
15790 * gdb.base/vla-ptr.c: New file.
15791 * gdb.base/vla-ptr.exp: New file.
15792
15793 * gdb.base/vla-datatypes.c: New file.
15794 * gdb.base/vla-datatypes.exp: New file.
15795
15796 * gdb.mi/mi-vla-c99.exp: New file.
15797 * gdb.mi/vla.c: New file.
15798
15799 2014-04-11 Keith Seitz <keiths@redhat.com>
15800
15801 PR c++/16675
15802 * gdb.cp/cpsizeof.exp: New file.
15803 * gdb.cp/cpsizeof.cc: New file.
15804
15805 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15806
15807 * gdb.mi/mi-vla-c99.exp: New file.
15808 * gdb.mi/vla.c: New file.
15809
15810 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15811
15812 * gdb.base/vla-datatypes.c: New file.
15813 * gdb.base/vla-datatypes.exp: New file.
15814
15815 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15816
15817 * gdb.base/vla-ptr.c: New file.
15818 * gdb.base/vla-ptr.exp: New file.
15819
15820 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15821
15822 * gdb.base/vla-multi.c: New file.
15823 * gdb.base/vla-multi.exp: New file.
15824
15825 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15826
15827 * gdb.dwarf2/count.exp: New file.
15828
15829 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15830
15831 * gdb.base/vla-sideeffect.c: New file.
15832 * gdb.base/vla-sideeffect.exp: New file.
15833
15834 2014-04-11 Yao Qi <yao@codesourcery.com>
15835
15836 * gdb.base/completion.exp: Check file exists before running tests
15837 on file completion.
15838
15839 2014-04-10 Pedro Alves <palves@redhat.com>
15840
15841 * gdb.base/cond-eval-mode.c: New file.
15842 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15843 prepare_for_testing to build the new file. Check result of
15844 runto_main.
15845 (test_break, test_watch): New procedures.
15846 (top level): Use them.
15847
15848 2014-04-08 Pierre Muller <muller@sourceware.org>
15849
15850 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15851 Ctrl-V use for mingw hosts.
15852
15853 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15854
15855 * gdb.python/py-value.c: Improve test case.
15856 * gdb.python/py-value.exp: Add new test.
15857
15858 2014-04-07 David Blaikie <dblaikie@gmail.com>
15859
15860 * lib/compiler.c: Identify the clang compiler.
15861 * lib/compiler.cc: Ditto.
15862
15863 2014-04-03 Yao Qi <yao@codesourcery.com>
15864
15865 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15866
15867 2014-04-01 Anton Blanchard <anton@samba.org>
15868
15869 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15870 messages unique.
15871
15872 2014-04-01 Anton Blanchard <anton@samba.org>
15873
15874 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15875 prepare_for_testing.
15876
15877 2014-04-01 Anton Blanchard <anton@samba.org>
15878
15879 * gdb.arch/ppc64-atomic-inst.c: Remove.
15880 * gdb.arch/ppc64-atomic-inst.S: New file.
15881 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15882
15883 2014-03-31 Doug Evans <dje@google.com>
15884
15885 * gdb.base/print-symbol-loading-lib.c: New file.
15886 * gdb.base/print-symbol-loading-main.c: New file.
15887 * gdb.base/print-symbol-loading.exp: New file.
15888
15889 2014-03-31 Yao Qi <yao@codesourcery.com>
15890
15891 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15892
15893 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15894
15895 * gdb.ada/mi_dyn_arr: New testcase.
15896
15897 2014-03-27 Doug Evans <dje@google.com>
15898
15899 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15900
15901 2014-03-27 Yao Qi <yao@codesourcery.com>
15902
15903 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15904 if target is nios2-*-*.
15905
15906 2014-03-26 Yao Qi <yao@codesourcery.com>
15907
15908 * lib/gdb.exp (readline_is_used): New proc.
15909 * gdb.base/completion.exp: Move tests on command complete up.
15910 Skip the rest of tests if readline is not used.
15911 * gdb.ada/complete.exp: Skp the test if readline is not
15912 used.
15913 * gdb.base/filesym.exp: Likewise.
15914 * gdb.base/macscp.exp: Likewise.
15915 * gdb.base/readline-ask.exp: Likewise.
15916 * gdb.base/readline.exp: Likewise.
15917 * gdb.python/py-cmd.exp: Likewise.
15918 * gdb.trace/tfile.exp: Likewise.
15919
15920 2014-03-26 Yao Qi <yao@codesourcery.com>
15921
15922 * gdb.base/macscp.exp: Fix code format issues.
15923
15924 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15925
15926 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15927 * gdb.asm/powerpc64le.inc: New file.
15928
15929 2014-03-25 Pedro Alves <palves@redhat.com>
15930 Doug Evans <dje@google.com>
15931
15932 * gdb.base/source-execution.c: New file.
15933 * gdb.base/source-execution.exp: New file.
15934 * gdb.base/source-execution.gdb: New file.
15935
15936 2014-03-24 Doug Evans <dje@google.com>
15937
15938 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15939 using fission.
15940
15941 2014-03-24 Hui Zhu <hui@codesourcery.com>
15942 Pedro Alves <palves@redhat.com>
15943
15944 PR breakpoints/16101
15945 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15946 test pass/fail messages. Detect missing support for dprintf when
15947 breakpoints are actually inserted.
15948 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15949 breakpoints are actually inserted.
15950 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15951 fails.
15952
15953 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15954
15955 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15956
15957 2014-03-22 Doug Evans <xdje42@gmail.com>
15958
15959 * gdb.python/python.exp (python not supported): Verify multi-line
15960 python command issues an error.
15961 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15962 guile command issues an error.
15963
15964 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15965
15966 * gdb.threads/thread-specific.exp: Handle the lack of usable
15967 $this_breakpoint and $this_thread.
15968
15969 2014-03-21 Hui Zhu <hui@codesourcery.com>
15970
15971 * gdb.base/attach.exp (do_command_attach_tests): New.
15972
15973 2014-03-20 Tom Tromey <tromey@redhat.com>
15974 Pedro Alves <palves@redhat.com>
15975
15976 PR cli/15718
15977 * gdb.base/condbreak-call-false.c: New file.
15978 * gdb.base/condbreak-call-false.exp: New file.
15979
15980 2014-03-20 Pedro Alves <palves@redhat.com>
15981
15982 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15983 Delete.
15984 (block_signals, unblock_signals): Delete.
15985 (child_function_2, main): Remove references to deleted variable
15986 and functions.
15987
15988 2014-03-20 Pedro Alves <palves@redhat.com>
15989
15990 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15991 Use pthread_kill to signal thread 2.
15992 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15993 Adjust to make the test send itself a signal rather than using the
15994 host's "kill" command.
15995
15996 2014-03-20 Pedro Alves <palves@redhat.com>
15997
15998 * gdb.threads/multiple-step-overs.c: New file.
15999 * gdb.threads/multiple-step-overs.exp: New file.
16000 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16001 Adjust expected infrun debug output.
16002
16003 2014-03-20 Pedro Alves <palves@redhat.com>
16004
16005 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16006 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16007
16008 2014-03-20 Pedro Alves <palves@redhat.com>
16009
16010 PR breakpoints/7143
16011 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16012 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16013 of gdb_test_multiple.
16014 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16015 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16016
16017 2014-03-20 Pedro Alves <palves@redhat.com>
16018
16019 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16020 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16021
16022 2014-03-19 Pedro Alves <palves@redhat.com>
16023
16024 * gdb.base/async.exp: Remove early return.
16025
16026 2014-03-19 Pedro Alves <palves@redhat.com>
16027
16028 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16029
16030 2014-03-19 Pedro Alves <palves@redhat.com>
16031
16032 * gdb.base/async.exp (test_background): Expect \r\n after
16033 "completed." in the fail pattern.
16034
16035 2014-03-19 Pedro Alves <palves@redhat.com>
16036
16037 * gdb.base/async.exp (test_background): New procedure.
16038 Use it for all background execution command tests.
16039
16040 2014-03-19 Pedro Alves <palves@redhat.com>
16041
16042 * gdb.base/async.exp: Use prepare_for_testing.
16043
16044 2014-03-19 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16047 the same line.
16048
16049 2014-03-19 Pedro Alves <palves@redhat.com>
16050
16051 * gdb.base/async.c (main): Add "jump here" and "until here" line
16052 marker comments.
16053 * gdb.base/async.exp (jump_here): New global.
16054 (jump& test): Use it.
16055 (until_here): New global.
16056 (until& test): Use it.
16057
16058 2014-03-19 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.base/async.exp: Don't frob gdb_protocol.
16061
16062 2014-03-18 Doug Evans <xdje42@gmail.com>
16063
16064 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16065 Fix spelling of exec-done-display.
16066
16067 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16068
16069 PR gdb/15358
16070 * gdb.base/gdb-sigterm.c: New file.
16071 * gdb.base/gdb-sigterm.exp: New file.
16072
16073 2014-03-18 Pedro Alves <palves@redhat.com>
16074
16075 PR gdb/13860
16076 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16077 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16078 solib-event.
16079
16080 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16081
16082 * gdb.ada/pckd_arr_ren: New testcase.
16083
16084 2014-03-13 Doug Evans <xdje42@gmail.com>
16085
16086 PR guile/16612
16087 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16088 collect after discarding symbols.
16089
16090 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16091 Doug Evans <xdje42@gmail.com>
16092
16093 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16094 to history survives a gc.
16095
16096 2014-03-13 Pedro Alves <palves@redhat.com>
16097
16098 * gdb.base/default.exp: Don't test "target procfs".
16099
16100 2014-03-13 Pedro Alves <palves@redhat.com>
16101
16102 * gdb.base/default.exp: Update "target child" and "target procfs"
16103 tests to not expect "Unix".
16104
16105 2014-03-12 Tom Tromey <tromey@redhat.com>
16106
16107 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16108 New procs. Add target-async tests.
16109 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16110 Add target-async tests.
16111
16112 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16113
16114 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16115 'func_start' and 'func_end' for the beginning and end of the
16116 function code, respectively.
16117 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16118 'func_end' instead of 'func' and 'main'.
16119
16120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16121
16122 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16123 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16124 generate the debug info assembler source.
16125
16126 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16127
16128 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16129 * gdb.dwarf2/arr-subrange.exp: Likewise.
16130 * gdb.dwarf2/dwz.exp: Likewise.
16131 * gdb.dwarf2/method-ptr.exp: Likewise.
16132 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16133 * gdb.dwarf2/subrange.exp: Likewise.
16134 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16135 * gdb.dwarf2/implptrpiece.exp: Likewise.
16136 * gdb.dwarf2/nostaticblock.exp: Likewise.
16137
16138 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16139
16140 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16141 directory to absolute path name arguments.
16142
16143 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16144
16145 * gdb.ada/tagged_access: New testcase.
16146
16147 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16148
16149 * gdb.btrace/data.exp: Update expected output.
16150
16151 2014-03-06 Yao Qi <yao@codesourcery.com>
16152
16153 * gdb.trace/pr16508.exp: New file.
16154
16155 2014-03-05 Pedro Alves <palves@redhat.com>
16156
16157 PR gdb/16575
16158 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16159 procedure.
16160 (top level): Adjust to use it. Add tests that exercise breakpoint
16161 interaction with the code-cache.
16162
16163 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16164
16165 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16166 test for 'history-append!'.
16167
16168 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16169
16170 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16171 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16172 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16173 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16174 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16175 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16176
16177 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16178
16179 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16180 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16181 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16182
16183 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16184
16185 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16186
16187 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16188
16189 * gdb.dwarf2/arr-stride.c: New file.
16190 * gdb.dwarf2/arr-stride.exp: New file.
16191
16192 2014-02-26 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16195 that won't ever trigger. Make sure that GDB reports the correct
16196 breakpoint that caused the stop.
16197
16198 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16199
16200 PR gdb/16626
16201 * gdb.base/auto-load-script: New file.
16202 * gdb.base/auto-load.c: New file.
16203 * gdb.base/auto-load.exp: New file.
16204
16205 PR gdb/16626
16206 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16207
16208 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16209
16210 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16211 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16212
16213 2014-02-24 Doug Evans <dje@google.com>
16214
16215 * lib/gdb.exp (run_on_host): Log error output if program fails.
16216
16217 2014-02-21 Pedro Alves <palves@redhat.com>
16218
16219 * gdb.threads/step-after-sr-lock.c: Rename to ...
16220 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16221 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16222 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16223 ... this.
16224
16225 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16226
16227 PR tdep/16397
16228 * gdb.arch/amd64-stap-special-operands.exp: New file.
16229 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16230 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16231 * gdb.arch/amd64-stap-triplet.S: Likewise.
16232 * gdb.arch/amd64-stap-triplet.c: Likewise.
16233
16234 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16237 in .section pseudo-op.
16238
16239 2014-02-20 lin zuojian <manjian2006@gmail.com>
16240 Joel Brobecker <brobecker@adacore.com>
16241 Doug Evans <xdje42@gmail.com>
16242
16243 PR symtab/16581
16244 * gdb.dwarf2/dw2-icycle.S: New file.
16245 * gdb.dwarf2/dw2-icycle.c: New file.
16246 * gdb.dwarf2/dw2-icycle.exp: New file.
16247
16248 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16249
16250 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16251 operations on gdb.Value objects.
16252 * gdb.python/py-value-cc.exp: Add new test to test operations on
16253 gdb.Value objects.
16254
16255 2014-02-18 Doug Evans <dje@google.com>
16256
16257 * Makefile.in (TESTS): New variable.
16258 (expanded_tests, expanded_tests_or_none): New variables
16259 (check-single): Pass $(expanded_tests_or_none) to runtest.
16260 (check-parallel): Only run tests in $(TESTS) if non-empty.
16261 (check/no-matching-tests-found): New rule.
16262 * README: Document TESTS makefile variable.
16263
16264 2014-02-18 Doug Evans <dje@google.com>
16265
16266 * Makefile.in (check-parallel): rm -rf outputs temp.
16267
16268 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16269
16270 Fix "ERROR: no fileid for" in the testsuite.
16271 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16272
16273 2014-02-12 Doug Evans <dje@google.com>
16274
16275 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16276 (MISCELLANEOUS): New variable.
16277 (clean): rm -rf $(MISCELLANEOUS).
16278 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16279 dwp live in the same directory as symlinks, with each symlink pointed
16280 to a differently named file in a different directory.
16281
16282 2014-02-11 Doug Evans <dje@google.com>
16283
16284 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16285 of Tcl file commands.
16286
16287 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16288
16289 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16290 "kill -SIGUSR1 -1".
16291
16292 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16293
16294 * gdb.ada/tick_length_array_enum_idx: New testcase.
16295
16296 2014-02-10 Doug Evans <xdje42@gmail.com>
16297
16298 * configure.ac (AC_OUTPUT): Add gdb.guile.
16299 * configure: Regenerate.
16300 * lib/gdb-guile.exp: New file.
16301 * lib/gdb.exp (get_target_charset): New function.
16302 * gdb.base/help.exp: Update expected output from "apropos apropos".
16303 * gdb.guile/Makefile.in: New file.
16304 * gdb.guile/guile.exp: New file.
16305 * gdb.guile/scm-arch.c: New file.
16306 * gdb.guile/scm-arch.exp: New file.
16307 * gdb.guile/scm-block.c: New file.
16308 * gdb.guile/scm-block.exp: New file.
16309 * gdb.guile/scm-breakpoint.c: New file.
16310 * gdb.guile/scm-breakpoint.exp: New file.
16311 * gdb.guile/scm-disasm.c: New file.
16312 * gdb.guile/scm-disasm.exp: New file.
16313 * gdb.guile/scm-equal.c: New file.
16314 * gdb.guile/scm-equal.exp: New file.
16315 * gdb.guile/scm-error.exp: New file.
16316 * gdb.guile/scm-error.scm: New file.
16317 * gdb.guile/scm-frame-args.c: New file.
16318 * gdb.guile/scm-frame-args.exp: New file.
16319 * gdb.guile/scm-frame-args.scm: New file.
16320 * gdb.guile/scm-frame-inline.c: New file.
16321 * gdb.guile/scm-frame-inline.exp: New file.
16322 * gdb.guile/scm-frame.c: New file.
16323 * gdb.guile/scm-frame.exp: New file.
16324 * gdb.guile/scm-generics.exp: New file.
16325 * gdb.guile/scm-gsmob.exp: New file.
16326 * gdb.guile/scm-iterator.c: New file.
16327 * gdb.guile/scm-iterator.exp: New file.
16328 * gdb.guile/scm-math.c: New file.
16329 * gdb.guile/scm-math.exp: New file.
16330 * gdb.guile/scm-objfile-script-gdb.in: New file.
16331 * gdb.guile/scm-objfile-script.c: New file.
16332 * gdb.guile/scm-objfile-script.exp: New file.
16333 * gdb.guile/scm-objfile.c: New file.
16334 * gdb.guile/scm-objfile.exp: New file.
16335 * gdb.guile/scm-ports.exp: New file.
16336 * gdb.guile/scm-pretty-print.c: New file.
16337 * gdb.guile/scm-pretty-print.exp: New file.
16338 * gdb.guile/scm-pretty-print.scm: New file.
16339 * gdb.guile/scm-section-script.c: New file.
16340 * gdb.guile/scm-section-script.exp: New file.
16341 * gdb.guile/scm-section-script.scm: New file.
16342 * gdb.guile/scm-symbol.c: New file.
16343 * gdb.guile/scm-symbol.exp: New file.
16344 * gdb.guile/scm-symtab-2.c: New file.
16345 * gdb.guile/scm-symtab.c: New file.
16346 * gdb.guile/scm-symtab.exp: New file.
16347 * gdb.guile/scm-type.c: New file.
16348 * gdb.guile/scm-type.exp: New file.
16349 * gdb.guile/scm-value-cc.cc: New file.
16350 * gdb.guile/scm-value-cc.exp: New file.
16351 * gdb.guile/scm-value.c: New file.
16352 * gdb.guile/scm-value.exp: New file.
16353 * gdb.guile/source2.scm: New file.
16354 * gdb.guile/types-module.cc: New file.
16355 * gdb.guile/types-module.exp: New file.
16356
16357 2014-02-10 Yao Qi <yao@codesourcery.com>
16358
16359 PR testsuite/16543
16360 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16361 * configure: Regenerated.
16362 * Makefile.in: New file.
16363
16364 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16365
16366 * gdb.python/py-framefilter.exp: Fix typo.
16367
16368 2014-02-08 Yao Qi <yao@codesourcery.com>
16369
16370 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16371 that no =breakpoint-modified is emitted when breakpoints are
16372 modified through MI commands.
16373
16374 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16375 Pedro Alves <palves@redhat.com>
16376
16377 * gdb.threads/step-after-sr-lock.c: New file.
16378 * gdb.threads/step-after-sr-lock.exp: New file.
16379
16380 2014-02-07 Pedro Alves <palves@redhat.com>
16381
16382 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16383
16384 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16385
16386 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16387 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16388
16389 2014-02-06 Doug Evans <xdje42@gmail.com>
16390
16391 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16392 output.
16393
16394 * gdb.gdb/python-interrupts.exp: New file.
16395
16396 2014-02-05 Yao Qi <yao@codesourcery.com>
16397
16398 * gdb.trace/report.exp (use_collected_data): Test the output
16399 of "info threads" and "info inferiors".
16400
16401 2014-02-05 Yao Qi <yao@codesourcery.com>
16402
16403 Revert this patch:
16404
16405 2013-05-24 Yao Qi <yao@codesourcery.com>
16406
16407 * gdb.trace/tfile.exp: Test inferior and thread.
16408
16409 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16410
16411 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16412 on a function.
16413 * gdb.base/step-bt.c: Call hello via function pointer to make
16414 sure its first instruction is executed on powerpc64le-linux.
16415
16416 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16417
16418 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16419
16420 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16421
16422 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16423 of the test patterns for use on little-endian systems.
16424
16425 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16426
16427 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16428 (decimal_vector): Fix for little-endian.
16429
16430 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16431
16432 * gdb.arch/sparc-sysstep.exp: New file.
16433 * gdb.arch/sparc-sysstep.c: Likewise.
16434
16435 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16436
16437 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16438
16439 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16440
16441 2014-01-23 Tom Tromey <tromey@redhat.com>
16442
16443 * gdb.ada/array_char_idx: New testcase.
16444
16445 2014-01-23 Tom Tromey <tromey@redhat.com>
16446
16447 PR python/16487:
16448 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16449 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16450 classes.
16451
16452 2014-01-23 Tom Tromey <tromey@redhat.com>
16453
16454 PR python/16491:
16455 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16456 string from an inferior frame.
16457 * gdb.python/py-framefilter-mi.exp: Update.
16458
16459 2014-01-22 Doug Evans <dje@google.com>
16460
16461 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16462
16463 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16464
16465 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16466
16467 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16468
16469 * gdb.trace/entry-values.exp: Remove excess space character from
16470 regex patterns. Handle s390 call instruction.
16471
16472 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16473
16474 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16475 define "*_start" label. Make "name" static.
16476 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16477 ${name} by references to ${name}_start.
16478
16479 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16480
16481 * gdb.base/info-macros.exp: Remove "debug" from the compile
16482 options.
16483
16484 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16485
16486 * gdb.dlang/demangle.exp: New file.
16487
16488 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16489
16490 * gdb.dlang/primitive-types.exp: New file.
16491
16492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16493
16494 * configure.ac: Create gdb.dlang/Makefile.
16495 * configure: Regenerate.
16496 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16497 * gdb.dlang/Makefile.in: New file.
16498 * lib/d-support.exp: New file.
16499 * lib/gdb.exp (skip_d_tests): New proc.
16500
16501 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16502
16503 * gdb.btrace/delta.exp: Check reverse stepi.
16504 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16505 * gdb.btrace/finish.exp: New.
16506 * gdb.btrace/next.exp: New.
16507 * gdb.btrace/nexti.exp: New.
16508 * gdb.btrace/record_goto.c: Add comments.
16509 * gdb.btrace/step.exp: New.
16510 * gdb.btrace/stepi.exp: New.
16511 * gdb.btrace/multi-thread-step.c: New.
16512 * gdb.btrace/multi-thread-step.exp: New.
16513 * gdb.btrace/rn-dl-bind.c: New.
16514 * gdb.btrace/rn-dl-bind.exp: New.
16515 * gdb.btrace/data.c: New.
16516 * gdb.btrace/data.exp: New.
16517 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16518
16519 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16520
16521 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16522 * gdb.btrace/exception.exp: Update.
16523 * gdb.btrace/instruction_history.exp: Update.
16524 * gdb.btrace/record_goto.exp: Update.
16525 * gdb.btrace/tailcall.exp: Update.
16526 * gdb.btrace/unknown_functions.exp: Update.
16527 * gdb.btrace/delta.exp: New.
16528
16529 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16530
16531 * gdb.btrace/record_goto.exp: Add backtrace test.
16532 * gdb.btrace/tailcall.exp: Add backtrace test.
16533
16534 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16535
16536 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16537 * gdb.btrace/record_goto.c: New.
16538 * gdb.btrace/record_goto.exp: New.
16539 * gdb.btrace/x86-record_goto.S: New.
16540
16541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16542
16543 * gdb.btrace/function_call_history.exp: Update tests.
16544 * gdb.btrace/instruction_history.exp: Update tests.
16545
16546 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16547
16548 * gdb.btrace/function_call_history.exp: Fix expected field
16549 order for "record function-call-history".
16550 Add new tests for "record function-call-history /c".
16551 * gdb.btrace/exception.cc: New.
16552 * gdb.btrace/exception.exp: New.
16553 * gdb.btrace/tailcall.exp: New.
16554 * gdb.btrace/x86-tailcall.S: New.
16555 * gdb.btrace/x86-tailcall.c: New.
16556 * gdb.btrace/unknown_functions.c: New.
16557 * gdb.btrace/unknown_functions.exp: New.
16558 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16559
16560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16561
16562 * gdb.btrace/instruction_history.exp: Update.
16563 * gdb.btrace/function_call_history.exp: Update.
16564
16565 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16566
16567 * gdb.btrace/function_call_history.exp: Fix expected function
16568 trace.
16569 * gdb.btrace/instruction_history.exp: Initialize traced.
16570 Remove traced_functions.
16571
16572 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16573
16574 * gdb.btrace/function_call_history.exp: Update
16575 * gdb.btrace/instruction_history.exp: Update.
16576
16577 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16578
16579 * gdb.btrace/enable.exp: Update expected text.
16580
16581 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16582
16583 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16584 bytes.
16585
16586 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16587
16588 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16589
16590 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16591
16592 * lib/gdb.exp (supports_process_record): Return true for
16593 arm*-linux*. (supports_reverse): Likewise.
16594
16595 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16596
16597 PR python/15464
16598 PR python/16113
16599 * gdb.python/py-type.c: Enhance test case.
16600 * gdb.python/py-value-cc.cc: Likewise
16601 * gdb.python/py-type.exp: Add new tests.
16602 * gdb.python/py-value-cc.exp: Likewise
16603
16604 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16605 Pedro Alves <palves@redhat.com>
16606
16607 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16608 Make "name" extern.
16609 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16610 references to ${name}_start by references to ${name}.
16611
16612 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16613
16614 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16615
16616 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16617
16618 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16619
16620 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16621 Pedro Alves <palves@redhat.com>
16622
16623 * gdb.mi/mi-info-os.exp: Connect to the target with
16624 mi_gdb_target_load.
16625
16626 2014-01-08 Pedro Alves <palves@redhat.com>
16627
16628 * gdb.threads/reconnect-signal.c: New file.
16629 * gdb.threads/reconnect-signal.exp: New file.
16630
16631 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16632
16633 * gdb.base/source-dir.exp: New file.
16634
16635 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16636
16637 * gdb.ada/mi_interface: New testcase.
16638
16639 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16640
16641 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16642 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16643 gdb.ada/pp-rec-component/pck.ads: New files.
16644
16645 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16646
16647 * gdb.python/py-pp-integral.c: New file.
16648 * gdb.python/py-pp-integral.py: New file.
16649 * gdb.python/py-pp-integral.exp: New file.
16650
16651 For older changes see ChangeLog-1993-2013.
16652 \f
16653 ;; Local Variables:
16654 ;; mode: change-log
16655 ;; left-margin: 8
16656 ;; fill-column: 74
16657 ;; version-control: never
16658 ;; End:
16659
16660 Copyright 2014-2019 Free Software Foundation, Inc.
16661 Copying and distribution of this file, with or without modification,
16662 are permitted provided the copyright notice and this notice are preserved.
This page took 0.387809 seconds and 4 git commands to generate.