Remove gdb workaround from readline/xfree.c
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2
3 * gdb.linespec/break-ask.exp: Generalize regexps to match
4 Windows pathnames too.
5
62019-08-08 Tom de Vries <tdevries@suse.de>
7
8 PR testsuite/24862
9 * lib/tuiterm.exp (_accept): Fix CSI regexp.
10
112019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12
13 * gdb.base/style.exp: Update tests for help doc new invariants.
14 * gdb.base/help.exp: Likewise.
15
162019-08-06 Tom Tromey <tom@tromey.com>
17
18 * gdb.base/style.exp: Add disassemble test.
19 * gdb.base/style.c (some_called_function): New function.
20 (main): Use it.
21
222019-08-05 Christian Biesinger <cbiesinger@google.com>
23
24 * gdb.python/py-block.exp: Test dictionary access on blocks.
25
262019-08-05 Simon Marchi <simon.marchi@efficios.com>
27
28 PR gdb/24863
29 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
30 -list-thread-groups --available test when running under
31 check-read1.
32
332019-08-05 Tom de Vries <tdevries@suse.de>
34
35 PR testsuite/24863
36 * lib/gdb.exp (with_read1_timeout_factor): New proc.
37 * gdb.base/help.exp: Use with_read1_timeout_factor.
38 * gdb.base/info-macros.exp: Same.
39 * gdb.cp/nested-types.exp: Same.
40
412019-08-05 Tom de Vries <tdevries@suse.de>
42
43 * lib/gdb.exp (version_at_least): Factor out of ...
44 (tcl_version_at_least): ... here.
45 (gdb_compile): Fail if pie results in non-PIE executable.
46 (readelf_version, readelf_prints_pie): New proc.
47 (exec_is_pie): Return -1 if unknown.
48
492019-08-05 Tom de Vries <tdevries@suse.de>
50
51 * lib/gdb.exp (tcl_version_at_least): Fix typo.
52
532019-08-04 Sandra Loosemore <sandra@codesourcery.com>
54
55 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
56
572019-08-04 Sandra Loosemore <sandra@codesourcery.com>
58
59 * lib/completion-support.exp (test_gdb_complete_none): Skip
60 tab completion tests if no readline support.
61 (test_gdb_complete_unique_re): Likewise.
62 (test_gdb_complete_multiple): Likewise.
63
642019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
65
66 * gdb.base/info_sources.exp: New file.
67 * gdb.base/info_sources.c: New file.
68 * gdb.base/info_sources_base.c: New file.
69
702019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
71
72 * gdb.base/batch-exit-status.exp: Call test_exit_status with
73 prefix argument.
74 (test_exit_status): Add prefix argument.
75
762019-08-01 Tom de Vries <tdevries@suse.de>
77
78 PR testsuite/24863
79 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
80 calling exp_continue for new thread and thread exited messages.
81
822019-08-01 Tom de Vries <tdevries@suse.de>
83
84 PR testsuite/24863
85 * gdb.base/structs.exp: Fix check-read1 timeout using
86 gdb_test_sequence.
87 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
88
892019-08-01 Tom de Vries <tdevries@suse.de>
90
91 PR testsuite/24863
92 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
93 line.
94
952019-08-01 Tom de Vries <tdevries@suse.de>
96
97 PR testsuite/24863
98 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
99
1002019-07-30 Tom Tromey <tromey@adacore.com>
101
102 * gdb.ada/display_nested.exp: New file.
103 * gdb.ada/display_nested/foo.adb: New file.
104 * gdb.ada/display_nested/pack.adb: New file.
105 * gdb.ada/display_nested/pack.ads: New file.
106
1072019-07-30 Christian Biesinger <cbiesinger@google.com>
108
109 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
110 namespace.
111 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
112
1132019-07-30 Tom de Vries <tdevries@suse.de>
114
115 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
116 instead.
117
1182019-07-30 Tom de Vries <tdevries@suse.de>
119
120 PR testsuite/24834
121 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
122 (exec_is_pie): New proc.
123
1242019-07-29 Christian Biesinger <cbiesinger@google.com>
125
126 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
127
1282019-07-29 Christian Biesinger <cbiesinger@google.com>
129
130 * gdb.python/py-objfile.c: Add global and static vars.
131 * gdb.python/py-objfile.exp: Test new functions Objfile.
132 lookup_global_symbol and lookup_static_symbol.
133
1342019-07-29 Tom Tromey <tom@tromey.com>
135
136 * lib/tuiterm.exp (Term::_csi_@): New proc.
137 (Term::_csi_X): Don't move cursor.
138
1392019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
140
141 * gdb.base/options.exp: Update backtrace - completion to
142 new option -frame-info.
143 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
144 Test new 'set print frame-info'. Test backtrace -frame-info
145 overriding 'set print frame-info'.
146 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
147 Test new 'set print frame-info'.
148 Verify consistency of backtrace with and without filters, with and
149 without -no-filters.
150 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
151 default.
152
1532019-07-29 Tom de Vries <tdevries@suse.de>
154
155 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
156 no arguments".
157
1582019-07-29 Tom de Vries <tdevries@suse.de>
159
160 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
161 is a substring of the first for "complete non-unique file name".
162
1632019-07-29 Tom de Vries <tdevries@suse.de>
164
165 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
166 with ".*".
167
1682019-07-29 Tom de Vries <tdevries@suse.de>
169
170 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
171 Pass prompt_regexp parameter to gdb_test_multiple calls.
172
1732019-07-29 Tom de Vries <tdevries@suse.de>
174
175 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
176 print registers" regexps.
177
1782019-07-29 Tom de Vries <tdevries@suse.de>
179
180 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
181
1822019-07-29 Tom de Vries <tdevries@suse.de>
183
184 PR gdb/24855
185 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
186 (skip_python_tests_prompt): Add prompt_regexp argument to
187 gdb_test_multiple calls.
188
1892019-07-27 Tom Tromey <tom@tromey.com>
190
191 * gdb.tui/main.exp: New file.
192
1932019-07-27 Tom Tromey <tom@tromey.com>
194
195 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
196 optional.
197 * gdb.tui/empty.exp: New file.
198
1992019-07-27 Tom Tromey <tom@tromey.com>
200
201 * lib/tuiterm.exp (spawn): New proc.
202 (Term::resize): New proc.
203 * gdb.tui/resize.exp: New file.
204
2052019-07-27 Tom Tromey <tom@tromey.com>
206
207 * gdb.tui/list.exp: New file.
208
2092019-07-27 Tom Tromey <tom@tromey.com>
210
211 * gdb.tui/regs.exp: New file.
212
2132019-07-27 Tom Tromey <tom@tromey.com>
214
215 * gdb.tui/basic.exp: Add "layout split" test.
216
2172019-07-27 Tom Tromey <tom@tromey.com>
218
219 * gdb.tui/basic.exp: Add "layout asm" test.
220
2212019-07-27 Tom Tromey <tom@tromey.com>
222
223 * lib/tuiterm.exp: New file.
224 * gdb.tui/basic.exp: New file.
225
2262019-07-27 Kevin Buettner <kevinb@redhat.com>
227
228 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
229 Enable tests associated with this flag. Adjust regex
230 referencing "foo_low" to now refer to "foo_cold" instead.
231
2322019-07-27 Kevin Buettner <kevinb@redhat.com>
233
234 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
235 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
236 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
237 foo_cold. Revise comments to match.
238 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
239 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
240 were wrapped into this proc; Call do_test in loop from outermost
241 level.
242 (foo_low): Rename all occurrences to "foo_cold".
243 (backtrace from baz): New test.
244 (x2/i foo_cold): New test.
245 (info line *foo_cold): New test.
246
2472019-07-26 Tom de Vries <tdevries@suse.de>
248
249 * gdb.arch/i386-pkru.exp: Fix unterminated string.
250
2512019-07-25 Tom de Vries <tdevries@suse.de>
252
253 PR testsuite/24830
254 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
255 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
256 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
257 (skip_libstdcxx_probe_tests): ... here.
258 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
259
2602019-07-24 Tom de Vries <tdevries@suse.de>
261
262 PR testsuite/24807
263 * gdb.objc/basicclass.m: Include stdio.h.
264 * gdb.objc/nondebug.m: Same.
265 * gdb.objc/objcdecode.m: Same.
266
2672019-07-24 Tom de Vries <tdevries@suse.de>
268
269 PR testsuite/24612
270 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
271 additional_flags.
272
2732019-07-24 Tom de Vries <tdevries@suse.de>
274
275 PR testsuite/24831
276 * gdb.multi/tids.exp: Update error messages for info threads.
277
2782019-07-24 Tom de Vries <tdevries@suse.de>
279
280 * gdb.base/info-types.exp: Allow info types to print info for more than
281 one file.
282
2832019-07-23 Tom de Vries <tdevries@suse.de>
284
285 PR testsuite/24842
286 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
287 gdb_spawn_with_cmdline_opts.
288
2892019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
290
291 * gdb.arch/arm-cmse-sgstubs.c: New test.
292 * gdb.arch/arm-cmse-sgstubs.exp: New file.
293
2942019-07-23 Tom de Vries <tdevries@suse.de>
295
296 PR testsuite/24711
297 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
298 issuing next command.
299
3002019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.ada/info_auto_lang.exp: Update expected results.
303 * gdb.base/info-types.c: Add additional types to check.
304 * gdb.base/info-types.exp: Update expected results.
305
3062019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
307
308 * gdb.base/info-types.c: New file.
309 * gdb.base/info-types.exp: New file.
310
3112019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
312
313 * gdb.arch/riscv-bp-infcall.c: New file.
314 * gdb.arch/riscv-bp-infcall.exp: New file.
315
3162019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
317
318 PR breakpoints/24541
319 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
320
3212019-07-14 Tom de Vries <tdevries@suse.de>
322
323 PR testsuite/24760
324 * gdb.objc/basicclass.exp: Fix unterminated string.
325
3262019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
327 Andrew Burgess <andrew.burgess@embecosm.com>
328
329 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
330 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
331 negative bounds.
332 * gdb.fortran/vla-value.exp: Print elements of an array with
333 negative bounds.
334 * gdb.fortran/vla.f90: Setup an array with negative bounds for
335 testing.
336
3372019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * gdb.base/options.exp (expect_string): Dequote strings in
340 results.
341 (test-string): Test strings with different quoting and reindent.
342
3432019-07-10 Tom Tromey <tromey@adacore.com>
344
345 * gdb.ada/mi_ex_cond.exp: Update expected results.
346 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
347 * gdb.ada/mi_catch_ex.exp: Update expected results.
348 * gdb.ada/mi_catch_assert.exp: Update expected results.
349 * gdb.ada/catch_ex.exp (catch_exception_info)
350 (catch_exception_entry, catch_assert_entry)
351 (catch_unhandled_entry): Update.
352 * gdb.ada/catch_assert_if.exp: Update expected results.
353
3542019-07-10 Richard Bunt <richard.bunt@arm.com>
355 Stephen Roberts <stephen.roberts@arm.com>
356
357 * gdb.base/define.exp: Restore original prompt.
358
3592019-07-09 Pedro Alves <palves@redhat.com>
360
361 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
362 breakpoints" output.
363 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
364 * gdb.python/py-breakpoint.exp: No longer expect that "catch
365 throw" creates breakpoint.
366 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
367 'type="catchpoint"'.
368
3692019-07-09 Pedro Alves <palves@redhat.com>
370
371 PR c++/15468
372 * gdb.cp/except-multi-location-lib.cc: New.
373 * gdb.cp/except-multi-location-main.cc: New.
374 * gdb.cp/except-multi-location.exp: New.
375
3762019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
377
378 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
379 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
380 argument and update callers.
381
3822019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
383
384 * gdb.arch/amd64-break-on-asm-line.S: New file.
385 * gdb.arch/amd64-break-on-asm-line.exp: New file.
386
3872019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
388
389 * gdb.base/printcmds.exp: Test printing C string and
390 C wide string convenience vars without transiting via the inferior.
391 Also make test names unique.
392
3932019-07-08 Alan Hayward <alan.hayward@arm.com>
394
395 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
396
3972019-07-04 Pedro Alves <palves@redhat.com>
398
399 * lib/gdb.exp (foreach_with_prefix): Don't return early if
400 body returned ok(0), break(3) or continue(4).
401 * gdb.testsuite/foreach_with_prefix.exp: New file.
402
4032019-07-04 Alan Hayward <alan.hayward@arm.com>
404
405 * gdb.server/unittest.exp: Allow 0 unit tests to run.
406
4072019-07-03 Pedro Alves <palves@redhat.com>
408
409 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
410 "return -code".
411
4122019-07-03 Pedro Alves <palves@redhat.com>
413
414 PR cli/24732
415 * gdb.base/shell.exp: Load completion-support.exp.
416 Adjust expected error output. Add completion tests.
417
4182019-07-03 Pedro Alves <palves@redhat.com>
419
420 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
421 string_to_regexp.
422
4232019-07-03 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
426 (expect_integer): Adjust to expect "-string".
427 (expect_string): New.
428 (all_options): Expect "-string".
429 (test-flag, test-boolean): Adjust to expect "-string".
430 (test-string): New proc.
431 (top level): Call it.
432
4332019-07-03 Pedro Alves <palves@redhat.com>
434
435 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
436 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
437 the expected output in the success.
438
4392019-07-03 Pedro Alves <palves@redhat.com>
440
441 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
442 Split one gdb_test_multiple call in two to avoid a race.
443
4442019-07-03 Pedro Alves <palves@redhat.com>
445
446 * gdb.base/with.c: New file.
447 * gdb.base/with.exp: New file.
448
4492019-07-03 Pedro Alves <palves@redhat.com>
450
451 * gdb.base/settings.exp: Replace all references to "maint
452 test-settings set" with references to "maint set test-settings",
453 and all references to "maint test-settings show" with references
454 to "maint show test-settings".
455
4562019-07-03 Pedro Alves <palves@redhat.com>
457
458 * gdb.base/settings.exp (test-string): Adjust expected out when
459 testing "maint test-settings show filename"
460
4612019-07-02 Pedro Alves <palves@redhat.com>
462
463 * gdb.base/options.exp (test-info-threads): New procedure.
464 (top level): Call it.
465
4662019-06-28 Tom Tromey <tromey@adacore.com>
467
468 * gdb.dwarf2/ada-linkage-name.c: New file.
469 * gdb.dwarf2/ada-linkage-name.exp: New file.
470
4712019-06-27 Tom Tromey <tromey@adacore.com>
472
473 * gdb.cp/constexpr-field.exp: Use setup_xfail.
474
4752019-06-26 Tom de Vries <tdevries@suse.de>
476
477 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
478
4792019-06-26 Tom de Vries <tdevries@suse.de>
480
481 * gdb.base/index-cache.exp: Add back missing debug option.
482
4832019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
484
485 * gdb.base/alias.exp: Test non matching/non existing prefixes.
486
4872019-06-25 Tom de Vries <tdevries@suse.de>
488
489 PR testsuite/24727
490 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
491
4922019-06-24 Tom de Vries <tdevries@suse.de>
493
494 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
495
4962019-06-24 Tom de Vries <tdevries@suse.de>
497
498 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
499 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
500 * gdb.trace/unavailable-dwarf-piece.exp: Same.
501
5022019-06-24 Tom de Vries <tdevries@suse.de>
503
504 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
505
5062019-06-21 Tom de Vries <tdevries@suse.de>
507
508 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
509
5102019-06-21 Tom de Vries <tdevries@suse.de>
511
512 PR testsuite/24518
513 PR ada/24713
514 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
515 index.
516
5172019-06-19 Tom Tromey <tromey@adacore.com>
518
519 * gdb.ada/length_cond.exp: Add intro comment.
520
5212019-06-19 Tom Tromey <tromey@adacore.com>
522
523 * gdb.ada/length_cond.exp: New file.
524 * gdb.ada/length_cond/length_cond.adb: New file.
525 * gdb.ada/length_cond/pck.adb: New file.
526 * gdb.ada/length_cond/pck.ads: New file.
527
5282019-06-18 Tom de Vries <tdevries@suse.de>
529
530 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
531
5322019-06-18 Tom Tromey <tromey@adacore.com>
533
534 * gdb.base/list0.h: Add comment explaining control character.
535
5362019-06-18 Tom de Vries <tdevries@suse.de>
537
538 * boards/fission.exp: Break up long debug_flags line.
539
5402019-06-16 Tom de Vries <tdevries@suse.de>
541
542 PR gdb/24445
543 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
544 generated index.
545
5462019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
547
548 PR gdb/24686
549 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
550 improve detection of bug gdb/24541.
551
5522019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
553
554 PR gdb/24669
555 * gdb.base/index-cache.exp (uses_readnow,
556 expecting_index_cache_use): Define global variable.
557 (test_cache_enabled_miss, test_cache_enabled_hit): Use
558 expecting_index_cache_use.
559
5602019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
561 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.fortran/pointers.f90: New file.
564 * gdb.fortran/print_type.exp: New file.
565 * gdb.fortran/vla-ptype.exp: Adapt expected results.
566 * gdb.fortran/vla-type.exp: Likewise.
567 * gdb.fortran/vla-value.exp: Likewise.
568 * gdb.mi/mi-vla-fortran.exp: Likewise.
569
5702019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
573 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
574 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
575 as a stop reason.
576
5772019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * gdb.base/annota1.exp: Update expected results.
580 * gdb.cp/annota2.exp: Likewise.
581 * gdb.cp/annota3.exp: Likewise.
582
5832019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
584
585 * gdb.base/style-logging.exp: Remove path from test name.
586
5872019-06-14 Tom Tromey <tromey@adacore.com>
588
589 PR gdb/24502:
590 * gdb.base/style-logging.exp: New file.
591
5922019-06-14 Tom Tromey <tromey@adacore.com>
593
594 * gdb.base/symfile-warn.exp: New file.
595 * gdb.base/symfile-warn.c: New file.
596
5972019-06-14 Tom Tromey <tromey@adacore.com>
598
599 * gdb.base/annotate-symlink.exp: New file.
600
6012019-06-14 Tom Tromey <tromey@adacore.com>
602
603 * gdb.ada/set_wstr.exp: Add reassignment test.
604
6052019-06-14 Tom Tromey <tromey@adacore.com>
606
607 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
608 'unchecked_access and 'unrestricted_access as well.
609
6102019-06-14 Tom Tromey <tromey@adacore.com>
611
612 PR ada/24539:
613 * gdb.ada/vla.exp: Update tests.
614 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
615 pragma.
616
6172019-06-13 Pedro Alves <palves@redhat.com>
618
619 * gdb.base/settings.exp (test-integer): Test junk after
620 "unlimited".
621
6222019-06-13 Pedro Alves <palves@redhat.com>
623
624 * gdb.base/options.exp (test-thread-apply): New.
625 (top level): Call it.
626
6272019-06-13 Pedro Alves <palves@redhat.com>
628
629 * gdb.base/options.exp (test-frame-apply): New.
630 (top level): Test print commands with different "frame apply"
631 prefixes.
632
6332019-06-13 Pedro Alves <palves@redhat.com>
634
635 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
636 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
637 'max_completions' parameter and handle it.
638 (test_gdb_completion_offers_commands): New.
639
6402019-06-13 Pedro Alves <palves@redhat.com>
641
642 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
643
6442019-06-13 Pedro Alves <palves@redhat.com>
645
646 * gdb.base/options.exp (test-backtrace): New.
647 (top level): Call it.
648
6492019-06-13 Pedro Alves <palves@redhat.com>
650
651 * gdb.guile/scm-frame-args.exp: Use "set print
652 raw-frame-arguments" instead of "set print raw frame-arguments".
653 * gdb.python/py-frame-args.exp: Likewise.
654
6552019-06-13 Pedro Alves <palves@redhat.com>
656
657 * gdb.compile/compile.exp: Adjust expected output to option
658 processing changes.
659
6602019-06-13 Pedro Alves <palves@redhat.com>
661
662 * gdb.base/options.exp: Build executable.
663 (test-print): New procedure.
664 (top level): Call it, once for "print" and another for "compile
665 print".
666
6672019-06-13 Pedro Alves <palves@redhat.com>
668
669 * gdb.base/options.c: New file.
670 * gdb.base/options.exp: New file.
671
6722019-06-13 Pedro Alves <palves@redhat.com>
673
674 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
675 that "o" is ambiguous.
676
6772019-06-13 Pedro Alves <palves@redhat.com>
678
679 * gdb.base/settings.c: New file.
680 * gdb.base/settings.exp: New file.
681
6822019-06-13 Pedro Alves <palves@redhat.com>
683
684 * gdb.base/completion.exp: Fix comment typo.
685
6862019-06-13 Pedro Alves <palves@redhat.com>
687
688 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
689 foo --1" test.
690
6912019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
692
693 * gdb.fortran/block-data.f: New.
694 * gdb.fortran/block-data.exp: New.
695
6962019-06-11 Tom de Vries <tdevries@suse.de>
697
698 PR testsuite/24521
699 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
700 message.
701
7022019-06-11 Tom de Vries <tdevries@suse.de>
703
704 PR testsuite/24521
705 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
706
7072019-06-11 Tom de Vries <tdevries@suse.de>
708
709 * boards/readnow.exp: New file.
710
7112019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
712
713 * gdb.fortran/vla-sizeof.exp: Update expected results.
714
7152019-06-06 Amos Bird <amosbird@gmail.com>
716
717 * gdb.base/annota1.exp (thread_switch): Add test for
718 thread-exited annotation.
719
7202019-06-06 Tom Tromey <tromey@adacore.com>
721
722 * gdb.base/maint.exp: Expect command started/finished output.
723
7242019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
725
726 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
727 comment.
728 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
729
7302019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
733 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
734 * gdb.arch/riscv-unwind-long-insn.c: New file.
735 * gdb.arch/riscv-unwind-long-insn.exp: New file.
736
7372019-06-04 Christian Biesinger <cbiesinger@google.com>
738
739 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
740
7412019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
742
743 * lib/gdb.exp (help_list_trailer): New regexp variable
744 factorizing the help trailer message.
745 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
746 arg to allow to better factorize various tests.
747 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
748 (test_prefix_command_help): Use help_list_trailer.
749 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
750 * gdb.guile/scm-cmd.exp: Likewise.
751 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
752 * gdb.base/help.exp: Use test_user_defined_class_help.
753 * gdb.base/style.exp: Add tests for styling of help and apropos.
754 * lib/gdb-utils.exp (style): Add title and highlight styles.
755
7562019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
757
758 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
759 $_shell_exitsignal.
760 * gdb.base/default.exp: Update for new convenience variables.
761
7622019-05-29 Tom Tromey <tromey@adacore.com>
763
764 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
765 to "break complete ada" test case's regexp.
766
7672019-05-29 Tom Tromey <tromey@adacore.com>
768
769 PR c++/20020:
770 * gdb.cp/constexpr-field.exp: New file.
771 * gdb.cp/constexpr-field.cc: New file.
772
7732019-05-29 Tom Tromey <tromey@adacore.com>
774
775 * gdb.base/finish.exp (finish_no_print): New proc.
776 (finish_tests): Call it.
777
7782019-05-24 Tom de Vries <tdevries@suse.de>
779
780 * gdb.dwarf2/gdb-add-index.exp: New file.
781
7822019-05-22 Tom Tromey <tromey@adacore.com>
783
784 * gdb.base/info-shared.exp (check_info_shared): Use "style".
785 * gdb.base/style.exp: Use "style".
786 * lib/gdb-utils.exp (style): New proc.
787
7882019-05-22 Tom de Vries <tdevries@suse.de>
789
790 * gdb.base/align.exp: Require c++11.
791
7922019-05-22 Tom de Vries <tdevries@suse.de>
793
794 PR testsuite/24586
795 * gdb.python/py-mi-var-info-path-expression.exp: Call
796 mi_skip_python_tests to check if python is supported.
797
7982019-05-22 Alan Hayward <alan.hayward@arm.com>
799
800 * gdb.arch/aarch64-pauth.c: New test.
801 * gdb.arch/aarch64-pauth.exp: New file.
802
8032019-05-22 Alan Hayward <alan.hayward@arm.com>
804
805 * README (Re-running Tests Outside The Testsuite): New section.
806
8072019-05-21 Tom de Vries <tdevries@suse.de>
808
809 * gdb.arch/amd64-eval.exp: Require c++11.
810 * gdb.base/max-depth.exp: Same.
811 * gdb.compile/compile-cplus-array-decay.exp: Same.
812 * gdb.cp/meth-typedefs.exp: Same.
813 * gdb.cp/subtypes.exp: Same.
814 * gdb.cp/temargs.exp: Same.
815
8162019-05-21 Alan Hayward <alan.hayward@arm.com>
817
818 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
819
8202019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
821
822 PR gdb/18644
823 * gdb.fortran/complex.exp: Remove setup_kfail calls.
824 * gdb.fortran/printing-types.exp: Add new test.
825 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
826 testing.
827 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
828 setup_kfail call.
829
8302019-05-17 Alan Hayward <alan.hayward@arm.com>
831
832 * README (Running the Testsuite): Change example.
833 (Testsuite Parameters): Remove TRANSCRIPT.
834 * lib/gdb.exp: Remove TRANSCRIPT check.
835
8362019-05-17 Alan Hayward <alan.hayward@arm.com>
837
838 * README (Testsuite Parameters): Add replay logging to
839 GDBSERVER_DEBUG.
840 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
841 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
842 as a comma separated list.
843 (gdb_debug_init): Override procedure.
844
8452019-05-17 Alan Hayward <alan.hayward@arm.com>
846
847 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
848 (gdb_write_cmd_file): New procedure.
849 * lib/gdbserver-support.exp (gdbserver_start): Call
850 gdbserver_write_cmd_file.
851 (gdbserver_write_cmd_file): New procedure.
852
8532019-05-17 Alan Hayward <alan.hayward@arm.com>
854
855 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
856 (delete_breakpoints): Likewise.
857 (gdb_run_cmd): Likewise.
858 (gdb_start_cmd): Likewise.
859 (gdb_starti_cmd): Likewise.
860 (gdb_internal_error_resync): Likewise.
861 (gdb_test_multiple): Likewise.
862 (gdb_reinitialize_dir): Likewise.
863 (default_gdb_exit): Likewise.
864 (gdb_file_cmd): Mark kill as optional.
865 (default_gdb_start): Call gdb_stdin_log_init.
866 (send_gdb): Call gdb_stdin_log_write.
867 (rerun_to_main): Mark Y as an answer.
868 (gdb_stdin_log_init): New function.
869 (gdb_stdin_log_write): Likewise.
870
8712019-05-17 Alan Hayward <alan.hayward@arm.com>
872
873 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
874 * gdb.base/debug-expr.exp: Likewise.
875 * gdb.base/foll-fork.exp: Likewise.
876 * gdb.base/foll-vfork.exp: Likewise.
877 * gdb.base/fork-print-inferior-events.exp: Likewise.
878 * gdb.base/gdb-sigterm.exp: Likewise.
879 * gdb.base/gdbinit-history.exp: Likewise.
880 * gdb.base/osabi.exp: Likewise.
881 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
882 * gdb.base/ui-redirect.exp: Likewise.
883 * gdb.gdb/unittest.exp: Likewise.
884 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
885 * gdb.mi/mi-watch.exp: Likewise.
886 * gdb.mi/new-ui-mi-sync.exp: Likewise.
887 * gdb.mi/user-selected-context-sync.exp: Likewise.
888 * gdb.python/python.exp: Disable debug test when debugging.
889 * gdb.threads/check-libthread-db.exp: Disable when debugging.
890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
891 Likewise.
892 * gdb.threads/stepi-random-signal.exp: Likewise.
893
8942019-05-17 Alan Hayward <alan.hayward@arm.com>
895
896 * Makefile.in: Pass through GDB_DEBUG.
897 * README (Testsuite Parameters): Add GDB_DEBUG.
898 (gdb,debug): Add board setting.
899 * lib/gdb.exp (default_gdb_start): Start debugging.
900 (gdb_debug_enabled): New procedure.
901 (gdb_debug_init): Likewise.
902
9032019-05-17 Alan Hayward <alan.hayward@arm.com>
904
905 * Makefile.in: Pass through GDB_DEBUG.
906 * README (Testsuite Parameters): Add GDB_DEBUG.
907 (gdb,debug): Add board setting.
908 * lib/gdb.exp (default_gdb_start): Start debugging.
909 (gdb_debug_enabled): New procedure.
910 (gdb_debug_init): Likewise.
911
9122019-05-17 Alan Hayward <alan.hayward@arm.com>
913
914 * gdb.base/ui-redirect.exp: Add debug redirect tests.
915
9162019-05-17 Alan Hayward <alan.hayward@arm.com>
917
918 * gdb.base/ui-redirect.exp: Test redirection.
919
9202019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
921
922 * gdb.mi/mi-complete.exp: New file.
923 * gdb.mi/mi-complete.cc: Likewise.
924
9252019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
926
927 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
928 indexed and sliced arrays, and pointers to arrays.
929
9302019-05-14 Tom Tromey <tromey@adacore.com>
931
932 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
933 styling test.
934
9352019-05-14 Tom de Vries <tdevries@suse.de>
936
937 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
938 selection entry encoding.
939
9402019-05-10 Tom Tromey <tromey@adacore.com>
941
942 * gdb.ada/info_exc.exp: Add "complete" test.
943
9442019-05-09 Tom de Vries <tdevries@suse.de>
945
946 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
947 CU-relative.
948
9492019-05-09 Tom de Vries <tdevries@suse.de>
950
951 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
952 CU-relative.
953
9542019-05-08 Joel Brobecker <brobecker@adacore.com>
955
956 * gdb.ada/frame_arg_lang.exp: New testcase.
957 * gdb.ada/frame_arg_lang/bla.adb: New file.
958 * gdb.ada/frame_arg_lang/pck.ads: New file.
959 * gdb.ada/frame_arg_lang/pck.adb: New file.
960 * gdb.ada/frame_arg_lang/foo.c: New file.
961
9622019-05-08 Tom Tromey <tromey@adacore.com>
963
964 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
965
9662019-05-08 Tom Tromey <tromey@adacore.com>
967
968 * gdb.base/ptype-offsets.exp: Update tests.
969
9702019-05-08 Tom Tromey <tromey@adacore.com>
971
972 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
973 cases.
974 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
975 "short".
976
9772019-05-08 Tom Tromey <tromey@adacore.com>
978
979 * gdb.ada/vla.exp: New file.
980 * gdb.ada/vla/vla.adb: New file.
981
9822019-05-07 Tom de Vries <tdevries@suse.de>
983
984 * gdb.base/index-cache.exp (ls_host): Fix return statement.
985
9862019-05-07 Tom de Vries <tdevries@suse.de>
987
988 PR testsuite/24522
989 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
990 section.
991
9922019-05-07 Tom de Vries <tdevries@suse.de>
993
994 PR testsuite/24522
995 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
996 .debug_aranges section.
997
9982019-05-07 Tom de Vries <tdevries@suse.de>
999
1000 PR testsuite/24159
1001 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1002
10032019-05-06 Tom de Vries <tdevries@suse.de>
1004
1005 * lib/gdb.exp (exec_has_index_section): New proc.
1006 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1007 section.
1008
10092019-05-04 Tom de Vries <tdevries@suse.de>
1010
1011 * boards/cc-with-debug-names.exp: New file.
1012
10132019-05-03 Tom Tromey <tromey@adacore.com>
1014
1015 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1016 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1017 * gdb.ada/char_enum.exp: Add test.
1018
10192019-05-03 Tom de Vries <tdevries@suse.de>
1020
1021 * boards/cc-with-gdb-index.exp: New file.
1022
10232019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1024
1025 * gdb.rust/simple.exp: Add new test case.
1026 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1027 (main): Initialise an instance of the new struct.
1028
10292019-05-01 Tom Tromey <tromey@adacore.com>
1030
1031 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1032 record.
1033 (NPR): New variable.
1034 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1035 test.
1036
10372019-05-01 Tom Tromey <tromey@adacore.com>
1038
1039 * gdb.ada/packed_array_assign.exp: Add packed assignment
1040 regression test.
1041
10422019-05-01 Tom de Vries <tdevries@suse.de>
1043
1044 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1045
10462019-05-01 Tom de Vries <tdevries@suse.de>
1047
1048 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1049
10502019-04-30 Ali Tamur <tamur@google.com>
1051
1052 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1053
10542019-04-30 Tom Tromey <tromey@adacore.com>
1055
1056 * lib/ada.exp (find_ada_tool): New proc.
1057 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1058 * gdb.ada/catch_ex_std.exp: New file.
1059 * gdb.ada/catch_ex_std/foo.adb: New file.
1060 * gdb.ada/catch_ex_std/some_package.adb: New file.
1061 * gdb.ada/catch_ex_std/some_package.ads: New file.
1062
10632019-04-30 Tom Tromey <tromey@adacore.com>
1064
1065 PR c++/24470:
1066 * gdb.cp/temargs.cc: Add test code from PR.
1067
10682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.fortran/vla-datatypes.exp: Update expected results.
1071 * gdb.fortran/vla-ptype.exp: Likewise.
1072 * gdb.fortran/vla-type.exp: Likewise.
1073 * gdb.fortran/vla-value.exp: Likewise.
1074
10752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1076
1077 * gdb.fortran/ptr-indentation.exp: Update expected results.
1078 * gdb.fortran/ptype-on-functions.exp: Likewise.
1079 * gdb.fortran/vla-ptr-info.exp: Likewise.
1080 * gdb.fortran/vla-value.exp: Likewise.
1081
10822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1083
1084 * gdb.fortran/ptype-on-functions.exp: New file.
1085 * gdb.fortran/ptype-on-functions.f90: New file.
1086
10872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1090 case void string.
1091
10922019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.fortran/complex.exp: Expand.
1095 * gdb.fortran/complex.f: Renamed to...
1096 * gdb.fortran/complex.f90: ...this, and extended to add more
1097 complex values.
1098
10992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1102 MODULO, CMPLX.
1103
11042019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1105 Richard Bunt <richard.bunt@arm.com>
1106
1107 * gdb.base/max-depth.c: New file.
1108 * gdb.base/max-depth.exp: New file.
1109 * gdb.python/py-nested-maps.c: New file.
1110 * gdb.python/py-nested-maps.exp: New file.
1111 * gdb.python/py-nested-maps.py: New file.
1112 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1113 (test_all_common): Call test_max_depth.
1114 * gdb.fortran/max-depth.exp: New file.
1115 * gdb.fortran/max-depth.f90: New file.
1116 * gdb.go/max-depth.exp: New file.
1117 * gdb.go/max-depth.go: New file.
1118 * gdb.modula2/max-depth.exp: New file.
1119 * gdb.modula2/max-depth.c: New file.
1120 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1121
11222019-04-29 Tom de Vries <tdevries@suse.de>
1123
1124 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1125
11262019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1127
1128 * gdb.base/callexit.exp: Test may-call-functions off.
1129
11302019-04-25 Keith Seitz <keiths@redhat.com>
1131
1132 PR c++/24367
1133 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1134 (another_incomplete_struct, test_incomplete): New definitions.
1135 (main): Use new definitions.
1136 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1137 functions.
1138
11392019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1140
1141 PR corefiles/11608
1142 PR corefiles/18187
1143 * gdb.base/coredump-filter-build-id.exp: New file.
1144
11452019-04-25 Alan Hayward <alan.hayward@arm.com>
1146
1147 * Makefile.in: Pass through GDBSERVER_DEBUG.
1148 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1149 (gdbserver,debug): Add board setting.
1150 * gdb.trace/tspeed.exp: Skip when debugging.
1151 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1152 * lib/gdbserver-support.exp: Likewise
1153
11542019-04-24 Tom Tromey <tromey@adacore.com>
1155
1156 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1157 Rust.
1158
11592019-04-24 Tom Tromey <tromey@adacore.com>
1160
1161 * gdb.arch/amd64-eval.exp: Test bitfield return.
1162 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1163 (class Foo) <return_bitfields>: New method.
1164 (main): Call it.
1165
11662019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1167
1168 * gdb.cp/many-args.cc: New file.
1169 * gdb.cp/many-args.exp: New file.
1170
11712019-04-23 Tom de Vries <tdevries@suse.de>
1172
1173 PR gdb/24433
1174 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1175
11762019-04-23 Alan Hayward <alan.hayward@arm.com>
1177
1178 * gdb.trace/backtrace.exp: Use nopie flag.
1179 * gdb.trace/circ.exp: Likewise.
1180 * gdb.trace/collection.exp: Likewise.
1181 * gdb.trace/ftrace.exp: Likewise.
1182 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1183 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1184 * gdb.trace/qtro.exp: Likewise.
1185 * gdb.trace/read-memory.exp: Likewise.
1186 * gdb.trace/report.exp: Likewise.
1187 * gdb.trace/tfile.exp: Likewise.
1188 * gdb.trace/tfind.exp: Likewise.
1189 * gdb.trace/unavailable.exp: Likewise.
1190
11912019-04-22 Pedro Alves <palves@redhat.com>
1192
1193 * gdb.base/solib-probes-nosharedlibrary.c,
1194 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1195
11962019-04-19 Tom Tromey <tromey@adacore.com>
1197
1198 * gdb.ada/ptype_union.c: New file.
1199 * gdb.ada/ptype_union.exp: New file.
1200
12012019-04-19 Tom Tromey <tromey@adacore.com>
1202
1203 PR symtab/24423:
1204 * gdb.base/list0.h (foo): Add a control-l character.
1205
12062019-04-18 Tom de Vries <tdevries@suse.de>
1207
1208 PR gdb/24433
1209 * boards/local-board.exp: Set sysroot to "".
1210
12112019-04-18 Tom de Vries <tdevries@suse.de>
1212 Pedro Alves <palves@redhat.com>
1213
1214 PR gdb/24454
1215 * gdb.threads/vfork-follow-child-exec.c: New file.
1216 * gdb.threads/vfork-follow-child-exec.exp: New file.
1217 * gdb.threads/vfork-follow-child-exit.c: New file.
1218 * gdb.threads/vfork-follow-child-exit.exp: New file.
1219
12202019-04-15 Leszek Swirski <leszeks@google.com>
1221
1222 * gdb.arch/amd64-eval.cc: New file.
1223 * gdb.arch/amd64-eval.exp: New file.
1224
12252019-04-11 Alan Hayward <alan.hayward@arm.com>
1226
1227 * gdb.server/sysroot.c: New test.
1228 * gdb.server/sysroot.exp: New file.
1229 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1230 matching param.
1231
12322019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * gdb.base/align.exp: Extend test to cover structures containing
1235 only static fields.
1236
12372019-04-11 Tom de Vries <tdevries@suse.de>
1238
1239 * boards/cc-with-dwz-m.exp: New file.
1240 * boards/cc-with-dwz.exp: New file.
1241 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1242
12432019-04-09 Simon Marchi <simon.marchi@efficios.com>
1244
1245 * gdb.base/start-cpp.exp: New file.
1246 * gdb.base/start-cpp.cc: New file.
1247
12482019-04-08 Kevin Buettner <kevinb@redhat.com>
1249
1250 * gdb.python/py-thrhandle.exp: Adjust tests to call
1251 thread_from_handle instead of thread_from_thread_handle.
1252
12532019-04-08 Kevin Buettner <kevinb@redhat.com>
1254
1255 * gdb.python/py-thrhandle.exp: Add tests for
1256 gdb.InferiorThread.handle.
1257
12582019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1259
1260 * gdb.python/py-function.exp: Check calling helper function from
1261 all languages.
1262 * lib/gdb.exp (gdb_supported_languages): New proc.
1263
12642019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gdb.base/complex-parts.c: New file.
1267 * gdb.base/complex-parts.exp: New file.
1268
12692019-04-01 Tom Tromey <tromey@adacore.com>
1270
1271 PR symtab/23331:
1272 * gdb.dwarf2/dw2-ranges-main.c: New file.
1273 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1274 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1275
12762019-03-30 Simon Marchi <simark@simark.ca>
1277
1278 * gdb.base/default.exp: Add values for $_gdb_major and
1279 $_gdb_minor.
1280
12812019-03-29 Tom Tromey <tromey@adacore.com>
1282
1283 * gdb.base/help.exp: Tighten apropos regexp.
1284
12852019-03-29 Keith Seitz <keiths@redhat.com>
1286
1287 * gdb.fortran/array-bounds.exp: New file.
1288 * gdb.fortran/array-bounds.f90: New file.
1289
12902019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1291
1292 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1293
12942019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1295
1296 * gdb.multi/hello.c (main): Increase alarm timer.
1297
12982019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1299
1300 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1301 factor when no hardware watchpoint support.
1302
13032019-03-28 Alan Hayward <alan.hayward@arm.com>
1304 Pedro Alves <palves@redhat.com>
1305
1306 * boards/local-board.exp: set sysroot to /.
1307
13082019-03-27 Alan Hayward <alan.hayward@arm.com>
1309
1310 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1311 in child.
1312
13132019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1314
1315 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1316 field.
1317 (make_container): Initialise new field.
1318 * gdb.python/py-prettyprint.exp: Add new tests.
1319 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1320 <display_hint>: New method.
1321
13222019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1325 gdb_continue_to_breakpoint more throughout this test.
1326 (run_lang_tests) Supply unique test names, and use
1327 gdb_test_no_output.
1328
13292019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.base/finish-pretty.exp: Update expected results.
1332 * gdb.base/pretty-print.c: New file.
1333 * gdb.base/pretty-print.exp: New file.
1334
13352019-03-25 Pedro Alves <palves@redhat.com>
1336
1337 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1338 move comments outside list. Append '-i "" eof' section.
1339
13402019-03-22 Alan Hayward <alan.hayward@arm.com>
1341
1342 * README: Add pie options.
1343 * gdb.base/break-interp.exp: Ensure pie is disabled.
1344 * gdb.base/dump.exp: Likewise.
1345 * lib/gdb.exp (gdb_compile): Add pie option.
1346
13472019-03-19 Tom Tromey <tromey@adacore.com>
1348
1349 * gdb.mi/mi2-cli-display.c: New file.
1350 * gdb.mi/mi2-cli-display.exp: New file.
1351
13522019-03-18 Joel Brobecker <brobecker@adacore.com>
1353 Tom Tromey <tromey@adacore.com>
1354
1355 * gdb.ada/ptype_array/pck.adb: New file.
1356 * gdb.ada/ptype_array/pck.ads: New file.
1357 * gdb.ada/ptype_array/foo.adb: New file.
1358 * gdb.ada/ptype_array.exp: New file.
1359
13602019-03-14 Tom Tromey <tromey@adacore.com>
1361
1362 * gdb.base/style.exp: Add "set style sources" test.
1363
13642019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1365
1366 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1367 * mi-breakpoint-multiple-locations.exp: ... this.
1368 (make_breakpoints_pattern): New proc.
1369 (do_test): Add mi_version parameter, test -break-insert,
1370 -break-info and =breakpoint-created.
1371
13722019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1373
1374 * config/default.exp: Remove 'load_lib gdb.exp'.
1375 * config/monitor.exp: Likewise.
1376 * config/sid.exp: Likewise.
1377 * config/sim.exp: Likewise.
1378 * config/slite.exp: Likewise.
1379 * config/unix.exp: Likewise.
1380 * gdb.base/default.exp: Remove unhelpful comment.
1381
13822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1383
1384 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1385
13862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1387
1388 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1389
13902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1391
1392 * gdb.fortran/type-kinds.exp: Update expected results.
1393
13942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1395
1396 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1397
13982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1399
1400 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1401 function.
1402 (test_basic_parsing_of_type_kinds): Expand types tested.
1403 (test_parsing_invalid_type_kinds): New function.
1404
14052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.fortran/intrinsics.exp: New file.
1408 * gdb.fortran/intrinsics.f90: New file.
1409 * gdb.fortran/type-kinds.exp: New file.
1410
14112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1412
1413 * gdb.fortran/dot-ops.exp: New file.
1414
14152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1416
1417 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1418 Check upper and lower case logical literals.
1419
14202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1421
1422 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1423 Remove duplicate tests.
1424
14252019-03-06 Alan Hayward <alan.hayward@arm.com>
1426
1427 * lib/gdb.exp (builtin_cd): rename of cd.
1428 (cd): Override builtin.
1429
14302019-03-06 Richard Bunt <richard.bunt@arm.com>
1431
1432 * gdb.fortran/function-calls.exp: New file.
1433 * gdb.fortran/function-calls.f90: New test.
1434
14352019-03-04 Richard Bunt <richard.bunt@arm.com>
1436
1437 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1438 on user program standard output.
1439 * gdb.fortran/short-circuit-argument-list.f90: Record function
1440 calls.
1441
14422019-02-28 Alan Hayward <alan.hayward@arm.com>
1443
1444 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1445 failure.
1446
14472019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1448
1449 PR gdb/8527
1450 * gdb.base/interrupt-daemon-attach.c,
1451 gdb.base/interrupt-daemon-attach.exp: New test.
1452
14532019-02-27 Pedro Alves <palves@redhat.com>
1454
1455 * gdb.base/page.exp: Add tests for "set width/height -1".
1456
14572019-02-27 Pedro Alves <palves@redhat.com>
1458
1459 * gdb.base/page.exp: Add tests for "set/show width/height" with
1460 "infinite" values.
1461
14622019-02-27 Tom Tromey <tromey@adacore.com>
1463
1464 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1465 2.4.
1466 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1467 workaround.
1468
14692019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1470
1471 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1472 tests for structs with static members.
1473
14742019-02-26 Tom Tromey <tromey@adacore.com>
1475
1476 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1477 ValueError, not TypeError.
1478
14792019-02-26 Kevin Buettner <kevinb@redhat.com>
1480
1481 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1482 call from main program.
1483
14842019-02-23 Joel Brobecker <brobecker@adacore.com>
1485
1486 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1487 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1488 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1489 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1490 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1491
14922019-02-22 Keith Seitz <keiths@redhat.com>
1493
1494 PR symtab/23853
1495 * gdb.base/symlink-sourcefile.c: New file.
1496 * gdb.base/symlink-sourcefile.exp: New file.
1497
14982019-02-20 Tom Tromey <tom@tromey.com>
1499
1500 * gdb.base/info_qt.exp: Update.
1501
15022019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1503
1504 * gdb.base/source.exp: Move "error in sourced script" code to
1505 the end.
1506 * gdb.base/source-error.gdb: Move contents to
1507 source-error-1.gdb. Add new code to source source-error-1.gdb.
1508 * gdb.base/source-error-1.gdb: New file, from previous
1509 source-error.gdb.
1510
15112019-02-17 Tom Tromey <tom@tromey.com>
1512
1513 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1514 for macro styling.
1515 * gdb.base/style.c (SOME_MACRO): New macro.
1516
15172019-02-17 Tom Tromey <tom@tromey.com>
1518
1519 * gdb.base/style.exp: Add line-wrapping tests.
1520 * gdb.base/page.exp: Add test for quitting during pagination.
1521
15222019-02-17 Joel Brobecker <brobecker@adacore.com>
1523
1524 * gdb.ada/big_packed_array: New testcase.
1525 * gdb.ada/homonym.exp: Fix incorrect expected output for
1526 "break <homonym__get_value>" test.
1527
15282019-02-13 Weimin Pan <weimin.pan@oracle.com>
1529
1530 PR breakpoints/21870
1531 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1532 and prepare_for_testing. Add comment.
1533 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1534 redundant cleanup call. Clean up comment.
1535
15362019-02-12 Weimin Pan <weimin.pan@oracle.com>
1537
1538 PR breakpoints/21870
1539 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1540 * gdb.arch/aarch64-dbreg-contents.c: New file.
1541
15422019-02-10 Joel Brobecker <brobecker@adacore.com>
1543
1544 * gdb.ada/mi_ref_changeable: New testcase.
1545
15462019-02-07 Alan Hayward <alan.hayward@arm.com>
1547
1548 * gdb.base/attach.exp: Add double attach test.
1549
15502019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1551
1552 * lib/gdb.exp (default_gdb_start): Don't match pagination
1553 prompt.
1554 (gdb_init): Set stty_init.
1555
15562019-01-27 Tom Tromey <tom@tromey.com>
1557
1558 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1559 skip_python_tests.
1560
15612019-01-24 Alan Hayward <alan.hayward@arm.com>
1562
1563 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1564 New structure.
1565 (struct struct_static_02_02): Likewise.
1566 (struct struct_static_02_03): Likewise.
1567 (struct struct_static_02_04): Likewise.
1568 (struct struct_static_04_01): Likewise.
1569 (struct struct_static_04_02): Likewise.
1570 (struct struct_static_04_03): Likewise.
1571 (struct struct_static_04_04): Likewise.
1572 (struct struct_static_06_01): Likewise.
1573 (struct struct_static_06_02): Likewise.
1574 (struct struct_static_06_03): Likewise.
1575 (struct struct_static_06_04): Likewise.
1576 (cmp_struct_static_02_01): Likewise.
1577 (cmp_struct_static_02_02): Likewise.
1578 (cmp_struct_static_02_03): Likewise.
1579 (cmp_struct_static_02_04): Likewise.
1580 (cmp_struct_static_04_01): Likewise.
1581 (cmp_struct_static_04_02): Likewise.
1582 (cmp_struct_static_04_03): Likewise.
1583 (cmp_struct_static_04_04): Likewise.
1584 (cmp_struct_static_06_01): Likewise.
1585 (cmp_struct_static_06_02): Likewise.
1586 (cmp_struct_static_06_03): Likewise.
1587 (cmp_struct_static_06_04): Likewise.
1588 (call_all): Test new structs.
1589 * gdb.base/infcall-nested-structs.exp: Likewise.
1590
15912019-01-21 Alan Hayward <alan.hayward@arm.com>
1592 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1593
15942019-01-21 Alan Hayward <alan.hayward@arm.com>
1595 * gdb.base/stack-protector.c: New test.
1596 * gdb.base/stack-protector.exp: New file.
1597 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1598 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1599 option.
1600 (gdb_compile): Remove stack protector for GCC and prevent
1601 recursion.
1602
16032019-01-16 Keith Seitz <keiths@redhat.com>
1604
1605 PR gdb/23773
1606 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1607
16082019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1609
1610 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1611 aliases.
1612 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1613 tests.
1614 * gdb.arch/powerpc-vector-regs.c: New file.
1615 * gdb.arch/powerpc-vector-regs.exp: New file.
1616
16172019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1618
1619 * gdb.arch/altivec-regs.exp: Fix the list passed to
1620 gdb_expect_list when testing "info vector".
1621
16222019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1623
1624 * gdb.base/style.exp: Don't include path in testname.
1625
16262019-01-10 Keith Seitz <keiths@redhat.com>
1627
1628 PR gdb/23712
1629 PR symtab/23010
1630 * gdb.dwarf2/multidictionary.exp: New file.
1631
16322019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1633
1634 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1635 (test_gnuv3_style_demangling): ... this.
1636 (test_lucid_style_demangling): Remove.
1637 (test_arm_style_demangling): Remove.
1638 (test_hp_style_demangling): Remove.
1639 (do_tests): Remove calls to the above.
1640
16412019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1642
1643 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1644 case.
1645
16462019-01-06 Tom Tromey <tom@tromey.com>
1647
1648 PR gdb/28155:
1649 * gdb.dwarf2/typedef-void-finish.exp: New file.
1650
16512018-12-28 Tom Tromey <tom@tromey.com>
1652 Simon Marchi <simark@simark.ca>
1653
1654 * gdb.base/jit-exec.exp: New file.
1655 * gdb.base/jit-exec.c: New file.
1656 * gdb.base/jit-execd.c: New file.
1657
16582018-12-28 Tom Tromey <tom@tromey.com>
1659
1660 * gdb.base/style.exp: Update test to check for address styling.
1661
16622018-12-28 Tom Tromey <tom@tromey.com>
1663
1664 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1665 message.
1666
16672018-12-28 Tom Tromey <tom@tromey.com>
1668
1669 * gdb.base/style.exp: Add test for version number styling.
1670
16712018-12-28 Tom Tromey <tom@tromey.com>
1672
1673 * gdb.base/style.exp: Add test for print_address_symbolic.
1674
16752018-12-28 Tom Tromey <tom@tromey.com>
1676
1677 * gdb.base/style.exp: Add test for breakpoint setting.
1678
16792018-12-28 Tom Tromey <tom@tromey.com>
1680
1681 * gdb.base/style.exp: Add test for variable names.
1682
16832018-12-28 Tom Tromey <tom@tromey.com>
1684
1685 * gdb.base/style.exp: New file.
1686 * gdb.base/style.c: New file.
1687
16882018-12-28 Tom Tromey <tom@tromey.com>
1689
1690 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1691 "dumb".
1692 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1693 the TERM environment variable.
1694
16952018-12-27 Tom Tromey <tom@tromey.com>
1696
1697 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1698 pagination test.
1699
17002018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1703 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1704
17052018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1706
1707 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1708 Filename a.adb changed to bp_fun_addr.adb.
1709 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1710
17112018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1712
1713 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1714 non-PIE executables.
1715 * README: Mention the gdb,nopie_flag board setting.
1716 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1717 non-PIE executable.
1718 * gdb.arch/amd64-entry-value.exp: Likewise.
1719 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1720 * gdb.arch/i386-float.exp: Likewise.
1721 * gdb.arch/i386-signal.exp: Likewise.
1722 * gdb.mi/mi-reg-undefined.exp: Likewise.
1723
17242018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1725
1726 PR gdb/23974
1727 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1728
17292018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1730
1731 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1732 Update order of results accordingly.
1733
17342018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1735
1736 * gdb.base/annota1.exp: Update a test regexp.
1737
17382018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1739
1740 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1741
17422018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1743
1744 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1745 (reuse_time): Initialize to REUSE_TIME_CAP.
1746 (check_rc): New function.
1747 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1748 Check pthread_create rc.
1749 (spawner_thread_func): Check pthread_create and pthread_join rc.
1750
17512018-12-08 Pedro Alves <palves@redhat.com>
1752
1753 * gdb.base/list.exp (test_forward_search): Rename to ...
1754 (test_forward_reverse_search): ... this. Also test reverse-search
1755 and the forward-search alias.
1756
17572018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1758
1759 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1760 local timeout variable before return, and remove all local timeout
1761 variable entirely.
1762 (gdb_load): Likewise.
1763
17642018-12-01 Tom de Vries <tdevries@suse.de>
1765
1766 * gdb.base/gdb-caching-proc.exp: New file.
1767
17682018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1769
1770 * Makefile.in (TIMESTAMP): New variable.
1771 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1772 command.
1773 (check-single-racy): Likewise.
1774 (check/%.exp): Likewise.
1775 (check-racy/%.exp): Likewise.
1776 (workers/%.worker): Likewise.
1777 (build-perf): Likewise.
1778 (check-perf): Likewise.
1779 * README: Describe new "TS" and "TS_FORMAT" variables.
1780 * print-ts.py: New file.
1781
17822018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1783
1784 PR python/23714
1785 * gdb.python/python.exp: Test command repetition after
1786 gdb.execute.
1787
17882018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1789
1790 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1791 is correctly aligned.
1792
17932018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1794
1795 * gdb.ada/info_auto_lang.exp: New testcase.
1796 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1797 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1798 * gdb.ada/info_auto_lang/some_c.c: New file.
1799
18002018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1801
1802 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1803 FUNC_lang language syntax.
1804
18052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1806
1807 * gdb.base/info_minsym.c: New file.
1808 * gdb.base/info_minsym.exp: New file.
1809
18102018-11-19 Tom Tromey <tom@tromey.com>
1811
1812 PR rust/23625:
1813 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1814 * gdb.rust/expr.exp: Update expected output. Change one test.
1815
18162018-11-19 Tom Tromey <tom@tromey.com>
1817
1818 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1819
18202018-11-19 Pedro Alves <palves@redhat.com>
1821
1822 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1823 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1824 see the expected warning.
1825
18262018-11-16 Alan Hayward <alan.hayward@arm.com>
1827
1828 PR gdb/22736:
1829 * gdb.cp/infcall-nodebug-lib.c: New test.
1830 * gdb.cp/infcall-nodebug-main.c: New test.
1831 * gdb.cp/infcall-nodebug.exp: New file.
1832
18332018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1834
1835 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1836 completer tests.
1837
18382018-11-09 Tom de Vries <tdevries@suse.de>
1839
1840 * gdb.base/msym-lang.c: New test.
1841 * gdb.base/msym-lang.exp: New file.
1842 * gdb.base/msym-lang-main.c: New test.
1843
18442018-11-08 Tom Tromey <tom@tromey.com>
1845
1846 PR gdb/23555:
1847 PR gdb/23838:
1848 * gdb.base/warning.exp: New file.
1849
18502018-11-08 Jan Beulich <jbeulich@suse.com>
1851
1852 * testsuite/gdb.arch/i386-avx512.c,
1853 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1854
18552018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1856
1857 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1858 point hardware.
1859
18602018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1863 * gdb.dwarf2/missing-type-name.exp: New file.
1864
18652018-11-06 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.base/many-headers.c: New test.
1868 * gdb.base/many-headers.exp: New file.
1869
18702018-11-06 Jim Wilson <jimw@sifive.com>
1871
1872 * gdb.base/code_elim.exp: For riscv, set additional_flags
1873 to include -msmall-data-limit=0.
1874
18752018-11-01 Joel Brobecker <brobecker@adacore.com>
1876
1877 * gdb.ada/watch_minus_l: New testcase.
1878
18792018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1880
1881 * gdb.arch/aix-sighandle.c: New file.
1882 * gdb.arch/aix-sighandle.exp: New file.
1883
18842018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1885
1886 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1887 registers being unions.
1888
18892018-10-31 Tom de Vries <tdevries@suse.de>
1890
1891 * lib/valgrind.exp: New file.
1892 (vgdb_start, vgdb_stop): New procs, factored out of ...
1893 * gdb.base/valgrind-bt.exp: ... here, ...
1894 * gdb.base/valgrind-disp-step.exp: ... here and ...
1895 * gdb.base/valgrind-infcall.exp: ... here.
1896
18972018-10-31 Tom de Vries <tdevries@suse.de>
1898
1899 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1900
19012018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1902
1903 * gdb.dwarf2/void-type.c: New file.
1904 * gdb.dwarf2/void-type.exp: New file.
1905
19062018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1907
1908 * gdb.base/info_qt.c: New file.
1909 * gdb.base/info_qt.exp: New file.
1910
19112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1912
1913 * gdb.arch/powerpc-htm-regs.c: New file.
1914 * gdb.arch/powerpc-htm-regs.exp: New file.
1915
19162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1917
1918 * gdb.arch/powerpc-tar.c: New file.
1919 * gdb.arch/powerpc-tar.exp: New file.
1920
19212018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1922
1923 * gdb.arch/powerpc-ppr-dscr.c: New file.
1924 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1925
19262018-10-25 Tom de Vries <tdevries@suse.de>
1927
1928 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1929
19302018-10-24 Tom de Vries <tdevries@suse.de>
1931
1932 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1933 longer exists error.
1934
19352018-10-24 Tom de Vries <tdevries@suse.de>
1936
1937 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1938
19392018-10-24 Tom de Vries <tdevries@suse.de>
1940
1941 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1942 --db-attach in valgrind.
1943
19442018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1945
1946 * gdb.arch/riscv-reg-aliases.c: New file.
1947 * gdb.arch/riscv-reg-aliases.exp: New file.
1948
19492018-10-19 Alan Hayward <alan.hayward@arm.com>
1950
1951 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1952
19532018-10-19 Alan Hayward <alan.hayward@arm.com>
1954
1955 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1956
19572018-10-19 Alan Hayward <alan.hayward@arm.com>
1958
1959 * gdb.cp/ovldbreak.exp: Fix regexps.
1960
19612018-10-19 Alan Hayward <alan.hayward@arm.com>
1962
1963 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1964
19652018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1966
1967 PR cli/23785
1968 * gdb.base/restore.exp: New test to check if "restore" with an
1969 invalid file doesn't segfault.
1970
19712018-10-18 Tom de Vries <tdevries@suse.de>
1972
1973 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1974 * gdb.ada/excep_handle.exp: Same.
1975 * gdb.ada/mi_string_access.exp: Same.
1976 * gdb.ada/mi_var_union.exp: Same.
1977 * gdb.arch/arc-analyze-prologue.exp: Same.
1978 * gdb.arch/arc-decode-insn.exp: Same.
1979 * gdb.base/readnever.exp: Same.
1980 * gdb.fortran/printing-types.exp: Same.
1981 * gdb.guile/scm-lazy-string.exp: Same.
1982
19832018-10-16 Tom de Vries <tdevries@suse.de>
1984
1985 PR gdb/23730
1986 * gdb.base/catch-follow-exec.c: Add copyright notice.
1987 * gdb.base/catch-follow-exec.exp: Rewrite to use
1988 gdb_spawn_with_cmdline_opts. Require gdb-native.
1989
19902018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1991
1992 * gdb.trace/actions-changed.exp: Check for arch support.
1993 * gdb.trace/actions.exp: Likewise.
1994 * gdb.trace/ax.exp: Likewise.
1995 * gdb.trace/backtrace.exp: Likewise.
1996 * gdb.trace/change-loc.exp: Likewise.
1997 * gdb.trace/deltrace.exp: Likewise.
1998 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1999 * gdb.trace/ftrace.exp: Likewise.
2000 * gdb.trace/infotrace.exp: Check for arch support.
2001 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2002 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2003 * gdb.trace/mi-tsv-changed.exp: Likewise.
2004 * gdb.trace/packetlen.exp: Likewise.
2005 * gdb.trace/passc-dyn.exp: Likewise.
2006 * gdb.trace/passcount.exp: Likewise.
2007 * gdb.trace/pending.exp: Likewise.
2008 * gdb.trace/range-stepping.exp: Check for shlib support.
2009 * gdb.trace/report.exp: Check for arch support.
2010 * gdb.trace/save-trace.exp: Likewise.
2011 * gdb.trace/signal.exp: Check for signal support.
2012 * gdb.trace/tfind.exp: Check for arch support.
2013 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2014 * gdb.trace/trace-common.h: Add comment.
2015 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2016 * gdb.trace/trace-enable-disable.exp: Likewise.
2017 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2018 * gdb.trace/tracecmd.exp: Check for arch support.
2019 * gdb.trace/tspeed.exp: Check for shlib and target support.
2020 * gdb.trace/tstatus.exp: Check for arch support.
2021 * gdb.trace/tsv.exp: Likewise.
2022 * gdb.trace/while-dyn.exp: Likewise.
2023 * gdb.trace/while-stepping.exp: Likewise.
2024 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2025
20262018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2027
2028 * gdb.trace/tspeed.exp: Remove nowarnings.
2029 (prepare_for_trace_test): Declare "global ipalib".
2030 * gdb.trace/tspeed.c: Include unistd.h.
2031 (main): Remove superfluous printf argument.
2032
20332018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2034
2035 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2036 directory prefix on the filename.
2037
20382018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2039
2040 * gdb.gdb/unittest.exp: Update expected message informing that
2041 selftests have been disabled.
2042 * gdb.server/unittest.exp: Likewise.
2043
20442018-10-09 Tom de Vries <tdevries@suse.de>
2045
2046 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2047 with runto_main.
2048
20492018-10-08 Weimin Pan <weimin.pan@oracle.com>
2050
2051 PR c++/16841
2052 * gdb.cp/virtbase2.cc: New file.
2053 * gdb.cp/virtbase2.exp: New file.
2054
20552018-10-06 Tom Tromey <tom@tromey.com>
2056
2057 PR python/19399:
2058 * gdb.python/py-inferior.exp: Add architecture test.
2059
20602018-10-06 Tom Tromey <tom@tromey.com>
2061
2062 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2063 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2064
20652018-10-06 Tom Tromey <tom@tromey.com>
2066
2067 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2068 of a "throw" catchpoint.
2069
20702018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2071
2072 * gdb.base/info-proc.exp: Update string expected from "help info
2073 proc".
2074
20752018-10-04 Tom Tromey <tom@tromey.com>
2076
2077 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2078 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2079 (test_initial_complaints, test_empty_complaints): Update.
2080 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2081
20822018-10-04 Tom Tromey <tom@tromey.com>
2083
2084 PR cli/19551:
2085 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2086 * lib/gdb.exp (gdb_file_cmd): Update.
2087 * gdb.stabs/weird.exp (print_weird_var): Update.
2088 * gdb.server/solib-list.exp: Update.
2089 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2090 * gdb.mi/mi-cli.exp: Update.
2091 * gdb.linespec/linespec.exp: Update.
2092 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2093 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2094 * gdb.cp/cp-relocate.exp: Update.
2095 * gdb.base/sym-file.exp: Update.
2096 * gdb.base/relocate.exp: Update.
2097 * gdb.base/readnever.exp: Update.
2098 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2099 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2100 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2101 * gdb.base/code_elim.exp: Update.
2102 * gdb.base/break-unload-file.exp (test_break): Update.
2103 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2104 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2105 Update.
2106 * gdb.base/attach.exp (do_attach_tests): Update.
2107 * gdb.base/sepdebug.exp: Update.
2108 * gdb.python/py-section-script.exp: Update.
2109
21102018-10-04 Tom Tromey <tom@tromey.com>
2111
2112 PR cli/22234:
2113 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2114 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2115 output.
2116
21172018-10-04 Tom Tromey <tom@tromey.com>
2118
2119 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2120 set width and height to 0.
2121 (test_command_line_attach_run): Use -quiet.
2122
21232018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2124
2125 * lib/gdb.exp (skip_ifunc_tests): New.
2126 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2127 other compile failures.
2128 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2129
21302018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2131
2132 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2133 is_amd64_regs_target.
2134
21352018-10-01 Alan Hayward <alan.hayward@arm.com>
2136
2137 * gdb.arch/aarch64-sighandler-regs.c: New test.
2138 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2139 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2140
21412018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2142
2143 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2144 assembly.
2145
21462018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2147
2148 * gdb.base/frame-selection.exp: New file.
2149 * gdb.base/frame-selection.c: New file.
2150
21512018-09-27 Alan Hayward <alan.hayward@arm.com>
2152
2153 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2154 pthread barrier.
2155 (main): Likewise.
2156
21572018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2158
2159 * gdb.base/large-frame-1.c: New file.
2160 * gdb.base/large-frame-2.c: New file.
2161 * gdb.base/large-frame.exp: New file.
2162 * gdb.base/large-frame.h: New file.
2163
21642018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2165
2166 PR gdb/20948
2167 * gdb.base/write_mem.exp: New test.
2168 * gdb.base/write_mem.c: Likewise.
2169
21702018-09-23 Tom Tromey <tom@tromey.com>
2171
2172 PR python/18852:
2173 * gdb.python/py-parameter.exp: Add test for parameter that throws
2174 on "set".
2175
21762018-09-23 Tom Tromey <tom@tromey.com>
2177
2178 PR python/17284:
2179 * gdb.python/py-template.exp (test_template_arg): Add test for
2180 negative template argument number.
2181
21822018-09-23 Tom Tromey <tom@tromey.com>
2183
2184 PR python/14062:
2185 * gdb.python/python.exp: Add test for post_event error.
2186
21872018-09-23 Tom Tromey <tom@tromey.com>
2188
2189 PR python/18170:
2190 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2191 convert pointers to int and long.
2192
21932018-09-23 Tom Tromey <tom@tromey.com>
2194
2195 PR python/20126:
2196 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2197 signed-ness conversion tests.
2198
21992018-09-23 Tom Tromey <tom@tromey.com>
2200
2201 PR python/18352;
2202 * gdb.python/py-value.exp (test_float_conversion): New proc.
2203 Use it.
2204
22052018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2206
2207 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2208
22092018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2210
2211 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2212 no readline.
2213 * gdb.base/utf8-identifiers.exp: Likewise.
2214 * gdb.cp/cpcompletion.exp: Likewise.
2215 * gdb.linespec/cpcompletion.exp: Likewise.
2216 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2217 * gdb.linespec/cpls-ops.exp: Likewise.
2218
22192018-09-19 Richard Bunt <richard.bunt@arm.com>
2220 Chris January <chris.january@arm.com>
2221
2222 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2223 * gdb.fortran/short-circuit-argument-list.exp: New file.
2224 * gdb.fortran/short-circuit-argument-list.f90: New test.
2225
22262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2227
2228 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2229 "arch=" keyword when executing "-stack-list-frames".
2230
22312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2232
2233 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2234 "arch=" keyword when executing "-stack-list-frames".
2235
22362018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2237
2238 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2239 break ada".
2240
22412018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2242
2243 PR python/23669
2244 * gdb.python/python.exp: Test gdb.execute("show commands").
2245
22462018-09-16 Tom Tromey <tom@tromey.com>
2247
2248 * gdb.base/new-ui.exp (do_execution_tests): Update.
2249 * gdb.base/dbx.exp (test_breakpoints): Update.
2250
22512018-09-14 Alan Hayward <alan.hayward@arm.com>
2252
2253 * lib/gdb.exp (gdb_simple_compile): Add proc.
2254 (is_elf_target): Use gdb_simple_compile.
2255 (skip_altivec_tests): Likewise.
2256 (skip_vsx_tests): Likewise.
2257 (skip_tsx_tests): Likewise.
2258 (skip_btrace_tests): Likewise.
2259 (skip_btrace_pt_tests): Likewise.
2260 (gdb_can_simple_compile): Likewise.
2261 (gdb_has_argv0): Likewise.
2262 (gdb_target_symbol_prefix): Likewise.
2263 (target_supports_scheduler_locking): Likewise.
2264
22652018-09-13 Tom Tromey <tom@tromey.com>
2266
2267 * Makefile.in (TAGS): Recognize proc_with_prefix and
2268 gdb_caching_proc.
2269
22702018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2271
2272 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2273 method.
2274
22752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2276
2277 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2278 and a few other Inferior properties when the Inferior is no
2279 longer valid.
2280
22812018-09-13 Tom Tromey <tom@tromey.com>
2282
2283 PR rust/23650:
2284 * gdb.rust/simple.exp: Add test for enum field access error.
2285
22862018-09-13 Tom Tromey <tom@tromey.com>
2287
2288 PR rust/23626:
2289 * gdb.rust/simple.rs (EmptyEnum): New type.
2290 (main): Use it.
2291 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2292
22932018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2294
2295 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2296 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2297 * gdb.python/py-symtab.exp: Update test printing an objfile.
2298
22992018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2300
2301 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2302 object.
2303
23042018-09-12 Alan Hayward <alan.hayward@arm.com>
2305
2306 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2307 (support_complex_tests): Use gdb_can_simple_compile.
2308 (is_ilp32_target): Likewise.
2309 (is_lp64_target): Likewise.
2310 (is_64_target): Likewise.
2311 (is_amd64_regs_target): Likewise.
2312 (is_aarch32_target): Likewise.
2313 (gdb_int128_helper): Likewise.
2314
23152018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2316
2317 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2318
23192018-09-10 Jerome Guitton <guitton@adacore.com>
2320
2321 * gdb.ada/same_component_name: Add test for case of tagged record
2322 with variable-length fields.
2323
23242018-09-10 Xavier Roirand <roirand@adacore.com>
2325
2326 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2327 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2328 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2329 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2330
23312018-09-10 Xavier Roirand <roirand@adacore.com>
2332
2333 * gdb.ada/mi_string_access.exp: New testcase.
2334 * gdb.ada/mi_string_access/bar.adb: New file.
2335 * gdb.ada/mi_string_access/pck.adb: New file.
2336 * gdb.ada/mi_string_access/pck.asd: New file.
2337
23382018-09-10 Xavier Roirand <roirand@adacore.com>
2339
2340 * gdb.ada/mi_var_union.exp: New testcase.
2341 * gdb.ada/mi_var_union/bar.adb: New file.
2342 * gdb.ada/mi_var_union/pck.adb: New file.
2343 * gdb.ada/mi_var_union/pck.asd: New file.
2344
23452018-09-08 Tom Tromey <tom@tromey.com>
2346
2347 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2348
23492018-09-08 Tom Tromey <tom@tromey.com>
2350
2351 PR python/16047:
2352 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2353 (register_pretty_printers): Register new printer.
2354 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2355 test.
2356 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2357 (an_int_type3): New global.
2358
23592018-09-08 Joel Brobecker <brobecker@adacore.com>
2360
2361 * gdb.ada/expr_with_funcall: New testcase.
2362
23632018-09-08 Joel Brobecker <brobecker@adacore.com>
2364
2365 * gdb.ada/packed_array_assign: New testcase.
2366
23672018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2368
2369 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2370 names, and add test prefixes to make test names unique.
2371
23722018-09-05 Tom de Vries <tdevries@suse.de>
2373
2374 * gdb.dwarf2/varval.exp: Add test.
2375
23762018-09-04 Gary Benson <gbenson@redhat.com>
2377
2378 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2379 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2380
23812018-08-31 Tom Tromey <tom@tromey.com>
2382
2383 * gdb.rust/simple.rs: Rename second variable "v".
2384
23852018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.base/funcargs.c (use_a): New function.
2388 (recurse): Call use_a.
2389
23902018-08-29 Keith Seitz <keiths@redhat.com>
2391
2392 * gdb.compile/compile-cplus-anonymous.cc: New file.
2393 * gdb.compile/compile-cplus-anonymous.exp: New file.
2394 * gdb.compile/compile-cplus-array-decay.cc: New file.
2395 * gdb.compile/compile-cplus-array-decay.exp: New file.
2396 * gdb.compile/compile-cplus-inherit.cc: New file.
2397 * gdb.compile/compile-cplus-inherit.exp: New file.
2398 * gdb.compile/compile-cplus-member.cc: New file.
2399 * gdb.compile/compile-cplus-member.exp: New file.
2400 * gdb.compile/compile-cplus-method.cc: New file.
2401 * gdb.compile/compile-cplus-method.exp: New file.
2402 * gdb.compile/compile-cplus-mod.c: "New" file.
2403 * gdb.compile/compile-cplus-namespace.cc: New file.
2404 * gdb.compile/compile-cplus-namespace.exp: New file.
2405 * gdb.compile/compile-cplus-nested.cc: New file.
2406 * gdb.compile/compile-cplus-nested.exp: New file.
2407 * gdb.compile/compile-cplus-print.c: "New" file.
2408 * gdb.compile/compile-cplus-print.exp: "New" file.
2409 * gdb.compile/compile-cplus-virtual.cc: New file.
2410 * gdb.compile/compile-cplus-virtual.exp: New file.
2411 * gdb.compile/compile-cplus.c: "New" file.
2412 * gdb.compile/compile-cplus.exp: "New" file.
2413 * lib/compile-support.exp: New file.
2414
24152018-08-16 Gary Benson <gbenson@redhat.com>
2416
2417 PR gdb/13000:
2418 * gdb.base/batch-exit-status.exp: New file.
2419 * gdb.base/batch-exit-status.good-commands: Likewise.
2420 * gdb.base/batch-exit-status.bad-commands: Likewise.
2421
24222018-08-29 Alan Hayward <alan.hayward@arm.com>
2423
2424 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2425 (struct struct02): Likewise.
2426 (struct struct03): Likewise.
2427 (struct struct04): Likewise.
2428 (struct struct_01_01): New struct.
2429 (struct struct_01_02): Likewise.
2430 (struct struct_01_03): Likewise.
2431 (struct struct_01_04): Likewise.
2432 (struct struct_02_01): Likewise.
2433 (struct struct_02_02): Likewise.
2434 (struct struct_02_03): Likewise.
2435 (struct struct_02_04): Likewise.
2436 (struct struct_04_01): Likewise.
2437 (struct struct_04_02): Likewise.
2438 (struct struct_04_03): Likewise.
2439 (struct struct_04_04): Likewise.
2440 (struct struct_05_01): Likewise.
2441 (struct struct_05_02): Likewise.
2442 (struct struct_05_03): Likewise.
2443 (struct struct_05_04): Likewise.
2444 (cmp_struct01): Remove function.
2445 (cmp_struct02): Likewise.
2446 (cmp_struct03): Likewise.
2447 (cmp_struct04): Likewise.
2448 (cmp_struct_01_01): Add Function.
2449 (cmp_struct_01_02): Likewise.
2450 (cmp_struct_01_03): Likewise.
2451 (cmp_struct_01_04): Likewise.
2452 (cmp_struct_02_01): Likewise.
2453 (cmp_struct_02_02): Likewise.
2454 (cmp_struct_02_03): Likewise.
2455 (cmp_struct_02_04): Likewise.
2456 (cmp_struct_04_01): Likewise.
2457 (cmp_struct_04_02): Likewise.
2458 (cmp_struct_04_03): Likewise.
2459 (cmp_struct_04_04): Likewise.
2460 (cmp_struct_05_01): Likewise.
2461 (cmp_struct_05_02): Likewise.
2462 (cmp_struct_05_03): Likewise.
2463 (cmp_struct_05_04): Likewise.
2464 (call_all): Add new structs.
2465 * gdb.base/infcall-nested-structs.exp: Likewise.
2466
24672018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2468
2469 * gdb.python/py-framefilter-mi.exp: Update regexp to
2470 check for "arch" field in frame output.
2471
24722018-08-23 Kevin Buettner <kevinb@redhat.com>
2473
2474 * gdb.dwarf2/dw2-ranges-func.c: New file.
2475 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2476
24772018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2478
2479 * gdb.base/term.exp: Compare terminal settings with values from
2480 the inferior.
2481 * gdb.base/term.c: Get and set terminal settings.
2482
24832018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2484
2485 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2486 accommodate new "arch" field in frame output.
2487 * gdb.mi/mi-return.exp: Likewise.
2488 * gdb.mi/mi-stack.exp: Likewise.
2489 * gdb.mi/mi-syn-frame.exp: Likewise.
2490 * gdb.mi/user-selected-context-sync.exp: Likewise.
2491
24922018-08-19 Michael Spang <spang@google.com>
2493
2494 PR gdb/11786
2495 * gdb.base/gcore-tls-pie.c: New file.
2496 * gdb.base/gcore-tls-pie.exp: New file.
2497
24982018-08-18 Kevin Buettner <kevinb@redhat.com>
2499
2500 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2501 * gdb.dwarf2/varval.c: New file.
2502 * gdb.dwarf2/varval.exp: New file.
2503
25042018-08-17 Alan Hayward <alan.hayward@arm.com>
2505
2506 PR gdb/18931
2507 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2508
25092018-08-16 Keith Seitz <keiths@redhat.com>
2510
2511 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2512 tests expected to pass.
2513
25142018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2515
2516 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2517 -data-disassemble -a.
2518 (test_disassembly_bogus_args): Likewise.
2519
25202018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2521
2522 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2523
25242018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2525
2526 * gdb.base/vla-optimized-out.exp: Add new test.
2527
25282018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2529
2530 * gdb.base/vla-optimized-out-o3.exp: Delete.
2531 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2532 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2533 deleted tests.
2534
25352018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 PR gdb/18050:
2538 * gdb.server/extended-remote-restart.c: New file.
2539 * gdb.server/extended-remote-restart.exp: New file.
2540
25412018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2542
2543 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2544 "set variable index = 42".
2545
25462018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2547
2548 * boards/index-cache-gdb.exp: New file.
2549 * gdb.dwarf2/index-cache.exp: New file.
2550 * gdb.dwarf2/index-cache.c: New file.
2551 * gdb.base/maint.exp: Check if we are using the index cache.
2552
25532018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2554
2555 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2556 MAKEFLAGS.
2557
25582018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2559
2560 * dg-extract-results.sh: Move to toplevel contrib.
2561 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2562 * Makefile.in (check-parallel-racy): Likewise.
2563
25642018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2567 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2568 tests if the target supports scheduler locking.
2569
25702018-08-04 Tom de Vries <tdevries@suse.de>
2571
2572 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2573
25742018-08-02 Tom Tromey <tom@tromey.com>
2575
2576 PR symtab/16842.
2577 * gdb.cp/temargs.exp: Test "info address" of a template
2578 parameter.
2579
25802018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2581
2582 * gdb.python/py-mi-var-info-path-expression.c: New file.
2583 * gdb.python/py-mi-var-info-path-expression.py: New file.
2584 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2585
25862018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2587
2588 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2589 error after "cannot resolve name" string.
2590
25912018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2592
2593 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2594 started.
2595 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2596
25972018-07-28 Tom de Vries <tdevries@suse.de>
2598
2599 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2600
26012018-07-26 Tom de Vries <tdevries@suse.de>
2602
2603 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2604
26052018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2606
2607 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2608 is visible.
2609
26102018-07-26 Tom de Vries <tdevries@suse.de>
2611
2612 PR breakpoints/23366
2613 * gdb.base/catch-follow-exec.c: New test.
2614 * gdb.base/catch-follow-exec.exp: New file.
2615
26162018-07-25 Tom de Vries <tdevries@suse.de>
2617
2618 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2619 vla-optimized-out.c.
2620
26212018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2622
2623 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2624 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2625
26262018-07-20 Tom de Vries <tdevries@suse.de>
2627
2628 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2629 NOCLONE macro.
2630 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2631
26322018-07-19 Tom de Vries <tdevries@suse.de>
2633
2634 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2635 regular expression.
2636
26372018-07-18 Tom de Vries <tdevries@suse.de>
2638
2639 * gdb.base/vla-optimized-out.c: New test.
2640 * gdb.base/vla-optimized-out.exp: New file.
2641
26422018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2643
2644 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2645 message "No address associated with hostname" when gdbserver
2646 cannot resolve the hostname.
2647
26482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2649
2650 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2651 Add some test prefixes to make tests unique.
2652
26532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2654
2655 * gdb.base/frameapply.c: New file.
2656 * gdb.base/frameapply.exp: New file.
2657
26582018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2659
2660 * gdb.base/skip.exp: Update expected error message.
2661
26622018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2663 Jan Kratochvil <jan.kratochvil@redhat.com>
2664 Paul Fertser <fercerpav@gmail.com>
2665 Tsutomu Seki <sekiriki@gmail.com>
2666
2667 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2668 parameter.
2669 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2670 by default.
2671 * boards/native-gdbserver.exp: Likewise.
2672 * gdb.server/run-without-local-binary.exp: Improve regexp used
2673 for detecting when a remote debugging connection succeeds.
2674 * gdb.server/server-connect.exp: New file.
2675 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2676 Do not prefix the port number with ":".
2677 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2678 support for detecting and using it. Add '$debughost_gdbserver'
2679 to the list of arguments used to start gdbserver. Handle case
2680 when gdbserver cannot resolve a network name.
2681
26822018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2683
2684 PR c++/23373
2685 * gdb.base/ptype-offsets.cc (struct static_member): New
2686 struct.
2687 (main) <stmember>: New variable.
2688 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2689 with a static member in it.
2690
26912018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2692
2693 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2694 watchpoints enabled and disabled.
2695
26962018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2697
2698 * gdb.base/examine-backward.exp: Still run tests around address
2699 0x0, even if address 0x0 is not readable. Update the pattern for
2700 matching address 0x0 in expected output.
2701
27022018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2703
2704 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2705 malloc/free.
2706
27072018-07-04 Tom de Vries <tdevries@suse.de>
2708
2709 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2710
27112018-07-02 Maciej W. Rozycki <macro@mips.com>
2712
2713 PR tdep/8282
2714 * gdb.arch/mips-disassembler-options.exp: New test.
2715 * gdb.arch/mips-disassembler-options.s: New test source.
2716
27172018-06-29 Pedro Alves <palves@redhat.com>
2718
2719 * gdb.threads/names.exp: Adjust expected "info threads" output.
2720
27212018-06-29 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.opt/inline-break.exp (line number, address): Add "info
2724 break" tests.
2725
27262018-06-29 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2729 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2730 number and address and running to them.
2731
27322018-06-29 Richard Bunt <richard.bunt@arm.com>
2733
2734 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2735
27362018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 * lib/compiler.c: Remove executable permission flag.
2739
27402018-06-28 Richard Bunt <richard.bunt@arm.com>
2741
2742 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2743 code.
2744 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2745
27462018-06-28 Petr Tesarik <ptesarik@suse.cz>
2747
2748 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2749
27502018-06-28 Petr Tesarik <ptesarik@suse.cz>
2751
2752 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2753 address argument is omitted.
2754
27552018-06-28 Petr Tesarik <ptesarik@suse.cz>
2756
2757 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2758
27592018-06-27 Omair Javaid <omair.javaid@linaro.org>
2760
2761 PR gdb/21695
2762 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2763 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2764
27652018-06-26 Tom Tromey <tom@tromey.com>
2766
2767 PR rust/22574:
2768 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2769 * gdb.rust/simple.rs (struct SimpleLayout): New.
2770
27712018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2772
2773 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2774 "info registers" output.
2775
27762018-06-21 Richard Bunt <richard.bunt@arm.com>
2777
2778 * gdb.base/watchpoint-hw-attach.c: New test.
2779 * gdb.base/watchpoint-hw-attach.exp: New file.
2780
27812018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2782
2783 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2784 through /bin/sh.
2785 * boards/dwarf4-gdb-index.exp: Likewise.
2786 * boards/fission-dwp.exp: Likewise.
2787
27882018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2789
2790 * gdb.base/float128.exp: Add comment and improved fail message
2791 to the failure case of "print large128" test.
2792
27932018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2794
2795 * configure.ac: Remove AC_PREREQ.
2796 * configure: Re-generate.
2797
27982018-06-19 Pedro Alves <palves@redhat.com>
2799
2800 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2801 (func_extern_caller): New.
2802 (main): Call func_extern_caller.
2803 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2804 logic change.
2805
28062018-06-18 Weimin Pan <weimin.pan@oracle.com>
2807
2808 PR gdb/16841
2809 * gdb.cp/typedef-base.cc: New file.
2810 * gdb.cp/typedef-base.exp: New file.
2811
28122018-06-18 Tom de Vries <tdevries@suse.de>
2813
2814 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2815
28162018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2817 Richard Bunt <Richard.Bunt@arm.com>
2818
2819 * gdb.threads/attach-slow-waitpid.c: New file.
2820 * gdb.threads/attach-slow-waitpid.exp: New file.
2821 * gdb.threads/slow-waitpid.c: New file.
2822
28232018-06-14 Pedro Alves <palves@redhat.com>
2824
2825 * gdb.base/fork-running-state.c: Include <errno.h>.
2826 (exit_if_relative_exits): New.
2827 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2828 exits.
2829 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2830 child exits.
2831
28322018-06-14 Tom de Vries <tdevries@suse.de>
2833
2834 PR cli/22573
2835 * gdb.base/finish-pretty.c: New test.
2836 * gdb.base/finish-pretty.exp: New file.
2837
28382018-06-14 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2841 gdb's expected startup output.
2842
28432018-06-14 Pedro Alves <palves@redhat.com>
2844
2845 * lib/selftest-support.exp (selftest_setup): Remove inlined
2846 function handling.
2847
28482018-06-14 Tom de Vries <tdevries@suse.de>
2849
2850 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2851 matching of breakpoint printing.
2852
28532018-06-13 Tom de Vries <tdevries@suse.de>
2854
2855 PR testsuite/23269
2856 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2857 (fork_child): ... here, and ...
2858 (fork_parent): ... here.
2859
28602018-06-12 Tom de Vries <tdevries@suse.de>
2861
2862 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2863
28642018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2865 Stephen Roberts <stephen.roberts@arm.com>
2866
2867 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2868 rewrite test to describe action performed, rather than possible
2869 failure.
2870
28712018-06-08 Gary Benson <gbenson@redhat.com>
2872
2873 * gdb.threads/check-libthread-db.exp: New file.
2874 * gdb.threads/check-libthread-db.c: Likewise.
2875
28762018-06-05 Tom Tromey <tom@tromey.com>
2877
2878 * gdb.base/default.exp: Update expected "show version" output.
2879
28802018-06-05 Tom Tromey <tom@tromey.com>
2881
2882 PR cli/12326:
2883 * gdb.cp/static-print-quit.exp: Update.
2884 * lib/gdb.exp (pagination_prompt): Update.
2885 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2886 * gdb.python/python.exp: Update.
2887
28882018-06-04 Joel Brobecker <brobecker@adacore.com>
2889
2890 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2891
28922018-06-01 Joel Brobecker <brobecker@adacore.com>
2893
2894 * gdb.ada/bp_fun_addr: New testcase.
2895
28962018-06-01 Tom Tromey <tom@tromey.com>
2897
2898 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2899 results.
2900 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2901 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2902 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2903 * gdb.base/maint.exp (maint_pass_if): Update.
2904
29052018-05-31 Maciej W. Rozycki <macro@mips.com>
2906
2907 * gdb.base/endian.exp: New test.
2908 * gdb.base/endian.c: New test source.
2909
29102018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2911
2912 PR gdb/23203
2913 * gdb.base/bt-selected-frame.c: New file.
2914 * gdb.base/bt-selected-frame.exp: New file.
2915 * lib/gdb.exp (get_current_frame_number): New function.
2916
29172018-05-24 Maciej W. Rozycki <macro@mips.com>
2918 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.threads/tls-core.c: Include <stdlib.h>
2921 (thread_proc): Call `abort'.
2922 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2923 (tls_core_test): New procedure, bits factored out from ...
2924 (top level): ... here. Test both native cores and gcore cores.
2925
29262018-05-23 Tom Tromey <tom@tromey.com>
2927
2928 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2929
29302018-05-23 Tom Tromey <tom@tromey.com>
2931
2932 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2933 symfile_complaints.
2934 (test_short_complaints): Likewise.
2935 (test_empty_complaints): Likewise.
2936 (test_initial_complaints): Update.
2937
29382018-05-23 Tom Tromey <tom@tromey.com>
2939
2940 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2941
29422018-05-23 Tom Tromey <tom@tromey.com>
2943
2944 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2945 (test_short_complaints): Update.
2946
29472018-05-22 Pedro Alves <palves@redhat.com>
2948
2949 * gdb.base/remote.exp: Only gdb_start after compiling the
2950 testcase. Issue "disconnect" before testing "set remote" command
2951 defaults. Issue clean_restart before running to main.
2952
29532018-05-22 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.base/remote.exp: Adjust expected output of "show remote
2956 memory-write-packet-size". Add tests for "set remote
2957 memory-write-packet-size 0" and "set remote
2958 memory-write-packet-size fixed/limit".
2959
29602018-05-22 Pedro Alves <palves@redhat.com>
2961
2962 PR gdb/22973
2963 * gdb.base/utf8-identifiers.c: New file.
2964 * gdb.base/utf8-identifiers.exp: New file.
2965
29662018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2967
2968 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2969
29702018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2971
2972 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2973
29742018-05-18 Tom Tromey <tom@tromey.com>
2975
2976 * gdb.base/ptype-offsets.exp: Update.
2977
29782018-05-17 Keith Seitz <keiths@redhat.com>
2979
2980 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2981 in expected breakpoint stop locations.
2982 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2983 move to proper scope to test variable values.
2984 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2985 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2986 New functions.
2987 (main): Call not_inline_func3.
2988 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2989 inline_func1, inline_func2, and inline_func3. Test that when each
2990 breakpoint is hit, GDB properly reports both the stop location
2991 and the backtrace. Repeat tests for temporary breakpoints.
2992
29932018-05-15 Maciej W. Rozycki <macro@mips.com>
2994
2995 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2996 rather then trying to access it in determining whether the PID
2997 of `gdbserver' could have been retrieved.
2998
29992018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3000
3001 * gdb.arch/amd64-init-x87-values.S: New file.
3002 * gdb.arch/amd64-init-x87-values.exp: New file.
3003
30042018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3005
3006 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3007
30082018-05-04 Tom Tromey <tom@tromey.com>
3009
3010 PR python/22730:
3011 * gdb.python/python.exp: Test multi-line execute.
3012
30132018-05-04 Tom Tromey <tom@tromey.com>
3014
3015 PR python/22731:
3016 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3017
30182018-05-04 Tom Tromey <tom@tromey.com>
3019
3020 PR gdb/11750:
3021 * gdb.base/define.exp: Test defining a user command inside a user
3022 command.
3023 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3024
30252018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3026 Pedro Alves <palves@redhat.com>
3027
3028 PR breakpoints/19806 and support for PR external/20207.
3029 * gdb.base/watchpoint-unaligned.c: New file.
3030 * gdb.base/watchpoint-unaligned.exp: New file.
3031
30322018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.base/maint.exp: Make test names unique, use
3035 test_prefix_command_help to test 'help maint info', and remove
3036 repeated test of 'help maint'.
3037
30382018-05-04 Tom Tromey <tom@tromey.com>
3039
3040 PR gdb/22619:
3041 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3042 behavior.
3043
30442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.base/maint.exp: Process output from 'maint print registers'
3047 line at a time.
3048
30492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3050
3051 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3052 timeout.
3053
30542018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3055
3056 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3057 filter pattern.
3058
30592018-05-02 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3062 to_log_command renames.
3063 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3064
30652018-05-02 Tom Tromey <tom@tromey.com>
3066
3067 * gdb.python/py-parameter.exp: Set test message.
3068
30692018-05-02 Tom Tromey <tom@tromey.com>
3070
3071 PR python/20084:
3072 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3073 PARAM_ZUINTEGER_UNLIMITED tests.
3074
30752018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3076
3077 PR rust/23124
3078 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3079 when casting.
3080
30812018-04-30 Tom Tromey <tom@tromey.com>
3082
3083 * gdb.python/py-type.exp: Check align attribute.
3084 * gdb.python/py-type.c: New "aligncheck" global.
3085
30862018-04-30 Tom Tromey <tom@tromey.com>
3087
3088 PR exp/17095:
3089 * gdb.dwarf2/dw2-align.exp: New file.
3090 * gdb.cp/align.exp: New file.
3091 * gdb.base/align.exp: New file.
3092 * lib/gdb.exp (gdb_int128_helper): New proc.
3093 (has_int128_c, has_int128_cxx): New caching procs.
3094
30952018-04-27 Tom Tromey <tom@tromey.com>
3096
3097 PR rust/22545:
3098 * gdb.rust/simple.exp: Add inclusive range tests.
3099
31002018-04-26 Pedro Alves <palves@redhat.com>
3101
3102 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3103 ifunc breakpoint locations correctly of ifunc breakpoints set
3104 while the program resolves the ifunc.
3105
31062018-04-26 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.base/gnu-ifunc-final.c: New file.
3109 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3110 * gdb.base/gnu-ifunc.exp (executable): Delete.
3111 (staticexecutable): Adjust.
3112 (lib_opts, exec_opts): Delete.
3113 (make_binsuffix, build, set-break): New procedures.
3114 (misc_tests): New, with tests factored out from the top level.
3115 (top level): Test different combinations of ifunc resolver name,
3116 resolver with and with debug info, and ifunc target with and
3117 without debug info. Wrap static tests with with_target_prefix.
3118
31192018-04-26 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3122 return type" warnings.
3123
31242018-04-25 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3127 killed".
3128 * gdb.base/kill-after-signal.exp: Likewise.
3129 * gdb.threads/kill.exp: Likewise.
3130
31312018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3132 Sergio Durigan Junior <sergiodj@redhat.com>
3133 Pedro Alves <palves@redhat.com>
3134
3135 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3136 regexps to expect for '[Inferior ... detached]' as well.
3137 * gdb.base/attach.exp: Likewise.
3138 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3139 "gdb_continue_to_end".
3140 (test_catch_syscall_with_wrong_args): Likewise.
3141 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3142 ']'. Don't set 'verbose' on.
3143 * gdb.base/foll-vfork.exp: Likewise.
3144 * gdb.base/fork-print-inferior-events.c: New file.
3145 * gdb.base/fork-print-inferior-events.exp: New file.
3146 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3147 '[Inferior ... has been killed]' message.
3148 * gdb.base/kill-after-signal.exp: Likewise.
3149 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3150 detach message.
3151 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3152 message.
3153 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3154 regexps to expect for '[Inferior ... detached]' as well.
3155 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3156
31572018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3158
3159 PR gdb/23104
3160 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3161
31622018-04-19 Richard Bunt <richard.bunt@arm.com>
3163
3164 * gdb.threads/multiple-successive-infcall.c: New test.
3165 * gdb.threads/multiple-successive-infcall.exp: New file.
3166
31672018-04-17 Tom Tromey <tom@tromey.com>
3168
3169 * gdb.rust/simple.rs (Union): New type.
3170 (main): New local "u".
3171 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3172
31732018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3174
3175 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3176 number information in output of "whereis" command.
3177 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3178
31792018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3180
3181 * gdb.ada/info_types.exp: Adjust expected output to the line
3182 numbers now printed by "info var/func/type".
3183 * gdb.base/completion.exp: Likewise.
3184 * gdb.base/included.exp: Likewise.
3185 * gdb.cp/cp-relocate.exp: Likewise.
3186 * gdb.cp/cplusfuncs.exp: Likewise.
3187 * gdb.cp/namespace.exp: Likewise.
3188 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3189
31902018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3191
3192 * gdb.btrace/cpu.exp: New.
3193
31942018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3195
3196 * gdb.base/step-indirect-call-thunk.exp: New.
3197 * gdb.base/step-indirect-call-thunk.c: New.
3198 * gdb.reverse/step-indirect-call-thunk.exp: New.
3199 * gdb.reverse/step-indirect-call-thunk.c: New.
3200
32012018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3202
3203 * gdb.base/pie-fork.c: New file.
3204 * gdb.base/pie-fork.exp: New file.
3205
32062018-04-11 Tom Tromey <tom@tromey.com>
3207
3208 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3209
32102018-04-10 Pedro Alves <palves@redhat.com>
3211
3212 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3213 exits. Instead loop running forever.
3214 (fork_parent): Run forever too.
3215
32162018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3217
3218 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3219 mi_continue_to_line.
3220 * gdb.mi/mi-stack.c (callee4): Add comment.
3221
32222018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3223
3224 * gdb.mi/mi-stack.exp: Fix indentation.
3225
32262018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3227
3228 PR gdb/22979
3229 * gdb.arch/amd64-osabi.exp: New file.
3230
32312018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3232
3233 PR gdb/22980
3234 * gdb.base/osabi.exp: New file.
3235
32362018-04-02 Weimin Pan <weimin.pan@oracle.com>
3237
3238 * gdb.cp/static-typedef-print.exp: New file.
3239 * gdb.cp/static-typedef-print.cc: New file.
3240
32412018-03-27 Joel Brobecker <brobecker@adacore.com>
3242
3243 * gdb.ada/varsize_limit: New testcase.
3244
32452018-03-27 Joel Brobecker <brobecker@adacore.com>
3246
3247 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3248
3249 * gdb.ada/notcplusplus: New testcase.
3250
3251 * gdb.base/c-linkage-name.c: New file.
3252 * gdb.base/c-linkage-name.exp: New testcase.
3253
32542018-03-26 Tom Tromey <tom@tromey.com>
3255
3256 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3257 * gdb.python/py-framefilter.py (name_error): New global.
3258 (ErrorInName.function): Use name_error.
3259
32602018-03-26 Tom Tromey <tom@tromey.com>
3261
3262 PR backtrace/15582:
3263 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3264
32652018-03-23 Keith Seitz <keiths@redhat.com>
3266
3267 PR c++/22968
3268 * gdb.cp/subtypes.exp: New file.
3269 * gdb.cp/subtypes.h: New file.
3270 * gdb.cp/subtypes.cc: New file.
3271 * gdb.cp/subtypes-2.cc: New file.
3272
32732018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3274
3275 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3276 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3277 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3278 -nostartfiles when compiling the test. Confirm that all registers
3279 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3280
32812018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3282
3283 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3284 option, syntax was wrong anyway.
3285 * gdb.arch/arm-disp-step.exp: Likewise.
3286 * gdb.arch/sparc64-regs.exp: Likewise.
3287 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3288 option, syntax was wrong anyway, switch to use
3289 prepare_for_testing.
3290 * gdb.arch/i386-disp-step.exp: Likewise.
3291
32922018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3293
3294 * gdb.ada/exec_changed.exp: Replace "target_info exists
3295 use_gdb_stub" by "use_gdb_stub".
3296 * gdb.ada/start.exp: Likewise.
3297 * gdb.base/async-shell.exp: Likewise.
3298 * gdb.base/attach-pie-misread.exp: Likewise.
3299 * gdb.base/attach-wait-input.exp: Likewise.
3300 * gdb.base/break-entry.exp: Likewise.
3301 * gdb.base/break-interp.exp: Likewise.
3302 * gdb.base/dprintf-detach.exp: Likewise.
3303 * gdb.base/nostdlib.exp: Likewise.
3304 * gdb.base/solib-nodir.exp: Likewise.
3305 * gdb.base/statistics.exp: Likewise.
3306 * gdb.base/testenv.exp: Likewise.
3307 * gdb.mi/mi-exec-run.exp: Likewise.
3308 * gdb.mi/mi-start.exp: Likewise.
3309 * gdb.multi/dummy-frame-restore.exp: Likewise.
3310 * gdb.multi/multi-arch-exec.exp: Likewise.
3311 * gdb.multi/multi-arch.exp: Likewise.
3312 * gdb.multi/tids.exp: Likewise.
3313 * gdb.multi/watchpoint-multi.exp: Likewise.
3314 * gdb.python/py-events.exp: Likewise.
3315 * gdb.threads/attach-into-signal.exp: Likewise.
3316 * gdb.threads/attach-stopped.exp: Likewise.
3317 * gdb.threads/threadapply.exp: Likewise.
3318 * lib/selftest-support.exp: Likewise.
3319
33202018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3321
3322 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3323
33242018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3325
3326 * gdb.perf/template-breakpoints.cc: New file.
3327 * gdb.perf/template-breakpoints.exp: New file.
3328 * gdb.perf/template-breakpoints.py: New file.
3329
33302018-03-19 Tom Tromey <tom@tromey.com>
3331
3332 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3333 y0.
3334 * gdb.rust/simple.exp: Test bare identifier form of struct
3335 initializer.
3336
33372018-03-19 Tom Tromey <tom@tromey.com>
3338
3339 * gdb.gdb/observer.exp: Remove.
3340
33412018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3342
3343 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3344 "qualified" option when setting breakpoints.
3345 * gdb.trace/backtrace.exp: Likewise.
3346 * gdb.trace/circ.exp: Likewise.
3347 * gdb.trace/collection.exp: Likewise.
3348 * gdb.trace/disconnected-tracing.exp: Likewise.
3349 * gdb.trace/ftrace-lock.exp: Likewise.
3350 * gdb.trace/ftrace.exp: Likewise.
3351 * gdb.trace/infotrace.exp: Likewise.
3352 * gdb.trace/packetlen.exp: Likewise.
3353 * gdb.trace/passc-dyn.exp: Likewise.
3354 * gdb.trace/qtro.exp: Likewise.
3355 * gdb.trace/read-memory.exp: Likewise.
3356 * gdb.trace/report.exp: Likewise.
3357 * gdb.trace/signal.exp: Likewise.
3358 * gdb.trace/status-stop.exp: Likewise.
3359 * gdb.trace/strace.exp: Likewise.
3360 * gdb.trace/tfind.exp: Likewise.
3361 * gdb.trace/trace-break.exp: Likewise.
3362 * gdb.trace/trace-condition.exp: Likewise.
3363 * gdb.trace/trace-mt.exp: Likewise.
3364 * gdb.trace/tstatus.exp: Likewise.
3365 * gdb.trace/tsv.exp: Likewise.
3366 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3367 * gdb.trace/unavailable.exp: Likewise.
3368 * gdb.trace/while-dyn.exp: Likewise.
3369
33702018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3371
3372 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3373 that libinproctrace is copied to the target.
3374
33752018-03-14 Tom Tromey <tom@tromey.com>
3376
3377 PR cli/14977:
3378 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3379 a null pointer.
3380 * gdb.base/wchar.exp: Likewise.
3381
33822018-03-14 Tom Tromey <tom@tromey.com>
3383
3384 PR cli/19918:
3385 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3386 flag.
3387
33882018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3389
3390 PR gdb/22841
3391 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3392 "target" to remote_exec.
3393
33942018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3395
3396 PR gdb/22841
3397 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3398 ${board}_upload): Remove.
3399
34002018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3401
3402 * gdb.cp/watch-cp.cc: New test.
3403 * gdb.cp/watch-cp.exp: New file.
3404
34052018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3406
3407 * gdb.base/infcall-nested-structs.exp: New file.
3408 * gdb.base/infcall-nested-structs.c: New file.
3409 * gdb.base/float.exp: Add riscv support.
3410
34112018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3412
3413 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3414 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3415
34162018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3417
3418 * gdb.server/abspath.exp: New file.
3419 * lib/gdb.exp (with_cwd): New procedure.
3420
34212018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3422
3423 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3424 use it.
3425 (gdb_is_target_remote_prompt): New proc.
3426 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3427 (gdb_is_target_native): Pass prompt parameter to
3428 gdb_is_target_1.
3429
34302018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3431
3432 * gdb.base/load-command.c: New file.
3433 * gdb.base/load-command.exp: New file.
3434 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3435 (gdb_is_target_1): ...this, and generalize for other targets
3436 than just remote.
3437 (gdb_is_target_remote): Use gdb_is_target_1.
3438 (gdb_is_target_native): use gdb_is_target_1.
3439
34402018-02-26 Tom Tromey <tom@tromey.com>
3441
3442 PR python/16497:
3443 * gdb.python/py-framefilter.exp: Update test.
3444
34452018-02-26 Tom Tromey <tom@tromey.com>
3446
3447 * gdb.dwarf2/variant.c: New file.
3448 * gdb.dwarf2/variant.exp: New file.
3449
34502018-02-26 Tom Tromey <tom@tromey.com>
3451
3452 * gdb.rust/simple.exp: Accept more possible results in enum test.
3453
34542018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3455
3456 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3457 parentheses.
3458
34592018-02-23 Maciej W. Rozycki <macro@mips.com>
3460
3461 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3462 name of a variable: $actual_linejj -> $actual_line.
3463
34642018-02-21 John Baldwin <jhb@FreeBSD.org>
3465
3466 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3467
34682018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3469
3470 * gdb.btrace/buffer-size.exp: Do not force BTS.
3471
34722018-02-14 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3475 getting a "Quit".
3476
34772018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3478
3479 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3480 Fix test name.
3481
34822018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3483
3484 * gdb.cp/m-static.exp: Check type of optimized out static
3485 member.
3486
34872018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3488
3489 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3490 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3491
34922018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3493 Leszek Swirski <leszeks@google.com>
3494
3495 * gdb.python/py-prettyprint.c
3496 (struct to_string_returns_value_inner,
3497 struct to_string_returns_value_wrapper): New.
3498 (main): Add tsrvw variable.
3499 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3500 ToStringReturnsValueWrapper): New classes.
3501 (register_pretty_printers): Register new pretty-printers.
3502 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3503 recursive pretty printer.
3504 * gdb.python/py-mi.exp: Likewise.
3505
35062018-02-01 Leszek Swirski <leszeks@google.com>
3507
3508 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3509 functions with the same name as an include file are parsed
3510 correctly.
3511
35122018-02-01 Yao Qi <yao.qi@linaro.org>
3513
3514 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3515 "\[^\r\n\]*".
3516
35172018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3518
3519 * gdb.arch/powerpc-prologue-frame.s: New file.
3520 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3521 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3522
35232018-01-31 Joel Brobecker <brobecker@adacore.com>
3524
3525 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3526
35272018-01-30 Pedro Alves <palves@redhat.com>
3528
3529 PR gdb/13211
3530 * gdb.base/interrupt-daemon.c: New.
3531 * gdb.base/interrupt-daemon.exp: New.
3532 * gdb.multi/multi-term-settings.c: New.
3533 * gdb.multi/multi-term-settings.exp: New.
3534
35352018-01-30 Joel Brobecker <brobecker@adacore.com>
3536
3537 * gdb.base/break.exp: Save the location where the breakpoint
3538 on break.c:47 was actually inserted when debugging the version
3539 compiled at -O2 and use it in the expected output of the "info
3540 break" test performed soon after.
3541
35422018-01-22 Pedro Alves <palves@redhat.com>
3543 Sergio Durigan Junior <sergiodj@redhat.com>
3544
3545 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3546 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3547
35482018-01-22 Joel Brobecker <brobecker@adacore.com>
3549
3550 * gdb.base/break-include.c, gdb.base/break-include.inc,
3551 gdb.base/break-include.exp: New files.
3552 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3553 line number now being the actual line number where the breakpoint
3554 was inserted.
3555 * gdb.mi/mi-break.exp: Likewise.
3556 * gdb.mi/mi-reverse.exp: Likewise.
3557 * gdb.mi/mi-simplerun.exp: Ditto.
3558
35592018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3560
3561 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3562 varobj.
3563 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3564
35652018-01-21 Don Breazeal <donb@codesourcery.com>
3566 Andrew Burgess <andrew.burgess@embecosm.com>
3567
3568 * gdb.mi/basics.c: Add new global.
3569 * gdb.mi/mi-frame-regs.exp: New file.
3570 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3571 case.
3572
35732018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3574
3575 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3576 non-parameter, and on an unknown symbol.
3577
35782018-01-19 Tom Tromey <tom@tromey.com>
3579
3580 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3581 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3582
35832018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3584
3585 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3586 setrlimit and chdir to int.
3587
35882018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3589
3590 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3591 function.
3592 (my_tend): Likewise.
3593 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3594 rationale of avoiding FP- and vector instructions.
3595
35962018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3597
3598 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3599 "info reg" with "\[ \t\]*".
3600 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3601 "\[ \t\]+".
3602 * gdb.arch/s390-multiarch.exp: Ditto.
3603 * gdb.base/pc-fp.exp: Ditto.
3604 * gdb.reverse/i386-precsave.exp: Ditto.
3605 * gdb.reverse/i386-reverse.exp: Ditto.
3606 * gdb.reverse/i387-env-reverse.exp: Ditto.
3607 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3608
36092018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3610
3611 * lib/gdb.exp (gdb_compile): Re-enable use of
3612 universal_compile_options for languages other than Rust.
3613
36142018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3615
3616 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3617
36182018-01-17 Mike Gulick <mgulick@mathworks.com>
3619
3620 PR gdb/16577
3621 * gdb.base/solib-vanish.exp: New.
3622 * gdb.base/solib-vanish-main.c: New.
3623 * gdb.base/solib-vanish-lib1.c: New.
3624 * gdb.base/solib-vanish-lib2.c: New.
3625
36262018-01-17 Yao Qi <yao.qi@linaro.org>
3627
3628 * gdb.compile/compile.exp: Match the address printed for
3629 frame in the output of command "bt".
3630
36312018-01-15 Tom Tromey <tom@tromey.com>
3632
3633 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3634 compute sp_reg.
3635
36362018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3637
3638 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3639 to prepare.
3640 (prepare): Return 0 on error, 1 on success.
3641
36422018-01-12 Pedro Alves <palves@redhat.com>
3643
3644 * gdb.base/continue-after-aborted-step-over.c: New.
3645 * gdb.base/continue-after-aborted-step-over.exp: New.
3646
36472018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3648
3649 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3650 options when not creating an executable.
3651
36522018-01-11 Pedro Alves <palves@redhat.com>
3653
3654 PR remote/22597
3655 * gdb.server/stop-reply-no-thread.c: New file.
3656 * gdb.server/stop-reply-no-thread.exp: New file.
3657
36582018-01-10 Pedro Alves <palves@redhat.com>
3659
3660 PR gdb/22670
3661 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3662 functions too. Test setting breakpoints and printing C functions
3663 with no debug info too.
3664 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3665
36662018-01-10 Pedro Alves <palves@redhat.com>
3667
3668 PR gdb/22670
3669 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3670 a fail.
3671
36722018-01-10 Pedro Alves <palves@redhat.com>
3673
3674 PR gdb/22670
3675 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3676
36772018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3678
3679 * gdb.server/unittest.exp: Match the output in non-development
3680 mode.
3681
36822018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3683
3684 * gdb.gdb/unittest.exp: Match output in non-development mode.
3685
36862018-01-08 Joel Brobecker <brobecker@adacore.com>
3687
3688 * gdb.ada/access_tagged_param.exp: Relax expected output
3689 for value of "ObjL" in "continue" to pck.inspect breakpoint
3690 test.
3691
36922018-01-08 Joel Brobecker <brobecker@adacore.com>
3693
3694 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3695 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3696
36972018-01-05 Pedro Alves <palves@redhat.com>
3698
3699 PR gdb/18653
3700 * gdb.base/libsegfault.exp: New.
3701
37022018-01-05 Joel Brobecker <brobecker@adacore.com>
3703
3704 PR gdb/22670
3705 * gdb.ada/access_tagged_param.exp: New file.
3706 * gdb.ada/access_tagged_param/foo.adb: New file.
3707
37082018-01-05 Pedro Alves <palves@redhat.com>
3709
3710 PR gdb/22670
3711 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3712 exercise lower case too, and to exercise both full matching and
3713 wild matching.
3714
37152018-01-05 Joel Brobecker <brobecker@adacore.com>
3716
3717 * gdb.ada/rename_subscript_param: New testcase.
3718
37192018-01-05 Jerome Guitton <guitton@adacore.com>
3720
3721 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3722
37232018-01-05 Joel Brobecker <brobecker@adacore.com>
3724
3725 * gdb.ada/convvar_comp: New testcase.
3726
37272018-01-05 Xavier Roirand <roirand@adacore.com>
3728
3729 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3730 (My_Table): New global variable.
3731 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3732
37332018-01-04 Joel Brobecker <brobecker@adacore.com>
3734
3735 PR gdb/22670
3736 * gdb.ada/maint_with_ada: New testcase.
3737
37382018-01-04 Joel Brobecker <brobecker@adacore.com>
3739
3740 PR gdb/22670
3741 * gdb.ada/bp_c_mixed_case: New testcase.
3742
37432018-01-04 Joel Brobecker <brobecker@adacore.com>
3744
3745 PR gdb/22670
3746 * gdb.ada/complete.exp: Add "complete break ada" test.
3747
37482018-01-04 Joel Brobecker <brobecker@adacore.com>
3749
3750 PR gdb/22670
3751 * gdb.ada/info_addr_mixed_case: New testcase.
3752
37532018-01-03 Xavier Roirand <roirand@adacore.com>
3754
3755 * gdb.ada/excep_handle.exp: New testcase.
3756 * gdb.ada/excep_handle/foo.adb: New file.
3757 * gdb.ada/excep_handle/pck.ads: New file.
3758
37592018-01-03 Joel Brobecker <brobecker@adacore.com>
3760
3761 * gdb.base/step-line.c: Add extra empty line in copyright header.
3762 * gdb.base/step-line.inp: Likewise.
3763
37642018-01-02 Joel Brobecker <brobecker@adacore.com>
3765
3766 * gdb.ada/dyn_stride.exp: Add slice test.
3767
37682018-01-02 Joel Brobecker <brobecker@adacore.com>
3769
3770 * gdb.ada/dyn_stride: New testcase.
3771
37722017-12-27 Stafford Horne <shorne@gmail.com>
3773
3774 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3775 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3776
37772017-12-27 Stafford Horne <shorne@gmail.com>
3778
3779 * gdb.base/reggroups.c: New file.
3780 * gdb.base/reggroups.exp: New file.
3781
37822017-12-18 Joel Brobecker <brobecker@adacore.com>
3783
3784 * gdb.dwarf2/ada-valprint-error.c: New file.
3785 * gdb.dwarf2/ada-valprint-error.exp: New file.
3786
37872017-12-18 Joel Brobecker <brobecker@adacore.com>
3788
3789 * gdb.ada/assign_arr: New testcase.
3790
37912017-12-18 Xavier Roirand <roirand@adacore.com>
3792
3793 * gdb.ada/funcall_ptr: New testcase.
3794
37952017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3796
3797 PR cli/16224
3798 * gdb.base/ptype-offsets.cc: New file.
3799 * gdb.base/ptype-offsets.exp: New file.
3800
38012017-12-15 Yao Qi <yao.qi@linaro.org>
3802
3803 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3804 if XML is disabled.
3805
38062017-12-15 Xavier Roirand <roirand@adacore.com>
3807
3808 * gdb.ada/same_component_name: New testcase.
3809
38102017-12-14 Joel Brobecker <brobecker@adacore.com>
3811
3812 * gdb.ada/str_binop_equal: New testcase.
3813
38142017-12-14 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.ada/task_switch_in_core: New testcase.
3817
38182017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3819
3820 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3821 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3822 call test_bkpt_qualified.
3823 (test_bkpt_qualified): New proc.
3824
38252017-12-13 Pedro Alves <palves@redhat.com>
3826
3827 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3828 Tighten regexp by matching with an anchor.
3829
38302017-12-13 Pedro Alves <palves@redhat.com>
3831
3832 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3833 ("expression with namespace"): New set of tests.
3834 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3835 (Nested::Test_NS::qux): New.
3836 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3837 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3838
38392017-12-13 Joel Brobecker <brobecker@adacore.com>
3840
3841 * gdb.base/server-del-break.c: New file.
3842 * gdb.base/server-del-break.exp: New file.
3843
38442017-12-12 Stafford Horne <shorne@gmail.com>
3845
3846 * gdb.xml/tdesc-regs.exp: Add or1k support.
3847
38482017-12-12 Stafford Horne <shorne@gmail.com>
3849
3850 * gdb.base/bp-permanent.c: Define nop of or1k.
3851
38522017-12-11 Joel Brobecker <brobecker@adacore.com>
3853
3854 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3855 output with components being reordered.
3856
38572017-12-11 Joel Brobecker <brobecker@adacore.com>
3858
3859 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3860 output with components being reordered.
3861
38622017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.base/maint.exp (check for .gdb_index): Check also for
3866 .debug_names.
3867 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3868 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3869 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3870 (.gdb_index used after symbol reloading): Support also .debug_names.
3871 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3872
38732017-12-08 Yao Qi <yao.qi@linaro.org>
3874
3875 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3876 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3877
38782017-12-08 Yao Qi <yao.qi@linaro.org>
3879
3880 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3881 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3882
38832017-12-08 Yao Qi <yao.qi@linaro.org>
3884
3885 * gdb.arch/aarch64-tagged-pointer.c: New file.
3886 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3887
38882017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3889
3890 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3891 "int".
3892
38932017-12-07 Keith Seitz <keiths@redhat.com>
3894
3895 PR breakpoints/22569
3896 * gdb.linespec/ls-errs.exp: Change expected result of "break
3897 -source this file has spaces.c -line 3".
3898 Check that an explicit source file followed by whitespace is
3899 identified as an invalid explicit location.
3900
39012017-12-07 Keith Seitz <keiths@redhat.com>
3902
3903 * gdb.cp/nested-types.cc: New file.
3904 * gdb.cp/nested-types.exp: New file.
3905 * lib/cp-support.exp: Load data-structures.exp library.
3906 (debug_cp_test_ptype_class): New global.
3907 (cp_ptype_class_verbose, next_line): New procedures.
3908 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3909 Add and document new return value.
3910 Switch the list of lines to a queue.
3911 Add support for new `type' key for nested type definitions.
3912 Add debugging/troubleshooting messages.
3913 * lib/data-structures.exp: New file.
3914
39152017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3916
3917 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3918 with proc_with_prefix, don't use with_test_prefix.
3919
39202017-12-07 Tom Tromey <tom@tromey.com>
3921
3922 * gdb.base/break.exp: Add test for empty "commands".
3923
39242017-12-07 Yao Qi <yao.qi@linaro.org>
3925
3926 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3927 malloc and catch syscall.
3928
39292017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3930
3931 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3932 tests for explicit locations.
3933
39342017-12-06 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3937 force-disabling XML descriptions.
3938
39392017-12-04 Pedro Alves <palves@redhat.com>
3940
3941 PR gdb/22499
3942 * gdb.arch/amd64-disp-step-avx.S: New file.
3943 * gdb.arch/amd64-disp-step-avx.exp: New file.
3944
39452017-12-03 Pedro Alves <palves@redhat.com>
3946
3947 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3948 and <string.h>.
3949 (parent_function): Print distinct messages when waitpid fails, or
3950 the child exits with a signal, or the child exits for an unhandled
3951 reason.
3952 * gdb.threads/process-dies-while-detaching.exp
3953 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3954 it. Wait for both inferior output and GDB's prompt. Use an
3955 indirect spawn id list.
3956 (do_detach): New parameter 'child_exit'. Use it to compute
3957 expected inferior output.
3958 (test_detach, test_detach_watch, test_detach_killed_outside):
3959 Adjust to pass down the expected child exit kind.
3960
39612017-12-01 Joel Brobecker <brobecker@adacore.com>
3962 Sergio Durigan Junior <sergiodj@redhat.com>
3963 Pedro Alves <palves@redhat.com>
3964
3965 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3966
39672017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3968
3969 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3970 to 'symbol-file' and 'add-symbol-file' can be
3971 position-independent.
3972
39732017-12-01 Yao Qi <yao.qi@linaro.org>
3974
3975 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3976 the URL in copyright header.
3977 * gdb.arch/aarch64-fp.exp: Likewise.
3978 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3979 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3980 * gdb.base/expand-psymtabs.exp: Likewise.
3981 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3982 * gdb.fortran/common-block.exp: Likewise.
3983 * gdb.fortran/common-block.f90: Likewise.
3984 * gdb.fortran/logical.exp: Likewise.
3985 * gdb.fortran/vla-datatypes.f90: Likewise.
3986 * gdb.fortran/vla-sub.f90: Likewise.
3987
39882017-11-30 Joel Brobecker <brobecker@adacore.com>
3989
3990 * gdb.ada/repeat_dyn: New testcase.
3991
39922017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3993
3994 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3995 Update for changed thread numbering.
3996 * gdb.cell/bt.exp: Update for changed GDB output.
3997
39982017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3999
4000 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4001 setting isremote by hand.
4002 * boards/dwarf4-gdb-index.exp: Likewise.
4003 * boards/fission.exp: Likewise.
4004 * boards/stabs.exp: Likewise.
4005
40062017-11-30 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.linespec/cpls-ops.exp
4009 (check_explicit_skips_function_argument): Extract the underlying
4010 type of size_t instead of hardcoding it.
4011
40122017-11-29 Pedro Alves <palves@redhat.com>
4013
4014 PR c++/19436
4015 * gdb.linespec/cpls-abi-tag.cc: New file.
4016 * gdb.linespec/cpls-abi-tag.exp: New file.
4017
40182017-11-29 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.base/langs.exp: Use -qualified.
4021 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4022 it.
4023 * gdb.cp/namespace.exp: Use -qualified.
4024 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4025 (overload-3, template-overload, template-ret-type, const-overload)
4026 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4027 procedures.
4028 (test_driver): Call them.
4029 * gdb.cp/save-bp-qualified.cc: New.
4030 * gdb.cp/save-bp-qualified.exp: New.
4031 * gdb.linespec/explicit.exp: Test -qualified.
4032 * lib/completion-support.exp (completion::explicit_opts_list): Add
4033 "-qualified".
4034 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4035
40362017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4037
4038 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4039
40402017-11-29 Tom Tromey <tom@tromey.com>
4041
4042 * gdb.base/relocate.exp: Update invalid argument test.
4043 Add new tests for invalid arguments.
4044
40452017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4046
4047 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4048 Return 0 as a long.
4049 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4050
40512017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4052
4053 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4054 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4055 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4056 func ().
4057 * gdb.cp/shadow.cc (B.func): Return 0.
4058
40592017-11-27 Joel Brobecker <brobecker@adacore.com>
4060
4061 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4062 expected output in gdb_expect call to allow the exception
4063 message to be present as well. Fix syntax confusion to avoid
4064 TCL thinking that exception_name is an array.
4065
40662017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4067
4068 * gdb.arch/spu-info.c: Include <unistd.h>.
4069 (do_signal_test): Fix broken calls to write.
4070 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4071 Fix checks for empty mailboxes. Update signal tests for corrected
4072 do_signal_test routine. Allow nonzero event status.
4073 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4074 * gdb.cell/arch.exp: Use standard_output_file.
4075 * gdb.cell/break.exp: Likewise.
4076 * gdb.cell/bt.exp: Likewise.
4077 * gdb.cell/core.exp: Likewise.
4078 * gdb.cell/dwarfaddr.exp: Likewise.
4079 * gdb.cell/ea-cache.exp: Likewise.
4080 * gdb.cell/ea-standalone.exp: Likewise.
4081 * gdb.cell/f-regs.exp: Likewise.
4082 * gdb.cell/fork.exp: Likewise.
4083 * gdb.cell/gcore.exp: Likewise.
4084 * gdb.cell/mem-access.exp: Likewise.
4085 * gdb.cell/ptype.exp: Likewise.
4086 * gdb.cell/registers.exp: Likewise.
4087 * gdb.cell/sizeof.exp: Likewise.
4088 * gdb.cell/solib-symbol.exp: Likewise.
4089 * gdb.cell/solib.exp: Likewise.
4090
40912017-11-25 Pedro Alves <palves@redhat.com>
4092
4093 * gdb.base/complete-empty.exp: New file.
4094 * gdb.base/completion.exp: Adjust.
4095
40962017-11-25 Pedro Alves <palves@redhat.com>
4097
4098 * gdb.linespec/cpls-ops.cc: New file.
4099 * gdb.linespec/cpls-ops.exp: New file.
4100 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4101 factored out from ...
4102 (test_complete_prefix_range): ... this.
4103
41042017-11-24 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.linespec/cpcompletion.exp: New file.
4107 * gdb.linespec/cpls-hyphen.cc: New file.
4108 * gdb.linespec/cpls.cc: New file.
4109 * gdb.linespec/cpls2.cc: New file.
4110 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4111 test to use test_gdb_complete_unique. Add label completion,
4112 keyword completion and explicit location completion tests.
4113 * lib/completion-support.exp: New file.
4114
41152017-11-24 Joel Brobecker <brobecker@adacore.com>
4116
4117 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4118 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4119 when hitting an exception catchpoint.
4120
41212017-11-22 Yao Qi <yao.qi@linaro.org>
4122
4123 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4124
41252017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4126
4127 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4128 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4129 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4130
41312017-11-22 Yao Qi <yao.qi@linaro.org>
4132
4133 * gdb.base/info-os.exp: Pass pthreads.
4134 * gdb.multi/multi-attach.exp: Likewise.
4135
41362017-11-22 Yao Qi <yao.qi@linaro.org>
4137
4138 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4139 compiler.
4140
41412017-11-22 Yao Qi <yao.qi@linaro.org>
4142
4143 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4144 * gdb.base/break-interp.exp: Likewise.
4145 * gdb.base/jit-attach-pie.exp: Likewise.
4146
41472017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4148
4149 * gdb.base/float128.c (large128): New variable.
4150 * gdb.base/float128.exp: Add test to print largest __float128 value.
4151
41522017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4153
4154 * gdb.arch/vsx-regs.exp: Update register content checks.
4155
41562017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4157
4158 * gdb.arch/ppc-longdouble.exp: New file.
4159 * gdb.arch/ppc-longdouble.c: Likewise.
4160
41612017-11-21 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4164
41652017-11-20 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4168 (long_double_typedef): New typedefs.
4169 Use DEF on double and long double.
4170 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4171 cases.
4172 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4173 and 'long_double_ptr_same_size' locals. Use them to decide
4174 whether cast from array/function to float is valid/invalid.
4175
41762017-11-17 Tom Tromey <tom@tromey.com>
4177
4178 * gdb.rust/traits.rs: New file.
4179 * gdb.rust/traits.exp: New file.
4180
41812017-11-17 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/minsyms: New testcase.
4184
41852017-11-16 Pedro Alves <palves@redhat.com>
4186
4187 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4188 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4189
41902017-11-16 Pedro Alves <palves@redhat.com>
4191
4192 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4193 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4194
41952017-11-16 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.server/reconnect-ctrl-c.c: New file.
4198 * gdb.server/reconnect-ctrl-c.exp: New file.
4199
42002017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4201
4202 * gdb.python/py-rbreak.exp: New file.
4203 * gdb.python/py-rbreak.c: New file.
4204 * gdb.python/py-rbreak-func2.c: New file.
4205
42062017-11-16 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4209 pattern.
4210 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4211 GDB.
4212
42132017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4216 regex.
4217
42182017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4219
4220 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4221 test names.
4222
42232017-11-09 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4226 factored out from ...
4227 (top level): ... here, and adjusted to avoid expecting beyond the
4228 prompt in a single gdb_test_multiple.
4229
42302017-11-09 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4233 output.
4234 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4235 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4236 * gdb.server/ext-run.exp ("kill" test): Likewise.
4237 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4238
42392017-11-09 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4242 match till end of line.
4243
42442017-11-09 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4247
42482017-11-09 Pedro Alves <palves@redhat.com>
4249
4250 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4251 New procedures, factored out from ...
4252 (top level): ... here, and adjusted to avoid expecting beyond the
4253 prompt in one go.
4254
42552017-11-09 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4258 output. Fix '?' match.
4259
42602017-11-08 Joel Brobecker <brobecker@adacore.com>
4261
4262 * gdb.ada/scoped_watch: New testcase.
4263 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4264 which is actually correct.
4265 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4266 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4267
42682017-11-08 Pedro Alves <palves@redhat.com>
4269
4270 * gdb.gdb/complaints.exp (test_initial_complaints)
4271 (test_serial_complaints, test_short_complaints): Call
4272 complaint_internal instead of complaint.
4273
42742017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4275
4276 * gdb.threads/tls-core.c: New file.
4277 * gdb.threads/tls-core.exp: Likewise.
4278
42792017-11-08 Pedro Alves <palves@redhat.com>
4280
4281 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4282 (p Exported_Capitalized): New test.
4283 (p exported_capitalized): New test.
4284
42852017-11-07 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4288
42892017-11-07 Pedro Alves <palves@redhat.com>
4290
4291 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4292 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4293 (disable_invalid, disable_inverted, disable_negative): New
4294 procedures.
4295 ("bad numbers"): New set of tests.
4296
42972017-11-07 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.cp/ena-dis-br-range.exp: Add tests.
4300
43012017-11-07 Pedro Alves <palves@redhat.com>
4302
4303 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4304
43052017-11-07 Xavier Roirand <roirand@adacore.com>
4306 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.base/ena-dis-br.exp: Add reference to
4309 gdb.cp/ena-dis-br-range.exp.
4310 * gdb.cp/ena-dis-br-range.exp: New file.
4311 * gdb.cp/ena-dis-br-range.cc: New file.
4312
43132017-11-06 Pedro Alves <palves@redhat.com>
4314
4315 * gdb.base/attach-non-pgrp-leader.c: New.
4316 * gdb.base/attach-non-pgrp-leader.exp: New.
4317
43182017-11-06 Pedro Alves <palves@redhat.com>
4319
4320 * configure.ac: No longer check for termio.h and sgtty.h.
4321 * configure: Regenerate.
4322 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4323 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4324 Remove termio and sgtty code.
4325
43262017-11-03 Yao Qi <yao.qi@linaro.org>
4327
4328 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4329 in GDB is disabled.
4330
43312017-11-03 Yao Qi <yao.qi@linaro.org>
4332
4333 * gdb.python/py-thrhandle.exp: Skip it if python is not
4334 enabled.
4335
43362017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4337
4338 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4339 as a breakpoint command.
4340
43412017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4342
4343 PR python/21213
4344 * gdb.python/py-infthread.exp: Test calling
4345 InferiorThread.inferior () multiple times in a row.
4346
43472017-10-27 Keith Seitz <keiths@redhat.com>
4348
4349 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4350 Test "info break" for every inlined function breakpoint.
4351
43522017-10-27 Yao Qi <yao.qi@linaro.org>
4353
4354 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4355
43562017-10-26 Patrick Frants <osscontribute@gmail.com>
4357
4358 * gdb.cp/classes.exp (test_static_members): Test printing
4359 Outer::instance.
4360 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4361 (Inner::instance, Outer::instance): New.
4362
43632017-10-24 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4366 extra console" test in two stages.
4367
43682017-10-24 Pedro Alves <palves@redhat.com>
4369
4370 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4371
43722017-10-24 Pedro Alves <palves@redhat.com>
4373
4374 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4375 loop.
4376
43772017-10-24 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4380 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4381
43822017-10-24 Pedro Alves <palves@redhat.com>
4383
4384 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4385 parameter and handle it. Don't output read value in test name.
4386
43872017-10-24 Pedro Alves <palves@redhat.com>
4388
4389 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4390 custom test name.
4391
43922017-10-24 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4395 include the unstable output directory name in the test's name.
4396 (initial_setup_simple) <'set args'>: Use custom test name.
4397
43982017-10-24 Pedro Alves <palves@redhat.com>
4399
4400 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4401 with explicit test name.
4402
44032017-10-20 Pedro Alves <palves@redhat.com>
4404
4405 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4406 'wait -i'. Use gdb_assert and remote_close.
4407
44082017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4409
4410 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4411 number from variable rather than hard-coded.
4412
44132017-10-19 Pedro Alves <palves@redhat.com>
4414
4415 * gdb.base/long-inferior-output.c: New file.
4416 * gdb.base/long-inferior-output.exp: New file.
4417
44182017-11-18 Keith Seitz <keiths@redhat.com>
4419
4420 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4421 method.
4422 (main): Call it.
4423 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4424 Add additional user-defined conversion operator tests.
4425
44262017-10-17 Pedro Alves <palves@redhat.com>
4427
4428 * boards/native-stdio-gdbserver.exp: Load "local-board".
4429
44302017-10-17 Pedro Alves <palves@redhat.com>
4431
4432 * gdb.base/quit-live.c: New file.
4433 * gdb.base/quit-live.exp: New file.
4434
44352017-10-16 Keith Seitz <keiths@redhat.com>
4436
4437 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4438 (class_with_protected_typedef, class_with_private_typedef)
4439 (struct_with_public_typedef, struct_with_protected_typedef)
4440 (struct_with_private_typedef): New classes/structs.
4441 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4442 typedefs and access specifiers.
4443
44442017-10-16 Pedro Alves <palves@redhat.com>
4445 Simon Marchi <simon.marchi@polymtl.ca>
4446
4447 * README (Local vs Remote vs Native): New section.
4448 * boards/local-board.exp: New file, with bits factored out from
4449 ...
4450 * boards/native-extended-gdbserver.exp: ... here. Load
4451 "local-board".
4452 * boards/native-gdbserver.exp: Load "local-board".
4453 (${board}_spawn, ${board}_exec): Delete.
4454 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4455 ...
4456 * boards/stdio-gdbserver-base.exp: ... this new file.
4457 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4458 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4459 procedure.
4460 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4461 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4462 stdio_gdbserver_command.
4463 (${board}_get_remote_address, ${board}_get_comm_port)
4464 (${board}_download, ${board}_upload): Delete.
4465 (get_target_remote_pipe_cmd): New.
4466
44672017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4468
4469 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4470 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4471 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4472 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4473 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4474 remove with_test_prefix.
4475
44762017-10-13 Pedro Alves <palves@redhat.com>
4477
4478 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4479 * gdb.base/annota1.exp: Use it instead of is_remote.
4480 * gdb.base/annota3.exp: Use it instead of is_remote.
4481 * gdb.cp/annota2.exp: Use it instead of is_remote.
4482 * gdb.cp/annota3.exp: Use it instead of is_remote.
4483 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4484
44852017-10-13 Pedro Alves <palves@redhat.com>
4486
4487 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4488 (test_num_test_vars, run_and_count_vars, find_env)
4489 (test_set_unset_env, test_inherit_env_var): New procedures.
4490 (top level): Use them.
4491
44922017-10-13 Pedro Alves <palves@redhat.com>
4493
4494 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4495 also skip on stub-like targets.
4496
44972017-10-13 Pedro Alves <palves@redhat.com>
4498
4499 PR gdb/22293
4500 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4501 (top level): Move some tests to ...
4502 (test_not_found): ... this new procedure.
4503 (top level): Call it.
4504
45052017-10-13 Pedro Alves <palves@redhat.com>
4506
4507 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4508 expect different "info terminal" output if testing with a
4509 non-native target.
4510
45112017-10-13 Pedro Alves <palves@redhat.com>
4512 Simon Marchi <simon.marchi@polymtl.ca>
4513
4514 PR python/12966
4515 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4516
45172017-10-13 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4520 already.
4521
45222017-10-13 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4525 is_remote.
4526
45272017-10-13 Pedro Alves <palves@redhat.com>
4528
4529 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4530 is_remote.
4531
45322017-10-13 Pedro Alves <palves@redhat.com>
4533
4534 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4535 is set.
4536 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4537 instead of is_remote.
4538
45392017-10-13 Pedro Alves <palves@redhat.com>
4540
4541 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4542 (top level): Add comment.
4543
45442017-10-13 Pedro Alves <palves@redhat.com>
4545
4546 * gdb.base/remote.exp (top level): Fix comment typo and add
4547 missing return.
4548
45492017-10-13 Pedro Alves <palves@redhat.com>
4550 Simon Marchi <simon.marchi@polymtl.ca>
4551
4552 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4553 calls and add comments. Skip test if use_gdb_stub is set.
4554 (top level): Use "set cwd" command instead of "cd" command.
4555
45562017-10-13 Pedro Alves <palves@redhat.com>
4557
4558 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4559 is_remote target check.
4560
45612017-10-13 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.base/scope.exp: Use build_executable + clean_restart +
4564 gdb_file_cmd instead of prepare_for_testing and no longer skip
4565 "before run" tests on is_remote target boards. Update comments.
4566 * boards/native-extended-gdbserver.exp
4567 (extended_gdbserver_load_last_file): New, factored out from ...
4568 (gdb_load): ... this. Move further below and add comment.
4569 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4570
45712017-10-12 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.base/attach.exp: Remove references to gdb64.
4574 * gdb.base/dbx.exp: Remove references to gdb64.
4575
45762017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4577 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/label.exp: Remove is_remote target check.
4580
45812017-10-12 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.base/auvx.exp (coredir): Update comment.
4584 (top level) <core_works>: Use "set cwd" command instead of "cd"
4585 command.
4586
45872017-10-12 Pedro Alves <palves@redhat.com>
4588 Simon Marchi <simon.marchi@polymtl.ca>
4589
4590 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4591 target boards.
4592
45932017-10-12 Pedro Alves <palves@redhat.com>
4594 Simon Marchi <simon.marchi@polymtl.ca>
4595
4596 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4597 Instead skip if there's any gdb_protocol set.
4598
45992017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4600 Pedro Alves <palves@redhat.com>
4601
4602 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4603
46042017-10-12 Pedro Alves <palves@redhat.com>
4605 Simon Marchi <simon.marchi@polymtl.ca>
4606
4607 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4608 instead of on dejagnu remote boards.
4609
46102017-10-12 Pedro Alves <palves@redhat.com>
4611 Simon Marchi <simon.marchi@polymtl.ca>
4612
4613 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4614 checks. Use build_executable + clean_restart instead of
4615 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4616 of enabling non-stop after starting gdb.
4617
46182017-10-12 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4621 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4622 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4623 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4624
46252017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4626
4627 * gdb.arch/arc-tdesc-cpu.exp: New file.
4628 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4629
46302017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4631
4632 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4633
46342017-10-10 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4637 expect CLI output.
4638
46392017-10-10 Pedro Alves <palves@redhat.com>
4640
4641 * lib/selftest-support.exp (selftest_setup): Update for
4642 captured_command_loop's prototype change.
4643
46442017-10-09 Pedro Alves <palves@redhat.com>
4645
4646 Test both arch1=>arch2 and arch2=>arch1.
4647
4648 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4649 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4650 factored out to...
4651 (append_arch1_options, append_arch2_options, append_arch_options)
4652 (build_executables): New procedures.
4653 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4654 local.
4655 (top level): Add new 'first_arch' testing axis.
4656
46572017-10-09 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4660 (barrier): New.
4661 (thread_start, all_started): New functions.
4662 (main): Spawn new thread and wait until it is scheduled.
4663 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4664 option.
4665 (do_test): Add 'selected_thread' parameter. Run to all_started
4666 instead of main. Explicitly set the breakpoint at main. Switch
4667 to the SELECTED_THREAD thread.
4668 (top level): Test handling the exec event with either the main
4669 thread or the second thread selected.
4670
46712017-10-09 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4674 logic. Move STOP marker after the value checks.
4675 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4676 regexp.
4677
46782017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4679
4680 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4681
46822017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4683
4684 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4685 integer-to-dfp conversion.
4686 * gdb.base/dfp-test.exp: Likewise.
4687
46882017-10-04 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.multi/hangout.c: Include <unistd.h>.
4691 (hangout_loop): New function.
4692 (main): Call alarm. Call hangout_loop in a loop.
4693 * gdb.multi/hello.c: Include <unistd.h>.
4694 (hello_loop): New function.
4695 (main): Call alarm. Call hangout_loop in a loop.
4696 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4697 inferior with the other selected.
4698
46992017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4700
4701 * gdb.mi/list-thread-groups-available.exp: New file.
4702 * gdb.mi/list-thread-groups-available.c: New file.
4703
47042017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4705
4706 * gdb.base/set-cwd.exp: Make it available on
4707 native-extended-gdbserver.
4708
47092017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4710
4711 * gdb.base/set-cwd.c: New file.
4712 * gdb.base/set-cwd.exp: Likewise.
4713
47142017-10-02 Tom Tromey <tom@tromey.com>
4715
4716 PR rust/22236:
4717 * gdb.rust/simple.rs (main): New variable "fslice".
4718 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4719
47202017-10-02 Tom Tromey <tom@tromey.com>
4721
4722 * gdb.rust/simple.exp: Test ptype of a slice.
4723
47242017-10-02 Tom Tromey <tom@tromey.com>
4725
4726 * gdb.rust/simple.exp: Test index of slice.
4727
47282017-09-27 Tom Tromey <tom@tromey.com>
4729
4730 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4731
47322017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4733 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.base/compare-sections.exp (get value of read-only section): Read
4736 as unsigned value.
4737 (corrupt read-only section): Likewise and don't set written if patching
4738 failed.
4739
47402017-09-21 Kevin Buettner <kevinb@redhat.com>
4741
4742 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4743 files.
4744
47452017-09-20 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4748 symbol names in gdb's output.
4749 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4750
47512017-09-20 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4754 Rename to ...
4755 (test_list_ambiguous_symbol): ... this and add a symbol name
4756 parameter. Adjust.
4757 (test_list_ambiguous_function): Reimplement on top of
4758 test_list_ambiguous_symbol and also test listing ambiguous
4759 variables.
4760 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4761 (ambiguous_fun): ... this.
4762 (ambiguous_var): New.
4763 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4764 (ambiguous_fun): ... this.
4765 (ambiguous_var): New.
4766
47672017-09-19 John Baldwin <jhb@FreeBSD.org>
4768
4769 * gdb.base/starti.c: New file.
4770 * gdb.base/starti.exp: New file.
4771 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4772
47732017-09-14 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4776 (top level): Use it instead of runto.
4777
47782017-09-11 Tom Tromey <tom@tromey.com>
4779
4780 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4781
47822017-09-11 Tom Tromey <tom@tromey.com>
4783
4784 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4785 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4786
47872017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4788
4789 * gdb.fortran/printing-types.exp: New file.
4790 * gdb.fortran/printing-types.exp: New file.
4791
47922017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4793
4794 * gdb.fortran/vla-ptype.exp: Fix typos.
4795 * gdb.fortran/vla-value.exp: Same.
4796
47972017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4798
4799 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4800 * gdb.mi/mi-var-child-f.exp: Likewise.
4801 * gdb.mi/mi-vla-fortran.exp: Likewise.
4802
48032017-09-08 Frank Penczek <frank.penczek@intel.com>
4804 Christoph Weinmann <christoph.t.weinmann@intel.com>
4805 Bernhard Heckel <bernhard.heckel@intel.com>
4806
4807 * gdb.fortran/ptr-indentation.f90: New file.
4808 * gdb.fortran/ptr-indentation.exp: New file.
4809
48102017-09-05 Tom Tromey <tom@tromey.com>
4811
4812 PR gdb/22010:
4813 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4814
48152017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4816
4817 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4818
48192017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4820
4821 * gdb.threads/tls-nodebug-pie.c: New file.
4822 * gdb.threads/tls-nodebug-pie.exp: New file.
4823
48242017-09-05 Tom Tromey <tom@tromey.com>
4825
4826 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4827 for rust.
4828
48292017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4830
4831 * gdb.multi/multi-arch-exec.exp: Test with different
4832 "follow-exec-mode" settings.
4833 (do_test): New procedure.
4834
48352017-09-04 Pedro Alves <palves@redhat.com>
4836
4837 * gdb.base/func-static.c (S::method const, S::method volatile)
4838 (S::method volatile const): New methods.
4839 (c_s, v_s, cv_s): New instances.
4840 (main): Call method() on them.
4841 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4842 (cannot_resolve): New procedure.
4843 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4844 print-quote-unquoted columns.
4845 (do_test): Test printing each scope too.
4846
48472017-09-04 Pedro Alves <palves@redhat.com>
4848
4849 * gdb.base/local-static.exp: Also test with
4850 class::method::variable wholly quoted.
4851 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4852
48532017-09-04 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.base/local-static.c: New.
4856 * gdb.base/local-static.cc: New.
4857 * gdb.base/local-static.exp: New.
4858
48592017-09-04 Pedro Alves <palves@redhat.com>
4860
4861 * gdb.asm/asm-source.exp: Add casts to int.
4862 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4863 (dataglobal64_1, dataglobal64_2): New globals.
4864 * gdb.base/nodebug.exp: Test different expressions involving the
4865 new globals, with print, whatis and ptype. Add casts to int.
4866 * gdb.base/solib-display.exp: Add casts to int.
4867 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4868 * gdb.cp/m-static.exp: Add cast to int.
4869 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4870 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4871 tls variable with no debug info without a cast. Test with a cast
4872 to int too.
4873 * gdb.trace/entry-values.exp: Add casts.
4874
48752017-09-04 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.base/nodebug.exp: Test that ptype's error about functions
4878 with unknown return type includes the function name too.
4879
48802017-09-04 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4883 return type of munmap in infcall.
4884 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4885 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4886 type of ftell in infcall.
4887 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4888 type of getpid in infcall.
4889 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4890 infcall.
4891 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4892 Bail on failure to extract the pid.
4893 * gdb.base/nodebug.c: #include <stdint.h>.
4894 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4895 New functions.
4896 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4897 Change expected output of print/whatis/ptype with functions with
4898 no debug info. Test all supported languages. Call
4899 test_call_promotion.
4900 * gdb.compile/compile.exp: Adjust expected output to expect
4901 warning.
4902 * gdb.threads/siginfo-threads.exp: Likewise.
4903
49042017-09-04 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4907 "prototypes". Test calling float functions via prototyped and
4908 unprototyped function pointers.
4909 (perform_all_tests): New parameter "prototypes". Pass it down.
4910 (top level): Pass down "prototypes" parameter to
4911 perform_all_tests.
4912
49132017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4914
4915 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4916 Test with nested loops.
4917
49182017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4919
4920 * gdb.base/commands.exp: Call the new procedures.
4921 (loop_break_test, loop_continue_test): New procedures.
4922
49232017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4924
4925 * gdb.base/commands.exp: Call new procedure.
4926 (define_if_without_arg_test): New procedure.
4927
49282017-09-04 Pedro Alves <palves@redhat.com>
4929
4930 * gdb.base/list-ambiguous.exp: New file.
4931 * gdb.base/list-ambiguous0.c: New file.
4932 * gdb.base/list-ambiguous1.c: New file.
4933 * gdb.base/list.exp (test_list_range): Adjust expected output.
4934
49352017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4936
4937 * gdb.base/share-env-with-gdbserver.c: New file.
4938 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4939
49402017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4941
4942 * gdb.base/commands.exp (gdbvar_simple_if_test,
4943 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4944 progvar_simple_if_test, progvar_simple_while_test,
4945 progvar_complex_if_while_test, user_defined_command_test,
4946 user_defined_command_args_eval,
4947 user_defined_command_args_stack_test,
4948 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4949 temporary_breakpoint_commands,
4950 gdb_test_no_prompt, redefine_hook_test,
4951 redefine_backtrace_test): Remove "global gdb_prompt".
4952
49532017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4954
4955 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4956 New proc, call it from toplevel.
4957
49582017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4959
4960 PR remote/21852
4961 * gdb.server/normal.c: New file, copied from gdb.base.
4962 * gdb.server/run-without-local-binary.exp: New file.
4963
49642017-08-07 Weimin Pan <weimin.pan@oracle.com>
4965
4966 * gdb.arch/sparc64-adi.exp: New file.
4967 * gdb.arch/sparc64-adi.c: New file.
4968
49692017-08-22 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4972 (top level): Add "list all overloads" tests.
4973
49742017-08-22 Tom Tromey <tom@tromey.com>
4975
4976 * gdb.gdb/xfullpath.exp: Remove.
4977
49782017-08-21 Pedro Alves <palves@redhat.com>
4979
4980 PR gdb/19487
4981 * gdb.base/symbol-alias.c: New.
4982 * gdb.base/symbol-alias2.c: New.
4983 * gdb.base/symbol-alias.exp: New.
4984
49852017-08-21 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.base/dfp-test.c
4988 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4989 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4990 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4991 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4992 * gdb.base/whatis-ptype-typedefs.c: New.
4993 * gdb.base/whatis-ptype-typedefs.exp: New.
4994 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4995 (an_int, an_int_type, an_int_type2): New globals.
4996 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4997 involving typedefs and cast expressions.
4998 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4999 (lookup_typedefs_function): New.
5000 (typedefs_pretty_printers_dict): New.
5001 (top level): Register lookup_typedefs_function in
5002 gdb.pretty_printers.
5003
50042017-08-18 Yao Qi <yao.qi@linaro.org>
5005
5006 * gdb.server/unittest.exp: New.
5007
50082017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5009
5010 PR gdb/21954
5011 * gdb.base/environ.exp: Add test to check if 'unset environment'
5012 works.
5013
50142017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5015
5016 * lib/gdb.exp (universal_compile_options): New caching proc.
5017 (gdb_compile): Suppress GCC's coloring of messages.
5018
50192017-08-14 Tom Tromey <tom@tromey.com>
5020
5021 PR gdb/21675:
5022 * gdb.base/printcmds.exp (test_radices): New function.
5023 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5024 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5025 * lib/gdb.exp (get_integer_valueof): Use p/d.
5026
50272017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5028
5029 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5030 characters.
5031
50322017-08-05 Tom Tromey <tom@tromey.com>
5033
5034 * gdb.rust/simple.exp: Allow String to appear in a different
5035 namespace.
5036
50372017-07-26 Yao Qi <yao.qi@linaro.org>
5038
5039 * gdb.gdb/unittest.exp: Invoke command
5040 "maintenance check xml-descriptions".
5041
50422017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5043
5044 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5045 calling context.
5046 (hex128): Drop erroneous calculation of parameters.
5047
50482017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5049
5050 * gdb.python/py-unwind.exp: Disable stack protection when
5051 building test file.
5052
50532017-07-20 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.base/default.exp (set language): Adjust expected output.
5056
50572017-07-20 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5060 (test_minsym): ... this, and make static.
5061 (get_pck__foo__bar__minsym): Rename to ...
5062 (get_test_minsym): ... this.
5063 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5064 symbol names and comments.
5065 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5066 (get_test_minsym): ... this.
5067 (pck__foo__bar__minsym__2): Rename to ...
5068 (test_minsym): ... this.
5069 (main): Adjust.
5070
50712017-07-17 Pedro Alves <palves@redhat.com>
5072
5073 * gdb.base/completion.exp: Adjust expected output.
5074 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5075 the completer works.
5076
50772017-07-17 Pedro Alves <palves@redhat.com>
5078
5079 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5080
50812017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5082
5083 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5084
50852017-07-14 Tom Tromey <tom@tromey.com>
5086
5087 PR rust/21764:
5088 * gdb.rust/simple.exp: Add tests.
5089
50902017-07-14 Tom Tromey <tom@tromey.com>
5091
5092 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5093
50942017-07-14 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.linespec/base/one/thefile.cc (z1): New function.
5097 * gdb.linespec/base/two/thefile.cc (z2): New function.
5098 * gdb.linespec/linespec.exp: Add tests.
5099
51002017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5101
5102 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5103 to mi_create_breakpoint.
5104
51052017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5106
5107 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5108 mi_create_breakpoint.
5109
51102017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5111
5112 * gdb.dlang/demangle.exp: Update for demangling changes.
5113
51142017-07-09 Tom Tromey <tom@tromey.com>
5115
5116 * gdb.dwarf2/shortpiece.exp: New file.
5117
51182017-07-06 David Blaikie <dblaikie@gmail.com>
5119
5120 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5121 built from fissiont-multi-cu{1,2}.c.
5122 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5123 except putting 'main' and 'func' in separate CUs in the same DWO file.
5124 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5125 test.
5126 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5127 test.
5128
51292017-07-06 Pedro Alves <palves@redhat.com>
5130
5131 * gdb.python/py-unwind.exp: Test flushregs.
5132
51332017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5134
5135 PR cli/21688
5136 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5137 tests for alias commands and trailing whitespace.
5138
51392017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5140
5141 PR cli/21688
5142 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5143 procedure. Call it.
5144
51452017-06-29 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.base/printcmds.exp: Add tests.
5148
51492017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5150
5151 PR gdb/21337
5152 * gdb.base/reread-readsym.exp: New file.
5153 * gdb.base/reread-readsym.c: New file.
5154
51552017-06-21 Kevin Buettner <kevinb@redhat.com>
5156
5157 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5158 subpattern.
5159
51602017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5161
5162 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5163 extended mnemonic.
5164 * gdb.arch/powerpc-power9.s: Likewise.
5165
51662017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5167
5168 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5169 on 32-bit x86 targets. Exploit is_*_target macros where
5170 appropriate.
5171
51722017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5173
5174 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5175 register pieces.
5176
51772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5178
5179 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5180 located in one or more DWARF pieces.
5181
51822017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5183
5184 * lib/gdb.exp (get_endianness): New proc.
5185 * gdb.arch/aarch64-fp.exp: Use it.
5186 * gdb.arch/altivec-regs.exp: Likewise.
5187 * gdb.arch/e500-regs.exp: Likewise.
5188 * gdb.arch/vsx-regs.exp: Likewise.
5189 * gdb.base/dump.exp: Likewise.
5190 * gdb.base/funcargs.exp: Likewise.
5191 * gdb.base/gnu_vector.exp: Likewise.
5192 * gdb.dwarf2/formdata16.exp: Likewise.
5193 * gdb.dwarf2/implptrpiece.exp: Likewise.
5194 * gdb.dwarf2/nonvar-access.exp: Likewise.
5195 * gdb.python/py-inferior.exp: Likewise.
5196 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5197
51982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5199
5200 PR gdb/21226
5201 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5202 stack value pieces are taken from the LSB end.
5203
52042017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5205
5206 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5207 variable at nonzero offset.
5208
52092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5210
5211 * gdb.dwarf2/var-access.c: New file.
5212 * gdb.dwarf2/var-access.exp: New test.
5213 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5214
52152017-06-12 Tom Tromey <tom@tromey.com>
5216
5217 * gdb.dwarf2/formdata16.exp: Add tests.
5218
52192017-06-12 Tom Tromey <tom@tromey.com>
5220
5221 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5222
52232017-06-12 Tom Tromey <tom@tromey.com>
5224
5225 PR exp/16225:
5226 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5227 * gdb.arch/vsx-regs.exp: Update tests.
5228 * gdb.arch/s390-vregs.exp (hex128): New proc.
5229 Update test.
5230 * gdb.arch/altivec-regs.exp: Update tests.
5231
52322017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5233
5234 * gdb.base/startup-with-shell.c: New file.
5235 * gdb.base/startup-with-shell.exp: Likewise.
5236
52372017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5238
5239 * gdb.server/non-existing-program.exp: Update regex in order to
5240 reflect the fact that gdbserver is now using fork_inferior (with a
5241 shell) to startup the inferior.
5242
52432017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5244
5245 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5246 support function calls from GDB.
5247
52482017-05-21 Tom Tromey <tom@tromey.com>
5249
5250 PR rust/21466:
5251 * gdb.rust/unsized.exp: New file.
5252 * gdb.rust/unsized.rs: New file.
5253
52542017-05-19 Tom Tromey <tom@tromey.com>
5255
5256 PR rust/21484:
5257 * gdb.rust/watch.exp: New file.
5258 * gdb.rust/watch.rs: New file.
5259
52602017-05-18 Tom Tromey <tom@tromey.com>
5261
5262 * gdb.rust/simple.exp: Allow Box to be qualified.
5263
52642017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5265
5266 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5267
52682017-05-18 Pedro Alves <palves@redhat.com>
5269
5270 * gdb.base/fileio.c (test_write, test_read, test_close)
5271 (test_fstat): Don't print 'ret' in the fail path.
5272
52732017-05-18 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5276 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5277 (test_system, test_rename, test_unlink, test_time): Change
5278 prototypes.
5279 * gdb.base/fileio.exp (stop_msg): Adjust.
5280
52812017-05-18 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.base/fileio.c (null_str): New global.
5284 (test_stat): Use it.
5285 * gdb.base/fileio.exp: Remove nowarnings.
5286
52872017-05-17 Yao Qi <yao.qi@linaro.org>
5288
5289 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5290
52912017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5292
5293 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5294 argument command.
5295 (top-level): Invoke test_set_inferior_tty.
5296
52972017-05-04 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5300 Add parens to print call for Python 3.
5301
53022017-05-03 Keith Seitz <keiths@redhat.com>
5303
5304 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5305 (main): Call it.
5306
53072017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5308
5309 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5310 to prev and next.
5311
53122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5313
5314 * gdb.python/py-record-btrace.exp: Remove test for
5315 gdb.BtraceInstruction.error.
5316
53172017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5318
5319 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5320
53212017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5322
5323 * gdb.python/py-record-btrace-threads.c: New file.
5324 * gdb.python/py-record-btrace-threads.exp: New file.
5325
53262017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5327
5328 PR testsuite/8595
5329 * gdb.base/environ.exp: Make test available in all architectures.
5330 Move bits related to "info program" testing to
5331 gdb.base/info-program.exp. Rewrite tests to use the two new
5332 procedures mentione below.
5333 (test_set_show_env_var) New procedure.
5334 (test_set_show_env_var_equal): Likewise.
5335 * gdb.base/info-program.exp: New file.
5336
53372017-04-27 Keith Seitz <keiths@redhat.com>
5338
5339 * gdb.cp/oranking.cc (test15): New function.
5340 (main): Call test15 and declare additional variables for testing.
5341 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5342 "p foo101('abc')" tests.
5343 Add tests for cv qualifier overloads.
5344 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5345 "lvalue reference overload" test.
5346 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5347 "print value of f1 on Child&& in f2" test.
5348
53492017-04-19 Pedro Alves <palves@redhat.com>
5350
5351 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5352 procedure.
5353 (top level): Call it.
5354 * lib/gdb.exp (gdb_define_cmd): New procedure.
5355
53562017-04-12 Pedro Alves <palves@redhat.com>
5357
5358 PR gdb/21323
5359 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5360 (wchar): New global.
5361 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5362 (do_test_wide_char, wide_char_types_no_program, top level): Add
5363 wchar_t testing.
5364
53652017-04-12 Pedro Alves <palves@redhat.com>
5366
5367 PR c++/21323
5368 * gdb.cp/wide_char_types.c: New file.
5369 * gdb.cp/wide_char_types.exp: New file.
5370
53712017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5372
5373 PR gdb/21352
5374 * gdb.trace/tsv.exp: Add test for "tsave -r".
5375
53762017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5377
5378 * gdb.dlang/watch-loc.c: New file.
5379 * gdb.dlang/watch-loc.exp: New file.
5380
53812017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5384
53852017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5386
5387 * gdb.arch/arc-analyze-prologue.S: New file.
5388 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5389
53902017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5391
5392 * gdb.arch/arc-decode-insn.S: New file.
5393 * gdb.arch/arc-decode-insn.exp: Likewise.
5394
53952017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5396
5397 PR tdep/20928
5398 * gdb.arch/sparc64-regs.exp: New file.
5399 * gdb.arch/sparc64-regs.S: Likewise.
5400
54012017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5402
5403 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5404 and memory view on Python 3.
5405
54062017-03-20 Artemiy Volkov <artemiyv@acm.org>
5407 Keith Seitz <keiths@redhat.com>
5408
5409 PR gdb/14441
5410 * gdb.cp/demangle.exp: Add rvalue reference tests.
5411 * gdb.cp/rvalue-ref-casts.cc: New file.
5412 * gdb.cp/rvalue-ref-casts.exp: New file.
5413 * gdb.cp/rvalue-ref-overload.cc: New file.
5414 * gdb.cp/rvalue-ref-overload.exp: New file.
5415 * gdb.cp/rvalue-ref-params.cc: New file.
5416 * gdb.cp/rvalue-ref-params.exp: New file.
5417 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5418 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5419 * gdb.cp/rvalue-ref-types.cc: New file.
5420 * gdb.cp/rvalue-ref-types.exp: New file.
5421 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5422 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5423
54242017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5425
5426 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5427 New procedure.
5428
54292017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5430
5431 * lib/mi-support.exp (mi_gdb_test): Add additional message
5432 for unexpected output.
5433
54342017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5435
5436 * gdb.base/examine-backward.c (Barrier): New character array
5437 constant, to ensure that TestStrings is preceded by a string
5438 terminator.
5439
54402017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5441
5442 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5443 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5444 and implicit pointer into such a location.
5445
54462017-03-16 Doug Evans <dje@google.com>
5447
5448 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5449
54502017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5451
5452 * gdb.cp/m-static.exp: Fix expectation for prototype of
5453 test5.single_constructor and single_constructor::single_constructor.
5454
54552017-03-16 Doug Evans <dje@google.com>
5456
5457 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5458 * gdb.guile/scm-lazy-string.c: New file.
5459 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5460 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5461 for pointer, array, typedef lazy strings.
5462
54632017-03-16 Doug Evans <dje@google.com>
5464
5465 PR python/17728, python/18439, python/18779
5466 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5467 * gdb.python/py-lazy-string.c (pointer): New typedef.
5468 (main): New locals ptr, array, typedef_ptr.
5469 * gdb.python/py-value.exp: Move lazy string tests to ...
5470 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5471 array, typedef lazy strings.
5472
54732017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5474
5475 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5476 Add optional 'test' parameter.
5477
54782017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5479
5480 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5481 Skip for versions of DejaGnu < 1.5.
5482
54832017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5484
5485 * lib/gdb.exp (dejagnu_version): New proc.
5486 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5487 Use dejagnu_version.
5488
54892017-03-10 Keith Seitz <keiths@redhat.com>
5490
5491 PR c++/8128
5492 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5493 type from destructor regexps.
5494 Add a branch which actually passes the test.
5495 Adjust "ptype t5i" test names.
5496
54972017-03-08 Pedro Alves <palves@redhat.com>
5498
5499 * gdb.base/step-over-exit.exp: Add explicit test message.
5500
55012017-03-08 Pedro Alves <palves@redhat.com>
5502
5503 PR gdb/18360
5504 * gdb.threads/interrupt-while-step-over.c: New file.
5505 * gdb.threads/interrupt-while-step-over.exp: New file.
5506
55072017-03-08 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5510 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5511
55122017-03-08 Pedro Alves <palves@redhat.com>
5513
5514 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5515 PKRU as not supported as a PASS.
5516
55172017-03-08 Pedro Alves <palves@redhat.com>
5518
5519 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5520 prefix instead of $binfile1/$binfile2.
5521 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5522 in test message.
5523 * gdb.python/py-completion.exp: Use "load python file" as test
5524 messages instead of unstable path names.
5525
55262017-03-08 Pedro Alves <palves@redhat.com>
5527 Jan Kratochvil <jan.kratochvil@redhat.com>
5528
5529 PR cli/21218
5530 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5531 New proc.
5532 (top level): Call it.
5533
55342017-03-08 Pedro Alves <palves@redhat.com>
5535
5536 PR tui/21216
5537 * gdb.tui/tui-nl-filtered-output.exp: New file.
5538
55392017-03-08 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/completion.exp: Move TUI completion tests to ...
5542 * gdb.tui/completion.exp: ... this new file.
5543
55442017-03-08 Pedro Alves <palves@redhat.com>
5545
5546 * gdb.base/tui-disasm-long-lines.c,
5547 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5548 gdb.base/tui-layout.exp: Move to ...
5549 * gdb.tui/: ... this new directory.
5550
55512017-03-07 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.base/tui-layout.c: New file.
5554 * gdb.base/tui-layout.exp: New file.
5555
55562017-03-07 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.base/tui-layout.c: Rename to ...
5559 * gdb.base/tui-disasm-long-lines.c: ... this.
5560 * gdb.base/tui-layout.exp: Rename to ...
5561 * gdb.base/tui-disasm-long-lines.exp: ... this.
5562
55632017-03-07 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5566
55672017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5568
5569 * i386-mpx-call.c: New file.
5570 * i386-mpx-call.exp: New file.
5571
55722017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5573
5574 * gdb.arch/powerpc-power.exp: Delete test.
5575 * gdb.arch/powerpc-power.s: Likewise.
5576 * gdb.disasm/disassembler-options.exp: New test.
5577 * gdb.arch/powerpc-altivec.exp: Likewise.
5578 * gdb.arch/powerpc-altivec.s: Likewise.
5579 * gdb.arch/powerpc-altivec2.exp: Likewise.
5580 * gdb.arch/powerpc-altivec2.s: Likewise.
5581 * gdb.arch/powerpc-altivec3.exp: Likewise.
5582 * gdb.arch/powerpc-altivec3.s: Likewise.
5583 * gdb.arch/powerpc-power7.exp: Likewise.
5584 * gdb.arch/powerpc-power7.s: Likewise.
5585 * gdb.arch/powerpc-power8.exp: Likewise.
5586 * gdb.arch/powerpc-power8.s: Likewise.
5587 * gdb.arch/powerpc-power9.exp: Likewise.
5588 * gdb.arch/powerpc-power9.s: Likewise.
5589 * gdb.arch/powerpc-vsx.exp: Likewise.
5590 * gdb.arch/powerpc-vsx.s: Likewise.
5591 * gdb.arch/powerpc-vsx2.exp: Likewise.
5592 * gdb.arch/powerpc-vsx2.s: Likewise.
5593 * gdb.arch/powerpc-vsx3.exp: Likewise.
5594 * gdb.arch/powerpc-vsx3.s: Likewise.
5595 * gdb.arch/arm-disassembler-options.exp: Likewise.
5596 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5597 * gdb.arch/s390-disassembler-options.exp: Likewise.
5598
55992017-02-23 Luis Machado <lgustavo@codesourcery.com>
5600
5601 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5602 (check_supported_features): ... this. Changed return type to void.
5603 (supports_rdseed): New static global.
5604 (rdseed): Check supports_rdseed.
5605 (initialize): Call check_supported_features.
5606
56072017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5608
5609 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5610 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5611 and lqarx/stqcx.
5612 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5613 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5614
56152017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5616
5617 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5618 uppercase.
5619
56202017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5621
5622 * gdb.dwarf2/formdata16.c: New file.
5623 * gdb.dwarf2/formdata16.exp: New file.
5624 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5625
56262017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5627
5628 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5629 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5630 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5631 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5632 DW_AT_GNU_*.
5633
56342017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5635
5636 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5637
56382017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5639
5640 PR gdb/21164
5641 * gdb.base/maint.exp: Add testcases for when the commands do
5642 not have arguments.
5643
56442017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5645
5646 * gdb.cp/chained-calls.exp: Use p instead of P.
5647
56482017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5649
5650 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5651 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5652
56532017-02-14 Tom Tromey <tom@tromey.com>
5654
5655 PR python/13598:
5656 * gdb.python/py-events.exp: Add before_prompt event tests.
5657
56582017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5659
5660 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5661
56622017-02-13 Luis Machado <lgustavo@codesourcery.com>
5663
5664 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5665 (main): Call my_unique_function_name.
5666 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5667 completion of patterns with a single match.
5668 Add missing -re switches to gdb_test_multiple calls.
5669
56702017-02-13 Luis Machado <lgustavo@codesourcery.com>
5671
5672 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5673 return if core file is not recognized.
5674
56752017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5678 and extra UIs.
5679
56802017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5681
5682 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5683 proc_with_prefix.
5684
56852017-02-10 Tom Tromey <tom@tromey.com>
5686
5687 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5688
56892017-02-10 Martin Galvan <martingalvan@sourceware.org>
5690
5691 PR gdb/21122
5692 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5693
56942017-02-08 Jerome Guitton <guitton@adacore.com>
5695
5696 * gdb.base/define.exp: Add test for command abbreviations
5697 in define.
5698
56992017-02-06 Luis Machado <lgustavo@codesourcery.com>
5700
5701 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5702 * gdb.reverse/insn-reverse-x86.c: New file.
5703
57042017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5705
5706 PR tdep/20936
5707 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5708
57092017-02-03 Tom Tromey <tom@tromey.com>
5710
5711 PR rust/21097:
5712 * gdb.rust/simple.exp: Add new tests.
5713
57142017-02-02 Pedro Alves <palves@redhat.com>
5715
5716 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5717 tests.
5718
57192017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5720
5721 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5722 taking a 2-byte value out of a 4-byte DWARF implicit value on
5723 big-endian targets.
5724 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5725 logic. Add test cases for DW_OP_implicit.
5726
57272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5728
5729 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5730
57312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5732
5733 * gdb.btrace/enable.exp: Call gdb_exit before
5734 skip_gdbserver_tests.
5735
57362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5737
5738 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5739 GDBFLAGS.
5740
57412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5742
5743 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5744 the test is skipped.
5745 * gdb.btrace/data.exp: Likewise.
5746 * gdb.btrace/delta.exp: Likewise.
5747 * gdb.btrace/dlopen.exp: Likewise.
5748 * gdb.btrace/enable-running.exp: Likewise.
5749 * gdb.btrace/enable.exp: Likewise.
5750 * gdb.btrace/exception.exp: Likewise.
5751 * gdb.btrace/function_call_history.exp: Likewise.
5752 * gdb.btrace/gcore.exp: Likewise.
5753 * gdb.btrace/instruction_history.exp: Likewise.
5754 * gdb.btrace/multi-thread-step.exp: Likewise.
5755 * gdb.btrace/nohist.exp: Likewise.
5756 * gdb.btrace/non-stop.exp: Likewise.
5757 * gdb.btrace/reconnect.exp: Likewise.
5758 * gdb.btrace/record_goto-step.exp: Likewise.
5759 * gdb.btrace/record_goto.exp: Likewise.
5760 * gdb.btrace/rn-dl-bind.exp: Likewise.
5761 * gdb.btrace/segv.exp: Likewise.
5762 * gdb.btrace/step.exp: Likewise.
5763 * gdb.btrace/stepi.exp: Likewise.
5764 * gdb.btrace/tailcall-only.exp: Likewise.
5765 * gdb.btrace/tailcall.exp: Likewise.
5766 * gdb.btrace/tsx.exp: Likewise.
5767 * gdb.btrace/unknown_functions.exp: Likewise.
5768 * gdb.btrace/vdso.exp: Likewise.
5769
57702017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5771
5772 * gdb.btrace/enable-running.c: New.
5773 * gdb.btrace/enable-running.exp: New.
5774
57752017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5776
5777 * gdb.arch/amd64-gs_base.c: New file.
5778 * gdb.arch/amd64-gs_base.exp: New file.
5779
57802017-01-26 Luis Machado <lgustavo@codesourcery.com>
5781
5782 * lib/memory.exp: Remove spurious empty newlines.
5783
57842017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5785
5786 * gdb.python/py-bad-printers.exp: Load python file using "source".
5787 * gdb.python/py-events.exp: Likewise.
5788 * gdb.python/py-evsignal.exp: Likewise.
5789 * gdb.python/py-evthreads.exp: Likewise.
5790 * gdb.python/py-frame-args.exp: Likewise.
5791 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5792 * gdb.python/py-framefilter-mi.exp: Likewise.
5793 * gdb.python/py-framefilter.exp: Likewise.
5794 * gdb.python/py-mi.exp: Likewise.
5795 * gdb.python/py-pp-maint.exp: Likewise.
5796 * gdb.python/py-pp-registration.exp: Likewise.
5797 * gdb.python/py-prettyprint.exp: Likewise.
5798 (run_lang_tests): Likewise.
5799 * gdb.python/py-typeprint.exp: Likewise.
5800
58012017-01-26 Luis Machado <lgustavo@codesourcery.com>
5802
5803 * lib/memory.exp: New file.
5804 * lib/gdb.exp: Load memory.exp.
5805 * gdb.base/memattr.exp (delete_memory): Move proc to
5806 lib/memory.exp and rename to delete_memory_regions.
5807 Replace delete_memory with delete_memory_regions.
5808 Cleanup memory regions before tests.
5809 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5810 before tests.
5811
58122017-01-26 Luis Machado <lgustavo@codesourcery.com>
5813
5814 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5815 files.
5816 (initialize): New function conditionally defined.
5817 (testcases): Move within conditional block.
5818 (main): Call initialize.
5819 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5820 of gdb.reverse/insn-reverse.c.
5821 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5822 gdb.reverse/insn-reverse.c.
5823
58242017-01-26 Yao Qi <yao.qi@linaro.org>
5825
5826 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5827 disassemble on address 0.
5828
58292017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5830 Yao Qi <yao.qi@linaro.org>
5831
5832 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5833 * gdb.dwarf2/implptr-64bit.S: Remove.
5834 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5835 variables in caller's context. Add DW_OP_implicit_value.
5836
58372017-01-25 Yao Qi <yao.qi@linaro.org>
5838
5839 * lib/dwarf.exp (Dwarf::_location): Handle
5840 DW_OP_GNU_implicit_pointer with proper size.
5841
58422017-01-20 Luis Machado <lgustavo@codesourcery.com>
5843
5844 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5845 and add untested calls.
5846
58472017-01-20 Luis Machado <lgustavo@codesourcery.com>
5848
5849 * gdb.python/python.exp: Check line number against what GDB thinks
5850 the line number is for func1.
5851
58522017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5853
5854 * gdb.dlang/debug-expr.exp: New file.
5855
58562016-12-23 Luis Machado <lgustavo@codesourcery.com>
5857
5858 Fix test names for the following files:
5859
5860 * gdb.ada/exec_changed.exp
5861 * gdb.ada/info_types.exp
5862 * gdb.arch/aarch64-atomic-inst.exp
5863 * gdb.arch/aarch64-fp.exp
5864 * gdb.arch/altivec-abi.exp
5865 * gdb.arch/altivec-regs.exp
5866 * gdb.arch/amd64-byte.exp
5867 * gdb.arch/amd64-disp-step.exp
5868 * gdb.arch/amd64-dword.exp
5869 * gdb.arch/amd64-entry-value-inline.exp
5870 * gdb.arch/amd64-entry-value-param.exp
5871 * gdb.arch/amd64-entry-value-paramref.exp
5872 * gdb.arch/amd64-entry-value.exp
5873 * gdb.arch/amd64-i386-address.exp
5874 * gdb.arch/amd64-invalid-stack-middle.exp
5875 * gdb.arch/amd64-invalid-stack-top.exp
5876 * gdb.arch/amd64-optimout-repeat.exp
5877 * gdb.arch/amd64-prologue-skip.exp
5878 * gdb.arch/amd64-prologue-xmm.exp
5879 * gdb.arch/amd64-stap-special-operands.exp
5880 * gdb.arch/amd64-stap-wrong-subexp.exp
5881 * gdb.arch/amd64-tailcall-cxx.exp
5882 * gdb.arch/amd64-tailcall-noret.exp
5883 * gdb.arch/amd64-tailcall-ret.exp
5884 * gdb.arch/amd64-tailcall-self.exp
5885 * gdb.arch/amd64-word.exp
5886 * gdb.arch/arm-bl-branch-dest.exp
5887 * gdb.arch/arm-disp-step.exp
5888 * gdb.arch/arm-neon.exp
5889 * gdb.arch/arm-single-step-kernel-helper.exp
5890 * gdb.arch/avr-flash-qualifier.exp
5891 * gdb.arch/disp-step-insn-reloc.exp
5892 * gdb.arch/e500-abi.exp
5893 * gdb.arch/e500-regs.exp
5894 * gdb.arch/ftrace-insn-reloc.exp
5895 * gdb.arch/i386-avx512.exp
5896 * gdb.arch/i386-bp_permanent.exp
5897 * gdb.arch/i386-byte.exp
5898 * gdb.arch/i386-cfi-notcurrent.exp
5899 * gdb.arch/i386-disp-step.exp
5900 * gdb.arch/i386-dr3-watch.exp
5901 * gdb.arch/i386-float.exp
5902 * gdb.arch/i386-gnu-cfi.exp
5903 * gdb.arch/i386-mpx-map.exp
5904 * gdb.arch/i386-mpx-sigsegv.exp
5905 * gdb.arch/i386-mpx-simple_segv.exp
5906 * gdb.arch/i386-mpx.exp
5907 * gdb.arch/i386-permbkpt.exp
5908 * gdb.arch/i386-prologue.exp
5909 * gdb.arch/i386-signal.exp
5910 * gdb.arch/i386-size-overlap.exp
5911 * gdb.arch/i386-unwind.exp
5912 * gdb.arch/i386-word.exp
5913 * gdb.arch/mips-fcr.exp
5914 * gdb.arch/powerpc-d128-regs.exp
5915 * gdb.arch/powerpc-stackless.exp
5916 * gdb.arch/ppc64-atomic-inst.exp
5917 * gdb.arch/s390-stackless.exp
5918 * gdb.arch/s390-tdbregs.exp
5919 * gdb.arch/s390-vregs.exp
5920 * gdb.arch/sparc-sysstep.exp
5921 * gdb.arch/thumb-bx-pc.exp
5922 * gdb.arch/thumb-singlestep.exp
5923 * gdb.arch/thumb2-it.exp
5924 * gdb.arch/vsx-regs.exp
5925 * gdb.asm/asm-source.exp
5926 * gdb.base/a2-run.exp
5927 * gdb.base/advance.exp
5928 * gdb.base/all-bin.exp
5929 * gdb.base/anon.exp
5930 * gdb.base/args.exp
5931 * gdb.base/arithmet.exp
5932 * gdb.base/async-shell.exp
5933 * gdb.base/async.exp
5934 * gdb.base/attach-pie-noexec.exp
5935 * gdb.base/attach-twice.exp
5936 * gdb.base/auto-load.exp
5937 * gdb.base/bang.exp
5938 * gdb.base/bitfields.exp
5939 * gdb.base/break-always.exp
5940 * gdb.base/break-caller-line.exp
5941 * gdb.base/break-entry.exp
5942 * gdb.base/break-inline.exp
5943 * gdb.base/break-on-linker-gcd-function.exp
5944 * gdb.base/break-probes.exp
5945 * gdb.base/break.exp
5946 * gdb.base/breakpoint-shadow.exp
5947 * gdb.base/call-ar-st.exp
5948 * gdb.base/call-sc.exp
5949 * gdb.base/call-signal-resume.exp
5950 * gdb.base/call-strs.exp
5951 * gdb.base/callfuncs.exp
5952 * gdb.base/catch-fork-static.exp
5953 * gdb.base/catch-gdb-caused-signals.exp
5954 * gdb.base/catch-load.exp
5955 * gdb.base/catch-signal-fork.exp
5956 * gdb.base/catch-signal.exp
5957 * gdb.base/catch-syscall.exp
5958 * gdb.base/charset.exp
5959 * gdb.base/checkpoint.exp
5960 * gdb.base/chng-syms.exp
5961 * gdb.base/code-expr.exp
5962 * gdb.base/code_elim.exp
5963 * gdb.base/commands.exp
5964 * gdb.base/completion.exp
5965 * gdb.base/complex.exp
5966 * gdb.base/cond-expr.exp
5967 * gdb.base/condbreak.exp
5968 * gdb.base/consecutive.exp
5969 * gdb.base/continue-all-already-running.exp
5970 * gdb.base/coredump-filter.exp
5971 * gdb.base/corefile.exp
5972 * gdb.base/dbx.exp
5973 * gdb.base/debug-expr.exp
5974 * gdb.base/define.exp
5975 * gdb.base/del.exp
5976 * gdb.base/disabled-location.exp
5977 * gdb.base/disasm-end-cu.exp
5978 * gdb.base/disasm-optim.exp
5979 * gdb.base/display.exp
5980 * gdb.base/duplicate-bp.exp
5981 * gdb.base/ena-dis-br.exp
5982 * gdb.base/ending-run.exp
5983 * gdb.base/enumval.exp
5984 * gdb.base/environ.exp
5985 * gdb.base/eu-strip-infcall.exp
5986 * gdb.base/eval-avoid-side-effects.exp
5987 * gdb.base/eval-skip.exp
5988 * gdb.base/exitsignal.exp
5989 * gdb.base/expand-psymtabs.exp
5990 * gdb.base/filesym.exp
5991 * gdb.base/find-unmapped.exp
5992 * gdb.base/finish.exp
5993 * gdb.base/float.exp
5994 * gdb.base/foll-exec-mode.exp
5995 * gdb.base/foll-exec.exp
5996 * gdb.base/foll-fork.exp
5997 * gdb.base/fortran-sym-case.exp
5998 * gdb.base/freebpcmd.exp
5999 * gdb.base/func-ptr.exp
6000 * gdb.base/func-ptrs.exp
6001 * gdb.base/funcargs.exp
6002 * gdb.base/gcore-buffer-overflow.exp
6003 * gdb.base/gcore-relro-pie.exp
6004 * gdb.base/gcore-relro.exp
6005 * gdb.base/gcore.exp
6006 * gdb.base/gdb1090.exp
6007 * gdb.base/gdb11530.exp
6008 * gdb.base/gdb11531.exp
6009 * gdb.base/gdb1821.exp
6010 * gdb.base/gdbindex-stabs.exp
6011 * gdb.base/gdbvars.exp
6012 * gdb.base/hbreak.exp
6013 * gdb.base/hbreak2.exp
6014 * gdb.base/included.exp
6015 * gdb.base/infcall-input.exp
6016 * gdb.base/inferior-died.exp
6017 * gdb.base/infnan.exp
6018 * gdb.base/info-macros.exp
6019 * gdb.base/info-os.exp
6020 * gdb.base/info-proc.exp
6021 * gdb.base/info-shared.exp
6022 * gdb.base/info-target.exp
6023 * gdb.base/infoline.exp
6024 * gdb.base/interp.exp
6025 * gdb.base/interrupt.exp
6026 * gdb.base/jit-reader.exp
6027 * gdb.base/jit-simple.exp
6028 * gdb.base/kill-after-signal.exp
6029 * gdb.base/kill-detach-inferiors-cmd.exp
6030 * gdb.base/label.exp
6031 * gdb.base/langs.exp
6032 * gdb.base/ldbl_e308.exp
6033 * gdb.base/line-symtabs.exp
6034 * gdb.base/linespecs.exp
6035 * gdb.base/list.exp
6036 * gdb.base/long_long.exp
6037 * gdb.base/longest-types.exp
6038 * gdb.base/maint.exp
6039 * gdb.base/max-value-size.exp
6040 * gdb.base/memattr.exp
6041 * gdb.base/mips_pro.exp
6042 * gdb.base/morestack.exp
6043 * gdb.base/moribund-step.exp
6044 * gdb.base/multi-forks.exp
6045 * gdb.base/nested-addr.exp
6046 * gdb.base/nextoverexit.exp
6047 * gdb.base/noreturn-finish.exp
6048 * gdb.base/noreturn-return.exp
6049 * gdb.base/nostdlib.exp
6050 * gdb.base/offsets.exp
6051 * gdb.base/opaque.exp
6052 * gdb.base/pc-fp.exp
6053 * gdb.base/permissions.exp
6054 * gdb.base/print-symbol-loading.exp
6055 * gdb.base/prologue-include.exp
6056 * gdb.base/psymtab.exp
6057 * gdb.base/ptype.exp
6058 * gdb.base/random-signal.exp
6059 * gdb.base/randomize.exp
6060 * gdb.base/range-stepping.exp
6061 * gdb.base/readline-ask.exp
6062 * gdb.base/recpar.exp
6063 * gdb.base/recurse.exp
6064 * gdb.base/relational.exp
6065 * gdb.base/restore.exp
6066 * gdb.base/return-nodebug.exp
6067 * gdb.base/return.exp
6068 * gdb.base/run-after-attach.exp
6069 * gdb.base/save-bp.exp
6070 * gdb.base/scope.exp
6071 * gdb.base/sect-cmd.exp
6072 * gdb.base/set-lang-auto.exp
6073 * gdb.base/set-noassign.exp
6074 * gdb.base/setvar.exp
6075 * gdb.base/sigall.exp
6076 * gdb.base/sigbpt.exp
6077 * gdb.base/siginfo-addr.exp
6078 * gdb.base/siginfo-infcall.exp
6079 * gdb.base/siginfo-obj.exp
6080 * gdb.base/siginfo.exp
6081 * gdb.base/signals-state-child.exp
6082 * gdb.base/signest.exp
6083 * gdb.base/sigstep.exp
6084 * gdb.base/sizeof.exp
6085 * gdb.base/skip.exp
6086 * gdb.base/solib-corrupted.exp
6087 * gdb.base/solib-nodir.exp
6088 * gdb.base/solib-search.exp
6089 * gdb.base/stack-checking.exp
6090 * gdb.base/stale-infcall.exp
6091 * gdb.base/stap-probe.exp
6092 * gdb.base/start.exp
6093 * gdb.base/step-break.exp
6094 * gdb.base/step-bt.exp
6095 * gdb.base/step-line.exp
6096 * gdb.base/step-over-exit.exp
6097 * gdb.base/step-over-syscall.exp
6098 * gdb.base/step-resume-infcall.exp
6099 * gdb.base/step-test.exp
6100 * gdb.base/store.exp
6101 * gdb.base/structs3.exp
6102 * gdb.base/sym-file.exp
6103 * gdb.base/symbol-without-target_section.exp
6104 * gdb.base/term.exp
6105 * gdb.base/testenv.exp
6106 * gdb.base/ui-redirect.exp
6107 * gdb.base/until.exp
6108 * gdb.base/unwindonsignal.exp
6109 * gdb.base/value-double-free.exp
6110 * gdb.base/vla-datatypes.exp
6111 * gdb.base/vla-ptr.exp
6112 * gdb.base/vla-sideeffect.exp
6113 * gdb.base/volatile.exp
6114 * gdb.base/watch-cond-infcall.exp
6115 * gdb.base/watch-cond.exp
6116 * gdb.base/watch-non-mem.exp
6117 * gdb.base/watch-read.exp
6118 * gdb.base/watch-vfork.exp
6119 * gdb.base/watchpoint-cond-gone.exp
6120 * gdb.base/watchpoint-delete.exp
6121 * gdb.base/watchpoint-hw-hit-once.exp
6122 * gdb.base/watchpoint-hw.exp
6123 * gdb.base/watchpoint-stops-at-right-insn.exp
6124 * gdb.base/watchpoints.exp
6125 * gdb.base/wchar.exp
6126 * gdb.base/whatis-exp.exp
6127 * gdb.btrace/buffer-size.exp
6128 * gdb.btrace/data.exp
6129 * gdb.btrace/delta.exp
6130 * gdb.btrace/dlopen.exp
6131 * gdb.btrace/enable.exp
6132 * gdb.btrace/exception.exp
6133 * gdb.btrace/function_call_history.exp
6134 * gdb.btrace/gcore.exp
6135 * gdb.btrace/instruction_history.exp
6136 * gdb.btrace/nohist.exp
6137 * gdb.btrace/reconnect.exp
6138 * gdb.btrace/record_goto-step.exp
6139 * gdb.btrace/record_goto.exp
6140 * gdb.btrace/rn-dl-bind.exp
6141 * gdb.btrace/segv.exp
6142 * gdb.btrace/step.exp
6143 * gdb.btrace/stepi.exp
6144 * gdb.btrace/tailcall-only.exp
6145 * gdb.btrace/tailcall.exp
6146 * gdb.btrace/tsx.exp
6147 * gdb.btrace/unknown_functions.exp
6148 * gdb.btrace/vdso.exp
6149 * gdb.compile/compile-ifunc.exp
6150 * gdb.compile/compile-ops.exp
6151 * gdb.compile/compile-print.exp
6152 * gdb.compile/compile-setjmp.exp
6153 * gdb.cp/abstract-origin.exp
6154 * gdb.cp/ambiguous.exp
6155 * gdb.cp/annota2.exp
6156 * gdb.cp/annota3.exp
6157 * gdb.cp/anon-ns.exp
6158 * gdb.cp/anon-struct.exp
6159 * gdb.cp/anon-union.exp
6160 * gdb.cp/arg-reference.exp
6161 * gdb.cp/baseenum.exp
6162 * gdb.cp/bool.exp
6163 * gdb.cp/breakpoint.exp
6164 * gdb.cp/bs15503.exp
6165 * gdb.cp/call-c.exp
6166 * gdb.cp/casts.exp
6167 * gdb.cp/chained-calls.exp
6168 * gdb.cp/class2.exp
6169 * gdb.cp/classes.exp
6170 * gdb.cp/cmpd-minsyms.exp
6171 * gdb.cp/converts.exp
6172 * gdb.cp/cp-relocate.exp
6173 * gdb.cp/cpcompletion.exp
6174 * gdb.cp/cpexprs.exp
6175 * gdb.cp/cplabel.exp
6176 * gdb.cp/cplusfuncs.exp
6177 * gdb.cp/cpsizeof.exp
6178 * gdb.cp/ctti.exp
6179 * gdb.cp/derivation.exp
6180 * gdb.cp/destrprint.exp
6181 * gdb.cp/dispcxx.exp
6182 * gdb.cp/enum-class.exp
6183 * gdb.cp/exception.exp
6184 * gdb.cp/exceptprint.exp
6185 * gdb.cp/expand-psymtabs-cxx.exp
6186 * gdb.cp/expand-sals.exp
6187 * gdb.cp/extern-c.exp
6188 * gdb.cp/filename.exp
6189 * gdb.cp/formatted-ref.exp
6190 * gdb.cp/fpointer.exp
6191 * gdb.cp/gdb1355.exp
6192 * gdb.cp/gdb2495.exp
6193 * gdb.cp/hang.exp
6194 * gdb.cp/impl-this.exp
6195 * gdb.cp/infcall-dlopen.exp
6196 * gdb.cp/inherit.exp
6197 * gdb.cp/iostream.exp
6198 * gdb.cp/koenig.exp
6199 * gdb.cp/local.exp
6200 * gdb.cp/m-data.exp
6201 * gdb.cp/m-static.exp
6202 * gdb.cp/mb-ctor.exp
6203 * gdb.cp/mb-inline.exp
6204 * gdb.cp/mb-templates.exp
6205 * gdb.cp/member-name.exp
6206 * gdb.cp/member-ptr.exp
6207 * gdb.cp/meth-typedefs.exp
6208 * gdb.cp/method.exp
6209 * gdb.cp/method2.exp
6210 * gdb.cp/minsym-fallback.exp
6211 * gdb.cp/misc.exp
6212 * gdb.cp/namelessclass.exp
6213 * gdb.cp/namespace-enum.exp
6214 * gdb.cp/namespace-nested-import.exp
6215 * gdb.cp/namespace.exp
6216 * gdb.cp/nextoverthrow.exp
6217 * gdb.cp/no-dmgl-verbose.exp
6218 * gdb.cp/non-trivial-retval.exp
6219 * gdb.cp/noparam.exp
6220 * gdb.cp/nsdecl.exp
6221 * gdb.cp/nsimport.exp
6222 * gdb.cp/nsnested.exp
6223 * gdb.cp/nsnoimports.exp
6224 * gdb.cp/nsrecurs.exp
6225 * gdb.cp/nsstress.exp
6226 * gdb.cp/nsusing.exp
6227 * gdb.cp/operator.exp
6228 * gdb.cp/oranking.exp
6229 * gdb.cp/overload-const.exp
6230 * gdb.cp/overload.exp
6231 * gdb.cp/ovldbreak.exp
6232 * gdb.cp/ovsrch.exp
6233 * gdb.cp/paren-type.exp
6234 * gdb.cp/parse-lang.exp
6235 * gdb.cp/pass-by-ref.exp
6236 * gdb.cp/pr-1023.exp
6237 * gdb.cp/pr-1210.exp
6238 * gdb.cp/pr-574.exp
6239 * gdb.cp/pr10687.exp
6240 * gdb.cp/pr12028.exp
6241 * gdb.cp/pr17132.exp
6242 * gdb.cp/pr17494.exp
6243 * gdb.cp/pr9067.exp
6244 * gdb.cp/pr9167.exp
6245 * gdb.cp/pr9631.exp
6246 * gdb.cp/printmethod.exp
6247 * gdb.cp/psmang.exp
6248 * gdb.cp/psymtab-parameter.exp
6249 * gdb.cp/ptype-cv-cp.exp
6250 * gdb.cp/ptype-flags.exp
6251 * gdb.cp/re-set-overloaded.exp
6252 * gdb.cp/ref-types.exp
6253 * gdb.cp/rtti.exp
6254 * gdb.cp/scope-err.exp
6255 * gdb.cp/shadow.exp
6256 * gdb.cp/smartp.exp
6257 * gdb.cp/static-method.exp
6258 * gdb.cp/static-print-quit.exp
6259 * gdb.cp/temargs.exp
6260 * gdb.cp/templates.exp
6261 * gdb.cp/try_catch.exp
6262 * gdb.cp/typedef-operator.exp
6263 * gdb.cp/typeid.exp
6264 * gdb.cp/userdef.exp
6265 * gdb.cp/using-crash.exp
6266 * gdb.cp/var-tag.exp
6267 * gdb.cp/virtbase.exp
6268 * gdb.cp/virtfunc.exp
6269 * gdb.cp/virtfunc2.exp
6270 * gdb.cp/vla-cxx.exp
6271 * gdb.disasm/t01_mov.exp
6272 * gdb.disasm/t02_mova.exp
6273 * gdb.disasm/t03_add.exp
6274 * gdb.disasm/t04_sub.exp
6275 * gdb.disasm/t05_cmp.exp
6276 * gdb.disasm/t06_ari2.exp
6277 * gdb.disasm/t07_ari3.exp
6278 * gdb.disasm/t08_or.exp
6279 * gdb.disasm/t09_xor.exp
6280 * gdb.disasm/t10_and.exp
6281 * gdb.disasm/t11_logs.exp
6282 * gdb.disasm/t12_bit.exp
6283 * gdb.disasm/t13_otr.exp
6284 * gdb.dlang/circular.exp
6285 * gdb.dwarf2/arr-stride.exp
6286 * gdb.dwarf2/arr-subrange.exp
6287 * gdb.dwarf2/atomic-type.exp
6288 * gdb.dwarf2/bad-regnum.exp
6289 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6290 * gdb.dwarf2/callframecfa.exp
6291 * gdb.dwarf2/clztest.exp
6292 * gdb.dwarf2/corrupt.exp
6293 * gdb.dwarf2/data-loc.exp
6294 * gdb.dwarf2/dup-psym.exp
6295 * gdb.dwarf2/dw2-anon-mptr.exp
6296 * gdb.dwarf2/dw2-anonymous-func.exp
6297 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6298 * gdb.dwarf2/dw2-bad-unresolved.exp
6299 * gdb.dwarf2/dw2-basic.exp
6300 * gdb.dwarf2/dw2-canonicalize-type.exp
6301 * gdb.dwarf2/dw2-case-insensitive.exp
6302 * gdb.dwarf2/dw2-common-block.exp
6303 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6304 * gdb.dwarf2/dw2-compressed.exp
6305 * gdb.dwarf2/dw2-const.exp
6306 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6307 * gdb.dwarf2/dw2-cu-size.exp
6308 * gdb.dwarf2/dw2-dup-frame.exp
6309 * gdb.dwarf2/dw2-entry-value.exp
6310 * gdb.dwarf2/dw2-icycle.exp
6311 * gdb.dwarf2/dw2-ifort-parameter.exp
6312 * gdb.dwarf2/dw2-inline-break.exp
6313 * gdb.dwarf2/dw2-inline-param.exp
6314 * gdb.dwarf2/dw2-intercu.exp
6315 * gdb.dwarf2/dw2-intermix.exp
6316 * gdb.dwarf2/dw2-lexical-block-bare.exp
6317 * gdb.dwarf2/dw2-linkage-name-trust.exp
6318 * gdb.dwarf2/dw2-minsym-in-cu.exp
6319 * gdb.dwarf2/dw2-noloc.exp
6320 * gdb.dwarf2/dw2-op-call.exp
6321 * gdb.dwarf2/dw2-op-out-param.exp
6322 * gdb.dwarf2/dw2-opt-structptr.exp
6323 * gdb.dwarf2/dw2-param-error.exp
6324 * gdb.dwarf2/dw2-producer.exp
6325 * gdb.dwarf2/dw2-ranges-base.exp
6326 * gdb.dwarf2/dw2-ref-missing-frame.exp
6327 * gdb.dwarf2/dw2-reg-undefined.exp
6328 * gdb.dwarf2/dw2-regno-invalid.exp
6329 * gdb.dwarf2/dw2-restore.exp
6330 * gdb.dwarf2/dw2-restrict.exp
6331 * gdb.dwarf2/dw2-single-line-discriminators.exp
6332 * gdb.dwarf2/dw2-strp.exp
6333 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6334 * gdb.dwarf2/dw2-unresolved.exp
6335 * gdb.dwarf2/dw2-var-zero-addr.exp
6336 * gdb.dwarf2/dw4-sig-types.exp
6337 * gdb.dwarf2/dwz.exp
6338 * gdb.dwarf2/dynarr-ptr.exp
6339 * gdb.dwarf2/enum-type.exp
6340 * gdb.dwarf2/gdb-index.exp
6341 * gdb.dwarf2/implptr-64bit.exp
6342 * gdb.dwarf2/implptr-optimized-out.exp
6343 * gdb.dwarf2/implptr.exp
6344 * gdb.dwarf2/implref-array.exp
6345 * gdb.dwarf2/implref-const.exp
6346 * gdb.dwarf2/implref-global.exp
6347 * gdb.dwarf2/implref-struct.exp
6348 * gdb.dwarf2/mac-fileno.exp
6349 * gdb.dwarf2/main-subprogram.exp
6350 * gdb.dwarf2/member-ptr-forwardref.exp
6351 * gdb.dwarf2/method-ptr.exp
6352 * gdb.dwarf2/missing-sig-type.exp
6353 * gdb.dwarf2/nonvar-access.exp
6354 * gdb.dwarf2/opaque-type-lookup.exp
6355 * gdb.dwarf2/pieces-optimized-out.exp
6356 * gdb.dwarf2/pieces.exp
6357 * gdb.dwarf2/pr10770.exp
6358 * gdb.dwarf2/pr13961.exp
6359 * gdb.dwarf2/staticvirtual.exp
6360 * gdb.dwarf2/subrange.exp
6361 * gdb.dwarf2/symtab-producer.exp
6362 * gdb.dwarf2/trace-crash.exp
6363 * gdb.dwarf2/typeddwarf.exp
6364 * gdb.dwarf2/valop.exp
6365 * gdb.dwarf2/watch-notconst.exp
6366 * gdb.fortran/array-element.exp
6367 * gdb.fortran/charset.exp
6368 * gdb.fortran/common-block.exp
6369 * gdb.fortran/complex.exp
6370 * gdb.fortran/derived-type-function.exp
6371 * gdb.fortran/derived-type.exp
6372 * gdb.fortran/logical.exp
6373 * gdb.fortran/module.exp
6374 * gdb.fortran/multi-dim.exp
6375 * gdb.fortran/nested-funcs.exp
6376 * gdb.fortran/print-formatted.exp
6377 * gdb.fortran/subarray.exp
6378 * gdb.fortran/vla-alloc-assoc.exp
6379 * gdb.fortran/vla-datatypes.exp
6380 * gdb.fortran/vla-history.exp
6381 * gdb.fortran/vla-ptr-info.exp
6382 * gdb.fortran/vla-ptype-sub.exp
6383 * gdb.fortran/vla-ptype.exp
6384 * gdb.fortran/vla-sizeof.exp
6385 * gdb.fortran/vla-type.exp
6386 * gdb.fortran/vla-value-sub-arbitrary.exp
6387 * gdb.fortran/vla-value-sub-finish.exp
6388 * gdb.fortran/vla-value-sub.exp
6389 * gdb.fortran/vla-value.exp
6390 * gdb.fortran/whatis_type.exp
6391 * gdb.go/chan.exp
6392 * gdb.go/handcall.exp
6393 * gdb.go/hello.exp
6394 * gdb.go/integers.exp
6395 * gdb.go/methods.exp
6396 * gdb.go/package.exp
6397 * gdb.go/strings.exp
6398 * gdb.go/types.exp
6399 * gdb.go/unsafe.exp
6400 * gdb.guile/scm-arch.exp
6401 * gdb.guile/scm-block.exp
6402 * gdb.guile/scm-breakpoint.exp
6403 * gdb.guile/scm-cmd.exp
6404 * gdb.guile/scm-disasm.exp
6405 * gdb.guile/scm-equal.exp
6406 * gdb.guile/scm-frame-args.exp
6407 * gdb.guile/scm-frame-inline.exp
6408 * gdb.guile/scm-frame.exp
6409 * gdb.guile/scm-iterator.exp
6410 * gdb.guile/scm-math.exp
6411 * gdb.guile/scm-objfile.exp
6412 * gdb.guile/scm-ports.exp
6413 * gdb.guile/scm-symbol.exp
6414 * gdb.guile/scm-symtab.exp
6415 * gdb.guile/scm-value-cc.exp
6416 * gdb.guile/types-module.exp
6417 * gdb.linespec/break-ask.exp
6418 * gdb.linespec/cpexplicit.exp
6419 * gdb.linespec/explicit.exp
6420 * gdb.linespec/keywords.exp
6421 * gdb.linespec/linespec.exp
6422 * gdb.linespec/ls-dollar.exp
6423 * gdb.linespec/ls-errs.exp
6424 * gdb.linespec/skip-two.exp
6425 * gdb.linespec/thread.exp
6426 * gdb.mi/mi-async.exp
6427 * gdb.mi/mi-basics.exp
6428 * gdb.mi/mi-break.exp
6429 * gdb.mi/mi-catch-load.exp
6430 * gdb.mi/mi-cli.exp
6431 * gdb.mi/mi-cmd-param-changed.exp
6432 * gdb.mi/mi-console.exp
6433 * gdb.mi/mi-detach.exp
6434 * gdb.mi/mi-disassemble.exp
6435 * gdb.mi/mi-eval.exp
6436 * gdb.mi/mi-file-transfer.exp
6437 * gdb.mi/mi-file.exp
6438 * gdb.mi/mi-fill-memory.exp
6439 * gdb.mi/mi-inheritance-syntax-error.exp
6440 * gdb.mi/mi-linespec-err-cp.exp
6441 * gdb.mi/mi-logging.exp
6442 * gdb.mi/mi-memory-changed.exp
6443 * gdb.mi/mi-read-memory.exp
6444 * gdb.mi/mi-record-changed.exp
6445 * gdb.mi/mi-reg-undefined.exp
6446 * gdb.mi/mi-regs.exp
6447 * gdb.mi/mi-return.exp
6448 * gdb.mi/mi-reverse.exp
6449 * gdb.mi/mi-simplerun.exp
6450 * gdb.mi/mi-solib.exp
6451 * gdb.mi/mi-stack.exp
6452 * gdb.mi/mi-stepi.exp
6453 * gdb.mi/mi-syn-frame.exp
6454 * gdb.mi/mi-until.exp
6455 * gdb.mi/mi-var-block.exp
6456 * gdb.mi/mi-var-child.exp
6457 * gdb.mi/mi-var-cmd.exp
6458 * gdb.mi/mi-var-cp.exp
6459 * gdb.mi/mi-var-display.exp
6460 * gdb.mi/mi-var-invalidate.exp
6461 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6462 * gdb.mi/mi-vla-fortran.exp
6463 * gdb.mi/mi-watch.exp
6464 * gdb.mi/mi2-var-child.exp
6465 * gdb.mi/user-selected-context-sync.exp
6466 * gdb.modula2/unbounded-array.exp
6467 * gdb.multi/dummy-frame-restore.exp
6468 * gdb.multi/multi-arch-exec.exp
6469 * gdb.multi/multi-arch.exp
6470 * gdb.multi/tids.exp
6471 * gdb.multi/watchpoint-multi.exp
6472 * gdb.opencl/callfuncs.exp
6473 * gdb.opencl/convs_casts.exp
6474 * gdb.opencl/datatypes.exp
6475 * gdb.opencl/operators.exp
6476 * gdb.opencl/vec_comps.exp
6477 * gdb.opt/clobbered-registers-O2.exp
6478 * gdb.opt/inline-break.exp
6479 * gdb.opt/inline-bt.exp
6480 * gdb.opt/inline-cmds.exp
6481 * gdb.opt/inline-locals.exp
6482 * gdb.pascal/case-insensitive-symbols.exp
6483 * gdb.pascal/floats.exp
6484 * gdb.pascal/gdb11492.exp
6485 * gdb.python/lib-types.exp
6486 * gdb.python/py-arch.exp
6487 * gdb.python/py-as-string.exp
6488 * gdb.python/py-bad-printers.exp
6489 * gdb.python/py-block.exp
6490 * gdb.python/py-breakpoint-create-fail.exp
6491 * gdb.python/py-breakpoint.exp
6492 * gdb.python/py-caller-is.exp
6493 * gdb.python/py-cmd.exp
6494 * gdb.python/py-explore-cc.exp
6495 * gdb.python/py-explore.exp
6496 * gdb.python/py-finish-breakpoint.exp
6497 * gdb.python/py-finish-breakpoint2.exp
6498 * gdb.python/py-frame-args.exp
6499 * gdb.python/py-frame-inline.exp
6500 * gdb.python/py-frame.exp
6501 * gdb.python/py-framefilter-mi.exp
6502 * gdb.python/py-infthread.exp
6503 * gdb.python/py-lazy-string.exp
6504 * gdb.python/py-linetable.exp
6505 * gdb.python/py-mi-events.exp
6506 * gdb.python/py-mi-objfile.exp
6507 * gdb.python/py-mi.exp
6508 * gdb.python/py-objfile.exp
6509 * gdb.python/py-pp-integral.exp
6510 * gdb.python/py-pp-maint.exp
6511 * gdb.python/py-pp-re-notag.exp
6512 * gdb.python/py-pp-registration.exp
6513 * gdb.python/py-recurse-unwind.exp
6514 * gdb.python/py-strfns.exp
6515 * gdb.python/py-symbol.exp
6516 * gdb.python/py-symtab.exp
6517 * gdb.python/py-sync-interp.exp
6518 * gdb.python/py-typeprint.exp
6519 * gdb.python/py-unwind-maint.exp
6520 * gdb.python/py-unwind.exp
6521 * gdb.python/py-value-cc.exp
6522 * gdb.python/py-xmethods.exp
6523 * gdb.reverse/amd64-tailcall-reverse.exp
6524 * gdb.reverse/break-precsave.exp
6525 * gdb.reverse/break-reverse.exp
6526 * gdb.reverse/consecutive-precsave.exp
6527 * gdb.reverse/consecutive-reverse.exp
6528 * gdb.reverse/finish-precsave.exp
6529 * gdb.reverse/finish-reverse-bkpt.exp
6530 * gdb.reverse/finish-reverse.exp
6531 * gdb.reverse/fstatat-reverse.exp
6532 * gdb.reverse/getresuid-reverse.exp
6533 * gdb.reverse/i386-precsave.exp
6534 * gdb.reverse/i386-reverse.exp
6535 * gdb.reverse/i386-sse-reverse.exp
6536 * gdb.reverse/i387-env-reverse.exp
6537 * gdb.reverse/i387-stack-reverse.exp
6538 * gdb.reverse/insn-reverse.exp
6539 * gdb.reverse/machinestate-precsave.exp
6540 * gdb.reverse/machinestate.exp
6541 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6542 * gdb.reverse/pipe-reverse.exp
6543 * gdb.reverse/readv-reverse.exp
6544 * gdb.reverse/recvmsg-reverse.exp
6545 * gdb.reverse/rerun-prec.exp
6546 * gdb.reverse/s390-mvcle.exp
6547 * gdb.reverse/step-precsave.exp
6548 * gdb.reverse/step-reverse.exp
6549 * gdb.reverse/time-reverse.exp
6550 * gdb.reverse/until-precsave.exp
6551 * gdb.reverse/until-reverse.exp
6552 * gdb.reverse/waitpid-reverse.exp
6553 * gdb.reverse/watch-precsave.exp
6554 * gdb.reverse/watch-reverse.exp
6555 * gdb.rust/generics.exp
6556 * gdb.rust/methods.exp
6557 * gdb.rust/modules.exp
6558 * gdb.rust/simple.exp
6559 * gdb.server/connect-with-no-symbol-file.exp
6560 * gdb.server/ext-attach.exp
6561 * gdb.server/ext-restart.exp
6562 * gdb.server/ext-wrapper.exp
6563 * gdb.server/file-transfer.exp
6564 * gdb.server/server-exec-info.exp
6565 * gdb.server/server-kill.exp
6566 * gdb.server/server-mon.exp
6567 * gdb.server/wrapper.exp
6568 * gdb.stabs/exclfwd.exp
6569 * gdb.stabs/gdb11479.exp
6570 * gdb.threads/clone-new-thread-event.exp
6571 * gdb.threads/corethreads.exp
6572 * gdb.threads/current-lwp-dead.exp
6573 * gdb.threads/dlopen-libpthread.exp
6574 * gdb.threads/gcore-thread.exp
6575 * gdb.threads/sigstep-threads.exp
6576 * gdb.threads/watchpoint-fork.exp
6577 * gdb.trace/actions-changed.exp
6578 * gdb.trace/backtrace.exp
6579 * gdb.trace/change-loc.exp
6580 * gdb.trace/circ.exp
6581 * gdb.trace/collection.exp
6582 * gdb.trace/disconnected-tracing.exp
6583 * gdb.trace/ftrace.exp
6584 * gdb.trace/mi-trace-frame-collected.exp
6585 * gdb.trace/mi-trace-unavailable.exp
6586 * gdb.trace/mi-traceframe-changed.exp
6587 * gdb.trace/mi-tsv-changed.exp
6588 * gdb.trace/no-attach-trace.exp
6589 * gdb.trace/passc-dyn.exp
6590 * gdb.trace/qtro.exp
6591 * gdb.trace/range-stepping.exp
6592 * gdb.trace/read-memory.exp
6593 * gdb.trace/save-trace.exp
6594 * gdb.trace/signal.exp
6595 * gdb.trace/status-stop.exp
6596 * gdb.trace/tfile.exp
6597 * gdb.trace/trace-break.exp
6598 * gdb.trace/trace-buffer-size.exp
6599 * gdb.trace/trace-condition.exp
6600 * gdb.trace/tracefile-pseudo-reg.exp
6601 * gdb.trace/tstatus.exp
6602 * gdb.trace/unavailable.exp
6603 * gdb.trace/while-dyn.exp
6604 * gdb.trace/while-stepping.exp
6605
66062016-12-22 Doug Evans <xdje42@gmail.com>
6607
6608 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6609 and msymbols.
6610
66112016-12-19 Yao Qi <yao.qi@linaro.org>
6612
6613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6614 (test_with_self): Don't call do_steps_and_nexts, and remove
6615 code about stepping into xmalloc.
6616
66172016-12-09 Yao Qi <yao.qi@linaro.org>
6618
6619 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6620
66212016-12-09 Yao Qi <yao.qi@linaro.org>
6622
6623 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6624
66252016-12-09 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/all-architectures-0.exp: New file.
6628 * gdb.base/all-architectures-1.exp: New file.
6629 * gdb.base/all-architectures-2.exp: New file.
6630 * gdb.base/all-architectures-3.exp: New file.
6631 * gdb.base/all-architectures-4.exp: New file.
6632 * gdb.base/all-architectures-5.exp: New file.
6633 * gdb.base/all-architectures-6.exp: New file.
6634 * gdb.base/all-architectures-7.exp: New file.
6635 * gdb.base/all-architectures.exp.in: New file.
6636
66372016-12-09 Yao Qi <yao.qi@linaro.org>
6638
6639 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6640
66412016-12-02 Luis Machado <lgustavo@codesourcery.com>
6642
6643 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6644 possible.
6645 Remove useless pattern-matching code.
6646
66472016-12-02 Pedro Alves <palves@redhat.com>
6648
6649 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6650 procedure.
6651 (top level): Call it.
6652
66532016-12-02 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6656 New procedure.
6657 (top level): Call it.
6658
66592016-12-02 Pedro Alves <palves@redhat.com>
6660
6661 PR cli/20559
6662 * gdb.base/commands.exp (user_defined_command_args_eval): New
6663 procedure.
6664 (top level): Call it.
6665
66662016-12-02 Luis Machado <lgustavo@codesourcery.com>
6667
6668 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6669 timeout handling.
6670
66712016-12-02 Tom Tromey <tom@tromey.com>
6672
6673 * gdb.dwarf2/main-subprogram.c: New file.
6674 * gdb.dwarf2/main-subprogram.exp: New file.
6675
66762016-12-01 Luis Machado <lgustavo@codesourcery.com>
6677
6678 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6679 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6680 gdb_test_no_output for a couple of cases.
6681 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6682
66832016-12-01 Luis Machado <lgustavo@codesourcery.com>
6684
6685 Fix test names and standardize compilation error messages throughout
6686 the following files:
6687
6688 * gdb.ada/start.exp
6689 * gdb.arch/alpha-step.exp
6690 * gdb.arch/e500-prologue.exp
6691 * gdb.arch/ftrace-insn-reloc.exp
6692 * gdb.arch/gdb1291.exp
6693 * gdb.arch/gdb1431.exp
6694 * gdb.arch/gdb1558.exp
6695 * gdb.arch/i386-dr3-watch.exp
6696 * gdb.arch/i386-sse-stack-align.exp
6697 * gdb.arch/ia64-breakpoint-shadow.exp
6698 * gdb.arch/pa-nullify.exp
6699 * gdb.arch/powerpc-aix-prologue.exp
6700 * gdb.arch/thumb-bx-pc.exp
6701 * gdb.base/annota1.exp
6702 * gdb.base/annota3.exp
6703 * gdb.base/arrayidx.exp
6704 * gdb.base/assign.exp
6705 * gdb.base/attach.exp
6706 * gdb.base/auxv.exp
6707 * gdb.base/bang.exp
6708 * gdb.base/bfp-test.exp
6709 * gdb.base/bigcore.exp
6710 * gdb.base/bitfields2.exp
6711 * gdb.base/break-fun-addr.exp
6712 * gdb.base/break-probes.exp
6713 * gdb.base/call-rt-st.exp
6714 * gdb.base/callexit.exp
6715 * gdb.base/catch-fork-kill.exp
6716 * gdb.base/charset.exp
6717 * gdb.base/checkpoint.exp
6718 * gdb.base/comprdebug.exp
6719 * gdb.base/constvars.exp
6720 * gdb.base/coredump-filter.exp
6721 * gdb.base/cursal.exp
6722 * gdb.base/cvexpr.exp
6723 * gdb.base/detach.exp
6724 * gdb.base/display.exp
6725 * gdb.base/dmsym.exp
6726 * gdb.base/dprintf-pending.exp
6727 * gdb.base/dso2dso.exp
6728 * gdb.base/dtrace-probe.exp
6729 * gdb.base/dump.exp
6730 * gdb.base/enum_cond.exp
6731 * gdb.base/exe-lock.exp
6732 * gdb.base/exec-invalid-sysroot.exp
6733 * gdb.base/execl-update-breakpoints.exp
6734 * gdb.base/exprs.exp
6735 * gdb.base/fileio.exp
6736 * gdb.base/find.exp
6737 * gdb.base/finish.exp
6738 * gdb.base/fixsection.exp
6739 * gdb.base/foll-vfork.exp
6740 * gdb.base/frame-args.exp
6741 * gdb.base/gcore.exp
6742 * gdb.base/gdb1250.exp
6743 * gdb.base/global-var-nested-by-dso.exp
6744 * gdb.base/gnu-ifunc.exp
6745 * gdb.base/hashline1.exp
6746 * gdb.base/hashline2.exp
6747 * gdb.base/hashline3.exp
6748 * gdb.base/hbreak-in-shr-unsupported.exp
6749 * gdb.base/huge.exp
6750 * gdb.base/infcall-input.exp
6751 * gdb.base/info-fun.exp
6752 * gdb.base/info-shared.exp
6753 * gdb.base/jit-simple.exp
6754 * gdb.base/jit-so.exp
6755 * gdb.base/jit.exp
6756 * gdb.base/jump.exp
6757 * gdb.base/label.exp
6758 * gdb.base/lineinc.exp
6759 * gdb.base/logical.exp
6760 * gdb.base/longjmp.exp
6761 * gdb.base/macscp.exp
6762 * gdb.base/miscexprs.exp
6763 * gdb.base/new-ui-echo.exp
6764 * gdb.base/new-ui-pending-input.exp
6765 * gdb.base/new-ui.exp
6766 * gdb.base/nodebug.exp
6767 * gdb.base/nofield.exp
6768 * gdb.base/offsets.exp
6769 * gdb.base/overlays.exp
6770 * gdb.base/pending.exp
6771 * gdb.base/pointers.exp
6772 * gdb.base/pr11022.exp
6773 * gdb.base/printcmds.exp
6774 * gdb.base/prologue.exp
6775 * gdb.base/ptr-typedef.exp
6776 * gdb.base/realname-expand.exp
6777 * gdb.base/relativedebug.exp
6778 * gdb.base/relocate.exp
6779 * gdb.base/remote.exp
6780 * gdb.base/reread.exp
6781 * gdb.base/return2.exp
6782 * gdb.base/savedregs.exp
6783 * gdb.base/sep.exp
6784 * gdb.base/sepdebug.exp
6785 * gdb.base/sepsymtab.exp
6786 * gdb.base/set-inferior-tty.exp
6787 * gdb.base/setshow.exp
6788 * gdb.base/shlib-call.exp
6789 * gdb.base/sigaltstack.exp
6790 * gdb.base/siginfo-addr.exp
6791 * gdb.base/signals.exp
6792 * gdb.base/signull.exp
6793 * gdb.base/sigrepeat.exp
6794 * gdb.base/so-impl-ld.exp
6795 * gdb.base/solib-display.exp
6796 * gdb.base/solib-overlap.exp
6797 * gdb.base/solib-search.exp
6798 * gdb.base/solib-symbol.exp
6799 * gdb.base/structs.exp
6800 * gdb.base/structs2.exp
6801 * gdb.base/symtab-search-order.exp
6802 * gdb.base/twice.exp
6803 * gdb.base/unload.exp
6804 * gdb.base/varargs.exp
6805 * gdb.base/watchpoint-solib.exp
6806 * gdb.base/watchpoint.exp
6807 * gdb.base/whatis.exp
6808 * gdb.base/wrong_frame_bt_full.exp
6809 * gdb.btrace/dlopen.exp
6810 * gdb.cell/ea-standalone.exp
6811 * gdb.cell/ea-test.exp
6812 * gdb.cp/dispcxx.exp
6813 * gdb.cp/gdb2384.exp
6814 * gdb.cp/method2.exp
6815 * gdb.cp/nextoverthrow.exp
6816 * gdb.cp/pr10728.exp
6817 * gdb.disasm/am33.exp
6818 * gdb.disasm/h8300s.exp
6819 * gdb.disasm/mn10300.exp
6820 * gdb.disasm/sh3.exp
6821 * gdb.dwarf2/dw2-dir-file-name.exp
6822 * gdb.fortran/complex.exp
6823 * gdb.fortran/library-module.exp
6824 * gdb.guile/scm-pretty-print.exp
6825 * gdb.guile/scm-symbol.exp
6826 * gdb.guile/scm-type.exp
6827 * gdb.guile/scm-value.exp
6828 * gdb.linespec/linespec.exp
6829 * gdb.mi/gdb701.exp
6830 * gdb.mi/gdb792.exp
6831 * gdb.mi/mi-breakpoint-changed.exp
6832 * gdb.mi/mi-dprintf-pending.exp
6833 * gdb.mi/mi-dprintf.exp
6834 * gdb.mi/mi-exit-code.exp
6835 * gdb.mi/mi-pending.exp
6836 * gdb.mi/mi-solib.exp
6837 * gdb.mi/new-ui-mi-sync.exp
6838 * gdb.mi/pr11022.exp
6839 * gdb.mi/user-selected-context-sync.exp
6840 * gdb.opt/solib-intra-step.exp
6841 * gdb.python/py-events.exp
6842 * gdb.python/py-finish-breakpoint.exp
6843 * gdb.python/py-mi.exp
6844 * gdb.python/py-prettyprint.exp
6845 * gdb.python/py-shared.exp
6846 * gdb.python/py-symbol.exp
6847 * gdb.python/py-template.exp
6848 * gdb.python/py-type.exp
6849 * gdb.python/py-value.exp
6850 * gdb.reverse/solib-precsave.exp
6851 * gdb.reverse/solib-reverse.exp
6852 * gdb.server/solib-list.exp
6853 * gdb.stabs/weird.exp
6854 * gdb.threads/reconnect-signal.exp
6855 * gdb.threads/stepi-random-signal.exp
6856 * gdb.trace/actions.exp
6857 * gdb.trace/ax.exp
6858 * gdb.trace/backtrace.exp
6859 * gdb.trace/change-loc.exp
6860 * gdb.trace/deltrace.exp
6861 * gdb.trace/ftrace-lock.exp
6862 * gdb.trace/ftrace.exp
6863 * gdb.trace/infotrace.exp
6864 * gdb.trace/mi-tracepoint-changed.exp
6865 * gdb.trace/packetlen.exp
6866 * gdb.trace/passcount.exp
6867 * gdb.trace/pending.exp
6868 * gdb.trace/range-stepping.exp
6869 * gdb.trace/report.exp
6870 * gdb.trace/stap-trace.exp
6871 * gdb.trace/tfind.exp
6872 * gdb.trace/trace-break.exp
6873 * gdb.trace/trace-condition.exp
6874 * gdb.trace/trace-enable-disable.exp
6875 * gdb.trace/trace-mt.exp
6876 * gdb.trace/tracecmd.exp
6877 * gdb.trace/tspeed.exp
6878 * gdb.trace/tsv.exp
6879 * lib/perftest.exp
6880
68812016-12-01 Luis Machado <lgustavo@codesourcery.com>
6882
6883 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6884 with gdb_test_no_output.
6885 Use command as test name.
6886
68872016-12-01 Luis Machado <lgustavo@codesourcery.com>
6888
6889 Fix test names starting with uppercase throughout the files.
6890
6891 * gdb.ada/assign_1.exp
6892 * gdb.ada/boolean_expr.exp
6893 * gdb.base/arrayidx.exp
6894 * gdb.base/del.exp
6895 * gdb.base/gcore-buffer-overflow.exp
6896 * gdb.base/testenv.exp
6897 * gdb.compile/compile.exp
6898 * gdb.python/py-framefilter-invalidarg.exp
6899 * gdb.python/py-framefilter.exp
6900
69012016-12-01 Luis Machado <lgustavo@codesourcery.com>
6902
6903 Fix test names starting with uppercase throughout the files.
6904
6905 * gdb.ada/array_return.exp
6906 * gdb.ada/expr_delims.exp
6907 * gdb.ada/mi_dyn_arr.exp
6908 * gdb.ada/mi_interface.exp
6909 * gdb.ada/mi_var_array.exp
6910 * gdb.ada/watch_arg.exp
6911 * gdb.arch/alpha-step.exp
6912 * gdb.arch/altivec-regs.exp
6913 * gdb.arch/e500-regs.exp
6914 * gdb.arch/powerpc-d128-regs.exp
6915 * gdb.base/arrayidx.exp
6916 * gdb.base/break.exp
6917 * gdb.base/checkpoint.exp
6918 * gdb.base/debug-expr.exp
6919 * gdb.base/dmsym.exp
6920 * gdb.base/radix.exp
6921 * gdb.base/sepdebug.exp
6922 * gdb.base/testenv.exp
6923 * gdb.base/watch_thread_num.exp
6924 * gdb.base/watchpoint-cond-gone.exp
6925 * gdb.cell/break.exp
6926 * gdb.cell/ea-cache.exp
6927 * gdb.compile/compile.exp
6928 * gdb.cp/gdb2495.exp
6929 * gdb.gdb/selftest.exp
6930 * gdb.gdb/xfullpath.exp
6931 * gdb.go/hello.exp
6932 * gdb.go/integers.exp
6933 * gdb.objc/basicclass.exp
6934 * gdb.pascal/hello.exp
6935 * gdb.pascal/integers.exp
6936 * gdb.python/py-breakpoint.exp
6937 * gdb.python/py-cmd.exp
6938 * gdb.python/py-linetable.exp
6939 * gdb.python/py-xmethods.exp
6940 * gdb.python/python.exp
6941 * gdb.reverse/consecutive-precsave.exp
6942 * gdb.reverse/finish-precsave.exp
6943 * gdb.reverse/i386-precsave.exp
6944 * gdb.reverse/machinestate-precsave.exp
6945 * gdb.reverse/sigall-precsave.exp
6946 * gdb.reverse/solib-precsave.exp
6947 * gdb.reverse/step-precsave.exp
6948 * gdb.reverse/until-precsave.exp
6949 * gdb.reverse/watch-precsave.exp
6950 * gdb.threads/leader-exit.exp
6951 * gdb.threads/pthreads.exp
6952 * gdb.threads/wp-replication.exp
6953 * gdb.trace/actions.exp
6954 * gdb.trace/mi-tsv-changed.exp
6955 * gdb.trace/tsv.exp
6956
69572016-12-01 Luis Machado <lgustavo@codesourcery.com>
6958
6959 Fix test names starting with uppercase throughout the files.
6960
6961 * gdb.arch/i386-bp_permanent.exp
6962 * gdb.arch/i386-gnu-cfi.exp
6963 * gdb.base/disasm-end-cu.exp
6964 * gdb.base/macscp.exp
6965 * gdb.base/pending.exp
6966 * gdb.base/watch_thread_num.exp
6967 * gdb.cp/exception.exp
6968 * gdb.cp/gdb2495.exp
6969 * gdb.cp/local.exp
6970 * gdb.python/py-evsignal.exp
6971 * gdb.python/python.exp
6972 * gdb.trace/tracecmd.exp
6973
69742016-12-01 Luis Machado <lgustavo@codesourcery.com>
6975
6976 Fix test names starting with uppercase throughout the files.
6977
6978 * gdb.base/charset.exp
6979 * gdb.base/eval.exp
6980 * gdb.base/multi-forks.exp
6981 * gdb.guile/scm-progspace.exp
6982 * gdb.opencl/datatypes.exp
6983 * gdb.python/py-block.exp
6984 * gdb.python/py-function.exp
6985 * gdb.python/py-symbol.exp
6986 * gdb.python/py-symtab.exp
6987 * gdb.python/py-xmethods.exp
6988 * gdb.reverse/break-precsave.exp
6989 * gdb.reverse/break-reverse.exp
6990 * gdb.reverse/consecutive-precsave.exp
6991 * gdb.reverse/consecutive-reverse.exp
6992 * gdb.reverse/finish-precsave.exp
6993 * gdb.reverse/finish-reverse-bkpt.exp
6994 * gdb.reverse/finish-reverse.exp
6995 * gdb.reverse/fstatat-reverse.exp
6996 * gdb.reverse/getresuid-reverse.exp
6997 * gdb.reverse/i386-precsave.exp
6998 * gdb.reverse/i386-reverse.exp
6999 * gdb.reverse/i386-sse-reverse.exp
7000 * gdb.reverse/i387-stack-reverse.exp
7001 * gdb.reverse/insn-reverse.exp
7002 * gdb.reverse/machinestate-precsave.exp
7003 * gdb.reverse/machinestate.exp
7004 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7005 * gdb.reverse/pipe-reverse.exp
7006 * gdb.reverse/readv-reverse.exp
7007 * gdb.reverse/recvmsg-reverse.exp
7008 * gdb.reverse/rerun-prec.exp
7009 * gdb.reverse/s390-mvcle.exp
7010 * gdb.reverse/sigall-precsave.exp
7011 * gdb.reverse/sigall-reverse.exp
7012 * gdb.reverse/solib-precsave.exp
7013 * gdb.reverse/solib-reverse.exp
7014 * gdb.reverse/step-precsave.exp
7015 * gdb.reverse/step-reverse.exp
7016 * gdb.reverse/time-reverse.exp
7017 * gdb.reverse/until-precsave.exp
7018 * gdb.reverse/until-reverse.exp
7019 * gdb.reverse/waitpid-reverse.exp
7020 * gdb.reverse/watch-precsave.exp
7021 * gdb.reverse/watch-reverse.exp
7022
70232016-12-01 Luis Machado <lgustavo@codesourcery.com>
7024
7025 Fix test names starting with uppercase throughout the files.
7026
7027 * gdb.arch/i386-mpx-simple_segv.exp
7028 * gdb.arch/i386-mpx.exp
7029 * gdb.arch/i386-permbkpt.exp
7030 * gdb.arch/pa-nullify.exp
7031 * gdb.arch/powerpc-d128-regs.exp
7032 * gdb.arch/vsx-regs.exp
7033 * gdb.base/bfp-test.exp
7034 * gdb.base/break.exp
7035 * gdb.base/breakpoint-shadow.exp
7036 * gdb.base/callfuncs.exp
7037 * gdb.base/charset.exp
7038 * gdb.base/commands.exp
7039 * gdb.base/completion.exp
7040 * gdb.base/dfp-test.exp
7041 * gdb.base/echo.exp
7042 * gdb.base/ending-run.exp
7043 * gdb.base/eval.exp
7044 * gdb.base/expand-psymtabs.exp
7045 * gdb.base/float128.exp
7046 * gdb.base/floatn.exp
7047 * gdb.base/foll-exec-mode.exp
7048 * gdb.base/gdb1056.exp
7049 * gdb.base/gdb11531.exp
7050 * gdb.base/kill-after-signal.exp
7051 * gdb.base/multi-forks.exp
7052 * gdb.base/overlays.exp
7053 * gdb.base/pending.exp
7054 * gdb.base/sepdebug.exp
7055 * gdb.base/testenv.exp
7056 * gdb.base/valgrind-db-attach.exp
7057 * gdb.base/watch_thread_num.exp
7058 * gdb.base/watchpoint-cond-gone.exp
7059 * gdb.base/watchpoint.exp
7060 * gdb.base/watchpoints.exp
7061 * gdb.cp/arg-reference.exp
7062 * gdb.cp/baseenum.exp
7063 * gdb.cp/operator.exp
7064 * gdb.cp/shadow.exp
7065 * gdb.dwarf2/dw2-op-out-param.exp
7066 * gdb.dwarf2/dw2-reg-undefined.exp
7067 * gdb.go/chan.exp
7068 * gdb.go/hello.exp
7069 * gdb.go/integers.exp
7070 * gdb.go/methods.exp
7071 * gdb.go/package.exp
7072 * gdb.guile/scm-parameter.exp
7073 * gdb.guile/scm-progspace.exp
7074 * gdb.guile/scm-value.exp
7075 * gdb.mi/mi-pending.exp
7076 * gdb.mi/user-selected-context-sync.exp
7077 * gdb.multi/multi-attach.exp
7078 * gdb.multi/tids.exp
7079 * gdb.opt/clobbered-registers-O2.exp
7080 * gdb.pascal/floats.exp
7081 * gdb.pascal/integers.exp
7082 * gdb.python/py-block.exp
7083 * gdb.python/py-events.exp
7084 * gdb.python/py-parameter.exp
7085 * gdb.python/py-symbol.exp
7086 * gdb.python/py-symtab.exp
7087 * gdb.python/py-type.exp
7088 * gdb.python/py-value.exp
7089 * gdb.python/py-xmethods.exp
7090 * gdb.python/python.exp
7091 * gdb.reverse/break-precsave.exp
7092 * gdb.reverse/consecutive-precsave.exp
7093 * gdb.reverse/finish-precsave.exp
7094 * gdb.reverse/i386-precsave.exp
7095 * gdb.reverse/machinestate-precsave.exp
7096 * gdb.reverse/sigall-precsave.exp
7097 * gdb.reverse/solib-precsave.exp
7098 * gdb.reverse/step-precsave.exp
7099 * gdb.reverse/until-precsave.exp
7100 * gdb.reverse/watch-precsave.exp
7101 * gdb.server/ext-attach.exp
7102 * gdb.server/ext-restart.exp
7103 * gdb.server/ext-run.exp
7104 * gdb.server/ext-wrapper.exp
7105 * gdb.stabs/gdb11479.exp
7106 * gdb.stabs/weird.exp
7107 * gdb.threads/attach-many-short-lived-threads.exp
7108 * gdb.threads/kill.exp
7109 * gdb.threads/watchpoint-fork.exp
7110
71112016-12-01 Luis Machado <lgustavo@codesourcery.com>
7112
7113 Fix test names starting with uppercase throughout all the files below.
7114
7115 * gdb.ada/array_return.exp
7116 * gdb.ada/catch_ex.exp
7117 * gdb.ada/info_exc.exp
7118 * gdb.ada/mi_catch_ex.exp
7119 * gdb.ada/mi_dyn_arr.exp
7120 * gdb.ada/mi_ex_cond.exp
7121 * gdb.ada/mi_exc_info.exp
7122 * gdb.ada/mi_interface.exp
7123 * gdb.ada/mi_task_arg.exp
7124 * gdb.ada/mi_task_info.exp
7125 * gdb.ada/mi_var_array.exp
7126 * gdb.arch/alpha-step.exp
7127 * gdb.arch/amd64-disp-step.exp
7128 * gdb.arch/arm-disp-step.exp
7129 * gdb.arch/disp-step-insn-reloc.exp
7130 * gdb.arch/e500-prologue.exp
7131 * gdb.arch/ftrace-insn-reloc.exp
7132 * gdb.arch/gdb1558.exp
7133 * gdb.arch/i386-bp_permanent.exp
7134 * gdb.arch/i386-disp-step.exp
7135 * gdb.arch/i386-float.exp
7136 * gdb.arch/i386-gnu-cfi.exp
7137 * gdb.arch/ia64-breakpoint-shadow.exp
7138 * gdb.arch/mips16-thunks.exp
7139 * gdb.arch/pa-nullify.exp
7140 * gdb.arch/powerpc-aix-prologue.exp
7141 * gdb.arch/powerpc-power.exp
7142 * gdb.arch/ppc-dfp.exp
7143 * gdb.arch/s390-tdbregs.exp
7144 * gdb.arch/spu-info.exp
7145 * gdb.arch/spu-ls.exp
7146 * gdb.arch/thumb-bx-pc.exp
7147 * gdb.base/advance.exp
7148 * gdb.base/annota-input-while-running.exp
7149 * gdb.base/arrayidx.exp
7150 * gdb.base/asmlabel.exp
7151 * gdb.base/async.exp
7152 * gdb.base/attach-wait-input.exp
7153 * gdb.base/auto-connect-native-target.exp
7154 * gdb.base/batch-preserve-term-settings.exp
7155 * gdb.base/bfp-test.exp
7156 * gdb.base/bigcore.exp
7157 * gdb.base/bp-permanent.exp
7158 * gdb.base/break-always.exp
7159 * gdb.base/break-fun-addr.exp
7160 * gdb.base/break-idempotent.exp
7161 * gdb.base/break-main-file-remove-fail.exp
7162 * gdb.base/break-probes.exp
7163 * gdb.base/break-unload-file.exp
7164 * gdb.base/break.exp
7165 * gdb.base/call-ar-st.exp
7166 * gdb.base/call-rt-st.exp
7167 * gdb.base/call-sc.exp
7168 * gdb.base/call-signal-resume.exp
7169 * gdb.base/call-strs.exp
7170 * gdb.base/callexit.exp
7171 * gdb.base/callfuncs.exp
7172 * gdb.base/catch-gdb-caused-signals.exp
7173 * gdb.base/catch-signal-siginfo-cond.exp
7174 * gdb.base/catch-syscall.exp
7175 * gdb.base/compare-sections.exp
7176 * gdb.base/cond-eval-mode.exp
7177 * gdb.base/condbreak-call-false.exp
7178 * gdb.base/consecutive-step-over.exp
7179 * gdb.base/cursal.exp
7180 * gdb.base/disabled-location.exp
7181 * gdb.base/disasm-end-cu.exp
7182 * gdb.base/display.exp
7183 * gdb.base/double-prompt-target-event-error.exp
7184 * gdb.base/dprintf-bp-same-addr.exp
7185 * gdb.base/dprintf-detach.exp
7186 * gdb.base/dprintf-next.exp
7187 * gdb.base/dprintf-non-stop.exp
7188 * gdb.base/dprintf-pending.exp
7189 * gdb.base/dso2dso.exp
7190 * gdb.base/ending-run.exp
7191 * gdb.base/enum_cond.exp
7192 * gdb.base/examine-backward.exp
7193 * gdb.base/exe-lock.exp
7194 * gdb.base/exec-invalid-sysroot.exp
7195 * gdb.base/execl-update-breakpoints.exp
7196 * gdb.base/execution-termios.exp
7197 * gdb.base/fileio.exp
7198 * gdb.base/fixsection.exp
7199 * gdb.base/foll-exec-mode.exp
7200 * gdb.base/foll-exec.exp
7201 * gdb.base/fork-running-state.exp
7202 * gdb.base/frame-args.exp
7203 * gdb.base/fullpath-expand.exp
7204 * gdb.base/func-ptr.exp
7205 * gdb.base/gcore-relro-pie.exp
7206 * gdb.base/gdb1090.exp
7207 * gdb.base/gdb1555.exp
7208 * gdb.base/global-var-nested-by-dso.exp
7209 * gdb.base/gnu-ifunc.exp
7210 * gdb.base/hbreak-in-shr-unsupported.exp
7211 * gdb.base/hbreak-unmapped.exp
7212 * gdb.base/hook-stop.exp
7213 * gdb.base/infcall-input.exp
7214 * gdb.base/info-fun.exp
7215 * gdb.base/info-shared.exp
7216 * gdb.base/interrupt-noterm.exp
7217 * gdb.base/jit-so.exp
7218 * gdb.base/jit.exp
7219 * gdb.base/line-symtabs.exp
7220 * gdb.base/list.exp
7221 * gdb.base/longjmp.exp
7222 * gdb.base/macscp.exp
7223 * gdb.base/max-value-size.exp
7224 * gdb.base/nodebug.exp
7225 * gdb.base/nofield.exp
7226 * gdb.base/overlays.exp
7227 * gdb.base/paginate-after-ctrl-c-running.exp
7228 * gdb.base/paginate-bg-execution.exp
7229 * gdb.base/paginate-inferior-exit.exp
7230 * gdb.base/pending.exp
7231 * gdb.base/pr11022.exp
7232 * gdb.base/printcmds.exp
7233 * gdb.base/ptr-typedef.exp
7234 * gdb.base/ptype.exp
7235 * gdb.base/randomize.exp
7236 * gdb.base/range-stepping.exp
7237 * gdb.base/realname-expand.exp
7238 * gdb.base/relativedebug.exp
7239 * gdb.base/remote.exp
7240 * gdb.base/savedregs.exp
7241 * gdb.base/sepdebug.exp
7242 * gdb.base/set-noassign.exp
7243 * gdb.base/shlib-call.exp
7244 * gdb.base/shreloc.exp
7245 * gdb.base/sigaltstack.exp
7246 * gdb.base/sigbpt.exp
7247 * gdb.base/siginfo-addr.exp
7248 * gdb.base/siginfo-obj.exp
7249 * gdb.base/siginfo-thread.exp
7250 * gdb.base/signest.exp
7251 * gdb.base/signull.exp
7252 * gdb.base/sigrepeat.exp
7253 * gdb.base/skip.exp
7254 * gdb.base/so-impl-ld.exp
7255 * gdb.base/solib-corrupted.exp
7256 * gdb.base/solib-disc.exp
7257 * gdb.base/solib-display.exp
7258 * gdb.base/solib-overlap.exp
7259 * gdb.base/solib-search.exp
7260 * gdb.base/solib-symbol.exp
7261 * gdb.base/source-execution.exp
7262 * gdb.base/sss-bp-on-user-bp-2.exp
7263 * gdb.base/sss-bp-on-user-bp.exp
7264 * gdb.base/stack-checking.exp
7265 * gdb.base/stale-infcall.exp
7266 * gdb.base/step-break.exp
7267 * gdb.base/step-line.exp
7268 * gdb.base/step-over-exit.exp
7269 * gdb.base/step-test.exp
7270 * gdb.base/structs.exp
7271 * gdb.base/sym-file.exp
7272 * gdb.base/symtab-search-order.exp
7273 * gdb.base/term.exp
7274 * gdb.base/type-opaque.exp
7275 * gdb.base/unload.exp
7276 * gdb.base/until-nodebug.exp
7277 * gdb.base/until.exp
7278 * gdb.base/unwindonsignal.exp
7279 * gdb.base/watch-cond.exp
7280 * gdb.base/watch-non-mem.exp
7281 * gdb.base/watch_thread_num.exp
7282 * gdb.base/watchpoint-reuse-slot.exp
7283 * gdb.base/watchpoint-solib.exp
7284 * gdb.base/watchpoint.exp
7285 * gdb.btrace/dlopen.exp
7286 * gdb.cell/arch.exp
7287 * gdb.cell/break.exp
7288 * gdb.cell/bt.exp
7289 * gdb.cell/core.exp
7290 * gdb.cell/data.exp
7291 * gdb.cell/dwarfaddr.exp
7292 * gdb.cell/ea-cache.exp
7293 * gdb.cell/ea-standalone.exp
7294 * gdb.cell/ea-test.exp
7295 * gdb.cell/f-regs.exp
7296 * gdb.cell/fork.exp
7297 * gdb.cell/gcore.exp
7298 * gdb.cell/mem-access.exp
7299 * gdb.cell/ptype.exp
7300 * gdb.cell/registers.exp
7301 * gdb.cell/sizeof.exp
7302 * gdb.cell/solib-symbol.exp
7303 * gdb.cell/solib.exp
7304 * gdb.compile/compile-tls.exp
7305 * gdb.cp/exception.exp
7306 * gdb.cp/gdb2495.exp
7307 * gdb.cp/local.exp
7308 * gdb.cp/mb-inline.exp
7309 * gdb.cp/mb-templates.exp
7310 * gdb.cp/pr10687.exp
7311 * gdb.cp/pr9167.exp
7312 * gdb.cp/scope-err.exp
7313 * gdb.cp/templates.exp
7314 * gdb.cp/virtfunc.exp
7315 * gdb.dwarf2/dw2-dir-file-name.exp
7316 * gdb.dwarf2/dw2-single-line-discriminators.exp
7317 * gdb.fortran/complex.exp
7318 * gdb.fortran/library-module.exp
7319 * gdb.guile/guile.exp
7320 * gdb.guile/scm-cmd.exp
7321 * gdb.guile/scm-frame-inline.exp
7322 * gdb.guile/scm-objfile.exp
7323 * gdb.guile/scm-pretty-print.exp
7324 * gdb.guile/scm-symbol.exp
7325 * gdb.guile/scm-type.exp
7326 * gdb.guile/scm-value.exp
7327 * gdb.linespec/keywords.exp
7328 * gdb.linespec/ls-errs.exp
7329 * gdb.linespec/macro-relative.exp
7330 * gdb.linespec/thread.exp
7331 * gdb.mi/mi-breakpoint-changed.exp
7332 * gdb.mi/mi-dprintf-pending.exp
7333 * gdb.mi/mi-fullname-deleted.exp
7334 * gdb.mi/mi-logging.exp
7335 * gdb.mi/mi-pending.exp
7336 * gdb.mi/mi-solib.exp
7337 * gdb.mi/new-ui-mi-sync.exp
7338 * gdb.mi/user-selected-context-sync.exp
7339 * gdb.multi/dummy-frame-restore.exp
7340 * gdb.multi/multi-arch-exec.exp
7341 * gdb.multi/remove-inferiors.exp
7342 * gdb.multi/watchpoint-multi-exit.exp
7343 * gdb.opt/solib-intra-step.exp
7344 * gdb.perf/backtrace.exp
7345 * gdb.perf/single-step.exp
7346 * gdb.perf/skip-command.exp
7347 * gdb.perf/skip-prologue.exp
7348 * gdb.perf/solib.exp
7349 * gdb.python/lib-types.exp
7350 * gdb.python/py-as-string.exp
7351 * gdb.python/py-bad-printers.exp
7352 * gdb.python/py-block.exp
7353 * gdb.python/py-breakpoint.exp
7354 * gdb.python/py-cmd.exp
7355 * gdb.python/py-events.exp
7356 * gdb.python/py-evthreads.exp
7357 * gdb.python/py-finish-breakpoint.exp
7358 * gdb.python/py-finish-breakpoint2.exp
7359 * gdb.python/py-frame-inline.exp
7360 * gdb.python/py-frame.exp
7361 * gdb.python/py-inferior.exp
7362 * gdb.python/py-infthread.exp
7363 * gdb.python/py-mi.exp
7364 * gdb.python/py-objfile.exp
7365 * gdb.python/py-pp-maint.exp
7366 * gdb.python/py-pp-registration.exp
7367 * gdb.python/py-prettyprint.exp
7368 * gdb.python/py-recurse-unwind.exp
7369 * gdb.python/py-shared.exp
7370 * gdb.python/py-symbol.exp
7371 * gdb.python/py-symtab.exp
7372 * gdb.python/py-template.exp
7373 * gdb.python/py-type.exp
7374 * gdb.python/py-unwind-maint.exp
7375 * gdb.python/py-unwind.exp
7376 * gdb.python/py-value.exp
7377 * gdb.python/python.exp
7378 * gdb.reverse/finish-reverse-bkpt.exp
7379 * gdb.reverse/insn-reverse.exp
7380 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7381 * gdb.reverse/solib-precsave.exp
7382 * gdb.reverse/solib-reverse.exp
7383 * gdb.stabs/gdb11479.exp
7384 * gdb.stabs/weird.exp
7385 * gdb.threads/fork-child-threads.exp
7386 * gdb.threads/fork-plus-threads.exp
7387 * gdb.threads/fork-thread-pending.exp
7388 * gdb.threads/forking-threads-plus-breakpoint.exp
7389 * gdb.threads/hand-call-in-threads.exp
7390 * gdb.threads/interrupted-hand-call.exp
7391 * gdb.threads/linux-dp.exp
7392 * gdb.threads/local-watch-wrong-thread.exp
7393 * gdb.threads/next-while-other-thread-longjmps.exp
7394 * gdb.threads/non-ldr-exit.exp
7395 * gdb.threads/pending-step.exp
7396 * gdb.threads/print-threads.exp
7397 * gdb.threads/process-dies-while-detaching.exp
7398 * gdb.threads/process-dies-while-handling-bp.exp
7399 * gdb.threads/pthreads.exp
7400 * gdb.threads/queue-signal.exp
7401 * gdb.threads/reconnect-signal.exp
7402 * gdb.threads/signal-command-handle-nopass.exp
7403 * gdb.threads/signal-command-multiple-signals-pending.exp
7404 * gdb.threads/signal-delivered-right-thread.exp
7405 * gdb.threads/signal-sigtrap.exp
7406 * gdb.threads/sigthread.exp
7407 * gdb.threads/staticthreads.exp
7408 * gdb.threads/stepi-random-signal.exp
7409 * gdb.threads/thread-unwindonsignal.exp
7410 * gdb.threads/thread_check.exp
7411 * gdb.threads/thread_events.exp
7412 * gdb.threads/tid-reuse.exp
7413 * gdb.threads/tls-nodebug.exp
7414 * gdb.threads/tls-shared.exp
7415 * gdb.threads/tls-so_extern.exp
7416 * gdb.threads/tls.exp
7417 * gdb.threads/wp-replication.exp
7418 * gdb.trace/actions-changed.exp
7419 * gdb.trace/actions.exp
7420 * gdb.trace/backtrace.exp
7421 * gdb.trace/change-loc.exp
7422 * gdb.trace/collection.exp
7423 * gdb.trace/deltrace.exp
7424 * gdb.trace/disconnected-tracing.exp
7425 * gdb.trace/entry-values.exp
7426 * gdb.trace/ftrace-lock.exp
7427 * gdb.trace/ftrace.exp
7428 * gdb.trace/infotrace.exp
7429 * gdb.trace/mi-trace-frame-collected.exp
7430 * gdb.trace/mi-trace-unavailable.exp
7431 * gdb.trace/mi-traceframe-changed.exp
7432 * gdb.trace/mi-tracepoint-changed.exp
7433 * gdb.trace/mi-tsv-changed.exp
7434 * gdb.trace/no-attach-trace.exp
7435 * gdb.trace/packetlen.exp
7436 * gdb.trace/passc-dyn.exp
7437 * gdb.trace/passcount.exp
7438 * gdb.trace/pending.exp
7439 * gdb.trace/pr16508.exp
7440 * gdb.trace/qtro.exp
7441 * gdb.trace/range-stepping.exp
7442 * gdb.trace/read-memory.exp
7443 * gdb.trace/report.exp
7444 * gdb.trace/save-trace.exp
7445 * gdb.trace/signal.exp
7446 * gdb.trace/stap-trace.exp
7447 * gdb.trace/status-stop.exp
7448 * gdb.trace/strace.exp
7449 * gdb.trace/tfile.exp
7450 * gdb.trace/tfind.exp
7451 * gdb.trace/trace-break.exp
7452 * gdb.trace/trace-condition.exp
7453 * gdb.trace/trace-enable-disable.exp
7454 * gdb.trace/trace-mt.exp
7455 * gdb.trace/tracecmd.exp
7456 * gdb.trace/tracefile-pseudo-reg.exp
7457 * gdb.trace/tspeed.exp
7458 * gdb.trace/tstatus.exp
7459 * gdb.trace/tsv.exp
7460 * gdb.trace/unavailable.exp
7461 * gdb.trace/while-dyn.exp
7462 * gdb.trace/while-stepping.exp
7463 * lib/gdb-guile.exp
7464 * lib/gdb.exp
7465 * lib/mi-support.exp
7466 * lib/pascal.exp
7467 * lib/perftest.exp
7468 * lib/prelink-support.exp
7469 * lib/selftest-support.exp
7470
74712016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7472
7473 * Makefile.in: Include disable-implicit-rules.mk.
7474
74752016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7476
7477 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7478 non-byte-aligned bit fields.
7479
74802016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7481
7482 PR gdb/12616
7483 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7484 respects the DW_AT_data_bit_offset attribute.
7485
74862016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7487
7488 * gdb.base/default.exp: Fix output of "set language".
7489
74902016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7491
7492 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7493 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7494 make.
7495 * configure.ac: Remove checks for the make program.
7496 * configure: Re-generate.
7497
74982016-11-16 Kevin Buettner <kevinb@redhat.com>
7499
7500 * gdb.python/py-recurse-unwind.c (main): Add loop.
7501 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7502 to read_register() and gdb.parse_and_eval(). Make each code
7503 call a separate case that can be individually tested.
7504 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7505 proc. Call cont_and_backtrace for each of the code paths that
7506 we want to test in the unwinder.
7507
75082016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7509
7510 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7511 the definition of struct S.
7512
75132016-11-11 Catherine Moore <clm@codesourcery.com>
7514
7515 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7516
75172016-11-09 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/commands.exp (runto_or_return): New procedure.
7520 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7521 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7522 (progvar_simple_while_test, progvar_complex_if_while_test)
7523 (if_while_breakpoint_command_test)
7524 (infrun_breakpoint_command_test, breakpoint_command_test)
7525 (user_defined_command_test, watchpoint_command_test)
7526 (test_command_prompt_position, redefine_hook_test)
7527 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7528 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7529 multi_line_input and multi_line. Remove gdb_expect and
7530 gdb_stop_suppressing_tests uses.
7531 * lib/gdb.exp (valnum_re): New global.
7532 (multi_line_input): New procedure.
7533
75342016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7535
7536 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7537 Remove.
7538 (test_setup): Define with proc_with_prefix.
7539 (test_cli_inferior): Likewise.
7540 (test_cli_thread): Likewise.
7541 (test_cli_frame): Likewise.
7542 (test_cli_select_frame): Likewise.
7543 (test_cli_up_down): Likewise.
7544 (test_mi_thread_select): Likewise.
7545 (test_mi_stack_select_frame): Likewise.
7546 (test_cli_in_mi_inferior): Likewise.
7547 (test_cli_in_mi_thread): Likewise.
7548 (test_cli_in_mi_frame): Likewise.
7549 (top level): Do not use with_test_prefix_procname.
7550
75512016-11-09 Pedro Alves <palves@redhat.com>
7552
7553 * gdb.base/commands.exp (gdbvar_simple_if_test)
7554 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7555 (progvar_simple_if_test, progvar_simple_while_test)
7556 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7557 (infrun_breakpoint_command_test, breakpoint_command_test)
7558 (user_defined_command_test, watchpoint_command_test)
7559 (test_command_prompt_position, deprecated_command_test)
7560 (bp_deleted_in_command, temporary_breakpoint_commands)
7561 (stray_arg0_test, source_file_with_indented_comment)
7562 (recursive_source_test, if_commands_test)
7563 (error_clears_commands_left, redefine_hook_test)
7564 (redefine_backtrace_test): Use proc_with_prefix.
7565 * lib/gdb.exp (proc_with_prefix): New proc.
7566
75672016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7568
7569 * gdb.base/tui-layout.c: New file.
7570 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7571 disassembly window contains very long lines.
7572
75732016-11-08 Tom Tromey <tom@tromey.com>
7574
7575 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7576 depend on Python 2.
7577
75782016-11-08 Tom Tromey <tom@tromey.com>
7579
7580 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7581 New method.
7582
75832016-10-29 Manish Goregaokar <manish@mozilla.com>
7584
7585 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7586
75872016-10-27 Manish Goregaokar <manish@mozilla.com>
7588
7589 * gdb.rust/simple.rs: Add test for univariant enums without
7590 discriminants and for encoded struct-like enums.
7591
75922016-10-28 Pedro Alves <palves@redhat.com>
7593
7594 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7595 gdb_test_multiple, tighten regexps and match symtabs and line
7596 tables incrementally.
7597
75982016-10-28 Luis Machado <lgustavo@codesourcery.com>
7599
7600 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7601 general.
7602
76032016-10-25 Luis Machado <lgustavo@codesourcery.com>
7604
7605 * gdb.base/exec-invalid-sysroot.exp: New file.
7606
76072016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7608
7609 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7610
76112016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7612
7613 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7614
76152016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7616
7617 * gdb.base/killed-outside.exp: Remove $options from a call to
7618 `prepare_for_testing'.
7619
76202016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7621
7622 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7623 Change test message.
7624
76252016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7626
7627 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7628 Update comment.
7629
76302016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7631
7632 * gdb.trace/mi-trace-save.exp: New file.
7633
76342016-10-13 Yao Qi <yao.qi@linaro.org>
7635
7636 * gdb.base/code_elim.exp (get_var_address): Remove.
7637 * gdb.base/relocate.exp: Likewise.
7638 * gdb.base/shreloc.exp: Likewise.
7639 * lib/gdb.exp (get_var_address): New.
7640
76412016-10-13 Yao Qi <yao.qi@linaro.org>
7642
7643 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7644 floating point tests if $skip_float_test is false.
7645
76462016-10-12 Luis Machado <lgustavo@codesourcery.com>
7647
7648 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7649 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7650 argc values.
7651 Add 1 to argc so we guarantee distinct initial/modified argc values.
7652
76532016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7654
7655 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7656
76572016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7658
7659 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7660 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7661 * gdb.arch/vsx-regs.exp: Likewise.
7662
76632016-10-07 Yao Qi <yao.qi@linaro.org>
7664
7665 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7666
76672016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7668
7669 * gdb.python/python.exp: Test decode_line("*0").
7670
76712016-10-06 Doug Evans <dje@google.com>
7672
7673 * gdb.python/py-value.exp (test_value_creation): Add test for large
7674 unsigned 64-bit value.
7675
76762016-10-06 Tom Tromey <tom@tromey.com>
7677
7678 * gdb.compile/compile.exp: Change java tests to rust.
7679 * gdb.base/setshow.exp: Change java tests to rust.
7680 * gdb.base/default.exp: Remove java from language list.
7681 * README (Examples): Update language example.
7682 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7683 test.
7684 * lib/gdb.exp (skip_java_tests): Remove.
7685 * lib/java.exp: Remove.
7686 * gdb.java: Remove.
7687
76882016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7689
7690 * gdb.arch/mips-fcr.exp: New test.
7691 * gdb.arch/mips-fcr.c: Source for the new test.
7692
76932016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7694
7695 * gdb.base/solib-disc.exp: Use `standard_output_file'
7696 throughout.
7697
76982016-10-06 Pedro Alves <palves@redhat.com>
7699
7700 * gdb.base/jit-simple-dl.c: New file.
7701 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7702 * gdb.base/jit-simple.c: ... this.
7703 * gdb.base/jit-simple.exp (jit_run): Delete.
7704 (build_jit): New proc.
7705 (jit_test_reread): Recompile either the main program or the shared
7706 library, depending on what is being tested. Skip changing address
7707 if caller wants to. Compare before/after addresses. If testing
7708 standalone, explicitly load the binary. Test "maint info
7709 breakpoints".
7710 (top level): Add "standalone vs shared lib" and "change address"
7711 vs "same address" axes.
7712
77132016-10-06 Pedro Alves <palves@redhat.com>
7714
7715 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7716 call.
7717 (jit_run): Delete.
7718 (jit_test_reread): Use with_test_prefix. Reload the main binary
7719 explicitly. Compare the before/after addresses of the JIT
7720 descriptor.
7721
77222016-08-15 Doug Evans <dje@google.com>
7723
7724 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7725 for single bitfields is bool.
7726 * gdb.xml/tdesc-regs.exp: Ditto.
7727
77282016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7729
7730 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7731
77322016-10-05 Yao Qi <yao.qi@linaro.org>
7733
7734 * lib/gdb.exp (support_complex_tests): Return zero if
7735 gdb_skip_float_test return true.
7736
77372016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7738 Simon Marchi <simon.marchi@ericsson.com>
7739
7740 PR gdb/20487
7741 * gdb.mi/user-selected-context-sync.exp: New file.
7742 * gdb.mi/user-selected-context-sync.c: New file.
7743
77442016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7745 Simon Marchi <simon.marchi@ericsson.com>
7746
7747 PR gdb/20487
7748 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7749 =thread-select-event check.
7750
77512016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7752
7753 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7754 the compulsory L operand changes.
7755 * gdb.arch/powerpc-power.s: Likewise.
7756
77572016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7758
7759 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7760 * gdb.base/jit-attach-pie.c: New file.
7761 * gdb.base/jit-attach-pie.exp: New file.
7762
77632016-09-28 Pedro Alves <palves@redhat.com>
7764
7765 * gdb.base/infcall-input.c: New file.
7766 * gdb.base/infcall-input.exp: New file.
7767
77682016-09-22 Yao Qi <yao.qi@linaro.org>
7769
7770 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7771 (gdb_exit): Rename it to ...
7772 (gdbserver_gdb_exit): ... Close GDBserver.
7773 (gdb_exit): New proc, call gdbserver_gdb_exit.
7774 (mi_gdb_exit): Likewise.
7775
77762016-09-22 Yao Qi <yao.qi@linaro.org>
7777
7778 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7779 path.
7780 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7781 Remove duplication.
7782
77832016-09-22 Yao Qi <yao.qi@linaro.org>
7784
7785 * lib/gdbserver-support.exp: Check the existence of
7786 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7787
77882016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7789
7790 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7791
77922016-09-21 Tom Tromey <tom@tromey.com>
7793
7794 PR gdb/20604:
7795 * gdb.base/quit.exp: New file.
7796
77972016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7798
7799 * .gitignore: New file.
7800
78012016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7802
7803 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7804 throughout.
7805
78062016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7807
7808 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7809
78102016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7811
7812 * gdb.cp/casts.cc (decltype): Move it ...
7813 (main): ... with its call to ...
7814 * gdb.cp/casts03.cc: ... a new file.
7815 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7816
78172016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7820
78212016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7822
7823 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7824 and sync up the test with tests in gas/testsuite/gas/ppc.
7825 * gdb.arch/powerpc-power.exp: Likewise.
7826
78272016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7828
7829 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7830
78312016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7832 Jan Kratochvil <jan.kratochvil@redhat.com>
7833
7834 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7835 make m1's definition to be different from m2's. Use 'dummy' as an
7836 argument for probe 'two'.
7837
78382016-09-10 Jon Beniston <jon@beniston.com>
7839
7840 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7841 for sim target.
7842
78432016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7844
7845 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7846 variable declaration.
7847 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7848 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7849 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7850 received HWCAP as its argument.
7851
78522016-09-06 Pedro Alves <palves@redhat.com>
7853
7854 * gdb.base/new-ui-pending-input.c: New file.
7855 * gdb.base/new-ui-pending-input.exp: New file.
7856 * gdb.exp (clear_gdb_spawn_id): New procedure.
7857 (with_spawn_id): Check whether gdb_spawn_id exists before
7858 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7859 on exit.
7860
78612016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7862
7863 * gdb.base/float128.c: New file.
7864 * gdb.base/float128.exp: Likewise.
7865 * gdb.base/floatn.c: Likewise.
7866 * gdb.base/floatn.exp: Likewise.
7867
78682016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7869
7870 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7871
78722016-09-05 Pedro Alves <palves@redhat.com>
7873
7874 PR backtrace/19927
7875 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7876 unwinders are immediately called as side effect of "source" or
7877 "disable unwinder" commands.
7878 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7879
78802016-09-02 Yao Qi <yao.qi@linaro.org>
7881
7882 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7883 is true and $type is "float" or "double".
7884
78852016-09-02 Yao Qi <yao.qi@linaro.org>
7886
7887 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7888 true.
7889 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7890 * gdb.base/call-rt-st.exp: Likewise.
7891 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7892 return value instead of gdb,skip_float_test.
7893 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7894 (do_function_calls): Use its return value instead of
7895 gdb,skip_float_test.
7896 * gdb.base/finish.exp: Likewise.
7897 * gdb.base/funcargs.exp: Likewise.
7898 * gdb.base/return.exp: Likewise.
7899 * gdb.base/return2.exp: Likewise.
7900 * gdb.base/varargs.exp: Likewise.
7901 * lib/gdb.exp (gdb_skip_float_test): Change it to
7902 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7903
79042016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7905
7906 * gdb.multi/tids.exp: Test "thread apply all".
7907
79082016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7909
7910 * gdb.base/default.exp (tty): Remove.
7911
79122016-08-24 Kevin Buettner <kevinb@redhat.com>
7913
7914 * gdb.python/py-recurse-unwind.c: New file.
7915 * gdb.python/py-recurse-unwind.py: New file.
7916 * gdb.python/py-recurse-unwind.exp: New file.
7917
79182016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7919
7920 * gdb.base/set-inferior-tty.exp: New file.
7921 * gdb.base/set-inferior-tty.c: New file.
7922
79232016-08-23 Pedro Alves <palves@redhat.com>
7924
7925 PR gdb/20494
7926 * gdb.base/new-ui-echo.c: New file.
7927 * gdb.base/new-ui-echo.exp: New file.
7928
79292016-08-23 Yao Qi <yao.qi@linaro.org>
7930
7931 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7932 gdbserver_spawn.
7933 * gdb.server/connect-without-multi-process.exp (do_test):
7934 Likewise.
7935
79362016-08-23 Yao Qi <yao.qi@linaro.org>
7937
7938 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7939 standalone_txt. Delete gdb_txt and standalone_txt on host
7940 and target. Spawn the binary on target. Copy files from
7941 target to host.
7942
79432016-08-22 Pedro Alves <palves@redhat.com>
7944
7945 PR gdb/20505
7946 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7947 with_test_prefix. Factor out bits to ...
7948 (test_no_vdso): ... this new procedure.
7949
79502016-08-19 Carl Love <cel@us.ibm.com>
7951
7952 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7953 maintaining separate logic for constructing the output path.
7954 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7955 * gdb.arch/ppc-dfp.exp: Likewise.
7956 * gdb.arch/ppc-fp.exp: Likewise.
7957 * gdb.arch/vsx-regs.exp: Likewise.
7958 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7959 binprefix for generating the additional binary files.
7960
79612016-08-19 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.trace/mi-trace-frame-collected.exp
7964 (test_trace_frame_collected): On x32, expect two registers.
7965
79662016-08-18 Carl Love <cel@us.ibm.com>
7967
7968 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7969 and sync up the test with tests in gas/testsuite/gas/ppc.
7970 * gdb.arch/powerpc-power.exp: Likewise.
7971
79722016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7973
7974 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7975 expected error message.
7976
79772016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7978
7979 * gdb.multi/remove-inferiors.exp: New file.
7980 * gdb.multi/remove-inferiors.c: New file.
7981
79822016-08-12 Yao Qi <yao.qi@linaro.org>
7983
7984 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7985 argument list.
7986
79872016-08-10 Pedro Alves <palves@redhat.com>
7988
7989 PR gdb/19187
7990 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7991 setup_kfails.
7992
79932016-08-09 Pedro Alves <palves@redhat.com>
7994 Simon Marchi <simon.marchi@ericsson.com>
7995
7996 PR gdb/20418
7997 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7998 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7999
80002016-08-09 Pedro Alves <palves@redhat.com>
8001
8002 PR mi/20431
8003 * gdb.mi/mi-cmd-error.exp: New file.
8004
80052016-08-09 Pedro Alves <palves@redhat.com>
8006
8007 PR gdb/18653
8008 * gdb.base/signals-state-child.c: New file.
8009 * gdb.base/signals-state-child.exp: New file.
8010 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8011
80122016-08-09 Pedro Alves <palves@redhat.com>
8013
8014 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8015
80162016-08-03 Tom Tromey <tom@tromey.com>
8017
8018 PR python/18565:
8019 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8020
80212016-08-01 Yao Qi <yao.qi@linaro.org>
8022
8023 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8024 variable mode to "multi-process" if $multi_process is 1, otherwise
8025 set it to "single-process".
8026
80272016-08-01 Yao Qi <yao.qi@linaro.org>
8028
8029 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8030 * gdb.cp/cpexprs.exp: Likewise.
8031 * gdb.cp/m-static.exp: Likewise.
8032
80332016-07-26 Tom Tromey <tom@tromey.com>
8034
8035 PR python/20190:
8036 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8037 test.
8038
80392016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8040
8041 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8042 selecting assembly source files.
8043 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8044 assembly source files.
8045 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8046 assembly source files.
8047 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8048 selecting assembly source files.
8049
80502016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8051
8052 * gdb.base/new-ui.exp (do_test_invalid_args): New
8053 procedure.
8054
80552016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8056
8057 * gdb.btrace/reconnect.c: New file.
8058 * gdb.btrace/reconnect.exp: New file.
8059
80602016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8061
8062 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8063 to test_catch_syscall_group.
8064 (test_catch_syscall_group): New.
8065
80662016-07-21 Tom Tromey <tom@tromey.com>
8067
8068 * gdb.rust/simple.rs (main): Use empty struct expression.
8069 * gdb.rust/simple.exp: Add tests for empty struct expression.
8070
80712016-07-21 Yao Qi <yao.qi@linaro.org>
8072
8073 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8074 if gdb_skip_xml_test is true on some targets.
8075
80762016-07-21 Yao Qi <yao.qi@linaro.org>
8077
8078 * gdb.server/solib-list.exp: Unset last_loaded_file.
8079
80802016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8081
8082 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8083 "step into captured_main (args)".
8084
80852016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8086
8087 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8088
80892016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8090
8091 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8092
80932016-07-19 Pedro Alves <palves@redhat.com>
8094
8095 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8096 * gdb.opt/inline-bt.exp: Likewise.
8097 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8098 additional_flags=-Winline.
8099 * gdb.opt/inline-locals.exp: Likewise.
8100 * gdb.opt/inline-markers.c (ATTR): Define.
8101 (inlined_fn): Use it.
8102
81032016-07-19 Yao Qi <yao.qi@linaro.org>
8104
8105 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8106 (test_with_self): Remove some code. Remove argument executable.
8107 (top-level): Use do_self_tests.
8108
81092016-07-15 Zachary Welch <zwelch@codesourcery.com>
8110 Don Breazeal <donb@codesourcery.com>
8111
8112 * gdb.base/maint.exp: Escape paths used in regular expressions.
8113 * gdb.stabs/weird.exp: Likewise.
8114
81152016-07-13 Tom Tromey <tom@tromey.com>
8116
8117 PR python/15620, PR python/18620:
8118 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8119 (test_bkpt_events): New procs.
8120
81212016-07-13 Tom Tromey <tom@tromey.com>
8122
8123 PR python/17698:
8124 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8125 test.
8126 (test_watchpoints): Likewise.
8127 (test_bkpt_pending): New proc.
8128
81292016-07-13 Tom Tromey <tom@tromey.com>
8130
8131 PR cli/18053:
8132 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8133 completion test.
8134
81352016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8136
8137 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8138 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8139 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8140 f_label.
8141 (g): Rename g_end_lbl to g_label.
8142 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8143 low_pc and high_pc.
8144 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8145
81462016-07-12 Tom Tromey <tom@tromey.com>
8147
8148 PR python/19293:
8149 * gdb.python/py-unwind-maint.exp: Update tests.
8150
81512016-07-12 Yao Qi <yao.qi@linaro.org>
8152
8153 * lib/selftest-support.exp (selftest_setup): Match the output
8154 when captured_main is inlined.
8155
81562016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8157
8158 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8159 New variables.
8160 (print this%a, print this%b, print this): New tests.
8161 * gdb.fortran/derived-types.f90 (this): New object and
8162 initialization.
8163
81642016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8165
8166 * gdb.ada/arraydim.exp: Remove extra directory level in build
8167 directory.
8168
81692016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8170
8171 * lib/ada.exp: Remove extra directory level in build directory.
8172 * gdb.ada/cond_lang.exp: Likewise.
8173 * gdb.ada/exec_changed.exp: Likewise.
8174 * gdb.ada/lang_switch.exp: Likewise.
8175
81762016-07-06 Manish Goregaokar <manish@mozilla.com>
8177
8178 * simple.rs: Add test for raw pointer subscripting.
8179 * simple.exp: Add test expectations.
8180
81812016-07-05 Yao Qi <yao.qi@linaro.org>
8182
8183 * gdb.mi/mi-reverse.exp: Match =record-started output.
8184
81852016-07-01 Pedro Alves <palves@redhat.com>
8186
8187 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8188 procedure.
8189 (jit_reader_test): Test the jit reader's unwinder.
8190 * gdb.base/jithost.c (jit_function_00_code): New global.
8191 (main): Use memcpy to fill in the mmapped code, instead of poking
8192 bytes manually here.
8193 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8194 value.
8195 (read_debug_info): Save the function's range.
8196 (read_sp): New function.
8197 (unwind_frame): Use it. Also unwind RBP.
8198 (get_frame_id): Use read_sp.
8199 (gdb_init_reader): Use calloc instead of malloc.
8200 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8201 parameter. Use gdb_test_multiple.
8202
82032016-07-01 Pedro Alves <palves@redhat.com>
8204 Antoine Tremblay <antoine.tremblay@ericsson.com>
8205
8206 * gdb.threads/process-dies-while-detaching.c: New file.
8207 * gdb.threads/process-dies-while-detaching.exp: New file.
8208
82092016-07-01 Pedro Alves <palves@redhat.com>
8210
8211 * gdb.multi/watchpoint-multi-exit.c: New file.
8212 * gdb.multi/watchpoint-multi-exit.exp: New file.
8213
82142016-06-30 Pedro Alves <palves@redhat.com>
8215
8216 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8217 unset inferior_spawn_id.
8218
82192016-06-30 Pedro Alves <palves@redhat.com>
8220
8221 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8222 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8223
82242016-06-29 Yao Qi <yao.qi@linaro.org>
8225
8226 * gdb.base/return.c: Add copyright header.
8227
82282016-06-29 Tom Tromey <tom@tromey.com>
8229
8230 PR python/20129:
8231 * gdb.python/py-framefilter.exp: Add tests for setting priority
8232 and disabling of non-existent frame filter.
8233
82342016-06-29 Yao Qi <yao.qi@linaro.org>
8235
8236 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8237 0x0f07ff.
8238
82392016-06-28 Yao Qi <yao.qi@linaro.org>
8240
8241 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8242 triplets. Start gdb, execute catch syscall, and continue. Check
8243 gdb's output to determine catch syscall is supported.
8244
82452016-06-27 Manish Goregaokar <manish@mozilla.com>
8246
8247 * gdb.rust/simple.rs: Add test for returning unit in a function.
8248 * gdb.rust/simple.exp: Add expectation for functions returning
8249 unit.
8250
82512016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8252
8253 * gdb.python/py-breakpoint-create-fail.c,
8254 gdb.python/py-breakpoint-create-fail.exp,
8255 gdb.python/py-breakpoint-create-fail.py: New testcase.
8256
82572016-06-25 Manish Goregaokar <manish@mozilla.com>
8258
8259 PR gdb/20239
8260 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8261 * gdb.rust/simple.exp: Add test expectations for new NonZero
8262 tests.
8263
82642016-06-24 David Taylor <dtaylor@emc.com>
8265
8266 * gdb.base/offsets.exp: New file.
8267 * gdb.base/offsets.c: New file.
8268
82692016-06-23 Tom Tromey <tom@tromey.com>
8270
8271 PR gdb/16483:
8272 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8273 before any filters are loaded.
8274
82752016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8276
8277 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8278 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8279 structs.
8280 * gdb.fortran/derived-type-function.exp: New file.
8281 * gdb.fortran/derived-type-function.f90: New file.
8282
8283
82842016-06-21 Pedro Alves <palves@redhat.com>
8285
8286 * gdb.base/new-ui.exp: New file.
8287 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8288 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8289 (with_spawn_id): New procedure.
8290
82912016-06-21 Pedro Alves <palves@redhat.com>
8292
8293 * gdb.mi/mi-exec-run.exp: New file.
8294
82952016-06-21 Pedro Alves <palves@redhat.com>
8296
8297 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8298 breakpoint command's output on the main UI.
8299 (test_break): New procedure, factored out from calls in the top
8300 level.
8301 (top level): Use foreach_with_prefix to test MI as main UI and as
8302 separate UI.
8303
83042016-06-21 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8307 (test_awatch_creation_and_listing)
8308 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8309 Remove 'type' parameter.
8310 (test_watchpoint_all): New parameter mi_mode. Remove
8311 with_test_prefix.
8312 (top level): Use foreach_with_prefix, and add main/separate UI MI
8313 testing axis.
8314
83152016-06-21 Pedro Alves <palves@redhat.com>
8316
8317 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8318 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8319 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8320 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8321 (gdb_main_spawn_id, mi_spawn_id): Declare and
8322 comment.
8323 (mi_create_inferior_pty): New procedure,
8324 factored out from default_mi_gdb_start.
8325 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8326 procedures.
8327 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8328 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8329 Use mi_create_inferior_pty.
8330 (mi_gdb_start): Use eval to pass down args list.
8331
83322016-06-21 Pedro Alves <palves@redhat.com>
8333
8334 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8335 * gdb.opt/inline-cmds.exp: Add MI tests.
8336
83372016-06-21 Pedro Alves <palves@redhat.com>
8338
8339 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8340
83412016-06-21 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8344 (top level): Use it instead of mi_execute_to.
8345
83462016-06-21 Pedro Alves <palves@redhat.com>
8347
8348 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8349 (cont_handler_str): New.
8350 (signal_stop_handler): Set stop_handler_str instead of printing to
8351 stdout.
8352 (continue_handler): Set cont_handler_str instead of printing to
8353 stdout.
8354 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8355 mi_send_resuming_command. Print stop_handler_str and
8356 cont_handler_str instead of expecting the python events print
8357 directly.
8358
83592016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8360
8361 * gdb.base/jit-reader.exp: New file.
8362 * gdb.base/jithost.c: New file.
8363 * gdb.base/jithost.h: New file.
8364 * gdb.base/jitreader.c : New file.
8365 * gdb.base/jit-protocol.h: New file.
8366
83672016-06-17 Yao Qi <yao.qi@linaro.org>
8368
8369 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8370 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8371 and detach-on-fork. Adjust tests.
8372 (top level): Invoke break_cond_on_syscall with combinations of
8373 syscall, follow-fork-mode and detach-on-fork.
8374
83752016-06-17 Yao Qi <yao.qi@linaro.org>
8376
8377 * gdb.base/step-over-exit.c: New.
8378 * gdb.base/step-over-exit.exp: New.
8379
83802016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8381
8382 * gdb.base/float.exp: Add target check for nds32*-*-*.
8383 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8384
83852016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8386
8387 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8388 for unsupported target features.
8389 * gdb.base/call-rt-st.exp: Likewise.
8390 * gdb.base/call-sc.exp: Likewise.
8391 * gdb.base/call-signal-resume.exp: Likewise.
8392 * gdb.base/call-strs.exp: Likewise.
8393 * gdb.base/callexit.exp: Likewise.
8394 * gdb.base/callfuncs.exp: Likewise.
8395 * gdb.base/nodebug.exp: Likewise.
8396 * gdb.base/printcmds.exp: Likewise.
8397 * gdb.base/ptype.exp: Likewise.
8398 * gdb.base/structs.exp: Likewise.
8399 * gdb.base/unwindonsignal.exp: Likewise.
8400 * gdb.cp/gdb2495.exp: Likewise.
8401 * gdb.cp/templates.exp: Likewise.
8402 * gdb.cp/virtfunc.exp: Likewise.
8403 * gdb.threads/hand-call-in-threads.exp: Likewise.
8404 * gdb.threads/interrupted-hand-call.exp: Likewise.
8405 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8406
84072016-06-10 Tom Tromey <tom@tromey.com>
8408
8409 PR rust/20110:
8410 * gdb.rust/expr.exp: Add test for integer constant larger than
8411 i32.
8412
84132016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8414
8415 * gdb.fortran/nested-funcs.exp: New.
8416 * gdb.fortran/nested-funcs.f90: New.
8417
84182016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8419
8420 * gdb.base/examine-backward.c: New file.
8421 * gdb.base/examine-backward.exp: New file.
8422
84232016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8424
8425 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8426 matching.
8427
84282016-06-02 Tom Tromey <tom@tromey.com>
8429
8430 PR python/18984:
8431 * gdb.python/py-shared.exp: Add solib_name test.
8432
84332016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8434
8435 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8436
84372016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8438
8439 PR c++/19893
8440 * gdb.dwarf2/implref.exp: Rename to...
8441 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8442 * gdb.dwarf2/implref-array.c: New file.
8443 * gdb.dwarf2/implref-array.exp: Likewise.
8444 * gdb.dwarf2/implref-global.c: Likewise.
8445 * gdb.dwarf2/implref-global.exp: Likewise.
8446 * gdb.dwarf2/implref-struct.c: Likewise.
8447 * gdb.dwarf2/implref-struct.exp: Likewise.
8448
84492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8450
8451 * gdb.trace/trace-condition.exp: Add 64bit tests.
8452
84532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8454
8455 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8456 bits types.
8457 (main): Adapt to 8 to 64 bits types.
8458 * gdb.trace/trace-condition.exp: Add new tests.
8459
84602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8461
8462 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8463
84642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8465
8466 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8467 Move condition tests...
8468 * gdb.trace/trace-condition.exp: Here.
8469
84702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8471
8472 * gdb.trace/trace-condition.exp: Add counter-case tests.
8473
84742016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8475
8476 PR c++/15231
8477 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8478 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8479
84802016-05-27 Pedro Alves <palves@redhat.com>
8481
8482 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8483 New procedure.
8484 (top level): Call it, and bail out of DejaGnu is known to be bad.
8485
84862016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8487
8488 * gdb.base/whatis.c: Extend the test case.
8489 * gdb.base/whatis.exp: Add additional tests.
8490
84912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8492
8493* gdb.fortran/type.f90: Add pointer variable.
8494* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8495
84962016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8497
8498 * gdb.fortran/vla-type.exp: Fix testcase name.
8499
85002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8501
8502 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8503
85042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8505
8506 * gdb.fortran/type.f90: Add nested structures.
8507 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8508 * gdb.fortran/derived-type.exp: Adapt expected output.
8509 * gdb.fortran/vla-type.exp: Adapt expected output.
8510
85112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8512
8513 * gdb.fortran/whatis_type.exp: Adapt expected output.
8514
85152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8516
8517 * gdb.fortran/print_type.exp: Fix expected output.
8518 * gdb.fortran/whatis_type.exp: Fix expected output.
8519
85202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8521
8522 * gdb.fortran/whatis_type.exp: Use multi_line.
8523
85242016-05-24 Tom Tromey <tom@tromey.com>
8525
8526 PR python/17386:
8527 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8528 use value as an index.
8529
85302016-05-23 Tom Tromey <tom@tromey.com>
8531
8532 PR python/17981:
8533 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8534 no-breakpoint case.
8535
85362016-05-24 Pedro Alves <palves@redhat.com>
8537
8538 PR gdb/19828
8539 * gdb.threads/clone-attach-detach.c: New file.
8540 * gdb.threads/clone-attach-detach.exp: New file.
8541
85422016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8543
8544 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8545
85462016-05-23 Tom Tromey <tom@tromey.com>
8547
8548 PR python/19438, PR python/18393:
8549 * gdb.python/py-progspace.exp: Add "dir" test.
8550 * gdb.python/py-objfile.exp: Add "dir" test.
8551
85522016-05-23 Yao Qi <yao.qi@linaro.org>
8553
8554 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8555 * gdb.arch/thumb2-it.exp: Likewise.
8556
85572016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8558
8559 * gdb.mi/mi-threads-interrupt.c: New file.
8560 * gdb.mi/mi-threads-interrupt.exp: New file.
8561
85622016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8563
8564 PR gdb/18077
8565 * gdb.mi/mi-async-run.exp: New file.
8566 * gdb.mi/mi-async-run.c: New file.
8567
85682016-05-17 Tom Tromey <tom@tromey.com>
8569 Manish Goregaokar <manishsmail@gmail.com>
8570
8571 * lib/rust-support.exp: New file.
8572 * lib/gdb.exp (skip_rust_tests): New proc.
8573 (build_executable_from_specs): Handle rust.
8574 * lib/future.exp (gdb_find_rustc): New proc.
8575 (gdb_default_target_compile): Handle rust.
8576 * gdb.rust/expr.exp: New file.
8577 * gdb.rust/generics.exp: New file.
8578 * gdb.rust/generics.rs: New file.
8579 * gdb.rust/methods.exp: New file.
8580 * gdb.rust/methods.rs: New file.
8581 * gdb.rust/modules.exp: New file.
8582 * gdb.rust/modules.rs: New file.
8583 * gdb.rust/simple.exp: New file.
8584 * gdb.rust/simple.rs: New file.
8585
85862016-05-17 Tom Tromey <tom@tromey.com>
8587
8588 * gdb.base/default.exp (set language): Add rust.
8589
85902016-05-17 Tom Tromey <tom@tromey.com>
8591
8592 * gdb.gdb/unittest.exp: New file.
8593
85942016-05-16 Yao Qi <yao.qi@linaro.org>
8595
8596 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8597 shell_prompt. Update shell_prompt_re.
8598
85992016-05-12 Doug Evans <dje@google.com>
8600
8601 PR symtab/19999
8602 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8603 $options when building executable.
8604 * gdb.dwarf2/fission-loclists-pie.S: New file.
8605 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8606
86072016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8608
8609 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8610 of [is_remote target],
8611
86122016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8613
8614 * lib/gdb.exp (use_gdb_stub): New procedure.
8615
86162016-05-03 Yunlian Jiang <yunlian@google.com>
8617 Doug Evans <dje@google.com>
8618
8619 PR symtab/19914
8620 * gdb.dwarf2/dwp-sepdebug.c: New file.
8621 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8622
86232016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8624
8625 * gdb.base/detach.exp: Remove is_remote check.
8626
86272016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8628
8629 * gdb.base/annota-input-while-running.exp: Don't check for
8630 [is_remote target]. Enable annotations after running to main.
8631 Remove unused "set test..." line.
8632
86332016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8634
8635 * gdb.trace/trace-enable-disable.exp: New file.
8636 * gdb.trace/trace-enable-disable.c: New file.
8637
86382016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8639
8640 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8641 use it in info sharedlibrary test.
8642 * gdb.trace/ftrace-lock.exp: Likewise.
8643 * gdb.trace/ftrace.exp: Likewise.
8644 * gdb.trace/range-stepping.exp: Likewise.
8645 * gdb.trace/trace-break.exp: Likewise.
8646 * gdb.trace/trace-condition.exp: Likewise.
8647 * gdb.trace/trace-mt.exp: Likewise.
8648
86492016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8650
8651 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8652 (gdb_load_shlib): ... this.
8653 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8654 gdb_load_shlib.
8655 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8656 * gdb.base/ctxobj.exp: Likewise.
8657 * gdb.base/dprintf-pending.exp: Likewise.
8658 * gdb.base/dso2dso.exp: Likewise.
8659 * gdb.base/fixsection.exp: Likewise.
8660 * gdb.base/gcore-relro.exp: Likewise.
8661 * gdb.base/gdb1555.exp: Likewise.
8662 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8663 * gdb.base/gnu-ifunc.exp: Likewise.
8664 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8665 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8666 * gdb.base/pending.exp: Likewise.
8667 * gdb.base/print-file-var.exp: Likewise.
8668 * gdb.base/print-symbol-loading.exp: Likewise.
8669 * gdb.base/shlib-call.exp: Likewise.
8670 * gdb.base/shreloc.exp: Likewise.
8671 * gdb.base/so-impl-ld.exp: Likewise.
8672 * gdb.base/solib-disc.exp: Likewise.
8673 * gdb.base/solib-nodir.exp: Likewise.
8674 * gdb.base/solib-overlap.exp: Likewise.
8675 * gdb.base/solib-symbol.exp: Likewise.
8676 * gdb.base/solib-weak.exp (do_test): Likewise.
8677 * gdb.base/sym-file.exp: Likewise.
8678 * gdb.base/symtab-search-order.exp: Likewise.
8679 * gdb.base/type-opaque.exp: Likewise.
8680 * gdb.base/unload.exp: Likewise.
8681 * gdb.base/watchpoint-solib.exp: Likewise.
8682 * gdb.compile/compile.exp: Likewise.
8683 * gdb.cp/gdb2384.exp: Likewise.
8684 * gdb.cp/infcall-dlopen.exp: Likewise.
8685 * gdb.cp/re-set-overloaded.exp: Likewise.
8686 * gdb.fortran/library-module.exp: Likewise.
8687 * gdb.opt/solib-intra-step.exp: Likewise.
8688 * gdb.python/py-finish-breakpoint.exp: Likewise.
8689 * gdb.python/py-shared.exp: Likewise.
8690 * gdb.reverse/solib-precsave.exp: Likewise.
8691 * gdb.reverse/solib-reverse.exp: Likewise.
8692 * gdb.server/solib-list.exp: Likewise.
8693 * gdb.threads/dlopen-libpthread.exp: Likewise.
8694 * gdb.threads/tls-shared.exp: Likewise.
8695 * gdb.threads/tls-so_extern.exp: Likewise.
8696 * gdb.trace/change-loc.exp: Likewise.
8697 * gdb.trace/ftrace-lock.exp: Likewise.
8698 * gdb.trace/ftrace.exp: Likewise.
8699 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8700 * gdb.trace/pending.exp: Likewise.
8701 * gdb.trace/range-stepping.exp: Likewise.
8702 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8703 (strace_info_marker): Likewise.
8704 (strace_probe_marker): Likewise.
8705 (strace_trace_on_same_addr): Likewise.
8706 (strace_trace_on_diff_addr): Likewise.
8707 * gdb.trace/trace-break.exp: Likewise.
8708 * gdb.trace/trace-condition.exp: Likewise.
8709 * gdb.trace/trace-mt.exp: Likewise.
8710
87112016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8712
8713 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8714 result of gdb_remote_download.
8715 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8716 * gdb.base/dso2dso.exp: Likewise.
8717 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8718 * gdb.base/print-file-var.exp: Likewise.
8719 * gdb.base/shlib-call.exp: Likewise.
8720 * gdb.base/shreloc.exp: Likewise.
8721 * gdb.base/solib-overlap.exp: Likewise.
8722 * gdb.base/solib-weak.exp (do_test): Likewise.
8723 * gdb.base/unload.exp: Likewise.
8724
87252016-04-27 Yao Qi <yao.qi@linaro.org>
8726
8727 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8728 exists.
8729
87302016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8731
8732 * vla-type.exp: Print structure from toplevel.
8733
87342016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8735
8736 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8737 of dynamic types.
8738 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8739 of dynamic types.
8740
87412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8742
8743 * gdb.fortran/vla-type.f90: New file.
8744 * gdb.fortran/vla-type.exp: New file.
8745
87462016-04-25 Yao Qi <yao.qi@linaro.org>
8747
8748 * gdb.base/branch-to-self.c: New file.
8749 * gdb.base/branch-to-self.exp: New file.
8750
87512016-04-22 Yao Qi <yao.qi@linaro.org>
8752
8753 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8754 more after $hex.
8755
87562016-04-22 Yao Qi <yao.qi@linaro.org>
8757
8758 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8759 * gdb.base/annota3.exp: Likewise.
8760
87612016-04-22 Yao Qi <yao.qi@linaro.org>
8762
8763 * gdb.reverse/step-precsave.exp: Do one step and test program
8764 stops in "callee" and do multiple steps until program goes out
8765 of "callee".
8766 * gdb.reverse/step-reverse.exp: Likewise.
8767
87682016-04-22 Yao Qi <yao.qi@linaro.org>
8769
8770 * gdb.trace/signal.exp: Also pass if
8771 $tracepoint_hits($i) > $iterations.
8772
87732016-04-22 Yao Qi <yao.qi@linaro.org>
8774
8775 * gdb.trace/signal.c: New file.
8776 * gdb.trace/signal.exp: New file.
8777
87782016-04-19 Doug Evans <xdje42@gmail.com>
8779
8780 * gdb.base/bad-file.exp: New file.
8781
87822016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8783
8784 * gdb.dwarf2/implref.exp: New file.
8785
87862016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8787
8788 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8789 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8790 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8791 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8792 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8793 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8794 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8795 * lib/fortran.exp (fortran_int4): New procedure.
8796 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8797 (fortran_logical4): Likewise.
8798
87992016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8800
8801 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8802
88032016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8804
8805 * lib/compiler.c: Add Intel specific preprocessor macros.
8806 * lib/compiler.cc: Likewise.
8807
88082016-04-13 Luis Machado <lgustavo@codesourcery.com>
8809
8810 * gdb.server/connect-with-no-symbol-file.c: New file.
8811 * gdb.server/connect-with-no-symbol-file.exp: New file.
8812
88132016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8814
8815 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8816
88172016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8818
8819 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8820 standard output directory.
8821
88222016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8823
8824 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8825
88262016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8827
8828 * gdb.btrace/instruction_history.c (loop): Add declaration.
8829
88302016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8831
8832 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8833
88342016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8835
8836 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8837 parentheses to print.
8838 (continue_handler): Likewise.
8839
88402016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8841
8842 * gdb.server/solib-list.exp: Remove is_remote check.
8843 Pass shlib= to gdb_compile. Don't link shared library with
8844 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8845 Run binary filename through "readlink -f" on the target.
8846
88472016-04-08 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8850 interpreter filename as argument to gdbserver_spawn.
8851 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8852 Return empty if $last_loaded_file does not exist.
8853
88542016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8855
8856 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8857 * gdb.base/jit-main.c: Use exit after usage.
8858
88592016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8860
8861 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8862 GDBHISTSIZE prior to the tests.
8863 * gdb.base/gdbinit-history.exp: Likewise.
8864
88652016-04-07 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8868 instead of build_executable. Use gdb_load_shlibs.
8869
88702016-04-07 Yao Qi <yao.qi@linaro.org>
8871
8872 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8873 Execute "si" command.
8874
88752016-04-07 Yao Qi <yao.qi@linaro.org>
8876
8877 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8878 number instead of the comments on some line.
8879
88802016-04-06 Don Breazeal <donb@codesourcery.com>
8881
8882 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8883 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8884
88852016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8886
8887 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8888 standard_output_file. Remove unused binfile variable.
8889
88902016-04-05 Catalin Udma <catalin.udma@freescale.com>
8891
8892 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8893 * gdb.python/py-mi-objfile.exp: Match "list main" output
8894 in console format.
8895
88962016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8897
8898 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8899 absolute.
8900
89012016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8902
8903 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8904 absolute.
8905 * gdb.trace/ftrace.exp: Likewise.
8906 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8907 targets as well.
8908 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8909 (gdb_load_shlibs): Copy libraries to test directory when testing
8910 natively. Only set solib-search-path if testing remotely.
8911 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8912
89132016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8914
8915 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8916 gdb_download. Use it even if the target is not remote.
8917 * gdb.base/jit.exp (compile_jit_test): Likewise.
8918 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8919 output directory if the destination board is local, otherwise use
8920 the standard remote_download from DejaGnu.
8921 (gdb_download): Remove.
8922 (gdb_load_shlibs): Use gdb_remote_download instead of
8923 gdb_download.
8924 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8925 Use gdb_remote_download instead of gdb_download. Use it even if
8926 the target is not remote.
8927 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8928 instead of gdb_download.
8929
89302016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8931
8932 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8933 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8934 run.
8935
89362016-04-01 Artemiy Volkov <artemiyv@acm.org>
8937
8938 PR gdb/19820
8939 * gdb.base/printcmds.exp: Add artificial arrays tests.
8940
89412016-03-31 Pedro Alves <palves@redhat.com>
8942
8943 PR gdb/19858
8944 * gdb.base/jit-main.c: Include unistd.h.
8945 (ATTACH): Define to 0 if not already defined.
8946 (wait_for_gdb, mypid): New globals.
8947 (WAIT_FOR_GDB): New macro.
8948 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8949 some breakpoint locations.
8950 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8951 New procedures.
8952 (one_jit_test): Add REATTACH parameter, and handle it. Use
8953 continue_to_test_location.
8954 (top level): Test attach, and adjusts calls to one_jit_test.
8955
89562016-03-31 Pedro Alves <palves@redhat.com>
8957
8958 PR gdb/19858
8959 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8960 BINSUFFIX parameter, and handle it.
8961 (top level): Adjust calls compile_jit_test.
8962
89632016-03-31 Catalin Udma <catalin.udma@freescale.com>
8964
8965 PR python/19743
8966 * gdb.python/py-mi-events-gdb.py: New file.
8967 * gdb.python/py-mi-events.c: New file.
8968 * gdb.python/py-mi-events.exp: New file.
8969
89702016-03-30 Yao Qi <yao.qi@linaro.org>
8971
8972 * gdb.reverse/until-precsave.exp: Match function name only.
8973 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8974 Move malloc to a condition block.
8975 * gdb.reverse/until-reverse.exp: Match function name only.
8976
89772016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8978
8979 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8980 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8981 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8982 variable for GPR 0 instead of assuming it is register 0.
8983 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8984 * lib/trace-support.exp: Add s390 registers.
8985
89862016-03-29 Yao Qi <yao.qi@linaro.org>
8987
8988 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8989
89902016-03-24 Yao Qi <yao.qi@linaro.org>
8991
8992 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8993 test message.
8994
89952016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8996
8997 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8998 maintaining separate logic for constructing the output path.
8999
90002016-03-16 Don Breazeal <donb@codesourcery.com>
9001
9002 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9003 Retry fork and waitpid on interrupted system call errors.
9004 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9005 Use with_timeout_factor to increase timeout by factor of 10.
9006
90072016-03-15 Don Breazeal <donb@codesourcery.com>
9008
9009 * gdb.cp/scope-err.cc: New test program.
9010 * gdb.cp/scope-err.exp: New test script.
9011 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9012 lines and "set breakpoint here" comment.
9013 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9014 Fixed some whitespace and format issues.
9015 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9016 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9017
90182016-03-15 Doug Evans <dje@google.com>
9019
9020 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9021 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9022 All callers updated. Add tests for enums, mixed flags register.
9023
90242016-03-15 Doug Evans <dje@google.com>
9025
9026 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9027 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9028
90292016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9030
9031 * gdb.base/default.exp: Add $_as_string to the list of expected
9032 convenience functions.
9033
90342016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9035
9036 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9037
90382016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9039
9040 * gdb.python/py-as-string.exp: New file.
9041 * gdb.python/py-as-string.c: New file.
9042
90432016-03-09 Pedro Alves <palves@redhat.com>
9044
9045 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9046 signal" -> "Thread NN received signal" output change.
9047 * gdb.threads/ia64-sigill.exp: Likewise.
9048 * gdb.threads/linux-dp.exp: Likewise.
9049 * gdb.threads/manythreads.exp: Likewise.
9050 * gdb.threads/pending-step.exp: Likewise.
9051 * gdb.threads/print-threads.exp: Likewise.
9052 * gdb.threads/sigstep-threads.exp: Likewise.
9053 * gdb.threads/staticthreads.exp: Likewise.
9054 * gdb.threads/tls.exp: Likewise.
9055
90562016-03-09 Pedro Alves <palves@redhat.com>
9057
9058 * gdb.base/command-line-input.exp: New file.
9059
90602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9061
9062 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9063 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9064 * gdb.trace/pending.exp: Accept leading dot before function name.
9065 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9066 * lib/trace-support.exp: Set registers for ppc.
9067
90682016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9069
9070 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9071 use it for disassembly; accept .main in addition to main in backtrace.
9072
90732016-03-09 Wei-cheng Wang <cole945@gmail.com>
9074 Marcin Kościelnicki <koriakin@0x04.net>
9075
9076 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9077 (gdb_recursion_test_ptr): New global variable.
9078 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9079 gdb_recursion_test.
9080 (gdb_c_test): Ditto.
9081
90822016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9083
9084 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9085 ordering.
9086
90872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9088
9089 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9090 (bar): Add bar_start_lbl label.
9091 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9092 of foo/bar for emitting DWARF and tracing.
9093
90942016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9095
9096 * analyze-racy-logs.py: Set executable bit.
9097
90982016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9099
9100 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9101 (CHECK_TARGET_TMP): Likewise.
9102 (check-single-racy): New rule.
9103 (check-parallel-racy): Likewise.
9104 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9105 (do-check-parallel-racy): New rule.
9106 (check-racy/%.exp): Likewise.
9107 * README (Racy testcases): New section.
9108 * analyze-racy-logs.py: New file.
9109
91102016-03-03 Doug Evans <dje@google.com>
9111
9112 * gdb.base/skip.exp: Use with_test_prefix.
9113
91142016-03-03 Yao Qi <yao.qi@linaro.org>
9115
9116 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9117 Invoke step_over_syscall "clone" and break_cond_on_syscall
9118 "clone".
9119 * gdb.base/step-over-clone.c: New file.
9120
91212016-03-03 Yao Qi <yao.qi@linaro.org>
9122
9123 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9124 code format.
9125
91262016-03-03 Yao Qi <yao.qi@linaro.org>
9127
9128 * gdb.base/disp-step-fork.c: Rename to ...
9129 * gdb.base/step-over-fork.c: ... it. New file.
9130 * gdb.base/disp-step-vfork.c: Rename to ...
9131 * gdb.base/step-over-vfork.c: ... it. New file.
9132 * gdb.base/disp-step-syscall.exp: Rename to ...
9133 * gdb.base/step-over-syscall.exp: ... it. New file.
9134 (disp_step_cross_syscall): Rename to ...
9135 (step_over_syscall): ... it.
9136
91372016-03-03 Yao Qi <yao.qi@linaro.org>
9138
9139 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9140 If target supports condition evaluation on target, invoke
9141 break_cond_on_syscall for fork and vfork.
9142
91432016-03-03 Yao Qi <yao.qi@linaro.org>
9144
9145 * gdb.base/disp-step-syscall.exp: Don't invoke
9146 support_displaced_stepping.
9147 (disp_step_cross_syscall): Test with displaced stepping off and
9148 on if supported.
9149
91502016-03-03 Yao Qi <yao.qi@linaro.org>
9151
9152 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9153 proc.
9154 (setup): New proc.
9155 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9156 and setup.
9157
91582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9159
9160 * gdb.fortran/vla-history.exp: Remove breakpoint.
9161
91622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9163
9164 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9165 exceeds timeout.
9166
91672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9168
9169 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9170 breakpoint.
9171
91722016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9173
9174 * gdb.mi/vla.f90: Nullify pointer after declaration.
9175
91762016-03-01 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9179
91802016-03-01 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9183 before anything else.
9184 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9185 _GNU_SOURCE here.
9186 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9187 before anything else.
9188 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9189
91902016-03-01 Pedro Alves <palves@redhat.com>
9191
9192 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9193
91942016-03-01 Yao Qi <yao.qi@linaro.org>
9195
9196 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9197 prepare_for_testing.
9198
91992016-03-01 Yao Qi <yao.qi@linaro.org>
9200
9201 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9202
92032016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9204
9205 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9206 manually constructing the output path.
9207
92082016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9209
9210 * gdb.arch/s390-stackless.S: New.
9211 * gdb.arch/s390-stackless.exp: New.
9212
92132016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9214
9215 * gdb.dlang/circular.c: New file.
9216 * gdb.dlang/circular.exp: New file.
9217
92182016-02-26 Yao Qi <yao.qi@linaro.org>
9219
9220 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9221 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9222 (testcases): Update.
9223
92242016-02-26 Yao Qi <yao.qi@linaro.org>
9225
9226 * gdb.reverse/aarch64.c: Rename to ...
9227 * gdb.reverse/insn-reverse.c: ... it.
9228 * gdb.reverse/aarch64.exp: Rename to ...
9229 * gdb.reverse/insn-reverse.exp: ... it.
9230
92312016-02-26 Yao Qi <yao.qi@linaro.org>
9232
9233 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9234 (testcase_ftype): New.
9235 (testcases): New array.
9236 (n_testcases): New.
9237 (main): Call each element in testcases.
9238 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9239 (read_testcase): New.
9240 Do the tests in a loop.
9241
92422016-02-25 Yao Qi <yao.qi@linaro.org>
9243
9244 * gdb.base/branches.c: Remove.
9245
92462016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9247
9248 PR gdb/13808
9249 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9250
92512016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9252
9253 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9254
92552016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9256
9257 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9258 change x86_64 call_insn to 'callq'.
9259
92602016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9261
9262 * gdb.trace/tfile-avx.c: Move to...
9263 * gdb.trace/tracefile-pseudo-reg.c: Here.
9264 * gdb.trace/tfile-avx.exp: Move to...
9265 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9266
92672016-02-24 Gary Benson <gbenson@redhat.com>
9268
9269 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9270 message on attach.
9271
92722016-02-23 Doug Evans <dje@google.com>
9273
9274 * gdb.base/skip.c (test_skip): New function.
9275 (end_test_skip_file_and_function): New function.
9276 (test_skip_file_and_function): New function.
9277 * gdb.base/skip1.c (test_skip): New function.
9278 (skip1_test_skip_file_and_function): New function.
9279 * gdb.base/skip.exp: Add tests for new skip options.
9280 * gdb.base/skip-solib.exp: Update expected output.
9281 * gdb.perf/skip-command.cc: New file.
9282 * gdb.perf/skip-command.exp: New file.
9283 * gdb.perf/skip-command.py: New file.
9284
92852016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9286
9287 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9288 info registers pattern.
9289
92902016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9291
9292 * lib/future.exp: Add D support.
9293 (gdb_find_gdc): New proc.
9294 (gdb_default_target_compile): Add D support.
9295
92962016-02-18 Wei-cheng Wang <cole945@gmail.com>
9297
9298 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9299 user+system time.
9300 (trace_speed_test): Determine the iteration count for a time
9301 between 15..30 seconds.
9302
93032016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9304
9305 * gdb.arch/i386-mpx-sigsegv.c: New file.
9306 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9307 * gdb.arch/i386-mpx-simple_segv.c: New file.
9308 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9309
93102016-02-18 Yao Qi <yao.qi@linaro.org>
9311
9312 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9313 Don't call setup_kfail.
9314
93152016-02-18 Yao Qi <yao.qi@linaro.org>
9316
9317 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9318 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9319
93202016-02-16 Doug Evans <dje@google.com>
9321
9322 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9323 * gdb.base/skip1.c: Ditto.
9324 * gdb.base/skip.exp: Whitespace cleanup.
9325
93262016-02-16 Don Breazeal <donb@codesourcery.com>
9327
9328 PR remote/19496
9329 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9330 Remove kfail for PR remote/19496.
9331
93322016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9333
9334 * lib/gdb.exp (standard_temp_file): Return a path specific to
9335 the runtest invocation.
9336
93372016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9338
9339 * gdb.trace/save-trace.exp: Change relative path to be in the
9340 standard output directory.
9341
93422016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9343
9344 * gdb.arch/i386-prologue.c: Add missing prototypes.
9345
93462016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9347
9348 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9349 * gdb.arch/i386-prologue.exp: Likewise.
9350 * gdb.arch/i386-size.exp: Likewise.
9351
93522016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9353
9354 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9355 define object file path.
9356 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9357 file path.
9358 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9359 standard_output_file to define binfile.
9360
93612016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9362
9363 Fix compatibility with recent gfortran-5.3.1.
9364 * gdb.fortran/vla-history.exp (print vla1 allocated)
9365 (print vla2 allocated, print $2, print $3): Remove
9366 (print $4): Rename to ...
9367 (print $2): ... here.
9368 (print $9): Rename to ...
9369 (print $5): ... here.
9370 (print $10): Rename to ...
9371 (print $6): ... here.
9372 * gdb.fortran/vla.f90: Add pvla initialization.
9373
93742016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9375
9376 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9377 New test.
9378 * gdb.fortran/vla-value-sub.exp: Likewise.
9379
93802016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9381
9382 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9383
93842016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9385
9386 * i386-biarch-core.exp: Define corefile using
9387 standard_output_file.
9388
93892016-02-12 Yao Qi <yao.qi@linaro.org>
9390
9391 * gdb.arch/arm-single-step-kernel-helper.c: New.
9392 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9393
93942016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9395
9396 * gdb.btrace/tailcall-only.exp: New.
9397 * gdb.btrace/tailcall-only.c: New.
9398 * gdb.btrace/x86_64-tailcall-only.S: New.
9399 * gdb.btrace/i686-tailcall-only.S: New.
9400
94012016-02-11 Pedro Alves <palves@redhat.com>
9402
9403 * README (Parallel testing): Add missing double quotes.
9404
94052016-02-11 Pedro Alves <palves@redhat.com>
9406
9407 * README (Parallel testing): New section.
9408 (GDB_PARALLEL): Rewrite.
9409 (FORCE_PARALLEL): Document.
9410
94112016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9412
9413 * gdb.trace/tfile-avx.c: New test.
9414 * gdb.trace/tfile-avx.exp: New test.
9415
94162016-02-09 Keith Seitz <keiths@redhat.com>
9417
9418 PR breakpoints/19546
9419 * gdb.base/infcall-exec.c: New file.
9420 * gdb.base/infcall-exec2.c: New file.
9421 * gdb.base/infcall-exec.exp: New file.
9422
94232016-02-09 Keith Seitz <keiths@redhat.com>
9424
9425 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9426 (toplevel): Call test_bkpt_address.
9427
94282016-02-09 Keith Seitz <keiths@redhat.com>
9429
9430 PR python/19506
9431 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9432 (toplevel): Call test_bkpt_address.
9433
94342016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9435
9436 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9437 to AC_OUTPUT.
9438 * configure: Regenerate.
9439
94402016-02-09 Pedro Alves <palves@redhat.com>
9441
9442 PR breakpoints/19548
9443 * gdb.base/execl-update-breakpoints.c (some_function): New
9444 function.
9445 (main): Call it.
9446 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9447 Tighten expected GDB output.
9448
94492016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9450
9451 * Makefile.in (ALL_SUBDIRS): Remove.
9452 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9453 (distclean maintainer-clean realclean): Likewise.
9454 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9455 * configure: Regenerate.
9456 * gdb.ada/Makefile.in: Delete.
9457 * gdb.arch/Makefile.in: Likewise.
9458 * gdb.asm/Makefile.in: Likewise.
9459 * gdb.base/Makefile.in: Likewise.
9460 * gdb.btrace/Makefile.in: Likewise.
9461 * gdb.cell/Makefile.in: Likewise.
9462 * gdb.compile/Makefile.in: Likewise.
9463 * gdb.cp/Makefile.in: Likewise.
9464 * gdb.disasm/Makefile.in: Likewise.
9465 * gdb.dlang/Makefile.in: Likewise.
9466 * gdb.dwarf2/Makefile.in: Likewise.
9467 * gdb.fortran/Makefile.in: Likewise.
9468 * gdb.gdb/Makefile.in: Likewise.
9469 * gdb.go/Makefile.in: Likewise.
9470 * gdb.guile/Makefile.in: Likewise.
9471 * gdb.java/Makefile.in: Likewise.
9472 * gdb.linespec/Makefile.in: Likewise.
9473 * gdb.mi/Makefile.in: Likewise.
9474 * gdb.modula2/Makefile.in: Likewise.
9475 * gdb.multi/Makefile.in: Likewise.
9476 * gdb.objc/Makefile.in: Likewise.
9477 * gdb.opencl/Makefile.in: Likewise.
9478 * gdb.opt/Makefile.in: Likewise.
9479 * gdb.pascal/Makefile.in: Likewise.
9480 * gdb.perf/Makefile.in: Likewise.
9481 * gdb.python/Makefile.in: Likewise.
9482 * gdb.reverse/Makefile.in: Likewise.
9483 * gdb.server/Makefile.in: Likewise.
9484 * gdb.stabs/Makefile.in: Likewise.
9485 * gdb.threads/Makefile.in: Likewise.
9486 * gdb.trace/Makefile.in: Likewise.
9487 * gdb.xml/Makefile.in: Likewise.
9488 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9489 GDB_PARALLEL.
9490 (standard_output_file): Remove check for GDB_PARALLEL, always
9491 return path in outputs/$subdir/$testname.
9492
94932016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9494
9495 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9496 (site.exp): Assign abs_srcdir to tcl's srcdir.
9497
94982016-02-04 Yao Qi <yao.qi@linaro.org>
9499
9500 * gdb.base/foll-exec-mode.c: Include limits.h.
9501 (main): Add parameters argc and argv. Get directory from
9502 argv[0].
9503 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9504 compilation.
9505 * gdb.base/foll-exec.c: Include limits.h.
9506 (main): Add parameters argc and argv.
9507 Get directory from argv[0].
9508 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9509 Adjust tests on the number of lines as source code changed.
9510 * gdb.base/foll-vfork-exit.c: Include limits.h.
9511 (main): Add one line of statement before vfork.
9512 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9513 (main): Add parameters argc and argv. Get directory from
9514 argv[0].
9515 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9516 (setup_gdb): Set tbreak to skip some source lines.
9517 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9518 (main): Add parameters argc and argv. Get directory from
9519 argv[0].
9520 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9521 compilation.
9522 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9523 (main): Add parameters argc and argv. Get directory from
9524 argv[0].
9525 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9526 compilation.
9527
95282016-02-01 Doug Evans <dje@google.com>
9529
9530 * gdb.base/skip.exp: Clean up multiple references to same test name.
9531
95322016-02-01 Pedro Alves <palves@redhat.com>
9533
9534 PR remote/19496
9535 * gdb.threads/forking-threads-plus-breakpoint.exp
9536 (displaced_stepping_supported): New global.
9537 (probe_displaced_stepping_support): New procedure.
9538 (do_test): Add 'displaced' parameter, and use it.
9539 (top level): Check for displaced stepping support. Add displaced
9540 stepping on/off testing axis.
9541
95422016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9543
9544 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9545 pointer. Don't perform further tests on the unassociated pointer
9546 if the first test fails.
9547
95482016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9549
9550 * gdb.base/max-value-size.c: New file.
9551 * gdb.base/max-value-size.exp: New file.
9552 * gdb.base/huge.exp: Disable max-value-size for this test.
9553
95542016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9555
9556 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9557
95582016-01-28 Yao Qi <yao.qi@linaro.org>
9559
9560 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9561
95622016-01-25 Pedro Alves <palves@redhat.com>
9563
9564 PR threads/19461
9565 * gdb.base/fork-running-state.c: New file.
9566 * gdb.base/fork-running-state.exp: New file.
9567
95682016-01-25 Pedro Alves <palves@redhat.com>
9569
9570 PR gdb/19494
9571 * gdb.base/catch-fork-kill.c: New file.
9572 * gdb.base/catch-fork-kill.exp: New file.
9573
95742016-01-25 Pedro Alves <palves@redhat.com>
9575
9576 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9577 Delete, moved to lib/gdb.exp.
9578 * gdb.threads/forking-threads-plus-breakpoint.exp
9579 (foreach_with_prefix): Likewise.
9580 * gdb.threads/process-dies-while-handling-bp.exp
9581 (foreach_with_prefix): Likewise.
9582 * lib/gdb.exp (foreach_with_prefix): New procedure.
9583
95842016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9585
9586 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9587 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9588
95892016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9590
9591 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9592 endian targets.
9593
95942016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9595 Pedro Alves <palves@redhat.com>
9596
9597 Fix testsuite compatibility with Guile.
9598 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9599 number.
9600
96012016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9602
9603 Fix testsuite compatibility with Guile.
9604 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9605 (thread 1): New test for backtrace through signal handler.
9606
96072016-01-22 Yao Qi <yao.qi@linaro.org>
9608
9609 PR testsuite/19491
9610 * gdb.base/multi-forks.c: Include
9611 ../lib/unbuffer_output.c
9612 (main): Call gdb_unbuffer_output.
9613
96142016-01-21 Doug Evans <dje@google.com>
9615
9616 * lib/ada.exp (gdb_compile_ada): Fix typo.
9617
96182016-01-21 Joel Brobecker <brobecker@adacore.com>
9619
9620 * gdb.base/break-fun-addr.exp: New file.
9621 * gdb.base/break-fun-addr1.c: New file.
9622 * gdb.base/break-fun-addr2.c: New file.
9623
96242016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9625
9626 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9627 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9628 enum flag values.
9629
96302016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9631
9632 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9633 when GDB can not set the vector return value. Add more comments
9634 for clarification.
9635
96362016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9637
9638 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9639 command.
9640
96412016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9642
9643 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9644
96452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9646
9647 * Makefile.in (check-single): Pass --status to runtest.
9648 (check/%.exp): Likewise.
9649
96502016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9651
9652 * Makefile.in (check-parallel): Propagate return code from make
9653 do-check-parallel.
9654
96552016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9656
9657 * gdb.trace/ftrace.exp: Fix expected message on continue.
9658 * gdb.trace/pending.exp: Fix expected message on continue.
9659 * gdb.trace/trace-break.exp: Fix expected message on continue.
9660
96612016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9662
9663 * lib/gdb.exp (gdb_test): Remove unused global references.
9664
96652016-01-18 Pedro Alves <palves@redhat.com>
9666
9667 * gdb.base/async-shell.exp: Adjust expected output.
9668 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9669 * gdb.base/siginfo-thread.exp: Adjust expected output.
9670 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9671 * gdb.java/jnpe.exp: Adjust expected output.
9672 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9673 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9674 * gdb.threads/leader-exit.exp: Adjust expected output.
9675 * gdb.threads/manythreads.exp: Adjust expected output.
9676 * gdb.threads/pthreads.exp: Adjust expected output.
9677 * gdb.threads/schedlock.exp: Adjust expected output.
9678 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9679 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9680 expected output.
9681 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9682 output.
9683 * gdb.threads/sigthread.exp: Adjust expected output.
9684 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9685
96862016-01-18 Yao Qi <yao.qi@linaro.org>
9687
9688 * gdb.guile/scm-section-script.c: Replace @progbits with
9689 %progbits.
9690 * gdb.python/py-section-script.c: Likewise.
9691
96922016-01-15 Pedro Alves <palves@redhat.com>
9693
9694 * gdb.multi/tids.exp: Test star wildcard ranges.
9695
96962016-01-15 Pedro Alves <palves@redhat.com>
9697
9698 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9699 command from "thread apply" invocation.
9700 (thr_apply_info_thr_invalid): Default the expected output to the
9701 input tid list.
9702 (top level): Add tests that use convenience variables. Add tests
9703 for "thread apply" with a valid TID list, but missing the command.
9704
97052016-01-13 Pedro Alves <palves@redhat.com>
9706
9707 * gdb.base/default.exp: Expect $_gthread as well.
9708 * gdb.multi/tids.exp: Test $_gthread.
9709 * gdb.threads/thread-specific.exp: Test $_gthread.
9710
97112016-01-13 Pedro Alves <palves@redhat.com>
9712
9713 * gdb.multi/tids.exp: Test "info threads -gid".
9714
97152016-01-13 Pedro Alves <palves@redhat.com>
9716
9717 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9718 Breakpoint.thread.
9719 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9720
97212016-01-07 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.base/break.exp: Adjust to output changes.
9724 * gdb.base/hbreak2.exp: Likewise.
9725 * gdb.base/sepdebug.exp: Likewise.
9726 * gdb.base/watch_thread_num.exp: Likewise.
9727 * gdb.linespec/keywords.exp: Likewise.
9728 * gdb.multi/info-threads.exp: Likewise.
9729 * gdb.threads/thread-find.exp: Likewise.
9730 * gdb.multi/tids.c: New file.
9731 * gdb.multi/tids.exp: New file.
9732
97332016-01-13 Pedro Alves <palves@redhat.com>
9734
9735 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9736
97372016-01-13 Pedro Alves <palves@redhat.com>
9738
9739 * gdb.base/default.exp: Expect $_inferior as well.
9740 * gdb.multi/base.exp: Test $_inferior.
9741
97422016-01-13 Pedro Alves <palves@redhat.com>
9743
9744 PR breakpoints/19388
9745 * gdb.base/catch-signal-siginfo-cond.c: New file.
9746 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9747
97482016-01-12 Josh Stone <jistone@redhat.com>
9749 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9750
9751 * gdb.base/catch-syscall.c (do_execve): New variable.
9752 (main): Conditionally trigger an execve.
9753 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9754 (test_catch_syscall_execve): New, check entry/return across execve.
9755 (do_syscall_tests): Call test_catch_syscall_execve.
9756
97572016-01-12 Pedro Alves <palves@redhat.com>
9758
9759 * gdb.base/random-signal.exp (do_test): New procedure, with body
9760 of testcase moved in.
9761
97622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9763 Pedro Alves <palves@redhat.com>
9764
9765 * gdb.base/funcargs.exp (finish from indirectly called function):
9766 Reintroduce the case for 'First'.
9767
97682016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9769 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9772 (tcatch_vfork_then_child_follow_exec)
9773 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9774 identification.
9775
97762016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9777
9778 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9779 and repeats to unlimited.
9780 * gdb.python/py-value.exp: Likewise.
9781 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9782 and repeats to unlimited.
9783
97842016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9787 and reordering the functions.
9788 * gdb.multi/hangout.c: Likewise.
9789 * gdb.multi/hello.c: Likewise.
9790
97912016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9792
9793 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9794 absolute.
9795 (SingleStatisticTestResult.report): Use dict.keys instead of
9796 dict.iterkeys.
9797
97982016-01-06 Pedro Alves <palves@redhat.com>
9799
9800 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9801
98022016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9803
9804 * gdb.btrace/dlopen.exp: New.
9805 * gdb.btrace/dlopen.c: New.
9806 * gdb.btrace/dlopen-dso.c: New.
9807
98082015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9809
9810 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9811 PATTERN argument is optional.
9812
98132015-12-24 Joel Brobecker <brobecker@adacore.com>
9814
9815 * lib/ada.exp (target_compile_ada_from_dir): New function.
9816 (gdb_compile_ada): Reimplement avoiding the use of project files.
9817 * gdb.ada/gnat_ada.gpr: Delete.
9818 * gdb.ada/cond_lang.exp: Adjust test to make path before
9819 filename optional.
9820 * gdb.ada/small_reg_param.exp: Likewise.
9821
98222015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9823
9824 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9825
98262015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9827
9828 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9829 case.
9830
98312015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9832
9833 * gdb.base/break.exp: Remove dead code.
9834 * gdb.base/sepdebug.exp: Likewise.
9835
98362015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9837
9838 * gdb.asm/asm-source.exp: Remove HP-UX references.
9839 * gdb.base/annota1.exp: Likewise.
9840 * gdb.base/annota3.exp: Likewise.
9841 * gdb.base/attach.exp: Likewise.
9842 * gdb.base/bigcore.exp: Likewise.
9843 * gdb.base/break.exp: Likewise.
9844 * gdb.base/call-ar-st.exp: Likewise.
9845 * gdb.base/callfuncs.exp: Likewise.
9846 * gdb.base/catch-fork-static.exp: Likewise.
9847 * gdb.base/display.exp: Likewise.
9848 * gdb.base/foll-exec-mode.exp: Likewise.
9849 * gdb.base/foll-exec.exp: Likewise.
9850 * gdb.base/foll-fork.exp: Likewise.
9851 * gdb.base/foll-vfork.exp: Likewise.
9852 * gdb.base/funcargs.exp: Likewise.
9853 * gdb.base/hbreak2.exp: Likewise.
9854 * gdb.base/inferior-died.exp: Likewise.
9855 * gdb.base/interrupt.exp: Likewise.
9856 * gdb.base/multi-forks.exp: Likewise.
9857 * gdb.base/nodebug.exp: Likewise.
9858 * gdb.base/sepdebug.exp: Likewise.
9859 * gdb.base/solib1.c: Likewise.
9860 * gdb.base/step-test.exp: Likewise.
9861 * gdb.mi/non-stop.c: Likewise.
9862 * gdb.mi/pthreads.c: Likewise.
9863 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9864 * gdb.threads/pthreads.c: Likewise.
9865 * gdb.threads/staticthreads.exp: Likewise.
9866 * lib/future.exp: Likewise.
9867 * lib/gdb.exp: Likewise.
9868 * gdb.base/so-indr-cl.c: Remove.
9869 * gdb.base/so-indr-cl.exp: Likewise.
9870 * gdb.base/solib.c: Likewise.
9871 * gdb.base/solib.exp: Likewise.
9872 * gdb.base/solib2.c: Likewise.
9873
98742015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9875
9876 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9877 * gdb.base/call-ar-st.exp: Likewise.
9878 * gdb.base/callfuncs.exp: Likewise.
9879 * gdb.base/condbreak.exp: Likewise.
9880 * gdb.base/constvars.exp: Likewise.
9881 * gdb.base/hbreak2.exp: Likewise.
9882 * gdb.base/langs.exp: Likewise.
9883 * gdb.base/list.exp: Likewise.
9884 * gdb.base/long_long.exp: Likewise.
9885 * gdb.base/ptype.exp: Likewise.
9886 * gdb.base/scope.exp: Likewise.
9887 * gdb.base/signals.exp: Likewise.
9888 * gdb.base/so-impl-ld.exp: Likewise.
9889 * gdb.base/varargs.exp: Likewise.
9890 * gdb.base/volatile.exp: Likewise.
9891 * gdb.base/whatis.exp: Likewise.
9892 * gdb.cp/cplusfuncs.exp: Likewise.
9893 * gdb.cp/inherit.exp: Likewise.
9894 * gdb.cp/local.exp: Likewise.
9895 * gdb.cp/member-ptr.exp: Likewise.
9896 * gdb.cp/method.exp: Likewise.
9897 * gdb.cp/overload.exp: Likewise.
9898 * gdb.cp/templates.exp: Likewise.
9899 * gdb.stabs/weird.exp: Likewise.
9900 * lib/compiler.c: Likewise.
9901 * lib/compiler.cc: Likewise.
9902 * lib/cp-support.exp: Likewise.
9903 * lib/gdb.exp: Likewise.
9904
99052015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9906
9907 * configure.ac: Remove HP-UX case.
9908 * configure: Regenerate.
9909
99102015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9911
9912 * lib/gdb.exp (gdb_compile): Add function doc.
9913
99142015-12-17 Pedro Alves <palves@redhat.com>
9915
9916 PR threads/19354
9917 * gdb.multi/info-threads.exp: New file.
9918
99192015-12-15 Yao Qi <yao.qi@linaro.org>
9920
9921 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9922 is aarch64*-*-*.
9923
99242015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9925
9926 * gdb.base/history-duplicates.exp: Skip if no readline support.
9927
99282015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9929
9930 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9931
99322015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9933
9934 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9935
99362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9937
9938 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9939 ctrl-C if nointerrupts target property is set.
9940 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9941 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9942 * gdb.base/paginate-bg-execution.exp: Likewise.
9943 * gdb.base/paginate-execution-startup.exp: Likewise.
9944 * gdb.base/random-signal.exp: Likewise.
9945 * gdb.base/range-stepping.exp: Likewise.
9946 * gdb.cp/annota2.exp: Likewise.
9947 * gdb.cp/annota3.exp: Likewise.
9948 * gdb.gdb/selftest.exp: Likewise.
9949 * gdb.threads/continue-pending-status.exp: Likewise.
9950 * gdb.threads/leader-exit.exp: Likewise.
9951 * gdb.threads/manythreads.exp: Likewise.
9952 * gdb.threads/pthreads.exp: Likewise.
9953 * gdb.threads/schedlock.exp: Likewise.
9954 * gdb.threads/sigthread.exp: Likewise.
9955
99562015-12-11 Don Breazeal <donb@codesourcery.com>
9957
9958 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9959 remote.
9960 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9961 * gdb.base/foll-exec.exp (main): Enable for target remote.
9962 * gdb.base/foll-fork.exp (main): Likewise.
9963 * gdb.base/foll-vfork.exp (main): Likewise.
9964 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9965 (proc continue_to_exit_bp_loc): Use clean_restart.
9966 * gdb.base/pie-execl.exp (main): Disable for target remote.
9967 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9968 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9969 * gdb.threads/execl.exp (main): Likewise.
9970 * gdb.threads/fork-child-threads.exp (main): Likewise.
9971 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9972 remote.
9973 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9974 remote.
9975 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9976 pid.tid style ptids, instead of just tid.
9977 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9978 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9979 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9980 ptids, instead of just tid.
9981
99822015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9983
9984 * gdb.base/list.exp (test_list_forward): Add end of file error
9985 test.
9986 (test_repeat_list_command): Add end of file error test.
9987 (test_list_backwards): Add beginning of file error test.
9988
99892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9990
9991 * gdb.base/list.exp (test_list_invalid_args): New function,
9992 defined, and called.
9993
99942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9995
9996 * gdb.base/list.exp (test_list): Make test names unique.
9997
99982015-12-11 Yao Qi <yao.qi@linaro.org>
9999
10000 * gdb.base/coremaker2.c: Remove.
10001
100022015-12-10 Pedro Alves <palves@redhat.com>
10003
10004 * gdb.multi/base.exp: Remove stale "spaces" references.
10005
100062015-12-10 Pedro Alves <palves@redhat.com>
10007
10008 * gdb.multi/base.exp: Don't use nowarnings.
10009 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10010 * gdb.multi/hangout.c: Include stdio.h.
10011 * gdb.multi/hello.c: Include stdlib.h.
10012 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10013 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10014 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10015
100162015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10017
10018 * gdb.dwarf2/dw2-ranges-base.c: New file.
10019 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10020 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10021 support additional line table, and debug ranges generation.
10022 (Dwarf::ranges): New function, generate .debug_ranges.
10023 (Dwarf::lines): Support generating simple line table programs.
10024 (Dwarf::assemble): Initialise new namespace variables.
10025
100262015-12-09 Kevin Buettner <kevinb@redhat.com>
10027
10028 * gdb.base/async.exp (proc test_background): Add case for
10029 asynchronous execution not supported.
10030
100312015-12-09 Luis Machado <lgustavo@codesourcery.com>
10032
10033 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10034 format and change test names to make them unique.
10035
100362015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10037 Pedro Alves <pedro@redhat.com>
10038
10039 PR gdb/18702
10040 Add checking of floatformats setup on x86_64 hosts.
10041 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10042 (smallval, bigval): New labels/constants.
10043 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10044 float" after loading bigval and smallval.
10045
100462015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10047
10048 * gdb.ada/fun_overload_menu.exp: New testcase.
10049 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10050
100512015-12-04 Josh Stone <jistone@redhat.com>
10052
10053 * gdb.base/catch-fork-static.exp: New.
10054
100552015-12-03 Yao Qi <yao.qi@linaro.org>
10056
10057 * gdb.base/sizeof.c: Don't include stdio.h and
10058 ../lib/unbuffer_output.c.
10059 (main): New variable 'size' and 'value'. Remove printf and
10060 gdb_unbuffer_output. Assign return value to size and value.
10061 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10062 at the beginning.
10063 (check_sizeof): Check the result by printing variable 'size'.
10064 (check_valueof): Check the result by printing variable 'value'.
10065
100662015-12-01 Yao Qi <yao.qi@linaro.org>
10067
10068 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10069 for aarch64*-*-linux* target.
10070
100712015-11-30 Pedro Alves <palves@redhat.com>
10072
10073 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10074
100752015-11-30 Pedro Alves <palves@redhat.com>
10076
10077 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10078 Handle non-stop mode vCont replies.
10079
100802015-11-30 Pedro Alves <palves@redhat.com>
10081
10082 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10083 prepare_for_testing. Start gdb with "set non-stop on" appended to
10084 GDBFLAGS. Lax expected stop output.
10085
100862015-11-27 Yao Qi <yao.qi@linaro.org>
10087
10088 * gdb.arch/arm-neon.exp: New.
10089 * gdb.arch/arm-neon.c: New.
10090
100912015-11-27 Yao Qi <yao.qi@linaro.org>
10092
10093 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10094
100952015-11-27 Yao Qi <yao.qi@linaro.org>
10096
10097 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10098 frames-invalid annotation.
10099
101002015-11-27 Yao Qi <yao.qi@linaro.org>
10101
10102 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10103
101042015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10105
10106 * gdb.threads/names.exp: New file.
10107 * gdb.threads/names.c: New file.
10108 * README: Mention gdb,no_thread_names.
10109
101102015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10111
10112 PR 19297
10113 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10114 support" error.
10115
101162015-11-24 Pedro Alves <palves@redhat.com>
10117
10118 PR 17539
10119 * gdb.base/display.exp: Expect displays to be sorted in ascending
10120 order. Use multi_line.
10121 * gdb.base/solib-display.exp: Likewise.
10122
101232015-11-24 Pedro Alves <palves@redhat.com>
10124
10125 PR 17539
10126 * gdb.base/display.exp: Expect displays to be sorted in ascending
10127 order. Use multi_line.
10128 * gdb.base/solib-display.exp: Likewise.
10129
101302015-11-24 Pedro Alves <palves@redhat.com>
10131
10132 PR 17539
10133 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10134 threads in ascending order.
10135 * gdb.base/foll-fork.exp: Likewise.
10136 * gdb.base/foll-vfork.exp: Likewise.
10137 * gdb.base/multi-forks.exp: Likewise.
10138 * gdb.mi/mi-nonstop.exp: Likewise.
10139 * gdb.mi/mi-nsintrall.exp: Likewise.
10140 * gdb.multi/base.exp: Likewise.
10141 * gdb.multi/multi-arch.exp: Likewise.
10142 * gdb.python/py-inferior.exp: Likewise.
10143 * gdb.threads/break-while-running.exp: Likewise.
10144 * gdb.threads/execl.exp: Likewise.
10145 * gdb.threads/gcore-thread.exp: Likewise.
10146 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10147 * gdb.threads/kill.exp: Likewise.
10148 * gdb.threads/linux-dp.exp: Likewise.
10149 * gdb.threads/multiple-step-overs.exp: Likewise.
10150 * gdb.threads/next-bp-other-thread.exp: Likewise.
10151 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10152 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10153 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10154 * gdb.threads/thread-find.exp: Likewise.
10155 * gdb.threads/tls.exp: Likewise.
10156 * lib/mi-support.exp (mi_reverse_list): Delete.
10157 (mi_check_thread_states): No longer reverse list.
10158
101592015-11-24 Pedro Alves <palves@redhat.com>
10160
10161 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10162 use lowercase.
10163
101642015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10165
10166 * gdb.trace/actions.c: Include trace-common.h.
10167 (main): Add a location for a fast tracepoint.
10168 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10169 the normal tracepoints.
10170 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10171
101722015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10173
10174 * save-trace.exp: Factor out code to these...
10175 (gdb_save_tracepoints): New.
10176 (gdb_load_tracepoints): New.
10177 (do_save_load_test): New.
10178
101792015-11-23 Kevin Buettner <kevinb@redhat.com>
10180
10181 * gdb.base/asmlabel.exp: New test.
10182 * gdb.base/asmlabel.c: New test case.
10183
101842015-11-23 Joel Brobecker <brobecker@adacore.com>
10185
10186 * gdb.base/wrong_frame_bt_full-main.c: New file.
10187 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10188 * gdb.base/wrong_frame_bt_full.exp: New file.
10189
101902015-11-23 Joel Brobecker <brobecker@adacore.com>
10191
10192 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10193
101942015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10195
10196 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10197 pstate register when comparing registers values in
10198 sparc64-*-linux-gnu targets to avoid spurious differences.
10199
102002015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10201
10202 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10203
102042015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10205
10206 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10207 as type argument to gdb_compile.
10208 * gdb.base/nested-subp2.exp: Likewise.
10209 * gdb.base/nested-subp3.exp: Likewise.
10210
102112015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10212
10213 * lib/dwarf.exp (_note): Fix left shift of negative value.
10214 * gdb.trace/trace-condition.exp: Likewise.
10215
102162015-11-13 Yao Qi <yao.qi@linaro.org>
10217
10218 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10219 comments about d10v.
10220 (test_scalar_returns): Likewise.
10221 * gdb.base/d10v.ld: Remove.
10222 * gdb.base/overlays.exp: Remove the target triplet checking for
10223 d10v-*-*.
10224 * gdb.base/structs.exp (test_struct_returns): Remove the
10225 comments about d10v.
10226 (test_struct_calls): Likewise.
10227
102282015-11-13 Yao Qi <yao.qi@linaro.org>
10229
10230 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10231 * gdb.base/gnu_vector.c: Don't include stdio.h.
10232 (main): Don't print res and call add_some_intvecs.
10233
102342015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10235
10236 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10237 macro.
10238 (func5): Removed.
10239 (func4): Use FAST_TRACEPOINT_LABEL.
10240 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10241 macro.
10242 (func): Removed.
10243 (thread_function): Use FAST_TRACEPOINT_LABEL.
10244 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10245 (func): Remove.
10246 (marker): Use FAST_TRACEPOINT_LABEL.
10247 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10248 (pendfunc1): Remove.
10249 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10250 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10251 (foo): Remove.
10252 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10253 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10254 macro.
10255 (func): Remove.
10256 (marker): Use FAST_TRACEPOINT_LABEL.
10257 * gdb.trace/trace-common.h: New header.
10258 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10259 macro.
10260 (func): Remove.
10261 (marker): Use FAST_TRACEPOINT_LABEL.
10262 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10263 (func): Remove.
10264 (thread_function): Use FAST_TRACEPOINT_LABEL.
10265
102662015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10267
10268 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10269 in front.
10270 * gdb.trace/change-loc.exp: Use global pcreg definition.
10271 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10272 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10273 in front.
10274 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10275 * gdb.trace/pending.exp: Likewise.
10276 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10277 * gdb.trace/trace-break.exp: Likewise.
10278 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10279 in front.
10280 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10281 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10282 in front.
10283 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10284
102852015-11-09 Joel Brobecker <brobecker@adacore.com>
10286
10287 * gdb.ada/fin_fun_out: New testcase.
10288
102892015-11-07 Kevin Buettner <kevinb@redhat.com>
10290
10291 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10292 value associated with DW_AT_byte_size.
10293 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10294 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10295 DW_AT_upper_bound.
10296
102972015-11-07 Kevin Buettner <kevinb@redhat.com>
10298
10299 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10300 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10301 version.
10302 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10303 gdb.dwarf2/dw2-canonicalize-type.exp,
10304 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10305 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10306 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10307 provided by gdb_target_symbol_prefix_flags_asm.
10308 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10309 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10310 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10311 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10312 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10313 macros where needed). Use this macro for symbols which require
10314 the prefix provided by SYMBOL_PREFIX.
10315
103162015-11-05 Kevin Buettner <kevinb@redhat.com>
10317
10318 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10319 New procs.
10320 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10321 representing expressions, of more than one list element.
10322 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10323 to prepend linker symbol prefix to f.
10324 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10325 table_1 and table_2.
10326 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10327 Likewise, for f and g.
10328 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10329 for ptr.
10330 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10331 for main.
10332 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10333 table_1_ptr and table_2_ptr.
10334
103352015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10336 Joel Brobecker <brobecker@adacore.com>
10337
10338 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10339
103402015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10341
10342 * gdb.reverse/s390-mvcle.c: New test.
10343 * gdb.reverse/s390-mvcle.exp: New file.
10344 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10345
103462015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10347
10348 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10349
103502015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10351
10352 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10353 reaching marker2.
10354 * gdb.reverse/getresuid-reverse.exp: Likewise.
10355 * gdb.reverse/pipe-reverse.exp: Likewise.
10356 * gdb.reverse/readv-reverse.exp: Likewise.
10357 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10358 * gdb.reverse/time-reverse.exp: Likewise.
10359 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10360
103612015-10-30 Yao Qi <yao.qi@linaro.org>
10362
10363 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10364 (empty_cycle): Remove.
10365 (main): Don't call empty_cycle. Don't use watch_count_done.
10366 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10367 empty_cycle. Rewrite the code counting HW watchpoints.
10368
103692015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10370
10371 * gdb.reverse/fstatat-reverse.c: New test.
10372 * gdb.reverse/fstatat-reverse.exp: New file.
10373 * gdb.reverse/getresuid-reverse.c: New test.
10374 * gdb.reverse/getresuid-reverse.exp: New file.
10375 * gdb.reverse/pipe-reverse.c: New test.
10376 * gdb.reverse/pipe-reverse.exp: New file.
10377 * gdb.reverse/readv-reverse.c: New test.
10378 * gdb.reverse/readv-reverse.exp: New file.
10379 * gdb.reverse/recvmsg-reverse.c: New test.
10380 * gdb.reverse/recvmsg-reverse.exp: New file.
10381 * gdb.reverse/time-reverse.c: New test.
10382 * gdb.reverse/time-reverse.exp: New file.
10383 * gdb.reverse/waitpid-reverse.c: New test.
10384 * gdb.reverse/waitpid-reverse.exp: New file.
10385
103862015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10387
10388 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10389
103902015-10-26 Doug Evans <dje@google.com>
10391
10392 PR symtab/17391
10393 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10394 * gdb.dwarf2/bad-regnum.c: New file.
10395 * gdb.dwarf2/bad-regnum.exp: New file.
10396
103972015-10-26 Doug Evans <dje@google.com>
10398
10399 PR python/18938
10400 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10401 file.
10402
104032015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10404
10405 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10406 for a change by "Mention language in compile error message".
10407
104082015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10409
10410 PR python/18073
10411 * gdb.python/py-type.c (C::a_method): New.
10412 (C::a_const_method): New.
10413 (C::a_static_method): New.
10414 (a_function): New.
10415 * gdb.python/py-type.exp (test_fields): Test getting fields
10416 from function and method.
10417
104182015-10-21 Keven Boell <keven.boell@intel.com>
10419
10420 * gdb.fortran/vla-alloc-assoc.exp: New file.
10421 * gdb.fortran/vla-datatypes.exp: New file.
10422 * gdb.fortran/vla-datatypes.f90: New file.
10423 * gdb.fortran/vla-history.exp: New file.
10424 * gdb.fortran/vla-ptype-sub.exp: New file.
10425 * gdb.fortran/vla-ptype.exp: New file.
10426 * gdb.fortran/vla-sizeof.exp: New file.
10427 * gdb.fortran/vla-sub.f90: New file.
10428 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10429 * gdb.fortran/vla-value-sub-finish.exp: New file.
10430 * gdb.fortran/vla-value-sub.exp: New file.
10431 * gdb.fortran/vla-value.exp: New file.
10432 * gdb.fortran/vla-ptr-info.exp: New file.
10433 * gdb.mi/mi-vla-fortran.exp: New file.
10434 * gdb.mi/vla.f90: New file.
10435
104362015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10437
10438 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10439 of hardwired timeout value.
10440
104412015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10442 Pedro Alves <palves@redhat.com>
10443
10444 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10445 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10446
104472015-10-19 Josh Stone <jistone@redhat.com>
10448
10449 * gdb.base/catch-syscall.c: Include <sched.h>.
10450 (unknown_syscall): New variable.
10451 (main): Trigger a vfork and an unknown syscall.
10452 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10453 (unknown_syscall_number): Likewise.
10454 (check_call_to_syscall): Accept an optional syscall pattern.
10455 (check_return_from_syscall): Likewise.
10456 (check_continue): Likewise.
10457 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10458 (test_catch_syscall_skipping_return): New test toggling off 'catch
10459 syscall' to step over the syscall return, then toggling back on.
10460 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10461 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10462 (do_syscall_tests): Call test_catch_syscall_without_args and
10463 test_catch_syscall_mid_vfork.
10464 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10465 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10466
104672015-10-19 Andrew Stubbs <ams@codesourcery.com>
10468
10469 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10470 print g_vE): Add new pass patterns.
10471 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10472 print various symbol names for vptr fields.
10473
104742015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10475
10476 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10477 results.
10478
104792015-10-12 Yao Qi <yao.qi@linaro.org>
10480
10481 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10482
104832015-10-12 Yao Qi <yao.qi@linaro.org>
10484
10485 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10486 is aarch64*-*-linux*.
10487
104882015-10-12 Yao Qi <yao.qi@linaro.org>
10489
10490 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10491 (can_relocate_bcond_true): ... it.
10492 (can_relocate_bcond_false): New function.
10493 (foo): Likewise.
10494 (can_relocate_bl): Likewise.
10495 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10496 can_relocate_bl.
10497
104982015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10499
10500 * gdb.base/nested-addr.c: New file.
10501 * gdb.base/nested-addr.exp: New testcase.
10502
105032015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10504
10505 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10506 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10507 its output. Ignore the output of "record goto begin" and instead
10508 check that GDB is replaying.
10509
105102015-10-09 Pedro Alves <palves@redhat.com>
10511
10512 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10513 (top level): Use it in the run with no args test.
10514
105152015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10516
10517 * gdb.dlang/properties.exp: New file.
10518
105192015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10520
10521 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10522 whether or not address 0x1000 is mapped on the target.
10523
105242015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10525
10526 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10527 build.
10528
105292015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10530
10531 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10532 instruction-history test.
10533
105342015-09-28 Doug Evans <dje@google.com>
10535
10536 * gdb.base/gcore.c (array_func): Add reference to static_array.
10537
105382015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10539
10540 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10541 source line.
10542
105432015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10544
10545 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10546 short or char as base type.
10547
105482015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10549
10550 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10551 to allow any size enum.
10552
105532015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10554
10555 * gdb.ada/array_ptr_renaming.exp: New testcase.
10556 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10557 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10558
105592015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10560
10561 * gdb.trace/ftrace-lock.c: New file.
10562 * gdb.trace/ftrace-lock.exp: New file.
10563
105642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10565
10566 * gdb.arch/insn-reloc.c: New file.
10567 * gdb.arch/ftrace-insn-reloc.exp: New file.
10568
105692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10570
10571 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10572 instruction.
10573 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10574 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10575 * gdb.trace/range-stepping.c: Likewise.
10576 * gdb.trace/trace-break.c: Likewise.
10577 * gdb.trace/trace-mt.c (thread_function): Likewise.
10578 * gdb.trace/ftrace.c (marker): Likewise.
10579 * gdb.trace/trace-condition.c (marker): Likewise.
10580 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10581 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10582 is_aarch64_target.
10583
105842015-09-18 Doug Evans <xdje42@gmail.com>
10585
10586 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10587 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10588
105892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10590
10591 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10592 the breakpoint.
10593
105942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10595
10596 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10597 the pending breakpoint. Remove timeout override for "Run till
10598 MI pending breakpoint on pendfunc3 on thread 2" test.
10599
106002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10601
10602 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10603 filename pattern.
10604
106052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10606
10607 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10608 in breakpoint filename pattern.
10609
106102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10611
10612 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10613
106142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10615
10616 * gdb.linespec/explicit.exp: Check for readline support for
10617 tab-completion tests. Fix obvious typo.
10618
106192015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10620
10621 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10622 and replay.
10623
106242015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10625
10626 * gdb.btrace/non-stop.c: New.
10627 * gdb.btrace/non-stop.exp: New.
10628
106292015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10630 Yao Qi <yao.qi@linaro.org>
10631
10632 * gdb.trace/trace-condition.c: New file.
10633 * gdb.trace/trace-condition.exp: New file.
10634
106352015-09-16 Wei-cheng Wang <cole945@gmail.com>
10636
10637 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10638 for testing bytecode compilation.
10639
106402015-09-16 Pedro Alves <palves@redhat.com>
10641 Sandra Loosemore <sandra@codesourcery.com>
10642
10643 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10644 (SECONDS): Redefine.
10645 (main): Call pthread_kill and alarm early.
10646 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10647 support.
10648 (test): If the target can't hardware step and doesn't support
10649 displaced stepping, increase the timeout.
10650
106512015-09-16 Pedro Alves <palves@redhat.com>
10652
10653 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10654 (enable_debug): New procedures.
10655 (test): Use them. Bail out if waiting for threads fails.
10656 (top level): Bail out if a test fails.
10657
106582015-09-16 Yao Qi <yao.qi@linaro.org>
10659
10660 * gdb.asm/asm-source.exp: Set asm-arch for
10661 aarch64*-*-* target.
10662 * gdb.asm/aarch64.inc: New file.
10663
106642015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10665
10666 * gdb.ada/array_of_variable_length.exp: New testcase.
10667 * gdb.ada/array_of_variable_length/foo.adb: New file.
10668 * gdb.ada/array_of_variable_length/pck.adb: New file.
10669 * gdb.ada/array_of_variable_length/pck.ads: New file.
10670
106712015-09-15 Doug Evans <dje@google.com>
10672
10673 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10674 of function static local variable.
10675
106762015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10677
10678 * gdb.threads/tls-so_extern.exp: New test file.
10679 * gdb.threads/tls-so_extern.c: New test file.
10680 * gdb.threads/tls-so_extern_main.c: New test file.
10681
106822015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10683
10684 * gdb.opt/solib-intra-step-lib.c: New file.
10685 * gdb.opt/solib-intra-step-main.c: New file.
10686 * gdb.opt/solib-intra-step.exp: New file.
10687
106882015-09-15 Pedro Alves <palves@redhat.com>
10689
10690 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10691 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10692
106932015-09-14 Pedro Alves <palves@redhat.com>
10694
10695 * gdb.base/hook-stop-continue.c: Delete.
10696 * gdb.base/hook-stop-continue.exp: Delete.
10697 * gdb.base/hook-stop-frame.c: Delete.
10698 * gdb.base/hook-stop-frame.exp: Delete.
10699 * gdb.base/hook-stop.c: New file.
10700 * gdb.base/hook-stop.exp: New file.
10701
107022015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10703
10704 * gdb.ada/access_to_packed_array.exp: New testcase.
10705 * gdb.ada/access_to_packed_array/foo.adb: New file.
10706 * gdb.ada/access_to_packed_array/pack.adb: New file.
10707 * gdb.ada/access_to_packed_array/pack.ads: New file.
10708
107092015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10710
10711 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10712 buffer size test.
10713
107142015-09-11 Don Breazeal <donb@codesourcery.com>
10715
10716 * gdb.base/foll-exec.c: Add copyright header. Fix
10717 formatting issues.
10718 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10719 (do_exec_tests): Use clean_restart in place of zap_session,
10720 and for test initialization. Fix formatting issues. Use
10721 fail in place of perror.
10722 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10723 an expect statement to match an expression with output from
10724 the program under debug.
10725 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10726 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10727 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10728 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10729 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10730
107312015-09-09 Doug Evans <dje@google.com>
10732
10733 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10734
107352015-09-09 Doug Evans <dje@google.com>
10736
10737 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10738
107392015-09-09 Doug Evans <dje@google.com>
10740
10741 * gdb.base/savedregs.exp: Fix typo.
10742
107432015-09-09 Pedro Alves <palves@redhat.com>
10744
10745 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10746
107472015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10748
10749 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10750 command actually switches threads. Give up on remaining
10751 tests if target fails to stop at breakpoint.
10752
107532015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10754
10755 * gdb.ada/funcall_char.exp: New testcase.
10756 * gdb.ada/funcall_char/foo.adb: New file.
10757
107582015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10759
10760 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10761 expected outputs. Add two testcases for completing ambiguous
10762 functions.
10763 * gdb.ada/complete/aux_pck.adb: New file.
10764 * gdb.ada/complete/aux_pck.ads: New file.
10765 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10766 Ambiguous_Func functions.
10767 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10768 * gdb.ada/complete/pck.adb: Likewise.
10769
107702015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10771
10772 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10773 failures to run the test program under GDB.
10774
107752015-08-26 Luis Machado <lgustavo@codesourcery.com>
10776
10777 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10778 to C.
10779
107802015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10781
10782 * gdb.base/run-after-attach.exp: New test file.
10783 * gdb.base/run-after-attach.c: New test file.
10784
107852015-08-26 Don Breazeal <donb@codesourcery.com>
10786
10787 * gdb.base/foll-exec-2.c: New test program.
10788 * gdb.base/foll-exec-2.exp: New test.
10789
107902015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10791
10792 * gdb.base/nested-subp1.exp: New file.
10793 * gdb.base/nested-subp1.c: New file.
10794 * gdb.base/nested-subp2.exp: New file.
10795 * gdb.base/nested-subp2.c: New file.
10796 * gdb.base/nested-subp3.exp: New file.
10797 * gdb.base/nested-subp3.c: New file.
10798
107992015-08-24 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.server/connect-without-multi-process.c: New file.
10802 * gdb.server/connect-without-multi-process.exp: New file.
10803
108042015-08-24 Luis Machado <lgustavo@codesourcery.com>
10805
10806 * gdb.opt/inline-markers.c: Make z int.
10807
108082015-08-24 Luis Machado <lgustavo@codesourcery.com>
10809
10810 * gdb.opt/inline-markers.c: Make z volatile.
10811
108122015-08-24 Luis Machado <lgustavo@codesourcery.com>
10813
10814 * gdb.opt/inline-bt.c: New volatile global z.
10815 * gdb.opt/inline-cmds.c: Likewise.
10816 * gdb.opt/inline-locals.c: Likewise.
10817 * gdb.opt/inline-markers.c: New extern global z.
10818 (marker): Use z.
10819 (inline_fn): Likewise.
10820
108212015-08-24 Pedro Alves <palves@redhat.com>
10822
10823 * config/m32r-stub.exp: Remove file.
10824 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10825 * gdb.base/call-rt-st.exp: Likewise.
10826 * gdb.base/call-strs.exp: Likewise.
10827 * gdb.base/default.exp: Remove references to h8300-*-hms and
10828 *-*-udi*.
10829 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10830
108312015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10832
10833 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10834 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10835 and "return" use KFAIL when GDB can not read/write the vector
10836 return value.
10837
108382015-08-21 Gary Benson <gbenson@redhat.com>
10839
10840 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10841
108422015-08-20 Pedro Alves <palves@redhat.com>
10843
10844 * gdb.server/solib-list.exp: No longer expect an interior stop in
10845 non-stop mode.
10846
108472015-08-20 Pedro Alves <palves@redhat.com>
10848
10849 * gdb.server/connect-stopped-target.c: New file.
10850 * gdb.server/connect-stopped-target.exp: New file.
10851
108522015-08-20 Pedro Alves <palves@redhat.com>
10853
10854 * gdb.dwarf2/comp-unit-lang.exp: New file.
10855 * gdb.dwarf2/comp-unit-lang.c: New file.
10856
108572015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10858
10859 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10860 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10861
108622015-08-19 Kevin Buettner <kevinb@redhat.com>
10863
10864 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10865 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10866
108672015-08-18 Doug Evans <dje@google.com>
10868 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10869
10870 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10871 skip_python_tests. New arg prompt_regexp.
10872 (skip_python_tests): New function.
10873 * lib/mi-support.exp (mi_skip_python_tests): New function.
10874 * gdb.python/py-mi-objfile-gdb.py: New file.
10875 * gdb.python/py-mi-objfile.c: New file.
10876 * gdb.python/py-mi-objfile.exp: New file.
10877
108782015-08-17 Keith Seitz <keiths@redhat.com>
10879
10880 * gdb.linespec/explicit.exp: Move strace test from here ...
10881 * gdb.trace/strace.exp: ... to here.
10882
108832015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10884
10885 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10886 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10887
108882015-08-14 Doug Evans <xdje42@gmail.com>
10889
10890 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10891 inferior before selecting a new file.
10892
108932015-08-14 Doug Evans <xdje42@gmail.com>
10894
10895 * gdb.mi/mi-disassemble.exp: Update.
10896 * gdb.base/disasm-optim.S: New file.
10897 * gdb.base/disasm-optim.c: New file.
10898 * gdb.base/disasm-optim.h: New file.
10899 * gdb.base/disasm-optim.exp: New file.
10900
109012015-08-14 Keith Seitz <keiths@redhat.com>
10902
10903 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10904 "evaluated-by".
10905
109062015-08-13 Joel Brobecker <brobecker@adacore.com>
10907
10908 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10909
109102015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10911
10912 * gdb.ada/fun_renaming.exp: New testcase.
10913 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10914 * gdb.ada/fun_renaming/pack.adb: New file.
10915 * gdb.ada/fun_renaming/pack.ads: New file.
10916
109172015-08-12 Keith Seitz <keiths@redhat.com>
10918
10919 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10920 gdb_get_line_number.
10921
109222015-08-12 Joel Brobecker <brobecker@adacore.com>
10923
10924 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10925 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10926 gdb.base/dso2dso.exp: New files.
10927
109282015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10929 Pedro Alves <palves@redhat.com>
10930 Keith Seitz <keiths@redhat.com>
10931
10932 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10933 GDBFLAGS.
10934
109352015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10936
10937 * gdb.base/gdbhistsize-history.exp
10938 (test_histsize_history_setting): Use save_vars.
10939 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10940 Use save_vars.
10941 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10942 * gdb.base/readline.exp: Use save_vars.
10943
109442015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10945
10946 * lib/gdb.exp (save_vars): New proc.
10947
109482015-08-11 Keith Seitz <keiths@redhat.com>
10949
10950 * gdb.base/help.exp: Update help_breakpoint_text.
10951
109522015-08-11 Keith Seitz <keiths@redhat.com>
10953
10954 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10955 (at toplevel): Call test_explicit_breakpoints.
10956 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10957 breakpoints.
10958 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10959 breakpoint conditions, "-cond".
10960
109612015-08-11 Keith Seitz <keiths@redhat.com>
10962
10963 * gdb.linespec/3explicit.c: New file.
10964 * gdb.linespec/cpexplicit.cc: New file.
10965 * gdb.linespec/cpexplicit.exp: New file.
10966 * gdb.linespec/explicit.c: New file.
10967 * gdb.linespec/explicit.exp: New file.
10968 * gdb.linespec/explicit2.c: New file.
10969 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10970 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10971 before using in the matching pattern.
10972 Clarify that `prefix' is a regular expression.
10973
109742015-08-11 Keith Seitz <keiths@redhat.com>
10975
10976 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10977 test.
10978 Add tests for missing ",FMT" and ",".
10979
109802015-08-10 Doug Evans <dje@google.com>
10981 Keith Seitz <keiths@redhat.com>
10982
10983 PR gdb/17960
10984 * gdb.base/completion.exp: Add location completer tests.
10985
109862015-08-07 Pedro Alves <palves@redhat.com>
10987
10988 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10989 tests here.
10990 (top level): Run do_test with and without displaced stepping.
10991
109922015-08-07 Pedro Alves <palves@redhat.com>
10993
10994 * gdb.base/valgrind-disp-step.c: New file.
10995 * gdb.base/valgrind-disp-step.exp: New file.
10996
109972015-08-07 Pedro Alves <palves@redhat.com>
10998
10999 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11000 Delete function.
11001 (main): Add alarm. Run an infinite loop instead of calling
11002 wait_threads.
11003 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11004 comment.
11005 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11006 Delete function.
11007 (main): Add alarm. Run an infinite loop instead of calling
11008 wait_threads.
11009 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11010 comment.
11011
110122015-08-07 Pedro Alves <palves@redhat.com>
11013
11014 * gdb.base/checkpoint-ns.exp: New file.
11015 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11016 standard_testfile.
11017
110182015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11019
11020 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11021 * gdb.btrace/instruction_history.exp: Update.
11022 * gdb.btrace/tsx.exp: New.
11023 * gdb.btrace/tsx.c: New.
11024
110252015-08-06 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11028 increase timeout.
11029 * gdb.reverse/until-precsave.exp: Bump timeouts.
11030
110312015-08-06 Pedro Alves <palves@redhat.com>
11032
11033 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11034
110352015-08-06 Pedro Alves <palves@redhat.com>
11036
11037 PR gdb/18749
11038 * gdb.threads/process-dies-while-handling-bp.c: New file.
11039 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11040
110412015-08-06 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11044 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11045
110462015-08-05 Pedro Alves <palves@redhat.com>
11047
11048 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11049 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11050
110512015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11052
11053 * gdb.base/bp-permanent.exp: Report test as unsupported if
11054 the target cannot stop at the permanent breakpoint.
11055
110562015-08-03 Doug Evans <dje@google.com>
11057
11058 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11059 10000.
11060
110612015-08-03 Doug Evans <dje@google.com>
11062
11063 * Makefile.in (workers/%.worker, build-perf): New rule.
11064 (GDB_PERFTEST_MODE): New variable.
11065 (check-perf): Use it.
11066 (clean): Clean up gdb.perf parallel build subdirs.
11067 * lib/build-piece.exp: New file.
11068 * lib/gdb.exp (make_gdb_parallel_path): New function
11069 (standard_output_file, standard_temp_file): Call it.
11070 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11071 of $GDB_PARALLEL.
11072 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11073
110742015-08-03 Doug Evans <dje@google.com>
11075
11076 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11077 (LOG_FILE_NAME): New global.
11078 (TextReporter.__init__): Initialize self.txt_sum.
11079 (TextReporter.report): Add support for multiple data-points.
11080 Move report to perftest.sum, put raw data in perftest.log.
11081 (TextReporter.start): Open sum and log files.
11082 (TextReporter.end): Close sum and log files.
11083 * gdb.perf/lib/perftest/testresult.py
11084 (SingleStatisticTestResult.record): Handle multiple data-points.
11085
110862015-07-31 Pedro Alves <palves@redhat.com>
11087
11088 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11089 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11090 kill_wait_spawned_process instead of explicit "kill -9".
11091 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11092 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11093 kill_wait_spawned_process.
11094 * gdb.base/attach-twice.exp: Likewise.
11095 * gdb.base/attach.exp: Likewise.
11096 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11097 gdb_test_multiple.
11098 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11099 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11100 kill_wait_spawned_process.
11101 * gdb.base/valgrind-infcall.exp: Likewise.
11102 * gdb.multi/multi-attach.exp: Likewise.
11103 * gdb.python/py-prompt.exp: Likewise.
11104 * gdb.python/py-sync-interp.exp: Likewise.
11105 * gdb.server/ext-attach.exp: Likewise.
11106 * gdb.threads/attach-into-signal.exp (corefunc): Use
11107 spawn_wait_for_attach, spawn_id_get_pid and
11108 kill_wait_spawned_process.
11109 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11110 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11111 spawn_id_get_pid and kill_wait_spawned_process.
11112 * gdb.threads/attach-stopped.exp (corefunc): Use
11113 spawn_wait_for_attach, spawn_id_get_pid and
11114 kill_wait_spawned_process.
11115 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11116 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11117 kill_wait_spawned_process instead of explicit "kill -9".
11118 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11119 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11120 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11121 processes. Don't map cygwin/windows pids here. Now returns a
11122 spawn id list.
11123
111242015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11125
11126 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11127 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11128 correct patch.
11129
111302015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11131
11132 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11133
111342015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11135
11136 Reapply:
11137 2014-05-21 Mark Wielaard <mjw@redhat.com>
11138
11139 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11140
111412015-07-30 Pedro Alves <palves@redhat.com>
11142
11143 * linux-low.c (handle_extended_wait): Set the child's last
11144 reported status to TARGET_WAITKIND_STOPPED.
11145
111462015-07-30 Pedro Alves <palves@redhat.com>
11147
11148 PR threads/18600
11149 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11150 only shows inferior 1.
11151
111522015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11153 Pedro Alves <palves@redhat.com>
11154
11155 PR threads/18600
11156 * gdb.threads/fork-plus-threads.c: New file.
11157 * gdb.threads/fork-plus-threads.exp: New file.
11158
111592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11160
11161 * gdb.base/batch-preserve-term-settings.exp
11162 (test_terminal_settings_preserved_after_cli_exit): Use
11163 send_quit_command.
11164
111652015-07-29 Pedro Alves <palves@redhat.com>
11166 Don Breazeal <donb@codesourcery.com>
11167
11168 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11169 output from both inferior_spawn_id and gdb_spawn_id.
11170
111712015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11172
11173 * gdb.threads/attach-into-signal.exp (corefunc): Use
11174 with_test_prefix on nested loops, uniquefying the test messages.
11175
111762015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11177
11178 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11179 commit.
11180
111812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11182
11183 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11184 New proc.
11185 (test_terminal_settings_preserved_after_sigterm): New test.
11186
111872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11188
11189 * gdb.base/batch-preserve-term-settings.exp
11190 (test_terminal_settings_preserved_after_cli_exit): New test.
11191
111922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11193
11194 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11195 manipulation of saved_gdbflags.
11196 (test_terminal_settings_preserved): Remove global declaration of
11197 the unused variable pagination_prompt. Remove manipulation of
11198 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11199 GDBFLAGS.
11200
112012015-07-29 Pedro Alves <palves@redhat.com>
11202
11203 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11204
112052015-07-29 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11208 at the top.
11209
112102015-07-29 Pedro Alves <palves@redhat.com>
11211
11212 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11213 (main): Call gdb_unbuffer_output.
11214 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11215 (main): Call gdb_unbuffer_output.
11216 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11217 (main): Call gdb_unbuffer_output.
11218 * gdb.base/call-strs.exp: Adjust to step over the
11219 gdb_unbuffer_output call.
11220 * gdb.base/catch-gdb-caused-signals.c: Include
11221 "../lib/unbuffer_output.c".
11222 (main): Call gdb_unbuffer_output.
11223 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11224 (main): Call gdb_unbuffer_output.
11225 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11226 (main): Call gdb_unbuffer_output.
11227 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11228 (main): Call gdb_unbuffer_output.
11229 * gdb.base/shlib-call.exp: Adjust to step over the
11230 gdb_unbuffer_output call.
11231 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11232 (main): Call gdb_unbuffer_output.
11233 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11234 (main): Call gdb_unbuffer_output.
11235 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11236 (main): Rename to ...
11237 (test): ... this.
11238 (main): Reimplement.
11239 * gdb.base/varargs.exp: Run to test instead of to main.
11240 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11241 (main): Call gdb_unbuffer_output.
11242
112432015-07-29 Pedro Alves <palves@redhat.com>
11244
11245 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11246 factore out from mi_continue_dprintf. For call-style dprintfs,
11247 expect dprintf output out of $inferior_spawn_id.
11248 (mi_continue_dprintf): Use mi_expect_dprintf.
11249 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11250 (main): Call gdb_unbuffer_output.
11251
112522015-07-29 Pedro Alves <palves@redhat.com>
11253
11254 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11255 (default_mi_gdb_start): Set inferior_spawn_id instead of
11256 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11257 gdb_spawn_id.
11258 (mi_gdb_test): Always expect inferior output from both
11259 $inferior_spawn_id and $gdb_spawn_id.
11260
112612015-07-29 Pedro Alves <palves@redhat.com>
11262
11263 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11264 send_inferior and $inferior_spawn_id.
11265
112662015-07-29 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.gdb/complaints.exp (test_initial_complaints)
11269 (test_serial_complaints, test_short_complaints): Use
11270 gdb_test_stdio.
11271 (test_empty_complaint): Handle $inferior_spawn_id !=
11272 $gdb_spawn_id.
11273
112742015-07-29 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.base/varargs.exp: Use gdb_test_stdio.
11277
112782015-07-29 Pedro Alves <palves@redhat.com>
11279
11280 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11281
112822015-07-29 Pedro Alves <palves@redhat.com>
11283
11284 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11285
112862015-07-29 Pedro Alves <palves@redhat.com>
11287
11288 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11289 parameter into two new parameters, "inf_result" and "gdb_result".
11290 Expect inferior output and gdb output from $inferior_spawn_id and
11291 $gdb_spawn_id, respectively. Adjust all callers.
11292
112932015-07-29 Pedro Alves <palves@redhat.com>
11294
11295 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11296 of gdb_test_sequence.
11297
112982015-07-29 Pedro Alves <palves@redhat.com>
11299
11300 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11301 (saw_spurious_output): Expect inferior output from
11302 $inferior_spawn_id. Use gdb_test_stdio.
11303
113042015-07-29 Pedro Alves <palves@redhat.com>
11305
11306 * gdb.base/dprintf.exp: Use standard_testfile. Change
11307 prepare_for_testing call.
11308 (srcfile): Don't set.
11309 (restart): New procedure.
11310 (test_dprintf): New procecure, use to continue over dprintfs.
11311 (test_call, test_agent): New procedures, tests moved here.
11312 Restart gdb and recreate dprintfs. Adjust expected output.
11313
113142015-07-29 Pedro Alves <palves@redhat.com>
11315
11316 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11317
113182015-07-29 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11321
113222015-07-29 Pedro Alves <palves@redhat.com>
11323
11324 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11325 gdb_test_stdio.
11326
113272015-07-29 Pedro Alves <palves@redhat.com>
11328
11329 * lib/gdb.exp (gdb_test_stdio): New procedure.
11330
113312015-07-29 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11334
113352015-07-29 Pedro Alves <palves@redhat.com>
11336
11337 * gdb.base/call-signal-resume.exp: Remove check for
11338 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11339 * gdb.base/unwindonsignal.exp: Likewise.
11340 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11341 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11342
113432015-07-29 Pedro Alves <palves@redhat.com>
11344
11345 * gdb.base/siginfo-addr.c (pass): New function.
11346 (handler): Call it iff si_addr is correct.
11347 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11348 Set a breakpoint at "pass" and continue to it.
11349
113502015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11351
11352 * gdb.python/py-objfile.exp: Make some tests have unique names.
11353 * gdb.python/py-pp-registration.exp: Likewise.
11354
113552015-07-28 Pedro Alves <palves@redhat.com>
11356
11357 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11358
113592015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11360
11361 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11362
113632015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11364
11365 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11366
113672015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11368
11369 * gdb.base/gdb-sigterm-2.exp: New test.
11370
113712015-07-25 Doug Evans <xdje42@gmail.com>
11372
11373 Revert:
11374 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11375 (workers/%.worker, build-perf): New rule.
11376 (GDB_PERFTEST_MODE): New variable.
11377 (check-perf): Use it.
11378 (clean): Clean up gdb.perf parallel build subdirs.
11379 * lib/build-piece.exp: New file.
11380 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11381 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11382 name.
11383 (standard_temp_file): Ditto.
11384 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11385 of $GDB_PARALLEL.
11386
113872015-07-24 Doug Evans <dje@google.com>
11388
11389 * gdb.perf/lib/perftest/utils.py: New file.
11390 * gdb.perf/gm-hello.cc: New file.
11391 * gdb.perf/gm-pervasive-typedef.cc: New file.
11392 * gdb.perf/gm-pervasive-typedef.h: New file.
11393 * gdb.perf/gm-std.cc: New file.
11394 * gdb.perf/gm-std.h: New file.
11395 * gdb.perf/gm-use-cerr.cc: New file.
11396 * gdb.perf/gm-utils.h: New file.
11397 * gdb.perf/gmonster-null-lookup.py: New file.
11398 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11399 * gdb.perf/gmonster-print-cerr.py: New file.
11400 * gdb.perf/gmonster-ptype-string.py: New file.
11401 * gdb.perf/gmonster-runto-main.py: New file.
11402 * gdb.perf/gmonster-select-file.py: New file.
11403 * gdb.perf/gmonster1-null-lookup.exp: New file.
11404 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11405 * gdb.perf/gmonster1-print-cerr.exp: New file.
11406 * gdb.perf/gmonster1-ptype-string.exp: New file.
11407 * gdb.perf/gmonster1-runto-main.exp: New file.
11408 * gdb.perf/gmonster1-select-file.exp: New file.
11409 * gdb.perf/gmonster1.cc: New file.
11410 * gdb.perf/gmonster1.exp: New file.
11411 * gdb.perf/gmonster2-null-lookup.exp: New file.
11412 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11413 * gdb.perf/gmonster2-print-cerr.exp: New file.
11414 * gdb.perf/gmonster2-ptype-string.exp: New file.
11415 * gdb.perf/gmonster2-runto-main.exp: New file.
11416 * gdb.perf/gmonster2-select-file.exp: New file.
11417 * gdb.perf/gmonster2.cc: New file.
11418 * gdb.perf/gmonster2.exp: New file.
11419
114202015-07-24 Doug Evans <dje@google.com>
11421
11422 * gdb.perf/README: New file.
11423 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11424 * lib/gen-perf-test.exp: New file.
11425
114262015-07-24 Doug Evans <dje@google.com>
11427
11428 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11429 (PerfTest::startup): New function.
11430 (PerfTest::run): Return result of calling body.
11431 (PerfTest::assemble): Rewrite.
11432 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11433 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11434 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11435 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11436 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11437
114382015-07-24 Doug Evans <dje@google.com>
11439
11440 * lib/gdb.exp (clean_restart): Make executable optional.
11441
114422015-07-24 Doug Evans <dje@google.com>
11443
11444 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11445 compiler_info references.
11446 * gdb.cp/temargs.exp: Ditto.
11447 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11448 (get_compiler_info): Early exit if already computed. Set compiler_info
11449 to "unknown" if there was a problem.
11450 (test_compiler_info): Add function comment. Call get_compiler_info.
11451
114522015-07-24 Doug Evans <dje@google.com>
11453
11454 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11455 (workers/%.worker, build-perf): New rule.
11456 (GDB_PERFTEST_MODE): New variable.
11457 (check-perf): Use it.
11458 (clean): Clean up gdb.perf parallel build subdirs.
11459 * lib/build-piece.exp: New file.
11460 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11461 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11462 name.
11463 (standard_temp_file): Ditto.
11464 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11465 of $GDB_PARALLEL.
11466
114672015-07-24 Doug Evans <dje@google.com>
11468
11469 * lib/future.exp (gdb_default_target_compile): New option
11470 "early_flags".
11471 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11472 --as-needed.
11473
114742015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11475
11476 * gdb.base/catch-syscall.exp: Call gdb_exit before
11477 gdb_skip_xml_test.
11478
114792015-07-24 Pedro Alves <palves@redhat.com>
11480
11481 * gdb.python/py-events.exp: Accept output between the stop event
11482 and the prompt.
11483 * gdb.python/py-evsignal.exp: Likewise.
11484 * gdb.python/py-evthreads.exp: Likewise.
11485
114862015-07-24 Pedro Alves <palves@redhat.com>
11487
11488 PR gdb/18717
11489 * gdb.threads/non-ldr-exit.c: New file.
11490 * gdb.threads/non-ldr-exit.exp: New file.
11491
114922015-07-24 Yao Qi <yao.qi@linaro.org>
11493
11494 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11495 restarting process.
11496
114972015-07-24 Yao Qi <yao.qi@linaro.org>
11498
11499 * gdb.server/ext-restart.exp: New file.
11500
115012015-07-24 Yao Qi <yao.qi@linaro.org>
11502
11503 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11504 argument options.
11505 * gdb.server/ext-wrapper.exp: New file.
11506
115072015-07-23 Doug Evans <dje@google.com>
11508
11509 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11510 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11511
115122015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11513
11514 * gdb.ada/var_arr_typedef.exp: New testcase.
11515 * gdb.ada/var_arr_typedef/pack.adb: New file.
11516 * gdb.ada/var_arr_typedef/pack.ads: New file.
11517 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11518
115192015-07-20 Joel Brobecker <brobecker@adacore.com>
11520
11521 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11522
115232015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11524
11525 * gdb.arch/i386-biarch-core.exp: Replace istarget
11526 by "complete set gnutarget". Remove expectation for the "core-file"
11527 command.
11528
115292015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11530
11531 Revert the previous commit:
11532 Tests for validate symbol file using build-id.
11533
115342015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11535
11536 Tests for validate symbol file using build-id.
11537 * gdb.base/solib-mismatch-lib.c: New file.
11538 * gdb.base/solib-mismatch-libmod.c: New file.
11539 * gdb.base/solib-mismatch.c: New file.
11540 * gdb.base/solib-mismatch.exp: New file.
11541
115422015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11543
11544 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11545 nios2-*-linux*.
11546 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11547 * gdb.base/siginfo.exp: Likewise.
11548 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11549
115502015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11551
11552 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11553 Move it to ...
11554 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11555 ... here.
11556 * gdb.trace/range-stepping.exp: Check that the target supports
11557 range stepping.
11558
115592015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11560
11561 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11562
115632015-07-14 Pedro Alves <palves@redhat.com>
11564
11565 * gdb.base/killed-outside.exp: New file.
11566 * gdb.base/killed-outside.c: New file.
11567
115682015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11569
11570 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11571 (n at main): New.
11572 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11573
115742015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11575
11576 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11577 infcall tests instead of setting up for KFAIL.
11578
115792015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11580
11581 * gdb.btrace/record_goto-step.exp: New.
11582
115832015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11584
11585 PR compile/18484
11586 * gdb.compile/compile.c (struct struct_type): Add volatile to
11587 selffield's type.
11588 * gdb.compile/compile.exp
11589 (compile code struct_object.selffield = &struct_object): Skip further
11590 struct_object tests if this one xfails.
11591
115922015-07-08 Robert O'Callahan <robert@ocallahan.org>
11593
11594 PR exp/18617
11595 * gdb.trace/ax.exp: Add test.
11596
115972015-07-07 Yao Qi <yao.qi@linaro.org>
11598
11599 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11600 instead of istarget "aarch64*-*-*".
11601 * gdb.arch/aarch64-fp.exp: Likewise.
11602 * gdb.base/float.exp: Likewise.
11603 * gdb.reverse/aarch64.exp: Likewise.
11604 * lib/gdb.exp (is_aarch64_target): New proc.
11605
116062015-07-07 Yao Qi <yao.qi@linaro.org>
11607
11608 * lib/gdb.exp (is_aarch32_target): New proc.
11609 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11610 instead of "istarget "arm*-*-*"".
11611 * gdb.arch/arm-disp-step.exp: Likewise.
11612 * gdb.arch/thumb-bx-pc.exp: Likewise.
11613 * gdb.arch/thumb-prologue.exp: Likewise.
11614 * gdb.arch/thumb-singlestep.exp: Likewise.
11615 * gdb.base/disp-step-syscall.exp: Likewise.
11616 * gdb.base/float.exp: Likewise.
11617
116182015-07-07 Yao Qi <yao.qi@linaro.org>
11619
11620 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11621 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11622
116232015-07-07 Yao Qi <yao.qi@linaro.org>
11624
11625 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11626 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11627 if it exists.
11628 * gdb.multi/multi-arch.exp: Likewise.
11629
116302015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11631
11632 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11633 print.
11634
116352015-07-07 Yao Qi <yao.qi@linaro.org>
11636
11637 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11638
116392015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11640
11641 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11642 '[' and ']' characters.
11643
116442015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11645
11646 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11647
116482015-06-29 Pedro Alves <palves@redhat.com>
11649
11650 PR threads/18127
11651 * gdb.threads/hand-call-new-thread.c: New file.
11652 * gdb.threads/hand-call-new-thread.c: New file.
11653
116542015-06-26 Keith Seitz <keiths@redhat.com>
11655 Doug Evans <dje@google.com>
11656
11657 PR 16253
11658 * gdb.cp/var-tag-2.cc: New file.
11659 * gdb.cp/var-tag-3.cc: New file.
11660 * gdb.cp/var-tag-4.cc: New file.
11661 * gdb.cp/var-tag.cc: New file.
11662 * gdb.cp/var-tag.exp: New file.
11663
116642015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11665
11666 * gdb.base/history-duplicates.exp: New test.
11667
116682015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11669
11670 * gdb.base/completion.exp: Test the completion of the "focus"
11671 command.
11672
116732015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 * gdb.arch/amd64-prologue-skip.S: New file.
11676 * gdb.arch/amd64-prologue-skip.exp: New file.
11677
116782015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11679
11680 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11681 is_address_zero_readable check.
11682
116832015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11684
11685 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11686 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11687
116882015-06-24 Yao Qi <yao.qi@linaro.org>
11689
11690 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11691 linux targets.
11692
116932015-06-24 Yao Qi <yao.qi@linaro.org>
11694
11695 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11696 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11697 * gdb.base/siginfo-thread.exp: Likewise.
11698
116992015-06-22 Yao Qi <yao.qi@linaro.org>
11700
11701 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11702
117032015-06-22 Yao Qi <yao.qi@linaro.org>
11704
11705 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11706 aarch64*-*-*.
11707 (skip_hw_watchpoint_tests): Likewise.
11708
117092015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11710
11711 * gdb.base/gdbinit-history.exp: Test the interaction between
11712 setting GDBHISTSIZE and setting the history size via .gdbinit.
11713
117142015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11715
11716 PR gdb/16999
11717 * gdb.base/gdbhistsize-history.exp: New test.
11718
117192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11720
11721 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11722 with GDBHISTSIZE.
11723 * gdb.base/readline.exp: Likewise.
11724
117252015-06-17 Yao Qi <yao.qi@linaro.org>
11726
11727 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11728 line.
11729
117302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11731
11732 * gdb.base/gdbinit-history.exp: Add test case to check that
11733 an unlimited history file does not get truncated on exit.
11734
117352015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11736
11737 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11738 (VECTOR): New macro. Use it...
11739 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11740 ...for these typedefs.
11741 (int8, char1, int1, double1): New typedefs.
11742 (struct just_int2, struct two_int2): New structures.
11743 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11744 (add_structvecs, add_singlevecs): New functions.
11745 (main): Call add_some_intvecs twice.
11746 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11747 the compile and exit upon failure. Try compiling for the "native"
11748 architecture. Test inferior function calls with vector arguments
11749 and vector return value handling with "finish" and "return".
11750
117512015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11752
11753 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11754 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11755 PE file.
11756 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11757
117582015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11759
11760 PR breakpoints/16465
11761 * gdb.mi/mi-dprintf-pending.c: New file.
11762 * gdb.mi/mi-dprintf-pending.exp: New test.
11763 * gdb.mi/mi-dprintf-pendshr.c: New file.
11764
117652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11766 Mircea Gherzan <mircea.gherzan@intel.com>
11767
11768 * gdb.arch/i386-mpx-map.c: New file.
11769 * gdb.arch/i386-mpx-map.exp: New File.
11770
117712015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11772
11773 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11774 * gdb.arch/i386-mpx.exp: Indentation fixed.
11775
117762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11777
11778 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11779 function and improved indentation.
11780 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11781 gdb_test_multiple. Added additional tests to skip the test.
11782
117832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11784
11785 * gdb.arch/i386-avx512.c: Change path in include file.
11786 * gdb.arch/i386-avx512.exp: Change include dir path
11787 compilation flag.
11788 * gdb.arch/i386-mpx.c: Change path in include file.
11789 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11790 flag.
11791
117922015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11793
11794 * gdb.compile/compile-print.exp (compile print *vararray@3)
11795 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11796
117972015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11798
11799 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11800 (do not keep jit in memory): ... this.
11801 (expect 5): Change it to ...
11802 (expect no 5): ... this.
11803
118042015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11805
11806 PR gdb/15564
11807 * gdb.mi/mi-detach.exp: New file.
11808
118092015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11810
11811 PR symtab/18392
11812 * gdb.arch/amd64-tailcall-self.S: New file.
11813 * gdb.arch/amd64-tailcall-self.c: New file.
11814 * gdb.arch/amd64-tailcall-self.exp: New file.
11815
118162015-05-28 Don Breazeal <donb@codesourcery.com>
11817
11818 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11819 tests for remote targets by checking is_target_gdbserver.
11820
118212015-05-27 Doug Evans <dje@google.com>
11822
11823 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11824 * gdb.dwarf2/opaque-type-lookup.c: New file.
11825 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11826
118272015-05-26 Doug Evans <dje@google.com>
11828
11829 * gdb.cp/iostream.cc: New file.
11830 * gdb.cp/iostream.exp: New file.
11831
118322015-05-26 Doug Evans <dje@google.com>
11833
11834 * gdb.dwarf2/dw2-op-call.exp: Update.
11835 * gdb.dwarf2/dw4-sig-types.exp: Update.
11836 * gdb.dwarf2/implptr.exp: Update.
11837 * gdb.mi/mi-cmd-param-changed.exp: Update.
11838
118392015-05-26 Doug Evans <dje@google.com>
11840
11841 * gdb.python/py-lazy-string.c: New file.
11842 * gdb.python/py-lazy-string.exp: New file.
11843 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11844 (main): Update. Add estring3.
11845 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11846 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11847
118482015-05-26 Omair Javaid <omair.javaid@linaro.org>
11849 Yao Qi <yao.qi@linaro.org>
11850
11851 * gdb.reverse/aarch64.c: New.
11852 * gdb.reverse/aarch64.exp: New.
11853
118542015-05-26 Omair Javaid <omair.javaid@linaro.org>
11855
11856 * lib/gdb.exp (supports_process_record): Return true for
11857 aarch64*-linux*.
11858 (supports_reverse): Likewise.
11859
118602015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11861
11862 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11863 Use with_test_prefix.
11864
118652015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11866
11867 * gdb.base/completion.exp: Add test for completion of layout
11868 names.
11869
118702015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11871
11872 * lib/gdb.exp (skip_tui_tests): New proc.
11873 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11874
118752015-05-19 Pedro Alves <palves@redhat.com>
11876
11877 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11878 Save the whole env array instead of just HOME. Unset HISTSIZE in
11879 the environment while testing. Restore whole environment
11880 afterwards.
11881
118822015-05-16 Doug Evans <xdje42@gmail.com>
11883
11884 * gdb.guile/scm-ports.c: New file.
11885 * gdb.guile/scm-ports.exp: Add memory port tests.
11886
118872015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11888
11889 * gdb.compile/compile-print.c: New file.
11890 * gdb.compile/compile-print.exp: New file.
11891
118922015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11893
11894 * gdb.compile/compile-ops.exp: Cast param to void.
11895 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11896 (compile code struct_object.selffield = &struct_object): Add xfail.
11897
118982015-05-15 Joel Brobecker <brobecker@adacore.com>
11899
11900 * gdb.ada/arr_enum_with_gap: New testcase.
11901
119022015-05-15 Joel Brobecker <brobecker@adacore.com>
11903
11904 * gdb.ada/byte_packed_arr: New testcase.
11905
119062015-05-15 Joel Brobecker <brobecker@adacore.com>
11907
11908 * gdb.ada/pckd_neg: New testcase.
11909
119102015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11911
11912 PR gdb/17820
11913 * gdb.base/gdbinit-history.exp: New test.
11914 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11915 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11916
119172015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11918
11919 * gdb.python/py-xmethods.cc: Enhance test case.
11920 * gdb.python/py-xmethods.exp: New tests.
11921 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11922 function.
11923 (B_indexoper): Likewise.
11924 (global_dm_list) : Add new xmethod worker functions.
11925
119262015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11927
11928 * gdb.base/coredump-filter.exp: Correctly unset
11929 "coredump_var_addr" array.
11930
119312015-05-08 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.server/non-existing-program.exp: Unset spawn_id.
11934
119352015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11936
11937 PR python/18291
11938 * gdb.python/py-xmethods.exp: Add tests.
11939
119402015-05-08 Yao Qi <yao.qi@linaro.org>
11941
11942 PR gdb/18208
11943 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11944 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11945 function set_coredump_filter, and remove remote_exec call.
11946 Remove argument ipid. Callers update.
11947 (top level): Don't get inferior's PID.
11948
119492015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11950
11951 * gdb.base/watch_thread_num.exp: Skip test on targets without
11952 access watchpoints.
11953
119542015-05-06 Pedro Alves <palves@redhat.com>
11955
11956 PR server/18081
11957 * gdb.server/non-existing-program.exp: New file.
11958
119592015-05-05 Joel Brobecker <brobecker@adacore.com>
11960
11961 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11962
119632015-05-05 Joel Brobecker <brobecker@adacore.com>
11964
11965 * gdb.ada/out_of_line_in_inlined: New testcase.
11966
119672015-05-05 Joel Brobecker <brobecker@adacore.com>
11968
11969 * gdb.ada/var_rec_arr: New testcase.
11970
119712015-04-30 Yao Qi <yao.qi@linaro.org>
11972
11973 * gdb.base/break-idempotent.exp: If
11974 skip_hw_watchpoint_multi_tests returns true, skip the tests
11975 on "rwatch" and "awatch".
11976
119772015-04-30 Yao Qi <yao.qi@linaro.org>
11978
11979 * gdb.base/relativedebug.exp: Invoke gdb command
11980 "info sharedlibrary", and if libc.so doesn't have debug info,
11981 skip the test.
11982
119832015-04-29 Doug Evans <dje@google.com>
11984
11985 * gdb.python/py-xmethods.exp: Add ptype tests.
11986 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11987 get_result_type method.
11988
119892015-04-29 Luis Machado <lgustavo@codesourcery.com>
11990
11991 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11992 the target does not support hardware watchpoints.
11993
119942015-04-29 Luis Machado <lgustavo@codesourcery.com>
11995
11996 * gdb.base/break-always.exp: Abort testing if writing to memory
11997 causes an error.
11998
119992015-04-28 Doug Evans <dje@google.com>
12000
12001 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12002 * gdb.python/py-pp-registration.exp: ... here. New file.
12003 * gdb.python/py-pp-registration.c: New file.
12004 * gdb.python/py-pp-registration.py: New file.
12005
120062015-04-28 Doug Evans <dje@google.com>
12007
12008 * gdb.python/py-bad-printers.c: New file.
12009 * gdb.python/py-bad-printers.py: New file.
12010 * gdb.python/py-bad-printers.exp: New file.
12011
120122015-04-28 Sasha Smundak <asmundak@google.com>
12013
12014 * gdb.python/py-type.exp: New test.
12015
120162015-04-28 Andy Wingo <wingo@igalia.com>
12017
12018 * gdb.python/py-parameter.exp:
12019 * gdb.guile/scm-parameter.exp: Escape the path that we are
12020 matching against, as it might contain characters that are special
12021 to regular expressions.
12022
120232015-04-27 Joel Brobecker <brobecker@adacore.com>
12024
12025 * gdb.ada/rec_comp: New testcase.
12026
120272015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12028
12029 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12030 before using it.
12031
120322015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12033
12034 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12035 new tests for verilog output.
12036
120372015-04-24 Yao Qi <yao.qi@linaro.org>
12038
12039 * boards/remote-gdbserver-on-localhost.exp: New file.
12040
120412015-04-23 Pedro Alves <palves@redhat.com>
12042
12043 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12044 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12045 "end of file", remove $inferior_spawn_id from the indirect list.
12046
120472015-04-23 Pedro Alves <palves@redhat.com>
12048
12049 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12050
120512015-04-23 Pedro Alves <palves@redhat.com>
12052
12053 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12054 on $any_spawn_id instead of only on $gdb_spawn_id.
12055
120562015-04-21 Pierre Muller <muller@sourceware.org>
12057
12058 PR pascal/17815
12059 * lib/pascal.exp (gpc_compile): Add new option "class".
12060 (fpc_compile): Likewise.
12061 * gdb.pascal/case-insensitive-symbols.pas: New file.
12062 * gdb.pascal/case-insensitive-symbols.exp: New file.
12063
120642015-04-20 Gary Benson <gbenson@redhat.com>
12065
12066 * gdb.base/attach.exp: Fix three extended remote failures.
12067
120682015-04-17 Gary Benson <gbenson@redhat.com>
12069
12070 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12071 the main executable over the remote protocol.
12072
120732015-04-16 Pedro Alves <palves@redhat.com>
12074
12075 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12076 a new gdbserver if gdbserver_reconnect_p is set.
12077
120782015-04-16 Pedro Alves <palves@redhat.com>
12079
12080 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12081 is set, don't exit gdbserver.
12082
120832015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12084
12085 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12086 appropriate .insn, such that an older assembler can be used.
12087 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12088 the z/Architecture instruction set on 31-bit targets as well.
12089
120902015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12091
12092 * gdb.go/handcall.exp: Remove all logic related to the first
12093 breakpoint and rely on go_runto_main instead.
12094 * gdb.go/strings.exp: Likewise.
12095 * gdb.go/unsafe.exp: Likewise.
12096 * gdb.go/hello.exp: Likewise. Also rename the remaining
12097 breakpoint marker to "breakpoint 1".
12098 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12099 * gdb.go/strings.go: Likewise.
12100 * gdb.go/unsafe.go: Likewise.
12101 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12102 "set breakpoint 2 here" and rename the remaining breakpoint marker
12103 to "breakpoint 1".
12104
121052015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12106
12107 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12108 if itertools.imap is not present.
12109 * gdb.python/py-objfile.exp: Add parentheses.
12110 * gdb.python/py-type.exp: Same.
12111 * gdb.python/py-unwind-maint.py: Same.
12112
121132015-04-15 Yao Qi <yao.qi@linaro.org>
12114
12115 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12116 of ":$ptr_size" and set its form explicitly.
12117
121182015-04-15 Pedro Alves <palves@redhat.com>
12119 Yao Qi <yao.qi@linaro.org>
12120
12121 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12122 timeout by factor of 4.
12123 (test_regular_watch): Likewise.
12124 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12125 * gdb.reverse/sigall-reverse.exp: Likewise.
12126 * gdb.reverse/until-precsave.exp: Likewise.
12127 * lib/gdb.exp (with_timeout_factor): New proc.
12128 (gdb_expect): Move some code to ...
12129 (get_largest_timeout): ... here. New procedure.
12130
121312015-04-14 Luis Machado <lgustavo@codesourcery.com>
12132
12133 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12134
121352015-04-13 Luis Machado <lgustavo@codesourcery.com>
12136
12137 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12138 to write to the .text section.
12139
121402015-04-13 Luis Machado <lgustavo@codesourcery.com>
12141
12142 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12143 Handle the case of targets that do not provide PID information.
12144
121452015-04-13 Yao Qi <yao.qi@linaro.org>
12146
12147 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12148 and use expect instead of gdb_expect.
12149
121502015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12151
12152 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12153 "coredump_var_addr" to avoid naming conflict with other testcases.
12154
121552015-04-10 Pedro Alves <palves@redhat.com>
12156
12157 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12158 gdb_test_sequence and gdb_assert.
12159
121602015-04-10 Pedro Alves <palves@redhat.com>
12161
12162 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12163 test messages that don't include the breakpoint address.
12164
121652015-04-10 Yao Qi <yao.qi@linaro.org>
12166
12167 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12168 false for some offset and width combinations which aren't
12169 supported by linux kernel.
12170
121712015-04-10 Pedro Alves <palves@redhat.com>
12172
12173 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12174 procedure, factored out from ...
12175 (top level): ... here. Add "set displaced-stepping" testing axis.
12176 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12177 parameter "displaced". Use it.
12178 (top level): Use foreach and add "set displaced-stepping" testing
12179 axis.
12180
121812015-04-10 Pedro Alves <palves@redhat.com>
12182
12183 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12184 Remove comment.
12185 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12186 both the address of the instruction that triggers the watchpoint
12187 and the address of the instruction immediately after, and use
12188 those addresses for the test. Fix comment.
12189
121902015-04-10 Pedro Alves <palves@redhat.com>
12191
12192 * gdb.base/sigstep.exp (breakpoint_to_handler)
12193 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12194 Test "backtrace" in handler.
12195 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12196 (top level): Add new "displaced" test axis to
12197 breakpoint_to_handler, breakpoint_to_handler_entry and
12198 breakpoint_over_handler.
12199
122002015-04-10 Pedro Alves <palves@redhat.com>
12201
12202 PR gdb/18216
12203 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12204
122052015-04-10 Yao Qi <yao.qi@linaro.org>
12206
12207 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12208 (test_add_rn_pc): New function.
12209 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12210 (top level): Invoke test_add_rn_pc.
12211
122122015-04-10 Pedro Alves <palves@redhat.com>
12213
12214 PR gdb/13858
12215 * gdb.base/step-over-no-symbols.exp: New file.
12216
122172015-04-09 Andy Wingo <wingo@igalia.com>
12218
12219 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12220 after the Python tests.
12221
122222015-04-08 Keith Seitz <keiths@redhat.com>
12223
12224 PR python/16699
12225 * gdb.python/py-completion.exp: New tests for completion.
12226 * gdb.python/py-completion.py (CompleteLimit1): New class.
12227 (CompleteLimit2): Likewise.
12228 (CompleteLimit3): Likewise.
12229 (CompleteLimit4): Likewise.
12230 (CompleteLimit5): Likewise.
12231 (CompleteLimit6): Likewise.
12232 (CompleteLimit7): Likewise.
12233
122342015-04-08 Pedro Alves <palves@redhat.com>
12235
12236 PR gdb/18214
12237 PR gdb/18216
12238 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12239 function.
12240 (main): Install it as SIGUSR1 handler.
12241 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12242 parameter. Always use "setup" as prefix. Toggle "set
12243 displaced-stepping" off/on depending on global. Don't switch to
12244 thread 1 here.
12245 (top level): Add displaced stepping "off/on" test axis. Update
12246 "setup" calls. Wrap each subtest with with_test_prefix. Test
12247 continuing with a queued signal in each thread.
12248
122492015-04-08 Pedro Alves <palves@redhat.com>
12250
12251 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12252 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12253 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12254 Return early if running to main fails.
12255 * gdb.trace/while-stepping.exp: Likewise.
12256
122572015-04-07 Pedro Alves <palves@redhat.com>
12258
12259 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12260 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12261 interact with inferior program.
12262
122632015-04-07 Pedro Alves <palves@redhat.com>
12264
12265 * lib/gdb.exp (inferior_spawn_id): New global.
12266 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12267 spawn id after processing the user code.
12268 (default_gdb_start): Set inferior_spawn_id.
12269 (send_inferior): New procedure.
12270 * lib/gdbserver-support.exp (gdbserver_start): Set
12271 inferior_spawn_id.
12272 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12273
122742015-04-07 Pedro Alves <palves@redhat.com>
12275
12276 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12277 * lib/gdbserver-support.exp (gdbserver_start): Make
12278 $server_spawn_id global.
12279 (gdbserver_start): Don't wait for gdbserver's spawn id with
12280 expect_background.
12281 (close_gdbserver): New procedure.
12282 (gdb_exit): Rename the default version and reimplement.
12283
122842015-04-07 Pedro Alves <palves@redhat.com>
12285
12286 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12287 append the substituted item, not the original item.
12288
122892015-04-07 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12292 gdb_expect.
12293
122942015-04-07 Pedro Alves <palves@redhat.com>
12295
12296 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12297 output appearing once only.
12298
122992015-04-07 Pedro Alves <palves@redhat.com>
12300
12301 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12302 that doesn't expect anything. Return early if running to main
12303 fails.
12304
123052015-04-07 Yao Qi <yao.qi@linaro.org>
12306
12307 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12308 (child_function): Call alarm.
12309 (main): Move call to alarm into the loop.
12310 * gdb.threads/non-stop-fair-events.exp: Build program with
12311 -DTIMEOUT=$timeout.
12312
123132015-04-06 Doug Evans <xdje42@gmail.com>
12314
12315 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12316 Fix dest parameter to board_info.
12317 (fpc_compile): Ditto.
12318 (gdb_compile_pascal): Rename dest arg to destfile.
12319
123202015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12321
12322 * gdb.ada/funcall_ref.exp: New file.
12323 * gdb.ada/funcall_ref/foo.adb: New file.
12324
123252015-04-02 Yao Qi <yao.qi@linaro.org>
12326
12327 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12328 is remote.
12329
123302015-04-02 Gary Benson <gbenson@redhat.com>
12331
12332 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12333
123342015-04-01 Sasha Smundak <asmundak@google.com>
12335
12336 * gdb.python/py-unwind-maint.c: New file.
12337 * gdb.python/py-unwind-maint.exp: New test.
12338 * gdb.python/py-unwind-maint.py: New file.
12339 * gdb.python/py-unwind.c: New file.
12340 * gdb.python/py-unwind.exp: New test.
12341 * gdb.python/py-unwind.py: New test.
12342
123432015-04-01 Pedro Alves <palves@redhat.com>
12344
12345 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12346 to fail instead of non-existent $test.
12347
123482015-04-01 Pedro Alves <palves@redhat.com>
12349
12350 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12351 GDBFLAGS if not empty.
12352
123532015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12354
12355 * gdb.ada/complete.exp: Remove "multi_line".
12356 * gdb.ada/info_exc.exp: Remove "multi_line".
12357 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12358 * gdb.ada/ptype_field.exp: Remove "multi_line".
12359 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12360 * gdb.ada/tagged.exp: Remove "multi_line".
12361 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12362 [multi_line ...]
12363 * gdb.btrace/delta.exp: Likewise.
12364 * gdb.btrace/exception.exp: Likewise.
12365 * gdb.btrace/function_call_history.exp: Likewise.
12366 * gdb.btrace/instruction_history.exp: Likewise.
12367 * gdb.btrace/nohist.exp: Likewise.
12368 * gdb.btrace/record_goto.exp: Likewise.
12369 * gdb.btrace/segv.exp: Likewise.
12370 * gdb.btrace/stepi.exp: Likewise.
12371 * gdb.btrace/tailcall.exp: Likewise.
12372 * gdb.btrace/unknown_functions.exp: Likewise.
12373 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12374 * lib/gdb.exp: Add the "multi_line" helper.
12375
123762015-04-01 Pedro Alves <palves@redhat.com>
12377
12378 * gdb.threads/tid-reuse.c: New file.
12379 * gdb.threads/tid-reuse.exp: New file.
12380
123812015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12382
12383 PR corefiles/16092
12384 * gdb.base/coredump-filter.c: New file.
12385 * gdb.base/coredump-filter.exp: Likewise.
12386
123872015-03-27 Petr Machata <pmachata@redhat.com>
12388
12389 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12390 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12391 (Dwarf::assemble): Initialize them.
12392 (Dwarf::lines): New function.
12393
123942015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12395
12396 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12397 SYMBOL_PREFIX for x86_64-*-cygwin.
12398
123992015-03-26 Andy Wingo <wingo@igalia.com>
12400
12401 PR symtab/18148
12402 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12403 const_value but not a location.
12404 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12405 location defined in non-main CUs are visible.
12406
124072015-03-26 Yao Qi <yao.qi@linaro.org>
12408
12409 PR testsuite/18139
12410 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12411 Add a line number entry for the same line.
12412 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12413 Add a line number entry for the same line.
12414
124152015-03-26 Yao Qi <yao.qi@linaro.org>
12416
12417 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12418 .int 0.
12419 (func): Likewise. Add .Lfunc_1 label.
12420 Use .Lfunc_1 label.
12421 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12422 .int 0.
12423 (func): Likewise.
12424 Use .Lfunc_1 label.
12425
124262015-03-26 Yao Qi <yao.qi@linaro.org>
12427
12428 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12429 Call gdb_compile instead to compile each .s files without debug
12430 information.
12431
124322015-03-26 Yao Qi <yao.qi@linaro.org>
12433
12434 * gdb.base/savedregs.exp (process_saved_regs): Make
12435 "Saved registers:" optional in the pattern.
12436
124372015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12438
12439 * gdb.btrace/next.exp: Merged into step.exp.
12440 * gdb.btrace/finish.exp: Merged into step.exp.
12441 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12442 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12443 "record goto" and checking the exact replay position.
12444 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12445 check for "Recording format" in "info record" output.
12446 * gdb.btrace/record_goto.exp: Choose test file based on target.
12447 * gdb.btrace/x86-record_goto.S: Renamed into ...
12448 * gdb.btrace/x86_64-record_goto.S: ... this.
12449 * gdb.btrace/i686-record_goto.S: New.
12450 * gdb.btrace/x86-tailcall.S: Renamed into ...
12451 * gdb.btrace/x86_64-tailcall.S: ... this.
12452 * gdb.btrace/i686-tailcall.S: New.
12453 * gdb.btrace/x86-tailcall.c: Renamed into ...
12454 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12455 separate statements. Update test.
12456 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12457 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12458 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12459 * gdb.btrace/tailcall.exp: Choose test file based on target.
12460 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12461
124622015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12463
12464 * gdb.btrace/exception.exp: Increase BTS buffer size.
12465
124662015-03-24 Pedro Alves <palves@redhat.com>
12467
12468 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12469
124702015-03-24 Pedro Alves <palves@redhat.com>
12471
12472 * gdb.threads/schedlock.exp (test_step): No longer expect that
12473 "set scheduler-locking step" with "next" over a function call runs
12474 threads unlocked.
12475
124762015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12477
12478 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12479
124802015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12481
12482 PR breakpoints/16466
12483 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12484 * gdb.mi/mi-pending.c (thread_func): New function.
12485 (int main): Add threading support required.
12486 * gdb.mi/mi-pending.exp: Add tests for this issue.
12487 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12488 (pendfunc2): Remove stdio dependency.
12489 * gdb.mi/mi-pendshr2.c: New file.
12490
124912015-03-23 Keith Seitz <keiths@redhat.com>
12492
12493 * gdb.linespec/keywords.c: New file.
12494 * gdb.linespec/keywords.exp: New file.
12495
124962015-03-23 Keith Seitz <keiths@redhat.com>
12497
12498 PR gdb/18021
12499 * gdb.dwarf2/staticvirtual.exp: New test.
12500
125012015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12502
12503 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12504 * README: Remove HP-UX and gdb.hp.
12505 (configuration):
12506 * configure: Regenerate.
12507 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12508 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12509 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12510 gdb.hp/gdb.defects/Makefile.
12511 * gdb.hp/Makefile.in: File deleted.
12512 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12513 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12514 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12515 * gdb.hp/gdb.aCC/run.c: File deleted.
12516 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12517 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12518 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12519 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12520 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12521 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12522 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12523 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12524 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12525 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12526 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12527 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12528 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12529 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12530 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12531 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12532 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12533 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12534 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12535 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12536 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12537 * gdb.hp/gdb.compat/average.c: File deleted.
12538 * gdb.hp/gdb.compat/sum.c: File deleted.
12539 * gdb.hp/gdb.compat/xdb.c: File deleted.
12540 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12541 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12542 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12543 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12544 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12545 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12546 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12547 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12548 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12549 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12550 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12551 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12552 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12553 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12554 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12555 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12556 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12557 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12558 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12559 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12560 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12561 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12562 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12563 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12564 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12565 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12566 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12567 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12568 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12569 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12570 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12571 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12572 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12573 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12574 * gdb.hp/tools/odump: File deleted.
12575
125762015-03-19 Pedro Alves <palves@redhat.com>
12577
12578 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12579 (saw_thread_3): New globals.
12580 (top level): Increment them when an event for the corresponding
12581 thread is seen.
12582 (no thread starvation): New test.
12583
125842015-03-19 Pedro Alves <palves@redhat.com>
12585
12586 * gdb.threads/continue-pending-status.c: New file.
12587 * gdb.threads/continue-pending-status.exp: New file.
12588
125892015-03-18 Pedro Alves <palves@redhat.com>
12590
12591 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12592 Use gdb_is_target_remote instead of is_remote. Use
12593 gdb_test_multiple instead of gdb_expect. Exit early if
12594 gdb_test_multiple hits its internal matches. Tighten stepi tests
12595 expected output. Fail on exit with any signal, instead of just
12596 SIGILL.
12597
125982015-03-18 Yao Qi <yao.qi@linaro.org>
12599
12600 PR tdep/18107
12601 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12602 variable.
12603 * gdb.base/catch-syscall.exp: Don't skip it on
12604 aarch64*-*-linux* target. Remove elements in all_syscalls.
12605 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12606 target.
12607 (setup_all_syscalls): New proc.
12608
126092015-03-16 Yao Qi <yao.qi@linaro.org>
12610
12611 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12612 (top level): Skip tests if valid_addr_p returns false for
12613 $cmd1 or $cmd2.
12614
126152015-03-11 Andy Wingo <wingo@igalia.com>
12616
12617 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12618
126192015-03-11 Yao Qi <yao.qi@linaro.org>
12620
12621 * gdb.base/catch-syscall.exp: Fix typo in comments.
12622
126232015-03-11 Yao Qi <yao.qi@linaro.org>
12624
12625 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12626
126272015-03-09 Pedro Alves <palves@redhat.com>
12628
12629 * dg-extract-results.py: Delete.
12630
126312015-03-09 Pedro Alves <palves@redhat.com>
12632
12633 Merge dg-extract-results.sh from GCC upstream (r218843).
12634
12635 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12636 * dg-extract-results.sh: Use --text with grep to avoid issues with
12637 binary files. Fall back to cat -v, if that doesn't work.
12638
126392015-03-05 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12642
126432015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12644
12645 * lib/mi-support.exp (mi_expect_interrupt): Accept
12646 alternative event for when in all-stop mode.
12647
126482015-03-04 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12651
126522015-03-04 Mark Kettenis <kettenis@gnu.org>
12653
12654 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12655
126562015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12657
12658 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12659 regexps for GDB's current line display, accept a hex address
12660 preceding the line number.
12661
126622015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12663
12664 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12665 the 'arch1' variable for "s390*-linux*" targets.
12666
126672015-03-04 Pedro Alves <palves@redhat.com>
12668
12669 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12670 (main): Pass missing retval argument to pthread_join call.
12671
126722015-03-02 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12675 (top level): Call do_test with non-stop as well.
12676
126772015-03-02 Pedro Alves <palves@redhat.com>
12678
12679 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12680 -1.
12681
126822015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12683
12684 * gdb.arch/s390-vregs.exp: New test.
12685 * gdb.arch/s390-vregs.S: New file.
12686
126872015-02-27 Pedro Alves <palves@redhat.com>
12688
12689 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12690 call to catch_command_errors.
12691 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12692 catch_command_errors.
12693
126942015-02-27 Pedro Alves <palves@redhat.com>
12695
12696 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12697 "true" for boolean result.
12698 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12699 prototype of main.
12700
127012015-02-27 Pedro Alves <palves@redhat.com>
12702
12703 * lib/unbuffer_output.c: New file.
12704 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12705 (main): Call gdb_unbuffer_output.
12706
127072015-02-27 Yao Qi <yao.qi@linaro.org>
12708
12709 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12710 target.
12711
127122015-02-26 Doug Evans <dje@google.com>
12713
12714 * gdb.cp/class2.cc (Dbase, D): New classes.
12715 (main): New local delta.
12716 * gdb.cp/class2.exp: Test printing delta.
12717 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12718 (dynbar): New global.
12719 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12720
127212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12722
12723 * gdb.compile/compile-ifunc.c: New file.
12724 * gdb.compile/compile-ifunc.exp: New file.
12725
127262015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12727
12728 * gdb.base/structs.exp: Check for correct struct on finish.
12729
127302015-02-26 Yao Qi <yao.qi@linaro.org>
12731
12732 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12733 is zero.
12734
127352015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12736
12737 * gdb.arch/cordic.ko.bz2: New file.
12738 * gdb.arch/cordic.ko.debug.bz2: New file.
12739 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12740
127412015-02-25 Yao Qi <yao.qi@linaro.org>
12742
12743 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12744 aarch64*-*-* target.
12745
127462015-02-23 Pedro Alves <palves@redhat.com>
12747
12748 * lib/gdb.exp (delete_breakpoints): Rewrite using
12749 gdb_test_multiple.
12750
127512015-02-23 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.base/info-os.c: Include stdlib.h.
12754
127552015-02-22 Doug Evans <xdje42@gmail.com>
12756
12757 PR symtab/17855
12758 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12759 is read after symbols have been re-read.
12760 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12761 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12762
127632015-02-21 Doug Evans <dje@google.com>
12764
12765 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12766
127672015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12768
12769 PR corefiles/17808
12770 * gdb.arch/i386-biarch-core.core.bz2: New file.
12771 * gdb.arch/i386-biarch-core.exp: New file.
12772
127732015-02-21 Pedro Alves <palves@redhat.com>
12774
12775 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12776 runto_main fails.
12777
127782015-02-20 Pedro Alves <palves@redhat.com>
12779
12780 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12781 info probes.
12782
127832015-02-20 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12786
127872015-02-20 Pedro Alves <palves@redhat.com>
12788
12789 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12790 clean_restart before gdb_target_supports_trace.
12791
127922015-02-20 Pedro Alves <palves@redhat.com>
12793
12794 PR threads/18006
12795 * gdb.threads/clone-thread_db.c: New file.
12796 * gdb.threads/clone-thread_db.exp: New file.
12797
127982015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12799
12800 PR breakpoints/16812
12801 * gdb.base/catch-gdb-caused-signals.c: New file.
12802 * gdb.base/catch-gdb-caused-signals.exp: New file.
12803
128042015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12805
12806 * configure: Regenerated.
12807 * configure.ac: Use GDB_AC_TRANSFORM.
12808 * aclocal.m4: sinclude ../transform.m4.
12809
128102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12811
12812 * lib/dtrace.exp: New file.
12813 * gdb.base/dtrace-probe.exp: Likewise.
12814 * gdb.base/dtrace-probe.d: Likewise.
12815 * gdb.base/dtrace-probe.c: Likewise.
12816 * lib/pdtrace.in: Likewise.
12817 * configure.ac: Output variables with the transformed names of
12818 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12819 * configure: Regenerated.
12820
128212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12822
12823 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12824 expected message when trying to access $_probe_* convenience
12825 variables while not on a probe.
12826
128272015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12828
12829 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12830
128312015-02-11 Pedro Alves <pedro@codesourcery.com>
12832
12833 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12834 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12835
128362015-02-10 Doug Evans <xdje42@gmail.com>
12837
12838 * lib/gdb.exp (gdb_load): Always return a result.
12839
128402015-02-10 Pedro Alves <palves@redhat.com>
12841
12842 * gdb.threads/signal-sigtrap.c: New file.
12843 * gdb.threads/signal-sigtrap.exp: New file.
12844
128452015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12846
12847 * gdb.trace/no-attach-trace.c: New file.
12848 * gdb.trace/no-attach-trace.exp: New file.
12849
128502015-02-09 Mark Wielaard <mjw@redhat.com>
12851
12852 * gdb.dwarf2/atomic.c: New file.
12853 * gdb.dwarf2/atomic-type.exp: Likewise.
12854
128552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12856
12857 * gdb.btrace/buffer-size.exp: Update "info record" output.
12858 * gdb.btrace/delta.exp: Update "info record" output.
12859 * gdb.btrace/enable.exp: Update "info record" output.
12860 * gdb.btrace/finish.exp: Update "info record" output.
12861 * gdb.btrace/instruction_history.exp: Update "info record" output.
12862 * gdb.btrace/next.exp: Update "info record" output.
12863 * gdb.btrace/nexti.exp: Update "info record" output.
12864 * gdb.btrace/step.exp: Update "info record" output.
12865 * gdb.btrace/stepi.exp: Update "info record" output.
12866 * gdb.btrace/nohist.exp: Update "info record" output.
12867
128682015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12869
12870 * gdb.btrace/buffer-size: New.
12871
128722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12873
12874 * gdb.btrace/delta.exp: Update "info record" output.
12875 * gdb.btrace/enable.exp: Update "info record" output.
12876 * gdb.btrace/finish.exp: Update "info record" output.
12877 * gdb.btrace/instruction_history.exp: Update "info record" output.
12878 * gdb.btrace/next.exp: Update "info record" output.
12879 * gdb.btrace/nexti.exp: Update "info record" output.
12880 * gdb.btrace/step.exp: Update "info record" output.
12881 * gdb.btrace/stepi.exp: Update "info record" output.
12882 * gdb.btrace/nohist.exp: Update "info record" output.
12883
128842015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12885
12886 PR gdb/15678
12887 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12888
128892015-02-06 Pedro Alves <palves@redhat.com>
12890
12891 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12892 macro.
12893 (seconds_left, again): New globals.
12894 (main): Wait seconds_left in a 1-second sleep loop instead of
12895 sleeping 180 seconds. If 'again' is set, reset the seconds
12896 counter.
12897 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12898 'again' in the inferior before detaching. Print the seconds left.
12899 (options): New global.
12900 (top level): Build program with -DTIMEOUT=$timeout.
12901
129022015-02-06 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12905 determine how many seconds to pass to 'alarm'.
12906 * gdb.base/gdb-sigterm.exp (top level): Build program with
12907 -DTIMEOUT=$timeout.
12908 (do_test): Return success/failure indication. Add more verbose
12909 logging. Don't fail if 200 single steps are seen. Instead, fail
12910 when the test times out.
12911 (passes): New global.
12912 (top level): Break the testing loop if testing fails on any
12913 iteration. Use gdb_assert.
12914
129152015-02-04 Don Breazeal <donb@codesourcery.com>
12916
12917 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12918 and initialize them.
12919 (ipc_cleanup): New function.
12920 (main): Don't declare shmid, semid, and msqid. Add a call to
12921 atexit so that we call ipc_cleanup on exit.
12922
129232015-02-04 Pedro Alves <palves@redhat.com>
12924
12925 * boards/native-extended-gdbserver.exp: Remove any target variant
12926 specifications from the board name before clearing the isremote
12927 flag from board_info.
12928
129292015-01-31 Doug Evans <xdje42@gmail.com>
12930
12931 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12932
129332015-01-31 Gary Benson <gbenson@redhat.com>
12934
12935 * gdb.base/completion.exp: Disable completion limiting for
12936 existing tests. Add new tests to check completion limiting.
12937 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12938
129392015-01-31 Doug Evans <xdje42@gmail.com>
12940
12941 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12942
129432015-01-31 Doug Evans <xdje42@gmail.com>
12944
12945 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12946 entries. Duplicate file section script entries.
12947 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12948 inlined entries. Add test for safe-path rejection.
12949 * gdb.python/py-section-script.c: Add duplicate inlined section script
12950 entries. Duplicate file section script entries.
12951 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12952 inlined entries. Add test for safe-path rejection.
12953
129542015-01-29 Joel Brobecker <brobecker@adacore.com>
12955
12956 * gdb.ada/disc_arr_bound: New testcase.
12957
129582015-01-29 Joel Brobecker <brobecker@adacore.com>
12959
12960 * gdb.ada/mi_var_array: New testcase.
12961
129622015-01-27 Doug Evans <dje@google.com>
12963
12964 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12965 Add test for objfile.filename, objfile.username after objfile
12966 has been unloaded.
12967
129682015-01-26 Joel Brobecker <brobecker@adacore.com>
12969
12970 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12971 the second test to print the name attribute of value
12972 returned by the call to gdb.lookup_type, and adjust
12973 the expected output accordingly.
12974
129752015-01-25 Mark Wielaard <mjw@redhat.com>
12976
12977 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12978 * gdb.base/disp-step-fork.c: Include unistd.h.
12979 * gdb.base/siginfo-obj.c: Include stdio.h.
12980 * gdb.base/siginfo-thread.c: Likewise.
12981 * gdb.mi/non-stop.c: Include unistd.h.
12982 * gdb.mi/nsthrexec.c: Include stdio.h.
12983 * gdb.mi/pthreads.c: Include unistd.h.
12984 * gdb.modula2/unbounded1.c (main): Declare returns int.
12985 * gdb.reverse/consecutive-reverse.c: Likewise.
12986 * gdb.threads/create-fail.c: Include unistd.h.
12987 * gdb.threads/killed.c: Likewise.
12988 * gdb.threads/linux-dp.c: Likewise.
12989 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12990 * gdb.threads/non-ldr-exc-2.c: Likewise.
12991 * gdb.threads/non-ldr-exc-3.c: Likewise.
12992 * gdb.threads/non-ldr-exc-4.c: Likewise.
12993 * gdb.threads/pthreads.c: Include unistd.h.
12994 (main): Declare returns int.
12995 * gdb.threads/tls-main.c (foo): New declaration.
12996 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12997
129982015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12999
13000 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13001 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13002
130032015-01-15 Mark Wielaard <mjw@redhat.com>
13004
13005 * gdb.base/noreturn-return.c: New file.
13006 * gdb.base/noreturn-return.exp: New file.
13007 * gdb.base/noreturn-finish.c: New file.
13008 * gdb.base/noreturn-finish.exp: New file.
13009
130102015-01-23 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.threads/continue-pending-after-query.c: New file.
13013 * gdb.threads/continue-pending-after-query.exp: New file.
13014
130152015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13016 Simon Marchi <simon.marchi@ericsson.com>
13017
13018 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13019 * gdb.base/valgrind-db-attach.exp: Same.
13020 * gdb.base/valgrind-infcall.exp: Same.
13021 * lib/mi-support.exp (default_mi_gdb_start): Same.
13022 * lib/prompt.exp (default_prompt_gdb_start): Same.
13023 * lib/gdb.exp (default_gdb_spawn): Same.
13024 (gdb_interact): New.
13025
13026
130272015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13028
13029 * gdb.compile/compile.exp (pointer to jit function): New test.
13030
130312015-01-17 Wei-cheng Wang <cole945@gmail.com>
13032
13033 * lib/gdb.exp (supports_process_record): Return true for
13034 powerpc*-*-linux*.
13035 (supports_reverse): Likewise.
13036
130372015-01-15 Don Breazeal <donb@codesourcery.com>
13038
13039 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13040 instead of checking whether the target board is remote and
13041 use spawn_wait_for_attach instead of exec/sleep.
13042 * gdb.base/attach-twice.exp: Likewise.
13043
130442015-01-15 Joel Brobecker <brobecker@adacore.com>
13045
13046 * gdb.ada/var_arr_attrs: New testcase.
13047
130482015-01-14 Pedro Alves <palves@redhat.com>
13049 Joel Brobecker <brobecker@adacore.com>
13050
13051 PR gdb/17525
13052 * gdb.base/bp-cmds-execution-x-script.c: New file.
13053 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13054 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13055
130562015-01-14 Pedro Alves <palves@redhat.com>
13057
13058 PR cli/17828
13059 * gdb.base/batch-preserve-term-settings.c: New file.
13060 * gdb.base/batch-preserve-term-settings.exp: New file.
13061
130622015-01-13 Doug Evans <dje@google.com>
13063
13064 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13065 binary.
13066
130672015-01-13 Joel Brobecker <brobecker@adacore.com>
13068
13069 * Makefile.in (clean mostlyclean): Do not delete *.py.
13070
130712015-01-13 Joel Brobecker <brobecker@adacore.com>
13072
13073 * gdb.python/py-lookup-type.exp: New file.
13074
130752015-01-12 Pedro Alves <palves@redhat.com>
13076
13077 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13078 restore GDBFLAGS before returning.
13079
130802015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13081
13082 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13083 is_amd64_regs_target and is_x86_like_target.
13084
130852015-01-11 Doug Evans <xdje42@gmail.com>
13086
13087 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13088 is given without an explicit form.
13089 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13090 attributes.
13091 * gdb.dwarf/corrupt.exp: Ditto.
13092 * gdb.dwarf2/enum-type.exp: Ditto.
13093 * gdb.trace/entry-values.exp: Ditto.
13094 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13095
130962015-01-11 Doug Evans <xdje42@gmail.com>
13097
13098 PR gdb/15830
13099 * gdb.base/maint.exp: Remove references to "maint demangle".
13100 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13101 Add tests for explicitly specifying language to demangle.
13102 * gdb.dlang/demangle.exp: Ditto.
13103
131042015-01-09 Pedro Alves <palves@redhat.com>
13105
13106 * gdb.threads/non-stop-fair-events.c: New file.
13107 * gdb.threads/non-stop-fair-events.exp: New file.
13108
131092015-01-09 Pedro Alves <palves@redhat.com>
13110
13111 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13112 the global scope. Set a breakpoint after all threads are started
13113 rather than stepping over two source lines. Expect the prompt.
13114 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13115 global.
13116 (NUM): Now 15.
13117 (main): Use threads_started_barrier to wait for all threads to
13118 start. Main thread no longer calls thread_function. Exit after
13119 180 seconds.
13120 (loop): New function.
13121 (thread_function): Wait on threads_started_barrier barrier. Call
13122 'loop' at each iteration.
13123 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13124 threads have started, instead of hardcoding number of "next"
13125 steps. Use an access watchpoint instead of a write watchpoint.
13126
131272015-01-09 Pedro Alves <palves@redhat.com>
13128
13129 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13130 (thread_func): Wait on barrier.
13131 (main): Wait for all threads to start before stopping GDB.
13132 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13133 global.
13134 (thread1_func, thread2_func): Wait on barrier.
13135 (main): Wait for all threads to start before stopping GDB.
13136 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13137 New global.
13138 (thread1_func, thread2_func): Wait on barrier.
13139 (main): Wait for all threads to start before stopping GDB.
13140
131412015-01-09 Pedro Alves <palves@redhat.com>
13142
13143 * gdb.threads/attach-many-short-lived-threads.c: New file.
13144 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13145
131462014-01-09 Pedro Alves <palves@redhat.com>
13147
13148 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13149 instead of to thread 2.
13150 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13151 Add barrier around each pthread_create call instead of around all
13152 calls.
13153 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13154 Set a break on thread_function and have the child threads hit it
13155 one at at a time.
13156
131572015-01-09 Pedro Alves <palves@redhat.com>
13158
13159 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13160 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13161 false.
13162 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13163 checking whether the target board is remote.
13164 * gdb.multi/multi-attach.exp: Likewise.
13165 * gdb.python/py-sync-interp.exp: Likewise.
13166 * gdb.server/ext-attach.exp: Likewise.
13167 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13168 tests that need to attach, instead of checking whether the target
13169 board is remote at the top of the file.
13170
131712015-01-08 Yao Qi <yao@codesourcery.com>
13172
13173 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13174
131752015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 Fix testcase compilation.
13178 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13179
131802015-01-06 Joel Brobecker <brobecker@adacore.com>
13181
13182 * gdb.python/py-type.exp: Add a couple test about empty
13183 array creation, and negative-length array creation.
13184
131852015-01-02 Doug Evans <xdje42@gmail.com>
13186
13187 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13188
131892015-01-02 Doug Evans <dje@google.com>
13190
13191 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13192
131932014-12-29 Yao Qi <yao@codesourcery.com>
13194
13195 * gdb.trace/entry-values.exp: Update comments. Rename variable
13196 bar_call_foo to returned_from_foo.
13197
131982014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13199
13200 PR gdb/17394
13201 * gdb.linespec/break-asm-file.c: New file.
13202 * gdb.linespec/break-asm-file.exp: New file.
13203 * gdb.linespec/break-asm-file0.s: New file.
13204 * gdb.linespec/break-asm-file1.s: New file.
13205
132062014-12-18 Nigel Stephens <nigel@mips.com>
13207 Maciej W. Rozycki <macro@codesourcery.com>
13208
13209 * gdb.base/float.exp: Handle the new output from "info float" on
13210 MIPS targets.
13211
132122014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13213
13214 Fix MinGW compilation.
13215 * gdb.compile/compile-ops.exp: Update untested message if
13216 !skip_compile_feature_tests.
13217 * gdb.compile/compile-setjmp.exp: Likewise.
13218 * gdb.compile/compile-tls.exp: Likewise.
13219 * gdb.compile/compile.exp: Likewise.
13220 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13221 supported on this host".
13222
132232014-12-16 Doug Evans <xdje42@gmail.com>
13224
13225 * boards/stabs.exp: New file.
13226
132272014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13228
13229 * gdb.base/completion.exp: Adjust to format changes of "maint
13230 print user-registers".
13231
132322014-12-16 Catalin Udma <catalin.udma@freescale.com>
13233
13234 PR server/17457
13235 * gdb.arch/aarch64-fp.c: New file.
13236 * gdb.arch/aarch64-fp.exp: New file.
13237
132382014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13239
13240 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13241 r210637, r210913, r211666, r215400, r215817).
13242
13243 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13244 * dg-extract-results.py: New file.
13245 * dg-extract-results.sh: Use it if the environment seems
13246 suitable.
13247
13248 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13249
13250 * dg-extract-results.py (parse_run): Handle warnings that
13251 are printed before a test harness is run.
13252
13253 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13254
13255 * dg-extract-results.py (Named): Remove __cmp__ method.
13256 (output_variation): Use a key to sort variation.harnesses.
13257
13258 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13259
13260 * dg-extract-results.py: For Python 3, force sys.stdout to
13261 handle surrogate escape sequences.
13262 (safe_open): New function.
13263 (output_segment, main): Use it.
13264
13265 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13266
13267 * dg-extract-results.py (Prog.result_re): Include options
13268 in test name.
13269
13270 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13271
13272 * dg-extract-results.py (output_variation): Always sort if
13273 do_sum.
13274
132752014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13276
13277 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13278 as long as we get pagination notifications.
13279
132802014-12-15 Jason Merrill <jason@redhat.com>
13281
13282 * Makefile.in (check-gdb.%): Restore.
13283 * README: Mention it.
13284
132852014-12-13 Joel Brobecker <brobecker@adacore.com>
13286
13287 * gdb.ada/str_uninit: New testcase.
13288
132892014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13290
13291 PR symtab/17642
13292 * gdb.base/vla-stub-define.c: New file.
13293 * gdb.base/vla-stub.c: New file.
13294 * gdb.base/vla-stub.exp: New file.
13295
132962014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13297 Jan Kratochvil <jan.kratochvil@redhat.com>
13298 Tom Tromey <tromey@redhat.com>
13299
13300 * configure.ac: Add gdb.compile/.
13301 * configure: Regenerate.
13302 * gdb.compile/Makefile.in: New file.
13303 * gdb.compile/compile-ops.exp: New file.
13304 * gdb.compile/compile-ops.c: New file.
13305 * gdb.compile/compile-tls.c: New file.
13306 * gdb.compile/compile-tls.exp: New file.
13307 * gdb.compile/compile-constvar.S: New file.
13308 * gdb.compile/compile-constvar.c: New file.
13309 * gdb.compile/compile-mod.c: New file.
13310 * gdb.compile/compile-nodebug.c: New file.
13311 * gdb.compile/compile-setjmp-mod.c: New file.
13312 * gdb.compile/compile-setjmp.c: New file.
13313 * gdb.compile/compile-setjmp.exp: New file.
13314 * gdb.compile/compile-shlib.c: New file.
13315 * gdb.compile/compile.c: New file.
13316 * gdb.compile/compile.exp: New file.
13317 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13318
133192014-12-12 Tom Tromey <tromey@redhat.com>
13320
13321 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13322 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13323
133242014-12-12 Doug Evans <dje@google.com>
13325
13326 * lib/gdb-python.exp (get_python_valueof): New function.
13327 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13328
133292014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13330
13331 * gdb.base/completion.exp: Add test for completion of "info
13332 registers ".
13333
133342014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13335
13336 * gdb.base/func-ptrs.c: New file.
13337 * gdb.base/func-ptrs.exp: New file.
13338
133392014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13340
13341 PR breakpoints/17012
13342 * gdb.base/dprintf-detach.c: New file.
13343 * gdb.base/dprintf-detach.exp: New file.
13344
133452014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13346
13347 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13348 * lib/gdb.exp (target_is_gdbserver): New procedure.
13349
133502014-12-08 Doug Evans <dje@google.com>
13351
13352 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13353
133542014-12-05 Yao Qi <yao@codesourcery.com>
13355
13356 * gdb.guile/scm-error.exp: Remove the third argument to
13357 gdb_remote_download.
13358 * gdb.guile/scm-frame-args.exp: Likewise.
13359 * gdb.guile/scm-section-script.exp: Likewise.
13360
133612014-12-05 Yao Qi <yao@codesourcery.com>
13362
13363 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13364
133652014-12-04 Doug Evans <dje@google.com>
13366
13367 * gdb.python/py-objfile.exp: Add tests for
13368 objfile.add_separate_debug_file.
13369
133702014-12-04 Doug Evans <dje@google.com>
13371
13372 * lib/gdb.exp (get_build_id): New function.
13373 (build_id_debug_filename_get): Rewrite to use it.
13374 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13375
133762014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13377
13378 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13379 `method(long)', not just 0x0.
13380 * gdb.cp/nsalias.exp: Align code labels to 4.
13381 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13382 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13383 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13384 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13385 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13386 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13387
133882014-12-02 Doug Evans <dje@google.com>
13389
13390 PR symtab/17602
13391 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13392 * gdb.cp/anon-ns2.cc: ... here. New file.
13393 * gdb.cp/anon-ns.exp: Update.
13394
133952014-12-02 Nick Bull <nicholaspbull@gmail.com>
13396
13397 * gdb.python/py-events.py (inferior_call_handler): New.
13398 (register_changed_handler, memory_changed_handler): New.
13399 (test_events.invoke): Register new handlers.
13400 * gdb.python/py-events.exp: Add tests for inferior call,
13401 memory_changed and register_changed events.
13402
134032014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13404
13405 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13406 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13407 if the linker doesn't understand this.
13408
134092014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13410
13411 * gdb.python/python.exp: Change expected reply to help().
13412
134132014-12-01 Yao Qi <yao@codesourcery.com>
13414
13415 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13416 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13417 * configure: Re-generated.
13418
134192014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13420
13421 * gdb.cp/chained-calls.cc: New file.
13422 * gdb.cp/chained-calls.exp: New file.
13423 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13424
134252014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13426
13427 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13428 * gdb.dwarf2/symtab-producer.exp: Same.
13429 * gdb.gdb/python-interrupts.exp: Same.
13430 * gdb.gdb/python-selftest.exp: Same.
13431 * gdb.python/py-linetable.exp: Same.
13432 * gdb.python/py-type.exp: Same.
13433 * gdb.python/py-value-cc.exp: Same.
13434 * gdb.python/py-value.exp: Same.
13435
134362014-11-28 Yao Qi <yao@codesourcery.com>
13437
13438 * gdb.base/break-probes.exp: Match library name prefixed with
13439 sysroot.
13440
134412014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13442
13443 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13444 test expected output. Add parentheses for the call to print.
13445 Remove L suffix from integers.
13446
134472014-11-26 Doug Evans <dje@google.com>
13448
13449 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13450
134512014-11-22 Yao Qi <yao@codesourcery.com>
13452
13453 * gdb.trace/entry-values.c: Remove asms.
13454 (foo): Add foo_label.
13455 (bar): Add bar_label.
13456 * gdb.trace/entry-values.exp: Remove code computing foo's
13457 length and bar's length.
13458 (Dwarf::assemble): Invoke function_range for bar and use
13459 MACRO_AT_func for foo.
13460
134612014-11-22 Yao Qi <yao@codesourcery.com>
13462
13463 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13464 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13465 Use .Lgcc43_procstart instead of gcc43.
13466
134672014-11-21 Joel Brobecker <brobecker@adacore.com>
13468
13469 * gdb.ada/n_arr_bound: New testcase.
13470
134712014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13472
13473 PR breakpoints/10737
13474 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13475 test_catch_syscall_multi_arch.
13476 (test_catch_syscall_multi_arch): New function.
13477
134782014-11-20 Doug Evans <xdje42@gmail.com>
13479
13480 * gdb.base/maint.exp: Update expected output.
13481
134822014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13483
13484 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13485 4-byte instruction on S390.
13486
134872014-11-19 Joel Brobecker <brobecker@adacore.com>
13488
13489 * gdb.ada/arr_arr: New testcase.
13490
134912014-11-19 Joel Brobecker <brobecker@adacore.com>
13492
13493 * gdb.ada/pkd_arr_elem: New Testcase.
13494
134952014-11-18 Luis Machado <lgustavo@codesourcery.com>
13496
13497 * gdb.reverse/break-precsave: Expect completion message for
13498 core file reads.
13499 * gdb.reverse/consecutive-precsave.exp: Likewise.
13500 * gdb.reverse/finish-precsave.exp: Likewise.
13501 * gdb.reverse/i386-precsave.exp: Likewise.
13502 * gdb.reverse/machinestate-precsave.exp: Likewise.
13503 * gdb.reverse/sigall-precsave.exp: Likewise.
13504 * gdb.reverse/solib-precsave.exp: Likewise.
13505 * gdb.reverse/step-precsave.exp: Likewise.
13506 * gdb.reverse/until-precsave.exp: Likewise.
13507 * gdb.reverse/watch-precsave.exp: Likewise.
13508
135092014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13510
13511 * gdb.base/bp-permanent.c: Include unistd.h.
13512 * gdb.python/py-framefilter-mi.c (main): Add return type.
13513 * gdb.python/py-framefilter.c (main): Likewise.
13514 * gdb.trace/actions-changed.c (main): Likewise.
13515
135162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13517
13518 * gdb.mi/until.c: Add eye-catchers.
13519 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13520 line numbers.
13521
135222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13523
13524 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13525 function header variants in break1.c.
13526 * gdb.base/ena-dis-br.exp: Likewise.
13527 * gdb.base/hbreak2.exp: Likewise.
13528 * gdb.reverse/until-precsave.exp: Drop references to removed
13529 non-prototype function header variants in ur1.c.
13530 * gdb.reverse/until-reverse.exp: Likewise.
13531
135322014-11-17 Petr Machata <pmachata@redhat.com>
13533
13534 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13535 ${_cu_offset_size} bytes abbrev offset.
13536
135372014-11-15 Doug Evans <xdje42@gmail.com>
13538
13539 PR symtab/17559
13540 * gdb.base/line-symtabs.exp: New file.
13541 * gdb.base/line-symtabs.c: New file.
13542 * gdb.base/line-symtabs.h: New file.
13543
135442014-11-14 Yao Qi <yao@codesourcery.com>
13545
13546 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13547 (func): Add label func_label.
13548 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13549 Replace low_pc and high_pc with MACRO_AT_range.
13550 Replace name, low_pc and high_pc with MACRO_AT_func.
13551
135522014-11-14 Yao Qi <yao@codesourcery.com>
13553
13554 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13555 Replace name, low_pc and high_pc with MACRO_AT_func.
13556
135572014-11-14 Yao Qi <yao@codesourcery.com>
13558
13559 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13560 produce debug information.
13561 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13562
135632014-11-14 Yao Qi <yao@codesourcery.com>
13564
13565 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13566 object and get function length.
13567 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13568 with MACRO_AT_func.
13569 (top-level): Replace gdb_compile and clean_restart with
13570 prepare_for_testing.
13571 * gdb.dwarf2/main.c (main): Add label main_label.
13572
135732014-11-14 Yao Qi <yao@codesourcery.com>
13574
13575 * lib/dwarf.exp (function_range): New procedure.
13576 (Dwarf::_handle_macro_at_func): New procedure.
13577 (Dwarf::_handle_macro_at_range): New procedure.
13578 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13579
135802014-11-14 Yao Qi <yao@codesourcery.com>
13581
13582 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13583 (_handle_attribute): New procedure.
13584
135852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13586
13587 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13588 * gdb.base/call-sc.c (zed): Likewise.
13589 * gdb.base/checkpoint.c (main): Likewise.
13590 * gdb.base/dump.c (main): Likewise.
13591 * gdb.base/gcore.c (main): Likewise.
13592 * gdb.base/huge.c (main): Likewise.
13593 * gdb.base/multi-forks.c (main): Likewise.
13594 * gdb.base/pr10179-a.c (main): Likewise.
13595 * gdb.base/savedregs.c (main): Likewise.
13596 * gdb.base/sigaltstack.c (main): Likewise.
13597 * gdb.base/siginfo.c (main): Likewise.
13598 * gdb.base/structs.c (zed): Likewise.
13599 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13600 * gdb.mi/mi-syn-frame.c (main): Likewise.
13601 * gdb.mi/until.c (foo, main): Likewise.
13602 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13603 * gdb.base/solib-weak.c (foo): Declare.
13604 * gdb.base/attach-twice.c: Include stdio.h.
13605 * gdb.base/weaklib1.c: Likewise.
13606 * gdb.base/weaklib2.c: Likewise.
13607 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13608 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13609 unistd.h.
13610 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13611 * gdb.mi/mi-exit-code.c: Likewise.
13612 * gdb.base/break-interp-lib.c: Include string.h.
13613 * gdb.base/coremaker.c: Likewise.
13614 * gdb.base/testenv.c: Likewise.
13615 * gdb.python/py-finish-breakpoint.c: Likewise.
13616 * gdb.base/inferior-died.c: Include sys/wait.h.
13617 * gdb.base/fileio.c: Include time.h.
13618 * gdb.base/async-shell.c: Include unistd.h.
13619 * gdb.base/dprintf-non-stop.c: Likewise.
13620 * gdb.base/info-os.c: Likewise.
13621 * gdb.mi/mi-console.c: Likewise.
13622 * gdb.mi/watch-nonstop.c: Likewise.
13623 * gdb.python/py-events.c: Likewise.
13624 * gdb.base/async.c (baz): Move up before its invocation.
13625 * gdb.base/code_elim2.c (my_global_func): Likewise.
13626 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13627 * gdb.base/advance.c (func2): Likewise.
13628
136292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13630
13631 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13632 variant.
13633 * gdb.base/annota3.c: Likewise.
13634 * gdb.base/async.c: Likewise.
13635 * gdb.base/average.c: Likewise.
13636 * gdb.base/call-ar-st.c: Likewise.
13637 * gdb.base/call-rt-st.c: Likewise.
13638 * gdb.base/call-sc.c: Likewise.
13639 * gdb.base/call-strs.c: Likewise.
13640 * gdb.base/ending-run.c: Likewise.
13641 * gdb.base/execd-prog.c: Likewise.
13642 * gdb.base/exprs.c: Likewise.
13643 * gdb.base/foll-exec.c: Likewise.
13644 * gdb.base/foll-fork.c: Likewise.
13645 * gdb.base/foll-vfork.c: Likewise.
13646 * gdb.base/funcargs.c: Likewise.
13647 * gdb.base/gcore.c: Likewise.
13648 * gdb.base/jump.c: Likewise.
13649 * gdb.base/langs0.c: Likewise.
13650 * gdb.base/langs1.c: Likewise.
13651 * gdb.base/langs2.c: Likewise.
13652 * gdb.base/mips_pro.c: Likewise.
13653 * gdb.base/nodebug.c: Likewise.
13654 * gdb.base/opaque0.c: Likewise.
13655 * gdb.base/opaque1.c: Likewise.
13656 * gdb.base/recurse.c: Likewise.
13657 * gdb.base/run.c: Likewise.
13658 * gdb.base/scope0.c: Likewise.
13659 * gdb.base/scope1.c: Likewise.
13660 * gdb.base/setshow.c: Likewise.
13661 * gdb.base/setvar.c: Likewise.
13662 * gdb.base/shmain.c: Likewise.
13663 * gdb.base/shr1.c: Likewise.
13664 * gdb.base/shr2.c: Likewise.
13665 * gdb.base/sigall.c: Likewise.
13666 * gdb.base/signals.c: Likewise.
13667 * gdb.base/so-indr-cl.c: Likewise.
13668 * gdb.base/solib2.c: Likewise.
13669 * gdb.base/structs.c: Likewise.
13670 * gdb.base/sum.c: Likewise.
13671 * gdb.base/vforked-prog.c: Likewise.
13672 * gdb.base/watchpoint.c: Likewise.
13673 * gdb.reverse/shr2.c: Likewise.
13674 * gdb.reverse/until-reverse.c: Likewise.
13675 * gdb.reverse/ur1.c: Likewise.
13676 * gdb.reverse/watch-reverse.c: Likewise.
13677
136782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13679
13680 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13681 variant.
13682 * gdb.base/sepdebug.exp: Drop references to removed code.
13683
136842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13685
13686 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13687 variant. Preserve original line numbering.
13688 * gdb.base/list1.c: Likewise.
13689
136902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13691
13692 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13693 variant.
13694 * gdb.base/break1.c: Likewise.
13695 * gdb.base/break.exp: Drop references to removed code.
13696
136972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13698
13699 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13700 variant.
13701
137022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13703
13704 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13705
137062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13707
13708 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13709 logic into perform_all_tests() and invoke it with and without
13710 function header prototypes.
13711 (do_function_calls): Remove conditional XFAIL for PR 5318.
13712 (rerun_and_prepare): Remove duplicate code.
13713 (perform_all_tests): New. Main logic moved here.
13714
137152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13716
13717 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13718 code guarded by #ifdef NO_PROTOTYPES.
13719 (t_double_many_args): Likewise.
13720 (DEF_FUNC_MANY_ARGS_1): Likewise.
13721 (DEF_FUNC_VALUES_1): Likewise.
13722 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13723 guarded by #ifdef PROTOTYPES.
13724
137252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13726
13727 * gdb.mi/mi-console.c: Add eye-catcher.
13728 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13729 instead of literal line number.
13730
137312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13732
13733 * gdb.base/shr2.c: Add eye-catcher.
13734 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13735 line number.
13736
137372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13738
13739 * gdb.base/jump.c: Add eye-catchers.
13740 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13741 numbers.
13742
137432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13744
13745 * gdb.base/execd-prog.c: Add eye-catchers.
13746 * gdb.base/foll-exec.c: Likewise.
13747 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13748 line numbers.
13749
137502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13751
13752 * gdb.base/ending-run.c: Add eye-catchers.
13753 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13754 literal line numbers.
13755
137562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13757
13758 * gdb.base/call-rt-st.c: Add eye-catchers.
13759 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13760 literal line numbers.
13761
137622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13763
13764 * gdb.base/call-ar-st.c: Add eye-catchers.
13765 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13766 literal line numbers.
13767
137682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13769
13770 * gdb.base/average.c: Add eye-catchers.
13771 * gdb.base/sum.c: Likewise.
13772 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13773 regexps dynamically.
13774
137752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13776
13777 * gdb.base/solib1.c: Add eye-catchers.
13778 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13779 literal line numbers.
13780
137812014-11-12 Pedro Alves <palves@redhat.com>
13782
13783 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13784 leader has exited.
13785
137862014-11-12 Pedro Alves <palves@redhat.com>
13787
13788 * gdb.arch/i386-bp_permanent.c: New file.
13789 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13790 (srcfile): Set to i386-bp_permanent.c.
13791 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13792 that stepi does not execute the 'leave' instruction, instead of
13793 testing it does execute.
13794 * gdb.base/bp-permanent.c: New file.
13795 * gdb.base/bp-permanent.exp: New file.
13796
137972014-11-10 Doug Evans <xdje42@gmail.com>
13798
13799 PR symtab/17564
13800 * gdb.base/symtab-search-order.exp: New file.
13801 * gdb.base/symtab-search-order.c: New file.
13802 * gdb.base/symtab-search-order-1.c: New file.
13803 * gdb.base/symtab-search-order-shlib-1.c: New file.
13804
138052014-11-07 Pedro Alves <palves@redhat.com>
13806
13807 PR gdb/17511
13808 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13809 i?86-*-linux*.
13810
138112014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13812
13813 PR c++/17494
13814 * gdb.cp/pr17494.cc: New file.
13815 * gdb.cp/pr17494.exp: New file.
13816
138172014-11-02 Yao Qi <yao@codesourcery.com>
13818
13819 * gdb.python/python.exp: Get working directory and match the
13820 output of "set extended-prompt \\w " with it.
13821
138222014-10-30 Doug Evans <dje@google.com>
13823
13824 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13825 in objfiles.
13826 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13827 in progspaces.
13828
138292014-10-30 Janis Johnson <janisjo@codesourcery.com>
13830
13831 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13832 * gdb.base/realname-expand.exp: Likewise.
13833 * gdb.linespec/macro-relative.exp: Likewise.
13834
138352014-10-29 Pedro Alves <palves@redhat.com>
13836
13837 PR gdb/17408
13838 * gdb.threads/schedlock.c (some_function): New function.
13839 (call_function): New global.
13840 (MAYBE_CALL_SOME_FUNCTION): New macro.
13841 (thread_function): Call it.
13842 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13843 and use it instead of a global counter. Adjust all callers.
13844 (get_current_thread): Use "find current thread" for test message
13845 here rather than having all callers pass down the same string.
13846 (goto_loop): New procedure, factored out from ...
13847 (my_continue): ... this.
13848 (step_ten_loops): Change parameter from test message to command to
13849 use. Adjust.
13850 (list_count): Delete global.
13851 (check_result): New procedure, factored out from duplicate top
13852 level code.
13853 (continue tests): Wrap in with_test_prefix.
13854 (test_step): New procedure, factored out from duplicate top level
13855 code.
13856 (top level): Test "step" in combination with all scheduler-locking
13857 modes. Test "next" in combination with all scheduler-locking
13858 modes, and in combination with stepping over a function call or
13859 not.
13860 * gdb.threads/next-bp-other-thread.c: New file.
13861 * gdb.threads/next-bp-other-thread.exp: New file.
13862
138632014-10-29 Pedro Alves <palves@redhat.com>
13864
13865 PR python/17372
13866 * gdb.python/python.exp: Test a multi-line command that spawns
13867 interactive Python.
13868 * gdb.base/multi-line-starts-subshell.exp: New file.
13869
138702014-10-29 Yao Qi <yao@codesourcery.com>
13871
13872 * gdb.base/fileio.exp: Make directories on host.
13873
138742014-10-29 Yao Qi <yao@codesourcery.com>
13875
13876 * gdb.base/fileio.c (test_write): Close the file.
13877
138782014-10-28 Pedro Alves <palves@redhat.com>
13879
13880 PR gdb/12623
13881 * gdb.base/sigstep.c (no_handler): New global.
13882 (main): If 'no_handler is true, set the signal handlers to
13883 SIG_IGN.
13884 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13885 with_sw_watch and no_handler parameters. Handle them.
13886 (top level) <stepping over handler when stopped at a breakpoint
13887 test>: Add a test axis for testing with a software watchpoint, and
13888 another for testing with the signal handler set to SIG_IGN.
13889 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13890 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13891
138922014-10-28 Pedro Alves <palves@redhat.com>
13893
13894 PR gdb/17511
13895 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13896 * gdb.base/sigstep.exp (other_handler_location): New global.
13897 (advance): Support stepping into the signal handler, and running
13898 commands while in the handler.
13899 (in_handler_map): New global.
13900 (top level): In the advance test, add combinations for getting
13901 into the handler with stepping commands, and for running commands
13902 in the handler. Add comment descripting the advancei tests.
13903
139042014-10-28 Pedro Alves <palves@redhat.com>
13905
13906 * gdb.base/sigstep.exp: Use build_executable instead of
13907 prepare_for_testing.
13908 (top level): Move code that starts GDB, runs to main and creates a
13909 display to ...
13910 (restart): ... this new procedure.
13911 (top level): Move backtrace from signal handler test to ...
13912 (validate_backtrace): ... this new procedure.
13913 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13914 with_test_prefix. Always restart GDB.
13915 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13916 with_test_prefix. Always restart GDB. No need to delete
13917 breakpoints after the test.
13918 (test_skip_handler): Remove prefix parameter.
13919 (skip_over_handler, breakpoint_to_handler)
13920 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13921 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13922 restart GDB. No need to delete breakpoints after the test.
13923 (top level): Use foreach to call the test procedures with
13924 different commands.
13925
139262014-10-28 Pedro Alves <palves@redhat.com>
13927
13928 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13929 instead of GNATS numbers.
13930 * gdb.base/sigbpt.exp: Likewise.
13931 * gdb.base/siginfo.exp: Likewise.
13932 * gdb.base/sigstep.exp: Likewise.
13933
139342014-10-27 Pedro Alves <palves@redhat.com>
13935
13936 * gdb.base/sigstep.c (dummy): New global.
13937 (main): Issue a couple writes to the new global.
13938 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13939 procedures.
13940 (skip_over_handler): Use test_skip_handler.
13941 (top level): Call skip_over_handler for stepi and nexti too.
13942 (breakpoint_over_handler): Use test_skip_handler.
13943 (top level): Call breakpoint_over_handler for stepi and nexti too.
13944
139452014-10-27 Yao Qi <yao@codesourcery.com>
13946
13947 * gdb.trace/tfile.c (adjust_function_address)
13948 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13949 function descriptor.
13950
139512014-10-24 Don Breazeal <donb@codesourcery.com>
13952
13953 * gdb.base/foll-fork.exp (test_follow_fork,
13954 catch_fork_child_follow): Check for updated fork messages emitted
13955 from infrun.c.
13956 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13957 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13958 vfork_and_exec_child_follow_through_step): Check for updated vfork
13959 messages emitted from infrun.c.
13960
139612014-10-24 Pedro Alves <palves@redhat.com>
13962
13963 * gdb.base/corefile.exp: Remove references to ultrix.
13964 * gdb.base/interrupt.exp: Likewise.
13965 * gdb.base/whatis.exp: Likewise.
13966 * gdb.gdb/selftest.exp: Likewise.
13967 * gdb.threads/manythreads.exp: Likewise.
13968 * gdb.threads/print-threads.exp: Likewise.
13969 * gdb.threads/pthreads.exp:: Likewise.
13970 * gdb.threads/schedlock.exp: Likewise.
13971
139722014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13973
13974 * gdb.cp/non-trivial-retval.cc: Add a test case.
13975 * gdb.cp/non-trivial-retval.exp: Add a test.
13976
139772014-10-20 Yao Qi <yao@codesourcery.com>
13978
13979 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13980 * gdb.python/py-objfile-script-gdb.py: New file.
13981 * gdb.python/py-objfile-script.exp: Update reference to
13982 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13983 of remote_download. Remove the dest file.
13984
139852014-10-20 Yao Qi <yao@codesourcery.com>
13986
13987 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13988 * gdb.base/step-line.exp: Likewise.
13989 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13990 * gdb.dwarf2/dw2-basic.exp: Likewise.
13991 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13992 * gdb.dwarf2/dw2-filename.exp: Likewise.
13993 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13994 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13995 * gdb.dwarf2/dw2-producer.exp: Likewise.
13996 * gdb.dwarf2/mac-fileno.exp: Likewise.
13997 * gdb.python/py-frame-args.exp: Likewise.
13998 * gdb.python/py-framefilter.exp: Likewise.
13999 * gdb.python/py-mi.exp: Likewise.
14000 * gdb.python/py-objfile-script.exp: Likewise
14001 * gdb.python/py-pp-integral.exp: Likewise.
14002 * gdb.python/py-pp-re-notag.exp: Likewise.
14003 * gdb.python/py-prettyprint.exp: Likewise.
14004 * gdb.python/py-section-script.exp: Likewise.
14005 * gdb.python/py-typeprint.exp: Likewise.
14006 * gdb.python/py-xmethods.exp: Likewise.
14007 * gdb.stabs/weird.exp: Likewise.
14008 * gdb.xml/tdesc-regs.exp: Likewise.
14009
140102014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14011
14012 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14013 (out_cu): Use addr_len for the size of addresses.
14014 (out_line): Likewise. Size DW_LNE_set_address instruction
14015 according to addr_len.
14016 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14017 (FUNC): Add START_INSNS to definition.
14018
140192014-10-18 Yao Qi <yao@codesourcery.com>
14020
14021 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14022 gdb_has_argv0 return true.
14023 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14024 check [target_info exists noargs], check [gdb_has_argv0]
14025 instead.
14026 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14027 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14028 procedures.
14029
140302014-10-17 Doug Evans <dje@google.com>
14031
14032 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14033 event.
14034 * gdb.python/py-events.py: Add clear_objfiles event.
14035
140362014-10-17 Doug Evans <dje@google.com>
14037
14038 * gdb.python/py-objfile.exp: Test progspace attribute.
14039
140402014-10-17 Luis Machado <lgustavo@codesourcery.com>
14041
14042 * gdb.guile/scm-breakpoint.exp: Do not assume any
14043 directory separators when matching source file paths.
14044 * gdb.python/py-breakpoint.exp: Likewise.
14045 * gdb.reverse/break-precsave.exp: Likewise.
14046 * gdb.reverse/break-reverse.exp: Likewise.
14047 * gdb.reverse/consecutive-precsave.exp: Likewise.
14048 * gdb.reverse/finish-precsave.exp: Likewise.
14049 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14050 * gdb.reverse/finish-reverse.exp: Likewise.
14051 * gdb.reverse/i386-precsave.exp: Likewise.
14052 * gdb.reverse/i387-env-reverse.exp: Likewise.
14053 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14054 * gdb.reverse/machinestate-precsave.exp: Likewise.
14055 * gdb.reverse/machinestate.exp: Likewise.
14056 * gdb.reverse/sigall-precsave.exp: Likewise.
14057 * gdb.reverse/solib-precsave.exp: Likewise.
14058 * gdb.reverse/step-precsave.exp: Likewise.
14059 * gdb.reverse/until-precsave.exp: Likewise.
14060 * gdb.reverse/watch-precsave.exp: Likewise.
14061 * gdb.reverse/watch-reverse.exp: Likewise.
14062
140632014-10-17 Yao Qi <yao@codesourcery.com>
14064
14065 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14066 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14067
140682014-10-17 Pedro Alves <palves@redhat.com>
14069
14070 PR gdb/17471
14071 * gdb.base/bg-execution-repeat.c: New file.
14072 * gdb.base/bg-execution-repeat.exp: New file.
14073
140742014-10-17 Pedro Alves <palves@redhat.com>
14075
14076 PR gdb/17300
14077 * gdb.base/continue-all-already-running.c: New file.
14078 * gdb.base/continue-all-already-running.exp: New file.
14079
140802014-10-17 Pedro Alves <palves@redhat.com>
14081
14082 PR gdb/17472
14083 * gdb.base/annota-input-while-running.c: New file.
14084 * gdb.base/annota-input-while-running.exp: New file.
14085
140862014-10-17 Pedro Alves <palves@redhat.com>
14087
14088 * gdb.base/callfuncs.exp: emove references to osf.
14089 * gdb.base/sigall.exp: Likewise.
14090 * gdb.gdb/selftest.exp: Likewise.
14091 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14092 * gdb.mi/non-stop.c: Likewise.
14093 * gdb.mi/pthreads.c: Likewise.
14094 * gdb.reverse/sigall-precsave.exp: Likewise.
14095 * gdb.reverse/sigall-reverse.exp: Likewise.
14096 * gdb.threads/pthreads.c: Likewise.
14097 * gdb.threads/pthreads.exp: Likewise.
14098
140992014-10-17 Yao Qi <yao@codesourcery.com>
14100
14101 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14102 check 'target_info exists noargs'.
14103 (test_command_prompt_position): Likewise.
14104 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14105 Remove "set args".
14106 (progvar_simple_while_test): Likewise.
14107 (progvar_complex_if_while_test): Likewise.
14108 (if_while_breakpoint_command_test): Likewise.
14109 (infrun_breakpoint_command_test): Likewise.
14110 (breakpoint_command_test): Likewise.
14111 (watchpoint_command_test): Likewise.
14112 (bp_deleted_in_command_test): Likewise.
14113 (temporary_breakpoint_commands): Likewise.
14114
141152014-10-16 Yao Qi <yao@codesourcery.com>
14116
14117 * gdb.base/remotetimeout.exp: Remove noargs checking.
14118
141192014-10-15 Pedro Alves <palves@redhat.com>
14120
14121 PR breakpoints/9649
14122 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14123 * gdb.base/breakpoint-in-ro-region.exp
14124 (probe_target_hardware_step): New procedure.
14125 (top level): Probe hardware stepping and hardware breakpoint
14126 support. Test stepping through a read-only region, with both
14127 "breakpoint auto-hw" on and off and both "always-inserted" on and
14128 off.
14129
141302014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14131
14132 * gdb.dlang/demangle.exp: Update for demangling changes.
14133
141342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14135
14136 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14137 * gdb.cp/non-trivial-retval.exp: Add new tests.
14138
141392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14140
14141 PR c++/13403
14142 PR c++/15154
14143 * gdb.cp/non-trivial-retval.cc: New file.
14144 * gdb.cp/non-trivial-retval.exp: New file.
14145
141462014-10-15 Yao Qi <yao@codesourcery.com>
14147
14148 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14149 remote host.
14150
141512014-10-15 Yao Qi <yao@codesourcery.com>
14152
14153 * gdb.python/py-symbol.exp: Match file base name if host is
14154 remote, otherwise match file name with dir name.
14155 * gdb.python/py-symtab.exp: Likewise.
14156 * gdb.python/python.exp: Likewise.
14157
141582014-10-15 Yao Qi <yao@codesourcery.com>
14159
14160 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14161 pattern.
14162 * gdb.python/py-symtab.exp: Likewise.
14163 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14164 locationn.
14165
141662014-10-14 Joel Brobecker <brobecker@adacore.com>
14167
14168 * gdb.ada/addr_arith: New testcase.
14169
141702014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14171
14172 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14173 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14174 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14175 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14176
141772014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14178
14179 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14180 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14181 * gdb.arch/stap-eval-lang-ada.exp: New file.
14182
141832014-10-14 Yao Qi <yao@codesourcery.com>
14184
14185 * gdb.mi/mi-var-child.c (nothing1): New function.
14186 (nothing2): New function.
14187 (do_children_tests): Set function pointers by nothing1 and
14188 nothing2.
14189 * gdb.mi/mi-var-child.exp: Step over new added statements.
14190 Update test to match the new output.
14191 * gdb.mi/var-cmd.c (nothing1): New function.
14192 (nothing2): New function.
14193 (do_children_tests): Set function pointers by nothing1 and
14194 nothing2.
14195 * gdb.mi/mi-var-display.exp: Update test to match output.
14196 Step to the line specified by $line_dct_nothing.
14197 Increase the number of lines to step.
14198
141992014-10-14 Yao Qi <yao@codesourcery.com>
14200
14201 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14202 tests.
14203 * gdb.mi/mi2-var-child.exp: Likewise.
14204
142052014-10-13 Doug Evans <dje@google.com>
14206
14207 * gdb.python/py-objfile.exp: Change name of file name test.
14208
142092014-10-13 Doug Evans <dje@google.com>
14210
14211 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14212 from the start of the CU.
14213
142142014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14215 Yao Qi <yao@codesourcery.com>
14216
14217 Fix "save breakpoints" for "catch" command.
14218 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14219 Remove -nonewline. Match also the added "main" line.
14220
142212014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14222
14223 Fix "save breakpoints" for "disable $bpnum" command.
14224 * gdb.base/save-bp.c (main): Add label.
14225 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14226
142272014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14228
14229 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14230
142312014-10-11 Yao Qi <yao@codesourcery.com>
14232
14233 * gdb.server/server-kill.exp: Execute command
14234 "set remote trace-status-packet on" before "tstatus".
14235
142362014-10-11 Yao Qi <yao@codesourcery.com>
14237
14238 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14239 (main): Call getppid.
14240 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14241 and continue to it. Read variable "server_pid".
14242
142432014-10-11 Yao Qi <yao@codesourcery.com>
14244
14245 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14246
142472014-10-11 Yao Qi <yao@codesourcery.com>
14248
14249 * gdb.threads/thread-find.exp: Don't execute command
14250 "info threads".
14251 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14252 * gdb.threads/linux-dp.exp: Don't check the condition
14253 $threads_created equals to zero.
14254
142552014-10-10 Pedro Alves <palves@redhat.com>
14256
14257 * gdb.base/bigcore.exp: Remove references to IRIX.
14258 * gdb.base/funcargs.exp: Likewise.
14259 * gdb.base/interrupt.exp: Likewise.
14260 * gdb.base/mips_pro.exp: Likewise.
14261 * gdb.base/nodebug.exp: Likewise.
14262 * gdb.base/setvar.exp: Likewise.
14263 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14264
142652014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14266 Pedro Alves <palves@redhat.com>
14267
14268 PR symtab/14466
14269 * gdb.base/vdso-warning.c: New file.
14270 * gdb.base/vdso-warning.exp: New file.
14271
142722014-10-02 Doug Evans <dje@google.com>
14273
14274 * gdb.base/structs.c (main): Don't run forever.
14275
142762014-10-02 Pedro Alves <palves@redhat.com>
14277
14278 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14279 (top level) <stop threads 1, stop threads 2>: Use it.
14280
142812014-10-02 Pedro Alves <palves@redhat.com>
14282
14283 * gdb.threads/break-while-running.exp (test): Add new
14284 'update_thread_list' argument. Skip "info threads" if false.
14285 (top level): Add new 'update_thread_list' axis.
14286
142872014-10-02 Pedro Alves <palves@redhat.com>
14288
14289 PR breakpoints/17431
14290 * gdb.base/execl-update-breakpoints.c: New file.
14291 * gdb.base/execl-update-breakpoints.exp: New file.
14292
142932014-10-01 Pedro Alves <palves@redhat.com>
14294
14295 * gdb.base/breakpoint-in-ro-region.c: New file.
14296 * gdb.base/breakpoint-in-ro-region.exp: New file.
14297
142982014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14299
14300 * gdb.mi/mi-exit-code.exp: New file.
14301 * gdb.mi/mi-exit-code.c: New file.
14302
143032014-09-30 Yao Qi <yao@codesourcery.com>
14304
14305 * lib/prelink-support.exp (build_executable_own_libs): Error if
14306 the target isn't native.
14307
143082014-09-30 Yao Qi <yao@codesourcery.com>
14309
14310 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14311 false.
14312
143132014-09-22 Pedro Alves <palves@redhat.com>
14314
14315 * gdb.threads/break-while-running.exp: New file.
14316 * gdb.threads/break-while-running.c: New file.
14317
143182014-09-19 Yao Qi <yao@codesourcery.com>
14319
14320 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14321 Invoke test. Restart GDB with --readnow and invoke test again.
14322
143232014-09-19 Yao Qi <yao@codesourcery.com>
14324
14325 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14326 proc set_breakpoint_on_gcd_function. Invoke
14327 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14328 invoke set_breakpoint_on_gcd_function again.
14329
143302014-09-18 Doug Evans <dje@google.com>
14331
14332 * gdb.dwarf2/symtab-producer.exp: New file.
14333
143342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14335
14336 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14337 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14338 * gdb.base/global-var-nested-by-dso.c: Likewise.
14339 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14340
143412014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14342 Pedro Alves <palves@redhat.com>
14343
14344 * gdb.base/watch-bitfields.exp: Pass string other than test file
14345 name to prepare_for_testing.
14346 (watch): New procedure.
14347 (expect_watchpoint): Use with_test_prefix.
14348 (top level): Factor out tests to ...
14349 (test_watch_location, test_regular_watch): ... these new
14350 procedures, and use with_test_prefix and gdb_continue_to_end.
14351
143522014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14353
14354 PR breakpoints/12526
14355 * gdb.base/watch-bitfields.exp: New file.
14356 * gdb.base/watch-bitfields.c: New file.
14357
143582014-09-16 Pedro Alves <palves@redhat.com>
14359
14360 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14361 software and hardware addresses, not software address against
14362 itself.
14363
143642014-09-16 Pedro Alves <palves@redhat.com>
14365
14366 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14367 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14368
143692014-09-16 Pedro Alves <palves@redhat.com>
14370
14371 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14372 files.
14373 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14374 "*-*-vxworks*" throughout.
14375 * gdb.base/break.exp: Likewise.
14376 * gdb.base/default.exp: Likewise.
14377 * gdb.base/scope.exp: Likewise.
14378 * gdb.base/sepdebug.exp: Likewise.
14379 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14380 throughout.
14381 * gdb.base/run.c: Likewise.
14382 * gdb.base/sepdebug.c: Likewise.
14383 * gdb.hp/gdb.aCC/run.c: Likewise.
14384 * gdb.reverse/until-reverse.c: Likewise.
14385 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14386
143872014-09-16 Yao Qi <yao@codesourcery.com>
14388
14389 * boards/local-remote-host-native.exp: New file.
14390
143912014-09-14 Doug Evans <xdje42@gmail.com>
14392
14393 * gdb.threads/queue-signal.c (thread_count): New variable.
14394 (thread_count_mutex, thread_count_condvar): New variables.
14395 (incr_thread_count, wait_all_threads_running): New functions.
14396 (main): Wait for all threads to be in their thread functions.
14397
143982014-09-13 Doug Evans <xdje42@gmail.com>
14399
14400 * gdb.threads/queue-signal.c: New file.
14401 * gdb.threads/queue-signal.exp: New file.
14402
144032014-09-13 Doug Evans <xdje42@gmail.com>
14404
14405 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14406 be consistent with what default_gdb_init uses.
14407 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14408 the plain text of the prompt. Add some logging printfs.
14409 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14410
144112014-09-12 Pedro Alves <palves@redhat.com>
14412
14413 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14414 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14415 * gdb.arch/i386-size-overlap.exp: Likewise.
14416 * gdb.arch/i386-size.exp: Likewise.
14417 * gdb.arch/i386-unwind.exp: Likewise.
14418 * gdb.base/a2-run.exp: Likewise.
14419 * gdb.base/break.exp: Likewise.
14420 * gdb.base/charset.exp: Likewise.
14421 * gdb.base/chng-syms.exp: Likewise.
14422 * gdb.base/commands.exp: Likewise.
14423 * gdb.base/dbx.exp: Likewise.
14424 * gdb.base/find.exp: Likewise.
14425 * gdb.base/funcargs.exp: Likewise.
14426 * gdb.base/jit-simple.exp: Likewise.
14427 * gdb.base/reread.exp: Likewise.
14428 * gdb.base/sepdebug.exp: Likewise.
14429 * gdb.base/step-bt.exp: Likewise.
14430 * gdb.cp/mb-inline.exp: Likewise.
14431 * gdb.cp/mb-templates.exp: Likewise.
14432 * gdb.objc/basicclass.exp: Likewise.
14433 * gdb.threads/killed.exp: Likewise.
14434
144352014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14436
14437 PR tdep/17379
14438 * gdb.arch/powerpc-stackless.S: New file.
14439 * gdb.arch/powerpc-stackless.exp: New file.
14440
144412014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14442
14443 * gdb.base/attach.c: Include unistd.h.
14444 (main): Call alarm. Add label postloop.
14445 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14446 gdb_breakpoint, gdb_continue_to_breakpoint.
14447 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14448
144492014-09-11 Pedro Alves <palves@redhat.com>
14450
14451 PR gdb/17347
14452 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14453 * gdb.base/attach.exp (test_command_line_attach_run): New
14454 procedure.
14455 (top level): Call it.
14456
144572014-09-11 Pedro Alves <palves@redhat.com>
14458
14459 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14460 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14461 (do_command_attach_tests): Use spawn_wait_for_attach.
14462 * gdb.base/solib-overlap.exp: Likewise.
14463 * gdb.multi/multi-attach.exp: Likewise.
14464 * gdb.python/py-prompt.exp: Likewise.
14465 * gdb.python/py-sync-interp.exp: Likewise.
14466 * gdb.server/ext-attach.exp: Likewise.
14467
144682014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14469
14470 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14471 command in testcase. Simplify testcase.
14472
144732014-09-10 Joel Brobecker <brobecker@adacore.com>
14474
14475 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14476
144772014-09-10 Joel Brobecker <brobecker@adacore.com>
14478
14479 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14480
144812014-09-10 Joel Brobecker <brobecker@adacore.com>
14482
14483 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14484
144852014-09-10 Joel Brobecker <brobecker@adacore.com>
14486
14487 * gdb.dwarf2/dynarr-ptr.c: New file.
14488 * gdb.dwarf2/dynarr-ptr.exp: New file.
14489
144902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14491
14492 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14493 of 30 rather than hardcoding 120 for a slow test case. Take the
14494 `gdb,timeout' target setting into account for this calculation.
14495 Don't extend the timeout for the test cases that don't need it.
14496
144972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14498
14499 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14500 a factor of 2 for a slow test case. Take the `gdb,timeout'
14501 target setting into account for this calculation.
14502 * gdb.reverse/until-precsave.exp: Increase the timeout by
14503 a factor of 15 and 3 respectively rather than adding 120
14504 for a pair of slow test cases. Take the `gdb,timeout'
14505 target setting into account for this calculation.
14506
145072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14508
14509 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14510 timeout, don't pass one down to gdb_expect.
14511 (gdb_expect): Rework timeout selection.
14512
145132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14514
14515 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14516 exception on timeout.
14517 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14518 (gdbserver_start_extended): Catch any `gdbserver_start' error
14519 exceptions.
14520 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14521 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14522 `gdbserver_gdb_load' error exceptions.
14523
145242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14525
14526 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14527 120 on waiting for the TCP socket to open.
14528
145292014-09-09 Doug Evans <xdje42@gmail.com>
14530
14531 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14532 _caller_matches, _any_caller_is, _any_caller_matches.
14533
145342014-09-09 Doug Evans <xdje42@gmail.com>
14535
14536 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14537
145382014-09-09 Yao Qi <yao@codesourcery.com>
14539
14540 * gdb.mi/mi-var-display.exp: Set print symbol off.
14541
145422014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14543
14544 PR gdb/17035
14545 * gdb.base/commands.exp: Add tests to verify user-defined
14546 commands with empty bodies.
14547 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14548 python commands in `show user command`.
14549 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14550 scheme commands in `show user command`.
14551
145522014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14553
14554 PR python/17355
14555 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14556 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14557 * gdb.python/py-framefilter-invalidarg.exp: New file.
14558 * gdb.python/py-framefilter-invalidarg.py: New file.
14559
145602014-09-06 Doug Evans <xdje42@gmail.com>
14561
14562 PR 15276
14563 * gdb.python/py-caller-is.c: New file.
14564 * gdb.python/py-caller-is.exp: New file.
14565
145662014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14567
14568 PR gdb/17235
14569 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14570 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14571
145722014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14573
14574 PR fortran/17237
14575 * gdb.fortran/print-formatted.exp: New file.
14576 * gdb.fortran/print-formatted.f90: Likewise.
14577
145782014-09-03 Sasha Smundak <asmundak@google.com>
14579
14580 * gdb.python/py-frame.exp: Test Frame.read_register.
14581
145822014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14583
14584 PR python/16699
14585 * gdb.python/py-completion.exp: New file.
14586 * gdb.python/py-completion.py: Likewise.
14587
145882014-08-28 Doug Evans <dje@google.com>
14589
14590 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14591 eax,etc. are live with values set by gdb and thus the compiler can't
14592 use them.
14593 * gdb.arch/i386-pseudo.c (main): Ditto.
14594
145952014-08-27 Doug Evans <dje@google.com>
14596
14597 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14598
145992014-08-25 Doug Evans <dje@google.com>
14600
14601 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14602 (main): Ditto.
14603
146042014-08-25 Doug Evans <dje@google.com>
14605
14606 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14607
146082014-08-24 Yao Qi <yao@codesourcery.com>
14609
14610 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14611 symbol off.
14612 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14613
146142014-08-22 Doug Evans <dje@google.com>
14615
14616 PR 17276
14617 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14618 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14619 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14620
146212014-08-22 Yao Qi <yao@codesourcery.com>
14622
14623 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14624 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14625 * gdb.python/python.exp: Likewise. Use .py file on the host
14626 instead of the build.
14627
146282014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14629
14630 * gdb.threads/gcore-stale-thread.c: New file.
14631 * gdb.threads/gcore-stale-thread.exp: New file.
14632
146332014-08-21 Pedro Alves <palves@redhat.com>
14634
14635 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14636 * gdb.base/gcore-relro-pie.exp: Likewise.
14637 * gdb.base/gcore-relro.exp: Likewise.
14638 * gdb.base/gcore.exp: Likewise.
14639 * gdb.base/print-symbol-loading.exp: Likewise.
14640 * gdb.threads/gcore-thread.exp: Likewise.
14641 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14642
146432014-08-20 Pedro Alves <palves@redhat.com>
14644 Jan Kratochvil <jan.kratochvil@redhat.com>
14645
14646 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14647 configure.
14648 (EXPECT): Handle READ1 being set.
14649 (all): Depend on EXTRA_RULES.
14650 (check-read1, expect-read1, read1.so, read1): New rules.
14651 * README (Testsuite Parameters): Document the READ1 make variable.
14652 (Race detection): New section.
14653 * configure: Regenerate.
14654 * configure.ac: If build==host==target, and running under a
14655 GNU/glibc system, add read1 to the extra Makefile rules.
14656 (EXTRA_RULES): AC_SUBST it.
14657 * lib/read1.c: New file.
14658
146592014-08-20 Joel Brobecker <brobecker@adacore.com>
14660
14661 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14662 the handling of variables declared as a typedef to an array
14663 which a DW_AT_data_location attribute.
14664
146652014-08-19 Andrew Burgess <aburgess@broadcom.com>
14666 Pedro Alves <palves@redhat.com>
14667
14668 PR symtab/14604
14669 PR symtab/14605
14670 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14671 gdb_test.
14672
146732014-08-19 Pedro Alves <palves@redhat.com>
14674
14675 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14676
146772014-08-19 Yao Qi <yao@codesourcery.com>
14678
14679 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14680 right line.
14681
146822014-08-18 David Blaikie <dblaikie@gmail.com>
14683
14684 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14685
146862014-08-18 Joel Brobecker <brobecker@adacore.com>
14687
14688 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14689 attribute in array range.
14690
146912014-08-18 Joel Brobecker <brobecker@adacore.com>
14692
14693 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14694
146952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14696
14697 PR c++/17132
14698 * gdb.cp/pr17132.cc: New file.
14699 * gdb.cp/pr17132.exp: New file.
14700
147012014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14702
14703 * gdb.python/py-xmethods.py (A_getarrayind)
14704 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14705 Use 'print' with function call syntax.
14706 (E_method_matcher.match): Fix tab vs space indentation mixup.
14707
147082014-08-15 Yao Qi <yao@codesourcery.com>
14709
14710 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14711 false.
14712
147132014-08-15 Yao Qi <yao@codesourcery.com>
14714
14715 * gdb.cp/casts.exp: Set print symbol off.
14716 * gdb.cp/class2.exp: Likewise.
14717 * gdb.cp/overload.exp: Likewise.
14718 * gdb.cp/templates.exp: Likewise.
14719
147202014-08-11 Doug Evans <dje@google.com>
14721
14722 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14723 (test_load_shlib): Update.
14724
147252014-08-09 Yao Qi <yao@codesourcery.com>
14726
14727 * gdb.base/display.exp: Invoke is_address_zero_readable.
14728 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14729 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14730 * gdb.base/hbreak-unmapped.exp: Return if
14731 is_address_zero_readable returns true.
14732 * gdb.base/signest.exp: Likewise.
14733 * gdb.base/signull.exp: Likewise.
14734 * gdb.base/sigbpt.exp: Likewise.
14735 * gdb.guile/scm-disasm.exp: Do the test if
14736 is_address_zero_readable returns false.
14737 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14738 * gdb.python/py-arch.exp: Likewise.
14739 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14740 * lib/gdb.exp (is_address_zero_readable): New proc.
14741
147422014-08-09 Yao Qi <yao@codesourcery.com>
14743
14744 PR testsuite/13443
14745 * gdb.mi/mi-var-display.exp: Make test messages unique.
14746
147472014-08-04 Tom Tromey <tromey@redhat.com>
14748
14749 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14750 target 0".
14751
147522014-08-04 Tom Tromey <tromey@redhat.com>
14753
14754 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14755 "target_resume".
14756
147572014-08-01 Joel Brobecker <brobecker@adacore.com>
14758
14759 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14760 inner_vla_struct_object_size.
14761 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14762 as xfail.
14763
147642014-07-30 Pedro Alves <palves@redhat.com>
14765
14766 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14767 comment.
14768
147692014-07-29 Yao Qi <yao@codesourcery.com>
14770
14771 PR gdb/17206
14772 * gdb.base/until-nodebug.exp: New.
14773
147742014-07-28 Doug Evans <xdje42@gmail.com>
14775
14776 PR guile/17203
14777 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14778 previously existing parameter, and previously ambiguously spelled
14779 parameter.
14780
147812014-07-28 Will Newton <will.newton@linaro.org>
14782
14783 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14784
147852014-07-26 Ludovic Courtès <ludo@gnu.org>
14786 Doug Evans <xdje42@gmail.com>
14787
14788 PR guile/17146
14789 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14790
147912014-07-25 Pedro Alves <palves@redhat.com>
14792
14793 * gdb.threads/signal-command-handle-nopass.c: New file.
14794 * gdb.threads/signal-command-handle-nopass.exp: New file.
14795 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14796 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14797 * gdb.threads/signal-delivered-right-thread.c: New file.
14798 * gdb.threads/signal-delivered-right-thread.exp: New file.
14799
148002014-07-25 Pedro Alves <palves@redhat.com>
14801
14802 * gdb.base/double-prompt-target-event-error.exp
14803 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14804 match.
14805 (cancel_pagination_in_target_event): Rework double prompt
14806 detection.
14807 * gdb.base/paginate-after-ctrl-c-running.exp
14808 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14809 <return>' match.
14810 * gdb.base/paginate-bg-execution.exp
14811 (test_bg_execution_pagination_return)
14812 (test_bg_execution_pagination_cancel): Remove '-notransfer
14813 <return>' matches.
14814 * gdb.base/paginate-execution-startup.exp
14815 (test_fg_execution_pagination_return)
14816 (test_fg_execution_pagination_cancel): Remove '-notransfer
14817 <return>' matches.
14818 * gdb.base/paginate-inferior-exit.exp
14819 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14820 match.
14821 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14822 * lib/gdb.exp (pagination_prompt): Run text through
14823 string_to_regexp.
14824 (gdb_test_multiple): Match $pagination_prompt instead of
14825 "<return>".
14826 (string_to_regexp): Move to lib/gdb-utils.exp.
14827
148282014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14829
14830 * gdb.arch/amd64-entry-value-paramref.S: New file.
14831 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14832 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14833 * gdb.arch/amd64-optimout-repeat.S: New file.
14834 * gdb.arch/amd64-optimout-repeat.c: New file.
14835 * gdb.arch/amd64-optimout-repeat.exp: New file.
14836
148372014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 PR gdb/17170
14840 * gdb.base/statistics.exp: New file.
14841
148422014-07-17 Doug Evans <dje@google.com>
14843
14844 PR gdb/17170
14845 * gdb.base/maint.exp: Update testing of per-command stats.
14846
148472014-07-16 Pedro Alves <palves@redhat.com>
14848
14849 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14850 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14851 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14852 (tfile_write_buf): New functions.
14853 (add_memory_block): Rewrite using the above.
14854 (adjust_function_address): New function.
14855 (FUNCTION_ADDRESS): New macro.
14856 (write_basic_trace_file): Remove short_x local, and use
14857 tfile_write_16. Change type of func_addr local to unsigned long
14858 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14859 here. Cast argument of add_memory_block to char pointer.
14860 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14861 (main): Remove parameters.
14862 * gdb.trace/tfile.exp: Remove nowarnings.
14863
148642014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14865
14866 * gdb.base/debug-expr.exp: Test string evaluation with
14867 "debug expression" on.
14868
148692014-07-15 Pedro Alves <palves@redhat.com>
14870
14871 * gdb.base/reread.exp: Use clean_restart.
14872
148732014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14874
14875 * gdb.arch/avr-flash-qualifer.c: New.
14876 * gdb.arch/avr-flash-qualifer.exp: New.
14877
148782014-07-14 Pedro Alves <palves@redhat.com>
14879
14880 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14881 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14882
148832014-07-14 Pedro Alves <palves@redhat.com>
14884
14885 * gdb.base/double-prompt-target-event-error.c: New file.
14886 * gdb.base/double-prompt-target-event-error.exp: New file.
14887
148882014-07-14 Pedro Alves <palves@redhat.com>
14889
14890 PR gdb/17072
14891 * gdb.base/paginate-inferior-exit.c: New file.
14892 * gdb.base/paginate-inferior-exit.exp: New file.
14893
148942014-07-14 Pedro Alves <palves@redhat.com>
14895
14896 PR gdb/17072
14897 * gdb.base/paginate-bg-execution.c: New file.
14898 * gdb.base/paginate-bg-execution.exp: New file.
14899
149002014-07-14 Pedro Alves <palves@redhat.com>
14901
14902 PR gdb/17072
14903 * gdb.base/paginate-execution-startup.c: New file.
14904 * gdb.base/paginate-execution-startup.exp: New file.
14905 * lib/gdb.exp (pagination_prompt): New global.
14906 (default_gdb_spawn): New procedure, factored out from
14907 default_gdb_spawn.
14908 (default_gdb_start): Adjust to call default_gdb_spawn.
14909 (gdb_spawn): New procedure.
14910
149112014-07-14 Pedro Alves <palves@redhat.com>
14912
14913 * lib/gdb.exp (gdb_assert): New procedure.
14914 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14915
149162014-07-14 Pedro Alves <palves@redhat.com>
14917
14918 * gdb.base/execution-termios.c: New file.
14919 * gdb.base/execution-termios.exp: New file.
14920
149212014-07-14 Tom Tromey <tromey@redhat.com>
14922
14923 * gdb.cp/vla-cxx.cc: New file.
14924 * gdb.cp/vla-cxx.exp: New file.
14925
149262014-07-14 Tom Tromey <tromey@redhat.com>
14927
14928 * gdb.reverse/rerun-prec.c: New file.
14929 * gdb.reverse/rerun-prec.exp: New file.
14930
149312014-07-12 Maciej W. Rozycki <macro@mips.com>
14932 Maciej W. Rozycki <macro@codesourcery.com>
14933
14934 * lib/gdb-utils.exp: New file.
14935 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14936 inline `gdb_init_command' processing.
14937 (gdb_start_cmd): Likewise.
14938 * lib/mi-support.exp (mi_run_cmd): Likewise.
14939 * README: Document `gdb_init_command' and `gdb_init_commands'.
14940
149412014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14942
14943 Fix false FAIL running under a very long directory name.
14944 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14945 and "set print elements 10000". Twice.
14946
149472014-07-11 Yao Qi <yao@codesourcery.com>
14948
14949 * gdb.base/exprs.exp: "set print symbol off".
14950
149512014-07-11 Pedro Alves <palves@redhat.com>
14952
14953 * gdb.threads/kill.c: New file.
14954 * gdb.threads/kill.exp: New file.
14955
149562014-07-10 Yao Qi <yao@codesourcery.com>
14957
14958 * gdb.trace/tfile.c (write_basic_trace_file)
14959 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14960 address written to trace file.
14961
149622014-07-09 Pedro Alves <palves@redhat.com>
14963
14964 * gdb.base/attach-wait-input.exp: New file.
14965 * gdb.base/attach-wait-input.c: New file.
14966
149672014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14968
14969 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14970 setting up test structures.
14971 (main): Call new test function.
14972 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14973 test function, continue into test function and walk test
14974 structures.
14975
149762014-07-02 Yao Qi <yao@codesourcery.com>
14977
14978 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14979 'bar_start' at the beginning of functions 'foo' and 'bar'
14980 respectively.
14981 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14982 instead of 'foo' and 'bar'.
14983
149842014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14985
14986 * gdb.btrace/segv.exp: New.
14987 * gdb.btrace/segv.c: New.
14988
149892014-07-02 Luis Machado <lgustavo@codesourcery.com>
14990
14991 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14992 instruction.
14993
149942014-06-30 Mark Wielaard <mjw@redhat.com>
14995
14996 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14997 vulture, vilify, villar): New volatile array constants.
14998 (vindictive, vegetation): New const volatile array constants.
14999 * gdb.base/volatile.exp: Test volatile and const volatile array
15000 types.
15001
150022014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15003
15004 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15005 target lacks support for awatch, rwatch, or hbreak.
15006
150072014-06-27 Yao Qi <yao@codesourcery.com>
15008
15009 * gdb.multi/dummy-frame-restore.exp: New.
15010 * gdb.multi/dummy-frame-restore.c: New.
15011
150122014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15013
15014 * gdb.btrace/gcore.exp: New.
15015
150162014-06-23 Pedro Alves <palves@redhat.com>
15017
15018 * gdb.base/watchpoint-reuse-slot.c: New file.
15019 * gdb.base/watchpoint-reuse-slot.exp: New file.
15020
150212014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15022
15023 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15024 progspace's filename in 'info', 'enable' and 'disable' command
15025 tests.
15026
150272014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15028
15029 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15030 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15031 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15032
150332014-06-20 Gary Benson <gbenson@redhat.com>
15034
15035 * gdb.arch/i386-avx.exp: Fix include file location.
15036 * gdb.arch/i386-sse.exp: Likewise.
15037
150382014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15039
15040 * gdb.dlang/expression.exp: New file.
15041
150422014-06-19 Pedro Alves <palves@redhat.com>
15043
15044 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15045 out from ...
15046 (top level): ... here. Iterate running tests under different
15047 scheduler-locking settings.
15048
150492014-06-18 Luis Machado <lgustavo@codesourcery.com>
15050
15051 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15052 to DW_FORM_addr and use non-zero addresses.
15053
150542014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15055
15056 PR gdb/17017
15057 * gdb.python/py-xmethods.cc: Add global function call counters and
15058 increment them in their respective functions. Remove "cout"
15059 statements.
15060 * gdb.python/py-xmethods.exp: Make tests check the global function
15061 call counters instead of depending on inferior IO.
15062
150632014-06-18 Don Breazeal <donb@codesourcery.com>
15064
15065 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15066 Deleted procedure.
15067 (explicit_fork_parent_follow): Deleted procedure.
15068 (explicit_fork_child_follow): Deleted procedure.
15069 (test_follow_fork): New procedure.
15070 (do_fork_tests): Replace calls to deleted procedures with
15071 calls to test_follow_fork and reset GDB for subsequent
15072 procedure calls.
15073
150742014-06-17 Yao Qi <yao@codesourcery.com>
15075
15076 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15077 CP1252.
15078
150792014-06-17 Luis Machado <lgustavo@codesourcery.com>
15080
15081 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15082 Initialize ptr and S explicitly.
15083 (skip_type_update_when_not_use_rtti_test): Likewise.
15084
150852014-06-16 Keith Seitz <keiths@redhat.com>
15086
15087 PR mi/15863
15088 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15089 the inferior is started.
15090
150912014-06-16 Pedro Alves <palves@redhat.com>
15092
15093 * gdb.base/break-main-file-remove-fail.c: New file.
15094 * gdb.base/break-main-file-remove-fail.exp: New file.
15095 * gdb.base/break-unload-file.exp: Use build_executable instead of
15096 prepare_for_testing.
15097 (test_break): New parameter "initial_load". Handle it.
15098 (top level): Add initial_load cmdline/file axis.
15099
151002014-06-12 Tom Tromey <tromey@redhat.com>
15101
15102 * gdb.base/completion.exp: Don't use directory name in test.
15103
151042014-06-09 Gary Benson <gbenson@redhat.com>
15105
15106 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15107 separate the always-available ANSI-standard signals from the
15108 signals that require checking.
15109 (main): Likewise.
15110 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15111 Likewise.
15112 (main): Likewise.
15113
151142014-06-07 Keith Seitz <keiths@redhat.com>
15115
15116 Revert:
15117 PR c++/16253
15118 * gdb.cp/var-tag.cc: New file.
15119 * gdb.cp/var-tag.exp: New file.
15120 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15121 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15122 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15123 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15124
151252014-06-06 Doug Evans <xdje42@gmail.com>
15126
15127 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15128
151292014-06-06 Pedro Alves <palves@redhat.com>
15130
15131 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15132 in target debug output instead of looking at RSP packets,
15133 disabling the test on any target that uses hardware stepping.
15134 Update comments.
15135
151362014-06-06 Pedro Alves <palves@redhat.com>
15137
15138 * gdb.base/break-unload-file.exp: Fix typo.
15139
151402014-06-06 Yao Qi <yao@codesourcery.com>
15141
15142 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15143 from "jit_function" to "^jit_function".
15144
151452014-06-06 Yao Qi <yao@codesourcery.com>
15146
15147 * gdb.base/async.c (foo): Add one statement.
15148 * gdb.base/async.exp: Get the next instruction address and
15149 match the output of "nexti" by instruction address. Match
15150 the hex address in the output of "finish".
15151
151522014-06-06 Gary Benson <gbenson@redhat.com>
15153
15154 * gdb.base/call-signals.c: Remove preprocessor conditionals
15155 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15156 SIGSEGV and SIGTERM.
15157 * gdb.base/sigall.c: Likewise.
15158 * gdb.base/unwindonsignal.c: Likewise.
15159 * gdb.reverse/sigall-reverse.c: Likewise.
15160
151612014-06-06 Yao Qi <yao@codesourcery.com>
15162
15163 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15164 readable, skip the test.
15165
151662014-06-06 Yao Qi <yao@codesourcery.com>
15167
15168 * gdb.threads/staticthreads.c (thread_function): Move the line
15169 setting breakpoint on forward.
15170 * gdb.threads/staticthreads.exp: Update comments.
15171
151722014-06-05 Ludovic Courtès <ludo@gnu.org>
15173
15174 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15175 "history-append! type error".
15176
151772014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15178
15179 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15180 erroneous dprintf expected input.
15181
151822014-06-04 Doug Evans <xdje42@gmail.com>
15183
15184 * gdb.guile/scm-generics.exp: Delete.
15185
151862014-06-04 Doug Evans <xdje42@gmail.com>
15187
15188 * gdb.guile/scm-breakpoint.exp: Update.
15189 Add tests for breakpoint registration.
15190
151912014-06-04 Tom Tromey <tromey@redhat.com>
15192
15193 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15194 VLA-in-union.
15195 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15196 inner_vla_struct, vla_union types. Initialize objects of those
15197 types and compute their sizes.
15198
151992014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15200 Hui Zhu <hui@codesourcery.com>
15201
15202 * gdb.base/fileio.exp: Add test for shell not available as well as
15203 available.
15204 * gdb.base/fileio.c (test_system): Check for shell twice.
15205
152062014-06-04 Yao Qi <yao@codesourcery.com>
15207
15208 * gdb.base/auto-connect-native-target.exp: Remove redundant
15209 space from the regexp pattern.
15210
152112014-06-04 Yao Qi <yao@codesourcery.com>
15212
15213 * gdb.base/default.exp: Replace "child" with "native" in
15214 regexp pattern.
15215
152162014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15217
15218 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15219 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15220 * gdb.python/py-xmethods.py: Python script supporting the
15221 new testcase and tests.
15222
152232014-06-03 Joel Brobecker <brobecker@adacore.com>
15224 Pedro Alves <palves@redhat.com>
15225
15226 PR breakpoints/17000
15227 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15228 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15229
152302014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15231
15232 * gdb.base/subst.exp: Add tests to verify partial path matching
15233 output.
15234
152352014-06-03 Pedro Alves <palves@redhat.com>
15236
15237 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15238 target that doesn't use software single-stepping.
15239
152402014-06-03 Pedro Alves <palves@redhat.com>
15241
15242 PR breakpoints/17000
15243 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15244 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15245
152462014-06-02 Doug Evans <xdje42@gmail.com>
15247
15248 * gdb.guile/scm-parameter.exp: New file.
15249
152502014-06-02 Doug Evans <xdje42@gmail.com>
15251
15252 * gdb.guile/scm-cmd.c: New file.
15253 * gdb.guile/scm-cmd.exp: New file.
15254
152552014-06-02 Doug Evans <xdje42@gmail.com>
15256
15257 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15258 pretty-printer lookup.
15259 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15260 (make-pp_s-printer): Call it.
15261 (make-pretty-printer-from-dict): New function.
15262 (lookup-pretty-printer-maker-from-dict): New function.
15263 (*pretty-printer*): Simplify.
15264 (make-objfile-pp_s-printer): New function.
15265 (install-objfile-pretty-printers!): New function.
15266 (make-progspace-pp_s-printer): New function.
15267 (install-progspace-pretty-printers!): New function.
15268 * gdb.guile/scm-progspace.c: New file.
15269 * gdb.guile/scm-progspace.exp: New file.
15270
152712014-06-02 Pedro Alves <palves@redhat.com>
15272
15273 * gdb.base/dprintf-bp-same-addr.c: New file.
15274 * gdb.base/dprintf-bp-same-addr.exp: New file.
15275
152762014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15277
15278 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15279 * gdb.arch/powerpc-power.s: Likewise.
15280
152812014-06-02 Joel Brobecker <brobecker@adacore.com>
15282
15283 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15284
152852014-06-01 Yao Qi <yao@codesourcery.com>
15286
15287 * gdb.base/watchpoint.exp (test_watch_location): Check null
15288 pointer can be dereferenced. If not, do the test, otherwise
15289 skip it.
15290
152912014-05-30 Andrew Burgess <aburgess@broadcom.com>
15292
15293 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15294 results.
15295 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15296
152972014-05-30 Andrew Burgess <aburgess@broadcom.com>
15298
15299 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15300 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15301 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15302 * gdb.arch/amd64-invalid-stack-top.c: New file.
15303 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15304
153052014-05-30 Pedro Alves <palves@redhat.com>
15306
15307 PR breakpoints/17000
15308 * gdb.base/sss-bp-on-user-bp.c: New file.
15309 * gdb.base/sss-bp-on-user-bp.exp: New file.
15310
153112014-05-30 David Blaikie <dblaikie@gmail.com>
15312
15313 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15314 gnu_inline semantics via attribute.
15315 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15316 source explicitly specifies the required semantics.
15317
153182014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15319
15320 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15321
153222014-05-29 Pedro Alves <palves@redhat.com>
15323 Tom Tromey <tromey@redhat.com>
15324
15325 * gdb.base/async-shell.exp: Don't enable target-async.
15326 * gdb.base/async.exp
15327 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15328 parameter. Adjust.
15329 (top level): Don't test with "target-async".
15330 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15331 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15332 * gdb.base/inferior-died.exp: Don't enable target-async.
15333 * gdb.base/interrupt-noterm.exp: Likewise.
15334 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15335 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15336 * gdb.mi/mi-nonstop.exp: Likewise.
15337 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15338 * gdb.mi/mi-nsintrall.exp: Likewise.
15339 * gdb.mi/mi-nsmoribund.exp: Likewise.
15340 * gdb.mi/mi-nsthrexec.exp: Likewise.
15341 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15342 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15343 * gdb.python/py-evsignal.exp: Don't enable target-async.
15344 * gdb.python/py-evthreads.exp: Likewise.
15345 * gdb.python/py-prompt.exp: Likewise.
15346 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15347 * gdb.server/solib-list.exp: Don't enable target-async.
15348 * gdb.threads/thread-specific-bp.exp: Likewise.
15349 * lib/mi-support.exp: Adjust to use mi-async.
15350
153512014-05-29 Pedro Alves <palves@redhat.com>
15352
15353 PR gdb/13860
15354 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15355 reason, even in sync mode.
15356
153572014-05-29 Pedro Alves <palves@redhat.com>
15358 Hui Zhu <hui@codesourcery.com>
15359
15360 PR PR15693
15361 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15362 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15363 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15364 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15365
153662014-05-28 Joel Brobecker <brobecker@adacore.com>
15367
15368 * config/monitor.exp (gdb_target_monitor): Replace use of
15369 "set remotebaud" by "set serial baud".
15370
153712014-05-26 Andy Wingo <wingo@igalia.com>
15372
15373 * gdb.guile/scm-breakpoint.exp:
15374 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15375 properties instead of gdb-object-properties.
15376
153772014-05-26 Yao Qi <yao@codesourcery.com>
15378
15379 * gdb.server/no-thread-db.exp: Specify source file name
15380 explicitly when setting a breakpoint.
15381
153822014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15383
15384 * gdb.btrace/vdso.c: New.
15385 * gdb.btrace/vdso.exp: New.
15386
153872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15388
15389 * gdb.base/gcore.exp (capture_command_output): Move ...
15390 * lib/gdb.exp (capture_command_output): ... here.
15391
153922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15393
15394 * gdb.btrace/data.exp: Test memory access during btrace replay.
15395
153962014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15397
15398 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15399
154002014-05-21 Pedro Alves <palves@redhat.com>
15401
15402 PR gdb/13860
15403 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15404 (top level): Test that output related to execution commands is
15405 sent to the console with CLI commands, but not with MI commands.
15406 Test that breakpoint events are always mirrored to the console.
15407 Also expect the new source line to be output after a "next" in
15408 async mode too. Make it a pass/fail test.
15409 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15410 output.
15411 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15412
154132014-05-21 Pedro Alves <palves@redhat.com>
15414
15415 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15416 Use them to test variations of "list" after reaching a breakpoint.
15417 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15418 Test "list" with listsize 10 after reaching a breakpoint.
15419 * gdb.python/python.exp (decode_line current location line
15420 number): Adjust expected line number.
15421
154222014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15423
15424 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15425 behavior for $args, pass it directly to "run".
15426
154272014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15428
15429 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15430 30000 to 65536.
15431
154322014-05-21 Pedro Alves <palves@redhat.com>
15433
15434 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15435 auto-connect-native-target off".
15436 * gdb.base/auto-connect-native-target.c: New file.
15437 * gdb.base/auto-connect-native-target.exp: New file.
15438
154392014-05-21 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.base/default.exp: Test "target native" instead of "target
15442 child".
15443
154442014-05-21 Mark Wielaard <mjw@redhat.com>
15445
15446 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15447
154482014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15449
15450 Fix TLS access for -static -pthread.
15451 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15452 <HAVE_TLS> (thread_function, main): Initialize it.
15453 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15454 Add clean_restart.
15455 <$have_tls != "">: Check TLSVAR.
15456
154572014-05-21 Pedro Alves <palves@redhat.com>
15458
15459 * gdb.base/dcache-line-read-error.c: New.
15460 * gdb.base/dcache-line-read-error.exp: New.
15461
154622014-05-20 Pedro Alves <palves@redhat.com>
15463
15464 * gdb.base/compare-sections.c: New file.
15465 * gdb.base/compare-sections.exp: New file.
15466
154672014-05-20 Pedro Alves <palves@redhat.com>
15468
15469 * gdb.base/break-idempotent.c: New file.
15470 * gdb.base/break-idempotent.exp: New file.
15471
154722014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15473
15474 * gdb.btrace/nohist.exp: New.
15475
154762014-05-20 Yao Qi <yao@codesourcery.com>
15477
15478 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15479 gdb.reverse directory and gdb_reverse_timeout exists in board
15480 setting.
15481 * README: Document gdb_reverse_timeout.
15482
154832014-05-20 Yao Qi <yao@codesourcery.com>
15484
15485 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15486 'test_file_name'. Treat args as a string instead of a list.
15487 (gdb_init): Rename argument 'args' by 'test_file_name'.
15488
154892014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.arch/powerpc-power.exp: New file.
15492 * gdb.arch/powerpc-power.s: New file.
15493
154942014-05-16 Doug Evans <dje@google.com>
15495
15496 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15497 * gdb.base/completion.exp: Check that all expected files exist
15498 before doing file completion.
15499
155002014-05-16 Doug Evans <dje@google.com>
15501
15502 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15503 Update.
15504 (do_syscall_tests_without_xml): Update.
15505
155062014-05-16 Pedro Alves <palves@redhat.com>
15507
15508 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15509 instead of "unknown output after running".
15510
155112014-05-16 Yao Qi <yao@codesourcery.com>
15512
15513 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15514 file1.txt from host at the end.
15515 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15516
155172014-05-15 Doug Evans <dje@google.com>
15518
15519 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15520 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15521 loading file. Add test for TU lookup.
15522
155232014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15524
15525 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15526 calling "-exec-arguments" or "set args" before running the
15527 inferior.
15528
155292014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15530
15531 * lib/mi-support.exp (mi_expect_stop): Expect message for
15532 inferiors that exit with non-zero exit code.
15533
155342014-05-14 Yao Qi <yao@codesourcery.com>
15535
15536 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15537 match absolute path on remote host.
15538 (test_file_list_exec_source_files): Remove "/" from the
15539 pattern.
15540
155412014-05-14 Yao Qi <yao@codesourcery.com>
15542
15543 * boards/local-remote-host-notty.exp (${board}_file): New
15544 proc.
15545
155462014-05-07 Kyle McMartin <kyle@redhat.com>
15547
15548 Pushed by Joel Brobecker <brobecker@adacore.com>.
15549 * gdb.arch/aarch64-atomic-inst.c: New file.
15550 * gdb.arch/aarch64-atomic-inst.exp: New file.
15551
155522014-05-07 Yao Qi <yao@codesourcery.com>
15553
15554 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15555 in current context" too.
15556
155572014-05-05 Keith Seitz <keiths@redhat.com>
15558
15559 * gdb.linespec/ls-dollar.exp: Add test for linespec
15560 file:convenience_variable.
15561
155622014-05-05 Yao Qi <yao@codesourcery.com>
15563
15564 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15565 traceframes into tfile and ctf trace files. Read data from
15566 trace file and test collected data.
15567 (gdb_collect_locals_test): Likewise.
15568 (gdb_unavailable_registers_test): Likewise.
15569 (gdb_unavailable_floats): Likewise.
15570 (gdb_collect_globals_test): Likewise.
15571 (top-level): Append "ctf" to trace_file_targets if GDB
15572 supports.
15573
155742014-05-05 Yao Qi <yao@codesourcery.com>
15575
15576 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15577 code to ...
15578 (gdb_collect_args_test_1): ... it. New proc.
15579 (gdb_collect_locals_test): Move some code to ...
15580 (gdb_collect_locals_test_1): ... it. New proc.
15581 (gdb_unavailable_registers_test): Move some code to ...
15582 (gdb_unavailable_registers_test_1): ... it. New proc.
15583 (gdb_unavailable_floats): Move some code to ...
15584 (gdb_unavailable_floats_1): ... it. New proc.
15585
155862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15587
15588 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15589 probes to test for bitness recognition.
15590 * gdb.arch/amd64-stap-optional-prefix.exp
15591 (test_probe_value_without_reg): New procedure.
15592 Add code to test for different kinds of bitness.
15593
155942014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15595
15596 PR breakpoints/16889
15597 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15598 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15599
156002014-05-01 Pedro Alves <palves@redhat.com>
15601
15602 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15603 gdb_file_cmd if no file is specified.
15604 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15605 last_loaded_file to set the remote exec-file.
15606
156072014-05-01 Pedro Alves <palves@redhat.com>
15608
15609 * boards/local-remote-host.exp: New file.
15610
156112014-05-01 Pedro Alves <palves@redhat.com>
15612
15613 * boards/local-remote-host.exp: Rename to ...
15614 * boards/local-remote-host-notty.exp: ... this.
15615
156162014-04-28 Joel Brobecker <brobecker@adacore.com>
15617
15618 * gdb.ada/dyn_arrayidx: New testcase.
15619
156202014-04-26 Yao Qi <yao@codesourcery.com>
15621
15622 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15623 and compute the length of function main. Save it in
15624 $main_length.
15625 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15626 (top-level): Use gdb_compile to compile objects into
15627 executable and restart GDB. Remove invocation to
15628 prepare_for_testing.
15629
156302014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15631 Pedro Alves <palves@redhat.com>
15632
15633 PR server/16255
15634 * gdb.multi/multi-attach.c: New file.
15635 * gdb.multi/multi-attach.exp: New file.
15636
156372014-04-25 Pedro Alves <palves@redhat.com>
15638
15639 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15640 user.
15641 (top level): Test that "set remote conditional-breakpoints-packet
15642 off" works as intended.
15643 * gdb.base/dprintf.exp: Test that "set remote
15644 breakpoint-commands-packet off" works as intended.
15645 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15646 New function.
15647 (top level): Call it.
15648 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15649 remote fast-tracepoints-packet off" works as intended.
15650 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15651 * lib/gdb.exp (gdb_is_target_remote): ... here.
15652
156532014-04-24 David Blaikie <dblaikie@gmail.com>
15654
15655 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15656 ensure clang would not discard them.
15657 * gdb.base/gdbvars.c: Ditto.
15658 * gdb.base/memattr.c: Ditto.
15659 * gdb.base/whatis.c: Ditto.
15660 * gdb.python/py-prettyprint.c: Ditto.
15661 * gdb.trace/actions.c: Ditto.
15662 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15663 ensure clang would not discard it.
15664
156652014-04-24 David Blaikie <dblaikie@gmail.com>
15666
15667 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15668 clang to emit the full definition of type required by the test
15669 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15670
156712014-04-24 David Blaikie <dblaikie@gmail.com>
15672
15673 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15674 coax Clang into emitting the definition of the type.
15675 * gdb.cp/pr10728-x.h (y): Ditto.
15676 * gdb.cp/pr10728-y.cc (y): Ditto.
15677
156782014-04-24 David Blaikie <dblaikie@gmail.com>
15679
15680 * gdb.base/label.exp: XFAIL label related tests under Clang.
15681 * gdb.cp/cplabel.exp: Ditto.
15682 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15683 under Clang those using labels.
15684
156852014-04-25 Yao Qi <yao@codesourcery.com>
15686
15687 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15688 double_label.
15689 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15690 partial_label and double_label.
15691
156922014-04-24 David Blaikie <dblaikie@gmail.com>
15693
15694 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15695
156962014-04-24 David Blaikie <dblaikie@gmail.com>
15697
15698 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15699 of the function to work across GCC and Clang.
15700 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15701 pointer types (const void ** const V void **).
15702
157032014-04-24 Michael Sturm <michael.sturm@mintel.com>
15704 Walfred Tedeschi <walfred.tedeschi@intel.com>
15705
15706 * Makefile.in (EXECUTABLES): Added i386-avx512.
15707 * gdb.arch/i386-avx512.c: New file.
15708 * gdb.arch/i386-avx512.exp: Likewise.
15709
157102014-04-23 Keith Seitz <keiths@redhat.com>
15711
15712 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15713 (mi_make_breakpoint_table): New procedure.
15714 (mi_create_breakpoint): Use mi_make_breakpoint
15715 and return the result.
15716 (mi_make_breakpoint): New procedure.
15717 (mi_build_kv_pairs): New procedure.
15718
15719 * gdb.mi/mi-break.exp: Remove unused globals,
15720 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15721 All callers updated.
15722 * gdb.mi/mi-dprintf.exp: Use variable to track command
15723 number.
15724 Update all callers of mi_create_breakpoint and use
15725 mi_make_breakpoint_table.
15726 Remove any unused global variables.
15727 * gdb.mi/mi-nonstop.exp: Likewise.
15728 * gdb.mi/mi-nsintrall.exp: Likewise.
15729 * gdb.mi/mi-nsmoribund.exp: Likewise.
15730 * gdb.mi/mi-nsthrexec.exp: Likewise.
15731 * gdb.mi/mi-reverse.exp: Likewise.
15732 * gdb.mi/mi-simplerun.exp: Likewise.
15733 * gdb.mi/mi-stepn.exp: Likewise.
15734 * gdb.mi/mi-syn-frame.exp: Likewise.
15735 * gdb.mi/mi-until.exp: Likewise.
15736 * gdb.mi/mi-var-cp.exp: Likewise.
15737 * gdb.mi/mi-var-display.exp: Likewise.
15738 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15739 * gdb.mi/mi2-var-child.exp: Likewise.
15740 * gdb.mi/mi-vla-c99.exp: Likewise.
15741 * lib/mi-support.exp: Likewise.
15742
15743 From Ian Lance Taylor <iant@cygnus.com>:
15744 * lib/gdb.exp (parse_args): New procedure.
15745
157462014-04-23 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.base/break-unload-file.c: New file.
15749 * gdb.base/break-unload-file.exp: New file.
15750 * gdb.base/sym-file-lib.c (baz): New function.
15751 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15752 field.
15753 (load): Store the segment's mapped size.
15754 (unload): New function.
15755 (unload_shlib): New function.
15756 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15757 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15758 set a breakpoint at baz, and call it.
15759 * gdb.base/sym-file.exp: New tests for stale breakpoint
15760 instructions.
15761
157622014-04-23 Pedro Alves <palves@redhat.com>
15763
15764 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15765 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15766 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15767 * gdb.base/hbreak-unmapped.c: New file.
15768 * gdb.base/hbreak-unmapped.exp: New file.
15769 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15770 * lib/gdb.exp (gdb_is_target_remote): ... here.
15771
157722014-04-22 Pedro Alves <palves@redhat.com>
15773
15774 * gdb.base/consecutive-step-over.c: New file.
15775 * gdb.base/consecutive-step-over.exp: New file.
15776
157772014-04-22 Pedro Alves <palves@redhat.com>
15778
15779 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15780 instead of send_gdb/gdb_expect.
15781
157822014-04-22 Yao Qi <yao@codesourcery.com>
15783
15784 * lib/trace-support.exp (generate_tracefile): New procedure.
15785 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15786 return 0.
15787 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15788 if generate_tracefile returns 1.
15789
157902014-04-18 Tom Tromey <palves@redhat.com>
15791 Pedro alves <tromey@redhat.com>
15792
15793 PR backtrace/15558
15794 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15795 with a backtrace limit.
15796 * gdb.python/py-frame-inline.exp: Test running to an inline
15797 function with a backtrace limit, and printing the newest frame.
15798 * gdb.python/py-frame-inline.c (main): Call f.
15799
158002014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15801
15802 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15803
158042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15805
15806 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15807 Drop prefix from unsupported source file path.
15808
158092014-04-17 Yao Qi <yao@codesourcery.com>
15810
15811 * lib/gdb.exp (with_target_charset): New proc.
15812 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15813 with_target_charset.
15814 (test_print_strings): Likewise.
15815 (test_repeat_bytes): Likewise.
15816 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15817 for some tests.
15818
158192014-04-16 Keith Seitz <keiths@redhat.com>
15820
15821 PR gdb/15827
15822 * gdb.dwarf2/corrupt.c: New file.
15823 * gdb.dwarf2/corrupt.exp: New file.
15824
158252014-04-16 Keith Seitz <keiths@redhat.com>
15826
15827 PR c++/16597
15828 * gdb.cp/namelessclass.cc: New file.
15829 * gdb.cp/namelessclass.exp: New file.
15830 * gdb.cp/namelessclass.S: New file.
15831
158322014-04-16 Doug Evans <dje@google.com>
15833
15834 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15835 Add comment.
15836 (gdbserver_default_get_comm_port): New function.
15837 (gdbserver_start): Check if board file provided
15838 "gdbserver,get_comm_port" and use it if so.
15839 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15840 (gdb,socketport): Set to "stdio".
15841 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15842 (stdio_gdbserver_template): Delete.
15843 (${board}_get_remote_address): Update.
15844 (${board}_build_remote_cmd): Delete.
15845 (${board}_get_comm_port): New function.
15846 (${board}_spawn): Update.
15847 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15848 Delete.
15849 (${board}_get_remote_address): Update.
15850 (${board}_get_comm_port): New function.
15851
158522014-04-16 Andrew Burgess <aburgess@broadcom.com>
15853
15854 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15855 appearing in any order.
15856
158572014-04-15 Doug Evans <dje@google.com>
15858
15859 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15860 uninitialized value of "description".
15861
158622014-04-15 Keith Seitz <keiths@redhat.com>
15863
15864 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15865 Remove unused globals.
15866 (test_running_the_program): Likewise.
15867 (test_controlled_execution): Likewise.
15868 (test_controlling_breakpoints): Likewise.
15869 (test_program_termination): Likewise.
15870
158712014-04-15 Keith Seitz <keiths@redhat.com>
15872
15873 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15874 unused globals.
15875 (test_rbreak_creation_and_listing): Likewise.
15876 (test_ignore_count): Likewise.
15877 (test_error): Likewise.
15878
158792014-04-15 Pedro Alves <palves@redhat.com>
15880
15881 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15882 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15883 sym-file-loader.c.
15884 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15885 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15886 to sym-file-loader.c.
15887 (struct library): Forward declare.
15888 (load_shlib, lookup_function): Change prototypes.
15889 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15890 (translate_offset): Remove declarations.
15891 (get_text_addr): New declaration.
15892 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15893 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15894 sym-file-loader.h.
15895 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15896 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15897 here from sym-file-loader.h.
15898 (struct library): New structure.
15899 (load_shlib, lookup_function): Change prototypes and adjust to
15900 work with a struct library.
15901 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15902 (translate_offset): Make static.
15903 (get_text_addr): New function.
15904 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15905
159062014-04-15 Pedro Alves <palves@redhat.com>
15907
15908 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15909
159102014-04-15 Pedro Alves <palves@redhat.com>
15911
15912 * gdb.base/sym-file-loader.c: Include <limits.h>.
15913 (SELF_LINK): New define.
15914 (get_origin): New function.
15915 (load_shlib): Use it.
15916 * gdb.base/sym-file.exp: Don't early return if the target is
15917 remote. Use runto_main, and issue fail is that fails. Use
15918 gdb_load_shlibs.
15919 (shlib_name): Delete.
15920 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15921
159222014-04-15 Pedro Alves <palves@redhat.com>
15923
15924 * gdb.base/sym-file.exp: Remove regex characters from test
15925 message. Don't refer to breakpoint numbers in test messages.
15926
159272014-04-14 Keith Seitz <keiths@redhat.com>
15928
15929 PR c++/16253
15930 * gdb.cp/var-tag.cc: New file.
15931 * gdb.cp/var-tag.exp: New file.
15932 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15933 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15934 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15935 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15936
159372014-04-14 Tom Tromey <tromey@redhat.com>
15938
15939 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15940 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15941 type.
15942 * gdb.cp/enum-class.exp: New file.
15943 * gdb.cp/enum-class.cc: New file.
15944
159452014-04-14 Tom Tromey <tromey@redhat.com>
15946
15947 * gdb.dwarf2/enum-type.exp: New file.
15948
159492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15950
15951 * gdb.mi/mi-vla-c99.exp: New file.
15952 * gdb.mi/vla.c: New file.
15953
159542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15955
15956 * gdb.base/vla-datatypes.c: New file.
15957 * gdb.base/vla-datatypes.exp: New file.
15958
159592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15960
15961 * gdb.base/vla-ptr.c: New file.
15962 * gdb.base/vla-ptr.exp: New file.
15963
159642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15965
15966 * gdb.dwarf2/count.exp: New file.
15967
159682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15969
15970 * gdb.base/vla-sideeffect.c: New file.
15971 * gdb.base/vla-sideeffect.exp: New file.
15972
159732014-04-14 David Blaikie <dblaikie@gmail.com>
15974
15975 * gdb.mi/non-stop.c: Add return value for non-void function return
15976 statement.
15977 * gdb.threads/staticthreads.c: Ditto.
15978
159792014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15980 Doug Evans <xdje42@gmail.com>
15981
15982 * gdb.guile/scm-value.c: Improve test case.
15983 * gdb.guile/scm-value.exp: Add new test.
15984
159852014-04-11 David Blaikie <dblaikie@gmail.com>
15986
15987 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15988 override Clang's default.
15989
159902014-04-11 Joel Brobecker <brobecker@adacore.com>
15991
15992 Revert the following changes (regressions):
15993
15994 * gdb.base/vla-sideeffect.c: New file.
15995 * gdb.base/vla-sideeffect.exp: New file.
15996
15997 * gdb.dwarf2/count.exp: New file.
15998
15999 * gdb.base/vla-multi.c: New file.
16000 * gdb.base/vla-multi.exp: New file.
16001
16002 * gdb.base/vla-ptr.c: New file.
16003 * gdb.base/vla-ptr.exp: New file.
16004
16005 * gdb.base/vla-datatypes.c: New file.
16006 * gdb.base/vla-datatypes.exp: New file.
16007
16008 * gdb.mi/mi-vla-c99.exp: New file.
16009 * gdb.mi/vla.c: New file.
16010
160112014-04-11 Keith Seitz <keiths@redhat.com>
16012
16013 PR c++/16675
16014 * gdb.cp/cpsizeof.exp: New file.
16015 * gdb.cp/cpsizeof.cc: New file.
16016
160172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16018
16019 * gdb.mi/mi-vla-c99.exp: New file.
16020 * gdb.mi/vla.c: New file.
16021
160222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16023
16024 * gdb.base/vla-datatypes.c: New file.
16025 * gdb.base/vla-datatypes.exp: New file.
16026
160272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16028
16029 * gdb.base/vla-ptr.c: New file.
16030 * gdb.base/vla-ptr.exp: New file.
16031
160322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16033
16034 * gdb.base/vla-multi.c: New file.
16035 * gdb.base/vla-multi.exp: New file.
16036
160372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16038
16039 * gdb.dwarf2/count.exp: New file.
16040
160412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16042
16043 * gdb.base/vla-sideeffect.c: New file.
16044 * gdb.base/vla-sideeffect.exp: New file.
16045
160462014-04-11 Yao Qi <yao@codesourcery.com>
16047
16048 * gdb.base/completion.exp: Check file exists before running tests
16049 on file completion.
16050
160512014-04-10 Pedro Alves <palves@redhat.com>
16052
16053 * gdb.base/cond-eval-mode.c: New file.
16054 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16055 prepare_for_testing to build the new file. Check result of
16056 runto_main.
16057 (test_break, test_watch): New procedures.
16058 (top level): Use them.
16059
160602014-04-08 Pierre Muller <muller@sourceware.org>
16061
16062 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16063 Ctrl-V use for mingw hosts.
16064
160652014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16066
16067 * gdb.python/py-value.c: Improve test case.
16068 * gdb.python/py-value.exp: Add new test.
16069
160702014-04-07 David Blaikie <dblaikie@gmail.com>
16071
16072 * lib/compiler.c: Identify the clang compiler.
16073 * lib/compiler.cc: Ditto.
16074
160752014-04-03 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16078
160792014-04-01 Anton Blanchard <anton@samba.org>
16080
16081 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16082 messages unique.
16083
160842014-04-01 Anton Blanchard <anton@samba.org>
16085
16086 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16087 prepare_for_testing.
16088
160892014-04-01 Anton Blanchard <anton@samba.org>
16090
16091 * gdb.arch/ppc64-atomic-inst.c: Remove.
16092 * gdb.arch/ppc64-atomic-inst.S: New file.
16093 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16094
160952014-03-31 Doug Evans <dje@google.com>
16096
16097 * gdb.base/print-symbol-loading-lib.c: New file.
16098 * gdb.base/print-symbol-loading-main.c: New file.
16099 * gdb.base/print-symbol-loading.exp: New file.
16100
161012014-03-31 Yao Qi <yao@codesourcery.com>
16102
16103 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16104
161052014-03-28 Joel Brobecker <brobecker@adacore.com>
16106
16107 * gdb.ada/mi_dyn_arr: New testcase.
16108
161092014-03-27 Doug Evans <dje@google.com>
16110
16111 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16112
161132014-03-27 Yao Qi <yao@codesourcery.com>
16114
16115 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16116 if target is nios2-*-*.
16117
161182014-03-26 Yao Qi <yao@codesourcery.com>
16119
16120 * lib/gdb.exp (readline_is_used): New proc.
16121 * gdb.base/completion.exp: Move tests on command complete up.
16122 Skip the rest of tests if readline is not used.
16123 * gdb.ada/complete.exp: Skp the test if readline is not
16124 used.
16125 * gdb.base/filesym.exp: Likewise.
16126 * gdb.base/macscp.exp: Likewise.
16127 * gdb.base/readline-ask.exp: Likewise.
16128 * gdb.base/readline.exp: Likewise.
16129 * gdb.python/py-cmd.exp: Likewise.
16130 * gdb.trace/tfile.exp: Likewise.
16131
161322014-03-26 Yao Qi <yao@codesourcery.com>
16133
16134 * gdb.base/macscp.exp: Fix code format issues.
16135
161362014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16137
16138 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16139 * gdb.asm/powerpc64le.inc: New file.
16140
161412014-03-25 Pedro Alves <palves@redhat.com>
16142 Doug Evans <dje@google.com>
16143
16144 * gdb.base/source-execution.c: New file.
16145 * gdb.base/source-execution.exp: New file.
16146 * gdb.base/source-execution.gdb: New file.
16147
161482014-03-24 Doug Evans <dje@google.com>
16149
16150 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16151 using fission.
16152
161532014-03-24 Hui Zhu <hui@codesourcery.com>
16154 Pedro Alves <palves@redhat.com>
16155
16156 PR breakpoints/16101
16157 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16158 test pass/fail messages. Detect missing support for dprintf when
16159 breakpoints are actually inserted.
16160 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16161 breakpoints are actually inserted.
16162 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16163 fails.
16164
161652014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16166
16167 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16168
161692014-03-22 Doug Evans <xdje42@gmail.com>
16170
16171 * gdb.python/python.exp (python not supported): Verify multi-line
16172 python command issues an error.
16173 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16174 guile command issues an error.
16175
161762014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16177
16178 * gdb.threads/thread-specific.exp: Handle the lack of usable
16179 $this_breakpoint and $this_thread.
16180
161812014-03-21 Hui Zhu <hui@codesourcery.com>
16182
16183 * gdb.base/attach.exp (do_command_attach_tests): New.
16184
161852014-03-20 Tom Tromey <tromey@redhat.com>
16186 Pedro Alves <palves@redhat.com>
16187
16188 PR cli/15718
16189 * gdb.base/condbreak-call-false.c: New file.
16190 * gdb.base/condbreak-call-false.exp: New file.
16191
161922014-03-20 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16195 Delete.
16196 (block_signals, unblock_signals): Delete.
16197 (child_function_2, main): Remove references to deleted variable
16198 and functions.
16199
162002014-03-20 Pedro Alves <palves@redhat.com>
16201
16202 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16203 Use pthread_kill to signal thread 2.
16204 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16205 Adjust to make the test send itself a signal rather than using the
16206 host's "kill" command.
16207
162082014-03-20 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.threads/multiple-step-overs.c: New file.
16211 * gdb.threads/multiple-step-overs.exp: New file.
16212 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16213 Adjust expected infrun debug output.
16214
162152014-03-20 Pedro Alves <palves@redhat.com>
16216
16217 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16218 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16219
162202014-03-20 Pedro Alves <palves@redhat.com>
16221
16222 PR breakpoints/7143
16223 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16224 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16225 of gdb_test_multiple.
16226 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16227 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16228
162292014-03-20 Pedro Alves <palves@redhat.com>
16230
16231 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16232 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16233
162342014-03-19 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.base/async.exp: Remove early return.
16237
162382014-03-19 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16241
162422014-03-19 Pedro Alves <palves@redhat.com>
16243
16244 * gdb.base/async.exp (test_background): Expect \r\n after
16245 "completed." in the fail pattern.
16246
162472014-03-19 Pedro Alves <palves@redhat.com>
16248
16249 * gdb.base/async.exp (test_background): New procedure.
16250 Use it for all background execution command tests.
16251
162522014-03-19 Pedro Alves <palves@redhat.com>
16253
16254 * gdb.base/async.exp: Use prepare_for_testing.
16255
162562014-03-19 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16259 the same line.
16260
162612014-03-19 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.base/async.c (main): Add "jump here" and "until here" line
16264 marker comments.
16265 * gdb.base/async.exp (jump_here): New global.
16266 (jump& test): Use it.
16267 (until_here): New global.
16268 (until& test): Use it.
16269
162702014-03-19 Pedro Alves <palves@redhat.com>
16271
16272 * gdb.base/async.exp: Don't frob gdb_protocol.
16273
162742014-03-18 Doug Evans <xdje42@gmail.com>
16275
16276 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16277 Fix spelling of exec-done-display.
16278
162792014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16280
16281 PR gdb/15358
16282 * gdb.base/gdb-sigterm.c: New file.
16283 * gdb.base/gdb-sigterm.exp: New file.
16284
162852014-03-18 Pedro Alves <palves@redhat.com>
16286
16287 PR gdb/13860
16288 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16289 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16290 solib-event.
16291
162922014-03-17 Joel Brobecker <brobecker@adacore.com>
16293
16294 * gdb.ada/pckd_arr_ren: New testcase.
16295
162962014-03-13 Doug Evans <xdje42@gmail.com>
16297
16298 PR guile/16612
16299 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16300 collect after discarding symbols.
16301
163022014-03-13 Ludovic Courtès <ludo@gnu.org>
16303 Doug Evans <xdje42@gmail.com>
16304
16305 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16306 to history survives a gc.
16307
163082014-03-13 Pedro Alves <palves@redhat.com>
16309
16310 * gdb.base/default.exp: Don't test "target procfs".
16311
163122014-03-13 Pedro Alves <palves@redhat.com>
16313
16314 * gdb.base/default.exp: Update "target child" and "target procfs"
16315 tests to not expect "Unix".
16316
163172014-03-12 Tom Tromey <tromey@redhat.com>
16318
16319 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16320 New procs. Add target-async tests.
16321 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16322 Add target-async tests.
16323
163242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16325
16326 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16327 'func_start' and 'func_end' for the beginning and end of the
16328 function code, respectively.
16329 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16330 'func_end' instead of 'func' and 'main'.
16331
163322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16333
16334 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16335 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16336 generate the debug info assembler source.
16337
163382014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16339
16340 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16341 * gdb.dwarf2/arr-subrange.exp: Likewise.
16342 * gdb.dwarf2/dwz.exp: Likewise.
16343 * gdb.dwarf2/method-ptr.exp: Likewise.
16344 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16345 * gdb.dwarf2/subrange.exp: Likewise.
16346 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16347 * gdb.dwarf2/implptrpiece.exp: Likewise.
16348 * gdb.dwarf2/nostaticblock.exp: Likewise.
16349
163502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16351
16352 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16353 directory to absolute path name arguments.
16354
163552014-03-10 Joel Brobecker <brobecker@adacore.com>
16356
16357 * gdb.ada/tagged_access: New testcase.
16358
163592014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16360
16361 * gdb.btrace/data.exp: Update expected output.
16362
163632014-03-06 Yao Qi <yao@codesourcery.com>
16364
16365 * gdb.trace/pr16508.exp: New file.
16366
163672014-03-05 Pedro Alves <palves@redhat.com>
16368
16369 PR gdb/16575
16370 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16371 procedure.
16372 (top level): Adjust to use it. Add tests that exercise breakpoint
16373 interaction with the code-cache.
16374
163752014-02-26 Ludovic Courtès <ludo@gnu.org>
16376
16377 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16378 test for 'history-append!'.
16379
163802014-02-26 Joel Brobecker <brobecker@adacore.com>
16381
16382 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16383 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16384 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16385 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16386 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16387 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16388
163892014-02-26 Joel Brobecker <brobecker@adacore.com>
16390
16391 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16392 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16393 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16394
163952014-02-26 Joel Brobecker <brobecker@adacore.com>
16396
16397 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16398
163992014-02-26 Joel Brobecker <brobecker@adacore.com>
16400
16401 * gdb.dwarf2/arr-stride.c: New file.
16402 * gdb.dwarf2/arr-stride.exp: New file.
16403
164042014-02-26 Pedro Alves <palves@redhat.com>
16405
16406 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16407 that won't ever trigger. Make sure that GDB reports the correct
16408 breakpoint that caused the stop.
16409
164102014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16411
16412 PR gdb/16626
16413 * gdb.base/auto-load-script: New file.
16414 * gdb.base/auto-load.c: New file.
16415 * gdb.base/auto-load.exp: New file.
16416
16417 PR gdb/16626
16418 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16419
164202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16421
16422 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16423 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16424
164252014-02-24 Doug Evans <dje@google.com>
16426
16427 * lib/gdb.exp (run_on_host): Log error output if program fails.
16428
164292014-02-21 Pedro Alves <palves@redhat.com>
16430
16431 * gdb.threads/step-after-sr-lock.c: Rename to ...
16432 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16433 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16434 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16435 ... this.
16436
164372014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16438
16439 PR tdep/16397
16440 * gdb.arch/amd64-stap-special-operands.exp: New file.
16441 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16442 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16443 * gdb.arch/amd64-stap-triplet.S: Likewise.
16444 * gdb.arch/amd64-stap-triplet.c: Likewise.
16445
164462014-02-20 Joel Brobecker <brobecker@adacore.com>
16447
16448 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16449 in .section pseudo-op.
16450
164512014-02-20 lin zuojian <manjian2006@gmail.com>
16452 Joel Brobecker <brobecker@adacore.com>
16453 Doug Evans <xdje42@gmail.com>
16454
16455 PR symtab/16581
16456 * gdb.dwarf2/dw2-icycle.S: New file.
16457 * gdb.dwarf2/dw2-icycle.c: New file.
16458 * gdb.dwarf2/dw2-icycle.exp: New file.
16459
164602014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16461
16462 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16463 operations on gdb.Value objects.
16464 * gdb.python/py-value-cc.exp: Add new test to test operations on
16465 gdb.Value objects.
16466
164672014-02-18 Doug Evans <dje@google.com>
16468
16469 * Makefile.in (TESTS): New variable.
16470 (expanded_tests, expanded_tests_or_none): New variables
16471 (check-single): Pass $(expanded_tests_or_none) to runtest.
16472 (check-parallel): Only run tests in $(TESTS) if non-empty.
16473 (check/no-matching-tests-found): New rule.
16474 * README: Document TESTS makefile variable.
16475
164762014-02-18 Doug Evans <dje@google.com>
16477
16478 * Makefile.in (check-parallel): rm -rf outputs temp.
16479
164802014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16481
16482 Fix "ERROR: no fileid for" in the testsuite.
16483 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16484
164852014-02-12 Doug Evans <dje@google.com>
16486
16487 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16488 (MISCELLANEOUS): New variable.
16489 (clean): rm -rf $(MISCELLANEOUS).
16490 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16491 dwp live in the same directory as symlinks, with each symlink pointed
16492 to a differently named file in a different directory.
16493
164942014-02-11 Doug Evans <dje@google.com>
16495
16496 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16497 of Tcl file commands.
16498
164992014-02-10 Mark Kettenis <kettenis@gnu.org>
16500
16501 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16502 "kill -SIGUSR1 -1".
16503
165042014-02-10 Joel Brobecker <brobecker@adacore.com>
16505
16506 * gdb.ada/tick_length_array_enum_idx: New testcase.
16507
165082014-02-10 Doug Evans <xdje42@gmail.com>
16509
16510 * configure.ac (AC_OUTPUT): Add gdb.guile.
16511 * configure: Regenerate.
16512 * lib/gdb-guile.exp: New file.
16513 * lib/gdb.exp (get_target_charset): New function.
16514 * gdb.base/help.exp: Update expected output from "apropos apropos".
16515 * gdb.guile/Makefile.in: New file.
16516 * gdb.guile/guile.exp: New file.
16517 * gdb.guile/scm-arch.c: New file.
16518 * gdb.guile/scm-arch.exp: New file.
16519 * gdb.guile/scm-block.c: New file.
16520 * gdb.guile/scm-block.exp: New file.
16521 * gdb.guile/scm-breakpoint.c: New file.
16522 * gdb.guile/scm-breakpoint.exp: New file.
16523 * gdb.guile/scm-disasm.c: New file.
16524 * gdb.guile/scm-disasm.exp: New file.
16525 * gdb.guile/scm-equal.c: New file.
16526 * gdb.guile/scm-equal.exp: New file.
16527 * gdb.guile/scm-error.exp: New file.
16528 * gdb.guile/scm-error.scm: New file.
16529 * gdb.guile/scm-frame-args.c: New file.
16530 * gdb.guile/scm-frame-args.exp: New file.
16531 * gdb.guile/scm-frame-args.scm: New file.
16532 * gdb.guile/scm-frame-inline.c: New file.
16533 * gdb.guile/scm-frame-inline.exp: New file.
16534 * gdb.guile/scm-frame.c: New file.
16535 * gdb.guile/scm-frame.exp: New file.
16536 * gdb.guile/scm-generics.exp: New file.
16537 * gdb.guile/scm-gsmob.exp: New file.
16538 * gdb.guile/scm-iterator.c: New file.
16539 * gdb.guile/scm-iterator.exp: New file.
16540 * gdb.guile/scm-math.c: New file.
16541 * gdb.guile/scm-math.exp: New file.
16542 * gdb.guile/scm-objfile-script-gdb.in: New file.
16543 * gdb.guile/scm-objfile-script.c: New file.
16544 * gdb.guile/scm-objfile-script.exp: New file.
16545 * gdb.guile/scm-objfile.c: New file.
16546 * gdb.guile/scm-objfile.exp: New file.
16547 * gdb.guile/scm-ports.exp: New file.
16548 * gdb.guile/scm-pretty-print.c: New file.
16549 * gdb.guile/scm-pretty-print.exp: New file.
16550 * gdb.guile/scm-pretty-print.scm: New file.
16551 * gdb.guile/scm-section-script.c: New file.
16552 * gdb.guile/scm-section-script.exp: New file.
16553 * gdb.guile/scm-section-script.scm: New file.
16554 * gdb.guile/scm-symbol.c: New file.
16555 * gdb.guile/scm-symbol.exp: New file.
16556 * gdb.guile/scm-symtab-2.c: New file.
16557 * gdb.guile/scm-symtab.c: New file.
16558 * gdb.guile/scm-symtab.exp: New file.
16559 * gdb.guile/scm-type.c: New file.
16560 * gdb.guile/scm-type.exp: New file.
16561 * gdb.guile/scm-value-cc.cc: New file.
16562 * gdb.guile/scm-value-cc.exp: New file.
16563 * gdb.guile/scm-value.c: New file.
16564 * gdb.guile/scm-value.exp: New file.
16565 * gdb.guile/source2.scm: New file.
16566 * gdb.guile/types-module.cc: New file.
16567 * gdb.guile/types-module.exp: New file.
16568
165692014-02-10 Yao Qi <yao@codesourcery.com>
16570
16571 PR testsuite/16543
16572 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16573 * configure: Regenerated.
16574 * Makefile.in: New file.
16575
165762014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16577
16578 * gdb.python/py-framefilter.exp: Fix typo.
16579
165802014-02-08 Yao Qi <yao@codesourcery.com>
16581
16582 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16583 that no =breakpoint-modified is emitted when breakpoints are
16584 modified through MI commands.
16585
165862014-02-07 Pedro Alves <pedro@codesourcery.com>
16587 Pedro Alves <palves@redhat.com>
16588
16589 * gdb.threads/step-after-sr-lock.c: New file.
16590 * gdb.threads/step-after-sr-lock.exp: New file.
16591
165922014-02-07 Pedro Alves <palves@redhat.com>
16593
16594 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16595
165962014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16597
16598 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16599 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16600
166012014-02-06 Doug Evans <xdje42@gmail.com>
16602
16603 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16604 output.
16605
16606 * gdb.gdb/python-interrupts.exp: New file.
16607
166082014-02-05 Yao Qi <yao@codesourcery.com>
16609
16610 * gdb.trace/report.exp (use_collected_data): Test the output
16611 of "info threads" and "info inferiors".
16612
166132014-02-05 Yao Qi <yao@codesourcery.com>
16614
16615 Revert this patch:
16616
16617 2013-05-24 Yao Qi <yao@codesourcery.com>
16618
16619 * gdb.trace/tfile.exp: Test inferior and thread.
16620
166212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16622
16623 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16624 on a function.
16625 * gdb.base/step-bt.c: Call hello via function pointer to make
16626 sure its first instruction is executed on powerpc64le-linux.
16627
166282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16629
16630 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16631
166322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16633
16634 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16635 of the test patterns for use on little-endian systems.
16636
166372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16638
16639 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16640 (decimal_vector): Fix for little-endian.
16641
166422014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16643
16644 * gdb.arch/sparc-sysstep.exp: New file.
16645 * gdb.arch/sparc-sysstep.c: Likewise.
16646
16647 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16648
166492014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16650
16651 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16652
166532014-01-23 Tom Tromey <tromey@redhat.com>
16654
16655 * gdb.ada/array_char_idx: New testcase.
16656
166572014-01-23 Tom Tromey <tromey@redhat.com>
16658
16659 PR python/16487:
16660 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16661 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16662 classes.
16663
166642014-01-23 Tom Tromey <tromey@redhat.com>
16665
16666 PR python/16491:
16667 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16668 string from an inferior frame.
16669 * gdb.python/py-framefilter-mi.exp: Update.
16670
166712014-01-22 Doug Evans <dje@google.com>
16672
16673 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16674
166752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16676
16677 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16678
166792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16680
16681 * gdb.trace/entry-values.exp: Remove excess space character from
16682 regex patterns. Handle s390 call instruction.
16683
166842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16685
16686 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16687 define "*_start" label. Make "name" static.
16688 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16689 ${name} by references to ${name}_start.
16690
166912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16692
16693 * gdb.base/info-macros.exp: Remove "debug" from the compile
16694 options.
16695
166962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16697
16698 * gdb.dlang/demangle.exp: New file.
16699
167002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16701
16702 * gdb.dlang/primitive-types.exp: New file.
16703
167042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16705
16706 * configure.ac: Create gdb.dlang/Makefile.
16707 * configure: Regenerate.
16708 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16709 * gdb.dlang/Makefile.in: New file.
16710 * lib/d-support.exp: New file.
16711 * lib/gdb.exp (skip_d_tests): New proc.
16712
167132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16714
16715 * gdb.btrace/delta.exp: Check reverse stepi.
16716 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16717 * gdb.btrace/finish.exp: New.
16718 * gdb.btrace/next.exp: New.
16719 * gdb.btrace/nexti.exp: New.
16720 * gdb.btrace/record_goto.c: Add comments.
16721 * gdb.btrace/step.exp: New.
16722 * gdb.btrace/stepi.exp: New.
16723 * gdb.btrace/multi-thread-step.c: New.
16724 * gdb.btrace/multi-thread-step.exp: New.
16725 * gdb.btrace/rn-dl-bind.c: New.
16726 * gdb.btrace/rn-dl-bind.exp: New.
16727 * gdb.btrace/data.c: New.
16728 * gdb.btrace/data.exp: New.
16729 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16730
167312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16732
16733 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16734 * gdb.btrace/exception.exp: Update.
16735 * gdb.btrace/instruction_history.exp: Update.
16736 * gdb.btrace/record_goto.exp: Update.
16737 * gdb.btrace/tailcall.exp: Update.
16738 * gdb.btrace/unknown_functions.exp: Update.
16739 * gdb.btrace/delta.exp: New.
16740
167412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16742
16743 * gdb.btrace/record_goto.exp: Add backtrace test.
16744 * gdb.btrace/tailcall.exp: Add backtrace test.
16745
167462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16747
16748 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16749 * gdb.btrace/record_goto.c: New.
16750 * gdb.btrace/record_goto.exp: New.
16751 * gdb.btrace/x86-record_goto.S: New.
16752
167532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16754
16755 * gdb.btrace/function_call_history.exp: Update tests.
16756 * gdb.btrace/instruction_history.exp: Update tests.
16757
167582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16759
16760 * gdb.btrace/function_call_history.exp: Fix expected field
16761 order for "record function-call-history".
16762 Add new tests for "record function-call-history /c".
16763 * gdb.btrace/exception.cc: New.
16764 * gdb.btrace/exception.exp: New.
16765 * gdb.btrace/tailcall.exp: New.
16766 * gdb.btrace/x86-tailcall.S: New.
16767 * gdb.btrace/x86-tailcall.c: New.
16768 * gdb.btrace/unknown_functions.c: New.
16769 * gdb.btrace/unknown_functions.exp: New.
16770 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16771
167722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16773
16774 * gdb.btrace/instruction_history.exp: Update.
16775 * gdb.btrace/function_call_history.exp: Update.
16776
167772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16778
16779 * gdb.btrace/function_call_history.exp: Fix expected function
16780 trace.
16781 * gdb.btrace/instruction_history.exp: Initialize traced.
16782 Remove traced_functions.
16783
167842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16785
16786 * gdb.btrace/function_call_history.exp: Update
16787 * gdb.btrace/instruction_history.exp: Update.
16788
167892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16790
16791 * gdb.btrace/enable.exp: Update expected text.
16792
167932014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16794
16795 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16796 bytes.
16797
167982014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16799
16800 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16801
168022014-01-15 Omair Javaid <omair.javaid@linaro.org>
16803
16804 * lib/gdb.exp (supports_process_record): Return true for
16805 arm*-linux*. (supports_reverse): Likewise.
16806
168072014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16808
16809 PR python/15464
16810 PR python/16113
16811 * gdb.python/py-type.c: Enhance test case.
16812 * gdb.python/py-value-cc.cc: Likewise
16813 * gdb.python/py-type.exp: Add new tests.
16814 * gdb.python/py-value-cc.exp: Likewise
16815
168162014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16817 Pedro Alves <palves@redhat.com>
16818
16819 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16820 Make "name" extern.
16821 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16822 references to ${name}_start by references to ${name}.
16823
168242014-01-10 Joel Brobecker <brobecker@adacore.com>
16825
16826 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16827
168282014-01-10 Joel Brobecker <brobecker@adacore.com>
16829
16830 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16831
168322014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16833 Pedro Alves <palves@redhat.com>
16834
16835 * gdb.mi/mi-info-os.exp: Connect to the target with
16836 mi_gdb_target_load.
16837
168382014-01-08 Pedro Alves <palves@redhat.com>
16839
16840 * gdb.threads/reconnect-signal.c: New file.
16841 * gdb.threads/reconnect-signal.exp: New file.
16842
168432014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16844
16845 * gdb.base/source-dir.exp: New file.
16846
168472014-01-07 Joel Brobecker <brobecker@adacore.com>
16848
16849 * gdb.ada/mi_interface: New testcase.
16850
168512014-01-07 Joel Brobecker <brobecker@adacore.com>
16852
16853 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16854 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16855 gdb.ada/pp-rec-component/pck.ads: New files.
16856
168572014-01-07 Joel Brobecker <brobecker@adacore.com>
16858
16859 * gdb.python/py-pp-integral.c: New file.
16860 * gdb.python/py-pp-integral.py: New file.
16861 * gdb.python/py-pp-integral.exp: New file.
16862
16863For older changes see ChangeLog-1993-2013.
16864\f
16865;; Local Variables:
16866;; mode: change-log
16867;; left-margin: 8
16868;; fill-column: 74
16869;; version-control: never
16870;; End:
16871
16872 Copyright 2014-2019 Free Software Foundation, Inc.
16873 Copying and distribution of this file, with or without modification,
16874 are permitted provided the copyright notice and this notice are preserved.
This page took 0.077832 seconds and 4 git commands to generate.