]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Test 'set print frame-info|frame-arguments presence'.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2
3 * gdb.base/options.exp: Update backtrace - completion to
4 new option -frame-info.
5 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6 Test new 'set print frame-info'. Test backtrace -frame-info
7 overriding 'set print frame-info'.
8 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
9 Test new 'set print frame-info'.
10 Verify consistency of backtrace with and without filters, with and
11 without -no-filters.
12 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
13 default.
14
15 2019-07-29 Tom de Vries <tdevries@suse.de>
16
17 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
18 no arguments".
19
20 2019-07-29 Tom de Vries <tdevries@suse.de>
21
22 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
23 is a substring of the first for "complete non-unique file name".
24
25 2019-07-29 Tom de Vries <tdevries@suse.de>
26
27 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
28 with ".*".
29
30 2019-07-29 Tom de Vries <tdevries@suse.de>
31
32 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
33 Pass prompt_regexp parameter to gdb_test_multiple calls.
34
35 2019-07-29 Tom de Vries <tdevries@suse.de>
36
37 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
38 print registers" regexps.
39
40 2019-07-29 Tom de Vries <tdevries@suse.de>
41
42 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
43
44 2019-07-29 Tom de Vries <tdevries@suse.de>
45
46 PR gdb/24855
47 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
48 (skip_python_tests_prompt): Add prompt_regexp argument to
49 gdb_test_multiple calls.
50
51 2019-07-27 Tom Tromey <tom@tromey.com>
52
53 * gdb.tui/main.exp: New file.
54
55 2019-07-27 Tom Tromey <tom@tromey.com>
56
57 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
58 optional.
59 * gdb.tui/empty.exp: New file.
60
61 2019-07-27 Tom Tromey <tom@tromey.com>
62
63 * lib/tuiterm.exp (spawn): New proc.
64 (Term::resize): New proc.
65 * gdb.tui/resize.exp: New file.
66
67 2019-07-27 Tom Tromey <tom@tromey.com>
68
69 * gdb.tui/list.exp: New file.
70
71 2019-07-27 Tom Tromey <tom@tromey.com>
72
73 * gdb.tui/regs.exp: New file.
74
75 2019-07-27 Tom Tromey <tom@tromey.com>
76
77 * gdb.tui/basic.exp: Add "layout split" test.
78
79 2019-07-27 Tom Tromey <tom@tromey.com>
80
81 * gdb.tui/basic.exp: Add "layout asm" test.
82
83 2019-07-27 Tom Tromey <tom@tromey.com>
84
85 * lib/tuiterm.exp: New file.
86 * gdb.tui/basic.exp: New file.
87
88 2019-07-27 Kevin Buettner <kevinb@redhat.com>
89
90 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
91 Enable tests associated with this flag. Adjust regex
92 referencing "foo_low" to now refer to "foo_cold" instead.
93
94 2019-07-27 Kevin Buettner <kevinb@redhat.com>
95
96 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
97 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
98 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
99 foo_cold. Revise comments to match.
100 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
101 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
102 were wrapped into this proc; Call do_test in loop from outermost
103 level.
104 (foo_low): Rename all occurrences to "foo_cold".
105 (backtrace from baz): New test.
106 (x2/i foo_cold): New test.
107 (info line *foo_cold): New test.
108
109 2019-07-26 Tom de Vries <tdevries@suse.de>
110
111 * gdb.arch/i386-pkru.exp: Fix unterminated string.
112
113 2019-07-25 Tom de Vries <tdevries@suse.de>
114
115 PR testsuite/24830
116 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
117 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
118 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
119 (skip_libstdcxx_probe_tests): ... here.
120 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
121
122 2019-07-24 Tom de Vries <tdevries@suse.de>
123
124 PR testsuite/24807
125 * gdb.objc/basicclass.m: Include stdio.h.
126 * gdb.objc/nondebug.m: Same.
127 * gdb.objc/objcdecode.m: Same.
128
129 2019-07-24 Tom de Vries <tdevries@suse.de>
130
131 PR testsuite/24612
132 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
133 additional_flags.
134
135 2019-07-24 Tom de Vries <tdevries@suse.de>
136
137 PR testsuite/24831
138 * gdb.multi/tids.exp: Update error messages for info threads.
139
140 2019-07-24 Tom de Vries <tdevries@suse.de>
141
142 * gdb.base/info-types.exp: Allow info types to print info for more than
143 one file.
144
145 2019-07-23 Tom de Vries <tdevries@suse.de>
146
147 PR testsuite/24842
148 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
149 gdb_spawn_with_cmdline_opts.
150
151 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
152
153 * gdb.arch/arm-cmse-sgstubs.c: New test.
154 * gdb.arch/arm-cmse-sgstubs.exp: New file.
155
156 2019-07-23 Tom de Vries <tdevries@suse.de>
157
158 PR testsuite/24711
159 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
160 issuing next command.
161
162 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * gdb.ada/info_auto_lang.exp: Update expected results.
165 * gdb.base/info-types.c: Add additional types to check.
166 * gdb.base/info-types.exp: Update expected results.
167
168 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
169
170 * gdb.base/info-types.c: New file.
171 * gdb.base/info-types.exp: New file.
172
173 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
174
175 * gdb.arch/riscv-bp-infcall.c: New file.
176 * gdb.arch/riscv-bp-infcall.exp: New file.
177
178 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
179
180 PR breakpoints/24541
181 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
182
183 2019-07-14 Tom de Vries <tdevries@suse.de>
184
185 PR testsuite/24760
186 * gdb.objc/basicclass.exp: Fix unterminated string.
187
188 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
189 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
192 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
193 negative bounds.
194 * gdb.fortran/vla-value.exp: Print elements of an array with
195 negative bounds.
196 * gdb.fortran/vla.f90: Setup an array with negative bounds for
197 testing.
198
199 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.base/options.exp (expect_string): Dequote strings in
202 results.
203 (test-string): Test strings with different quoting and reindent.
204
205 2019-07-10 Tom Tromey <tromey@adacore.com>
206
207 * gdb.ada/mi_ex_cond.exp: Update expected results.
208 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
209 * gdb.ada/mi_catch_ex.exp: Update expected results.
210 * gdb.ada/mi_catch_assert.exp: Update expected results.
211 * gdb.ada/catch_ex.exp (catch_exception_info)
212 (catch_exception_entry, catch_assert_entry)
213 (catch_unhandled_entry): Update.
214 * gdb.ada/catch_assert_if.exp: Update expected results.
215
216 2019-07-10 Richard Bunt <richard.bunt@arm.com>
217 Stephen Roberts <stephen.roberts@arm.com>
218
219 * gdb.base/define.exp: Restore original prompt.
220
221 2019-07-09 Pedro Alves <palves@redhat.com>
222
223 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
224 breakpoints" output.
225 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
226 * gdb.python/py-breakpoint.exp: No longer expect that "catch
227 throw" creates breakpoint.
228 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
229 'type="catchpoint"'.
230
231 2019-07-09 Pedro Alves <palves@redhat.com>
232
233 PR c++/15468
234 * gdb.cp/except-multi-location-lib.cc: New.
235 * gdb.cp/except-multi-location-main.cc: New.
236 * gdb.cp/except-multi-location.exp: New.
237
238 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
239
240 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
241 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
242 argument and update callers.
243
244 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * gdb.arch/amd64-break-on-asm-line.S: New file.
247 * gdb.arch/amd64-break-on-asm-line.exp: New file.
248
249 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
250
251 * gdb.base/printcmds.exp: Test printing C string and
252 C wide string convenience vars without transiting via the inferior.
253 Also make test names unique.
254
255 2019-07-08 Alan Hayward <alan.hayward@arm.com>
256
257 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
258
259 2019-07-04 Pedro Alves <palves@redhat.com>
260
261 * lib/gdb.exp (foreach_with_prefix): Don't return early if
262 body returned ok(0), break(3) or continue(4).
263 * gdb.testsuite/foreach_with_prefix.exp: New file.
264
265 2019-07-04 Alan Hayward <alan.hayward@arm.com>
266
267 * gdb.server/unittest.exp: Allow 0 unit tests to run.
268
269 2019-07-03 Pedro Alves <palves@redhat.com>
270
271 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
272 "return -code".
273
274 2019-07-03 Pedro Alves <palves@redhat.com>
275
276 PR cli/24732
277 * gdb.base/shell.exp: Load completion-support.exp.
278 Adjust expected error output. Add completion tests.
279
280 2019-07-03 Pedro Alves <palves@redhat.com>
281
282 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
283 string_to_regexp.
284
285 2019-07-03 Pedro Alves <palves@redhat.com>
286
287 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
288 (expect_integer): Adjust to expect "-string".
289 (expect_string): New.
290 (all_options): Expect "-string".
291 (test-flag, test-boolean): Adjust to expect "-string".
292 (test-string): New proc.
293 (top level): Call it.
294
295 2019-07-03 Pedro Alves <palves@redhat.com>
296
297 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
298 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
299 the expected output in the success.
300
301 2019-07-03 Pedro Alves <palves@redhat.com>
302
303 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
304 Split one gdb_test_multiple call in two to avoid a race.
305
306 2019-07-03 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/with.c: New file.
309 * gdb.base/with.exp: New file.
310
311 2019-07-03 Pedro Alves <palves@redhat.com>
312
313 * gdb.base/settings.exp: Replace all references to "maint
314 test-settings set" with references to "maint set test-settings",
315 and all references to "maint test-settings show" with references
316 to "maint show test-settings".
317
318 2019-07-03 Pedro Alves <palves@redhat.com>
319
320 * gdb.base/settings.exp (test-string): Adjust expected out when
321 testing "maint test-settings show filename"
322
323 2019-07-02 Pedro Alves <palves@redhat.com>
324
325 * gdb.base/options.exp (test-info-threads): New procedure.
326 (top level): Call it.
327
328 2019-06-28 Tom Tromey <tromey@adacore.com>
329
330 * gdb.dwarf2/ada-linkage-name.c: New file.
331 * gdb.dwarf2/ada-linkage-name.exp: New file.
332
333 2019-06-27 Tom Tromey <tromey@adacore.com>
334
335 * gdb.cp/constexpr-field.exp: Use setup_xfail.
336
337 2019-06-26 Tom de Vries <tdevries@suse.de>
338
339 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
340
341 2019-06-26 Tom de Vries <tdevries@suse.de>
342
343 * gdb.base/index-cache.exp: Add back missing debug option.
344
345 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
346
347 * gdb.base/alias.exp: Test non matching/non existing prefixes.
348
349 2019-06-25 Tom de Vries <tdevries@suse.de>
350
351 PR testsuite/24727
352 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
353
354 2019-06-24 Tom de Vries <tdevries@suse.de>
355
356 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
357
358 2019-06-24 Tom de Vries <tdevries@suse.de>
359
360 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
361 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
362 * gdb.trace/unavailable-dwarf-piece.exp: Same.
363
364 2019-06-24 Tom de Vries <tdevries@suse.de>
365
366 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
367
368 2019-06-21 Tom de Vries <tdevries@suse.de>
369
370 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
371
372 2019-06-21 Tom de Vries <tdevries@suse.de>
373
374 PR testsuite/24518
375 PR ada/24713
376 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
377 index.
378
379 2019-06-19 Tom Tromey <tromey@adacore.com>
380
381 * gdb.ada/length_cond.exp: Add intro comment.
382
383 2019-06-19 Tom Tromey <tromey@adacore.com>
384
385 * gdb.ada/length_cond.exp: New file.
386 * gdb.ada/length_cond/length_cond.adb: New file.
387 * gdb.ada/length_cond/pck.adb: New file.
388 * gdb.ada/length_cond/pck.ads: New file.
389
390 2019-06-18 Tom de Vries <tdevries@suse.de>
391
392 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
393
394 2019-06-18 Tom Tromey <tromey@adacore.com>
395
396 * gdb.base/list0.h: Add comment explaining control character.
397
398 2019-06-18 Tom de Vries <tdevries@suse.de>
399
400 * boards/fission.exp: Break up long debug_flags line.
401
402 2019-06-16 Tom de Vries <tdevries@suse.de>
403
404 PR gdb/24445
405 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
406 generated index.
407
408 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 PR gdb/24686
411 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
412 improve detection of bug gdb/24541.
413
414 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
415
416 PR gdb/24669
417 * gdb.base/index-cache.exp (uses_readnow,
418 expecting_index_cache_use): Define global variable.
419 (test_cache_enabled_miss, test_cache_enabled_hit): Use
420 expecting_index_cache_use.
421
422 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
423 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * gdb.fortran/pointers.f90: New file.
426 * gdb.fortran/print_type.exp: New file.
427 * gdb.fortran/vla-ptype.exp: Adapt expected results.
428 * gdb.fortran/vla-type.exp: Likewise.
429 * gdb.fortran/vla-value.exp: Likewise.
430 * gdb.mi/mi-vla-fortran.exp: Likewise.
431
432 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
433
434 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
435 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
436 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
437 as a stop reason.
438
439 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
440
441 * gdb.base/annota1.exp: Update expected results.
442 * gdb.cp/annota2.exp: Likewise.
443 * gdb.cp/annota3.exp: Likewise.
444
445 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
446
447 * gdb.base/style-logging.exp: Remove path from test name.
448
449 2019-06-14 Tom Tromey <tromey@adacore.com>
450
451 PR gdb/24502:
452 * gdb.base/style-logging.exp: New file.
453
454 2019-06-14 Tom Tromey <tromey@adacore.com>
455
456 * gdb.base/symfile-warn.exp: New file.
457 * gdb.base/symfile-warn.c: New file.
458
459 2019-06-14 Tom Tromey <tromey@adacore.com>
460
461 * gdb.base/annotate-symlink.exp: New file.
462
463 2019-06-14 Tom Tromey <tromey@adacore.com>
464
465 * gdb.ada/set_wstr.exp: Add reassignment test.
466
467 2019-06-14 Tom Tromey <tromey@adacore.com>
468
469 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
470 'unchecked_access and 'unrestricted_access as well.
471
472 2019-06-14 Tom Tromey <tromey@adacore.com>
473
474 PR ada/24539:
475 * gdb.ada/vla.exp: Update tests.
476 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
477 pragma.
478
479 2019-06-13 Pedro Alves <palves@redhat.com>
480
481 * gdb.base/settings.exp (test-integer): Test junk after
482 "unlimited".
483
484 2019-06-13 Pedro Alves <palves@redhat.com>
485
486 * gdb.base/options.exp (test-thread-apply): New.
487 (top level): Call it.
488
489 2019-06-13 Pedro Alves <palves@redhat.com>
490
491 * gdb.base/options.exp (test-frame-apply): New.
492 (top level): Test print commands with different "frame apply"
493 prefixes.
494
495 2019-06-13 Pedro Alves <palves@redhat.com>
496
497 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
498 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
499 'max_completions' parameter and handle it.
500 (test_gdb_completion_offers_commands): New.
501
502 2019-06-13 Pedro Alves <palves@redhat.com>
503
504 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
505
506 2019-06-13 Pedro Alves <palves@redhat.com>
507
508 * gdb.base/options.exp (test-backtrace): New.
509 (top level): Call it.
510
511 2019-06-13 Pedro Alves <palves@redhat.com>
512
513 * gdb.guile/scm-frame-args.exp: Use "set print
514 raw-frame-arguments" instead of "set print raw frame-arguments".
515 * gdb.python/py-frame-args.exp: Likewise.
516
517 2019-06-13 Pedro Alves <palves@redhat.com>
518
519 * gdb.compile/compile.exp: Adjust expected output to option
520 processing changes.
521
522 2019-06-13 Pedro Alves <palves@redhat.com>
523
524 * gdb.base/options.exp: Build executable.
525 (test-print): New procedure.
526 (top level): Call it, once for "print" and another for "compile
527 print".
528
529 2019-06-13 Pedro Alves <palves@redhat.com>
530
531 * gdb.base/options.c: New file.
532 * gdb.base/options.exp: New file.
533
534 2019-06-13 Pedro Alves <palves@redhat.com>
535
536 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
537 that "o" is ambiguous.
538
539 2019-06-13 Pedro Alves <palves@redhat.com>
540
541 * gdb.base/settings.c: New file.
542 * gdb.base/settings.exp: New file.
543
544 2019-06-13 Pedro Alves <palves@redhat.com>
545
546 * gdb.base/completion.exp: Fix comment typo.
547
548 2019-06-13 Pedro Alves <palves@redhat.com>
549
550 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
551 foo --1" test.
552
553 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
554
555 * gdb.fortran/block-data.f: New.
556 * gdb.fortran/block-data.exp: New.
557
558 2019-06-11 Tom de Vries <tdevries@suse.de>
559
560 PR testsuite/24521
561 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
562 message.
563
564 2019-06-11 Tom de Vries <tdevries@suse.de>
565
566 PR testsuite/24521
567 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
568
569 2019-06-11 Tom de Vries <tdevries@suse.de>
570
571 * boards/readnow.exp: New file.
572
573 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
574
575 * gdb.fortran/vla-sizeof.exp: Update expected results.
576
577 2019-06-06 Amos Bird <amosbird@gmail.com>
578
579 * gdb.base/annota1.exp (thread_switch): Add test for
580 thread-exited annotation.
581
582 2019-06-06 Tom Tromey <tromey@adacore.com>
583
584 * gdb.base/maint.exp: Expect command started/finished output.
585
586 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
589 comment.
590 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
591
592 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
593
594 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
595 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
596 * gdb.arch/riscv-unwind-long-insn.c: New file.
597 * gdb.arch/riscv-unwind-long-insn.exp: New file.
598
599 2019-06-04 Christian Biesinger <cbiesinger@google.com>
600
601 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
602
603 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
604
605 * lib/gdb.exp (help_list_trailer): New regexp variable
606 factorizing the help trailer message.
607 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
608 arg to allow to better factorize various tests.
609 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
610 (test_prefix_command_help): Use help_list_trailer.
611 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
612 * gdb.guile/scm-cmd.exp: Likewise.
613 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
614 * gdb.base/help.exp: Use test_user_defined_class_help.
615 * gdb.base/style.exp: Add tests for styling of help and apropos.
616 * lib/gdb-utils.exp (style): Add title and highlight styles.
617
618 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
619
620 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
621 $_shell_exitsignal.
622 * gdb.base/default.exp: Update for new convenience variables.
623
624 2019-05-29 Tom Tromey <tromey@adacore.com>
625
626 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
627 to "break complete ada" test case's regexp.
628
629 2019-05-29 Tom Tromey <tromey@adacore.com>
630
631 PR c++/20020:
632 * gdb.cp/constexpr-field.exp: New file.
633 * gdb.cp/constexpr-field.cc: New file.
634
635 2019-05-29 Tom Tromey <tromey@adacore.com>
636
637 * gdb.base/finish.exp (finish_no_print): New proc.
638 (finish_tests): Call it.
639
640 2019-05-24 Tom de Vries <tdevries@suse.de>
641
642 * gdb.dwarf2/gdb-add-index.exp: New file.
643
644 2019-05-22 Tom Tromey <tromey@adacore.com>
645
646 * gdb.base/info-shared.exp (check_info_shared): Use "style".
647 * gdb.base/style.exp: Use "style".
648 * lib/gdb-utils.exp (style): New proc.
649
650 2019-05-22 Tom de Vries <tdevries@suse.de>
651
652 * gdb.base/align.exp: Require c++11.
653
654 2019-05-22 Tom de Vries <tdevries@suse.de>
655
656 PR testsuite/24586
657 * gdb.python/py-mi-var-info-path-expression.exp: Call
658 mi_skip_python_tests to check if python is supported.
659
660 2019-05-22 Alan Hayward <alan.hayward@arm.com>
661
662 * gdb.arch/aarch64-pauth.c: New test.
663 * gdb.arch/aarch64-pauth.exp: New file.
664
665 2019-05-22 Alan Hayward <alan.hayward@arm.com>
666
667 * README (Re-running Tests Outside The Testsuite): New section.
668
669 2019-05-21 Tom de Vries <tdevries@suse.de>
670
671 * gdb.arch/amd64-eval.exp: Require c++11.
672 * gdb.base/max-depth.exp: Same.
673 * gdb.compile/compile-cplus-array-decay.exp: Same.
674 * gdb.cp/meth-typedefs.exp: Same.
675 * gdb.cp/subtypes.exp: Same.
676 * gdb.cp/temargs.exp: Same.
677
678 2019-05-21 Alan Hayward <alan.hayward@arm.com>
679
680 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
681
682 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 PR gdb/18644
685 * gdb.fortran/complex.exp: Remove setup_kfail calls.
686 * gdb.fortran/printing-types.exp: Add new test.
687 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
688 testing.
689 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
690 setup_kfail call.
691
692 2019-05-17 Alan Hayward <alan.hayward@arm.com>
693
694 * README (Running the Testsuite): Change example.
695 (Testsuite Parameters): Remove TRANSCRIPT.
696 * lib/gdb.exp: Remove TRANSCRIPT check.
697
698 2019-05-17 Alan Hayward <alan.hayward@arm.com>
699
700 * README (Testsuite Parameters): Add replay logging to
701 GDBSERVER_DEBUG.
702 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
703 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
704 as a comma separated list.
705 (gdb_debug_init): Override procedure.
706
707 2019-05-17 Alan Hayward <alan.hayward@arm.com>
708
709 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
710 (gdb_write_cmd_file): New procedure.
711 * lib/gdbserver-support.exp (gdbserver_start): Call
712 gdbserver_write_cmd_file.
713 (gdbserver_write_cmd_file): New procedure.
714
715 2019-05-17 Alan Hayward <alan.hayward@arm.com>
716
717 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
718 (delete_breakpoints): Likewise.
719 (gdb_run_cmd): Likewise.
720 (gdb_start_cmd): Likewise.
721 (gdb_starti_cmd): Likewise.
722 (gdb_internal_error_resync): Likewise.
723 (gdb_test_multiple): Likewise.
724 (gdb_reinitialize_dir): Likewise.
725 (default_gdb_exit): Likewise.
726 (gdb_file_cmd): Mark kill as optional.
727 (default_gdb_start): Call gdb_stdin_log_init.
728 (send_gdb): Call gdb_stdin_log_write.
729 (rerun_to_main): Mark Y as an answer.
730 (gdb_stdin_log_init): New function.
731 (gdb_stdin_log_write): Likewise.
732
733 2019-05-17 Alan Hayward <alan.hayward@arm.com>
734
735 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
736 * gdb.base/debug-expr.exp: Likewise.
737 * gdb.base/foll-fork.exp: Likewise.
738 * gdb.base/foll-vfork.exp: Likewise.
739 * gdb.base/fork-print-inferior-events.exp: Likewise.
740 * gdb.base/gdb-sigterm.exp: Likewise.
741 * gdb.base/gdbinit-history.exp: Likewise.
742 * gdb.base/osabi.exp: Likewise.
743 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
744 * gdb.base/ui-redirect.exp: Likewise.
745 * gdb.gdb/unittest.exp: Likewise.
746 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
747 * gdb.mi/mi-watch.exp: Likewise.
748 * gdb.mi/new-ui-mi-sync.exp: Likewise.
749 * gdb.mi/user-selected-context-sync.exp: Likewise.
750 * gdb.python/python.exp: Disable debug test when debugging.
751 * gdb.threads/check-libthread-db.exp: Disable when debugging.
752 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
753 Likewise.
754 * gdb.threads/stepi-random-signal.exp: Likewise.
755
756 2019-05-17 Alan Hayward <alan.hayward@arm.com>
757
758 * Makefile.in: Pass through GDB_DEBUG.
759 * README (Testsuite Parameters): Add GDB_DEBUG.
760 (gdb,debug): Add board setting.
761 * lib/gdb.exp (default_gdb_start): Start debugging.
762 (gdb_debug_enabled): New procedure.
763 (gdb_debug_init): Likewise.
764
765 2019-05-17 Alan Hayward <alan.hayward@arm.com>
766
767 * Makefile.in: Pass through GDB_DEBUG.
768 * README (Testsuite Parameters): Add GDB_DEBUG.
769 (gdb,debug): Add board setting.
770 * lib/gdb.exp (default_gdb_start): Start debugging.
771 (gdb_debug_enabled): New procedure.
772 (gdb_debug_init): Likewise.
773
774 2019-05-17 Alan Hayward <alan.hayward@arm.com>
775
776 * gdb.base/ui-redirect.exp: Add debug redirect tests.
777
778 2019-05-17 Alan Hayward <alan.hayward@arm.com>
779
780 * gdb.base/ui-redirect.exp: Test redirection.
781
782 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
783
784 * gdb.mi/mi-complete.exp: New file.
785 * gdb.mi/mi-complete.cc: Likewise.
786
787 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
788
789 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
790 indexed and sliced arrays, and pointers to arrays.
791
792 2019-05-14 Tom Tromey <tromey@adacore.com>
793
794 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
795 styling test.
796
797 2019-05-14 Tom de Vries <tdevries@suse.de>
798
799 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
800 selection entry encoding.
801
802 2019-05-10 Tom Tromey <tromey@adacore.com>
803
804 * gdb.ada/info_exc.exp: Add "complete" test.
805
806 2019-05-09 Tom de Vries <tdevries@suse.de>
807
808 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
809 CU-relative.
810
811 2019-05-09 Tom de Vries <tdevries@suse.de>
812
813 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
814 CU-relative.
815
816 2019-05-08 Joel Brobecker <brobecker@adacore.com>
817
818 * gdb.ada/frame_arg_lang.exp: New testcase.
819 * gdb.ada/frame_arg_lang/bla.adb: New file.
820 * gdb.ada/frame_arg_lang/pck.ads: New file.
821 * gdb.ada/frame_arg_lang/pck.adb: New file.
822 * gdb.ada/frame_arg_lang/foo.c: New file.
823
824 2019-05-08 Tom Tromey <tromey@adacore.com>
825
826 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
827
828 2019-05-08 Tom Tromey <tromey@adacore.com>
829
830 * gdb.base/ptype-offsets.exp: Update tests.
831
832 2019-05-08 Tom Tromey <tromey@adacore.com>
833
834 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
835 cases.
836 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
837 "short".
838
839 2019-05-08 Tom Tromey <tromey@adacore.com>
840
841 * gdb.ada/vla.exp: New file.
842 * gdb.ada/vla/vla.adb: New file.
843
844 2019-05-07 Tom de Vries <tdevries@suse.de>
845
846 * gdb.base/index-cache.exp (ls_host): Fix return statement.
847
848 2019-05-07 Tom de Vries <tdevries@suse.de>
849
850 PR testsuite/24522
851 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
852 section.
853
854 2019-05-07 Tom de Vries <tdevries@suse.de>
855
856 PR testsuite/24522
857 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
858 .debug_aranges section.
859
860 2019-05-07 Tom de Vries <tdevries@suse.de>
861
862 PR testsuite/24159
863 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
864
865 2019-05-06 Tom de Vries <tdevries@suse.de>
866
867 * lib/gdb.exp (exec_has_index_section): New proc.
868 * gdb.base/index-cache.exp: Handle case that binfile contains an index
869 section.
870
871 2019-05-04 Tom de Vries <tdevries@suse.de>
872
873 * boards/cc-with-debug-names.exp: New file.
874
875 2019-05-03 Tom Tromey <tromey@adacore.com>
876
877 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
878 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
879 * gdb.ada/char_enum.exp: Add test.
880
881 2019-05-03 Tom de Vries <tdevries@suse.de>
882
883 * boards/cc-with-gdb-index.exp: New file.
884
885 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 * gdb.rust/simple.exp: Add new test case.
888 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
889 (main): Initialise an instance of the new struct.
890
891 2019-05-01 Tom Tromey <tromey@adacore.com>
892
893 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
894 record.
895 (NPR): New variable.
896 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
897 test.
898
899 2019-05-01 Tom Tromey <tromey@adacore.com>
900
901 * gdb.ada/packed_array_assign.exp: Add packed assignment
902 regression test.
903
904 2019-05-01 Tom de Vries <tdevries@suse.de>
905
906 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
907
908 2019-05-01 Tom de Vries <tdevries@suse.de>
909
910 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
911
912 2019-04-30 Ali Tamur <tamur@google.com>
913
914 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
915
916 2019-04-30 Tom Tromey <tromey@adacore.com>
917
918 * lib/ada.exp (find_ada_tool): New proc.
919 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
920 * gdb.ada/catch_ex_std.exp: New file.
921 * gdb.ada/catch_ex_std/foo.adb: New file.
922 * gdb.ada/catch_ex_std/some_package.adb: New file.
923 * gdb.ada/catch_ex_std/some_package.ads: New file.
924
925 2019-04-30 Tom Tromey <tromey@adacore.com>
926
927 PR c++/24470:
928 * gdb.cp/temargs.cc: Add test code from PR.
929
930 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
931
932 * gdb.fortran/vla-datatypes.exp: Update expected results.
933 * gdb.fortran/vla-ptype.exp: Likewise.
934 * gdb.fortran/vla-type.exp: Likewise.
935 * gdb.fortran/vla-value.exp: Likewise.
936
937 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
938
939 * gdb.fortran/ptr-indentation.exp: Update expected results.
940 * gdb.fortran/ptype-on-functions.exp: Likewise.
941 * gdb.fortran/vla-ptr-info.exp: Likewise.
942 * gdb.fortran/vla-value.exp: Likewise.
943
944 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 * gdb.fortran/ptype-on-functions.exp: New file.
947 * gdb.fortran/ptype-on-functions.f90: New file.
948
949 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
950
951 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
952 case void string.
953
954 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * gdb.fortran/complex.exp: Expand.
957 * gdb.fortran/complex.f: Renamed to...
958 * gdb.fortran/complex.f90: ...this, and extended to add more
959 complex values.
960
961 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
964 MODULO, CMPLX.
965
966 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
967 Richard Bunt <richard.bunt@arm.com>
968
969 * gdb.base/max-depth.c: New file.
970 * gdb.base/max-depth.exp: New file.
971 * gdb.python/py-nested-maps.c: New file.
972 * gdb.python/py-nested-maps.exp: New file.
973 * gdb.python/py-nested-maps.py: New file.
974 * gdb.python/py-format-string.exp (test_max_depth): New proc.
975 (test_all_common): Call test_max_depth.
976 * gdb.fortran/max-depth.exp: New file.
977 * gdb.fortran/max-depth.f90: New file.
978 * gdb.go/max-depth.exp: New file.
979 * gdb.go/max-depth.go: New file.
980 * gdb.modula2/max-depth.exp: New file.
981 * gdb.modula2/max-depth.c: New file.
982 * lib/gdb.exp (get_print_expr_at_depths): New proc.
983
984 2019-04-29 Tom de Vries <tdevries@suse.de>
985
986 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
987
988 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
989
990 * gdb.base/callexit.exp: Test may-call-functions off.
991
992 2019-04-25 Keith Seitz <keiths@redhat.com>
993
994 PR c++/24367
995 * gdb.cp/meth-typedefs.cc (incomplete_struct)
996 (another_incomplete_struct, test_incomplete): New definitions.
997 (main): Use new definitions.
998 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
999 functions.
1000
1001 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1002
1003 PR corefiles/11608
1004 PR corefiles/18187
1005 * gdb.base/coredump-filter-build-id.exp: New file.
1006
1007 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1008
1009 * Makefile.in: Pass through GDBSERVER_DEBUG.
1010 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1011 (gdbserver,debug): Add board setting.
1012 * gdb.trace/tspeed.exp: Skip when debugging.
1013 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1014 * lib/gdbserver-support.exp: Likewise
1015
1016 2019-04-24 Tom Tromey <tromey@adacore.com>
1017
1018 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1019 Rust.
1020
1021 2019-04-24 Tom Tromey <tromey@adacore.com>
1022
1023 * gdb.arch/amd64-eval.exp: Test bitfield return.
1024 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1025 (class Foo) <return_bitfields>: New method.
1026 (main): Call it.
1027
1028 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1029
1030 * gdb.cp/many-args.cc: New file.
1031 * gdb.cp/many-args.exp: New file.
1032
1033 2019-04-23 Tom de Vries <tdevries@suse.de>
1034
1035 PR gdb/24433
1036 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1037
1038 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1039
1040 * gdb.trace/backtrace.exp: Use nopie flag.
1041 * gdb.trace/circ.exp: Likewise.
1042 * gdb.trace/collection.exp: Likewise.
1043 * gdb.trace/ftrace.exp: Likewise.
1044 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1045 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1046 * gdb.trace/qtro.exp: Likewise.
1047 * gdb.trace/read-memory.exp: Likewise.
1048 * gdb.trace/report.exp: Likewise.
1049 * gdb.trace/tfile.exp: Likewise.
1050 * gdb.trace/tfind.exp: Likewise.
1051 * gdb.trace/unavailable.exp: Likewise.
1052
1053 2019-04-22 Pedro Alves <palves@redhat.com>
1054
1055 * gdb.base/solib-probes-nosharedlibrary.c,
1056 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1057
1058 2019-04-19 Tom Tromey <tromey@adacore.com>
1059
1060 * gdb.ada/ptype_union.c: New file.
1061 * gdb.ada/ptype_union.exp: New file.
1062
1063 2019-04-19 Tom Tromey <tromey@adacore.com>
1064
1065 PR symtab/24423:
1066 * gdb.base/list0.h (foo): Add a control-l character.
1067
1068 2019-04-18 Tom de Vries <tdevries@suse.de>
1069
1070 PR gdb/24433
1071 * boards/local-board.exp: Set sysroot to "".
1072
1073 2019-04-18 Tom de Vries <tdevries@suse.de>
1074 Pedro Alves <palves@redhat.com>
1075
1076 PR gdb/24454
1077 * gdb.threads/vfork-follow-child-exec.c: New file.
1078 * gdb.threads/vfork-follow-child-exec.exp: New file.
1079 * gdb.threads/vfork-follow-child-exit.c: New file.
1080 * gdb.threads/vfork-follow-child-exit.exp: New file.
1081
1082 2019-04-15 Leszek Swirski <leszeks@google.com>
1083
1084 * gdb.arch/amd64-eval.cc: New file.
1085 * gdb.arch/amd64-eval.exp: New file.
1086
1087 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1088
1089 * gdb.server/sysroot.c: New test.
1090 * gdb.server/sysroot.exp: New file.
1091 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1092 matching param.
1093
1094 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.base/align.exp: Extend test to cover structures containing
1097 only static fields.
1098
1099 2019-04-11 Tom de Vries <tdevries@suse.de>
1100
1101 * boards/cc-with-dwz-m.exp: New file.
1102 * boards/cc-with-dwz.exp: New file.
1103 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1104
1105 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1106
1107 * gdb.base/start-cpp.exp: New file.
1108 * gdb.base/start-cpp.cc: New file.
1109
1110 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1111
1112 * gdb.python/py-thrhandle.exp: Adjust tests to call
1113 thread_from_handle instead of thread_from_thread_handle.
1114
1115 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1116
1117 * gdb.python/py-thrhandle.exp: Add tests for
1118 gdb.InferiorThread.handle.
1119
1120 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.python/py-function.exp: Check calling helper function from
1123 all languages.
1124 * lib/gdb.exp (gdb_supported_languages): New proc.
1125
1126 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1127
1128 * gdb.base/complex-parts.c: New file.
1129 * gdb.base/complex-parts.exp: New file.
1130
1131 2019-04-01 Tom Tromey <tromey@adacore.com>
1132
1133 PR symtab/23331:
1134 * gdb.dwarf2/dw2-ranges-main.c: New file.
1135 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1136 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1137
1138 2019-03-30 Simon Marchi <simark@simark.ca>
1139
1140 * gdb.base/default.exp: Add values for $_gdb_major and
1141 $_gdb_minor.
1142
1143 2019-03-29 Tom Tromey <tromey@adacore.com>
1144
1145 * gdb.base/help.exp: Tighten apropos regexp.
1146
1147 2019-03-29 Keith Seitz <keiths@redhat.com>
1148
1149 * gdb.fortran/array-bounds.exp: New file.
1150 * gdb.fortran/array-bounds.f90: New file.
1151
1152 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1153
1154 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1155
1156 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1157
1158 * gdb.multi/hello.c (main): Increase alarm timer.
1159
1160 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1161
1162 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1163 factor when no hardware watchpoint support.
1164
1165 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1166 Pedro Alves <palves@redhat.com>
1167
1168 * boards/local-board.exp: set sysroot to /.
1169
1170 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1171
1172 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1173 in child.
1174
1175 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1178 field.
1179 (make_container): Initialise new field.
1180 * gdb.python/py-prettyprint.exp: Add new tests.
1181 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1182 <display_hint>: New method.
1183
1184 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1185
1186 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1187 gdb_continue_to_breakpoint more throughout this test.
1188 (run_lang_tests) Supply unique test names, and use
1189 gdb_test_no_output.
1190
1191 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1192
1193 * gdb.base/finish-pretty.exp: Update expected results.
1194 * gdb.base/pretty-print.c: New file.
1195 * gdb.base/pretty-print.exp: New file.
1196
1197 2019-03-25 Pedro Alves <palves@redhat.com>
1198
1199 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1200 move comments outside list. Append '-i "" eof' section.
1201
1202 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1203
1204 * README: Add pie options.
1205 * gdb.base/break-interp.exp: Ensure pie is disabled.
1206 * gdb.base/dump.exp: Likewise.
1207 * lib/gdb.exp (gdb_compile): Add pie option.
1208
1209 2019-03-19 Tom Tromey <tromey@adacore.com>
1210
1211 * gdb.mi/mi2-cli-display.c: New file.
1212 * gdb.mi/mi2-cli-display.exp: New file.
1213
1214 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1215 Tom Tromey <tromey@adacore.com>
1216
1217 * gdb.ada/ptype_array/pck.adb: New file.
1218 * gdb.ada/ptype_array/pck.ads: New file.
1219 * gdb.ada/ptype_array/foo.adb: New file.
1220 * gdb.ada/ptype_array.exp: New file.
1221
1222 2019-03-14 Tom Tromey <tromey@adacore.com>
1223
1224 * gdb.base/style.exp: Add "set style sources" test.
1225
1226 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1227
1228 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1229 * mi-breakpoint-multiple-locations.exp: ... this.
1230 (make_breakpoints_pattern): New proc.
1231 (do_test): Add mi_version parameter, test -break-insert,
1232 -break-info and =breakpoint-created.
1233
1234 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1235
1236 * config/default.exp: Remove 'load_lib gdb.exp'.
1237 * config/monitor.exp: Likewise.
1238 * config/sid.exp: Likewise.
1239 * config/sim.exp: Likewise.
1240 * config/slite.exp: Likewise.
1241 * config/unix.exp: Likewise.
1242 * gdb.base/default.exp: Remove unhelpful comment.
1243
1244 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1245
1246 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1247
1248 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1249
1250 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1251
1252 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1253
1254 * gdb.fortran/type-kinds.exp: Update expected results.
1255
1256 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1259
1260 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1261
1262 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1263 function.
1264 (test_basic_parsing_of_type_kinds): Expand types tested.
1265 (test_parsing_invalid_type_kinds): New function.
1266
1267 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1268
1269 * gdb.fortran/intrinsics.exp: New file.
1270 * gdb.fortran/intrinsics.f90: New file.
1271 * gdb.fortran/type-kinds.exp: New file.
1272
1273 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1274
1275 * gdb.fortran/dot-ops.exp: New file.
1276
1277 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1278
1279 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1280 Check upper and lower case logical literals.
1281
1282 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1283
1284 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1285 Remove duplicate tests.
1286
1287 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1288
1289 * lib/gdb.exp (builtin_cd): rename of cd.
1290 (cd): Override builtin.
1291
1292 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1293
1294 * gdb.fortran/function-calls.exp: New file.
1295 * gdb.fortran/function-calls.f90: New test.
1296
1297 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1298
1299 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1300 on user program standard output.
1301 * gdb.fortran/short-circuit-argument-list.f90: Record function
1302 calls.
1303
1304 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1305
1306 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1307 failure.
1308
1309 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1310
1311 PR gdb/8527
1312 * gdb.base/interrupt-daemon-attach.c,
1313 gdb.base/interrupt-daemon-attach.exp: New test.
1314
1315 2019-02-27 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/page.exp: Add tests for "set width/height -1".
1318
1319 2019-02-27 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.base/page.exp: Add tests for "set/show width/height" with
1322 "infinite" values.
1323
1324 2019-02-27 Tom Tromey <tromey@adacore.com>
1325
1326 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1327 2.4.
1328 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1329 workaround.
1330
1331 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1332
1333 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1334 tests for structs with static members.
1335
1336 2019-02-26 Tom Tromey <tromey@adacore.com>
1337
1338 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1339 ValueError, not TypeError.
1340
1341 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1342
1343 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1344 call from main program.
1345
1346 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1347
1348 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1349 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1350 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1351 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1352 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1353
1354 2019-02-22 Keith Seitz <keiths@redhat.com>
1355
1356 PR symtab/23853
1357 * gdb.base/symlink-sourcefile.c: New file.
1358 * gdb.base/symlink-sourcefile.exp: New file.
1359
1360 2019-02-20 Tom Tromey <tom@tromey.com>
1361
1362 * gdb.base/info_qt.exp: Update.
1363
1364 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1365
1366 * gdb.base/source.exp: Move "error in sourced script" code to
1367 the end.
1368 * gdb.base/source-error.gdb: Move contents to
1369 source-error-1.gdb. Add new code to source source-error-1.gdb.
1370 * gdb.base/source-error-1.gdb: New file, from previous
1371 source-error.gdb.
1372
1373 2019-02-17 Tom Tromey <tom@tromey.com>
1374
1375 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1376 for macro styling.
1377 * gdb.base/style.c (SOME_MACRO): New macro.
1378
1379 2019-02-17 Tom Tromey <tom@tromey.com>
1380
1381 * gdb.base/style.exp: Add line-wrapping tests.
1382 * gdb.base/page.exp: Add test for quitting during pagination.
1383
1384 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1385
1386 * gdb.ada/big_packed_array: New testcase.
1387 * gdb.ada/homonym.exp: Fix incorrect expected output for
1388 "break <homonym__get_value>" test.
1389
1390 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1391
1392 PR breakpoints/21870
1393 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1394 and prepare_for_testing. Add comment.
1395 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1396 redundant cleanup call. Clean up comment.
1397
1398 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1399
1400 PR breakpoints/21870
1401 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1402 * gdb.arch/aarch64-dbreg-contents.c: New file.
1403
1404 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.ada/mi_ref_changeable: New testcase.
1407
1408 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1409
1410 * gdb.base/attach.exp: Add double attach test.
1411
1412 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1413
1414 * lib/gdb.exp (default_gdb_start): Don't match pagination
1415 prompt.
1416 (gdb_init): Set stty_init.
1417
1418 2019-01-27 Tom Tromey <tom@tromey.com>
1419
1420 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1421 skip_python_tests.
1422
1423 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1424
1425 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1426 New structure.
1427 (struct struct_static_02_02): Likewise.
1428 (struct struct_static_02_03): Likewise.
1429 (struct struct_static_02_04): Likewise.
1430 (struct struct_static_04_01): Likewise.
1431 (struct struct_static_04_02): Likewise.
1432 (struct struct_static_04_03): Likewise.
1433 (struct struct_static_04_04): Likewise.
1434 (struct struct_static_06_01): Likewise.
1435 (struct struct_static_06_02): Likewise.
1436 (struct struct_static_06_03): Likewise.
1437 (struct struct_static_06_04): Likewise.
1438 (cmp_struct_static_02_01): Likewise.
1439 (cmp_struct_static_02_02): Likewise.
1440 (cmp_struct_static_02_03): Likewise.
1441 (cmp_struct_static_02_04): Likewise.
1442 (cmp_struct_static_04_01): Likewise.
1443 (cmp_struct_static_04_02): Likewise.
1444 (cmp_struct_static_04_03): Likewise.
1445 (cmp_struct_static_04_04): Likewise.
1446 (cmp_struct_static_06_01): Likewise.
1447 (cmp_struct_static_06_02): Likewise.
1448 (cmp_struct_static_06_03): Likewise.
1449 (cmp_struct_static_06_04): Likewise.
1450 (call_all): Test new structs.
1451 * gdb.base/infcall-nested-structs.exp: Likewise.
1452
1453 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1454 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1455
1456 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1457 * gdb.base/stack-protector.c: New test.
1458 * gdb.base/stack-protector.exp: New file.
1459 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1460 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1461 option.
1462 (gdb_compile): Remove stack protector for GCC and prevent
1463 recursion.
1464
1465 2019-01-16 Keith Seitz <keiths@redhat.com>
1466
1467 PR gdb/23773
1468 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1469
1470 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1471
1472 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1473 aliases.
1474 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1475 tests.
1476 * gdb.arch/powerpc-vector-regs.c: New file.
1477 * gdb.arch/powerpc-vector-regs.exp: New file.
1478
1479 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1480
1481 * gdb.arch/altivec-regs.exp: Fix the list passed to
1482 gdb_expect_list when testing "info vector".
1483
1484 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * gdb.base/style.exp: Don't include path in testname.
1487
1488 2019-01-10 Keith Seitz <keiths@redhat.com>
1489
1490 PR gdb/23712
1491 PR symtab/23010
1492 * gdb.dwarf2/multidictionary.exp: New file.
1493
1494 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1495
1496 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1497 (test_gnuv3_style_demangling): ... this.
1498 (test_lucid_style_demangling): Remove.
1499 (test_arm_style_demangling): Remove.
1500 (test_hp_style_demangling): Remove.
1501 (do_tests): Remove calls to the above.
1502
1503 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1504
1505 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1506 case.
1507
1508 2019-01-06 Tom Tromey <tom@tromey.com>
1509
1510 PR gdb/28155:
1511 * gdb.dwarf2/typedef-void-finish.exp: New file.
1512
1513 2018-12-28 Tom Tromey <tom@tromey.com>
1514 Simon Marchi <simark@simark.ca>
1515
1516 * gdb.base/jit-exec.exp: New file.
1517 * gdb.base/jit-exec.c: New file.
1518 * gdb.base/jit-execd.c: New file.
1519
1520 2018-12-28 Tom Tromey <tom@tromey.com>
1521
1522 * gdb.base/style.exp: Update test to check for address styling.
1523
1524 2018-12-28 Tom Tromey <tom@tromey.com>
1525
1526 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1527 message.
1528
1529 2018-12-28 Tom Tromey <tom@tromey.com>
1530
1531 * gdb.base/style.exp: Add test for version number styling.
1532
1533 2018-12-28 Tom Tromey <tom@tromey.com>
1534
1535 * gdb.base/style.exp: Add test for print_address_symbolic.
1536
1537 2018-12-28 Tom Tromey <tom@tromey.com>
1538
1539 * gdb.base/style.exp: Add test for breakpoint setting.
1540
1541 2018-12-28 Tom Tromey <tom@tromey.com>
1542
1543 * gdb.base/style.exp: Add test for variable names.
1544
1545 2018-12-28 Tom Tromey <tom@tromey.com>
1546
1547 * gdb.base/style.exp: New file.
1548 * gdb.base/style.c: New file.
1549
1550 2018-12-28 Tom Tromey <tom@tromey.com>
1551
1552 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1553 "dumb".
1554 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1555 the TERM environment variable.
1556
1557 2018-12-27 Tom Tromey <tom@tromey.com>
1558
1559 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1560 pagination test.
1561
1562 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1563
1564 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1565 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1566
1567 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1568
1569 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1570 Filename a.adb changed to bp_fun_addr.adb.
1571 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1572
1573 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1574
1575 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1576 non-PIE executables.
1577 * README: Mention the gdb,nopie_flag board setting.
1578 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1579 non-PIE executable.
1580 * gdb.arch/amd64-entry-value.exp: Likewise.
1581 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1582 * gdb.arch/i386-float.exp: Likewise.
1583 * gdb.arch/i386-signal.exp: Likewise.
1584 * gdb.mi/mi-reg-undefined.exp: Likewise.
1585
1586 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1587
1588 PR gdb/23974
1589 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1590
1591 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1592
1593 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1594 Update order of results accordingly.
1595
1596 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.base/annota1.exp: Update a test regexp.
1599
1600 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1601
1602 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1603
1604 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1605
1606 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1607 (reuse_time): Initialize to REUSE_TIME_CAP.
1608 (check_rc): New function.
1609 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1610 Check pthread_create rc.
1611 (spawner_thread_func): Check pthread_create and pthread_join rc.
1612
1613 2018-12-08 Pedro Alves <palves@redhat.com>
1614
1615 * gdb.base/list.exp (test_forward_search): Rename to ...
1616 (test_forward_reverse_search): ... this. Also test reverse-search
1617 and the forward-search alias.
1618
1619 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1620
1621 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1622 local timeout variable before return, and remove all local timeout
1623 variable entirely.
1624 (gdb_load): Likewise.
1625
1626 2018-12-01 Tom de Vries <tdevries@suse.de>
1627
1628 * gdb.base/gdb-caching-proc.exp: New file.
1629
1630 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1631
1632 * Makefile.in (TIMESTAMP): New variable.
1633 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1634 command.
1635 (check-single-racy): Likewise.
1636 (check/%.exp): Likewise.
1637 (check-racy/%.exp): Likewise.
1638 (workers/%.worker): Likewise.
1639 (build-perf): Likewise.
1640 (check-perf): Likewise.
1641 * README: Describe new "TS" and "TS_FORMAT" variables.
1642 * print-ts.py: New file.
1643
1644 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1645
1646 PR python/23714
1647 * gdb.python/python.exp: Test command repetition after
1648 gdb.execute.
1649
1650 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1651
1652 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1653 is correctly aligned.
1654
1655 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1656
1657 * gdb.ada/info_auto_lang.exp: New testcase.
1658 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1659 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1660 * gdb.ada/info_auto_lang/some_c.c: New file.
1661
1662 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1663
1664 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1665 FUNC_lang language syntax.
1666
1667 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1668
1669 * gdb.base/info_minsym.c: New file.
1670 * gdb.base/info_minsym.exp: New file.
1671
1672 2018-11-19 Tom Tromey <tom@tromey.com>
1673
1674 PR rust/23625:
1675 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1676 * gdb.rust/expr.exp: Update expected output. Change one test.
1677
1678 2018-11-19 Tom Tromey <tom@tromey.com>
1679
1680 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1681
1682 2018-11-19 Pedro Alves <palves@redhat.com>
1683
1684 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1685 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1686 see the expected warning.
1687
1688 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1689
1690 PR gdb/22736:
1691 * gdb.cp/infcall-nodebug-lib.c: New test.
1692 * gdb.cp/infcall-nodebug-main.c: New test.
1693 * gdb.cp/infcall-nodebug.exp: New file.
1694
1695 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1696
1697 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1698 completer tests.
1699
1700 2018-11-09 Tom de Vries <tdevries@suse.de>
1701
1702 * gdb.base/msym-lang.c: New test.
1703 * gdb.base/msym-lang.exp: New file.
1704 * gdb.base/msym-lang-main.c: New test.
1705
1706 2018-11-08 Tom Tromey <tom@tromey.com>
1707
1708 PR gdb/23555:
1709 PR gdb/23838:
1710 * gdb.base/warning.exp: New file.
1711
1712 2018-11-08 Jan Beulich <jbeulich@suse.com>
1713
1714 * testsuite/gdb.arch/i386-avx512.c,
1715 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1716
1717 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1718
1719 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1720 point hardware.
1721
1722 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1725 * gdb.dwarf2/missing-type-name.exp: New file.
1726
1727 2018-11-06 Tom de Vries <tdevries@suse.de>
1728
1729 * gdb.base/many-headers.c: New test.
1730 * gdb.base/many-headers.exp: New file.
1731
1732 2018-11-06 Jim Wilson <jimw@sifive.com>
1733
1734 * gdb.base/code_elim.exp: For riscv, set additional_flags
1735 to include -msmall-data-limit=0.
1736
1737 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1738
1739 * gdb.ada/watch_minus_l: New testcase.
1740
1741 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1742
1743 * gdb.arch/aix-sighandle.c: New file.
1744 * gdb.arch/aix-sighandle.exp: New file.
1745
1746 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1749 registers being unions.
1750
1751 2018-10-31 Tom de Vries <tdevries@suse.de>
1752
1753 * lib/valgrind.exp: New file.
1754 (vgdb_start, vgdb_stop): New procs, factored out of ...
1755 * gdb.base/valgrind-bt.exp: ... here, ...
1756 * gdb.base/valgrind-disp-step.exp: ... here and ...
1757 * gdb.base/valgrind-infcall.exp: ... here.
1758
1759 2018-10-31 Tom de Vries <tdevries@suse.de>
1760
1761 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1762
1763 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1764
1765 * gdb.dwarf2/void-type.c: New file.
1766 * gdb.dwarf2/void-type.exp: New file.
1767
1768 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1769
1770 * gdb.base/info_qt.c: New file.
1771 * gdb.base/info_qt.exp: New file.
1772
1773 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1774
1775 * gdb.arch/powerpc-htm-regs.c: New file.
1776 * gdb.arch/powerpc-htm-regs.exp: New file.
1777
1778 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1779
1780 * gdb.arch/powerpc-tar.c: New file.
1781 * gdb.arch/powerpc-tar.exp: New file.
1782
1783 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1784
1785 * gdb.arch/powerpc-ppr-dscr.c: New file.
1786 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1787
1788 2018-10-25 Tom de Vries <tdevries@suse.de>
1789
1790 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1791
1792 2018-10-24 Tom de Vries <tdevries@suse.de>
1793
1794 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1795 longer exists error.
1796
1797 2018-10-24 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1800
1801 2018-10-24 Tom de Vries <tdevries@suse.de>
1802
1803 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1804 --db-attach in valgrind.
1805
1806 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1807
1808 * gdb.arch/riscv-reg-aliases.c: New file.
1809 * gdb.arch/riscv-reg-aliases.exp: New file.
1810
1811 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1812
1813 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1814
1815 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1816
1817 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1818
1819 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1820
1821 * gdb.cp/ovldbreak.exp: Fix regexps.
1822
1823 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1824
1825 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1826
1827 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1828
1829 PR cli/23785
1830 * gdb.base/restore.exp: New test to check if "restore" with an
1831 invalid file doesn't segfault.
1832
1833 2018-10-18 Tom de Vries <tdevries@suse.de>
1834
1835 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1836 * gdb.ada/excep_handle.exp: Same.
1837 * gdb.ada/mi_string_access.exp: Same.
1838 * gdb.ada/mi_var_union.exp: Same.
1839 * gdb.arch/arc-analyze-prologue.exp: Same.
1840 * gdb.arch/arc-decode-insn.exp: Same.
1841 * gdb.base/readnever.exp: Same.
1842 * gdb.fortran/printing-types.exp: Same.
1843 * gdb.guile/scm-lazy-string.exp: Same.
1844
1845 2018-10-16 Tom de Vries <tdevries@suse.de>
1846
1847 PR gdb/23730
1848 * gdb.base/catch-follow-exec.c: Add copyright notice.
1849 * gdb.base/catch-follow-exec.exp: Rewrite to use
1850 gdb_spawn_with_cmdline_opts. Require gdb-native.
1851
1852 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1853
1854 * gdb.trace/actions-changed.exp: Check for arch support.
1855 * gdb.trace/actions.exp: Likewise.
1856 * gdb.trace/ax.exp: Likewise.
1857 * gdb.trace/backtrace.exp: Likewise.
1858 * gdb.trace/change-loc.exp: Likewise.
1859 * gdb.trace/deltrace.exp: Likewise.
1860 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1861 * gdb.trace/ftrace.exp: Likewise.
1862 * gdb.trace/infotrace.exp: Check for arch support.
1863 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1864 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1865 * gdb.trace/mi-tsv-changed.exp: Likewise.
1866 * gdb.trace/packetlen.exp: Likewise.
1867 * gdb.trace/passc-dyn.exp: Likewise.
1868 * gdb.trace/passcount.exp: Likewise.
1869 * gdb.trace/pending.exp: Likewise.
1870 * gdb.trace/range-stepping.exp: Check for shlib support.
1871 * gdb.trace/report.exp: Check for arch support.
1872 * gdb.trace/save-trace.exp: Likewise.
1873 * gdb.trace/signal.exp: Check for signal support.
1874 * gdb.trace/tfind.exp: Check for arch support.
1875 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1876 * gdb.trace/trace-common.h: Add comment.
1877 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1878 * gdb.trace/trace-enable-disable.exp: Likewise.
1879 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1880 * gdb.trace/tracecmd.exp: Check for arch support.
1881 * gdb.trace/tspeed.exp: Check for shlib and target support.
1882 * gdb.trace/tstatus.exp: Check for arch support.
1883 * gdb.trace/tsv.exp: Likewise.
1884 * gdb.trace/while-dyn.exp: Likewise.
1885 * gdb.trace/while-stepping.exp: Likewise.
1886 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1887
1888 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1889
1890 * gdb.trace/tspeed.exp: Remove nowarnings.
1891 (prepare_for_trace_test): Declare "global ipalib".
1892 * gdb.trace/tspeed.c: Include unistd.h.
1893 (main): Remove superfluous printf argument.
1894
1895 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1896
1897 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1898 directory prefix on the filename.
1899
1900 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1901
1902 * gdb.gdb/unittest.exp: Update expected message informing that
1903 selftests have been disabled.
1904 * gdb.server/unittest.exp: Likewise.
1905
1906 2018-10-09 Tom de Vries <tdevries@suse.de>
1907
1908 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1909 with runto_main.
1910
1911 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1912
1913 PR c++/16841
1914 * gdb.cp/virtbase2.cc: New file.
1915 * gdb.cp/virtbase2.exp: New file.
1916
1917 2018-10-06 Tom Tromey <tom@tromey.com>
1918
1919 PR python/19399:
1920 * gdb.python/py-inferior.exp: Add architecture test.
1921
1922 2018-10-06 Tom Tromey <tom@tromey.com>
1923
1924 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1925 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1926
1927 2018-10-06 Tom Tromey <tom@tromey.com>
1928
1929 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1930 of a "throw" catchpoint.
1931
1932 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1933
1934 * gdb.base/info-proc.exp: Update string expected from "help info
1935 proc".
1936
1937 2018-10-04 Tom Tromey <tom@tromey.com>
1938
1939 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1940 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1941 (test_initial_complaints, test_empty_complaints): Update.
1942 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1943
1944 2018-10-04 Tom Tromey <tom@tromey.com>
1945
1946 PR cli/19551:
1947 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1948 * lib/gdb.exp (gdb_file_cmd): Update.
1949 * gdb.stabs/weird.exp (print_weird_var): Update.
1950 * gdb.server/solib-list.exp: Update.
1951 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1952 * gdb.mi/mi-cli.exp: Update.
1953 * gdb.linespec/linespec.exp: Update.
1954 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1955 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1956 * gdb.cp/cp-relocate.exp: Update.
1957 * gdb.base/sym-file.exp: Update.
1958 * gdb.base/relocate.exp: Update.
1959 * gdb.base/readnever.exp: Update.
1960 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1961 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1962 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1963 * gdb.base/code_elim.exp: Update.
1964 * gdb.base/break-unload-file.exp (test_break): Update.
1965 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1966 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1967 Update.
1968 * gdb.base/attach.exp (do_attach_tests): Update.
1969 * gdb.base/sepdebug.exp: Update.
1970 * gdb.python/py-section-script.exp: Update.
1971
1972 2018-10-04 Tom Tromey <tom@tromey.com>
1973
1974 PR cli/22234:
1975 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1976 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1977 output.
1978
1979 2018-10-04 Tom Tromey <tom@tromey.com>
1980
1981 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1982 set width and height to 0.
1983 (test_command_line_attach_run): Use -quiet.
1984
1985 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1986
1987 * lib/gdb.exp (skip_ifunc_tests): New.
1988 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1989 other compile failures.
1990 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1991
1992 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1993
1994 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1995 is_amd64_regs_target.
1996
1997 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1998
1999 * gdb.arch/aarch64-sighandler-regs.c: New test.
2000 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2001 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2002
2003 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2004
2005 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2006 assembly.
2007
2008 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.base/frame-selection.exp: New file.
2011 * gdb.base/frame-selection.c: New file.
2012
2013 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2014
2015 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2016 pthread barrier.
2017 (main): Likewise.
2018
2019 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2020
2021 * gdb.base/large-frame-1.c: New file.
2022 * gdb.base/large-frame-2.c: New file.
2023 * gdb.base/large-frame.exp: New file.
2024 * gdb.base/large-frame.h: New file.
2025
2026 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2027
2028 PR gdb/20948
2029 * gdb.base/write_mem.exp: New test.
2030 * gdb.base/write_mem.c: Likewise.
2031
2032 2018-09-23 Tom Tromey <tom@tromey.com>
2033
2034 PR python/18852:
2035 * gdb.python/py-parameter.exp: Add test for parameter that throws
2036 on "set".
2037
2038 2018-09-23 Tom Tromey <tom@tromey.com>
2039
2040 PR python/17284:
2041 * gdb.python/py-template.exp (test_template_arg): Add test for
2042 negative template argument number.
2043
2044 2018-09-23 Tom Tromey <tom@tromey.com>
2045
2046 PR python/14062:
2047 * gdb.python/python.exp: Add test for post_event error.
2048
2049 2018-09-23 Tom Tromey <tom@tromey.com>
2050
2051 PR python/18170:
2052 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2053 convert pointers to int and long.
2054
2055 2018-09-23 Tom Tromey <tom@tromey.com>
2056
2057 PR python/20126:
2058 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2059 signed-ness conversion tests.
2060
2061 2018-09-23 Tom Tromey <tom@tromey.com>
2062
2063 PR python/18352;
2064 * gdb.python/py-value.exp (test_float_conversion): New proc.
2065 Use it.
2066
2067 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2068
2069 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2070
2071 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2072
2073 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2074 no readline.
2075 * gdb.base/utf8-identifiers.exp: Likewise.
2076 * gdb.cp/cpcompletion.exp: Likewise.
2077 * gdb.linespec/cpcompletion.exp: Likewise.
2078 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2079 * gdb.linespec/cpls-ops.exp: Likewise.
2080
2081 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2082 Chris January <chris.january@arm.com>
2083
2084 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2085 * gdb.fortran/short-circuit-argument-list.exp: New file.
2086 * gdb.fortran/short-circuit-argument-list.f90: New test.
2087
2088 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2089
2090 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2091 "arch=" keyword when executing "-stack-list-frames".
2092
2093 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2094
2095 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2096 "arch=" keyword when executing "-stack-list-frames".
2097
2098 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2099
2100 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2101 break ada".
2102
2103 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2104
2105 PR python/23669
2106 * gdb.python/python.exp: Test gdb.execute("show commands").
2107
2108 2018-09-16 Tom Tromey <tom@tromey.com>
2109
2110 * gdb.base/new-ui.exp (do_execution_tests): Update.
2111 * gdb.base/dbx.exp (test_breakpoints): Update.
2112
2113 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2114
2115 * lib/gdb.exp (gdb_simple_compile): Add proc.
2116 (is_elf_target): Use gdb_simple_compile.
2117 (skip_altivec_tests): Likewise.
2118 (skip_vsx_tests): Likewise.
2119 (skip_tsx_tests): Likewise.
2120 (skip_btrace_tests): Likewise.
2121 (skip_btrace_pt_tests): Likewise.
2122 (gdb_can_simple_compile): Likewise.
2123 (gdb_has_argv0): Likewise.
2124 (gdb_target_symbol_prefix): Likewise.
2125 (target_supports_scheduler_locking): Likewise.
2126
2127 2018-09-13 Tom Tromey <tom@tromey.com>
2128
2129 * Makefile.in (TAGS): Recognize proc_with_prefix and
2130 gdb_caching_proc.
2131
2132 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2133
2134 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2135 method.
2136
2137 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2138
2139 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2140 and a few other Inferior properties when the Inferior is no
2141 longer valid.
2142
2143 2018-09-13 Tom Tromey <tom@tromey.com>
2144
2145 PR rust/23650:
2146 * gdb.rust/simple.exp: Add test for enum field access error.
2147
2148 2018-09-13 Tom Tromey <tom@tromey.com>
2149
2150 PR rust/23626:
2151 * gdb.rust/simple.rs (EmptyEnum): New type.
2152 (main): Use it.
2153 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2154
2155 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2156
2157 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2158 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2159 * gdb.python/py-symtab.exp: Update test printing an objfile.
2160
2161 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2164 object.
2165
2166 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2167
2168 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2169 (support_complex_tests): Use gdb_can_simple_compile.
2170 (is_ilp32_target): Likewise.
2171 (is_lp64_target): Likewise.
2172 (is_64_target): Likewise.
2173 (is_amd64_regs_target): Likewise.
2174 (is_aarch32_target): Likewise.
2175 (gdb_int128_helper): Likewise.
2176
2177 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2180
2181 2018-09-10 Jerome Guitton <guitton@adacore.com>
2182
2183 * gdb.ada/same_component_name: Add test for case of tagged record
2184 with variable-length fields.
2185
2186 2018-09-10 Xavier Roirand <roirand@adacore.com>
2187
2188 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2189 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2190 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2191 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2192
2193 2018-09-10 Xavier Roirand <roirand@adacore.com>
2194
2195 * gdb.ada/mi_string_access.exp: New testcase.
2196 * gdb.ada/mi_string_access/bar.adb: New file.
2197 * gdb.ada/mi_string_access/pck.adb: New file.
2198 * gdb.ada/mi_string_access/pck.asd: New file.
2199
2200 2018-09-10 Xavier Roirand <roirand@adacore.com>
2201
2202 * gdb.ada/mi_var_union.exp: New testcase.
2203 * gdb.ada/mi_var_union/bar.adb: New file.
2204 * gdb.ada/mi_var_union/pck.adb: New file.
2205 * gdb.ada/mi_var_union/pck.asd: New file.
2206
2207 2018-09-08 Tom Tromey <tom@tromey.com>
2208
2209 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2210
2211 2018-09-08 Tom Tromey <tom@tromey.com>
2212
2213 PR python/16047:
2214 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2215 (register_pretty_printers): Register new printer.
2216 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2217 test.
2218 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2219 (an_int_type3): New global.
2220
2221 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2222
2223 * gdb.ada/expr_with_funcall: New testcase.
2224
2225 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2226
2227 * gdb.ada/packed_array_assign: New testcase.
2228
2229 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2230
2231 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2232 names, and add test prefixes to make test names unique.
2233
2234 2018-09-05 Tom de Vries <tdevries@suse.de>
2235
2236 * gdb.dwarf2/varval.exp: Add test.
2237
2238 2018-09-04 Gary Benson <gbenson@redhat.com>
2239
2240 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2241 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2242
2243 2018-08-31 Tom Tromey <tom@tromey.com>
2244
2245 * gdb.rust/simple.rs: Rename second variable "v".
2246
2247 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2248
2249 * gdb.base/funcargs.c (use_a): New function.
2250 (recurse): Call use_a.
2251
2252 2018-08-29 Keith Seitz <keiths@redhat.com>
2253
2254 * gdb.compile/compile-cplus-anonymous.cc: New file.
2255 * gdb.compile/compile-cplus-anonymous.exp: New file.
2256 * gdb.compile/compile-cplus-array-decay.cc: New file.
2257 * gdb.compile/compile-cplus-array-decay.exp: New file.
2258 * gdb.compile/compile-cplus-inherit.cc: New file.
2259 * gdb.compile/compile-cplus-inherit.exp: New file.
2260 * gdb.compile/compile-cplus-member.cc: New file.
2261 * gdb.compile/compile-cplus-member.exp: New file.
2262 * gdb.compile/compile-cplus-method.cc: New file.
2263 * gdb.compile/compile-cplus-method.exp: New file.
2264 * gdb.compile/compile-cplus-mod.c: "New" file.
2265 * gdb.compile/compile-cplus-namespace.cc: New file.
2266 * gdb.compile/compile-cplus-namespace.exp: New file.
2267 * gdb.compile/compile-cplus-nested.cc: New file.
2268 * gdb.compile/compile-cplus-nested.exp: New file.
2269 * gdb.compile/compile-cplus-print.c: "New" file.
2270 * gdb.compile/compile-cplus-print.exp: "New" file.
2271 * gdb.compile/compile-cplus-virtual.cc: New file.
2272 * gdb.compile/compile-cplus-virtual.exp: New file.
2273 * gdb.compile/compile-cplus.c: "New" file.
2274 * gdb.compile/compile-cplus.exp: "New" file.
2275 * lib/compile-support.exp: New file.
2276
2277 2018-08-16 Gary Benson <gbenson@redhat.com>
2278
2279 PR gdb/13000:
2280 * gdb.base/batch-exit-status.exp: New file.
2281 * gdb.base/batch-exit-status.good-commands: Likewise.
2282 * gdb.base/batch-exit-status.bad-commands: Likewise.
2283
2284 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2285
2286 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2287 (struct struct02): Likewise.
2288 (struct struct03): Likewise.
2289 (struct struct04): Likewise.
2290 (struct struct_01_01): New struct.
2291 (struct struct_01_02): Likewise.
2292 (struct struct_01_03): Likewise.
2293 (struct struct_01_04): Likewise.
2294 (struct struct_02_01): Likewise.
2295 (struct struct_02_02): Likewise.
2296 (struct struct_02_03): Likewise.
2297 (struct struct_02_04): Likewise.
2298 (struct struct_04_01): Likewise.
2299 (struct struct_04_02): Likewise.
2300 (struct struct_04_03): Likewise.
2301 (struct struct_04_04): Likewise.
2302 (struct struct_05_01): Likewise.
2303 (struct struct_05_02): Likewise.
2304 (struct struct_05_03): Likewise.
2305 (struct struct_05_04): Likewise.
2306 (cmp_struct01): Remove function.
2307 (cmp_struct02): Likewise.
2308 (cmp_struct03): Likewise.
2309 (cmp_struct04): Likewise.
2310 (cmp_struct_01_01): Add Function.
2311 (cmp_struct_01_02): Likewise.
2312 (cmp_struct_01_03): Likewise.
2313 (cmp_struct_01_04): Likewise.
2314 (cmp_struct_02_01): Likewise.
2315 (cmp_struct_02_02): Likewise.
2316 (cmp_struct_02_03): Likewise.
2317 (cmp_struct_02_04): Likewise.
2318 (cmp_struct_04_01): Likewise.
2319 (cmp_struct_04_02): Likewise.
2320 (cmp_struct_04_03): Likewise.
2321 (cmp_struct_04_04): Likewise.
2322 (cmp_struct_05_01): Likewise.
2323 (cmp_struct_05_02): Likewise.
2324 (cmp_struct_05_03): Likewise.
2325 (cmp_struct_05_04): Likewise.
2326 (call_all): Add new structs.
2327 * gdb.base/infcall-nested-structs.exp: Likewise.
2328
2329 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2330
2331 * gdb.python/py-framefilter-mi.exp: Update regexp to
2332 check for "arch" field in frame output.
2333
2334 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2335
2336 * gdb.dwarf2/dw2-ranges-func.c: New file.
2337 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2338
2339 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2340
2341 * gdb.base/term.exp: Compare terminal settings with values from
2342 the inferior.
2343 * gdb.base/term.c: Get and set terminal settings.
2344
2345 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2346
2347 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2348 accommodate new "arch" field in frame output.
2349 * gdb.mi/mi-return.exp: Likewise.
2350 * gdb.mi/mi-stack.exp: Likewise.
2351 * gdb.mi/mi-syn-frame.exp: Likewise.
2352 * gdb.mi/user-selected-context-sync.exp: Likewise.
2353
2354 2018-08-19 Michael Spang <spang@google.com>
2355
2356 PR gdb/11786
2357 * gdb.base/gcore-tls-pie.c: New file.
2358 * gdb.base/gcore-tls-pie.exp: New file.
2359
2360 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2361
2362 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2363 * gdb.dwarf2/varval.c: New file.
2364 * gdb.dwarf2/varval.exp: New file.
2365
2366 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2367
2368 PR gdb/18931
2369 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2370
2371 2018-08-16 Keith Seitz <keiths@redhat.com>
2372
2373 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2374 tests expected to pass.
2375
2376 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2377
2378 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2379 -data-disassemble -a.
2380 (test_disassembly_bogus_args): Likewise.
2381
2382 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2383
2384 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2385
2386 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2387
2388 * gdb.base/vla-optimized-out.exp: Add new test.
2389
2390 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2391
2392 * gdb.base/vla-optimized-out-o3.exp: Delete.
2393 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2394 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2395 deleted tests.
2396
2397 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2398
2399 PR gdb/18050:
2400 * gdb.server/extended-remote-restart.c: New file.
2401 * gdb.server/extended-remote-restart.exp: New file.
2402
2403 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2404
2405 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2406 "set variable index = 42".
2407
2408 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2409
2410 * boards/index-cache-gdb.exp: New file.
2411 * gdb.dwarf2/index-cache.exp: New file.
2412 * gdb.dwarf2/index-cache.c: New file.
2413 * gdb.base/maint.exp: Check if we are using the index cache.
2414
2415 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2416
2417 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2418 MAKEFLAGS.
2419
2420 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2421
2422 * dg-extract-results.sh: Move to toplevel contrib.
2423 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2424 * Makefile.in (check-parallel-racy): Likewise.
2425
2426 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2429 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2430 tests if the target supports scheduler locking.
2431
2432 2018-08-04 Tom de Vries <tdevries@suse.de>
2433
2434 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2435
2436 2018-08-02 Tom Tromey <tom@tromey.com>
2437
2438 PR symtab/16842.
2439 * gdb.cp/temargs.exp: Test "info address" of a template
2440 parameter.
2441
2442 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2443
2444 * gdb.python/py-mi-var-info-path-expression.c: New file.
2445 * gdb.python/py-mi-var-info-path-expression.py: New file.
2446 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2447
2448 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2449
2450 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2451 error after "cannot resolve name" string.
2452
2453 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2454
2455 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2456 started.
2457 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2458
2459 2018-07-28 Tom de Vries <tdevries@suse.de>
2460
2461 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2462
2463 2018-07-26 Tom de Vries <tdevries@suse.de>
2464
2465 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2466
2467 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2468
2469 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2470 is visible.
2471
2472 2018-07-26 Tom de Vries <tdevries@suse.de>
2473
2474 PR breakpoints/23366
2475 * gdb.base/catch-follow-exec.c: New test.
2476 * gdb.base/catch-follow-exec.exp: New file.
2477
2478 2018-07-25 Tom de Vries <tdevries@suse.de>
2479
2480 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2481 vla-optimized-out.c.
2482
2483 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2484
2485 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2486 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2487
2488 2018-07-20 Tom de Vries <tdevries@suse.de>
2489
2490 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2491 NOCLONE macro.
2492 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2493
2494 2018-07-19 Tom de Vries <tdevries@suse.de>
2495
2496 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2497 regular expression.
2498
2499 2018-07-18 Tom de Vries <tdevries@suse.de>
2500
2501 * gdb.base/vla-optimized-out.c: New test.
2502 * gdb.base/vla-optimized-out.exp: New file.
2503
2504 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2505
2506 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2507 message "No address associated with hostname" when gdbserver
2508 cannot resolve the hostname.
2509
2510 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2511
2512 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2513 Add some test prefixes to make tests unique.
2514
2515 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2516
2517 * gdb.base/frameapply.c: New file.
2518 * gdb.base/frameapply.exp: New file.
2519
2520 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2521
2522 * gdb.base/skip.exp: Update expected error message.
2523
2524 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2525 Jan Kratochvil <jan.kratochvil@redhat.com>
2526 Paul Fertser <fercerpav@gmail.com>
2527 Tsutomu Seki <sekiriki@gmail.com>
2528
2529 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2530 parameter.
2531 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2532 by default.
2533 * boards/native-gdbserver.exp: Likewise.
2534 * gdb.server/run-without-local-binary.exp: Improve regexp used
2535 for detecting when a remote debugging connection succeeds.
2536 * gdb.server/server-connect.exp: New file.
2537 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2538 Do not prefix the port number with ":".
2539 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2540 support for detecting and using it. Add '$debughost_gdbserver'
2541 to the list of arguments used to start gdbserver. Handle case
2542 when gdbserver cannot resolve a network name.
2543
2544 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2545
2546 PR c++/23373
2547 * gdb.base/ptype-offsets.cc (struct static_member): New
2548 struct.
2549 (main) <stmember>: New variable.
2550 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2551 with a static member in it.
2552
2553 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2554
2555 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2556 watchpoints enabled and disabled.
2557
2558 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2559
2560 * gdb.base/examine-backward.exp: Still run tests around address
2561 0x0, even if address 0x0 is not readable. Update the pattern for
2562 matching address 0x0 in expected output.
2563
2564 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2567 malloc/free.
2568
2569 2018-07-04 Tom de Vries <tdevries@suse.de>
2570
2571 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2572
2573 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2574
2575 PR tdep/8282
2576 * gdb.arch/mips-disassembler-options.exp: New test.
2577 * gdb.arch/mips-disassembler-options.s: New test source.
2578
2579 2018-06-29 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.threads/names.exp: Adjust expected "info threads" output.
2582
2583 2018-06-29 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.opt/inline-break.exp (line number, address): Add "info
2586 break" tests.
2587
2588 2018-06-29 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2591 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2592 number and address and running to them.
2593
2594 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2595
2596 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2597
2598 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2599
2600 * lib/compiler.c: Remove executable permission flag.
2601
2602 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2603
2604 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2605 code.
2606 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2607
2608 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2609
2610 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2611
2612 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2613
2614 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2615 address argument is omitted.
2616
2617 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2618
2619 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2620
2621 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2622
2623 PR gdb/21695
2624 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2625 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2626
2627 2018-06-26 Tom Tromey <tom@tromey.com>
2628
2629 PR rust/22574:
2630 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2631 * gdb.rust/simple.rs (struct SimpleLayout): New.
2632
2633 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2634
2635 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2636 "info registers" output.
2637
2638 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2639
2640 * gdb.base/watchpoint-hw-attach.c: New test.
2641 * gdb.base/watchpoint-hw-attach.exp: New file.
2642
2643 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2644
2645 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2646 through /bin/sh.
2647 * boards/dwarf4-gdb-index.exp: Likewise.
2648 * boards/fission-dwp.exp: Likewise.
2649
2650 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2651
2652 * gdb.base/float128.exp: Add comment and improved fail message
2653 to the failure case of "print large128" test.
2654
2655 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2656
2657 * configure.ac: Remove AC_PREREQ.
2658 * configure: Re-generate.
2659
2660 2018-06-19 Pedro Alves <palves@redhat.com>
2661
2662 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2663 (func_extern_caller): New.
2664 (main): Call func_extern_caller.
2665 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2666 logic change.
2667
2668 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2669
2670 PR gdb/16841
2671 * gdb.cp/typedef-base.cc: New file.
2672 * gdb.cp/typedef-base.exp: New file.
2673
2674 2018-06-18 Tom de Vries <tdevries@suse.de>
2675
2676 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2677
2678 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2679 Richard Bunt <Richard.Bunt@arm.com>
2680
2681 * gdb.threads/attach-slow-waitpid.c: New file.
2682 * gdb.threads/attach-slow-waitpid.exp: New file.
2683 * gdb.threads/slow-waitpid.c: New file.
2684
2685 2018-06-14 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/fork-running-state.c: Include <errno.h>.
2688 (exit_if_relative_exits): New.
2689 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2690 exits.
2691 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2692 child exits.
2693
2694 2018-06-14 Tom de Vries <tdevries@suse.de>
2695
2696 PR cli/22573
2697 * gdb.base/finish-pretty.c: New test.
2698 * gdb.base/finish-pretty.exp: New file.
2699
2700 2018-06-14 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2703 gdb's expected startup output.
2704
2705 2018-06-14 Pedro Alves <palves@redhat.com>
2706
2707 * lib/selftest-support.exp (selftest_setup): Remove inlined
2708 function handling.
2709
2710 2018-06-14 Tom de Vries <tdevries@suse.de>
2711
2712 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2713 matching of breakpoint printing.
2714
2715 2018-06-13 Tom de Vries <tdevries@suse.de>
2716
2717 PR testsuite/23269
2718 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2719 (fork_child): ... here, and ...
2720 (fork_parent): ... here.
2721
2722 2018-06-12 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2725
2726 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2727 Stephen Roberts <stephen.roberts@arm.com>
2728
2729 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2730 rewrite test to describe action performed, rather than possible
2731 failure.
2732
2733 2018-06-08 Gary Benson <gbenson@redhat.com>
2734
2735 * gdb.threads/check-libthread-db.exp: New file.
2736 * gdb.threads/check-libthread-db.c: Likewise.
2737
2738 2018-06-05 Tom Tromey <tom@tromey.com>
2739
2740 * gdb.base/default.exp: Update expected "show version" output.
2741
2742 2018-06-05 Tom Tromey <tom@tromey.com>
2743
2744 PR cli/12326:
2745 * gdb.cp/static-print-quit.exp: Update.
2746 * lib/gdb.exp (pagination_prompt): Update.
2747 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2748 * gdb.python/python.exp: Update.
2749
2750 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2753
2754 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.ada/bp_fun_addr: New testcase.
2757
2758 2018-06-01 Tom Tromey <tom@tromey.com>
2759
2760 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2761 results.
2762 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2763 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2764 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2765 * gdb.base/maint.exp (maint_pass_if): Update.
2766
2767 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2768
2769 * gdb.base/endian.exp: New test.
2770 * gdb.base/endian.c: New test source.
2771
2772 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 PR gdb/23203
2775 * gdb.base/bt-selected-frame.c: New file.
2776 * gdb.base/bt-selected-frame.exp: New file.
2777 * lib/gdb.exp (get_current_frame_number): New function.
2778
2779 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2780 Pedro Alves <palves@redhat.com>
2781
2782 * gdb.threads/tls-core.c: Include <stdlib.h>
2783 (thread_proc): Call `abort'.
2784 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2785 (tls_core_test): New procedure, bits factored out from ...
2786 (top level): ... here. Test both native cores and gcore cores.
2787
2788 2018-05-23 Tom Tromey <tom@tromey.com>
2789
2790 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2791
2792 2018-05-23 Tom Tromey <tom@tromey.com>
2793
2794 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2795 symfile_complaints.
2796 (test_short_complaints): Likewise.
2797 (test_empty_complaints): Likewise.
2798 (test_initial_complaints): Update.
2799
2800 2018-05-23 Tom Tromey <tom@tromey.com>
2801
2802 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2803
2804 2018-05-23 Tom Tromey <tom@tromey.com>
2805
2806 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2807 (test_short_complaints): Update.
2808
2809 2018-05-22 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.base/remote.exp: Only gdb_start after compiling the
2812 testcase. Issue "disconnect" before testing "set remote" command
2813 defaults. Issue clean_restart before running to main.
2814
2815 2018-05-22 Pedro Alves <palves@redhat.com>
2816
2817 * gdb.base/remote.exp: Adjust expected output of "show remote
2818 memory-write-packet-size". Add tests for "set remote
2819 memory-write-packet-size 0" and "set remote
2820 memory-write-packet-size fixed/limit".
2821
2822 2018-05-22 Pedro Alves <palves@redhat.com>
2823
2824 PR gdb/22973
2825 * gdb.base/utf8-identifiers.c: New file.
2826 * gdb.base/utf8-identifiers.exp: New file.
2827
2828 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2829
2830 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2831
2832 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2833
2834 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2835
2836 2018-05-18 Tom Tromey <tom@tromey.com>
2837
2838 * gdb.base/ptype-offsets.exp: Update.
2839
2840 2018-05-17 Keith Seitz <keiths@redhat.com>
2841
2842 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2843 in expected breakpoint stop locations.
2844 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2845 move to proper scope to test variable values.
2846 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2847 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2848 New functions.
2849 (main): Call not_inline_func3.
2850 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2851 inline_func1, inline_func2, and inline_func3. Test that when each
2852 breakpoint is hit, GDB properly reports both the stop location
2853 and the backtrace. Repeat tests for temporary breakpoints.
2854
2855 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2856
2857 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2858 rather then trying to access it in determining whether the PID
2859 of `gdbserver' could have been retrieved.
2860
2861 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2862
2863 * gdb.arch/amd64-init-x87-values.S: New file.
2864 * gdb.arch/amd64-init-x87-values.exp: New file.
2865
2866 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2867
2868 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2869
2870 2018-05-04 Tom Tromey <tom@tromey.com>
2871
2872 PR python/22730:
2873 * gdb.python/python.exp: Test multi-line execute.
2874
2875 2018-05-04 Tom Tromey <tom@tromey.com>
2876
2877 PR python/22731:
2878 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2879
2880 2018-05-04 Tom Tromey <tom@tromey.com>
2881
2882 PR gdb/11750:
2883 * gdb.base/define.exp: Test defining a user command inside a user
2884 command.
2885 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2886
2887 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2888 Pedro Alves <palves@redhat.com>
2889
2890 PR breakpoints/19806 and support for PR external/20207.
2891 * gdb.base/watchpoint-unaligned.c: New file.
2892 * gdb.base/watchpoint-unaligned.exp: New file.
2893
2894 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2895
2896 * gdb.base/maint.exp: Make test names unique, use
2897 test_prefix_command_help to test 'help maint info', and remove
2898 repeated test of 'help maint'.
2899
2900 2018-05-04 Tom Tromey <tom@tromey.com>
2901
2902 PR gdb/22619:
2903 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2904 behavior.
2905
2906 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.base/maint.exp: Process output from 'maint print registers'
2909 line at a time.
2910
2911 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2912
2913 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2914 timeout.
2915
2916 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2917
2918 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2919 filter pattern.
2920
2921 2018-05-02 Pedro Alves <palves@redhat.com>
2922
2923 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2924 to_log_command renames.
2925 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2926
2927 2018-05-02 Tom Tromey <tom@tromey.com>
2928
2929 * gdb.python/py-parameter.exp: Set test message.
2930
2931 2018-05-02 Tom Tromey <tom@tromey.com>
2932
2933 PR python/20084:
2934 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2935 PARAM_ZUINTEGER_UNLIMITED tests.
2936
2937 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2938
2939 PR rust/23124
2940 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2941 when casting.
2942
2943 2018-04-30 Tom Tromey <tom@tromey.com>
2944
2945 * gdb.python/py-type.exp: Check align attribute.
2946 * gdb.python/py-type.c: New "aligncheck" global.
2947
2948 2018-04-30 Tom Tromey <tom@tromey.com>
2949
2950 PR exp/17095:
2951 * gdb.dwarf2/dw2-align.exp: New file.
2952 * gdb.cp/align.exp: New file.
2953 * gdb.base/align.exp: New file.
2954 * lib/gdb.exp (gdb_int128_helper): New proc.
2955 (has_int128_c, has_int128_cxx): New caching procs.
2956
2957 2018-04-27 Tom Tromey <tom@tromey.com>
2958
2959 PR rust/22545:
2960 * gdb.rust/simple.exp: Add inclusive range tests.
2961
2962 2018-04-26 Pedro Alves <palves@redhat.com>
2963
2964 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2965 ifunc breakpoint locations correctly of ifunc breakpoints set
2966 while the program resolves the ifunc.
2967
2968 2018-04-26 Pedro Alves <palves@redhat.com>
2969
2970 * gdb.base/gnu-ifunc-final.c: New file.
2971 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2972 * gdb.base/gnu-ifunc.exp (executable): Delete.
2973 (staticexecutable): Adjust.
2974 (lib_opts, exec_opts): Delete.
2975 (make_binsuffix, build, set-break): New procedures.
2976 (misc_tests): New, with tests factored out from the top level.
2977 (top level): Test different combinations of ifunc resolver name,
2978 resolver with and with debug info, and ifunc target with and
2979 without debug info. Wrap static tests with with_target_prefix.
2980
2981 2018-04-26 Pedro Alves <palves@redhat.com>
2982
2983 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2984 return type" warnings.
2985
2986 2018-04-25 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2989 killed".
2990 * gdb.base/kill-after-signal.exp: Likewise.
2991 * gdb.threads/kill.exp: Likewise.
2992
2993 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2994 Sergio Durigan Junior <sergiodj@redhat.com>
2995 Pedro Alves <palves@redhat.com>
2996
2997 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2998 regexps to expect for '[Inferior ... detached]' as well.
2999 * gdb.base/attach.exp: Likewise.
3000 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3001 "gdb_continue_to_end".
3002 (test_catch_syscall_with_wrong_args): Likewise.
3003 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3004 ']'. Don't set 'verbose' on.
3005 * gdb.base/foll-vfork.exp: Likewise.
3006 * gdb.base/fork-print-inferior-events.c: New file.
3007 * gdb.base/fork-print-inferior-events.exp: New file.
3008 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3009 '[Inferior ... has been killed]' message.
3010 * gdb.base/kill-after-signal.exp: Likewise.
3011 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3012 detach message.
3013 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3014 message.
3015 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3016 regexps to expect for '[Inferior ... detached]' as well.
3017 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3018
3019 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 PR gdb/23104
3022 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3023
3024 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3025
3026 * gdb.threads/multiple-successive-infcall.c: New test.
3027 * gdb.threads/multiple-successive-infcall.exp: New file.
3028
3029 2018-04-17 Tom Tromey <tom@tromey.com>
3030
3031 * gdb.rust/simple.rs (Union): New type.
3032 (main): New local "u".
3033 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3034
3035 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3036
3037 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3038 number information in output of "whereis" command.
3039 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3040
3041 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3042
3043 * gdb.ada/info_types.exp: Adjust expected output to the line
3044 numbers now printed by "info var/func/type".
3045 * gdb.base/completion.exp: Likewise.
3046 * gdb.base/included.exp: Likewise.
3047 * gdb.cp/cp-relocate.exp: Likewise.
3048 * gdb.cp/cplusfuncs.exp: Likewise.
3049 * gdb.cp/namespace.exp: Likewise.
3050 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3051
3052 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3053
3054 * gdb.btrace/cpu.exp: New.
3055
3056 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3057
3058 * gdb.base/step-indirect-call-thunk.exp: New.
3059 * gdb.base/step-indirect-call-thunk.c: New.
3060 * gdb.reverse/step-indirect-call-thunk.exp: New.
3061 * gdb.reverse/step-indirect-call-thunk.c: New.
3062
3063 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3064
3065 * gdb.base/pie-fork.c: New file.
3066 * gdb.base/pie-fork.exp: New file.
3067
3068 2018-04-11 Tom Tromey <tom@tromey.com>
3069
3070 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3071
3072 2018-04-10 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3075 exits. Instead loop running forever.
3076 (fork_parent): Run forever too.
3077
3078 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3079
3080 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3081 mi_continue_to_line.
3082 * gdb.mi/mi-stack.c (callee4): Add comment.
3083
3084 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3085
3086 * gdb.mi/mi-stack.exp: Fix indentation.
3087
3088 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3089
3090 PR gdb/22979
3091 * gdb.arch/amd64-osabi.exp: New file.
3092
3093 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3094
3095 PR gdb/22980
3096 * gdb.base/osabi.exp: New file.
3097
3098 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3099
3100 * gdb.cp/static-typedef-print.exp: New file.
3101 * gdb.cp/static-typedef-print.cc: New file.
3102
3103 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3104
3105 * gdb.ada/varsize_limit: New testcase.
3106
3107 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3108
3109 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3110
3111 * gdb.ada/notcplusplus: New testcase.
3112
3113 * gdb.base/c-linkage-name.c: New file.
3114 * gdb.base/c-linkage-name.exp: New testcase.
3115
3116 2018-03-26 Tom Tromey <tom@tromey.com>
3117
3118 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3119 * gdb.python/py-framefilter.py (name_error): New global.
3120 (ErrorInName.function): Use name_error.
3121
3122 2018-03-26 Tom Tromey <tom@tromey.com>
3123
3124 PR backtrace/15582:
3125 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3126
3127 2018-03-23 Keith Seitz <keiths@redhat.com>
3128
3129 PR c++/22968
3130 * gdb.cp/subtypes.exp: New file.
3131 * gdb.cp/subtypes.h: New file.
3132 * gdb.cp/subtypes.cc: New file.
3133 * gdb.cp/subtypes-2.cc: New file.
3134
3135 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3136
3137 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3138 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3139 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3140 -nostartfiles when compiling the test. Confirm that all registers
3141 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3142
3143 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3144
3145 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3146 option, syntax was wrong anyway.
3147 * gdb.arch/arm-disp-step.exp: Likewise.
3148 * gdb.arch/sparc64-regs.exp: Likewise.
3149 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3150 option, syntax was wrong anyway, switch to use
3151 prepare_for_testing.
3152 * gdb.arch/i386-disp-step.exp: Likewise.
3153
3154 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3155
3156 * gdb.ada/exec_changed.exp: Replace "target_info exists
3157 use_gdb_stub" by "use_gdb_stub".
3158 * gdb.ada/start.exp: Likewise.
3159 * gdb.base/async-shell.exp: Likewise.
3160 * gdb.base/attach-pie-misread.exp: Likewise.
3161 * gdb.base/attach-wait-input.exp: Likewise.
3162 * gdb.base/break-entry.exp: Likewise.
3163 * gdb.base/break-interp.exp: Likewise.
3164 * gdb.base/dprintf-detach.exp: Likewise.
3165 * gdb.base/nostdlib.exp: Likewise.
3166 * gdb.base/solib-nodir.exp: Likewise.
3167 * gdb.base/statistics.exp: Likewise.
3168 * gdb.base/testenv.exp: Likewise.
3169 * gdb.mi/mi-exec-run.exp: Likewise.
3170 * gdb.mi/mi-start.exp: Likewise.
3171 * gdb.multi/dummy-frame-restore.exp: Likewise.
3172 * gdb.multi/multi-arch-exec.exp: Likewise.
3173 * gdb.multi/multi-arch.exp: Likewise.
3174 * gdb.multi/tids.exp: Likewise.
3175 * gdb.multi/watchpoint-multi.exp: Likewise.
3176 * gdb.python/py-events.exp: Likewise.
3177 * gdb.threads/attach-into-signal.exp: Likewise.
3178 * gdb.threads/attach-stopped.exp: Likewise.
3179 * gdb.threads/threadapply.exp: Likewise.
3180 * lib/selftest-support.exp: Likewise.
3181
3182 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3183
3184 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3185
3186 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3187
3188 * gdb.perf/template-breakpoints.cc: New file.
3189 * gdb.perf/template-breakpoints.exp: New file.
3190 * gdb.perf/template-breakpoints.py: New file.
3191
3192 2018-03-19 Tom Tromey <tom@tromey.com>
3193
3194 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3195 y0.
3196 * gdb.rust/simple.exp: Test bare identifier form of struct
3197 initializer.
3198
3199 2018-03-19 Tom Tromey <tom@tromey.com>
3200
3201 * gdb.gdb/observer.exp: Remove.
3202
3203 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3204
3205 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3206 "qualified" option when setting breakpoints.
3207 * gdb.trace/backtrace.exp: Likewise.
3208 * gdb.trace/circ.exp: Likewise.
3209 * gdb.trace/collection.exp: Likewise.
3210 * gdb.trace/disconnected-tracing.exp: Likewise.
3211 * gdb.trace/ftrace-lock.exp: Likewise.
3212 * gdb.trace/ftrace.exp: Likewise.
3213 * gdb.trace/infotrace.exp: Likewise.
3214 * gdb.trace/packetlen.exp: Likewise.
3215 * gdb.trace/passc-dyn.exp: Likewise.
3216 * gdb.trace/qtro.exp: Likewise.
3217 * gdb.trace/read-memory.exp: Likewise.
3218 * gdb.trace/report.exp: Likewise.
3219 * gdb.trace/signal.exp: Likewise.
3220 * gdb.trace/status-stop.exp: Likewise.
3221 * gdb.trace/strace.exp: Likewise.
3222 * gdb.trace/tfind.exp: Likewise.
3223 * gdb.trace/trace-break.exp: Likewise.
3224 * gdb.trace/trace-condition.exp: Likewise.
3225 * gdb.trace/trace-mt.exp: Likewise.
3226 * gdb.trace/tstatus.exp: Likewise.
3227 * gdb.trace/tsv.exp: Likewise.
3228 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3229 * gdb.trace/unavailable.exp: Likewise.
3230 * gdb.trace/while-dyn.exp: Likewise.
3231
3232 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3233
3234 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3235 that libinproctrace is copied to the target.
3236
3237 2018-03-14 Tom Tromey <tom@tromey.com>
3238
3239 PR cli/14977:
3240 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3241 a null pointer.
3242 * gdb.base/wchar.exp: Likewise.
3243
3244 2018-03-14 Tom Tromey <tom@tromey.com>
3245
3246 PR cli/19918:
3247 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3248 flag.
3249
3250 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3251
3252 PR gdb/22841
3253 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3254 "target" to remote_exec.
3255
3256 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3257
3258 PR gdb/22841
3259 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3260 ${board}_upload): Remove.
3261
3262 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3263
3264 * gdb.cp/watch-cp.cc: New test.
3265 * gdb.cp/watch-cp.exp: New file.
3266
3267 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3268
3269 * gdb.base/infcall-nested-structs.exp: New file.
3270 * gdb.base/infcall-nested-structs.c: New file.
3271 * gdb.base/float.exp: Add riscv support.
3272
3273 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3274
3275 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3276 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3277
3278 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3279
3280 * gdb.server/abspath.exp: New file.
3281 * lib/gdb.exp (with_cwd): New procedure.
3282
3283 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3284
3285 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3286 use it.
3287 (gdb_is_target_remote_prompt): New proc.
3288 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3289 (gdb_is_target_native): Pass prompt parameter to
3290 gdb_is_target_1.
3291
3292 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3293
3294 * gdb.base/load-command.c: New file.
3295 * gdb.base/load-command.exp: New file.
3296 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3297 (gdb_is_target_1): ...this, and generalize for other targets
3298 than just remote.
3299 (gdb_is_target_remote): Use gdb_is_target_1.
3300 (gdb_is_target_native): use gdb_is_target_1.
3301
3302 2018-02-26 Tom Tromey <tom@tromey.com>
3303
3304 PR python/16497:
3305 * gdb.python/py-framefilter.exp: Update test.
3306
3307 2018-02-26 Tom Tromey <tom@tromey.com>
3308
3309 * gdb.dwarf2/variant.c: New file.
3310 * gdb.dwarf2/variant.exp: New file.
3311
3312 2018-02-26 Tom Tromey <tom@tromey.com>
3313
3314 * gdb.rust/simple.exp: Accept more possible results in enum test.
3315
3316 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3317
3318 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3319 parentheses.
3320
3321 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3322
3323 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3324 name of a variable: $actual_linejj -> $actual_line.
3325
3326 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3327
3328 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3329
3330 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3331
3332 * gdb.btrace/buffer-size.exp: Do not force BTS.
3333
3334 2018-02-14 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3337 getting a "Quit".
3338
3339 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3340
3341 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3342 Fix test name.
3343
3344 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3345
3346 * gdb.cp/m-static.exp: Check type of optimized out static
3347 member.
3348
3349 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3350
3351 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3352 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3353
3354 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3355 Leszek Swirski <leszeks@google.com>
3356
3357 * gdb.python/py-prettyprint.c
3358 (struct to_string_returns_value_inner,
3359 struct to_string_returns_value_wrapper): New.
3360 (main): Add tsrvw variable.
3361 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3362 ToStringReturnsValueWrapper): New classes.
3363 (register_pretty_printers): Register new pretty-printers.
3364 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3365 recursive pretty printer.
3366 * gdb.python/py-mi.exp: Likewise.
3367
3368 2018-02-01 Leszek Swirski <leszeks@google.com>
3369
3370 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3371 functions with the same name as an include file are parsed
3372 correctly.
3373
3374 2018-02-01 Yao Qi <yao.qi@linaro.org>
3375
3376 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3377 "\[^\r\n\]*".
3378
3379 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3380
3381 * gdb.arch/powerpc-prologue-frame.s: New file.
3382 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3383 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3384
3385 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3386
3387 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3388
3389 2018-01-30 Pedro Alves <palves@redhat.com>
3390
3391 PR gdb/13211
3392 * gdb.base/interrupt-daemon.c: New.
3393 * gdb.base/interrupt-daemon.exp: New.
3394 * gdb.multi/multi-term-settings.c: New.
3395 * gdb.multi/multi-term-settings.exp: New.
3396
3397 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3398
3399 * gdb.base/break.exp: Save the location where the breakpoint
3400 on break.c:47 was actually inserted when debugging the version
3401 compiled at -O2 and use it in the expected output of the "info
3402 break" test performed soon after.
3403
3404 2018-01-22 Pedro Alves <palves@redhat.com>
3405 Sergio Durigan Junior <sergiodj@redhat.com>
3406
3407 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3408 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3409
3410 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3411
3412 * gdb.base/break-include.c, gdb.base/break-include.inc,
3413 gdb.base/break-include.exp: New files.
3414 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3415 line number now being the actual line number where the breakpoint
3416 was inserted.
3417 * gdb.mi/mi-break.exp: Likewise.
3418 * gdb.mi/mi-reverse.exp: Likewise.
3419 * gdb.mi/mi-simplerun.exp: Ditto.
3420
3421 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3422
3423 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3424 varobj.
3425 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3426
3427 2018-01-21 Don Breazeal <donb@codesourcery.com>
3428 Andrew Burgess <andrew.burgess@embecosm.com>
3429
3430 * gdb.mi/basics.c: Add new global.
3431 * gdb.mi/mi-frame-regs.exp: New file.
3432 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3433 case.
3434
3435 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3436
3437 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3438 non-parameter, and on an unknown symbol.
3439
3440 2018-01-19 Tom Tromey <tom@tromey.com>
3441
3442 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3443 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3444
3445 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3446
3447 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3448 setrlimit and chdir to int.
3449
3450 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3451
3452 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3453 function.
3454 (my_tend): Likewise.
3455 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3456 rationale of avoiding FP- and vector instructions.
3457
3458 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3459
3460 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3461 "info reg" with "\[ \t\]*".
3462 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3463 "\[ \t\]+".
3464 * gdb.arch/s390-multiarch.exp: Ditto.
3465 * gdb.base/pc-fp.exp: Ditto.
3466 * gdb.reverse/i386-precsave.exp: Ditto.
3467 * gdb.reverse/i386-reverse.exp: Ditto.
3468 * gdb.reverse/i387-env-reverse.exp: Ditto.
3469 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3470
3471 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3472
3473 * lib/gdb.exp (gdb_compile): Re-enable use of
3474 universal_compile_options for languages other than Rust.
3475
3476 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3477
3478 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3479
3480 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3481
3482 PR gdb/16577
3483 * gdb.base/solib-vanish.exp: New.
3484 * gdb.base/solib-vanish-main.c: New.
3485 * gdb.base/solib-vanish-lib1.c: New.
3486 * gdb.base/solib-vanish-lib2.c: New.
3487
3488 2018-01-17 Yao Qi <yao.qi@linaro.org>
3489
3490 * gdb.compile/compile.exp: Match the address printed for
3491 frame in the output of command "bt".
3492
3493 2018-01-15 Tom Tromey <tom@tromey.com>
3494
3495 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3496 compute sp_reg.
3497
3498 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3501 to prepare.
3502 (prepare): Return 0 on error, 1 on success.
3503
3504 2018-01-12 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/continue-after-aborted-step-over.c: New.
3507 * gdb.base/continue-after-aborted-step-over.exp: New.
3508
3509 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3510
3511 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3512 options when not creating an executable.
3513
3514 2018-01-11 Pedro Alves <palves@redhat.com>
3515
3516 PR remote/22597
3517 * gdb.server/stop-reply-no-thread.c: New file.
3518 * gdb.server/stop-reply-no-thread.exp: New file.
3519
3520 2018-01-10 Pedro Alves <palves@redhat.com>
3521
3522 PR gdb/22670
3523 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3524 functions too. Test setting breakpoints and printing C functions
3525 with no debug info too.
3526 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3527
3528 2018-01-10 Pedro Alves <palves@redhat.com>
3529
3530 PR gdb/22670
3531 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3532 a fail.
3533
3534 2018-01-10 Pedro Alves <palves@redhat.com>
3535
3536 PR gdb/22670
3537 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3538
3539 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3540
3541 * gdb.server/unittest.exp: Match the output in non-development
3542 mode.
3543
3544 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3545
3546 * gdb.gdb/unittest.exp: Match output in non-development mode.
3547
3548 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3549
3550 * gdb.ada/access_tagged_param.exp: Relax expected output
3551 for value of "ObjL" in "continue" to pck.inspect breakpoint
3552 test.
3553
3554 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3555
3556 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3557 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3558
3559 2018-01-05 Pedro Alves <palves@redhat.com>
3560
3561 PR gdb/18653
3562 * gdb.base/libsegfault.exp: New.
3563
3564 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3565
3566 PR gdb/22670
3567 * gdb.ada/access_tagged_param.exp: New file.
3568 * gdb.ada/access_tagged_param/foo.adb: New file.
3569
3570 2018-01-05 Pedro Alves <palves@redhat.com>
3571
3572 PR gdb/22670
3573 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3574 exercise lower case too, and to exercise both full matching and
3575 wild matching.
3576
3577 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3578
3579 * gdb.ada/rename_subscript_param: New testcase.
3580
3581 2018-01-05 Jerome Guitton <guitton@adacore.com>
3582
3583 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3584
3585 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3586
3587 * gdb.ada/convvar_comp: New testcase.
3588
3589 2018-01-05 Xavier Roirand <roirand@adacore.com>
3590
3591 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3592 (My_Table): New global variable.
3593 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3594
3595 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3596
3597 PR gdb/22670
3598 * gdb.ada/maint_with_ada: New testcase.
3599
3600 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3601
3602 PR gdb/22670
3603 * gdb.ada/bp_c_mixed_case: New testcase.
3604
3605 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3606
3607 PR gdb/22670
3608 * gdb.ada/complete.exp: Add "complete break ada" test.
3609
3610 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3611
3612 PR gdb/22670
3613 * gdb.ada/info_addr_mixed_case: New testcase.
3614
3615 2018-01-03 Xavier Roirand <roirand@adacore.com>
3616
3617 * gdb.ada/excep_handle.exp: New testcase.
3618 * gdb.ada/excep_handle/foo.adb: New file.
3619 * gdb.ada/excep_handle/pck.ads: New file.
3620
3621 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3622
3623 * gdb.base/step-line.c: Add extra empty line in copyright header.
3624 * gdb.base/step-line.inp: Likewise.
3625
3626 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3627
3628 * gdb.ada/dyn_stride.exp: Add slice test.
3629
3630 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3631
3632 * gdb.ada/dyn_stride: New testcase.
3633
3634 2017-12-27 Stafford Horne <shorne@gmail.com>
3635
3636 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3637 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3638
3639 2017-12-27 Stafford Horne <shorne@gmail.com>
3640
3641 * gdb.base/reggroups.c: New file.
3642 * gdb.base/reggroups.exp: New file.
3643
3644 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3645
3646 * gdb.dwarf2/ada-valprint-error.c: New file.
3647 * gdb.dwarf2/ada-valprint-error.exp: New file.
3648
3649 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3650
3651 * gdb.ada/assign_arr: New testcase.
3652
3653 2017-12-18 Xavier Roirand <roirand@adacore.com>
3654
3655 * gdb.ada/funcall_ptr: New testcase.
3656
3657 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3658
3659 PR cli/16224
3660 * gdb.base/ptype-offsets.cc: New file.
3661 * gdb.base/ptype-offsets.exp: New file.
3662
3663 2017-12-15 Yao Qi <yao.qi@linaro.org>
3664
3665 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3666 if XML is disabled.
3667
3668 2017-12-15 Xavier Roirand <roirand@adacore.com>
3669
3670 * gdb.ada/same_component_name: New testcase.
3671
3672 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3673
3674 * gdb.ada/str_binop_equal: New testcase.
3675
3676 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3677
3678 * gdb.ada/task_switch_in_core: New testcase.
3679
3680 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3681
3682 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3683 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3684 call test_bkpt_qualified.
3685 (test_bkpt_qualified): New proc.
3686
3687 2017-12-13 Pedro Alves <palves@redhat.com>
3688
3689 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3690 Tighten regexp by matching with an anchor.
3691
3692 2017-12-13 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3695 ("expression with namespace"): New set of tests.
3696 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3697 (Nested::Test_NS::qux): New.
3698 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3699 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3700
3701 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3702
3703 * gdb.base/server-del-break.c: New file.
3704 * gdb.base/server-del-break.exp: New file.
3705
3706 2017-12-12 Stafford Horne <shorne@gmail.com>
3707
3708 * gdb.xml/tdesc-regs.exp: Add or1k support.
3709
3710 2017-12-12 Stafford Horne <shorne@gmail.com>
3711
3712 * gdb.base/bp-permanent.c: Define nop of or1k.
3713
3714 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3715
3716 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3717 output with components being reordered.
3718
3719 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3720
3721 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3722 output with components being reordered.
3723
3724 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3725 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/maint.exp (check for .gdb_index): Check also for
3728 .debug_names.
3729 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3730 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3731 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3732 (.gdb_index used after symbol reloading): Support also .debug_names.
3733 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3734
3735 2017-12-08 Yao Qi <yao.qi@linaro.org>
3736
3737 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3738 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3739
3740 2017-12-08 Yao Qi <yao.qi@linaro.org>
3741
3742 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3743 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3744
3745 2017-12-08 Yao Qi <yao.qi@linaro.org>
3746
3747 * gdb.arch/aarch64-tagged-pointer.c: New file.
3748 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3749
3750 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3751
3752 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3753 "int".
3754
3755 2017-12-07 Keith Seitz <keiths@redhat.com>
3756
3757 PR breakpoints/22569
3758 * gdb.linespec/ls-errs.exp: Change expected result of "break
3759 -source this file has spaces.c -line 3".
3760 Check that an explicit source file followed by whitespace is
3761 identified as an invalid explicit location.
3762
3763 2017-12-07 Keith Seitz <keiths@redhat.com>
3764
3765 * gdb.cp/nested-types.cc: New file.
3766 * gdb.cp/nested-types.exp: New file.
3767 * lib/cp-support.exp: Load data-structures.exp library.
3768 (debug_cp_test_ptype_class): New global.
3769 (cp_ptype_class_verbose, next_line): New procedures.
3770 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3771 Add and document new return value.
3772 Switch the list of lines to a queue.
3773 Add support for new `type' key for nested type definitions.
3774 Add debugging/troubleshooting messages.
3775 * lib/data-structures.exp: New file.
3776
3777 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3778
3779 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3780 with proc_with_prefix, don't use with_test_prefix.
3781
3782 2017-12-07 Tom Tromey <tom@tromey.com>
3783
3784 * gdb.base/break.exp: Add test for empty "commands".
3785
3786 2017-12-07 Yao Qi <yao.qi@linaro.org>
3787
3788 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3789 malloc and catch syscall.
3790
3791 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3792
3793 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3794 tests for explicit locations.
3795
3796 2017-12-06 Pedro Alves <palves@redhat.com>
3797
3798 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3799 force-disabling XML descriptions.
3800
3801 2017-12-04 Pedro Alves <palves@redhat.com>
3802
3803 PR gdb/22499
3804 * gdb.arch/amd64-disp-step-avx.S: New file.
3805 * gdb.arch/amd64-disp-step-avx.exp: New file.
3806
3807 2017-12-03 Pedro Alves <palves@redhat.com>
3808
3809 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3810 and <string.h>.
3811 (parent_function): Print distinct messages when waitpid fails, or
3812 the child exits with a signal, or the child exits for an unhandled
3813 reason.
3814 * gdb.threads/process-dies-while-detaching.exp
3815 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3816 it. Wait for both inferior output and GDB's prompt. Use an
3817 indirect spawn id list.
3818 (do_detach): New parameter 'child_exit'. Use it to compute
3819 expected inferior output.
3820 (test_detach, test_detach_watch, test_detach_killed_outside):
3821 Adjust to pass down the expected child exit kind.
3822
3823 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3824 Sergio Durigan Junior <sergiodj@redhat.com>
3825 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3828
3829 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3830
3831 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3832 to 'symbol-file' and 'add-symbol-file' can be
3833 position-independent.
3834
3835 2017-12-01 Yao Qi <yao.qi@linaro.org>
3836
3837 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3838 the URL in copyright header.
3839 * gdb.arch/aarch64-fp.exp: Likewise.
3840 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3841 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3842 * gdb.base/expand-psymtabs.exp: Likewise.
3843 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3844 * gdb.fortran/common-block.exp: Likewise.
3845 * gdb.fortran/common-block.f90: Likewise.
3846 * gdb.fortran/logical.exp: Likewise.
3847 * gdb.fortran/vla-datatypes.f90: Likewise.
3848 * gdb.fortran/vla-sub.f90: Likewise.
3849
3850 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3851
3852 * gdb.ada/repeat_dyn: New testcase.
3853
3854 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3855
3856 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3857 Update for changed thread numbering.
3858 * gdb.cell/bt.exp: Update for changed GDB output.
3859
3860 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3861
3862 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3863 setting isremote by hand.
3864 * boards/dwarf4-gdb-index.exp: Likewise.
3865 * boards/fission.exp: Likewise.
3866 * boards/stabs.exp: Likewise.
3867
3868 2017-11-30 Pedro Alves <palves@redhat.com>
3869
3870 * gdb.linespec/cpls-ops.exp
3871 (check_explicit_skips_function_argument): Extract the underlying
3872 type of size_t instead of hardcoding it.
3873
3874 2017-11-29 Pedro Alves <palves@redhat.com>
3875
3876 PR c++/19436
3877 * gdb.linespec/cpls-abi-tag.cc: New file.
3878 * gdb.linespec/cpls-abi-tag.exp: New file.
3879
3880 2017-11-29 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.base/langs.exp: Use -qualified.
3883 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3884 it.
3885 * gdb.cp/namespace.exp: Use -qualified.
3886 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3887 (overload-3, template-overload, template-ret-type, const-overload)
3888 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3889 procedures.
3890 (test_driver): Call them.
3891 * gdb.cp/save-bp-qualified.cc: New.
3892 * gdb.cp/save-bp-qualified.exp: New.
3893 * gdb.linespec/explicit.exp: Test -qualified.
3894 * lib/completion-support.exp (completion::explicit_opts_list): Add
3895 "-qualified".
3896 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3897
3898 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3899
3900 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3901
3902 2017-11-29 Tom Tromey <tom@tromey.com>
3903
3904 * gdb.base/relocate.exp: Update invalid argument test.
3905 Add new tests for invalid arguments.
3906
3907 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3908
3909 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3910 Return 0 as a long.
3911 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3912
3913 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3914
3915 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3916 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3917 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3918 func ().
3919 * gdb.cp/shadow.cc (B.func): Return 0.
3920
3921 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3924 expected output in gdb_expect call to allow the exception
3925 message to be present as well. Fix syntax confusion to avoid
3926 TCL thinking that exception_name is an array.
3927
3928 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3929
3930 * gdb.arch/spu-info.c: Include <unistd.h>.
3931 (do_signal_test): Fix broken calls to write.
3932 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3933 Fix checks for empty mailboxes. Update signal tests for corrected
3934 do_signal_test routine. Allow nonzero event status.
3935 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3936 * gdb.cell/arch.exp: Use standard_output_file.
3937 * gdb.cell/break.exp: Likewise.
3938 * gdb.cell/bt.exp: Likewise.
3939 * gdb.cell/core.exp: Likewise.
3940 * gdb.cell/dwarfaddr.exp: Likewise.
3941 * gdb.cell/ea-cache.exp: Likewise.
3942 * gdb.cell/ea-standalone.exp: Likewise.
3943 * gdb.cell/f-regs.exp: Likewise.
3944 * gdb.cell/fork.exp: Likewise.
3945 * gdb.cell/gcore.exp: Likewise.
3946 * gdb.cell/mem-access.exp: Likewise.
3947 * gdb.cell/ptype.exp: Likewise.
3948 * gdb.cell/registers.exp: Likewise.
3949 * gdb.cell/sizeof.exp: Likewise.
3950 * gdb.cell/solib-symbol.exp: Likewise.
3951 * gdb.cell/solib.exp: Likewise.
3952
3953 2017-11-25 Pedro Alves <palves@redhat.com>
3954
3955 * gdb.base/complete-empty.exp: New file.
3956 * gdb.base/completion.exp: Adjust.
3957
3958 2017-11-25 Pedro Alves <palves@redhat.com>
3959
3960 * gdb.linespec/cpls-ops.cc: New file.
3961 * gdb.linespec/cpls-ops.exp: New file.
3962 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3963 factored out from ...
3964 (test_complete_prefix_range): ... this.
3965
3966 2017-11-24 Pedro Alves <palves@redhat.com>
3967
3968 * gdb.linespec/cpcompletion.exp: New file.
3969 * gdb.linespec/cpls-hyphen.cc: New file.
3970 * gdb.linespec/cpls.cc: New file.
3971 * gdb.linespec/cpls2.cc: New file.
3972 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3973 test to use test_gdb_complete_unique. Add label completion,
3974 keyword completion and explicit location completion tests.
3975 * lib/completion-support.exp: New file.
3976
3977 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3978
3979 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3980 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3981 when hitting an exception catchpoint.
3982
3983 2017-11-22 Yao Qi <yao.qi@linaro.org>
3984
3985 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3986
3987 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3988
3989 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3990 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3991 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3992
3993 2017-11-22 Yao Qi <yao.qi@linaro.org>
3994
3995 * gdb.base/info-os.exp: Pass pthreads.
3996 * gdb.multi/multi-attach.exp: Likewise.
3997
3998 2017-11-22 Yao Qi <yao.qi@linaro.org>
3999
4000 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4001 compiler.
4002
4003 2017-11-22 Yao Qi <yao.qi@linaro.org>
4004
4005 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4006 * gdb.base/break-interp.exp: Likewise.
4007 * gdb.base/jit-attach-pie.exp: Likewise.
4008
4009 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4010
4011 * gdb.base/float128.c (large128): New variable.
4012 * gdb.base/float128.exp: Add test to print largest __float128 value.
4013
4014 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4015
4016 * gdb.arch/vsx-regs.exp: Update register content checks.
4017
4018 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4019
4020 * gdb.arch/ppc-longdouble.exp: New file.
4021 * gdb.arch/ppc-longdouble.c: Likewise.
4022
4023 2017-11-21 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4026
4027 2017-11-20 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4030 (long_double_typedef): New typedefs.
4031 Use DEF on double and long double.
4032 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4033 cases.
4034 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4035 and 'long_double_ptr_same_size' locals. Use them to decide
4036 whether cast from array/function to float is valid/invalid.
4037
4038 2017-11-17 Tom Tromey <tom@tromey.com>
4039
4040 * gdb.rust/traits.rs: New file.
4041 * gdb.rust/traits.exp: New file.
4042
4043 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4044
4045 * gdb.ada/minsyms: New testcase.
4046
4047 2017-11-16 Pedro Alves <palves@redhat.com>
4048
4049 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4050 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4051
4052 2017-11-16 Pedro Alves <palves@redhat.com>
4053
4054 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4055 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4056
4057 2017-11-16 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.server/reconnect-ctrl-c.c: New file.
4060 * gdb.server/reconnect-ctrl-c.exp: New file.
4061
4062 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4063
4064 * gdb.python/py-rbreak.exp: New file.
4065 * gdb.python/py-rbreak.c: New file.
4066 * gdb.python/py-rbreak-func2.c: New file.
4067
4068 2017-11-16 Pedro Alves <palves@redhat.com>
4069
4070 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4071 pattern.
4072 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4073 GDB.
4074
4075 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4076
4077 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4078 regex.
4079
4080 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4081
4082 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4083 test names.
4084
4085 2017-11-09 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4088 factored out from ...
4089 (top level): ... here, and adjusted to avoid expecting beyond the
4090 prompt in a single gdb_test_multiple.
4091
4092 2017-11-09 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4095 output.
4096 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4097 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4098 * gdb.server/ext-run.exp ("kill" test): Likewise.
4099 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4100
4101 2017-11-09 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4104 match till end of line.
4105
4106 2017-11-09 Pedro Alves <palves@redhat.com>
4107
4108 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4109
4110 2017-11-09 Pedro Alves <palves@redhat.com>
4111
4112 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4113 New procedures, factored out from ...
4114 (top level): ... here, and adjusted to avoid expecting beyond the
4115 prompt in one go.
4116
4117 2017-11-09 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4120 output. Fix '?' match.
4121
4122 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4123
4124 * gdb.ada/scoped_watch: New testcase.
4125 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4126 which is actually correct.
4127 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4128 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4129
4130 2017-11-08 Pedro Alves <palves@redhat.com>
4131
4132 * gdb.gdb/complaints.exp (test_initial_complaints)
4133 (test_serial_complaints, test_short_complaints): Call
4134 complaint_internal instead of complaint.
4135
4136 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4137
4138 * gdb.threads/tls-core.c: New file.
4139 * gdb.threads/tls-core.exp: Likewise.
4140
4141 2017-11-08 Pedro Alves <palves@redhat.com>
4142
4143 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4144 (p Exported_Capitalized): New test.
4145 (p exported_capitalized): New test.
4146
4147 2017-11-07 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4150
4151 2017-11-07 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4154 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4155 (disable_invalid, disable_inverted, disable_negative): New
4156 procedures.
4157 ("bad numbers"): New set of tests.
4158
4159 2017-11-07 Pedro Alves <palves@redhat.com>
4160
4161 * gdb.cp/ena-dis-br-range.exp: Add tests.
4162
4163 2017-11-07 Pedro Alves <palves@redhat.com>
4164
4165 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4166
4167 2017-11-07 Xavier Roirand <roirand@adacore.com>
4168 Pedro Alves <palves@redhat.com>
4169
4170 * gdb.base/ena-dis-br.exp: Add reference to
4171 gdb.cp/ena-dis-br-range.exp.
4172 * gdb.cp/ena-dis-br-range.exp: New file.
4173 * gdb.cp/ena-dis-br-range.cc: New file.
4174
4175 2017-11-06 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/attach-non-pgrp-leader.c: New.
4178 * gdb.base/attach-non-pgrp-leader.exp: New.
4179
4180 2017-11-06 Pedro Alves <palves@redhat.com>
4181
4182 * configure.ac: No longer check for termio.h and sgtty.h.
4183 * configure: Regenerate.
4184 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4185 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4186 Remove termio and sgtty code.
4187
4188 2017-11-03 Yao Qi <yao.qi@linaro.org>
4189
4190 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4191 in GDB is disabled.
4192
4193 2017-11-03 Yao Qi <yao.qi@linaro.org>
4194
4195 * gdb.python/py-thrhandle.exp: Skip it if python is not
4196 enabled.
4197
4198 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4199
4200 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4201 as a breakpoint command.
4202
4203 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4204
4205 PR python/21213
4206 * gdb.python/py-infthread.exp: Test calling
4207 InferiorThread.inferior () multiple times in a row.
4208
4209 2017-10-27 Keith Seitz <keiths@redhat.com>
4210
4211 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4212 Test "info break" for every inlined function breakpoint.
4213
4214 2017-10-27 Yao Qi <yao.qi@linaro.org>
4215
4216 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4217
4218 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4219
4220 * gdb.cp/classes.exp (test_static_members): Test printing
4221 Outer::instance.
4222 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4223 (Inner::instance, Outer::instance): New.
4224
4225 2017-10-24 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4228 extra console" test in two stages.
4229
4230 2017-10-24 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4233
4234 2017-10-24 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4237 loop.
4238
4239 2017-10-24 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4242 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4243
4244 2017-10-24 Pedro Alves <palves@redhat.com>
4245
4246 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4247 parameter and handle it. Don't output read value in test name.
4248
4249 2017-10-24 Pedro Alves <palves@redhat.com>
4250
4251 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4252 custom test name.
4253
4254 2017-10-24 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4257 include the unstable output directory name in the test's name.
4258 (initial_setup_simple) <'set args'>: Use custom test name.
4259
4260 2017-10-24 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4263 with explicit test name.
4264
4265 2017-10-20 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4268 'wait -i'. Use gdb_assert and remote_close.
4269
4270 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4271
4272 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4273 number from variable rather than hard-coded.
4274
4275 2017-10-19 Pedro Alves <palves@redhat.com>
4276
4277 * gdb.base/long-inferior-output.c: New file.
4278 * gdb.base/long-inferior-output.exp: New file.
4279
4280 2017-11-18 Keith Seitz <keiths@redhat.com>
4281
4282 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4283 method.
4284 (main): Call it.
4285 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4286 Add additional user-defined conversion operator tests.
4287
4288 2017-10-17 Pedro Alves <palves@redhat.com>
4289
4290 * boards/native-stdio-gdbserver.exp: Load "local-board".
4291
4292 2017-10-17 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.base/quit-live.c: New file.
4295 * gdb.base/quit-live.exp: New file.
4296
4297 2017-10-16 Keith Seitz <keiths@redhat.com>
4298
4299 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4300 (class_with_protected_typedef, class_with_private_typedef)
4301 (struct_with_public_typedef, struct_with_protected_typedef)
4302 (struct_with_private_typedef): New classes/structs.
4303 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4304 typedefs and access specifiers.
4305
4306 2017-10-16 Pedro Alves <palves@redhat.com>
4307 Simon Marchi <simon.marchi@polymtl.ca>
4308
4309 * README (Local vs Remote vs Native): New section.
4310 * boards/local-board.exp: New file, with bits factored out from
4311 ...
4312 * boards/native-extended-gdbserver.exp: ... here. Load
4313 "local-board".
4314 * boards/native-gdbserver.exp: Load "local-board".
4315 (${board}_spawn, ${board}_exec): Delete.
4316 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4317 ...
4318 * boards/stdio-gdbserver-base.exp: ... this new file.
4319 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4320 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4321 procedure.
4322 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4323 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4324 stdio_gdbserver_command.
4325 (${board}_get_remote_address, ${board}_get_comm_port)
4326 (${board}_download, ${board}_upload): Delete.
4327 (get_target_remote_pipe_cmd): New.
4328
4329 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4330
4331 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4332 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4333 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4334 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4335 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4336 remove with_test_prefix.
4337
4338 2017-10-13 Pedro Alves <palves@redhat.com>
4339
4340 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4341 * gdb.base/annota1.exp: Use it instead of is_remote.
4342 * gdb.base/annota3.exp: Use it instead of is_remote.
4343 * gdb.cp/annota2.exp: Use it instead of is_remote.
4344 * gdb.cp/annota3.exp: Use it instead of is_remote.
4345 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4346
4347 2017-10-13 Pedro Alves <palves@redhat.com>
4348
4349 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4350 (test_num_test_vars, run_and_count_vars, find_env)
4351 (test_set_unset_env, test_inherit_env_var): New procedures.
4352 (top level): Use them.
4353
4354 2017-10-13 Pedro Alves <palves@redhat.com>
4355
4356 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4357 also skip on stub-like targets.
4358
4359 2017-10-13 Pedro Alves <palves@redhat.com>
4360
4361 PR gdb/22293
4362 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4363 (top level): Move some tests to ...
4364 (test_not_found): ... this new procedure.
4365 (top level): Call it.
4366
4367 2017-10-13 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4370 expect different "info terminal" output if testing with a
4371 non-native target.
4372
4373 2017-10-13 Pedro Alves <palves@redhat.com>
4374 Simon Marchi <simon.marchi@polymtl.ca>
4375
4376 PR python/12966
4377 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4378
4379 2017-10-13 Pedro Alves <palves@redhat.com>
4380
4381 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4382 already.
4383
4384 2017-10-13 Pedro Alves <palves@redhat.com>
4385
4386 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4387 is_remote.
4388
4389 2017-10-13 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4392 is_remote.
4393
4394 2017-10-13 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4397 is set.
4398 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4399 instead of is_remote.
4400
4401 2017-10-13 Pedro Alves <palves@redhat.com>
4402
4403 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4404 (top level): Add comment.
4405
4406 2017-10-13 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.base/remote.exp (top level): Fix comment typo and add
4409 missing return.
4410
4411 2017-10-13 Pedro Alves <palves@redhat.com>
4412 Simon Marchi <simon.marchi@polymtl.ca>
4413
4414 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4415 calls and add comments. Skip test if use_gdb_stub is set.
4416 (top level): Use "set cwd" command instead of "cd" command.
4417
4418 2017-10-13 Pedro Alves <palves@redhat.com>
4419
4420 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4421 is_remote target check.
4422
4423 2017-10-13 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.base/scope.exp: Use build_executable + clean_restart +
4426 gdb_file_cmd instead of prepare_for_testing and no longer skip
4427 "before run" tests on is_remote target boards. Update comments.
4428 * boards/native-extended-gdbserver.exp
4429 (extended_gdbserver_load_last_file): New, factored out from ...
4430 (gdb_load): ... this. Move further below and add comment.
4431 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4432
4433 2017-10-12 Pedro Alves <palves@redhat.com>
4434
4435 * gdb.base/attach.exp: Remove references to gdb64.
4436 * gdb.base/dbx.exp: Remove references to gdb64.
4437
4438 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4439 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.base/label.exp: Remove is_remote target check.
4442
4443 2017-10-12 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.base/auvx.exp (coredir): Update comment.
4446 (top level) <core_works>: Use "set cwd" command instead of "cd"
4447 command.
4448
4449 2017-10-12 Pedro Alves <palves@redhat.com>
4450 Simon Marchi <simon.marchi@polymtl.ca>
4451
4452 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4453 target boards.
4454
4455 2017-10-12 Pedro Alves <palves@redhat.com>
4456 Simon Marchi <simon.marchi@polymtl.ca>
4457
4458 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4459 Instead skip if there's any gdb_protocol set.
4460
4461 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4462 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4465
4466 2017-10-12 Pedro Alves <palves@redhat.com>
4467 Simon Marchi <simon.marchi@polymtl.ca>
4468
4469 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4470 instead of on dejagnu remote boards.
4471
4472 2017-10-12 Pedro Alves <palves@redhat.com>
4473 Simon Marchi <simon.marchi@polymtl.ca>
4474
4475 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4476 checks. Use build_executable + clean_restart instead of
4477 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4478 of enabling non-stop after starting gdb.
4479
4480 2017-10-12 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4483 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4484 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4485 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4486
4487 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4488
4489 * gdb.arch/arc-tdesc-cpu.exp: New file.
4490 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4491
4492 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4493
4494 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4495
4496 2017-10-10 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4499 expect CLI output.
4500
4501 2017-10-10 Pedro Alves <palves@redhat.com>
4502
4503 * lib/selftest-support.exp (selftest_setup): Update for
4504 captured_command_loop's prototype change.
4505
4506 2017-10-09 Pedro Alves <palves@redhat.com>
4507
4508 Test both arch1=>arch2 and arch2=>arch1.
4509
4510 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4511 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4512 factored out to...
4513 (append_arch1_options, append_arch2_options, append_arch_options)
4514 (build_executables): New procedures.
4515 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4516 local.
4517 (top level): Add new 'first_arch' testing axis.
4518
4519 2017-10-09 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4522 (barrier): New.
4523 (thread_start, all_started): New functions.
4524 (main): Spawn new thread and wait until it is scheduled.
4525 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4526 option.
4527 (do_test): Add 'selected_thread' parameter. Run to all_started
4528 instead of main. Explicitly set the breakpoint at main. Switch
4529 to the SELECTED_THREAD thread.
4530 (top level): Test handling the exec event with either the main
4531 thread or the second thread selected.
4532
4533 2017-10-09 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4536 logic. Move STOP marker after the value checks.
4537 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4538 regexp.
4539
4540 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4541
4542 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4543
4544 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4545
4546 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4547 integer-to-dfp conversion.
4548 * gdb.base/dfp-test.exp: Likewise.
4549
4550 2017-10-04 Pedro Alves <palves@redhat.com>
4551
4552 * gdb.multi/hangout.c: Include <unistd.h>.
4553 (hangout_loop): New function.
4554 (main): Call alarm. Call hangout_loop in a loop.
4555 * gdb.multi/hello.c: Include <unistd.h>.
4556 (hello_loop): New function.
4557 (main): Call alarm. Call hangout_loop in a loop.
4558 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4559 inferior with the other selected.
4560
4561 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4562
4563 * gdb.mi/list-thread-groups-available.exp: New file.
4564 * gdb.mi/list-thread-groups-available.c: New file.
4565
4566 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4567
4568 * gdb.base/set-cwd.exp: Make it available on
4569 native-extended-gdbserver.
4570
4571 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4572
4573 * gdb.base/set-cwd.c: New file.
4574 * gdb.base/set-cwd.exp: Likewise.
4575
4576 2017-10-02 Tom Tromey <tom@tromey.com>
4577
4578 PR rust/22236:
4579 * gdb.rust/simple.rs (main): New variable "fslice".
4580 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4581
4582 2017-10-02 Tom Tromey <tom@tromey.com>
4583
4584 * gdb.rust/simple.exp: Test ptype of a slice.
4585
4586 2017-10-02 Tom Tromey <tom@tromey.com>
4587
4588 * gdb.rust/simple.exp: Test index of slice.
4589
4590 2017-09-27 Tom Tromey <tom@tromey.com>
4591
4592 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4593
4594 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4595 Pedro Alves <palves@redhat.com>
4596
4597 * gdb.base/compare-sections.exp (get value of read-only section): Read
4598 as unsigned value.
4599 (corrupt read-only section): Likewise and don't set written if patching
4600 failed.
4601
4602 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4603
4604 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4605 files.
4606
4607 2017-09-20 Pedro Alves <palves@redhat.com>
4608
4609 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4610 symbol names in gdb's output.
4611 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4612
4613 2017-09-20 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4616 Rename to ...
4617 (test_list_ambiguous_symbol): ... this and add a symbol name
4618 parameter. Adjust.
4619 (test_list_ambiguous_function): Reimplement on top of
4620 test_list_ambiguous_symbol and also test listing ambiguous
4621 variables.
4622 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4623 (ambiguous_fun): ... this.
4624 (ambiguous_var): New.
4625 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4626 (ambiguous_fun): ... this.
4627 (ambiguous_var): New.
4628
4629 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4630
4631 * gdb.base/starti.c: New file.
4632 * gdb.base/starti.exp: New file.
4633 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4634
4635 2017-09-14 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4638 (top level): Use it instead of runto.
4639
4640 2017-09-11 Tom Tromey <tom@tromey.com>
4641
4642 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4643
4644 2017-09-11 Tom Tromey <tom@tromey.com>
4645
4646 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4647 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4648
4649 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4650
4651 * gdb.fortran/printing-types.exp: New file.
4652 * gdb.fortran/printing-types.exp: New file.
4653
4654 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4655
4656 * gdb.fortran/vla-ptype.exp: Fix typos.
4657 * gdb.fortran/vla-value.exp: Same.
4658
4659 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4660
4661 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4662 * gdb.mi/mi-var-child-f.exp: Likewise.
4663 * gdb.mi/mi-vla-fortran.exp: Likewise.
4664
4665 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4666 Christoph Weinmann <christoph.t.weinmann@intel.com>
4667 Bernhard Heckel <bernhard.heckel@intel.com>
4668
4669 * gdb.fortran/ptr-indentation.f90: New file.
4670 * gdb.fortran/ptr-indentation.exp: New file.
4671
4672 2017-09-05 Tom Tromey <tom@tromey.com>
4673
4674 PR gdb/22010:
4675 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4676
4677 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4678
4679 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4680
4681 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4682
4683 * gdb.threads/tls-nodebug-pie.c: New file.
4684 * gdb.threads/tls-nodebug-pie.exp: New file.
4685
4686 2017-09-05 Tom Tromey <tom@tromey.com>
4687
4688 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4689 for rust.
4690
4691 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4692
4693 * gdb.multi/multi-arch-exec.exp: Test with different
4694 "follow-exec-mode" settings.
4695 (do_test): New procedure.
4696
4697 2017-09-04 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.base/func-static.c (S::method const, S::method volatile)
4700 (S::method volatile const): New methods.
4701 (c_s, v_s, cv_s): New instances.
4702 (main): Call method() on them.
4703 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4704 (cannot_resolve): New procedure.
4705 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4706 print-quote-unquoted columns.
4707 (do_test): Test printing each scope too.
4708
4709 2017-09-04 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.base/local-static.exp: Also test with
4712 class::method::variable wholly quoted.
4713 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4714
4715 2017-09-04 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.base/local-static.c: New.
4718 * gdb.base/local-static.cc: New.
4719 * gdb.base/local-static.exp: New.
4720
4721 2017-09-04 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.asm/asm-source.exp: Add casts to int.
4724 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4725 (dataglobal64_1, dataglobal64_2): New globals.
4726 * gdb.base/nodebug.exp: Test different expressions involving the
4727 new globals, with print, whatis and ptype. Add casts to int.
4728 * gdb.base/solib-display.exp: Add casts to int.
4729 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4730 * gdb.cp/m-static.exp: Add cast to int.
4731 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4732 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4733 tls variable with no debug info without a cast. Test with a cast
4734 to int too.
4735 * gdb.trace/entry-values.exp: Add casts.
4736
4737 2017-09-04 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.base/nodebug.exp: Test that ptype's error about functions
4740 with unknown return type includes the function name too.
4741
4742 2017-09-04 Pedro Alves <palves@redhat.com>
4743
4744 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4745 return type of munmap in infcall.
4746 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4747 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4748 type of ftell in infcall.
4749 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4750 type of getpid in infcall.
4751 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4752 infcall.
4753 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4754 Bail on failure to extract the pid.
4755 * gdb.base/nodebug.c: #include <stdint.h>.
4756 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4757 New functions.
4758 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4759 Change expected output of print/whatis/ptype with functions with
4760 no debug info. Test all supported languages. Call
4761 test_call_promotion.
4762 * gdb.compile/compile.exp: Adjust expected output to expect
4763 warning.
4764 * gdb.threads/siginfo-threads.exp: Likewise.
4765
4766 2017-09-04 Pedro Alves <palves@redhat.com>
4767
4768 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4769 "prototypes". Test calling float functions via prototyped and
4770 unprototyped function pointers.
4771 (perform_all_tests): New parameter "prototypes". Pass it down.
4772 (top level): Pass down "prototypes" parameter to
4773 perform_all_tests.
4774
4775 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4776
4777 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4778 Test with nested loops.
4779
4780 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4781
4782 * gdb.base/commands.exp: Call the new procedures.
4783 (loop_break_test, loop_continue_test): New procedures.
4784
4785 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4786
4787 * gdb.base/commands.exp: Call new procedure.
4788 (define_if_without_arg_test): New procedure.
4789
4790 2017-09-04 Pedro Alves <palves@redhat.com>
4791
4792 * gdb.base/list-ambiguous.exp: New file.
4793 * gdb.base/list-ambiguous0.c: New file.
4794 * gdb.base/list-ambiguous1.c: New file.
4795 * gdb.base/list.exp (test_list_range): Adjust expected output.
4796
4797 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4798
4799 * gdb.base/share-env-with-gdbserver.c: New file.
4800 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4801
4802 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4803
4804 * gdb.base/commands.exp (gdbvar_simple_if_test,
4805 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4806 progvar_simple_if_test, progvar_simple_while_test,
4807 progvar_complex_if_while_test, user_defined_command_test,
4808 user_defined_command_args_eval,
4809 user_defined_command_args_stack_test,
4810 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4811 temporary_breakpoint_commands,
4812 gdb_test_no_prompt, redefine_hook_test,
4813 redefine_backtrace_test): Remove "global gdb_prompt".
4814
4815 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4816
4817 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4818 New proc, call it from toplevel.
4819
4820 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4821
4822 PR remote/21852
4823 * gdb.server/normal.c: New file, copied from gdb.base.
4824 * gdb.server/run-without-local-binary.exp: New file.
4825
4826 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4827
4828 * gdb.arch/sparc64-adi.exp: New file.
4829 * gdb.arch/sparc64-adi.c: New file.
4830
4831 2017-08-22 Pedro Alves <palves@redhat.com>
4832
4833 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4834 (top level): Add "list all overloads" tests.
4835
4836 2017-08-22 Tom Tromey <tom@tromey.com>
4837
4838 * gdb.gdb/xfullpath.exp: Remove.
4839
4840 2017-08-21 Pedro Alves <palves@redhat.com>
4841
4842 PR gdb/19487
4843 * gdb.base/symbol-alias.c: New.
4844 * gdb.base/symbol-alias2.c: New.
4845 * gdb.base/symbol-alias.exp: New.
4846
4847 2017-08-21 Pedro Alves <palves@redhat.com>
4848
4849 * gdb.base/dfp-test.c
4850 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4851 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4852 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4853 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4854 * gdb.base/whatis-ptype-typedefs.c: New.
4855 * gdb.base/whatis-ptype-typedefs.exp: New.
4856 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4857 (an_int, an_int_type, an_int_type2): New globals.
4858 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4859 involving typedefs and cast expressions.
4860 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4861 (lookup_typedefs_function): New.
4862 (typedefs_pretty_printers_dict): New.
4863 (top level): Register lookup_typedefs_function in
4864 gdb.pretty_printers.
4865
4866 2017-08-18 Yao Qi <yao.qi@linaro.org>
4867
4868 * gdb.server/unittest.exp: New.
4869
4870 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4871
4872 PR gdb/21954
4873 * gdb.base/environ.exp: Add test to check if 'unset environment'
4874 works.
4875
4876 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877
4878 * lib/gdb.exp (universal_compile_options): New caching proc.
4879 (gdb_compile): Suppress GCC's coloring of messages.
4880
4881 2017-08-14 Tom Tromey <tom@tromey.com>
4882
4883 PR gdb/21675:
4884 * gdb.base/printcmds.exp (test_radices): New function.
4885 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4886 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4887 * lib/gdb.exp (get_integer_valueof): Use p/d.
4888
4889 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4890
4891 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4892 characters.
4893
4894 2017-08-05 Tom Tromey <tom@tromey.com>
4895
4896 * gdb.rust/simple.exp: Allow String to appear in a different
4897 namespace.
4898
4899 2017-07-26 Yao Qi <yao.qi@linaro.org>
4900
4901 * gdb.gdb/unittest.exp: Invoke command
4902 "maintenance check xml-descriptions".
4903
4904 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4905
4906 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4907 calling context.
4908 (hex128): Drop erroneous calculation of parameters.
4909
4910 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4911
4912 * gdb.python/py-unwind.exp: Disable stack protection when
4913 building test file.
4914
4915 2017-07-20 Pedro Alves <palves@redhat.com>
4916
4917 * gdb.base/default.exp (set language): Adjust expected output.
4918
4919 2017-07-20 Pedro Alves <palves@redhat.com>
4920
4921 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4922 (test_minsym): ... this, and make static.
4923 (get_pck__foo__bar__minsym): Rename to ...
4924 (get_test_minsym): ... this.
4925 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4926 symbol names and comments.
4927 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4928 (get_test_minsym): ... this.
4929 (pck__foo__bar__minsym__2): Rename to ...
4930 (test_minsym): ... this.
4931 (main): Adjust.
4932
4933 2017-07-17 Pedro Alves <palves@redhat.com>
4934
4935 * gdb.base/completion.exp: Adjust expected output.
4936 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4937 the completer works.
4938
4939 2017-07-17 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4942
4943 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4944
4945 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4946
4947 2017-07-14 Tom Tromey <tom@tromey.com>
4948
4949 PR rust/21764:
4950 * gdb.rust/simple.exp: Add tests.
4951
4952 2017-07-14 Tom Tromey <tom@tromey.com>
4953
4954 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4955
4956 2017-07-14 Pedro Alves <palves@redhat.com>
4957
4958 * gdb.linespec/base/one/thefile.cc (z1): New function.
4959 * gdb.linespec/base/two/thefile.cc (z2): New function.
4960 * gdb.linespec/linespec.exp: Add tests.
4961
4962 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4963
4964 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4965 to mi_create_breakpoint.
4966
4967 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4968
4969 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4970 mi_create_breakpoint.
4971
4972 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4973
4974 * gdb.dlang/demangle.exp: Update for demangling changes.
4975
4976 2017-07-09 Tom Tromey <tom@tromey.com>
4977
4978 * gdb.dwarf2/shortpiece.exp: New file.
4979
4980 2017-07-06 David Blaikie <dblaikie@gmail.com>
4981
4982 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4983 built from fissiont-multi-cu{1,2}.c.
4984 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4985 except putting 'main' and 'func' in separate CUs in the same DWO file.
4986 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4987 test.
4988 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4989 test.
4990
4991 2017-07-06 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.python/py-unwind.exp: Test flushregs.
4994
4995 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4996
4997 PR cli/21688
4998 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4999 tests for alias commands and trailing whitespace.
5000
5001 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5002
5003 PR cli/21688
5004 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5005 procedure. Call it.
5006
5007 2017-06-29 Pedro Alves <palves@redhat.com>
5008
5009 * gdb.base/printcmds.exp: Add tests.
5010
5011 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5012
5013 PR gdb/21337
5014 * gdb.base/reread-readsym.exp: New file.
5015 * gdb.base/reread-readsym.c: New file.
5016
5017 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5018
5019 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5020 subpattern.
5021
5022 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5023
5024 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5025 extended mnemonic.
5026 * gdb.arch/powerpc-power9.s: Likewise.
5027
5028 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5029
5030 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5031 on 32-bit x86 targets. Exploit is_*_target macros where
5032 appropriate.
5033
5034 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5035
5036 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5037 register pieces.
5038
5039 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5040
5041 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5042 located in one or more DWARF pieces.
5043
5044 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5045
5046 * lib/gdb.exp (get_endianness): New proc.
5047 * gdb.arch/aarch64-fp.exp: Use it.
5048 * gdb.arch/altivec-regs.exp: Likewise.
5049 * gdb.arch/e500-regs.exp: Likewise.
5050 * gdb.arch/vsx-regs.exp: Likewise.
5051 * gdb.base/dump.exp: Likewise.
5052 * gdb.base/funcargs.exp: Likewise.
5053 * gdb.base/gnu_vector.exp: Likewise.
5054 * gdb.dwarf2/formdata16.exp: Likewise.
5055 * gdb.dwarf2/implptrpiece.exp: Likewise.
5056 * gdb.dwarf2/nonvar-access.exp: Likewise.
5057 * gdb.python/py-inferior.exp: Likewise.
5058 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5059
5060 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5061
5062 PR gdb/21226
5063 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5064 stack value pieces are taken from the LSB end.
5065
5066 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5067
5068 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5069 variable at nonzero offset.
5070
5071 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5072
5073 * gdb.dwarf2/var-access.c: New file.
5074 * gdb.dwarf2/var-access.exp: New test.
5075 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5076
5077 2017-06-12 Tom Tromey <tom@tromey.com>
5078
5079 * gdb.dwarf2/formdata16.exp: Add tests.
5080
5081 2017-06-12 Tom Tromey <tom@tromey.com>
5082
5083 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5084
5085 2017-06-12 Tom Tromey <tom@tromey.com>
5086
5087 PR exp/16225:
5088 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5089 * gdb.arch/vsx-regs.exp: Update tests.
5090 * gdb.arch/s390-vregs.exp (hex128): New proc.
5091 Update test.
5092 * gdb.arch/altivec-regs.exp: Update tests.
5093
5094 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5095
5096 * gdb.base/startup-with-shell.c: New file.
5097 * gdb.base/startup-with-shell.exp: Likewise.
5098
5099 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5100
5101 * gdb.server/non-existing-program.exp: Update regex in order to
5102 reflect the fact that gdbserver is now using fork_inferior (with a
5103 shell) to startup the inferior.
5104
5105 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5106
5107 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5108 support function calls from GDB.
5109
5110 2017-05-21 Tom Tromey <tom@tromey.com>
5111
5112 PR rust/21466:
5113 * gdb.rust/unsized.exp: New file.
5114 * gdb.rust/unsized.rs: New file.
5115
5116 2017-05-19 Tom Tromey <tom@tromey.com>
5117
5118 PR rust/21484:
5119 * gdb.rust/watch.exp: New file.
5120 * gdb.rust/watch.rs: New file.
5121
5122 2017-05-18 Tom Tromey <tom@tromey.com>
5123
5124 * gdb.rust/simple.exp: Allow Box to be qualified.
5125
5126 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5127
5128 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5129
5130 2017-05-18 Pedro Alves <palves@redhat.com>
5131
5132 * gdb.base/fileio.c (test_write, test_read, test_close)
5133 (test_fstat): Don't print 'ret' in the fail path.
5134
5135 2017-05-18 Pedro Alves <palves@redhat.com>
5136
5137 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5138 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5139 (test_system, test_rename, test_unlink, test_time): Change
5140 prototypes.
5141 * gdb.base/fileio.exp (stop_msg): Adjust.
5142
5143 2017-05-18 Pedro Alves <palves@redhat.com>
5144
5145 * gdb.base/fileio.c (null_str): New global.
5146 (test_stat): Use it.
5147 * gdb.base/fileio.exp: Remove nowarnings.
5148
5149 2017-05-17 Yao Qi <yao.qi@linaro.org>
5150
5151 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5152
5153 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5154
5155 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5156 argument command.
5157 (top-level): Invoke test_set_inferior_tty.
5158
5159 2017-05-04 Pedro Alves <palves@redhat.com>
5160
5161 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5162 Add parens to print call for Python 3.
5163
5164 2017-05-03 Keith Seitz <keiths@redhat.com>
5165
5166 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5167 (main): Call it.
5168
5169 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5170
5171 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5172 to prev and next.
5173
5174 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5175
5176 * gdb.python/py-record-btrace.exp: Remove test for
5177 gdb.BtraceInstruction.error.
5178
5179 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5180
5181 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5182
5183 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5184
5185 * gdb.python/py-record-btrace-threads.c: New file.
5186 * gdb.python/py-record-btrace-threads.exp: New file.
5187
5188 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5189
5190 PR testsuite/8595
5191 * gdb.base/environ.exp: Make test available in all architectures.
5192 Move bits related to "info program" testing to
5193 gdb.base/info-program.exp. Rewrite tests to use the two new
5194 procedures mentione below.
5195 (test_set_show_env_var) New procedure.
5196 (test_set_show_env_var_equal): Likewise.
5197 * gdb.base/info-program.exp: New file.
5198
5199 2017-04-27 Keith Seitz <keiths@redhat.com>
5200
5201 * gdb.cp/oranking.cc (test15): New function.
5202 (main): Call test15 and declare additional variables for testing.
5203 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5204 "p foo101('abc')" tests.
5205 Add tests for cv qualifier overloads.
5206 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5207 "lvalue reference overload" test.
5208 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5209 "print value of f1 on Child&& in f2" test.
5210
5211 2017-04-19 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5214 procedure.
5215 (top level): Call it.
5216 * lib/gdb.exp (gdb_define_cmd): New procedure.
5217
5218 2017-04-12 Pedro Alves <palves@redhat.com>
5219
5220 PR gdb/21323
5221 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5222 (wchar): New global.
5223 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5224 (do_test_wide_char, wide_char_types_no_program, top level): Add
5225 wchar_t testing.
5226
5227 2017-04-12 Pedro Alves <palves@redhat.com>
5228
5229 PR c++/21323
5230 * gdb.cp/wide_char_types.c: New file.
5231 * gdb.cp/wide_char_types.exp: New file.
5232
5233 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5234
5235 PR gdb/21352
5236 * gdb.trace/tsv.exp: Add test for "tsave -r".
5237
5238 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5239
5240 * gdb.dlang/watch-loc.c: New file.
5241 * gdb.dlang/watch-loc.exp: New file.
5242
5243 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5244
5245 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5246
5247 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5248
5249 * gdb.arch/arc-analyze-prologue.S: New file.
5250 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5251
5252 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5253
5254 * gdb.arch/arc-decode-insn.S: New file.
5255 * gdb.arch/arc-decode-insn.exp: Likewise.
5256
5257 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5258
5259 PR tdep/20928
5260 * gdb.arch/sparc64-regs.exp: New file.
5261 * gdb.arch/sparc64-regs.S: Likewise.
5262
5263 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5264
5265 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5266 and memory view on Python 3.
5267
5268 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5269 Keith Seitz <keiths@redhat.com>
5270
5271 PR gdb/14441
5272 * gdb.cp/demangle.exp: Add rvalue reference tests.
5273 * gdb.cp/rvalue-ref-casts.cc: New file.
5274 * gdb.cp/rvalue-ref-casts.exp: New file.
5275 * gdb.cp/rvalue-ref-overload.cc: New file.
5276 * gdb.cp/rvalue-ref-overload.exp: New file.
5277 * gdb.cp/rvalue-ref-params.cc: New file.
5278 * gdb.cp/rvalue-ref-params.exp: New file.
5279 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5280 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5281 * gdb.cp/rvalue-ref-types.cc: New file.
5282 * gdb.cp/rvalue-ref-types.exp: New file.
5283 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5284 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5285
5286 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5287
5288 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5289 New procedure.
5290
5291 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5292
5293 * lib/mi-support.exp (mi_gdb_test): Add additional message
5294 for unexpected output.
5295
5296 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5297
5298 * gdb.base/examine-backward.c (Barrier): New character array
5299 constant, to ensure that TestStrings is preceded by a string
5300 terminator.
5301
5302 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5303
5304 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5305 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5306 and implicit pointer into such a location.
5307
5308 2017-03-16 Doug Evans <dje@google.com>
5309
5310 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5311
5312 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5313
5314 * gdb.cp/m-static.exp: Fix expectation for prototype of
5315 test5.single_constructor and single_constructor::single_constructor.
5316
5317 2017-03-16 Doug Evans <dje@google.com>
5318
5319 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5320 * gdb.guile/scm-lazy-string.c: New file.
5321 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5322 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5323 for pointer, array, typedef lazy strings.
5324
5325 2017-03-16 Doug Evans <dje@google.com>
5326
5327 PR python/17728, python/18439, python/18779
5328 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5329 * gdb.python/py-lazy-string.c (pointer): New typedef.
5330 (main): New locals ptr, array, typedef_ptr.
5331 * gdb.python/py-value.exp: Move lazy string tests to ...
5332 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5333 array, typedef lazy strings.
5334
5335 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5336
5337 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5338 Add optional 'test' parameter.
5339
5340 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5341
5342 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5343 Skip for versions of DejaGnu < 1.5.
5344
5345 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5346
5347 * lib/gdb.exp (dejagnu_version): New proc.
5348 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5349 Use dejagnu_version.
5350
5351 2017-03-10 Keith Seitz <keiths@redhat.com>
5352
5353 PR c++/8128
5354 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5355 type from destructor regexps.
5356 Add a branch which actually passes the test.
5357 Adjust "ptype t5i" test names.
5358
5359 2017-03-08 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.base/step-over-exit.exp: Add explicit test message.
5362
5363 2017-03-08 Pedro Alves <palves@redhat.com>
5364
5365 PR gdb/18360
5366 * gdb.threads/interrupt-while-step-over.c: New file.
5367 * gdb.threads/interrupt-while-step-over.exp: New file.
5368
5369 2017-03-08 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5372 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5373
5374 2017-03-08 Pedro Alves <palves@redhat.com>
5375
5376 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5377 PKRU as not supported as a PASS.
5378
5379 2017-03-08 Pedro Alves <palves@redhat.com>
5380
5381 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5382 prefix instead of $binfile1/$binfile2.
5383 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5384 in test message.
5385 * gdb.python/py-completion.exp: Use "load python file" as test
5386 messages instead of unstable path names.
5387
5388 2017-03-08 Pedro Alves <palves@redhat.com>
5389 Jan Kratochvil <jan.kratochvil@redhat.com>
5390
5391 PR cli/21218
5392 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5393 New proc.
5394 (top level): Call it.
5395
5396 2017-03-08 Pedro Alves <palves@redhat.com>
5397
5398 PR tui/21216
5399 * gdb.tui/tui-nl-filtered-output.exp: New file.
5400
5401 2017-03-08 Pedro Alves <palves@redhat.com>
5402
5403 * gdb.base/completion.exp: Move TUI completion tests to ...
5404 * gdb.tui/completion.exp: ... this new file.
5405
5406 2017-03-08 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/tui-disasm-long-lines.c,
5409 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5410 gdb.base/tui-layout.exp: Move to ...
5411 * gdb.tui/: ... this new directory.
5412
5413 2017-03-07 Pedro Alves <palves@redhat.com>
5414
5415 * gdb.base/tui-layout.c: New file.
5416 * gdb.base/tui-layout.exp: New file.
5417
5418 2017-03-07 Pedro Alves <palves@redhat.com>
5419
5420 * gdb.base/tui-layout.c: Rename to ...
5421 * gdb.base/tui-disasm-long-lines.c: ... this.
5422 * gdb.base/tui-layout.exp: Rename to ...
5423 * gdb.base/tui-disasm-long-lines.exp: ... this.
5424
5425 2017-03-07 Pedro Alves <palves@redhat.com>
5426
5427 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5428
5429 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5430
5431 * i386-mpx-call.c: New file.
5432 * i386-mpx-call.exp: New file.
5433
5434 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5435
5436 * gdb.arch/powerpc-power.exp: Delete test.
5437 * gdb.arch/powerpc-power.s: Likewise.
5438 * gdb.disasm/disassembler-options.exp: New test.
5439 * gdb.arch/powerpc-altivec.exp: Likewise.
5440 * gdb.arch/powerpc-altivec.s: Likewise.
5441 * gdb.arch/powerpc-altivec2.exp: Likewise.
5442 * gdb.arch/powerpc-altivec2.s: Likewise.
5443 * gdb.arch/powerpc-altivec3.exp: Likewise.
5444 * gdb.arch/powerpc-altivec3.s: Likewise.
5445 * gdb.arch/powerpc-power7.exp: Likewise.
5446 * gdb.arch/powerpc-power7.s: Likewise.
5447 * gdb.arch/powerpc-power8.exp: Likewise.
5448 * gdb.arch/powerpc-power8.s: Likewise.
5449 * gdb.arch/powerpc-power9.exp: Likewise.
5450 * gdb.arch/powerpc-power9.s: Likewise.
5451 * gdb.arch/powerpc-vsx.exp: Likewise.
5452 * gdb.arch/powerpc-vsx.s: Likewise.
5453 * gdb.arch/powerpc-vsx2.exp: Likewise.
5454 * gdb.arch/powerpc-vsx2.s: Likewise.
5455 * gdb.arch/powerpc-vsx3.exp: Likewise.
5456 * gdb.arch/powerpc-vsx3.s: Likewise.
5457 * gdb.arch/arm-disassembler-options.exp: Likewise.
5458 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5459 * gdb.arch/s390-disassembler-options.exp: Likewise.
5460
5461 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5462
5463 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5464 (check_supported_features): ... this. Changed return type to void.
5465 (supports_rdseed): New static global.
5466 (rdseed): Check supports_rdseed.
5467 (initialize): Call check_supported_features.
5468
5469 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5470
5471 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5472 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5473 and lqarx/stqcx.
5474 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5475 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5476
5477 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5478
5479 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5480 uppercase.
5481
5482 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5483
5484 * gdb.dwarf2/formdata16.c: New file.
5485 * gdb.dwarf2/formdata16.exp: New file.
5486 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5487
5488 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5489
5490 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5491 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5492 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5493 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5494 DW_AT_GNU_*.
5495
5496 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5499
5500 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5501
5502 PR gdb/21164
5503 * gdb.base/maint.exp: Add testcases for when the commands do
5504 not have arguments.
5505
5506 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5507
5508 * gdb.cp/chained-calls.exp: Use p instead of P.
5509
5510 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5511
5512 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5513 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5514
5515 2017-02-14 Tom Tromey <tom@tromey.com>
5516
5517 PR python/13598:
5518 * gdb.python/py-events.exp: Add before_prompt event tests.
5519
5520 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5521
5522 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5523
5524 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5525
5526 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5527 (main): Call my_unique_function_name.
5528 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5529 completion of patterns with a single match.
5530 Add missing -re switches to gdb_test_multiple calls.
5531
5532 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5533
5534 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5535 return if core file is not recognized.
5536
5537 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5538
5539 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5540 and extra UIs.
5541
5542 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5543
5544 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5545 proc_with_prefix.
5546
5547 2017-02-10 Tom Tromey <tom@tromey.com>
5548
5549 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5550
5551 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5552
5553 PR gdb/21122
5554 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5555
5556 2017-02-08 Jerome Guitton <guitton@adacore.com>
5557
5558 * gdb.base/define.exp: Add test for command abbreviations
5559 in define.
5560
5561 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5562
5563 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5564 * gdb.reverse/insn-reverse-x86.c: New file.
5565
5566 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5567
5568 PR tdep/20936
5569 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5570
5571 2017-02-03 Tom Tromey <tom@tromey.com>
5572
5573 PR rust/21097:
5574 * gdb.rust/simple.exp: Add new tests.
5575
5576 2017-02-02 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5579 tests.
5580
5581 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5582
5583 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5584 taking a 2-byte value out of a 4-byte DWARF implicit value on
5585 big-endian targets.
5586 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5587 logic. Add test cases for DW_OP_implicit.
5588
5589 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5590
5591 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5592
5593 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5594
5595 * gdb.btrace/enable.exp: Call gdb_exit before
5596 skip_gdbserver_tests.
5597
5598 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5599
5600 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5601 GDBFLAGS.
5602
5603 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5604
5605 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5606 the test is skipped.
5607 * gdb.btrace/data.exp: Likewise.
5608 * gdb.btrace/delta.exp: Likewise.
5609 * gdb.btrace/dlopen.exp: Likewise.
5610 * gdb.btrace/enable-running.exp: Likewise.
5611 * gdb.btrace/enable.exp: Likewise.
5612 * gdb.btrace/exception.exp: Likewise.
5613 * gdb.btrace/function_call_history.exp: Likewise.
5614 * gdb.btrace/gcore.exp: Likewise.
5615 * gdb.btrace/instruction_history.exp: Likewise.
5616 * gdb.btrace/multi-thread-step.exp: Likewise.
5617 * gdb.btrace/nohist.exp: Likewise.
5618 * gdb.btrace/non-stop.exp: Likewise.
5619 * gdb.btrace/reconnect.exp: Likewise.
5620 * gdb.btrace/record_goto-step.exp: Likewise.
5621 * gdb.btrace/record_goto.exp: Likewise.
5622 * gdb.btrace/rn-dl-bind.exp: Likewise.
5623 * gdb.btrace/segv.exp: Likewise.
5624 * gdb.btrace/step.exp: Likewise.
5625 * gdb.btrace/stepi.exp: Likewise.
5626 * gdb.btrace/tailcall-only.exp: Likewise.
5627 * gdb.btrace/tailcall.exp: Likewise.
5628 * gdb.btrace/tsx.exp: Likewise.
5629 * gdb.btrace/unknown_functions.exp: Likewise.
5630 * gdb.btrace/vdso.exp: Likewise.
5631
5632 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5633
5634 * gdb.btrace/enable-running.c: New.
5635 * gdb.btrace/enable-running.exp: New.
5636
5637 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5638
5639 * gdb.arch/amd64-gs_base.c: New file.
5640 * gdb.arch/amd64-gs_base.exp: New file.
5641
5642 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5643
5644 * lib/memory.exp: Remove spurious empty newlines.
5645
5646 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5647
5648 * gdb.python/py-bad-printers.exp: Load python file using "source".
5649 * gdb.python/py-events.exp: Likewise.
5650 * gdb.python/py-evsignal.exp: Likewise.
5651 * gdb.python/py-evthreads.exp: Likewise.
5652 * gdb.python/py-frame-args.exp: Likewise.
5653 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5654 * gdb.python/py-framefilter-mi.exp: Likewise.
5655 * gdb.python/py-framefilter.exp: Likewise.
5656 * gdb.python/py-mi.exp: Likewise.
5657 * gdb.python/py-pp-maint.exp: Likewise.
5658 * gdb.python/py-pp-registration.exp: Likewise.
5659 * gdb.python/py-prettyprint.exp: Likewise.
5660 (run_lang_tests): Likewise.
5661 * gdb.python/py-typeprint.exp: Likewise.
5662
5663 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5664
5665 * lib/memory.exp: New file.
5666 * lib/gdb.exp: Load memory.exp.
5667 * gdb.base/memattr.exp (delete_memory): Move proc to
5668 lib/memory.exp and rename to delete_memory_regions.
5669 Replace delete_memory with delete_memory_regions.
5670 Cleanup memory regions before tests.
5671 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5672 before tests.
5673
5674 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5675
5676 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5677 files.
5678 (initialize): New function conditionally defined.
5679 (testcases): Move within conditional block.
5680 (main): Call initialize.
5681 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5682 of gdb.reverse/insn-reverse.c.
5683 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5684 gdb.reverse/insn-reverse.c.
5685
5686 2017-01-26 Yao Qi <yao.qi@linaro.org>
5687
5688 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5689 disassemble on address 0.
5690
5691 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5692 Yao Qi <yao.qi@linaro.org>
5693
5694 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5695 * gdb.dwarf2/implptr-64bit.S: Remove.
5696 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5697 variables in caller's context. Add DW_OP_implicit_value.
5698
5699 2017-01-25 Yao Qi <yao.qi@linaro.org>
5700
5701 * lib/dwarf.exp (Dwarf::_location): Handle
5702 DW_OP_GNU_implicit_pointer with proper size.
5703
5704 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5705
5706 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5707 and add untested calls.
5708
5709 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5710
5711 * gdb.python/python.exp: Check line number against what GDB thinks
5712 the line number is for func1.
5713
5714 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5715
5716 * gdb.dlang/debug-expr.exp: New file.
5717
5718 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5719
5720 Fix test names for the following files:
5721
5722 * gdb.ada/exec_changed.exp
5723 * gdb.ada/info_types.exp
5724 * gdb.arch/aarch64-atomic-inst.exp
5725 * gdb.arch/aarch64-fp.exp
5726 * gdb.arch/altivec-abi.exp
5727 * gdb.arch/altivec-regs.exp
5728 * gdb.arch/amd64-byte.exp
5729 * gdb.arch/amd64-disp-step.exp
5730 * gdb.arch/amd64-dword.exp
5731 * gdb.arch/amd64-entry-value-inline.exp
5732 * gdb.arch/amd64-entry-value-param.exp
5733 * gdb.arch/amd64-entry-value-paramref.exp
5734 * gdb.arch/amd64-entry-value.exp
5735 * gdb.arch/amd64-i386-address.exp
5736 * gdb.arch/amd64-invalid-stack-middle.exp
5737 * gdb.arch/amd64-invalid-stack-top.exp
5738 * gdb.arch/amd64-optimout-repeat.exp
5739 * gdb.arch/amd64-prologue-skip.exp
5740 * gdb.arch/amd64-prologue-xmm.exp
5741 * gdb.arch/amd64-stap-special-operands.exp
5742 * gdb.arch/amd64-stap-wrong-subexp.exp
5743 * gdb.arch/amd64-tailcall-cxx.exp
5744 * gdb.arch/amd64-tailcall-noret.exp
5745 * gdb.arch/amd64-tailcall-ret.exp
5746 * gdb.arch/amd64-tailcall-self.exp
5747 * gdb.arch/amd64-word.exp
5748 * gdb.arch/arm-bl-branch-dest.exp
5749 * gdb.arch/arm-disp-step.exp
5750 * gdb.arch/arm-neon.exp
5751 * gdb.arch/arm-single-step-kernel-helper.exp
5752 * gdb.arch/avr-flash-qualifier.exp
5753 * gdb.arch/disp-step-insn-reloc.exp
5754 * gdb.arch/e500-abi.exp
5755 * gdb.arch/e500-regs.exp
5756 * gdb.arch/ftrace-insn-reloc.exp
5757 * gdb.arch/i386-avx512.exp
5758 * gdb.arch/i386-bp_permanent.exp
5759 * gdb.arch/i386-byte.exp
5760 * gdb.arch/i386-cfi-notcurrent.exp
5761 * gdb.arch/i386-disp-step.exp
5762 * gdb.arch/i386-dr3-watch.exp
5763 * gdb.arch/i386-float.exp
5764 * gdb.arch/i386-gnu-cfi.exp
5765 * gdb.arch/i386-mpx-map.exp
5766 * gdb.arch/i386-mpx-sigsegv.exp
5767 * gdb.arch/i386-mpx-simple_segv.exp
5768 * gdb.arch/i386-mpx.exp
5769 * gdb.arch/i386-permbkpt.exp
5770 * gdb.arch/i386-prologue.exp
5771 * gdb.arch/i386-signal.exp
5772 * gdb.arch/i386-size-overlap.exp
5773 * gdb.arch/i386-unwind.exp
5774 * gdb.arch/i386-word.exp
5775 * gdb.arch/mips-fcr.exp
5776 * gdb.arch/powerpc-d128-regs.exp
5777 * gdb.arch/powerpc-stackless.exp
5778 * gdb.arch/ppc64-atomic-inst.exp
5779 * gdb.arch/s390-stackless.exp
5780 * gdb.arch/s390-tdbregs.exp
5781 * gdb.arch/s390-vregs.exp
5782 * gdb.arch/sparc-sysstep.exp
5783 * gdb.arch/thumb-bx-pc.exp
5784 * gdb.arch/thumb-singlestep.exp
5785 * gdb.arch/thumb2-it.exp
5786 * gdb.arch/vsx-regs.exp
5787 * gdb.asm/asm-source.exp
5788 * gdb.base/a2-run.exp
5789 * gdb.base/advance.exp
5790 * gdb.base/all-bin.exp
5791 * gdb.base/anon.exp
5792 * gdb.base/args.exp
5793 * gdb.base/arithmet.exp
5794 * gdb.base/async-shell.exp
5795 * gdb.base/async.exp
5796 * gdb.base/attach-pie-noexec.exp
5797 * gdb.base/attach-twice.exp
5798 * gdb.base/auto-load.exp
5799 * gdb.base/bang.exp
5800 * gdb.base/bitfields.exp
5801 * gdb.base/break-always.exp
5802 * gdb.base/break-caller-line.exp
5803 * gdb.base/break-entry.exp
5804 * gdb.base/break-inline.exp
5805 * gdb.base/break-on-linker-gcd-function.exp
5806 * gdb.base/break-probes.exp
5807 * gdb.base/break.exp
5808 * gdb.base/breakpoint-shadow.exp
5809 * gdb.base/call-ar-st.exp
5810 * gdb.base/call-sc.exp
5811 * gdb.base/call-signal-resume.exp
5812 * gdb.base/call-strs.exp
5813 * gdb.base/callfuncs.exp
5814 * gdb.base/catch-fork-static.exp
5815 * gdb.base/catch-gdb-caused-signals.exp
5816 * gdb.base/catch-load.exp
5817 * gdb.base/catch-signal-fork.exp
5818 * gdb.base/catch-signal.exp
5819 * gdb.base/catch-syscall.exp
5820 * gdb.base/charset.exp
5821 * gdb.base/checkpoint.exp
5822 * gdb.base/chng-syms.exp
5823 * gdb.base/code-expr.exp
5824 * gdb.base/code_elim.exp
5825 * gdb.base/commands.exp
5826 * gdb.base/completion.exp
5827 * gdb.base/complex.exp
5828 * gdb.base/cond-expr.exp
5829 * gdb.base/condbreak.exp
5830 * gdb.base/consecutive.exp
5831 * gdb.base/continue-all-already-running.exp
5832 * gdb.base/coredump-filter.exp
5833 * gdb.base/corefile.exp
5834 * gdb.base/dbx.exp
5835 * gdb.base/debug-expr.exp
5836 * gdb.base/define.exp
5837 * gdb.base/del.exp
5838 * gdb.base/disabled-location.exp
5839 * gdb.base/disasm-end-cu.exp
5840 * gdb.base/disasm-optim.exp
5841 * gdb.base/display.exp
5842 * gdb.base/duplicate-bp.exp
5843 * gdb.base/ena-dis-br.exp
5844 * gdb.base/ending-run.exp
5845 * gdb.base/enumval.exp
5846 * gdb.base/environ.exp
5847 * gdb.base/eu-strip-infcall.exp
5848 * gdb.base/eval-avoid-side-effects.exp
5849 * gdb.base/eval-skip.exp
5850 * gdb.base/exitsignal.exp
5851 * gdb.base/expand-psymtabs.exp
5852 * gdb.base/filesym.exp
5853 * gdb.base/find-unmapped.exp
5854 * gdb.base/finish.exp
5855 * gdb.base/float.exp
5856 * gdb.base/foll-exec-mode.exp
5857 * gdb.base/foll-exec.exp
5858 * gdb.base/foll-fork.exp
5859 * gdb.base/fortran-sym-case.exp
5860 * gdb.base/freebpcmd.exp
5861 * gdb.base/func-ptr.exp
5862 * gdb.base/func-ptrs.exp
5863 * gdb.base/funcargs.exp
5864 * gdb.base/gcore-buffer-overflow.exp
5865 * gdb.base/gcore-relro-pie.exp
5866 * gdb.base/gcore-relro.exp
5867 * gdb.base/gcore.exp
5868 * gdb.base/gdb1090.exp
5869 * gdb.base/gdb11530.exp
5870 * gdb.base/gdb11531.exp
5871 * gdb.base/gdb1821.exp
5872 * gdb.base/gdbindex-stabs.exp
5873 * gdb.base/gdbvars.exp
5874 * gdb.base/hbreak.exp
5875 * gdb.base/hbreak2.exp
5876 * gdb.base/included.exp
5877 * gdb.base/infcall-input.exp
5878 * gdb.base/inferior-died.exp
5879 * gdb.base/infnan.exp
5880 * gdb.base/info-macros.exp
5881 * gdb.base/info-os.exp
5882 * gdb.base/info-proc.exp
5883 * gdb.base/info-shared.exp
5884 * gdb.base/info-target.exp
5885 * gdb.base/infoline.exp
5886 * gdb.base/interp.exp
5887 * gdb.base/interrupt.exp
5888 * gdb.base/jit-reader.exp
5889 * gdb.base/jit-simple.exp
5890 * gdb.base/kill-after-signal.exp
5891 * gdb.base/kill-detach-inferiors-cmd.exp
5892 * gdb.base/label.exp
5893 * gdb.base/langs.exp
5894 * gdb.base/ldbl_e308.exp
5895 * gdb.base/line-symtabs.exp
5896 * gdb.base/linespecs.exp
5897 * gdb.base/list.exp
5898 * gdb.base/long_long.exp
5899 * gdb.base/longest-types.exp
5900 * gdb.base/maint.exp
5901 * gdb.base/max-value-size.exp
5902 * gdb.base/memattr.exp
5903 * gdb.base/mips_pro.exp
5904 * gdb.base/morestack.exp
5905 * gdb.base/moribund-step.exp
5906 * gdb.base/multi-forks.exp
5907 * gdb.base/nested-addr.exp
5908 * gdb.base/nextoverexit.exp
5909 * gdb.base/noreturn-finish.exp
5910 * gdb.base/noreturn-return.exp
5911 * gdb.base/nostdlib.exp
5912 * gdb.base/offsets.exp
5913 * gdb.base/opaque.exp
5914 * gdb.base/pc-fp.exp
5915 * gdb.base/permissions.exp
5916 * gdb.base/print-symbol-loading.exp
5917 * gdb.base/prologue-include.exp
5918 * gdb.base/psymtab.exp
5919 * gdb.base/ptype.exp
5920 * gdb.base/random-signal.exp
5921 * gdb.base/randomize.exp
5922 * gdb.base/range-stepping.exp
5923 * gdb.base/readline-ask.exp
5924 * gdb.base/recpar.exp
5925 * gdb.base/recurse.exp
5926 * gdb.base/relational.exp
5927 * gdb.base/restore.exp
5928 * gdb.base/return-nodebug.exp
5929 * gdb.base/return.exp
5930 * gdb.base/run-after-attach.exp
5931 * gdb.base/save-bp.exp
5932 * gdb.base/scope.exp
5933 * gdb.base/sect-cmd.exp
5934 * gdb.base/set-lang-auto.exp
5935 * gdb.base/set-noassign.exp
5936 * gdb.base/setvar.exp
5937 * gdb.base/sigall.exp
5938 * gdb.base/sigbpt.exp
5939 * gdb.base/siginfo-addr.exp
5940 * gdb.base/siginfo-infcall.exp
5941 * gdb.base/siginfo-obj.exp
5942 * gdb.base/siginfo.exp
5943 * gdb.base/signals-state-child.exp
5944 * gdb.base/signest.exp
5945 * gdb.base/sigstep.exp
5946 * gdb.base/sizeof.exp
5947 * gdb.base/skip.exp
5948 * gdb.base/solib-corrupted.exp
5949 * gdb.base/solib-nodir.exp
5950 * gdb.base/solib-search.exp
5951 * gdb.base/stack-checking.exp
5952 * gdb.base/stale-infcall.exp
5953 * gdb.base/stap-probe.exp
5954 * gdb.base/start.exp
5955 * gdb.base/step-break.exp
5956 * gdb.base/step-bt.exp
5957 * gdb.base/step-line.exp
5958 * gdb.base/step-over-exit.exp
5959 * gdb.base/step-over-syscall.exp
5960 * gdb.base/step-resume-infcall.exp
5961 * gdb.base/step-test.exp
5962 * gdb.base/store.exp
5963 * gdb.base/structs3.exp
5964 * gdb.base/sym-file.exp
5965 * gdb.base/symbol-without-target_section.exp
5966 * gdb.base/term.exp
5967 * gdb.base/testenv.exp
5968 * gdb.base/ui-redirect.exp
5969 * gdb.base/until.exp
5970 * gdb.base/unwindonsignal.exp
5971 * gdb.base/value-double-free.exp
5972 * gdb.base/vla-datatypes.exp
5973 * gdb.base/vla-ptr.exp
5974 * gdb.base/vla-sideeffect.exp
5975 * gdb.base/volatile.exp
5976 * gdb.base/watch-cond-infcall.exp
5977 * gdb.base/watch-cond.exp
5978 * gdb.base/watch-non-mem.exp
5979 * gdb.base/watch-read.exp
5980 * gdb.base/watch-vfork.exp
5981 * gdb.base/watchpoint-cond-gone.exp
5982 * gdb.base/watchpoint-delete.exp
5983 * gdb.base/watchpoint-hw-hit-once.exp
5984 * gdb.base/watchpoint-hw.exp
5985 * gdb.base/watchpoint-stops-at-right-insn.exp
5986 * gdb.base/watchpoints.exp
5987 * gdb.base/wchar.exp
5988 * gdb.base/whatis-exp.exp
5989 * gdb.btrace/buffer-size.exp
5990 * gdb.btrace/data.exp
5991 * gdb.btrace/delta.exp
5992 * gdb.btrace/dlopen.exp
5993 * gdb.btrace/enable.exp
5994 * gdb.btrace/exception.exp
5995 * gdb.btrace/function_call_history.exp
5996 * gdb.btrace/gcore.exp
5997 * gdb.btrace/instruction_history.exp
5998 * gdb.btrace/nohist.exp
5999 * gdb.btrace/reconnect.exp
6000 * gdb.btrace/record_goto-step.exp
6001 * gdb.btrace/record_goto.exp
6002 * gdb.btrace/rn-dl-bind.exp
6003 * gdb.btrace/segv.exp
6004 * gdb.btrace/step.exp
6005 * gdb.btrace/stepi.exp
6006 * gdb.btrace/tailcall-only.exp
6007 * gdb.btrace/tailcall.exp
6008 * gdb.btrace/tsx.exp
6009 * gdb.btrace/unknown_functions.exp
6010 * gdb.btrace/vdso.exp
6011 * gdb.compile/compile-ifunc.exp
6012 * gdb.compile/compile-ops.exp
6013 * gdb.compile/compile-print.exp
6014 * gdb.compile/compile-setjmp.exp
6015 * gdb.cp/abstract-origin.exp
6016 * gdb.cp/ambiguous.exp
6017 * gdb.cp/annota2.exp
6018 * gdb.cp/annota3.exp
6019 * gdb.cp/anon-ns.exp
6020 * gdb.cp/anon-struct.exp
6021 * gdb.cp/anon-union.exp
6022 * gdb.cp/arg-reference.exp
6023 * gdb.cp/baseenum.exp
6024 * gdb.cp/bool.exp
6025 * gdb.cp/breakpoint.exp
6026 * gdb.cp/bs15503.exp
6027 * gdb.cp/call-c.exp
6028 * gdb.cp/casts.exp
6029 * gdb.cp/chained-calls.exp
6030 * gdb.cp/class2.exp
6031 * gdb.cp/classes.exp
6032 * gdb.cp/cmpd-minsyms.exp
6033 * gdb.cp/converts.exp
6034 * gdb.cp/cp-relocate.exp
6035 * gdb.cp/cpcompletion.exp
6036 * gdb.cp/cpexprs.exp
6037 * gdb.cp/cplabel.exp
6038 * gdb.cp/cplusfuncs.exp
6039 * gdb.cp/cpsizeof.exp
6040 * gdb.cp/ctti.exp
6041 * gdb.cp/derivation.exp
6042 * gdb.cp/destrprint.exp
6043 * gdb.cp/dispcxx.exp
6044 * gdb.cp/enum-class.exp
6045 * gdb.cp/exception.exp
6046 * gdb.cp/exceptprint.exp
6047 * gdb.cp/expand-psymtabs-cxx.exp
6048 * gdb.cp/expand-sals.exp
6049 * gdb.cp/extern-c.exp
6050 * gdb.cp/filename.exp
6051 * gdb.cp/formatted-ref.exp
6052 * gdb.cp/fpointer.exp
6053 * gdb.cp/gdb1355.exp
6054 * gdb.cp/gdb2495.exp
6055 * gdb.cp/hang.exp
6056 * gdb.cp/impl-this.exp
6057 * gdb.cp/infcall-dlopen.exp
6058 * gdb.cp/inherit.exp
6059 * gdb.cp/iostream.exp
6060 * gdb.cp/koenig.exp
6061 * gdb.cp/local.exp
6062 * gdb.cp/m-data.exp
6063 * gdb.cp/m-static.exp
6064 * gdb.cp/mb-ctor.exp
6065 * gdb.cp/mb-inline.exp
6066 * gdb.cp/mb-templates.exp
6067 * gdb.cp/member-name.exp
6068 * gdb.cp/member-ptr.exp
6069 * gdb.cp/meth-typedefs.exp
6070 * gdb.cp/method.exp
6071 * gdb.cp/method2.exp
6072 * gdb.cp/minsym-fallback.exp
6073 * gdb.cp/misc.exp
6074 * gdb.cp/namelessclass.exp
6075 * gdb.cp/namespace-enum.exp
6076 * gdb.cp/namespace-nested-import.exp
6077 * gdb.cp/namespace.exp
6078 * gdb.cp/nextoverthrow.exp
6079 * gdb.cp/no-dmgl-verbose.exp
6080 * gdb.cp/non-trivial-retval.exp
6081 * gdb.cp/noparam.exp
6082 * gdb.cp/nsdecl.exp
6083 * gdb.cp/nsimport.exp
6084 * gdb.cp/nsnested.exp
6085 * gdb.cp/nsnoimports.exp
6086 * gdb.cp/nsrecurs.exp
6087 * gdb.cp/nsstress.exp
6088 * gdb.cp/nsusing.exp
6089 * gdb.cp/operator.exp
6090 * gdb.cp/oranking.exp
6091 * gdb.cp/overload-const.exp
6092 * gdb.cp/overload.exp
6093 * gdb.cp/ovldbreak.exp
6094 * gdb.cp/ovsrch.exp
6095 * gdb.cp/paren-type.exp
6096 * gdb.cp/parse-lang.exp
6097 * gdb.cp/pass-by-ref.exp
6098 * gdb.cp/pr-1023.exp
6099 * gdb.cp/pr-1210.exp
6100 * gdb.cp/pr-574.exp
6101 * gdb.cp/pr10687.exp
6102 * gdb.cp/pr12028.exp
6103 * gdb.cp/pr17132.exp
6104 * gdb.cp/pr17494.exp
6105 * gdb.cp/pr9067.exp
6106 * gdb.cp/pr9167.exp
6107 * gdb.cp/pr9631.exp
6108 * gdb.cp/printmethod.exp
6109 * gdb.cp/psmang.exp
6110 * gdb.cp/psymtab-parameter.exp
6111 * gdb.cp/ptype-cv-cp.exp
6112 * gdb.cp/ptype-flags.exp
6113 * gdb.cp/re-set-overloaded.exp
6114 * gdb.cp/ref-types.exp
6115 * gdb.cp/rtti.exp
6116 * gdb.cp/scope-err.exp
6117 * gdb.cp/shadow.exp
6118 * gdb.cp/smartp.exp
6119 * gdb.cp/static-method.exp
6120 * gdb.cp/static-print-quit.exp
6121 * gdb.cp/temargs.exp
6122 * gdb.cp/templates.exp
6123 * gdb.cp/try_catch.exp
6124 * gdb.cp/typedef-operator.exp
6125 * gdb.cp/typeid.exp
6126 * gdb.cp/userdef.exp
6127 * gdb.cp/using-crash.exp
6128 * gdb.cp/var-tag.exp
6129 * gdb.cp/virtbase.exp
6130 * gdb.cp/virtfunc.exp
6131 * gdb.cp/virtfunc2.exp
6132 * gdb.cp/vla-cxx.exp
6133 * gdb.disasm/t01_mov.exp
6134 * gdb.disasm/t02_mova.exp
6135 * gdb.disasm/t03_add.exp
6136 * gdb.disasm/t04_sub.exp
6137 * gdb.disasm/t05_cmp.exp
6138 * gdb.disasm/t06_ari2.exp
6139 * gdb.disasm/t07_ari3.exp
6140 * gdb.disasm/t08_or.exp
6141 * gdb.disasm/t09_xor.exp
6142 * gdb.disasm/t10_and.exp
6143 * gdb.disasm/t11_logs.exp
6144 * gdb.disasm/t12_bit.exp
6145 * gdb.disasm/t13_otr.exp
6146 * gdb.dlang/circular.exp
6147 * gdb.dwarf2/arr-stride.exp
6148 * gdb.dwarf2/arr-subrange.exp
6149 * gdb.dwarf2/atomic-type.exp
6150 * gdb.dwarf2/bad-regnum.exp
6151 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6152 * gdb.dwarf2/callframecfa.exp
6153 * gdb.dwarf2/clztest.exp
6154 * gdb.dwarf2/corrupt.exp
6155 * gdb.dwarf2/data-loc.exp
6156 * gdb.dwarf2/dup-psym.exp
6157 * gdb.dwarf2/dw2-anon-mptr.exp
6158 * gdb.dwarf2/dw2-anonymous-func.exp
6159 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6160 * gdb.dwarf2/dw2-bad-unresolved.exp
6161 * gdb.dwarf2/dw2-basic.exp
6162 * gdb.dwarf2/dw2-canonicalize-type.exp
6163 * gdb.dwarf2/dw2-case-insensitive.exp
6164 * gdb.dwarf2/dw2-common-block.exp
6165 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6166 * gdb.dwarf2/dw2-compressed.exp
6167 * gdb.dwarf2/dw2-const.exp
6168 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6169 * gdb.dwarf2/dw2-cu-size.exp
6170 * gdb.dwarf2/dw2-dup-frame.exp
6171 * gdb.dwarf2/dw2-entry-value.exp
6172 * gdb.dwarf2/dw2-icycle.exp
6173 * gdb.dwarf2/dw2-ifort-parameter.exp
6174 * gdb.dwarf2/dw2-inline-break.exp
6175 * gdb.dwarf2/dw2-inline-param.exp
6176 * gdb.dwarf2/dw2-intercu.exp
6177 * gdb.dwarf2/dw2-intermix.exp
6178 * gdb.dwarf2/dw2-lexical-block-bare.exp
6179 * gdb.dwarf2/dw2-linkage-name-trust.exp
6180 * gdb.dwarf2/dw2-minsym-in-cu.exp
6181 * gdb.dwarf2/dw2-noloc.exp
6182 * gdb.dwarf2/dw2-op-call.exp
6183 * gdb.dwarf2/dw2-op-out-param.exp
6184 * gdb.dwarf2/dw2-opt-structptr.exp
6185 * gdb.dwarf2/dw2-param-error.exp
6186 * gdb.dwarf2/dw2-producer.exp
6187 * gdb.dwarf2/dw2-ranges-base.exp
6188 * gdb.dwarf2/dw2-ref-missing-frame.exp
6189 * gdb.dwarf2/dw2-reg-undefined.exp
6190 * gdb.dwarf2/dw2-regno-invalid.exp
6191 * gdb.dwarf2/dw2-restore.exp
6192 * gdb.dwarf2/dw2-restrict.exp
6193 * gdb.dwarf2/dw2-single-line-discriminators.exp
6194 * gdb.dwarf2/dw2-strp.exp
6195 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6196 * gdb.dwarf2/dw2-unresolved.exp
6197 * gdb.dwarf2/dw2-var-zero-addr.exp
6198 * gdb.dwarf2/dw4-sig-types.exp
6199 * gdb.dwarf2/dwz.exp
6200 * gdb.dwarf2/dynarr-ptr.exp
6201 * gdb.dwarf2/enum-type.exp
6202 * gdb.dwarf2/gdb-index.exp
6203 * gdb.dwarf2/implptr-64bit.exp
6204 * gdb.dwarf2/implptr-optimized-out.exp
6205 * gdb.dwarf2/implptr.exp
6206 * gdb.dwarf2/implref-array.exp
6207 * gdb.dwarf2/implref-const.exp
6208 * gdb.dwarf2/implref-global.exp
6209 * gdb.dwarf2/implref-struct.exp
6210 * gdb.dwarf2/mac-fileno.exp
6211 * gdb.dwarf2/main-subprogram.exp
6212 * gdb.dwarf2/member-ptr-forwardref.exp
6213 * gdb.dwarf2/method-ptr.exp
6214 * gdb.dwarf2/missing-sig-type.exp
6215 * gdb.dwarf2/nonvar-access.exp
6216 * gdb.dwarf2/opaque-type-lookup.exp
6217 * gdb.dwarf2/pieces-optimized-out.exp
6218 * gdb.dwarf2/pieces.exp
6219 * gdb.dwarf2/pr10770.exp
6220 * gdb.dwarf2/pr13961.exp
6221 * gdb.dwarf2/staticvirtual.exp
6222 * gdb.dwarf2/subrange.exp
6223 * gdb.dwarf2/symtab-producer.exp
6224 * gdb.dwarf2/trace-crash.exp
6225 * gdb.dwarf2/typeddwarf.exp
6226 * gdb.dwarf2/valop.exp
6227 * gdb.dwarf2/watch-notconst.exp
6228 * gdb.fortran/array-element.exp
6229 * gdb.fortran/charset.exp
6230 * gdb.fortran/common-block.exp
6231 * gdb.fortran/complex.exp
6232 * gdb.fortran/derived-type-function.exp
6233 * gdb.fortran/derived-type.exp
6234 * gdb.fortran/logical.exp
6235 * gdb.fortran/module.exp
6236 * gdb.fortran/multi-dim.exp
6237 * gdb.fortran/nested-funcs.exp
6238 * gdb.fortran/print-formatted.exp
6239 * gdb.fortran/subarray.exp
6240 * gdb.fortran/vla-alloc-assoc.exp
6241 * gdb.fortran/vla-datatypes.exp
6242 * gdb.fortran/vla-history.exp
6243 * gdb.fortran/vla-ptr-info.exp
6244 * gdb.fortran/vla-ptype-sub.exp
6245 * gdb.fortran/vla-ptype.exp
6246 * gdb.fortran/vla-sizeof.exp
6247 * gdb.fortran/vla-type.exp
6248 * gdb.fortran/vla-value-sub-arbitrary.exp
6249 * gdb.fortran/vla-value-sub-finish.exp
6250 * gdb.fortran/vla-value-sub.exp
6251 * gdb.fortran/vla-value.exp
6252 * gdb.fortran/whatis_type.exp
6253 * gdb.go/chan.exp
6254 * gdb.go/handcall.exp
6255 * gdb.go/hello.exp
6256 * gdb.go/integers.exp
6257 * gdb.go/methods.exp
6258 * gdb.go/package.exp
6259 * gdb.go/strings.exp
6260 * gdb.go/types.exp
6261 * gdb.go/unsafe.exp
6262 * gdb.guile/scm-arch.exp
6263 * gdb.guile/scm-block.exp
6264 * gdb.guile/scm-breakpoint.exp
6265 * gdb.guile/scm-cmd.exp
6266 * gdb.guile/scm-disasm.exp
6267 * gdb.guile/scm-equal.exp
6268 * gdb.guile/scm-frame-args.exp
6269 * gdb.guile/scm-frame-inline.exp
6270 * gdb.guile/scm-frame.exp
6271 * gdb.guile/scm-iterator.exp
6272 * gdb.guile/scm-math.exp
6273 * gdb.guile/scm-objfile.exp
6274 * gdb.guile/scm-ports.exp
6275 * gdb.guile/scm-symbol.exp
6276 * gdb.guile/scm-symtab.exp
6277 * gdb.guile/scm-value-cc.exp
6278 * gdb.guile/types-module.exp
6279 * gdb.linespec/break-ask.exp
6280 * gdb.linespec/cpexplicit.exp
6281 * gdb.linespec/explicit.exp
6282 * gdb.linespec/keywords.exp
6283 * gdb.linespec/linespec.exp
6284 * gdb.linespec/ls-dollar.exp
6285 * gdb.linespec/ls-errs.exp
6286 * gdb.linespec/skip-two.exp
6287 * gdb.linespec/thread.exp
6288 * gdb.mi/mi-async.exp
6289 * gdb.mi/mi-basics.exp
6290 * gdb.mi/mi-break.exp
6291 * gdb.mi/mi-catch-load.exp
6292 * gdb.mi/mi-cli.exp
6293 * gdb.mi/mi-cmd-param-changed.exp
6294 * gdb.mi/mi-console.exp
6295 * gdb.mi/mi-detach.exp
6296 * gdb.mi/mi-disassemble.exp
6297 * gdb.mi/mi-eval.exp
6298 * gdb.mi/mi-file-transfer.exp
6299 * gdb.mi/mi-file.exp
6300 * gdb.mi/mi-fill-memory.exp
6301 * gdb.mi/mi-inheritance-syntax-error.exp
6302 * gdb.mi/mi-linespec-err-cp.exp
6303 * gdb.mi/mi-logging.exp
6304 * gdb.mi/mi-memory-changed.exp
6305 * gdb.mi/mi-read-memory.exp
6306 * gdb.mi/mi-record-changed.exp
6307 * gdb.mi/mi-reg-undefined.exp
6308 * gdb.mi/mi-regs.exp
6309 * gdb.mi/mi-return.exp
6310 * gdb.mi/mi-reverse.exp
6311 * gdb.mi/mi-simplerun.exp
6312 * gdb.mi/mi-solib.exp
6313 * gdb.mi/mi-stack.exp
6314 * gdb.mi/mi-stepi.exp
6315 * gdb.mi/mi-syn-frame.exp
6316 * gdb.mi/mi-until.exp
6317 * gdb.mi/mi-var-block.exp
6318 * gdb.mi/mi-var-child.exp
6319 * gdb.mi/mi-var-cmd.exp
6320 * gdb.mi/mi-var-cp.exp
6321 * gdb.mi/mi-var-display.exp
6322 * gdb.mi/mi-var-invalidate.exp
6323 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6324 * gdb.mi/mi-vla-fortran.exp
6325 * gdb.mi/mi-watch.exp
6326 * gdb.mi/mi2-var-child.exp
6327 * gdb.mi/user-selected-context-sync.exp
6328 * gdb.modula2/unbounded-array.exp
6329 * gdb.multi/dummy-frame-restore.exp
6330 * gdb.multi/multi-arch-exec.exp
6331 * gdb.multi/multi-arch.exp
6332 * gdb.multi/tids.exp
6333 * gdb.multi/watchpoint-multi.exp
6334 * gdb.opencl/callfuncs.exp
6335 * gdb.opencl/convs_casts.exp
6336 * gdb.opencl/datatypes.exp
6337 * gdb.opencl/operators.exp
6338 * gdb.opencl/vec_comps.exp
6339 * gdb.opt/clobbered-registers-O2.exp
6340 * gdb.opt/inline-break.exp
6341 * gdb.opt/inline-bt.exp
6342 * gdb.opt/inline-cmds.exp
6343 * gdb.opt/inline-locals.exp
6344 * gdb.pascal/case-insensitive-symbols.exp
6345 * gdb.pascal/floats.exp
6346 * gdb.pascal/gdb11492.exp
6347 * gdb.python/lib-types.exp
6348 * gdb.python/py-arch.exp
6349 * gdb.python/py-as-string.exp
6350 * gdb.python/py-bad-printers.exp
6351 * gdb.python/py-block.exp
6352 * gdb.python/py-breakpoint-create-fail.exp
6353 * gdb.python/py-breakpoint.exp
6354 * gdb.python/py-caller-is.exp
6355 * gdb.python/py-cmd.exp
6356 * gdb.python/py-explore-cc.exp
6357 * gdb.python/py-explore.exp
6358 * gdb.python/py-finish-breakpoint.exp
6359 * gdb.python/py-finish-breakpoint2.exp
6360 * gdb.python/py-frame-args.exp
6361 * gdb.python/py-frame-inline.exp
6362 * gdb.python/py-frame.exp
6363 * gdb.python/py-framefilter-mi.exp
6364 * gdb.python/py-infthread.exp
6365 * gdb.python/py-lazy-string.exp
6366 * gdb.python/py-linetable.exp
6367 * gdb.python/py-mi-events.exp
6368 * gdb.python/py-mi-objfile.exp
6369 * gdb.python/py-mi.exp
6370 * gdb.python/py-objfile.exp
6371 * gdb.python/py-pp-integral.exp
6372 * gdb.python/py-pp-maint.exp
6373 * gdb.python/py-pp-re-notag.exp
6374 * gdb.python/py-pp-registration.exp
6375 * gdb.python/py-recurse-unwind.exp
6376 * gdb.python/py-strfns.exp
6377 * gdb.python/py-symbol.exp
6378 * gdb.python/py-symtab.exp
6379 * gdb.python/py-sync-interp.exp
6380 * gdb.python/py-typeprint.exp
6381 * gdb.python/py-unwind-maint.exp
6382 * gdb.python/py-unwind.exp
6383 * gdb.python/py-value-cc.exp
6384 * gdb.python/py-xmethods.exp
6385 * gdb.reverse/amd64-tailcall-reverse.exp
6386 * gdb.reverse/break-precsave.exp
6387 * gdb.reverse/break-reverse.exp
6388 * gdb.reverse/consecutive-precsave.exp
6389 * gdb.reverse/consecutive-reverse.exp
6390 * gdb.reverse/finish-precsave.exp
6391 * gdb.reverse/finish-reverse-bkpt.exp
6392 * gdb.reverse/finish-reverse.exp
6393 * gdb.reverse/fstatat-reverse.exp
6394 * gdb.reverse/getresuid-reverse.exp
6395 * gdb.reverse/i386-precsave.exp
6396 * gdb.reverse/i386-reverse.exp
6397 * gdb.reverse/i386-sse-reverse.exp
6398 * gdb.reverse/i387-env-reverse.exp
6399 * gdb.reverse/i387-stack-reverse.exp
6400 * gdb.reverse/insn-reverse.exp
6401 * gdb.reverse/machinestate-precsave.exp
6402 * gdb.reverse/machinestate.exp
6403 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6404 * gdb.reverse/pipe-reverse.exp
6405 * gdb.reverse/readv-reverse.exp
6406 * gdb.reverse/recvmsg-reverse.exp
6407 * gdb.reverse/rerun-prec.exp
6408 * gdb.reverse/s390-mvcle.exp
6409 * gdb.reverse/step-precsave.exp
6410 * gdb.reverse/step-reverse.exp
6411 * gdb.reverse/time-reverse.exp
6412 * gdb.reverse/until-precsave.exp
6413 * gdb.reverse/until-reverse.exp
6414 * gdb.reverse/waitpid-reverse.exp
6415 * gdb.reverse/watch-precsave.exp
6416 * gdb.reverse/watch-reverse.exp
6417 * gdb.rust/generics.exp
6418 * gdb.rust/methods.exp
6419 * gdb.rust/modules.exp
6420 * gdb.rust/simple.exp
6421 * gdb.server/connect-with-no-symbol-file.exp
6422 * gdb.server/ext-attach.exp
6423 * gdb.server/ext-restart.exp
6424 * gdb.server/ext-wrapper.exp
6425 * gdb.server/file-transfer.exp
6426 * gdb.server/server-exec-info.exp
6427 * gdb.server/server-kill.exp
6428 * gdb.server/server-mon.exp
6429 * gdb.server/wrapper.exp
6430 * gdb.stabs/exclfwd.exp
6431 * gdb.stabs/gdb11479.exp
6432 * gdb.threads/clone-new-thread-event.exp
6433 * gdb.threads/corethreads.exp
6434 * gdb.threads/current-lwp-dead.exp
6435 * gdb.threads/dlopen-libpthread.exp
6436 * gdb.threads/gcore-thread.exp
6437 * gdb.threads/sigstep-threads.exp
6438 * gdb.threads/watchpoint-fork.exp
6439 * gdb.trace/actions-changed.exp
6440 * gdb.trace/backtrace.exp
6441 * gdb.trace/change-loc.exp
6442 * gdb.trace/circ.exp
6443 * gdb.trace/collection.exp
6444 * gdb.trace/disconnected-tracing.exp
6445 * gdb.trace/ftrace.exp
6446 * gdb.trace/mi-trace-frame-collected.exp
6447 * gdb.trace/mi-trace-unavailable.exp
6448 * gdb.trace/mi-traceframe-changed.exp
6449 * gdb.trace/mi-tsv-changed.exp
6450 * gdb.trace/no-attach-trace.exp
6451 * gdb.trace/passc-dyn.exp
6452 * gdb.trace/qtro.exp
6453 * gdb.trace/range-stepping.exp
6454 * gdb.trace/read-memory.exp
6455 * gdb.trace/save-trace.exp
6456 * gdb.trace/signal.exp
6457 * gdb.trace/status-stop.exp
6458 * gdb.trace/tfile.exp
6459 * gdb.trace/trace-break.exp
6460 * gdb.trace/trace-buffer-size.exp
6461 * gdb.trace/trace-condition.exp
6462 * gdb.trace/tracefile-pseudo-reg.exp
6463 * gdb.trace/tstatus.exp
6464 * gdb.trace/unavailable.exp
6465 * gdb.trace/while-dyn.exp
6466 * gdb.trace/while-stepping.exp
6467
6468 2016-12-22 Doug Evans <xdje42@gmail.com>
6469
6470 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6471 and msymbols.
6472
6473 2016-12-19 Yao Qi <yao.qi@linaro.org>
6474
6475 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6476 (test_with_self): Don't call do_steps_and_nexts, and remove
6477 code about stepping into xmalloc.
6478
6479 2016-12-09 Yao Qi <yao.qi@linaro.org>
6480
6481 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6482
6483 2016-12-09 Yao Qi <yao.qi@linaro.org>
6484
6485 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6486
6487 2016-12-09 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.base/all-architectures-0.exp: New file.
6490 * gdb.base/all-architectures-1.exp: New file.
6491 * gdb.base/all-architectures-2.exp: New file.
6492 * gdb.base/all-architectures-3.exp: New file.
6493 * gdb.base/all-architectures-4.exp: New file.
6494 * gdb.base/all-architectures-5.exp: New file.
6495 * gdb.base/all-architectures-6.exp: New file.
6496 * gdb.base/all-architectures-7.exp: New file.
6497 * gdb.base/all-architectures.exp.in: New file.
6498
6499 2016-12-09 Yao Qi <yao.qi@linaro.org>
6500
6501 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6502
6503 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6504
6505 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6506 possible.
6507 Remove useless pattern-matching code.
6508
6509 2016-12-02 Pedro Alves <palves@redhat.com>
6510
6511 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6512 procedure.
6513 (top level): Call it.
6514
6515 2016-12-02 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6518 New procedure.
6519 (top level): Call it.
6520
6521 2016-12-02 Pedro Alves <palves@redhat.com>
6522
6523 PR cli/20559
6524 * gdb.base/commands.exp (user_defined_command_args_eval): New
6525 procedure.
6526 (top level): Call it.
6527
6528 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6529
6530 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6531 timeout handling.
6532
6533 2016-12-02 Tom Tromey <tom@tromey.com>
6534
6535 * gdb.dwarf2/main-subprogram.c: New file.
6536 * gdb.dwarf2/main-subprogram.exp: New file.
6537
6538 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6539
6540 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6541 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6542 gdb_test_no_output for a couple of cases.
6543 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6544
6545 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6546
6547 Fix test names and standardize compilation error messages throughout
6548 the following files:
6549
6550 * gdb.ada/start.exp
6551 * gdb.arch/alpha-step.exp
6552 * gdb.arch/e500-prologue.exp
6553 * gdb.arch/ftrace-insn-reloc.exp
6554 * gdb.arch/gdb1291.exp
6555 * gdb.arch/gdb1431.exp
6556 * gdb.arch/gdb1558.exp
6557 * gdb.arch/i386-dr3-watch.exp
6558 * gdb.arch/i386-sse-stack-align.exp
6559 * gdb.arch/ia64-breakpoint-shadow.exp
6560 * gdb.arch/pa-nullify.exp
6561 * gdb.arch/powerpc-aix-prologue.exp
6562 * gdb.arch/thumb-bx-pc.exp
6563 * gdb.base/annota1.exp
6564 * gdb.base/annota3.exp
6565 * gdb.base/arrayidx.exp
6566 * gdb.base/assign.exp
6567 * gdb.base/attach.exp
6568 * gdb.base/auxv.exp
6569 * gdb.base/bang.exp
6570 * gdb.base/bfp-test.exp
6571 * gdb.base/bigcore.exp
6572 * gdb.base/bitfields2.exp
6573 * gdb.base/break-fun-addr.exp
6574 * gdb.base/break-probes.exp
6575 * gdb.base/call-rt-st.exp
6576 * gdb.base/callexit.exp
6577 * gdb.base/catch-fork-kill.exp
6578 * gdb.base/charset.exp
6579 * gdb.base/checkpoint.exp
6580 * gdb.base/comprdebug.exp
6581 * gdb.base/constvars.exp
6582 * gdb.base/coredump-filter.exp
6583 * gdb.base/cursal.exp
6584 * gdb.base/cvexpr.exp
6585 * gdb.base/detach.exp
6586 * gdb.base/display.exp
6587 * gdb.base/dmsym.exp
6588 * gdb.base/dprintf-pending.exp
6589 * gdb.base/dso2dso.exp
6590 * gdb.base/dtrace-probe.exp
6591 * gdb.base/dump.exp
6592 * gdb.base/enum_cond.exp
6593 * gdb.base/exe-lock.exp
6594 * gdb.base/exec-invalid-sysroot.exp
6595 * gdb.base/execl-update-breakpoints.exp
6596 * gdb.base/exprs.exp
6597 * gdb.base/fileio.exp
6598 * gdb.base/find.exp
6599 * gdb.base/finish.exp
6600 * gdb.base/fixsection.exp
6601 * gdb.base/foll-vfork.exp
6602 * gdb.base/frame-args.exp
6603 * gdb.base/gcore.exp
6604 * gdb.base/gdb1250.exp
6605 * gdb.base/global-var-nested-by-dso.exp
6606 * gdb.base/gnu-ifunc.exp
6607 * gdb.base/hashline1.exp
6608 * gdb.base/hashline2.exp
6609 * gdb.base/hashline3.exp
6610 * gdb.base/hbreak-in-shr-unsupported.exp
6611 * gdb.base/huge.exp
6612 * gdb.base/infcall-input.exp
6613 * gdb.base/info-fun.exp
6614 * gdb.base/info-shared.exp
6615 * gdb.base/jit-simple.exp
6616 * gdb.base/jit-so.exp
6617 * gdb.base/jit.exp
6618 * gdb.base/jump.exp
6619 * gdb.base/label.exp
6620 * gdb.base/lineinc.exp
6621 * gdb.base/logical.exp
6622 * gdb.base/longjmp.exp
6623 * gdb.base/macscp.exp
6624 * gdb.base/miscexprs.exp
6625 * gdb.base/new-ui-echo.exp
6626 * gdb.base/new-ui-pending-input.exp
6627 * gdb.base/new-ui.exp
6628 * gdb.base/nodebug.exp
6629 * gdb.base/nofield.exp
6630 * gdb.base/offsets.exp
6631 * gdb.base/overlays.exp
6632 * gdb.base/pending.exp
6633 * gdb.base/pointers.exp
6634 * gdb.base/pr11022.exp
6635 * gdb.base/printcmds.exp
6636 * gdb.base/prologue.exp
6637 * gdb.base/ptr-typedef.exp
6638 * gdb.base/realname-expand.exp
6639 * gdb.base/relativedebug.exp
6640 * gdb.base/relocate.exp
6641 * gdb.base/remote.exp
6642 * gdb.base/reread.exp
6643 * gdb.base/return2.exp
6644 * gdb.base/savedregs.exp
6645 * gdb.base/sep.exp
6646 * gdb.base/sepdebug.exp
6647 * gdb.base/sepsymtab.exp
6648 * gdb.base/set-inferior-tty.exp
6649 * gdb.base/setshow.exp
6650 * gdb.base/shlib-call.exp
6651 * gdb.base/sigaltstack.exp
6652 * gdb.base/siginfo-addr.exp
6653 * gdb.base/signals.exp
6654 * gdb.base/signull.exp
6655 * gdb.base/sigrepeat.exp
6656 * gdb.base/so-impl-ld.exp
6657 * gdb.base/solib-display.exp
6658 * gdb.base/solib-overlap.exp
6659 * gdb.base/solib-search.exp
6660 * gdb.base/solib-symbol.exp
6661 * gdb.base/structs.exp
6662 * gdb.base/structs2.exp
6663 * gdb.base/symtab-search-order.exp
6664 * gdb.base/twice.exp
6665 * gdb.base/unload.exp
6666 * gdb.base/varargs.exp
6667 * gdb.base/watchpoint-solib.exp
6668 * gdb.base/watchpoint.exp
6669 * gdb.base/whatis.exp
6670 * gdb.base/wrong_frame_bt_full.exp
6671 * gdb.btrace/dlopen.exp
6672 * gdb.cell/ea-standalone.exp
6673 * gdb.cell/ea-test.exp
6674 * gdb.cp/dispcxx.exp
6675 * gdb.cp/gdb2384.exp
6676 * gdb.cp/method2.exp
6677 * gdb.cp/nextoverthrow.exp
6678 * gdb.cp/pr10728.exp
6679 * gdb.disasm/am33.exp
6680 * gdb.disasm/h8300s.exp
6681 * gdb.disasm/mn10300.exp
6682 * gdb.disasm/sh3.exp
6683 * gdb.dwarf2/dw2-dir-file-name.exp
6684 * gdb.fortran/complex.exp
6685 * gdb.fortran/library-module.exp
6686 * gdb.guile/scm-pretty-print.exp
6687 * gdb.guile/scm-symbol.exp
6688 * gdb.guile/scm-type.exp
6689 * gdb.guile/scm-value.exp
6690 * gdb.linespec/linespec.exp
6691 * gdb.mi/gdb701.exp
6692 * gdb.mi/gdb792.exp
6693 * gdb.mi/mi-breakpoint-changed.exp
6694 * gdb.mi/mi-dprintf-pending.exp
6695 * gdb.mi/mi-dprintf.exp
6696 * gdb.mi/mi-exit-code.exp
6697 * gdb.mi/mi-pending.exp
6698 * gdb.mi/mi-solib.exp
6699 * gdb.mi/new-ui-mi-sync.exp
6700 * gdb.mi/pr11022.exp
6701 * gdb.mi/user-selected-context-sync.exp
6702 * gdb.opt/solib-intra-step.exp
6703 * gdb.python/py-events.exp
6704 * gdb.python/py-finish-breakpoint.exp
6705 * gdb.python/py-mi.exp
6706 * gdb.python/py-prettyprint.exp
6707 * gdb.python/py-shared.exp
6708 * gdb.python/py-symbol.exp
6709 * gdb.python/py-template.exp
6710 * gdb.python/py-type.exp
6711 * gdb.python/py-value.exp
6712 * gdb.reverse/solib-precsave.exp
6713 * gdb.reverse/solib-reverse.exp
6714 * gdb.server/solib-list.exp
6715 * gdb.stabs/weird.exp
6716 * gdb.threads/reconnect-signal.exp
6717 * gdb.threads/stepi-random-signal.exp
6718 * gdb.trace/actions.exp
6719 * gdb.trace/ax.exp
6720 * gdb.trace/backtrace.exp
6721 * gdb.trace/change-loc.exp
6722 * gdb.trace/deltrace.exp
6723 * gdb.trace/ftrace-lock.exp
6724 * gdb.trace/ftrace.exp
6725 * gdb.trace/infotrace.exp
6726 * gdb.trace/mi-tracepoint-changed.exp
6727 * gdb.trace/packetlen.exp
6728 * gdb.trace/passcount.exp
6729 * gdb.trace/pending.exp
6730 * gdb.trace/range-stepping.exp
6731 * gdb.trace/report.exp
6732 * gdb.trace/stap-trace.exp
6733 * gdb.trace/tfind.exp
6734 * gdb.trace/trace-break.exp
6735 * gdb.trace/trace-condition.exp
6736 * gdb.trace/trace-enable-disable.exp
6737 * gdb.trace/trace-mt.exp
6738 * gdb.trace/tracecmd.exp
6739 * gdb.trace/tspeed.exp
6740 * gdb.trace/tsv.exp
6741 * lib/perftest.exp
6742
6743 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6744
6745 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6746 with gdb_test_no_output.
6747 Use command as test name.
6748
6749 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6750
6751 Fix test names starting with uppercase throughout the files.
6752
6753 * gdb.ada/assign_1.exp
6754 * gdb.ada/boolean_expr.exp
6755 * gdb.base/arrayidx.exp
6756 * gdb.base/del.exp
6757 * gdb.base/gcore-buffer-overflow.exp
6758 * gdb.base/testenv.exp
6759 * gdb.compile/compile.exp
6760 * gdb.python/py-framefilter-invalidarg.exp
6761 * gdb.python/py-framefilter.exp
6762
6763 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6764
6765 Fix test names starting with uppercase throughout the files.
6766
6767 * gdb.ada/array_return.exp
6768 * gdb.ada/expr_delims.exp
6769 * gdb.ada/mi_dyn_arr.exp
6770 * gdb.ada/mi_interface.exp
6771 * gdb.ada/mi_var_array.exp
6772 * gdb.ada/watch_arg.exp
6773 * gdb.arch/alpha-step.exp
6774 * gdb.arch/altivec-regs.exp
6775 * gdb.arch/e500-regs.exp
6776 * gdb.arch/powerpc-d128-regs.exp
6777 * gdb.base/arrayidx.exp
6778 * gdb.base/break.exp
6779 * gdb.base/checkpoint.exp
6780 * gdb.base/debug-expr.exp
6781 * gdb.base/dmsym.exp
6782 * gdb.base/radix.exp
6783 * gdb.base/sepdebug.exp
6784 * gdb.base/testenv.exp
6785 * gdb.base/watch_thread_num.exp
6786 * gdb.base/watchpoint-cond-gone.exp
6787 * gdb.cell/break.exp
6788 * gdb.cell/ea-cache.exp
6789 * gdb.compile/compile.exp
6790 * gdb.cp/gdb2495.exp
6791 * gdb.gdb/selftest.exp
6792 * gdb.gdb/xfullpath.exp
6793 * gdb.go/hello.exp
6794 * gdb.go/integers.exp
6795 * gdb.objc/basicclass.exp
6796 * gdb.pascal/hello.exp
6797 * gdb.pascal/integers.exp
6798 * gdb.python/py-breakpoint.exp
6799 * gdb.python/py-cmd.exp
6800 * gdb.python/py-linetable.exp
6801 * gdb.python/py-xmethods.exp
6802 * gdb.python/python.exp
6803 * gdb.reverse/consecutive-precsave.exp
6804 * gdb.reverse/finish-precsave.exp
6805 * gdb.reverse/i386-precsave.exp
6806 * gdb.reverse/machinestate-precsave.exp
6807 * gdb.reverse/sigall-precsave.exp
6808 * gdb.reverse/solib-precsave.exp
6809 * gdb.reverse/step-precsave.exp
6810 * gdb.reverse/until-precsave.exp
6811 * gdb.reverse/watch-precsave.exp
6812 * gdb.threads/leader-exit.exp
6813 * gdb.threads/pthreads.exp
6814 * gdb.threads/wp-replication.exp
6815 * gdb.trace/actions.exp
6816 * gdb.trace/mi-tsv-changed.exp
6817 * gdb.trace/tsv.exp
6818
6819 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6820
6821 Fix test names starting with uppercase throughout the files.
6822
6823 * gdb.arch/i386-bp_permanent.exp
6824 * gdb.arch/i386-gnu-cfi.exp
6825 * gdb.base/disasm-end-cu.exp
6826 * gdb.base/macscp.exp
6827 * gdb.base/pending.exp
6828 * gdb.base/watch_thread_num.exp
6829 * gdb.cp/exception.exp
6830 * gdb.cp/gdb2495.exp
6831 * gdb.cp/local.exp
6832 * gdb.python/py-evsignal.exp
6833 * gdb.python/python.exp
6834 * gdb.trace/tracecmd.exp
6835
6836 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6837
6838 Fix test names starting with uppercase throughout the files.
6839
6840 * gdb.base/charset.exp
6841 * gdb.base/eval.exp
6842 * gdb.base/multi-forks.exp
6843 * gdb.guile/scm-progspace.exp
6844 * gdb.opencl/datatypes.exp
6845 * gdb.python/py-block.exp
6846 * gdb.python/py-function.exp
6847 * gdb.python/py-symbol.exp
6848 * gdb.python/py-symtab.exp
6849 * gdb.python/py-xmethods.exp
6850 * gdb.reverse/break-precsave.exp
6851 * gdb.reverse/break-reverse.exp
6852 * gdb.reverse/consecutive-precsave.exp
6853 * gdb.reverse/consecutive-reverse.exp
6854 * gdb.reverse/finish-precsave.exp
6855 * gdb.reverse/finish-reverse-bkpt.exp
6856 * gdb.reverse/finish-reverse.exp
6857 * gdb.reverse/fstatat-reverse.exp
6858 * gdb.reverse/getresuid-reverse.exp
6859 * gdb.reverse/i386-precsave.exp
6860 * gdb.reverse/i386-reverse.exp
6861 * gdb.reverse/i386-sse-reverse.exp
6862 * gdb.reverse/i387-stack-reverse.exp
6863 * gdb.reverse/insn-reverse.exp
6864 * gdb.reverse/machinestate-precsave.exp
6865 * gdb.reverse/machinestate.exp
6866 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6867 * gdb.reverse/pipe-reverse.exp
6868 * gdb.reverse/readv-reverse.exp
6869 * gdb.reverse/recvmsg-reverse.exp
6870 * gdb.reverse/rerun-prec.exp
6871 * gdb.reverse/s390-mvcle.exp
6872 * gdb.reverse/sigall-precsave.exp
6873 * gdb.reverse/sigall-reverse.exp
6874 * gdb.reverse/solib-precsave.exp
6875 * gdb.reverse/solib-reverse.exp
6876 * gdb.reverse/step-precsave.exp
6877 * gdb.reverse/step-reverse.exp
6878 * gdb.reverse/time-reverse.exp
6879 * gdb.reverse/until-precsave.exp
6880 * gdb.reverse/until-reverse.exp
6881 * gdb.reverse/waitpid-reverse.exp
6882 * gdb.reverse/watch-precsave.exp
6883 * gdb.reverse/watch-reverse.exp
6884
6885 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6886
6887 Fix test names starting with uppercase throughout the files.
6888
6889 * gdb.arch/i386-mpx-simple_segv.exp
6890 * gdb.arch/i386-mpx.exp
6891 * gdb.arch/i386-permbkpt.exp
6892 * gdb.arch/pa-nullify.exp
6893 * gdb.arch/powerpc-d128-regs.exp
6894 * gdb.arch/vsx-regs.exp
6895 * gdb.base/bfp-test.exp
6896 * gdb.base/break.exp
6897 * gdb.base/breakpoint-shadow.exp
6898 * gdb.base/callfuncs.exp
6899 * gdb.base/charset.exp
6900 * gdb.base/commands.exp
6901 * gdb.base/completion.exp
6902 * gdb.base/dfp-test.exp
6903 * gdb.base/echo.exp
6904 * gdb.base/ending-run.exp
6905 * gdb.base/eval.exp
6906 * gdb.base/expand-psymtabs.exp
6907 * gdb.base/float128.exp
6908 * gdb.base/floatn.exp
6909 * gdb.base/foll-exec-mode.exp
6910 * gdb.base/gdb1056.exp
6911 * gdb.base/gdb11531.exp
6912 * gdb.base/kill-after-signal.exp
6913 * gdb.base/multi-forks.exp
6914 * gdb.base/overlays.exp
6915 * gdb.base/pending.exp
6916 * gdb.base/sepdebug.exp
6917 * gdb.base/testenv.exp
6918 * gdb.base/valgrind-db-attach.exp
6919 * gdb.base/watch_thread_num.exp
6920 * gdb.base/watchpoint-cond-gone.exp
6921 * gdb.base/watchpoint.exp
6922 * gdb.base/watchpoints.exp
6923 * gdb.cp/arg-reference.exp
6924 * gdb.cp/baseenum.exp
6925 * gdb.cp/operator.exp
6926 * gdb.cp/shadow.exp
6927 * gdb.dwarf2/dw2-op-out-param.exp
6928 * gdb.dwarf2/dw2-reg-undefined.exp
6929 * gdb.go/chan.exp
6930 * gdb.go/hello.exp
6931 * gdb.go/integers.exp
6932 * gdb.go/methods.exp
6933 * gdb.go/package.exp
6934 * gdb.guile/scm-parameter.exp
6935 * gdb.guile/scm-progspace.exp
6936 * gdb.guile/scm-value.exp
6937 * gdb.mi/mi-pending.exp
6938 * gdb.mi/user-selected-context-sync.exp
6939 * gdb.multi/multi-attach.exp
6940 * gdb.multi/tids.exp
6941 * gdb.opt/clobbered-registers-O2.exp
6942 * gdb.pascal/floats.exp
6943 * gdb.pascal/integers.exp
6944 * gdb.python/py-block.exp
6945 * gdb.python/py-events.exp
6946 * gdb.python/py-parameter.exp
6947 * gdb.python/py-symbol.exp
6948 * gdb.python/py-symtab.exp
6949 * gdb.python/py-type.exp
6950 * gdb.python/py-value.exp
6951 * gdb.python/py-xmethods.exp
6952 * gdb.python/python.exp
6953 * gdb.reverse/break-precsave.exp
6954 * gdb.reverse/consecutive-precsave.exp
6955 * gdb.reverse/finish-precsave.exp
6956 * gdb.reverse/i386-precsave.exp
6957 * gdb.reverse/machinestate-precsave.exp
6958 * gdb.reverse/sigall-precsave.exp
6959 * gdb.reverse/solib-precsave.exp
6960 * gdb.reverse/step-precsave.exp
6961 * gdb.reverse/until-precsave.exp
6962 * gdb.reverse/watch-precsave.exp
6963 * gdb.server/ext-attach.exp
6964 * gdb.server/ext-restart.exp
6965 * gdb.server/ext-run.exp
6966 * gdb.server/ext-wrapper.exp
6967 * gdb.stabs/gdb11479.exp
6968 * gdb.stabs/weird.exp
6969 * gdb.threads/attach-many-short-lived-threads.exp
6970 * gdb.threads/kill.exp
6971 * gdb.threads/watchpoint-fork.exp
6972
6973 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6974
6975 Fix test names starting with uppercase throughout all the files below.
6976
6977 * gdb.ada/array_return.exp
6978 * gdb.ada/catch_ex.exp
6979 * gdb.ada/info_exc.exp
6980 * gdb.ada/mi_catch_ex.exp
6981 * gdb.ada/mi_dyn_arr.exp
6982 * gdb.ada/mi_ex_cond.exp
6983 * gdb.ada/mi_exc_info.exp
6984 * gdb.ada/mi_interface.exp
6985 * gdb.ada/mi_task_arg.exp
6986 * gdb.ada/mi_task_info.exp
6987 * gdb.ada/mi_var_array.exp
6988 * gdb.arch/alpha-step.exp
6989 * gdb.arch/amd64-disp-step.exp
6990 * gdb.arch/arm-disp-step.exp
6991 * gdb.arch/disp-step-insn-reloc.exp
6992 * gdb.arch/e500-prologue.exp
6993 * gdb.arch/ftrace-insn-reloc.exp
6994 * gdb.arch/gdb1558.exp
6995 * gdb.arch/i386-bp_permanent.exp
6996 * gdb.arch/i386-disp-step.exp
6997 * gdb.arch/i386-float.exp
6998 * gdb.arch/i386-gnu-cfi.exp
6999 * gdb.arch/ia64-breakpoint-shadow.exp
7000 * gdb.arch/mips16-thunks.exp
7001 * gdb.arch/pa-nullify.exp
7002 * gdb.arch/powerpc-aix-prologue.exp
7003 * gdb.arch/powerpc-power.exp
7004 * gdb.arch/ppc-dfp.exp
7005 * gdb.arch/s390-tdbregs.exp
7006 * gdb.arch/spu-info.exp
7007 * gdb.arch/spu-ls.exp
7008 * gdb.arch/thumb-bx-pc.exp
7009 * gdb.base/advance.exp
7010 * gdb.base/annota-input-while-running.exp
7011 * gdb.base/arrayidx.exp
7012 * gdb.base/asmlabel.exp
7013 * gdb.base/async.exp
7014 * gdb.base/attach-wait-input.exp
7015 * gdb.base/auto-connect-native-target.exp
7016 * gdb.base/batch-preserve-term-settings.exp
7017 * gdb.base/bfp-test.exp
7018 * gdb.base/bigcore.exp
7019 * gdb.base/bp-permanent.exp
7020 * gdb.base/break-always.exp
7021 * gdb.base/break-fun-addr.exp
7022 * gdb.base/break-idempotent.exp
7023 * gdb.base/break-main-file-remove-fail.exp
7024 * gdb.base/break-probes.exp
7025 * gdb.base/break-unload-file.exp
7026 * gdb.base/break.exp
7027 * gdb.base/call-ar-st.exp
7028 * gdb.base/call-rt-st.exp
7029 * gdb.base/call-sc.exp
7030 * gdb.base/call-signal-resume.exp
7031 * gdb.base/call-strs.exp
7032 * gdb.base/callexit.exp
7033 * gdb.base/callfuncs.exp
7034 * gdb.base/catch-gdb-caused-signals.exp
7035 * gdb.base/catch-signal-siginfo-cond.exp
7036 * gdb.base/catch-syscall.exp
7037 * gdb.base/compare-sections.exp
7038 * gdb.base/cond-eval-mode.exp
7039 * gdb.base/condbreak-call-false.exp
7040 * gdb.base/consecutive-step-over.exp
7041 * gdb.base/cursal.exp
7042 * gdb.base/disabled-location.exp
7043 * gdb.base/disasm-end-cu.exp
7044 * gdb.base/display.exp
7045 * gdb.base/double-prompt-target-event-error.exp
7046 * gdb.base/dprintf-bp-same-addr.exp
7047 * gdb.base/dprintf-detach.exp
7048 * gdb.base/dprintf-next.exp
7049 * gdb.base/dprintf-non-stop.exp
7050 * gdb.base/dprintf-pending.exp
7051 * gdb.base/dso2dso.exp
7052 * gdb.base/ending-run.exp
7053 * gdb.base/enum_cond.exp
7054 * gdb.base/examine-backward.exp
7055 * gdb.base/exe-lock.exp
7056 * gdb.base/exec-invalid-sysroot.exp
7057 * gdb.base/execl-update-breakpoints.exp
7058 * gdb.base/execution-termios.exp
7059 * gdb.base/fileio.exp
7060 * gdb.base/fixsection.exp
7061 * gdb.base/foll-exec-mode.exp
7062 * gdb.base/foll-exec.exp
7063 * gdb.base/fork-running-state.exp
7064 * gdb.base/frame-args.exp
7065 * gdb.base/fullpath-expand.exp
7066 * gdb.base/func-ptr.exp
7067 * gdb.base/gcore-relro-pie.exp
7068 * gdb.base/gdb1090.exp
7069 * gdb.base/gdb1555.exp
7070 * gdb.base/global-var-nested-by-dso.exp
7071 * gdb.base/gnu-ifunc.exp
7072 * gdb.base/hbreak-in-shr-unsupported.exp
7073 * gdb.base/hbreak-unmapped.exp
7074 * gdb.base/hook-stop.exp
7075 * gdb.base/infcall-input.exp
7076 * gdb.base/info-fun.exp
7077 * gdb.base/info-shared.exp
7078 * gdb.base/interrupt-noterm.exp
7079 * gdb.base/jit-so.exp
7080 * gdb.base/jit.exp
7081 * gdb.base/line-symtabs.exp
7082 * gdb.base/list.exp
7083 * gdb.base/longjmp.exp
7084 * gdb.base/macscp.exp
7085 * gdb.base/max-value-size.exp
7086 * gdb.base/nodebug.exp
7087 * gdb.base/nofield.exp
7088 * gdb.base/overlays.exp
7089 * gdb.base/paginate-after-ctrl-c-running.exp
7090 * gdb.base/paginate-bg-execution.exp
7091 * gdb.base/paginate-inferior-exit.exp
7092 * gdb.base/pending.exp
7093 * gdb.base/pr11022.exp
7094 * gdb.base/printcmds.exp
7095 * gdb.base/ptr-typedef.exp
7096 * gdb.base/ptype.exp
7097 * gdb.base/randomize.exp
7098 * gdb.base/range-stepping.exp
7099 * gdb.base/realname-expand.exp
7100 * gdb.base/relativedebug.exp
7101 * gdb.base/remote.exp
7102 * gdb.base/savedregs.exp
7103 * gdb.base/sepdebug.exp
7104 * gdb.base/set-noassign.exp
7105 * gdb.base/shlib-call.exp
7106 * gdb.base/shreloc.exp
7107 * gdb.base/sigaltstack.exp
7108 * gdb.base/sigbpt.exp
7109 * gdb.base/siginfo-addr.exp
7110 * gdb.base/siginfo-obj.exp
7111 * gdb.base/siginfo-thread.exp
7112 * gdb.base/signest.exp
7113 * gdb.base/signull.exp
7114 * gdb.base/sigrepeat.exp
7115 * gdb.base/skip.exp
7116 * gdb.base/so-impl-ld.exp
7117 * gdb.base/solib-corrupted.exp
7118 * gdb.base/solib-disc.exp
7119 * gdb.base/solib-display.exp
7120 * gdb.base/solib-overlap.exp
7121 * gdb.base/solib-search.exp
7122 * gdb.base/solib-symbol.exp
7123 * gdb.base/source-execution.exp
7124 * gdb.base/sss-bp-on-user-bp-2.exp
7125 * gdb.base/sss-bp-on-user-bp.exp
7126 * gdb.base/stack-checking.exp
7127 * gdb.base/stale-infcall.exp
7128 * gdb.base/step-break.exp
7129 * gdb.base/step-line.exp
7130 * gdb.base/step-over-exit.exp
7131 * gdb.base/step-test.exp
7132 * gdb.base/structs.exp
7133 * gdb.base/sym-file.exp
7134 * gdb.base/symtab-search-order.exp
7135 * gdb.base/term.exp
7136 * gdb.base/type-opaque.exp
7137 * gdb.base/unload.exp
7138 * gdb.base/until-nodebug.exp
7139 * gdb.base/until.exp
7140 * gdb.base/unwindonsignal.exp
7141 * gdb.base/watch-cond.exp
7142 * gdb.base/watch-non-mem.exp
7143 * gdb.base/watch_thread_num.exp
7144 * gdb.base/watchpoint-reuse-slot.exp
7145 * gdb.base/watchpoint-solib.exp
7146 * gdb.base/watchpoint.exp
7147 * gdb.btrace/dlopen.exp
7148 * gdb.cell/arch.exp
7149 * gdb.cell/break.exp
7150 * gdb.cell/bt.exp
7151 * gdb.cell/core.exp
7152 * gdb.cell/data.exp
7153 * gdb.cell/dwarfaddr.exp
7154 * gdb.cell/ea-cache.exp
7155 * gdb.cell/ea-standalone.exp
7156 * gdb.cell/ea-test.exp
7157 * gdb.cell/f-regs.exp
7158 * gdb.cell/fork.exp
7159 * gdb.cell/gcore.exp
7160 * gdb.cell/mem-access.exp
7161 * gdb.cell/ptype.exp
7162 * gdb.cell/registers.exp
7163 * gdb.cell/sizeof.exp
7164 * gdb.cell/solib-symbol.exp
7165 * gdb.cell/solib.exp
7166 * gdb.compile/compile-tls.exp
7167 * gdb.cp/exception.exp
7168 * gdb.cp/gdb2495.exp
7169 * gdb.cp/local.exp
7170 * gdb.cp/mb-inline.exp
7171 * gdb.cp/mb-templates.exp
7172 * gdb.cp/pr10687.exp
7173 * gdb.cp/pr9167.exp
7174 * gdb.cp/scope-err.exp
7175 * gdb.cp/templates.exp
7176 * gdb.cp/virtfunc.exp
7177 * gdb.dwarf2/dw2-dir-file-name.exp
7178 * gdb.dwarf2/dw2-single-line-discriminators.exp
7179 * gdb.fortran/complex.exp
7180 * gdb.fortran/library-module.exp
7181 * gdb.guile/guile.exp
7182 * gdb.guile/scm-cmd.exp
7183 * gdb.guile/scm-frame-inline.exp
7184 * gdb.guile/scm-objfile.exp
7185 * gdb.guile/scm-pretty-print.exp
7186 * gdb.guile/scm-symbol.exp
7187 * gdb.guile/scm-type.exp
7188 * gdb.guile/scm-value.exp
7189 * gdb.linespec/keywords.exp
7190 * gdb.linespec/ls-errs.exp
7191 * gdb.linespec/macro-relative.exp
7192 * gdb.linespec/thread.exp
7193 * gdb.mi/mi-breakpoint-changed.exp
7194 * gdb.mi/mi-dprintf-pending.exp
7195 * gdb.mi/mi-fullname-deleted.exp
7196 * gdb.mi/mi-logging.exp
7197 * gdb.mi/mi-pending.exp
7198 * gdb.mi/mi-solib.exp
7199 * gdb.mi/new-ui-mi-sync.exp
7200 * gdb.mi/user-selected-context-sync.exp
7201 * gdb.multi/dummy-frame-restore.exp
7202 * gdb.multi/multi-arch-exec.exp
7203 * gdb.multi/remove-inferiors.exp
7204 * gdb.multi/watchpoint-multi-exit.exp
7205 * gdb.opt/solib-intra-step.exp
7206 * gdb.perf/backtrace.exp
7207 * gdb.perf/single-step.exp
7208 * gdb.perf/skip-command.exp
7209 * gdb.perf/skip-prologue.exp
7210 * gdb.perf/solib.exp
7211 * gdb.python/lib-types.exp
7212 * gdb.python/py-as-string.exp
7213 * gdb.python/py-bad-printers.exp
7214 * gdb.python/py-block.exp
7215 * gdb.python/py-breakpoint.exp
7216 * gdb.python/py-cmd.exp
7217 * gdb.python/py-events.exp
7218 * gdb.python/py-evthreads.exp
7219 * gdb.python/py-finish-breakpoint.exp
7220 * gdb.python/py-finish-breakpoint2.exp
7221 * gdb.python/py-frame-inline.exp
7222 * gdb.python/py-frame.exp
7223 * gdb.python/py-inferior.exp
7224 * gdb.python/py-infthread.exp
7225 * gdb.python/py-mi.exp
7226 * gdb.python/py-objfile.exp
7227 * gdb.python/py-pp-maint.exp
7228 * gdb.python/py-pp-registration.exp
7229 * gdb.python/py-prettyprint.exp
7230 * gdb.python/py-recurse-unwind.exp
7231 * gdb.python/py-shared.exp
7232 * gdb.python/py-symbol.exp
7233 * gdb.python/py-symtab.exp
7234 * gdb.python/py-template.exp
7235 * gdb.python/py-type.exp
7236 * gdb.python/py-unwind-maint.exp
7237 * gdb.python/py-unwind.exp
7238 * gdb.python/py-value.exp
7239 * gdb.python/python.exp
7240 * gdb.reverse/finish-reverse-bkpt.exp
7241 * gdb.reverse/insn-reverse.exp
7242 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7243 * gdb.reverse/solib-precsave.exp
7244 * gdb.reverse/solib-reverse.exp
7245 * gdb.stabs/gdb11479.exp
7246 * gdb.stabs/weird.exp
7247 * gdb.threads/fork-child-threads.exp
7248 * gdb.threads/fork-plus-threads.exp
7249 * gdb.threads/fork-thread-pending.exp
7250 * gdb.threads/forking-threads-plus-breakpoint.exp
7251 * gdb.threads/hand-call-in-threads.exp
7252 * gdb.threads/interrupted-hand-call.exp
7253 * gdb.threads/linux-dp.exp
7254 * gdb.threads/local-watch-wrong-thread.exp
7255 * gdb.threads/next-while-other-thread-longjmps.exp
7256 * gdb.threads/non-ldr-exit.exp
7257 * gdb.threads/pending-step.exp
7258 * gdb.threads/print-threads.exp
7259 * gdb.threads/process-dies-while-detaching.exp
7260 * gdb.threads/process-dies-while-handling-bp.exp
7261 * gdb.threads/pthreads.exp
7262 * gdb.threads/queue-signal.exp
7263 * gdb.threads/reconnect-signal.exp
7264 * gdb.threads/signal-command-handle-nopass.exp
7265 * gdb.threads/signal-command-multiple-signals-pending.exp
7266 * gdb.threads/signal-delivered-right-thread.exp
7267 * gdb.threads/signal-sigtrap.exp
7268 * gdb.threads/sigthread.exp
7269 * gdb.threads/staticthreads.exp
7270 * gdb.threads/stepi-random-signal.exp
7271 * gdb.threads/thread-unwindonsignal.exp
7272 * gdb.threads/thread_check.exp
7273 * gdb.threads/thread_events.exp
7274 * gdb.threads/tid-reuse.exp
7275 * gdb.threads/tls-nodebug.exp
7276 * gdb.threads/tls-shared.exp
7277 * gdb.threads/tls-so_extern.exp
7278 * gdb.threads/tls.exp
7279 * gdb.threads/wp-replication.exp
7280 * gdb.trace/actions-changed.exp
7281 * gdb.trace/actions.exp
7282 * gdb.trace/backtrace.exp
7283 * gdb.trace/change-loc.exp
7284 * gdb.trace/collection.exp
7285 * gdb.trace/deltrace.exp
7286 * gdb.trace/disconnected-tracing.exp
7287 * gdb.trace/entry-values.exp
7288 * gdb.trace/ftrace-lock.exp
7289 * gdb.trace/ftrace.exp
7290 * gdb.trace/infotrace.exp
7291 * gdb.trace/mi-trace-frame-collected.exp
7292 * gdb.trace/mi-trace-unavailable.exp
7293 * gdb.trace/mi-traceframe-changed.exp
7294 * gdb.trace/mi-tracepoint-changed.exp
7295 * gdb.trace/mi-tsv-changed.exp
7296 * gdb.trace/no-attach-trace.exp
7297 * gdb.trace/packetlen.exp
7298 * gdb.trace/passc-dyn.exp
7299 * gdb.trace/passcount.exp
7300 * gdb.trace/pending.exp
7301 * gdb.trace/pr16508.exp
7302 * gdb.trace/qtro.exp
7303 * gdb.trace/range-stepping.exp
7304 * gdb.trace/read-memory.exp
7305 * gdb.trace/report.exp
7306 * gdb.trace/save-trace.exp
7307 * gdb.trace/signal.exp
7308 * gdb.trace/stap-trace.exp
7309 * gdb.trace/status-stop.exp
7310 * gdb.trace/strace.exp
7311 * gdb.trace/tfile.exp
7312 * gdb.trace/tfind.exp
7313 * gdb.trace/trace-break.exp
7314 * gdb.trace/trace-condition.exp
7315 * gdb.trace/trace-enable-disable.exp
7316 * gdb.trace/trace-mt.exp
7317 * gdb.trace/tracecmd.exp
7318 * gdb.trace/tracefile-pseudo-reg.exp
7319 * gdb.trace/tspeed.exp
7320 * gdb.trace/tstatus.exp
7321 * gdb.trace/tsv.exp
7322 * gdb.trace/unavailable.exp
7323 * gdb.trace/while-dyn.exp
7324 * gdb.trace/while-stepping.exp
7325 * lib/gdb-guile.exp
7326 * lib/gdb.exp
7327 * lib/mi-support.exp
7328 * lib/pascal.exp
7329 * lib/perftest.exp
7330 * lib/prelink-support.exp
7331 * lib/selftest-support.exp
7332
7333 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7334
7335 * Makefile.in: Include disable-implicit-rules.mk.
7336
7337 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7338
7339 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7340 non-byte-aligned bit fields.
7341
7342 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7343
7344 PR gdb/12616
7345 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7346 respects the DW_AT_data_bit_offset attribute.
7347
7348 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7349
7350 * gdb.base/default.exp: Fix output of "set language".
7351
7352 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7353
7354 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7355 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7356 make.
7357 * configure.ac: Remove checks for the make program.
7358 * configure: Re-generate.
7359
7360 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7361
7362 * gdb.python/py-recurse-unwind.c (main): Add loop.
7363 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7364 to read_register() and gdb.parse_and_eval(). Make each code
7365 call a separate case that can be individually tested.
7366 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7367 proc. Call cont_and_backtrace for each of the code paths that
7368 we want to test in the unwinder.
7369
7370 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7371
7372 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7373 the definition of struct S.
7374
7375 2016-11-11 Catherine Moore <clm@codesourcery.com>
7376
7377 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7378
7379 2016-11-09 Pedro Alves <palves@redhat.com>
7380
7381 * gdb.base/commands.exp (runto_or_return): New procedure.
7382 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7383 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7384 (progvar_simple_while_test, progvar_complex_if_while_test)
7385 (if_while_breakpoint_command_test)
7386 (infrun_breakpoint_command_test, breakpoint_command_test)
7387 (user_defined_command_test, watchpoint_command_test)
7388 (test_command_prompt_position, redefine_hook_test)
7389 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7390 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7391 multi_line_input and multi_line. Remove gdb_expect and
7392 gdb_stop_suppressing_tests uses.
7393 * lib/gdb.exp (valnum_re): New global.
7394 (multi_line_input): New procedure.
7395
7396 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7397
7398 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7399 Remove.
7400 (test_setup): Define with proc_with_prefix.
7401 (test_cli_inferior): Likewise.
7402 (test_cli_thread): Likewise.
7403 (test_cli_frame): Likewise.
7404 (test_cli_select_frame): Likewise.
7405 (test_cli_up_down): Likewise.
7406 (test_mi_thread_select): Likewise.
7407 (test_mi_stack_select_frame): Likewise.
7408 (test_cli_in_mi_inferior): Likewise.
7409 (test_cli_in_mi_thread): Likewise.
7410 (test_cli_in_mi_frame): Likewise.
7411 (top level): Do not use with_test_prefix_procname.
7412
7413 2016-11-09 Pedro Alves <palves@redhat.com>
7414
7415 * gdb.base/commands.exp (gdbvar_simple_if_test)
7416 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7417 (progvar_simple_if_test, progvar_simple_while_test)
7418 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7419 (infrun_breakpoint_command_test, breakpoint_command_test)
7420 (user_defined_command_test, watchpoint_command_test)
7421 (test_command_prompt_position, deprecated_command_test)
7422 (bp_deleted_in_command, temporary_breakpoint_commands)
7423 (stray_arg0_test, source_file_with_indented_comment)
7424 (recursive_source_test, if_commands_test)
7425 (error_clears_commands_left, redefine_hook_test)
7426 (redefine_backtrace_test): Use proc_with_prefix.
7427 * lib/gdb.exp (proc_with_prefix): New proc.
7428
7429 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7430
7431 * gdb.base/tui-layout.c: New file.
7432 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7433 disassembly window contains very long lines.
7434
7435 2016-11-08 Tom Tromey <tom@tromey.com>
7436
7437 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7438 depend on Python 2.
7439
7440 2016-11-08 Tom Tromey <tom@tromey.com>
7441
7442 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7443 New method.
7444
7445 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7446
7447 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7448
7449 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7450
7451 * gdb.rust/simple.rs: Add test for univariant enums without
7452 discriminants and for encoded struct-like enums.
7453
7454 2016-10-28 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7457 gdb_test_multiple, tighten regexps and match symtabs and line
7458 tables incrementally.
7459
7460 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7461
7462 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7463 general.
7464
7465 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7466
7467 * gdb.base/exec-invalid-sysroot.exp: New file.
7468
7469 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7470
7471 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7472
7473 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7476
7477 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7478
7479 * gdb.base/killed-outside.exp: Remove $options from a call to
7480 `prepare_for_testing'.
7481
7482 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7483
7484 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7485 Change test message.
7486
7487 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7488
7489 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7490 Update comment.
7491
7492 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7493
7494 * gdb.trace/mi-trace-save.exp: New file.
7495
7496 2016-10-13 Yao Qi <yao.qi@linaro.org>
7497
7498 * gdb.base/code_elim.exp (get_var_address): Remove.
7499 * gdb.base/relocate.exp: Likewise.
7500 * gdb.base/shreloc.exp: Likewise.
7501 * lib/gdb.exp (get_var_address): New.
7502
7503 2016-10-13 Yao Qi <yao.qi@linaro.org>
7504
7505 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7506 floating point tests if $skip_float_test is false.
7507
7508 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7509
7510 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7511 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7512 argc values.
7513 Add 1 to argc so we guarantee distinct initial/modified argc values.
7514
7515 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7516
7517 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7518
7519 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7520
7521 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7522 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7523 * gdb.arch/vsx-regs.exp: Likewise.
7524
7525 2016-10-07 Yao Qi <yao.qi@linaro.org>
7526
7527 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7528
7529 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7530
7531 * gdb.python/python.exp: Test decode_line("*0").
7532
7533 2016-10-06 Doug Evans <dje@google.com>
7534
7535 * gdb.python/py-value.exp (test_value_creation): Add test for large
7536 unsigned 64-bit value.
7537
7538 2016-10-06 Tom Tromey <tom@tromey.com>
7539
7540 * gdb.compile/compile.exp: Change java tests to rust.
7541 * gdb.base/setshow.exp: Change java tests to rust.
7542 * gdb.base/default.exp: Remove java from language list.
7543 * README (Examples): Update language example.
7544 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7545 test.
7546 * lib/gdb.exp (skip_java_tests): Remove.
7547 * lib/java.exp: Remove.
7548 * gdb.java: Remove.
7549
7550 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7551
7552 * gdb.arch/mips-fcr.exp: New test.
7553 * gdb.arch/mips-fcr.c: Source for the new test.
7554
7555 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7556
7557 * gdb.base/solib-disc.exp: Use `standard_output_file'
7558 throughout.
7559
7560 2016-10-06 Pedro Alves <palves@redhat.com>
7561
7562 * gdb.base/jit-simple-dl.c: New file.
7563 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7564 * gdb.base/jit-simple.c: ... this.
7565 * gdb.base/jit-simple.exp (jit_run): Delete.
7566 (build_jit): New proc.
7567 (jit_test_reread): Recompile either the main program or the shared
7568 library, depending on what is being tested. Skip changing address
7569 if caller wants to. Compare before/after addresses. If testing
7570 standalone, explicitly load the binary. Test "maint info
7571 breakpoints".
7572 (top level): Add "standalone vs shared lib" and "change address"
7573 vs "same address" axes.
7574
7575 2016-10-06 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7578 call.
7579 (jit_run): Delete.
7580 (jit_test_reread): Use with_test_prefix. Reload the main binary
7581 explicitly. Compare the before/after addresses of the JIT
7582 descriptor.
7583
7584 2016-08-15 Doug Evans <dje@google.com>
7585
7586 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7587 for single bitfields is bool.
7588 * gdb.xml/tdesc-regs.exp: Ditto.
7589
7590 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7591
7592 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7593
7594 2016-10-05 Yao Qi <yao.qi@linaro.org>
7595
7596 * lib/gdb.exp (support_complex_tests): Return zero if
7597 gdb_skip_float_test return true.
7598
7599 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7600 Simon Marchi <simon.marchi@ericsson.com>
7601
7602 PR gdb/20487
7603 * gdb.mi/user-selected-context-sync.exp: New file.
7604 * gdb.mi/user-selected-context-sync.c: New file.
7605
7606 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7607 Simon Marchi <simon.marchi@ericsson.com>
7608
7609 PR gdb/20487
7610 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7611 =thread-select-event check.
7612
7613 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7614
7615 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7616 the compulsory L operand changes.
7617 * gdb.arch/powerpc-power.s: Likewise.
7618
7619 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7620
7621 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7622 * gdb.base/jit-attach-pie.c: New file.
7623 * gdb.base/jit-attach-pie.exp: New file.
7624
7625 2016-09-28 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.base/infcall-input.c: New file.
7628 * gdb.base/infcall-input.exp: New file.
7629
7630 2016-09-22 Yao Qi <yao.qi@linaro.org>
7631
7632 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7633 (gdb_exit): Rename it to ...
7634 (gdbserver_gdb_exit): ... Close GDBserver.
7635 (gdb_exit): New proc, call gdbserver_gdb_exit.
7636 (mi_gdb_exit): Likewise.
7637
7638 2016-09-22 Yao Qi <yao.qi@linaro.org>
7639
7640 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7641 path.
7642 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7643 Remove duplication.
7644
7645 2016-09-22 Yao Qi <yao.qi@linaro.org>
7646
7647 * lib/gdbserver-support.exp: Check the existence of
7648 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7649
7650 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7651
7652 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7653
7654 2016-09-21 Tom Tromey <tom@tromey.com>
7655
7656 PR gdb/20604:
7657 * gdb.base/quit.exp: New file.
7658
7659 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7660
7661 * .gitignore: New file.
7662
7663 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7664
7665 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7666 throughout.
7667
7668 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7669
7670 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7671
7672 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 * gdb.cp/casts.cc (decltype): Move it ...
7675 (main): ... with its call to ...
7676 * gdb.cp/casts03.cc: ... a new file.
7677 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7678
7679 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7682
7683 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7684
7685 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7686 and sync up the test with tests in gas/testsuite/gas/ppc.
7687 * gdb.arch/powerpc-power.exp: Likewise.
7688
7689 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7690
7691 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7692
7693 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7694 Jan Kratochvil <jan.kratochvil@redhat.com>
7695
7696 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7697 make m1's definition to be different from m2's. Use 'dummy' as an
7698 argument for probe 'two'.
7699
7700 2016-09-10 Jon Beniston <jon@beniston.com>
7701
7702 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7703 for sim target.
7704
7705 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7706
7707 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7708 variable declaration.
7709 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7710 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7711 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7712 received HWCAP as its argument.
7713
7714 2016-09-06 Pedro Alves <palves@redhat.com>
7715
7716 * gdb.base/new-ui-pending-input.c: New file.
7717 * gdb.base/new-ui-pending-input.exp: New file.
7718 * gdb.exp (clear_gdb_spawn_id): New procedure.
7719 (with_spawn_id): Check whether gdb_spawn_id exists before
7720 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7721 on exit.
7722
7723 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7724
7725 * gdb.base/float128.c: New file.
7726 * gdb.base/float128.exp: Likewise.
7727 * gdb.base/floatn.c: Likewise.
7728 * gdb.base/floatn.exp: Likewise.
7729
7730 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7731
7732 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7733
7734 2016-09-05 Pedro Alves <palves@redhat.com>
7735
7736 PR backtrace/19927
7737 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7738 unwinders are immediately called as side effect of "source" or
7739 "disable unwinder" commands.
7740 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7741
7742 2016-09-02 Yao Qi <yao.qi@linaro.org>
7743
7744 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7745 is true and $type is "float" or "double".
7746
7747 2016-09-02 Yao Qi <yao.qi@linaro.org>
7748
7749 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7750 true.
7751 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7752 * gdb.base/call-rt-st.exp: Likewise.
7753 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7754 return value instead of gdb,skip_float_test.
7755 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7756 (do_function_calls): Use its return value instead of
7757 gdb,skip_float_test.
7758 * gdb.base/finish.exp: Likewise.
7759 * gdb.base/funcargs.exp: Likewise.
7760 * gdb.base/return.exp: Likewise.
7761 * gdb.base/return2.exp: Likewise.
7762 * gdb.base/varargs.exp: Likewise.
7763 * lib/gdb.exp (gdb_skip_float_test): Change it to
7764 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7765
7766 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7767
7768 * gdb.multi/tids.exp: Test "thread apply all".
7769
7770 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7771
7772 * gdb.base/default.exp (tty): Remove.
7773
7774 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7775
7776 * gdb.python/py-recurse-unwind.c: New file.
7777 * gdb.python/py-recurse-unwind.py: New file.
7778 * gdb.python/py-recurse-unwind.exp: New file.
7779
7780 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7781
7782 * gdb.base/set-inferior-tty.exp: New file.
7783 * gdb.base/set-inferior-tty.c: New file.
7784
7785 2016-08-23 Pedro Alves <palves@redhat.com>
7786
7787 PR gdb/20494
7788 * gdb.base/new-ui-echo.c: New file.
7789 * gdb.base/new-ui-echo.exp: New file.
7790
7791 2016-08-23 Yao Qi <yao.qi@linaro.org>
7792
7793 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7794 gdbserver_spawn.
7795 * gdb.server/connect-without-multi-process.exp (do_test):
7796 Likewise.
7797
7798 2016-08-23 Yao Qi <yao.qi@linaro.org>
7799
7800 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7801 standalone_txt. Delete gdb_txt and standalone_txt on host
7802 and target. Spawn the binary on target. Copy files from
7803 target to host.
7804
7805 2016-08-22 Pedro Alves <palves@redhat.com>
7806
7807 PR gdb/20505
7808 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7809 with_test_prefix. Factor out bits to ...
7810 (test_no_vdso): ... this new procedure.
7811
7812 2016-08-19 Carl Love <cel@us.ibm.com>
7813
7814 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7815 maintaining separate logic for constructing the output path.
7816 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7817 * gdb.arch/ppc-dfp.exp: Likewise.
7818 * gdb.arch/ppc-fp.exp: Likewise.
7819 * gdb.arch/vsx-regs.exp: Likewise.
7820 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7821 binprefix for generating the additional binary files.
7822
7823 2016-08-19 Pedro Alves <palves@redhat.com>
7824
7825 * gdb.trace/mi-trace-frame-collected.exp
7826 (test_trace_frame_collected): On x32, expect two registers.
7827
7828 2016-08-18 Carl Love <cel@us.ibm.com>
7829
7830 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7831 and sync up the test with tests in gas/testsuite/gas/ppc.
7832 * gdb.arch/powerpc-power.exp: Likewise.
7833
7834 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7835
7836 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7837 expected error message.
7838
7839 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7840
7841 * gdb.multi/remove-inferiors.exp: New file.
7842 * gdb.multi/remove-inferiors.c: New file.
7843
7844 2016-08-12 Yao Qi <yao.qi@linaro.org>
7845
7846 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7847 argument list.
7848
7849 2016-08-10 Pedro Alves <palves@redhat.com>
7850
7851 PR gdb/19187
7852 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7853 setup_kfails.
7854
7855 2016-08-09 Pedro Alves <palves@redhat.com>
7856 Simon Marchi <simon.marchi@ericsson.com>
7857
7858 PR gdb/20418
7859 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7860 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7861
7862 2016-08-09 Pedro Alves <palves@redhat.com>
7863
7864 PR mi/20431
7865 * gdb.mi/mi-cmd-error.exp: New file.
7866
7867 2016-08-09 Pedro Alves <palves@redhat.com>
7868
7869 PR gdb/18653
7870 * gdb.base/signals-state-child.c: New file.
7871 * gdb.base/signals-state-child.exp: New file.
7872 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7873
7874 2016-08-09 Pedro Alves <palves@redhat.com>
7875
7876 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7877
7878 2016-08-03 Tom Tromey <tom@tromey.com>
7879
7880 PR python/18565:
7881 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7882
7883 2016-08-01 Yao Qi <yao.qi@linaro.org>
7884
7885 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7886 variable mode to "multi-process" if $multi_process is 1, otherwise
7887 set it to "single-process".
7888
7889 2016-08-01 Yao Qi <yao.qi@linaro.org>
7890
7891 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7892 * gdb.cp/cpexprs.exp: Likewise.
7893 * gdb.cp/m-static.exp: Likewise.
7894
7895 2016-07-26 Tom Tromey <tom@tromey.com>
7896
7897 PR python/20190:
7898 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7899 test.
7900
7901 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7902
7903 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7904 selecting assembly source files.
7905 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7906 assembly source files.
7907 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7908 assembly source files.
7909 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7910 selecting assembly source files.
7911
7912 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7913
7914 * gdb.base/new-ui.exp (do_test_invalid_args): New
7915 procedure.
7916
7917 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7918
7919 * gdb.btrace/reconnect.c: New file.
7920 * gdb.btrace/reconnect.exp: New file.
7921
7922 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7923
7924 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7925 to test_catch_syscall_group.
7926 (test_catch_syscall_group): New.
7927
7928 2016-07-21 Tom Tromey <tom@tromey.com>
7929
7930 * gdb.rust/simple.rs (main): Use empty struct expression.
7931 * gdb.rust/simple.exp: Add tests for empty struct expression.
7932
7933 2016-07-21 Yao Qi <yao.qi@linaro.org>
7934
7935 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7936 if gdb_skip_xml_test is true on some targets.
7937
7938 2016-07-21 Yao Qi <yao.qi@linaro.org>
7939
7940 * gdb.server/solib-list.exp: Unset last_loaded_file.
7941
7942 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7943
7944 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7945 "step into captured_main (args)".
7946
7947 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7948
7949 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7950
7951 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7952
7953 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7954
7955 2016-07-19 Pedro Alves <palves@redhat.com>
7956
7957 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7958 * gdb.opt/inline-bt.exp: Likewise.
7959 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7960 additional_flags=-Winline.
7961 * gdb.opt/inline-locals.exp: Likewise.
7962 * gdb.opt/inline-markers.c (ATTR): Define.
7963 (inlined_fn): Use it.
7964
7965 2016-07-19 Yao Qi <yao.qi@linaro.org>
7966
7967 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7968 (test_with_self): Remove some code. Remove argument executable.
7969 (top-level): Use do_self_tests.
7970
7971 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7972 Don Breazeal <donb@codesourcery.com>
7973
7974 * gdb.base/maint.exp: Escape paths used in regular expressions.
7975 * gdb.stabs/weird.exp: Likewise.
7976
7977 2016-07-13 Tom Tromey <tom@tromey.com>
7978
7979 PR python/15620, PR python/18620:
7980 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7981 (test_bkpt_events): New procs.
7982
7983 2016-07-13 Tom Tromey <tom@tromey.com>
7984
7985 PR python/17698:
7986 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7987 test.
7988 (test_watchpoints): Likewise.
7989 (test_bkpt_pending): New proc.
7990
7991 2016-07-13 Tom Tromey <tom@tromey.com>
7992
7993 PR cli/18053:
7994 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7995 completion test.
7996
7997 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7998
7999 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8000 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8001 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8002 f_label.
8003 (g): Rename g_end_lbl to g_label.
8004 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8005 low_pc and high_pc.
8006 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8007
8008 2016-07-12 Tom Tromey <tom@tromey.com>
8009
8010 PR python/19293:
8011 * gdb.python/py-unwind-maint.exp: Update tests.
8012
8013 2016-07-12 Yao Qi <yao.qi@linaro.org>
8014
8015 * lib/selftest-support.exp (selftest_setup): Match the output
8016 when captured_main is inlined.
8017
8018 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8019
8020 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8021 New variables.
8022 (print this%a, print this%b, print this): New tests.
8023 * gdb.fortran/derived-types.f90 (this): New object and
8024 initialization.
8025
8026 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8027
8028 * gdb.ada/arraydim.exp: Remove extra directory level in build
8029 directory.
8030
8031 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8032
8033 * lib/ada.exp: Remove extra directory level in build directory.
8034 * gdb.ada/cond_lang.exp: Likewise.
8035 * gdb.ada/exec_changed.exp: Likewise.
8036 * gdb.ada/lang_switch.exp: Likewise.
8037
8038 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8039
8040 * simple.rs: Add test for raw pointer subscripting.
8041 * simple.exp: Add test expectations.
8042
8043 2016-07-05 Yao Qi <yao.qi@linaro.org>
8044
8045 * gdb.mi/mi-reverse.exp: Match =record-started output.
8046
8047 2016-07-01 Pedro Alves <palves@redhat.com>
8048
8049 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8050 procedure.
8051 (jit_reader_test): Test the jit reader's unwinder.
8052 * gdb.base/jithost.c (jit_function_00_code): New global.
8053 (main): Use memcpy to fill in the mmapped code, instead of poking
8054 bytes manually here.
8055 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8056 value.
8057 (read_debug_info): Save the function's range.
8058 (read_sp): New function.
8059 (unwind_frame): Use it. Also unwind RBP.
8060 (get_frame_id): Use read_sp.
8061 (gdb_init_reader): Use calloc instead of malloc.
8062 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8063 parameter. Use gdb_test_multiple.
8064
8065 2016-07-01 Pedro Alves <palves@redhat.com>
8066 Antoine Tremblay <antoine.tremblay@ericsson.com>
8067
8068 * gdb.threads/process-dies-while-detaching.c: New file.
8069 * gdb.threads/process-dies-while-detaching.exp: New file.
8070
8071 2016-07-01 Pedro Alves <palves@redhat.com>
8072
8073 * gdb.multi/watchpoint-multi-exit.c: New file.
8074 * gdb.multi/watchpoint-multi-exit.exp: New file.
8075
8076 2016-06-30 Pedro Alves <palves@redhat.com>
8077
8078 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8079 unset inferior_spawn_id.
8080
8081 2016-06-30 Pedro Alves <palves@redhat.com>
8082
8083 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8084 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8085
8086 2016-06-29 Yao Qi <yao.qi@linaro.org>
8087
8088 * gdb.base/return.c: Add copyright header.
8089
8090 2016-06-29 Tom Tromey <tom@tromey.com>
8091
8092 PR python/20129:
8093 * gdb.python/py-framefilter.exp: Add tests for setting priority
8094 and disabling of non-existent frame filter.
8095
8096 2016-06-29 Yao Qi <yao.qi@linaro.org>
8097
8098 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8099 0x0f07ff.
8100
8101 2016-06-28 Yao Qi <yao.qi@linaro.org>
8102
8103 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8104 triplets. Start gdb, execute catch syscall, and continue. Check
8105 gdb's output to determine catch syscall is supported.
8106
8107 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8108
8109 * gdb.rust/simple.rs: Add test for returning unit in a function.
8110 * gdb.rust/simple.exp: Add expectation for functions returning
8111 unit.
8112
8113 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8114
8115 * gdb.python/py-breakpoint-create-fail.c,
8116 gdb.python/py-breakpoint-create-fail.exp,
8117 gdb.python/py-breakpoint-create-fail.py: New testcase.
8118
8119 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8120
8121 PR gdb/20239
8122 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8123 * gdb.rust/simple.exp: Add test expectations for new NonZero
8124 tests.
8125
8126 2016-06-24 David Taylor <dtaylor@emc.com>
8127
8128 * gdb.base/offsets.exp: New file.
8129 * gdb.base/offsets.c: New file.
8130
8131 2016-06-23 Tom Tromey <tom@tromey.com>
8132
8133 PR gdb/16483:
8134 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8135 before any filters are loaded.
8136
8137 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8138
8139 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8140 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8141 structs.
8142 * gdb.fortran/derived-type-function.exp: New file.
8143 * gdb.fortran/derived-type-function.f90: New file.
8144
8145
8146 2016-06-21 Pedro Alves <palves@redhat.com>
8147
8148 * gdb.base/new-ui.exp: New file.
8149 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8150 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8151 (with_spawn_id): New procedure.
8152
8153 2016-06-21 Pedro Alves <palves@redhat.com>
8154
8155 * gdb.mi/mi-exec-run.exp: New file.
8156
8157 2016-06-21 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8160 breakpoint command's output on the main UI.
8161 (test_break): New procedure, factored out from calls in the top
8162 level.
8163 (top level): Use foreach_with_prefix to test MI as main UI and as
8164 separate UI.
8165
8166 2016-06-21 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8169 (test_awatch_creation_and_listing)
8170 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8171 Remove 'type' parameter.
8172 (test_watchpoint_all): New parameter mi_mode. Remove
8173 with_test_prefix.
8174 (top level): Use foreach_with_prefix, and add main/separate UI MI
8175 testing axis.
8176
8177 2016-06-21 Pedro Alves <palves@redhat.com>
8178
8179 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8180 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8181 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8182 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8183 (gdb_main_spawn_id, mi_spawn_id): Declare and
8184 comment.
8185 (mi_create_inferior_pty): New procedure,
8186 factored out from default_mi_gdb_start.
8187 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8188 procedures.
8189 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8190 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8191 Use mi_create_inferior_pty.
8192 (mi_gdb_start): Use eval to pass down args list.
8193
8194 2016-06-21 Pedro Alves <palves@redhat.com>
8195
8196 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8197 * gdb.opt/inline-cmds.exp: Add MI tests.
8198
8199 2016-06-21 Pedro Alves <palves@redhat.com>
8200
8201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8202
8203 2016-06-21 Pedro Alves <palves@redhat.com>
8204
8205 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8206 (top level): Use it instead of mi_execute_to.
8207
8208 2016-06-21 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8211 (cont_handler_str): New.
8212 (signal_stop_handler): Set stop_handler_str instead of printing to
8213 stdout.
8214 (continue_handler): Set cont_handler_str instead of printing to
8215 stdout.
8216 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8217 mi_send_resuming_command. Print stop_handler_str and
8218 cont_handler_str instead of expecting the python events print
8219 directly.
8220
8221 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8222
8223 * gdb.base/jit-reader.exp: New file.
8224 * gdb.base/jithost.c: New file.
8225 * gdb.base/jithost.h: New file.
8226 * gdb.base/jitreader.c : New file.
8227 * gdb.base/jit-protocol.h: New file.
8228
8229 2016-06-17 Yao Qi <yao.qi@linaro.org>
8230
8231 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8232 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8233 and detach-on-fork. Adjust tests.
8234 (top level): Invoke break_cond_on_syscall with combinations of
8235 syscall, follow-fork-mode and detach-on-fork.
8236
8237 2016-06-17 Yao Qi <yao.qi@linaro.org>
8238
8239 * gdb.base/step-over-exit.c: New.
8240 * gdb.base/step-over-exit.exp: New.
8241
8242 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8243
8244 * gdb.base/float.exp: Add target check for nds32*-*-*.
8245 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8246
8247 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8248
8249 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8250 for unsupported target features.
8251 * gdb.base/call-rt-st.exp: Likewise.
8252 * gdb.base/call-sc.exp: Likewise.
8253 * gdb.base/call-signal-resume.exp: Likewise.
8254 * gdb.base/call-strs.exp: Likewise.
8255 * gdb.base/callexit.exp: Likewise.
8256 * gdb.base/callfuncs.exp: Likewise.
8257 * gdb.base/nodebug.exp: Likewise.
8258 * gdb.base/printcmds.exp: Likewise.
8259 * gdb.base/ptype.exp: Likewise.
8260 * gdb.base/structs.exp: Likewise.
8261 * gdb.base/unwindonsignal.exp: Likewise.
8262 * gdb.cp/gdb2495.exp: Likewise.
8263 * gdb.cp/templates.exp: Likewise.
8264 * gdb.cp/virtfunc.exp: Likewise.
8265 * gdb.threads/hand-call-in-threads.exp: Likewise.
8266 * gdb.threads/interrupted-hand-call.exp: Likewise.
8267 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8268
8269 2016-06-10 Tom Tromey <tom@tromey.com>
8270
8271 PR rust/20110:
8272 * gdb.rust/expr.exp: Add test for integer constant larger than
8273 i32.
8274
8275 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8276
8277 * gdb.fortran/nested-funcs.exp: New.
8278 * gdb.fortran/nested-funcs.f90: New.
8279
8280 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8281
8282 * gdb.base/examine-backward.c: New file.
8283 * gdb.base/examine-backward.exp: New file.
8284
8285 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8286
8287 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8288 matching.
8289
8290 2016-06-02 Tom Tromey <tom@tromey.com>
8291
8292 PR python/18984:
8293 * gdb.python/py-shared.exp: Add solib_name test.
8294
8295 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8296
8297 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8298
8299 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8300
8301 PR c++/19893
8302 * gdb.dwarf2/implref.exp: Rename to...
8303 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8304 * gdb.dwarf2/implref-array.c: New file.
8305 * gdb.dwarf2/implref-array.exp: Likewise.
8306 * gdb.dwarf2/implref-global.c: Likewise.
8307 * gdb.dwarf2/implref-global.exp: Likewise.
8308 * gdb.dwarf2/implref-struct.c: Likewise.
8309 * gdb.dwarf2/implref-struct.exp: Likewise.
8310
8311 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8312
8313 * gdb.trace/trace-condition.exp: Add 64bit tests.
8314
8315 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8316
8317 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8318 bits types.
8319 (main): Adapt to 8 to 64 bits types.
8320 * gdb.trace/trace-condition.exp: Add new tests.
8321
8322 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8323
8324 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8325
8326 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8327
8328 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8329 Move condition tests...
8330 * gdb.trace/trace-condition.exp: Here.
8331
8332 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8333
8334 * gdb.trace/trace-condition.exp: Add counter-case tests.
8335
8336 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8337
8338 PR c++/15231
8339 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8340 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8341
8342 2016-05-27 Pedro Alves <palves@redhat.com>
8343
8344 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8345 New procedure.
8346 (top level): Call it, and bail out of DejaGnu is known to be bad.
8347
8348 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8349
8350 * gdb.base/whatis.c: Extend the test case.
8351 * gdb.base/whatis.exp: Add additional tests.
8352
8353 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8354
8355 * gdb.fortran/type.f90: Add pointer variable.
8356 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8357
8358 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8359
8360 * gdb.fortran/vla-type.exp: Fix testcase name.
8361
8362 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8363
8364 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8365
8366 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8367
8368 * gdb.fortran/type.f90: Add nested structures.
8369 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8370 * gdb.fortran/derived-type.exp: Adapt expected output.
8371 * gdb.fortran/vla-type.exp: Adapt expected output.
8372
8373 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8374
8375 * gdb.fortran/whatis_type.exp: Adapt expected output.
8376
8377 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8378
8379 * gdb.fortran/print_type.exp: Fix expected output.
8380 * gdb.fortran/whatis_type.exp: Fix expected output.
8381
8382 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8383
8384 * gdb.fortran/whatis_type.exp: Use multi_line.
8385
8386 2016-05-24 Tom Tromey <tom@tromey.com>
8387
8388 PR python/17386:
8389 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8390 use value as an index.
8391
8392 2016-05-23 Tom Tromey <tom@tromey.com>
8393
8394 PR python/17981:
8395 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8396 no-breakpoint case.
8397
8398 2016-05-24 Pedro Alves <palves@redhat.com>
8399
8400 PR gdb/19828
8401 * gdb.threads/clone-attach-detach.c: New file.
8402 * gdb.threads/clone-attach-detach.exp: New file.
8403
8404 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8405
8406 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8407
8408 2016-05-23 Tom Tromey <tom@tromey.com>
8409
8410 PR python/19438, PR python/18393:
8411 * gdb.python/py-progspace.exp: Add "dir" test.
8412 * gdb.python/py-objfile.exp: Add "dir" test.
8413
8414 2016-05-23 Yao Qi <yao.qi@linaro.org>
8415
8416 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8417 * gdb.arch/thumb2-it.exp: Likewise.
8418
8419 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8420
8421 * gdb.mi/mi-threads-interrupt.c: New file.
8422 * gdb.mi/mi-threads-interrupt.exp: New file.
8423
8424 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8425
8426 PR gdb/18077
8427 * gdb.mi/mi-async-run.exp: New file.
8428 * gdb.mi/mi-async-run.c: New file.
8429
8430 2016-05-17 Tom Tromey <tom@tromey.com>
8431 Manish Goregaokar <manishsmail@gmail.com>
8432
8433 * lib/rust-support.exp: New file.
8434 * lib/gdb.exp (skip_rust_tests): New proc.
8435 (build_executable_from_specs): Handle rust.
8436 * lib/future.exp (gdb_find_rustc): New proc.
8437 (gdb_default_target_compile): Handle rust.
8438 * gdb.rust/expr.exp: New file.
8439 * gdb.rust/generics.exp: New file.
8440 * gdb.rust/generics.rs: New file.
8441 * gdb.rust/methods.exp: New file.
8442 * gdb.rust/methods.rs: New file.
8443 * gdb.rust/modules.exp: New file.
8444 * gdb.rust/modules.rs: New file.
8445 * gdb.rust/simple.exp: New file.
8446 * gdb.rust/simple.rs: New file.
8447
8448 2016-05-17 Tom Tromey <tom@tromey.com>
8449
8450 * gdb.base/default.exp (set language): Add rust.
8451
8452 2016-05-17 Tom Tromey <tom@tromey.com>
8453
8454 * gdb.gdb/unittest.exp: New file.
8455
8456 2016-05-16 Yao Qi <yao.qi@linaro.org>
8457
8458 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8459 shell_prompt. Update shell_prompt_re.
8460
8461 2016-05-12 Doug Evans <dje@google.com>
8462
8463 PR symtab/19999
8464 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8465 $options when building executable.
8466 * gdb.dwarf2/fission-loclists-pie.S: New file.
8467 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8468
8469 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8470
8471 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8472 of [is_remote target],
8473
8474 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8475
8476 * lib/gdb.exp (use_gdb_stub): New procedure.
8477
8478 2016-05-03 Yunlian Jiang <yunlian@google.com>
8479 Doug Evans <dje@google.com>
8480
8481 PR symtab/19914
8482 * gdb.dwarf2/dwp-sepdebug.c: New file.
8483 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8484
8485 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8486
8487 * gdb.base/detach.exp: Remove is_remote check.
8488
8489 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8490
8491 * gdb.base/annota-input-while-running.exp: Don't check for
8492 [is_remote target]. Enable annotations after running to main.
8493 Remove unused "set test..." line.
8494
8495 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8496
8497 * gdb.trace/trace-enable-disable.exp: New file.
8498 * gdb.trace/trace-enable-disable.c: New file.
8499
8500 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8501
8502 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8503 use it in info sharedlibrary test.
8504 * gdb.trace/ftrace-lock.exp: Likewise.
8505 * gdb.trace/ftrace.exp: Likewise.
8506 * gdb.trace/range-stepping.exp: Likewise.
8507 * gdb.trace/trace-break.exp: Likewise.
8508 * gdb.trace/trace-condition.exp: Likewise.
8509 * gdb.trace/trace-mt.exp: Likewise.
8510
8511 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8512
8513 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8514 (gdb_load_shlib): ... this.
8515 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8516 gdb_load_shlib.
8517 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8518 * gdb.base/ctxobj.exp: Likewise.
8519 * gdb.base/dprintf-pending.exp: Likewise.
8520 * gdb.base/dso2dso.exp: Likewise.
8521 * gdb.base/fixsection.exp: Likewise.
8522 * gdb.base/gcore-relro.exp: Likewise.
8523 * gdb.base/gdb1555.exp: Likewise.
8524 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8525 * gdb.base/gnu-ifunc.exp: Likewise.
8526 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8527 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8528 * gdb.base/pending.exp: Likewise.
8529 * gdb.base/print-file-var.exp: Likewise.
8530 * gdb.base/print-symbol-loading.exp: Likewise.
8531 * gdb.base/shlib-call.exp: Likewise.
8532 * gdb.base/shreloc.exp: Likewise.
8533 * gdb.base/so-impl-ld.exp: Likewise.
8534 * gdb.base/solib-disc.exp: Likewise.
8535 * gdb.base/solib-nodir.exp: Likewise.
8536 * gdb.base/solib-overlap.exp: Likewise.
8537 * gdb.base/solib-symbol.exp: Likewise.
8538 * gdb.base/solib-weak.exp (do_test): Likewise.
8539 * gdb.base/sym-file.exp: Likewise.
8540 * gdb.base/symtab-search-order.exp: Likewise.
8541 * gdb.base/type-opaque.exp: Likewise.
8542 * gdb.base/unload.exp: Likewise.
8543 * gdb.base/watchpoint-solib.exp: Likewise.
8544 * gdb.compile/compile.exp: Likewise.
8545 * gdb.cp/gdb2384.exp: Likewise.
8546 * gdb.cp/infcall-dlopen.exp: Likewise.
8547 * gdb.cp/re-set-overloaded.exp: Likewise.
8548 * gdb.fortran/library-module.exp: Likewise.
8549 * gdb.opt/solib-intra-step.exp: Likewise.
8550 * gdb.python/py-finish-breakpoint.exp: Likewise.
8551 * gdb.python/py-shared.exp: Likewise.
8552 * gdb.reverse/solib-precsave.exp: Likewise.
8553 * gdb.reverse/solib-reverse.exp: Likewise.
8554 * gdb.server/solib-list.exp: Likewise.
8555 * gdb.threads/dlopen-libpthread.exp: Likewise.
8556 * gdb.threads/tls-shared.exp: Likewise.
8557 * gdb.threads/tls-so_extern.exp: Likewise.
8558 * gdb.trace/change-loc.exp: Likewise.
8559 * gdb.trace/ftrace-lock.exp: Likewise.
8560 * gdb.trace/ftrace.exp: Likewise.
8561 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8562 * gdb.trace/pending.exp: Likewise.
8563 * gdb.trace/range-stepping.exp: Likewise.
8564 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8565 (strace_info_marker): Likewise.
8566 (strace_probe_marker): Likewise.
8567 (strace_trace_on_same_addr): Likewise.
8568 (strace_trace_on_diff_addr): Likewise.
8569 * gdb.trace/trace-break.exp: Likewise.
8570 * gdb.trace/trace-condition.exp: Likewise.
8571 * gdb.trace/trace-mt.exp: Likewise.
8572
8573 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8574
8575 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8576 result of gdb_remote_download.
8577 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8578 * gdb.base/dso2dso.exp: Likewise.
8579 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8580 * gdb.base/print-file-var.exp: Likewise.
8581 * gdb.base/shlib-call.exp: Likewise.
8582 * gdb.base/shreloc.exp: Likewise.
8583 * gdb.base/solib-overlap.exp: Likewise.
8584 * gdb.base/solib-weak.exp (do_test): Likewise.
8585 * gdb.base/unload.exp: Likewise.
8586
8587 2016-04-27 Yao Qi <yao.qi@linaro.org>
8588
8589 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8590 exists.
8591
8592 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8593
8594 * vla-type.exp: Print structure from toplevel.
8595
8596 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8597
8598 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8599 of dynamic types.
8600 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8601 of dynamic types.
8602
8603 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8604
8605 * gdb.fortran/vla-type.f90: New file.
8606 * gdb.fortran/vla-type.exp: New file.
8607
8608 2016-04-25 Yao Qi <yao.qi@linaro.org>
8609
8610 * gdb.base/branch-to-self.c: New file.
8611 * gdb.base/branch-to-self.exp: New file.
8612
8613 2016-04-22 Yao Qi <yao.qi@linaro.org>
8614
8615 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8616 more after $hex.
8617
8618 2016-04-22 Yao Qi <yao.qi@linaro.org>
8619
8620 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8621 * gdb.base/annota3.exp: Likewise.
8622
8623 2016-04-22 Yao Qi <yao.qi@linaro.org>
8624
8625 * gdb.reverse/step-precsave.exp: Do one step and test program
8626 stops in "callee" and do multiple steps until program goes out
8627 of "callee".
8628 * gdb.reverse/step-reverse.exp: Likewise.
8629
8630 2016-04-22 Yao Qi <yao.qi@linaro.org>
8631
8632 * gdb.trace/signal.exp: Also pass if
8633 $tracepoint_hits($i) > $iterations.
8634
8635 2016-04-22 Yao Qi <yao.qi@linaro.org>
8636
8637 * gdb.trace/signal.c: New file.
8638 * gdb.trace/signal.exp: New file.
8639
8640 2016-04-19 Doug Evans <xdje42@gmail.com>
8641
8642 * gdb.base/bad-file.exp: New file.
8643
8644 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8645
8646 * gdb.dwarf2/implref.exp: New file.
8647
8648 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8649
8650 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8651 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8652 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8653 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8654 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8655 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8656 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8657 * lib/fortran.exp (fortran_int4): New procedure.
8658 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8659 (fortran_logical4): Likewise.
8660
8661 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8662
8663 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8664
8665 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8666
8667 * lib/compiler.c: Add Intel specific preprocessor macros.
8668 * lib/compiler.cc: Likewise.
8669
8670 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8671
8672 * gdb.server/connect-with-no-symbol-file.c: New file.
8673 * gdb.server/connect-with-no-symbol-file.exp: New file.
8674
8675 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8676
8677 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8678
8679 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8680
8681 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8682 standard output directory.
8683
8684 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8685
8686 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8687
8688 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8689
8690 * gdb.btrace/instruction_history.c (loop): Add declaration.
8691
8692 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8693
8694 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8695
8696 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8697
8698 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8699 parentheses to print.
8700 (continue_handler): Likewise.
8701
8702 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8703
8704 * gdb.server/solib-list.exp: Remove is_remote check.
8705 Pass shlib= to gdb_compile. Don't link shared library with
8706 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8707 Run binary filename through "readlink -f" on the target.
8708
8709 2016-04-08 Pedro Alves <palves@redhat.com>
8710
8711 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8712 interpreter filename as argument to gdbserver_spawn.
8713 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8714 Return empty if $last_loaded_file does not exist.
8715
8716 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8719 * gdb.base/jit-main.c: Use exit after usage.
8720
8721 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8722
8723 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8724 GDBHISTSIZE prior to the tests.
8725 * gdb.base/gdbinit-history.exp: Likewise.
8726
8727 2016-04-07 Pedro Alves <palves@redhat.com>
8728
8729 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8730 instead of build_executable. Use gdb_load_shlibs.
8731
8732 2016-04-07 Yao Qi <yao.qi@linaro.org>
8733
8734 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8735 Execute "si" command.
8736
8737 2016-04-07 Yao Qi <yao.qi@linaro.org>
8738
8739 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8740 number instead of the comments on some line.
8741
8742 2016-04-06 Don Breazeal <donb@codesourcery.com>
8743
8744 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8745 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8746
8747 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8748
8749 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8750 standard_output_file. Remove unused binfile variable.
8751
8752 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8753
8754 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8755 * gdb.python/py-mi-objfile.exp: Match "list main" output
8756 in console format.
8757
8758 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8759
8760 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8761 absolute.
8762
8763 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8764
8765 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8766 absolute.
8767 * gdb.trace/ftrace.exp: Likewise.
8768 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8769 targets as well.
8770 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8771 (gdb_load_shlibs): Copy libraries to test directory when testing
8772 natively. Only set solib-search-path if testing remotely.
8773 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8774
8775 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8776
8777 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8778 gdb_download. Use it even if the target is not remote.
8779 * gdb.base/jit.exp (compile_jit_test): Likewise.
8780 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8781 output directory if the destination board is local, otherwise use
8782 the standard remote_download from DejaGnu.
8783 (gdb_download): Remove.
8784 (gdb_load_shlibs): Use gdb_remote_download instead of
8785 gdb_download.
8786 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8787 Use gdb_remote_download instead of gdb_download. Use it even if
8788 the target is not remote.
8789 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8790 instead of gdb_download.
8791
8792 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8793
8794 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8795 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8796 run.
8797
8798 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8799
8800 PR gdb/19820
8801 * gdb.base/printcmds.exp: Add artificial arrays tests.
8802
8803 2016-03-31 Pedro Alves <palves@redhat.com>
8804
8805 PR gdb/19858
8806 * gdb.base/jit-main.c: Include unistd.h.
8807 (ATTACH): Define to 0 if not already defined.
8808 (wait_for_gdb, mypid): New globals.
8809 (WAIT_FOR_GDB): New macro.
8810 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8811 some breakpoint locations.
8812 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8813 New procedures.
8814 (one_jit_test): Add REATTACH parameter, and handle it. Use
8815 continue_to_test_location.
8816 (top level): Test attach, and adjusts calls to one_jit_test.
8817
8818 2016-03-31 Pedro Alves <palves@redhat.com>
8819
8820 PR gdb/19858
8821 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8822 BINSUFFIX parameter, and handle it.
8823 (top level): Adjust calls compile_jit_test.
8824
8825 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8826
8827 PR python/19743
8828 * gdb.python/py-mi-events-gdb.py: New file.
8829 * gdb.python/py-mi-events.c: New file.
8830 * gdb.python/py-mi-events.exp: New file.
8831
8832 2016-03-30 Yao Qi <yao.qi@linaro.org>
8833
8834 * gdb.reverse/until-precsave.exp: Match function name only.
8835 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8836 Move malloc to a condition block.
8837 * gdb.reverse/until-reverse.exp: Match function name only.
8838
8839 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8840
8841 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8842 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8843 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8844 variable for GPR 0 instead of assuming it is register 0.
8845 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8846 * lib/trace-support.exp: Add s390 registers.
8847
8848 2016-03-29 Yao Qi <yao.qi@linaro.org>
8849
8850 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8851
8852 2016-03-24 Yao Qi <yao.qi@linaro.org>
8853
8854 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8855 test message.
8856
8857 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8858
8859 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8860 maintaining separate logic for constructing the output path.
8861
8862 2016-03-16 Don Breazeal <donb@codesourcery.com>
8863
8864 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8865 Retry fork and waitpid on interrupted system call errors.
8866 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8867 Use with_timeout_factor to increase timeout by factor of 10.
8868
8869 2016-03-15 Don Breazeal <donb@codesourcery.com>
8870
8871 * gdb.cp/scope-err.cc: New test program.
8872 * gdb.cp/scope-err.exp: New test script.
8873 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8874 lines and "set breakpoint here" comment.
8875 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8876 Fixed some whitespace and format issues.
8877 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8878 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8879
8880 2016-03-15 Doug Evans <dje@google.com>
8881
8882 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8883 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8884 All callers updated. Add tests for enums, mixed flags register.
8885
8886 2016-03-15 Doug Evans <dje@google.com>
8887
8888 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8889 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8890
8891 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8892
8893 * gdb.base/default.exp: Add $_as_string to the list of expected
8894 convenience functions.
8895
8896 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8897
8898 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8899
8900 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8901
8902 * gdb.python/py-as-string.exp: New file.
8903 * gdb.python/py-as-string.c: New file.
8904
8905 2016-03-09 Pedro Alves <palves@redhat.com>
8906
8907 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8908 signal" -> "Thread NN received signal" output change.
8909 * gdb.threads/ia64-sigill.exp: Likewise.
8910 * gdb.threads/linux-dp.exp: Likewise.
8911 * gdb.threads/manythreads.exp: Likewise.
8912 * gdb.threads/pending-step.exp: Likewise.
8913 * gdb.threads/print-threads.exp: Likewise.
8914 * gdb.threads/sigstep-threads.exp: Likewise.
8915 * gdb.threads/staticthreads.exp: Likewise.
8916 * gdb.threads/tls.exp: Likewise.
8917
8918 2016-03-09 Pedro Alves <palves@redhat.com>
8919
8920 * gdb.base/command-line-input.exp: New file.
8921
8922 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8923
8924 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8925 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8926 * gdb.trace/pending.exp: Accept leading dot before function name.
8927 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8928 * lib/trace-support.exp: Set registers for ppc.
8929
8930 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8931
8932 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8933 use it for disassembly; accept .main in addition to main in backtrace.
8934
8935 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8936 Marcin Kościelnicki <koriakin@0x04.net>
8937
8938 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8939 (gdb_recursion_test_ptr): New global variable.
8940 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8941 gdb_recursion_test.
8942 (gdb_c_test): Ditto.
8943
8944 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8945
8946 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8947 ordering.
8948
8949 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8950
8951 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8952 (bar): Add bar_start_lbl label.
8953 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8954 of foo/bar for emitting DWARF and tracing.
8955
8956 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8957
8958 * analyze-racy-logs.py: Set executable bit.
8959
8960 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8961
8962 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8963 (CHECK_TARGET_TMP): Likewise.
8964 (check-single-racy): New rule.
8965 (check-parallel-racy): Likewise.
8966 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8967 (do-check-parallel-racy): New rule.
8968 (check-racy/%.exp): Likewise.
8969 * README (Racy testcases): New section.
8970 * analyze-racy-logs.py: New file.
8971
8972 2016-03-03 Doug Evans <dje@google.com>
8973
8974 * gdb.base/skip.exp: Use with_test_prefix.
8975
8976 2016-03-03 Yao Qi <yao.qi@linaro.org>
8977
8978 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8979 Invoke step_over_syscall "clone" and break_cond_on_syscall
8980 "clone".
8981 * gdb.base/step-over-clone.c: New file.
8982
8983 2016-03-03 Yao Qi <yao.qi@linaro.org>
8984
8985 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8986 code format.
8987
8988 2016-03-03 Yao Qi <yao.qi@linaro.org>
8989
8990 * gdb.base/disp-step-fork.c: Rename to ...
8991 * gdb.base/step-over-fork.c: ... it. New file.
8992 * gdb.base/disp-step-vfork.c: Rename to ...
8993 * gdb.base/step-over-vfork.c: ... it. New file.
8994 * gdb.base/disp-step-syscall.exp: Rename to ...
8995 * gdb.base/step-over-syscall.exp: ... it. New file.
8996 (disp_step_cross_syscall): Rename to ...
8997 (step_over_syscall): ... it.
8998
8999 2016-03-03 Yao Qi <yao.qi@linaro.org>
9000
9001 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9002 If target supports condition evaluation on target, invoke
9003 break_cond_on_syscall for fork and vfork.
9004
9005 2016-03-03 Yao Qi <yao.qi@linaro.org>
9006
9007 * gdb.base/disp-step-syscall.exp: Don't invoke
9008 support_displaced_stepping.
9009 (disp_step_cross_syscall): Test with displaced stepping off and
9010 on if supported.
9011
9012 2016-03-03 Yao Qi <yao.qi@linaro.org>
9013
9014 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9015 proc.
9016 (setup): New proc.
9017 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9018 and setup.
9019
9020 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9021
9022 * gdb.fortran/vla-history.exp: Remove breakpoint.
9023
9024 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9025
9026 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9027 exceeds timeout.
9028
9029 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9030
9031 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9032 breakpoint.
9033
9034 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9035
9036 * gdb.mi/vla.f90: Nullify pointer after declaration.
9037
9038 2016-03-01 Pedro Alves <palves@redhat.com>
9039
9040 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9041
9042 2016-03-01 Pedro Alves <palves@redhat.com>
9043
9044 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9045 before anything else.
9046 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9047 _GNU_SOURCE here.
9048 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9049 before anything else.
9050 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9051
9052 2016-03-01 Pedro Alves <palves@redhat.com>
9053
9054 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9055
9056 2016-03-01 Yao Qi <yao.qi@linaro.org>
9057
9058 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9059 prepare_for_testing.
9060
9061 2016-03-01 Yao Qi <yao.qi@linaro.org>
9062
9063 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9064
9065 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9066
9067 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9068 manually constructing the output path.
9069
9070 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9071
9072 * gdb.arch/s390-stackless.S: New.
9073 * gdb.arch/s390-stackless.exp: New.
9074
9075 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9076
9077 * gdb.dlang/circular.c: New file.
9078 * gdb.dlang/circular.exp: New file.
9079
9080 2016-02-26 Yao Qi <yao.qi@linaro.org>
9081
9082 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9083 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9084 (testcases): Update.
9085
9086 2016-02-26 Yao Qi <yao.qi@linaro.org>
9087
9088 * gdb.reverse/aarch64.c: Rename to ...
9089 * gdb.reverse/insn-reverse.c: ... it.
9090 * gdb.reverse/aarch64.exp: Rename to ...
9091 * gdb.reverse/insn-reverse.exp: ... it.
9092
9093 2016-02-26 Yao Qi <yao.qi@linaro.org>
9094
9095 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9096 (testcase_ftype): New.
9097 (testcases): New array.
9098 (n_testcases): New.
9099 (main): Call each element in testcases.
9100 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9101 (read_testcase): New.
9102 Do the tests in a loop.
9103
9104 2016-02-25 Yao Qi <yao.qi@linaro.org>
9105
9106 * gdb.base/branches.c: Remove.
9107
9108 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9109
9110 PR gdb/13808
9111 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9112
9113 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9114
9115 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9116
9117 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9118
9119 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9120 change x86_64 call_insn to 'callq'.
9121
9122 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9123
9124 * gdb.trace/tfile-avx.c: Move to...
9125 * gdb.trace/tracefile-pseudo-reg.c: Here.
9126 * gdb.trace/tfile-avx.exp: Move to...
9127 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9128
9129 2016-02-24 Gary Benson <gbenson@redhat.com>
9130
9131 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9132 message on attach.
9133
9134 2016-02-23 Doug Evans <dje@google.com>
9135
9136 * gdb.base/skip.c (test_skip): New function.
9137 (end_test_skip_file_and_function): New function.
9138 (test_skip_file_and_function): New function.
9139 * gdb.base/skip1.c (test_skip): New function.
9140 (skip1_test_skip_file_and_function): New function.
9141 * gdb.base/skip.exp: Add tests for new skip options.
9142 * gdb.base/skip-solib.exp: Update expected output.
9143 * gdb.perf/skip-command.cc: New file.
9144 * gdb.perf/skip-command.exp: New file.
9145 * gdb.perf/skip-command.py: New file.
9146
9147 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9148
9149 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9150 info registers pattern.
9151
9152 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9153
9154 * lib/future.exp: Add D support.
9155 (gdb_find_gdc): New proc.
9156 (gdb_default_target_compile): Add D support.
9157
9158 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9159
9160 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9161 user+system time.
9162 (trace_speed_test): Determine the iteration count for a time
9163 between 15..30 seconds.
9164
9165 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9166
9167 * gdb.arch/i386-mpx-sigsegv.c: New file.
9168 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9169 * gdb.arch/i386-mpx-simple_segv.c: New file.
9170 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9171
9172 2016-02-18 Yao Qi <yao.qi@linaro.org>
9173
9174 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9175 Don't call setup_kfail.
9176
9177 2016-02-18 Yao Qi <yao.qi@linaro.org>
9178
9179 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9180 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9181
9182 2016-02-16 Doug Evans <dje@google.com>
9183
9184 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9185 * gdb.base/skip1.c: Ditto.
9186 * gdb.base/skip.exp: Whitespace cleanup.
9187
9188 2016-02-16 Don Breazeal <donb@codesourcery.com>
9189
9190 PR remote/19496
9191 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9192 Remove kfail for PR remote/19496.
9193
9194 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9195
9196 * lib/gdb.exp (standard_temp_file): Return a path specific to
9197 the runtest invocation.
9198
9199 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9200
9201 * gdb.trace/save-trace.exp: Change relative path to be in the
9202 standard output directory.
9203
9204 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9205
9206 * gdb.arch/i386-prologue.c: Add missing prototypes.
9207
9208 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9209
9210 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9211 * gdb.arch/i386-prologue.exp: Likewise.
9212 * gdb.arch/i386-size.exp: Likewise.
9213
9214 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9215
9216 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9217 define object file path.
9218 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9219 file path.
9220 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9221 standard_output_file to define binfile.
9222
9223 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 Fix compatibility with recent gfortran-5.3.1.
9226 * gdb.fortran/vla-history.exp (print vla1 allocated)
9227 (print vla2 allocated, print $2, print $3): Remove
9228 (print $4): Rename to ...
9229 (print $2): ... here.
9230 (print $9): Rename to ...
9231 (print $5): ... here.
9232 (print $10): Rename to ...
9233 (print $6): ... here.
9234 * gdb.fortran/vla.f90: Add pvla initialization.
9235
9236 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9237
9238 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9239 New test.
9240 * gdb.fortran/vla-value-sub.exp: Likewise.
9241
9242 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9243
9244 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9245
9246 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9247
9248 * i386-biarch-core.exp: Define corefile using
9249 standard_output_file.
9250
9251 2016-02-12 Yao Qi <yao.qi@linaro.org>
9252
9253 * gdb.arch/arm-single-step-kernel-helper.c: New.
9254 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9255
9256 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9257
9258 * gdb.btrace/tailcall-only.exp: New.
9259 * gdb.btrace/tailcall-only.c: New.
9260 * gdb.btrace/x86_64-tailcall-only.S: New.
9261 * gdb.btrace/i686-tailcall-only.S: New.
9262
9263 2016-02-11 Pedro Alves <palves@redhat.com>
9264
9265 * README (Parallel testing): Add missing double quotes.
9266
9267 2016-02-11 Pedro Alves <palves@redhat.com>
9268
9269 * README (Parallel testing): New section.
9270 (GDB_PARALLEL): Rewrite.
9271 (FORCE_PARALLEL): Document.
9272
9273 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9274
9275 * gdb.trace/tfile-avx.c: New test.
9276 * gdb.trace/tfile-avx.exp: New test.
9277
9278 2016-02-09 Keith Seitz <keiths@redhat.com>
9279
9280 PR breakpoints/19546
9281 * gdb.base/infcall-exec.c: New file.
9282 * gdb.base/infcall-exec2.c: New file.
9283 * gdb.base/infcall-exec.exp: New file.
9284
9285 2016-02-09 Keith Seitz <keiths@redhat.com>
9286
9287 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9288 (toplevel): Call test_bkpt_address.
9289
9290 2016-02-09 Keith Seitz <keiths@redhat.com>
9291
9292 PR python/19506
9293 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9294 (toplevel): Call test_bkpt_address.
9295
9296 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9297
9298 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9299 to AC_OUTPUT.
9300 * configure: Regenerate.
9301
9302 2016-02-09 Pedro Alves <palves@redhat.com>
9303
9304 PR breakpoints/19548
9305 * gdb.base/execl-update-breakpoints.c (some_function): New
9306 function.
9307 (main): Call it.
9308 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9309 Tighten expected GDB output.
9310
9311 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9312
9313 * Makefile.in (ALL_SUBDIRS): Remove.
9314 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9315 (distclean maintainer-clean realclean): Likewise.
9316 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9317 * configure: Regenerate.
9318 * gdb.ada/Makefile.in: Delete.
9319 * gdb.arch/Makefile.in: Likewise.
9320 * gdb.asm/Makefile.in: Likewise.
9321 * gdb.base/Makefile.in: Likewise.
9322 * gdb.btrace/Makefile.in: Likewise.
9323 * gdb.cell/Makefile.in: Likewise.
9324 * gdb.compile/Makefile.in: Likewise.
9325 * gdb.cp/Makefile.in: Likewise.
9326 * gdb.disasm/Makefile.in: Likewise.
9327 * gdb.dlang/Makefile.in: Likewise.
9328 * gdb.dwarf2/Makefile.in: Likewise.
9329 * gdb.fortran/Makefile.in: Likewise.
9330 * gdb.gdb/Makefile.in: Likewise.
9331 * gdb.go/Makefile.in: Likewise.
9332 * gdb.guile/Makefile.in: Likewise.
9333 * gdb.java/Makefile.in: Likewise.
9334 * gdb.linespec/Makefile.in: Likewise.
9335 * gdb.mi/Makefile.in: Likewise.
9336 * gdb.modula2/Makefile.in: Likewise.
9337 * gdb.multi/Makefile.in: Likewise.
9338 * gdb.objc/Makefile.in: Likewise.
9339 * gdb.opencl/Makefile.in: Likewise.
9340 * gdb.opt/Makefile.in: Likewise.
9341 * gdb.pascal/Makefile.in: Likewise.
9342 * gdb.perf/Makefile.in: Likewise.
9343 * gdb.python/Makefile.in: Likewise.
9344 * gdb.reverse/Makefile.in: Likewise.
9345 * gdb.server/Makefile.in: Likewise.
9346 * gdb.stabs/Makefile.in: Likewise.
9347 * gdb.threads/Makefile.in: Likewise.
9348 * gdb.trace/Makefile.in: Likewise.
9349 * gdb.xml/Makefile.in: Likewise.
9350 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9351 GDB_PARALLEL.
9352 (standard_output_file): Remove check for GDB_PARALLEL, always
9353 return path in outputs/$subdir/$testname.
9354
9355 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9356
9357 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9358 (site.exp): Assign abs_srcdir to tcl's srcdir.
9359
9360 2016-02-04 Yao Qi <yao.qi@linaro.org>
9361
9362 * gdb.base/foll-exec-mode.c: Include limits.h.
9363 (main): Add parameters argc and argv. Get directory from
9364 argv[0].
9365 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9366 compilation.
9367 * gdb.base/foll-exec.c: Include limits.h.
9368 (main): Add parameters argc and argv.
9369 Get directory from argv[0].
9370 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9371 Adjust tests on the number of lines as source code changed.
9372 * gdb.base/foll-vfork-exit.c: Include limits.h.
9373 (main): Add one line of statement before vfork.
9374 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9375 (main): Add parameters argc and argv. Get directory from
9376 argv[0].
9377 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9378 (setup_gdb): Set tbreak to skip some source lines.
9379 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9380 (main): Add parameters argc and argv. Get directory from
9381 argv[0].
9382 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9383 compilation.
9384 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9385 (main): Add parameters argc and argv. Get directory from
9386 argv[0].
9387 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9388 compilation.
9389
9390 2016-02-01 Doug Evans <dje@google.com>
9391
9392 * gdb.base/skip.exp: Clean up multiple references to same test name.
9393
9394 2016-02-01 Pedro Alves <palves@redhat.com>
9395
9396 PR remote/19496
9397 * gdb.threads/forking-threads-plus-breakpoint.exp
9398 (displaced_stepping_supported): New global.
9399 (probe_displaced_stepping_support): New procedure.
9400 (do_test): Add 'displaced' parameter, and use it.
9401 (top level): Check for displaced stepping support. Add displaced
9402 stepping on/off testing axis.
9403
9404 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9405
9406 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9407 pointer. Don't perform further tests on the unassociated pointer
9408 if the first test fails.
9409
9410 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9411
9412 * gdb.base/max-value-size.c: New file.
9413 * gdb.base/max-value-size.exp: New file.
9414 * gdb.base/huge.exp: Disable max-value-size for this test.
9415
9416 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9417
9418 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9419
9420 2016-01-28 Yao Qi <yao.qi@linaro.org>
9421
9422 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9423
9424 2016-01-25 Pedro Alves <palves@redhat.com>
9425
9426 PR threads/19461
9427 * gdb.base/fork-running-state.c: New file.
9428 * gdb.base/fork-running-state.exp: New file.
9429
9430 2016-01-25 Pedro Alves <palves@redhat.com>
9431
9432 PR gdb/19494
9433 * gdb.base/catch-fork-kill.c: New file.
9434 * gdb.base/catch-fork-kill.exp: New file.
9435
9436 2016-01-25 Pedro Alves <palves@redhat.com>
9437
9438 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9439 Delete, moved to lib/gdb.exp.
9440 * gdb.threads/forking-threads-plus-breakpoint.exp
9441 (foreach_with_prefix): Likewise.
9442 * gdb.threads/process-dies-while-handling-bp.exp
9443 (foreach_with_prefix): Likewise.
9444 * lib/gdb.exp (foreach_with_prefix): New procedure.
9445
9446 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9447
9448 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9449 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9450
9451 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9452
9453 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9454 endian targets.
9455
9456 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9457 Pedro Alves <palves@redhat.com>
9458
9459 Fix testsuite compatibility with Guile.
9460 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9461 number.
9462
9463 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 Fix testsuite compatibility with Guile.
9466 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9467 (thread 1): New test for backtrace through signal handler.
9468
9469 2016-01-22 Yao Qi <yao.qi@linaro.org>
9470
9471 PR testsuite/19491
9472 * gdb.base/multi-forks.c: Include
9473 ../lib/unbuffer_output.c
9474 (main): Call gdb_unbuffer_output.
9475
9476 2016-01-21 Doug Evans <dje@google.com>
9477
9478 * lib/ada.exp (gdb_compile_ada): Fix typo.
9479
9480 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9481
9482 * gdb.base/break-fun-addr.exp: New file.
9483 * gdb.base/break-fun-addr1.c: New file.
9484 * gdb.base/break-fun-addr2.c: New file.
9485
9486 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9487
9488 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9489 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9490 enum flag values.
9491
9492 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9493
9494 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9495 when GDB can not set the vector return value. Add more comments
9496 for clarification.
9497
9498 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9499
9500 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9501 command.
9502
9503 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9504
9505 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9506
9507 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9508
9509 * Makefile.in (check-single): Pass --status to runtest.
9510 (check/%.exp): Likewise.
9511
9512 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9513
9514 * Makefile.in (check-parallel): Propagate return code from make
9515 do-check-parallel.
9516
9517 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9518
9519 * gdb.trace/ftrace.exp: Fix expected message on continue.
9520 * gdb.trace/pending.exp: Fix expected message on continue.
9521 * gdb.trace/trace-break.exp: Fix expected message on continue.
9522
9523 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9524
9525 * lib/gdb.exp (gdb_test): Remove unused global references.
9526
9527 2016-01-18 Pedro Alves <palves@redhat.com>
9528
9529 * gdb.base/async-shell.exp: Adjust expected output.
9530 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9531 * gdb.base/siginfo-thread.exp: Adjust expected output.
9532 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9533 * gdb.java/jnpe.exp: Adjust expected output.
9534 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9535 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9536 * gdb.threads/leader-exit.exp: Adjust expected output.
9537 * gdb.threads/manythreads.exp: Adjust expected output.
9538 * gdb.threads/pthreads.exp: Adjust expected output.
9539 * gdb.threads/schedlock.exp: Adjust expected output.
9540 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9541 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9542 expected output.
9543 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9544 output.
9545 * gdb.threads/sigthread.exp: Adjust expected output.
9546 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9547
9548 2016-01-18 Yao Qi <yao.qi@linaro.org>
9549
9550 * gdb.guile/scm-section-script.c: Replace @progbits with
9551 %progbits.
9552 * gdb.python/py-section-script.c: Likewise.
9553
9554 2016-01-15 Pedro Alves <palves@redhat.com>
9555
9556 * gdb.multi/tids.exp: Test star wildcard ranges.
9557
9558 2016-01-15 Pedro Alves <palves@redhat.com>
9559
9560 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9561 command from "thread apply" invocation.
9562 (thr_apply_info_thr_invalid): Default the expected output to the
9563 input tid list.
9564 (top level): Add tests that use convenience variables. Add tests
9565 for "thread apply" with a valid TID list, but missing the command.
9566
9567 2016-01-13 Pedro Alves <palves@redhat.com>
9568
9569 * gdb.base/default.exp: Expect $_gthread as well.
9570 * gdb.multi/tids.exp: Test $_gthread.
9571 * gdb.threads/thread-specific.exp: Test $_gthread.
9572
9573 2016-01-13 Pedro Alves <palves@redhat.com>
9574
9575 * gdb.multi/tids.exp: Test "info threads -gid".
9576
9577 2016-01-13 Pedro Alves <palves@redhat.com>
9578
9579 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9580 Breakpoint.thread.
9581 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9582
9583 2016-01-07 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.base/break.exp: Adjust to output changes.
9586 * gdb.base/hbreak2.exp: Likewise.
9587 * gdb.base/sepdebug.exp: Likewise.
9588 * gdb.base/watch_thread_num.exp: Likewise.
9589 * gdb.linespec/keywords.exp: Likewise.
9590 * gdb.multi/info-threads.exp: Likewise.
9591 * gdb.threads/thread-find.exp: Likewise.
9592 * gdb.multi/tids.c: New file.
9593 * gdb.multi/tids.exp: New file.
9594
9595 2016-01-13 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9598
9599 2016-01-13 Pedro Alves <palves@redhat.com>
9600
9601 * gdb.base/default.exp: Expect $_inferior as well.
9602 * gdb.multi/base.exp: Test $_inferior.
9603
9604 2016-01-13 Pedro Alves <palves@redhat.com>
9605
9606 PR breakpoints/19388
9607 * gdb.base/catch-signal-siginfo-cond.c: New file.
9608 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9609
9610 2016-01-12 Josh Stone <jistone@redhat.com>
9611 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9612
9613 * gdb.base/catch-syscall.c (do_execve): New variable.
9614 (main): Conditionally trigger an execve.
9615 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9616 (test_catch_syscall_execve): New, check entry/return across execve.
9617 (do_syscall_tests): Call test_catch_syscall_execve.
9618
9619 2016-01-12 Pedro Alves <palves@redhat.com>
9620
9621 * gdb.base/random-signal.exp (do_test): New procedure, with body
9622 of testcase moved in.
9623
9624 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9625 Pedro Alves <palves@redhat.com>
9626
9627 * gdb.base/funcargs.exp (finish from indirectly called function):
9628 Reintroduce the case for 'First'.
9629
9630 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9631 Pedro Alves <palves@redhat.com>
9632
9633 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9634 (tcatch_vfork_then_child_follow_exec)
9635 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9636 identification.
9637
9638 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9639
9640 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9641 and repeats to unlimited.
9642 * gdb.python/py-value.exp: Likewise.
9643 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9644 and repeats to unlimited.
9645
9646 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9647
9648 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9649 and reordering the functions.
9650 * gdb.multi/hangout.c: Likewise.
9651 * gdb.multi/hello.c: Likewise.
9652
9653 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9654
9655 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9656 absolute.
9657 (SingleStatisticTestResult.report): Use dict.keys instead of
9658 dict.iterkeys.
9659
9660 2016-01-06 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9663
9664 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9665
9666 * gdb.btrace/dlopen.exp: New.
9667 * gdb.btrace/dlopen.c: New.
9668 * gdb.btrace/dlopen-dso.c: New.
9669
9670 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9671
9672 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9673 PATTERN argument is optional.
9674
9675 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9676
9677 * lib/ada.exp (target_compile_ada_from_dir): New function.
9678 (gdb_compile_ada): Reimplement avoiding the use of project files.
9679 * gdb.ada/gnat_ada.gpr: Delete.
9680 * gdb.ada/cond_lang.exp: Adjust test to make path before
9681 filename optional.
9682 * gdb.ada/small_reg_param.exp: Likewise.
9683
9684 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9685
9686 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9687
9688 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9689
9690 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9691 case.
9692
9693 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9694
9695 * gdb.base/break.exp: Remove dead code.
9696 * gdb.base/sepdebug.exp: Likewise.
9697
9698 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9699
9700 * gdb.asm/asm-source.exp: Remove HP-UX references.
9701 * gdb.base/annota1.exp: Likewise.
9702 * gdb.base/annota3.exp: Likewise.
9703 * gdb.base/attach.exp: Likewise.
9704 * gdb.base/bigcore.exp: Likewise.
9705 * gdb.base/break.exp: Likewise.
9706 * gdb.base/call-ar-st.exp: Likewise.
9707 * gdb.base/callfuncs.exp: Likewise.
9708 * gdb.base/catch-fork-static.exp: Likewise.
9709 * gdb.base/display.exp: Likewise.
9710 * gdb.base/foll-exec-mode.exp: Likewise.
9711 * gdb.base/foll-exec.exp: Likewise.
9712 * gdb.base/foll-fork.exp: Likewise.
9713 * gdb.base/foll-vfork.exp: Likewise.
9714 * gdb.base/funcargs.exp: Likewise.
9715 * gdb.base/hbreak2.exp: Likewise.
9716 * gdb.base/inferior-died.exp: Likewise.
9717 * gdb.base/interrupt.exp: Likewise.
9718 * gdb.base/multi-forks.exp: Likewise.
9719 * gdb.base/nodebug.exp: Likewise.
9720 * gdb.base/sepdebug.exp: Likewise.
9721 * gdb.base/solib1.c: Likewise.
9722 * gdb.base/step-test.exp: Likewise.
9723 * gdb.mi/non-stop.c: Likewise.
9724 * gdb.mi/pthreads.c: Likewise.
9725 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9726 * gdb.threads/pthreads.c: Likewise.
9727 * gdb.threads/staticthreads.exp: Likewise.
9728 * lib/future.exp: Likewise.
9729 * lib/gdb.exp: Likewise.
9730 * gdb.base/so-indr-cl.c: Remove.
9731 * gdb.base/so-indr-cl.exp: Likewise.
9732 * gdb.base/solib.c: Likewise.
9733 * gdb.base/solib.exp: Likewise.
9734 * gdb.base/solib2.c: Likewise.
9735
9736 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9737
9738 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9739 * gdb.base/call-ar-st.exp: Likewise.
9740 * gdb.base/callfuncs.exp: Likewise.
9741 * gdb.base/condbreak.exp: Likewise.
9742 * gdb.base/constvars.exp: Likewise.
9743 * gdb.base/hbreak2.exp: Likewise.
9744 * gdb.base/langs.exp: Likewise.
9745 * gdb.base/list.exp: Likewise.
9746 * gdb.base/long_long.exp: Likewise.
9747 * gdb.base/ptype.exp: Likewise.
9748 * gdb.base/scope.exp: Likewise.
9749 * gdb.base/signals.exp: Likewise.
9750 * gdb.base/so-impl-ld.exp: Likewise.
9751 * gdb.base/varargs.exp: Likewise.
9752 * gdb.base/volatile.exp: Likewise.
9753 * gdb.base/whatis.exp: Likewise.
9754 * gdb.cp/cplusfuncs.exp: Likewise.
9755 * gdb.cp/inherit.exp: Likewise.
9756 * gdb.cp/local.exp: Likewise.
9757 * gdb.cp/member-ptr.exp: Likewise.
9758 * gdb.cp/method.exp: Likewise.
9759 * gdb.cp/overload.exp: Likewise.
9760 * gdb.cp/templates.exp: Likewise.
9761 * gdb.stabs/weird.exp: Likewise.
9762 * lib/compiler.c: Likewise.
9763 * lib/compiler.cc: Likewise.
9764 * lib/cp-support.exp: Likewise.
9765 * lib/gdb.exp: Likewise.
9766
9767 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9768
9769 * configure.ac: Remove HP-UX case.
9770 * configure: Regenerate.
9771
9772 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9773
9774 * lib/gdb.exp (gdb_compile): Add function doc.
9775
9776 2015-12-17 Pedro Alves <palves@redhat.com>
9777
9778 PR threads/19354
9779 * gdb.multi/info-threads.exp: New file.
9780
9781 2015-12-15 Yao Qi <yao.qi@linaro.org>
9782
9783 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9784 is aarch64*-*-*.
9785
9786 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9787
9788 * gdb.base/history-duplicates.exp: Skip if no readline support.
9789
9790 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9791
9792 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9793
9794 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9795
9796 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9797
9798 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9799
9800 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9801 ctrl-C if nointerrupts target property is set.
9802 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9803 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9804 * gdb.base/paginate-bg-execution.exp: Likewise.
9805 * gdb.base/paginate-execution-startup.exp: Likewise.
9806 * gdb.base/random-signal.exp: Likewise.
9807 * gdb.base/range-stepping.exp: Likewise.
9808 * gdb.cp/annota2.exp: Likewise.
9809 * gdb.cp/annota3.exp: Likewise.
9810 * gdb.gdb/selftest.exp: Likewise.
9811 * gdb.threads/continue-pending-status.exp: Likewise.
9812 * gdb.threads/leader-exit.exp: Likewise.
9813 * gdb.threads/manythreads.exp: Likewise.
9814 * gdb.threads/pthreads.exp: Likewise.
9815 * gdb.threads/schedlock.exp: Likewise.
9816 * gdb.threads/sigthread.exp: Likewise.
9817
9818 2015-12-11 Don Breazeal <donb@codesourcery.com>
9819
9820 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9821 remote.
9822 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9823 * gdb.base/foll-exec.exp (main): Enable for target remote.
9824 * gdb.base/foll-fork.exp (main): Likewise.
9825 * gdb.base/foll-vfork.exp (main): Likewise.
9826 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9827 (proc continue_to_exit_bp_loc): Use clean_restart.
9828 * gdb.base/pie-execl.exp (main): Disable for target remote.
9829 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9830 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9831 * gdb.threads/execl.exp (main): Likewise.
9832 * gdb.threads/fork-child-threads.exp (main): Likewise.
9833 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9834 remote.
9835 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9836 remote.
9837 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9838 pid.tid style ptids, instead of just tid.
9839 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9840 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9841 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9842 ptids, instead of just tid.
9843
9844 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9845
9846 * gdb.base/list.exp (test_list_forward): Add end of file error
9847 test.
9848 (test_repeat_list_command): Add end of file error test.
9849 (test_list_backwards): Add beginning of file error test.
9850
9851 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9852
9853 * gdb.base/list.exp (test_list_invalid_args): New function,
9854 defined, and called.
9855
9856 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9857
9858 * gdb.base/list.exp (test_list): Make test names unique.
9859
9860 2015-12-11 Yao Qi <yao.qi@linaro.org>
9861
9862 * gdb.base/coremaker2.c: Remove.
9863
9864 2015-12-10 Pedro Alves <palves@redhat.com>
9865
9866 * gdb.multi/base.exp: Remove stale "spaces" references.
9867
9868 2015-12-10 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.multi/base.exp: Don't use nowarnings.
9871 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9872 * gdb.multi/hangout.c: Include stdio.h.
9873 * gdb.multi/hello.c: Include stdlib.h.
9874 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9875 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9876 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9877
9878 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9879
9880 * gdb.dwarf2/dw2-ranges-base.c: New file.
9881 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9882 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9883 support additional line table, and debug ranges generation.
9884 (Dwarf::ranges): New function, generate .debug_ranges.
9885 (Dwarf::lines): Support generating simple line table programs.
9886 (Dwarf::assemble): Initialise new namespace variables.
9887
9888 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9889
9890 * gdb.base/async.exp (proc test_background): Add case for
9891 asynchronous execution not supported.
9892
9893 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9894
9895 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9896 format and change test names to make them unique.
9897
9898 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9899 Pedro Alves <pedro@redhat.com>
9900
9901 PR gdb/18702
9902 Add checking of floatformats setup on x86_64 hosts.
9903 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9904 (smallval, bigval): New labels/constants.
9905 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9906 float" after loading bigval and smallval.
9907
9908 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9909
9910 * gdb.ada/fun_overload_menu.exp: New testcase.
9911 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9912
9913 2015-12-04 Josh Stone <jistone@redhat.com>
9914
9915 * gdb.base/catch-fork-static.exp: New.
9916
9917 2015-12-03 Yao Qi <yao.qi@linaro.org>
9918
9919 * gdb.base/sizeof.c: Don't include stdio.h and
9920 ../lib/unbuffer_output.c.
9921 (main): New variable 'size' and 'value'. Remove printf and
9922 gdb_unbuffer_output. Assign return value to size and value.
9923 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9924 at the beginning.
9925 (check_sizeof): Check the result by printing variable 'size'.
9926 (check_valueof): Check the result by printing variable 'value'.
9927
9928 2015-12-01 Yao Qi <yao.qi@linaro.org>
9929
9930 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9931 for aarch64*-*-linux* target.
9932
9933 2015-11-30 Pedro Alves <palves@redhat.com>
9934
9935 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9936
9937 2015-11-30 Pedro Alves <palves@redhat.com>
9938
9939 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9940 Handle non-stop mode vCont replies.
9941
9942 2015-11-30 Pedro Alves <palves@redhat.com>
9943
9944 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9945 prepare_for_testing. Start gdb with "set non-stop on" appended to
9946 GDBFLAGS. Lax expected stop output.
9947
9948 2015-11-27 Yao Qi <yao.qi@linaro.org>
9949
9950 * gdb.arch/arm-neon.exp: New.
9951 * gdb.arch/arm-neon.c: New.
9952
9953 2015-11-27 Yao Qi <yao.qi@linaro.org>
9954
9955 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9956
9957 2015-11-27 Yao Qi <yao.qi@linaro.org>
9958
9959 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9960 frames-invalid annotation.
9961
9962 2015-11-27 Yao Qi <yao.qi@linaro.org>
9963
9964 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9965
9966 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9967
9968 * gdb.threads/names.exp: New file.
9969 * gdb.threads/names.c: New file.
9970 * README: Mention gdb,no_thread_names.
9971
9972 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9973
9974 PR 19297
9975 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9976 support" error.
9977
9978 2015-11-24 Pedro Alves <palves@redhat.com>
9979
9980 PR 17539
9981 * gdb.base/display.exp: Expect displays to be sorted in ascending
9982 order. Use multi_line.
9983 * gdb.base/solib-display.exp: Likewise.
9984
9985 2015-11-24 Pedro Alves <palves@redhat.com>
9986
9987 PR 17539
9988 * gdb.base/display.exp: Expect displays to be sorted in ascending
9989 order. Use multi_line.
9990 * gdb.base/solib-display.exp: Likewise.
9991
9992 2015-11-24 Pedro Alves <palves@redhat.com>
9993
9994 PR 17539
9995 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9996 threads in ascending order.
9997 * gdb.base/foll-fork.exp: Likewise.
9998 * gdb.base/foll-vfork.exp: Likewise.
9999 * gdb.base/multi-forks.exp: Likewise.
10000 * gdb.mi/mi-nonstop.exp: Likewise.
10001 * gdb.mi/mi-nsintrall.exp: Likewise.
10002 * gdb.multi/base.exp: Likewise.
10003 * gdb.multi/multi-arch.exp: Likewise.
10004 * gdb.python/py-inferior.exp: Likewise.
10005 * gdb.threads/break-while-running.exp: Likewise.
10006 * gdb.threads/execl.exp: Likewise.
10007 * gdb.threads/gcore-thread.exp: Likewise.
10008 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10009 * gdb.threads/kill.exp: Likewise.
10010 * gdb.threads/linux-dp.exp: Likewise.
10011 * gdb.threads/multiple-step-overs.exp: Likewise.
10012 * gdb.threads/next-bp-other-thread.exp: Likewise.
10013 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10014 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10015 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10016 * gdb.threads/thread-find.exp: Likewise.
10017 * gdb.threads/tls.exp: Likewise.
10018 * lib/mi-support.exp (mi_reverse_list): Delete.
10019 (mi_check_thread_states): No longer reverse list.
10020
10021 2015-11-24 Pedro Alves <palves@redhat.com>
10022
10023 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10024 use lowercase.
10025
10026 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10027
10028 * gdb.trace/actions.c: Include trace-common.h.
10029 (main): Add a location for a fast tracepoint.
10030 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10031 the normal tracepoints.
10032 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10033
10034 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10035
10036 * save-trace.exp: Factor out code to these...
10037 (gdb_save_tracepoints): New.
10038 (gdb_load_tracepoints): New.
10039 (do_save_load_test): New.
10040
10041 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10042
10043 * gdb.base/asmlabel.exp: New test.
10044 * gdb.base/asmlabel.c: New test case.
10045
10046 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10047
10048 * gdb.base/wrong_frame_bt_full-main.c: New file.
10049 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10050 * gdb.base/wrong_frame_bt_full.exp: New file.
10051
10052 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10053
10054 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10055
10056 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10057
10058 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10059 pstate register when comparing registers values in
10060 sparc64-*-linux-gnu targets to avoid spurious differences.
10061
10062 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10063
10064 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10065
10066 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10067
10068 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10069 as type argument to gdb_compile.
10070 * gdb.base/nested-subp2.exp: Likewise.
10071 * gdb.base/nested-subp3.exp: Likewise.
10072
10073 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10074
10075 * lib/dwarf.exp (_note): Fix left shift of negative value.
10076 * gdb.trace/trace-condition.exp: Likewise.
10077
10078 2015-11-13 Yao Qi <yao.qi@linaro.org>
10079
10080 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10081 comments about d10v.
10082 (test_scalar_returns): Likewise.
10083 * gdb.base/d10v.ld: Remove.
10084 * gdb.base/overlays.exp: Remove the target triplet checking for
10085 d10v-*-*.
10086 * gdb.base/structs.exp (test_struct_returns): Remove the
10087 comments about d10v.
10088 (test_struct_calls): Likewise.
10089
10090 2015-11-13 Yao Qi <yao.qi@linaro.org>
10091
10092 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10093 * gdb.base/gnu_vector.c: Don't include stdio.h.
10094 (main): Don't print res and call add_some_intvecs.
10095
10096 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10097
10098 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10099 macro.
10100 (func5): Removed.
10101 (func4): Use FAST_TRACEPOINT_LABEL.
10102 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10103 macro.
10104 (func): Removed.
10105 (thread_function): Use FAST_TRACEPOINT_LABEL.
10106 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10107 (func): Remove.
10108 (marker): Use FAST_TRACEPOINT_LABEL.
10109 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10110 (pendfunc1): Remove.
10111 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10112 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10113 (foo): Remove.
10114 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10115 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10116 macro.
10117 (func): Remove.
10118 (marker): Use FAST_TRACEPOINT_LABEL.
10119 * gdb.trace/trace-common.h: New header.
10120 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10121 macro.
10122 (func): Remove.
10123 (marker): Use FAST_TRACEPOINT_LABEL.
10124 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10125 (func): Remove.
10126 (thread_function): Use FAST_TRACEPOINT_LABEL.
10127
10128 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10129
10130 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10131 in front.
10132 * gdb.trace/change-loc.exp: Use global pcreg definition.
10133 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10134 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10135 in front.
10136 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10137 * gdb.trace/pending.exp: Likewise.
10138 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10139 * gdb.trace/trace-break.exp: Likewise.
10140 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10141 in front.
10142 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10143 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10144 in front.
10145 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10146
10147 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10148
10149 * gdb.ada/fin_fun_out: New testcase.
10150
10151 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10152
10153 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10154 value associated with DW_AT_byte_size.
10155 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10156 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10157 DW_AT_upper_bound.
10158
10159 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10160
10161 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10162 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10163 version.
10164 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10165 gdb.dwarf2/dw2-canonicalize-type.exp,
10166 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10167 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10168 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10169 provided by gdb_target_symbol_prefix_flags_asm.
10170 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10171 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10172 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10173 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10174 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10175 macros where needed). Use this macro for symbols which require
10176 the prefix provided by SYMBOL_PREFIX.
10177
10178 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10179
10180 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10181 New procs.
10182 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10183 representing expressions, of more than one list element.
10184 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10185 to prepend linker symbol prefix to f.
10186 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10187 table_1 and table_2.
10188 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10189 Likewise, for f and g.
10190 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10191 for ptr.
10192 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10193 for main.
10194 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10195 table_1_ptr and table_2_ptr.
10196
10197 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10198 Joel Brobecker <brobecker@adacore.com>
10199
10200 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10201
10202 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10203
10204 * gdb.reverse/s390-mvcle.c: New test.
10205 * gdb.reverse/s390-mvcle.exp: New file.
10206 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10207
10208 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10209
10210 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10211
10212 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10213
10214 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10215 reaching marker2.
10216 * gdb.reverse/getresuid-reverse.exp: Likewise.
10217 * gdb.reverse/pipe-reverse.exp: Likewise.
10218 * gdb.reverse/readv-reverse.exp: Likewise.
10219 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10220 * gdb.reverse/time-reverse.exp: Likewise.
10221 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10222
10223 2015-10-30 Yao Qi <yao.qi@linaro.org>
10224
10225 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10226 (empty_cycle): Remove.
10227 (main): Don't call empty_cycle. Don't use watch_count_done.
10228 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10229 empty_cycle. Rewrite the code counting HW watchpoints.
10230
10231 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10232
10233 * gdb.reverse/fstatat-reverse.c: New test.
10234 * gdb.reverse/fstatat-reverse.exp: New file.
10235 * gdb.reverse/getresuid-reverse.c: New test.
10236 * gdb.reverse/getresuid-reverse.exp: New file.
10237 * gdb.reverse/pipe-reverse.c: New test.
10238 * gdb.reverse/pipe-reverse.exp: New file.
10239 * gdb.reverse/readv-reverse.c: New test.
10240 * gdb.reverse/readv-reverse.exp: New file.
10241 * gdb.reverse/recvmsg-reverse.c: New test.
10242 * gdb.reverse/recvmsg-reverse.exp: New file.
10243 * gdb.reverse/time-reverse.c: New test.
10244 * gdb.reverse/time-reverse.exp: New file.
10245 * gdb.reverse/waitpid-reverse.c: New test.
10246 * gdb.reverse/waitpid-reverse.exp: New file.
10247
10248 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10249
10250 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10251
10252 2015-10-26 Doug Evans <dje@google.com>
10253
10254 PR symtab/17391
10255 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10256 * gdb.dwarf2/bad-regnum.c: New file.
10257 * gdb.dwarf2/bad-regnum.exp: New file.
10258
10259 2015-10-26 Doug Evans <dje@google.com>
10260
10261 PR python/18938
10262 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10263 file.
10264
10265 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10266
10267 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10268 for a change by "Mention language in compile error message".
10269
10270 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10271
10272 PR python/18073
10273 * gdb.python/py-type.c (C::a_method): New.
10274 (C::a_const_method): New.
10275 (C::a_static_method): New.
10276 (a_function): New.
10277 * gdb.python/py-type.exp (test_fields): Test getting fields
10278 from function and method.
10279
10280 2015-10-21 Keven Boell <keven.boell@intel.com>
10281
10282 * gdb.fortran/vla-alloc-assoc.exp: New file.
10283 * gdb.fortran/vla-datatypes.exp: New file.
10284 * gdb.fortran/vla-datatypes.f90: New file.
10285 * gdb.fortran/vla-history.exp: New file.
10286 * gdb.fortran/vla-ptype-sub.exp: New file.
10287 * gdb.fortran/vla-ptype.exp: New file.
10288 * gdb.fortran/vla-sizeof.exp: New file.
10289 * gdb.fortran/vla-sub.f90: New file.
10290 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10291 * gdb.fortran/vla-value-sub-finish.exp: New file.
10292 * gdb.fortran/vla-value-sub.exp: New file.
10293 * gdb.fortran/vla-value.exp: New file.
10294 * gdb.fortran/vla-ptr-info.exp: New file.
10295 * gdb.mi/mi-vla-fortran.exp: New file.
10296 * gdb.mi/vla.f90: New file.
10297
10298 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10299
10300 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10301 of hardwired timeout value.
10302
10303 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10304 Pedro Alves <palves@redhat.com>
10305
10306 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10307 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10308
10309 2015-10-19 Josh Stone <jistone@redhat.com>
10310
10311 * gdb.base/catch-syscall.c: Include <sched.h>.
10312 (unknown_syscall): New variable.
10313 (main): Trigger a vfork and an unknown syscall.
10314 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10315 (unknown_syscall_number): Likewise.
10316 (check_call_to_syscall): Accept an optional syscall pattern.
10317 (check_return_from_syscall): Likewise.
10318 (check_continue): Likewise.
10319 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10320 (test_catch_syscall_skipping_return): New test toggling off 'catch
10321 syscall' to step over the syscall return, then toggling back on.
10322 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10323 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10324 (do_syscall_tests): Call test_catch_syscall_without_args and
10325 test_catch_syscall_mid_vfork.
10326 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10327 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10328
10329 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10330
10331 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10332 print g_vE): Add new pass patterns.
10333 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10334 print various symbol names for vptr fields.
10335
10336 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10337
10338 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10339 results.
10340
10341 2015-10-12 Yao Qi <yao.qi@linaro.org>
10342
10343 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10344
10345 2015-10-12 Yao Qi <yao.qi@linaro.org>
10346
10347 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10348 is aarch64*-*-linux*.
10349
10350 2015-10-12 Yao Qi <yao.qi@linaro.org>
10351
10352 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10353 (can_relocate_bcond_true): ... it.
10354 (can_relocate_bcond_false): New function.
10355 (foo): Likewise.
10356 (can_relocate_bl): Likewise.
10357 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10358 can_relocate_bl.
10359
10360 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10361
10362 * gdb.base/nested-addr.c: New file.
10363 * gdb.base/nested-addr.exp: New testcase.
10364
10365 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10366
10367 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10368 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10369 its output. Ignore the output of "record goto begin" and instead
10370 check that GDB is replaying.
10371
10372 2015-10-09 Pedro Alves <palves@redhat.com>
10373
10374 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10375 (top level): Use it in the run with no args test.
10376
10377 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10378
10379 * gdb.dlang/properties.exp: New file.
10380
10381 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10382
10383 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10384 whether or not address 0x1000 is mapped on the target.
10385
10386 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10387
10388 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10389 build.
10390
10391 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10392
10393 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10394 instruction-history test.
10395
10396 2015-09-28 Doug Evans <dje@google.com>
10397
10398 * gdb.base/gcore.c (array_func): Add reference to static_array.
10399
10400 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10401
10402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10403 source line.
10404
10405 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10406
10407 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10408 short or char as base type.
10409
10410 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10411
10412 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10413 to allow any size enum.
10414
10415 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10416
10417 * gdb.ada/array_ptr_renaming.exp: New testcase.
10418 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10419 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10420
10421 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10422
10423 * gdb.trace/ftrace-lock.c: New file.
10424 * gdb.trace/ftrace-lock.exp: New file.
10425
10426 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10427
10428 * gdb.arch/insn-reloc.c: New file.
10429 * gdb.arch/ftrace-insn-reloc.exp: New file.
10430
10431 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10432
10433 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10434 instruction.
10435 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10436 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10437 * gdb.trace/range-stepping.c: Likewise.
10438 * gdb.trace/trace-break.c: Likewise.
10439 * gdb.trace/trace-mt.c (thread_function): Likewise.
10440 * gdb.trace/ftrace.c (marker): Likewise.
10441 * gdb.trace/trace-condition.c (marker): Likewise.
10442 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10443 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10444 is_aarch64_target.
10445
10446 2015-09-18 Doug Evans <xdje42@gmail.com>
10447
10448 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10449 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10450
10451 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10452
10453 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10454 the breakpoint.
10455
10456 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10457
10458 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10459 the pending breakpoint. Remove timeout override for "Run till
10460 MI pending breakpoint on pendfunc3 on thread 2" test.
10461
10462 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10463
10464 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10465 filename pattern.
10466
10467 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10468
10469 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10470 in breakpoint filename pattern.
10471
10472 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10473
10474 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10475
10476 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10477
10478 * gdb.linespec/explicit.exp: Check for readline support for
10479 tab-completion tests. Fix obvious typo.
10480
10481 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10482
10483 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10484 and replay.
10485
10486 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10487
10488 * gdb.btrace/non-stop.c: New.
10489 * gdb.btrace/non-stop.exp: New.
10490
10491 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10492 Yao Qi <yao.qi@linaro.org>
10493
10494 * gdb.trace/trace-condition.c: New file.
10495 * gdb.trace/trace-condition.exp: New file.
10496
10497 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10498
10499 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10500 for testing bytecode compilation.
10501
10502 2015-09-16 Pedro Alves <palves@redhat.com>
10503 Sandra Loosemore <sandra@codesourcery.com>
10504
10505 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10506 (SECONDS): Redefine.
10507 (main): Call pthread_kill and alarm early.
10508 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10509 support.
10510 (test): If the target can't hardware step and doesn't support
10511 displaced stepping, increase the timeout.
10512
10513 2015-09-16 Pedro Alves <palves@redhat.com>
10514
10515 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10516 (enable_debug): New procedures.
10517 (test): Use them. Bail out if waiting for threads fails.
10518 (top level): Bail out if a test fails.
10519
10520 2015-09-16 Yao Qi <yao.qi@linaro.org>
10521
10522 * gdb.asm/asm-source.exp: Set asm-arch for
10523 aarch64*-*-* target.
10524 * gdb.asm/aarch64.inc: New file.
10525
10526 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10527
10528 * gdb.ada/array_of_variable_length.exp: New testcase.
10529 * gdb.ada/array_of_variable_length/foo.adb: New file.
10530 * gdb.ada/array_of_variable_length/pck.adb: New file.
10531 * gdb.ada/array_of_variable_length/pck.ads: New file.
10532
10533 2015-09-15 Doug Evans <dje@google.com>
10534
10535 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10536 of function static local variable.
10537
10538 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10539
10540 * gdb.threads/tls-so_extern.exp: New test file.
10541 * gdb.threads/tls-so_extern.c: New test file.
10542 * gdb.threads/tls-so_extern_main.c: New test file.
10543
10544 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10545
10546 * gdb.opt/solib-intra-step-lib.c: New file.
10547 * gdb.opt/solib-intra-step-main.c: New file.
10548 * gdb.opt/solib-intra-step.exp: New file.
10549
10550 2015-09-15 Pedro Alves <palves@redhat.com>
10551
10552 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10553 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10554
10555 2015-09-14 Pedro Alves <palves@redhat.com>
10556
10557 * gdb.base/hook-stop-continue.c: Delete.
10558 * gdb.base/hook-stop-continue.exp: Delete.
10559 * gdb.base/hook-stop-frame.c: Delete.
10560 * gdb.base/hook-stop-frame.exp: Delete.
10561 * gdb.base/hook-stop.c: New file.
10562 * gdb.base/hook-stop.exp: New file.
10563
10564 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10565
10566 * gdb.ada/access_to_packed_array.exp: New testcase.
10567 * gdb.ada/access_to_packed_array/foo.adb: New file.
10568 * gdb.ada/access_to_packed_array/pack.adb: New file.
10569 * gdb.ada/access_to_packed_array/pack.ads: New file.
10570
10571 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10572
10573 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10574 buffer size test.
10575
10576 2015-09-11 Don Breazeal <donb@codesourcery.com>
10577
10578 * gdb.base/foll-exec.c: Add copyright header. Fix
10579 formatting issues.
10580 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10581 (do_exec_tests): Use clean_restart in place of zap_session,
10582 and for test initialization. Fix formatting issues. Use
10583 fail in place of perror.
10584 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10585 an expect statement to match an expression with output from
10586 the program under debug.
10587 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10588 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10589 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10590 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10591 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10592
10593 2015-09-09 Doug Evans <dje@google.com>
10594
10595 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10596
10597 2015-09-09 Doug Evans <dje@google.com>
10598
10599 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10600
10601 2015-09-09 Doug Evans <dje@google.com>
10602
10603 * gdb.base/savedregs.exp: Fix typo.
10604
10605 2015-09-09 Pedro Alves <palves@redhat.com>
10606
10607 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10608
10609 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10610
10611 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10612 command actually switches threads. Give up on remaining
10613 tests if target fails to stop at breakpoint.
10614
10615 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10616
10617 * gdb.ada/funcall_char.exp: New testcase.
10618 * gdb.ada/funcall_char/foo.adb: New file.
10619
10620 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10621
10622 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10623 expected outputs. Add two testcases for completing ambiguous
10624 functions.
10625 * gdb.ada/complete/aux_pck.adb: New file.
10626 * gdb.ada/complete/aux_pck.ads: New file.
10627 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10628 Ambiguous_Func functions.
10629 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10630 * gdb.ada/complete/pck.adb: Likewise.
10631
10632 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10633
10634 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10635 failures to run the test program under GDB.
10636
10637 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10638
10639 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10640 to C.
10641
10642 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10643
10644 * gdb.base/run-after-attach.exp: New test file.
10645 * gdb.base/run-after-attach.c: New test file.
10646
10647 2015-08-26 Don Breazeal <donb@codesourcery.com>
10648
10649 * gdb.base/foll-exec-2.c: New test program.
10650 * gdb.base/foll-exec-2.exp: New test.
10651
10652 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10653
10654 * gdb.base/nested-subp1.exp: New file.
10655 * gdb.base/nested-subp1.c: New file.
10656 * gdb.base/nested-subp2.exp: New file.
10657 * gdb.base/nested-subp2.c: New file.
10658 * gdb.base/nested-subp3.exp: New file.
10659 * gdb.base/nested-subp3.c: New file.
10660
10661 2015-08-24 Pedro Alves <palves@redhat.com>
10662
10663 * gdb.server/connect-without-multi-process.c: New file.
10664 * gdb.server/connect-without-multi-process.exp: New file.
10665
10666 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10667
10668 * gdb.opt/inline-markers.c: Make z int.
10669
10670 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10671
10672 * gdb.opt/inline-markers.c: Make z volatile.
10673
10674 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10675
10676 * gdb.opt/inline-bt.c: New volatile global z.
10677 * gdb.opt/inline-cmds.c: Likewise.
10678 * gdb.opt/inline-locals.c: Likewise.
10679 * gdb.opt/inline-markers.c: New extern global z.
10680 (marker): Use z.
10681 (inline_fn): Likewise.
10682
10683 2015-08-24 Pedro Alves <palves@redhat.com>
10684
10685 * config/m32r-stub.exp: Remove file.
10686 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10687 * gdb.base/call-rt-st.exp: Likewise.
10688 * gdb.base/call-strs.exp: Likewise.
10689 * gdb.base/default.exp: Remove references to h8300-*-hms and
10690 *-*-udi*.
10691 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10692
10693 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10694
10695 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10696 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10697 and "return" use KFAIL when GDB can not read/write the vector
10698 return value.
10699
10700 2015-08-21 Gary Benson <gbenson@redhat.com>
10701
10702 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10703
10704 2015-08-20 Pedro Alves <palves@redhat.com>
10705
10706 * gdb.server/solib-list.exp: No longer expect an interior stop in
10707 non-stop mode.
10708
10709 2015-08-20 Pedro Alves <palves@redhat.com>
10710
10711 * gdb.server/connect-stopped-target.c: New file.
10712 * gdb.server/connect-stopped-target.exp: New file.
10713
10714 2015-08-20 Pedro Alves <palves@redhat.com>
10715
10716 * gdb.dwarf2/comp-unit-lang.exp: New file.
10717 * gdb.dwarf2/comp-unit-lang.c: New file.
10718
10719 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10720
10721 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10722 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10723
10724 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10725
10726 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10727 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10728
10729 2015-08-18 Doug Evans <dje@google.com>
10730 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10731
10732 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10733 skip_python_tests. New arg prompt_regexp.
10734 (skip_python_tests): New function.
10735 * lib/mi-support.exp (mi_skip_python_tests): New function.
10736 * gdb.python/py-mi-objfile-gdb.py: New file.
10737 * gdb.python/py-mi-objfile.c: New file.
10738 * gdb.python/py-mi-objfile.exp: New file.
10739
10740 2015-08-17 Keith Seitz <keiths@redhat.com>
10741
10742 * gdb.linespec/explicit.exp: Move strace test from here ...
10743 * gdb.trace/strace.exp: ... to here.
10744
10745 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10746
10747 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10748 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10749
10750 2015-08-14 Doug Evans <xdje42@gmail.com>
10751
10752 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10753 inferior before selecting a new file.
10754
10755 2015-08-14 Doug Evans <xdje42@gmail.com>
10756
10757 * gdb.mi/mi-disassemble.exp: Update.
10758 * gdb.base/disasm-optim.S: New file.
10759 * gdb.base/disasm-optim.c: New file.
10760 * gdb.base/disasm-optim.h: New file.
10761 * gdb.base/disasm-optim.exp: New file.
10762
10763 2015-08-14 Keith Seitz <keiths@redhat.com>
10764
10765 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10766 "evaluated-by".
10767
10768 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10769
10770 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10771
10772 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10773
10774 * gdb.ada/fun_renaming.exp: New testcase.
10775 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10776 * gdb.ada/fun_renaming/pack.adb: New file.
10777 * gdb.ada/fun_renaming/pack.ads: New file.
10778
10779 2015-08-12 Keith Seitz <keiths@redhat.com>
10780
10781 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10782 gdb_get_line_number.
10783
10784 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10785
10786 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10787 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10788 gdb.base/dso2dso.exp: New files.
10789
10790 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10791 Pedro Alves <palves@redhat.com>
10792 Keith Seitz <keiths@redhat.com>
10793
10794 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10795 GDBFLAGS.
10796
10797 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10798
10799 * gdb.base/gdbhistsize-history.exp
10800 (test_histsize_history_setting): Use save_vars.
10801 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10802 Use save_vars.
10803 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10804 * gdb.base/readline.exp: Use save_vars.
10805
10806 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10807
10808 * lib/gdb.exp (save_vars): New proc.
10809
10810 2015-08-11 Keith Seitz <keiths@redhat.com>
10811
10812 * gdb.base/help.exp: Update help_breakpoint_text.
10813
10814 2015-08-11 Keith Seitz <keiths@redhat.com>
10815
10816 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10817 (at toplevel): Call test_explicit_breakpoints.
10818 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10819 breakpoints.
10820 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10821 breakpoint conditions, "-cond".
10822
10823 2015-08-11 Keith Seitz <keiths@redhat.com>
10824
10825 * gdb.linespec/3explicit.c: New file.
10826 * gdb.linespec/cpexplicit.cc: New file.
10827 * gdb.linespec/cpexplicit.exp: New file.
10828 * gdb.linespec/explicit.c: New file.
10829 * gdb.linespec/explicit.exp: New file.
10830 * gdb.linespec/explicit2.c: New file.
10831 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10832 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10833 before using in the matching pattern.
10834 Clarify that `prefix' is a regular expression.
10835
10836 2015-08-11 Keith Seitz <keiths@redhat.com>
10837
10838 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10839 test.
10840 Add tests for missing ",FMT" and ",".
10841
10842 2015-08-10 Doug Evans <dje@google.com>
10843 Keith Seitz <keiths@redhat.com>
10844
10845 PR gdb/17960
10846 * gdb.base/completion.exp: Add location completer tests.
10847
10848 2015-08-07 Pedro Alves <palves@redhat.com>
10849
10850 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10851 tests here.
10852 (top level): Run do_test with and without displaced stepping.
10853
10854 2015-08-07 Pedro Alves <palves@redhat.com>
10855
10856 * gdb.base/valgrind-disp-step.c: New file.
10857 * gdb.base/valgrind-disp-step.exp: New file.
10858
10859 2015-08-07 Pedro Alves <palves@redhat.com>
10860
10861 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10862 Delete function.
10863 (main): Add alarm. Run an infinite loop instead of calling
10864 wait_threads.
10865 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10866 comment.
10867 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10868 Delete function.
10869 (main): Add alarm. Run an infinite loop instead of calling
10870 wait_threads.
10871 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10872 comment.
10873
10874 2015-08-07 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.base/checkpoint-ns.exp: New file.
10877 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10878 standard_testfile.
10879
10880 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10881
10882 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10883 * gdb.btrace/instruction_history.exp: Update.
10884 * gdb.btrace/tsx.exp: New.
10885 * gdb.btrace/tsx.c: New.
10886
10887 2015-08-06 Pedro Alves <palves@redhat.com>
10888
10889 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10890 increase timeout.
10891 * gdb.reverse/until-precsave.exp: Bump timeouts.
10892
10893 2015-08-06 Pedro Alves <palves@redhat.com>
10894
10895 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10896
10897 2015-08-06 Pedro Alves <palves@redhat.com>
10898
10899 PR gdb/18749
10900 * gdb.threads/process-dies-while-handling-bp.c: New file.
10901 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10902
10903 2015-08-06 Pedro Alves <palves@redhat.com>
10904
10905 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10906 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10907
10908 2015-08-05 Pedro Alves <palves@redhat.com>
10909
10910 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10911 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10912
10913 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10914
10915 * gdb.base/bp-permanent.exp: Report test as unsupported if
10916 the target cannot stop at the permanent breakpoint.
10917
10918 2015-08-03 Doug Evans <dje@google.com>
10919
10920 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10921 10000.
10922
10923 2015-08-03 Doug Evans <dje@google.com>
10924
10925 * Makefile.in (workers/%.worker, build-perf): New rule.
10926 (GDB_PERFTEST_MODE): New variable.
10927 (check-perf): Use it.
10928 (clean): Clean up gdb.perf parallel build subdirs.
10929 * lib/build-piece.exp: New file.
10930 * lib/gdb.exp (make_gdb_parallel_path): New function
10931 (standard_output_file, standard_temp_file): Call it.
10932 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10933 of $GDB_PARALLEL.
10934 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10935
10936 2015-08-03 Doug Evans <dje@google.com>
10937
10938 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10939 (LOG_FILE_NAME): New global.
10940 (TextReporter.__init__): Initialize self.txt_sum.
10941 (TextReporter.report): Add support for multiple data-points.
10942 Move report to perftest.sum, put raw data in perftest.log.
10943 (TextReporter.start): Open sum and log files.
10944 (TextReporter.end): Close sum and log files.
10945 * gdb.perf/lib/perftest/testresult.py
10946 (SingleStatisticTestResult.record): Handle multiple data-points.
10947
10948 2015-07-31 Pedro Alves <palves@redhat.com>
10949
10950 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10951 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10952 kill_wait_spawned_process instead of explicit "kill -9".
10953 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10954 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10955 kill_wait_spawned_process.
10956 * gdb.base/attach-twice.exp: Likewise.
10957 * gdb.base/attach.exp: Likewise.
10958 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10959 gdb_test_multiple.
10960 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10961 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10962 kill_wait_spawned_process.
10963 * gdb.base/valgrind-infcall.exp: Likewise.
10964 * gdb.multi/multi-attach.exp: Likewise.
10965 * gdb.python/py-prompt.exp: Likewise.
10966 * gdb.python/py-sync-interp.exp: Likewise.
10967 * gdb.server/ext-attach.exp: Likewise.
10968 * gdb.threads/attach-into-signal.exp (corefunc): Use
10969 spawn_wait_for_attach, spawn_id_get_pid and
10970 kill_wait_spawned_process.
10971 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10972 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10973 spawn_id_get_pid and kill_wait_spawned_process.
10974 * gdb.threads/attach-stopped.exp (corefunc): Use
10975 spawn_wait_for_attach, spawn_id_get_pid and
10976 kill_wait_spawned_process.
10977 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10978 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10979 kill_wait_spawned_process instead of explicit "kill -9".
10980 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10981 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10982 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10983 processes. Don't map cygwin/windows pids here. Now returns a
10984 spawn id list.
10985
10986 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10987
10988 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10989 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10990 correct patch.
10991
10992 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10993
10994 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10995
10996 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10997
10998 Reapply:
10999 2014-05-21 Mark Wielaard <mjw@redhat.com>
11000
11001 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11002
11003 2015-07-30 Pedro Alves <palves@redhat.com>
11004
11005 * linux-low.c (handle_extended_wait): Set the child's last
11006 reported status to TARGET_WAITKIND_STOPPED.
11007
11008 2015-07-30 Pedro Alves <palves@redhat.com>
11009
11010 PR threads/18600
11011 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11012 only shows inferior 1.
11013
11014 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11015 Pedro Alves <palves@redhat.com>
11016
11017 PR threads/18600
11018 * gdb.threads/fork-plus-threads.c: New file.
11019 * gdb.threads/fork-plus-threads.exp: New file.
11020
11021 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11022
11023 * gdb.base/batch-preserve-term-settings.exp
11024 (test_terminal_settings_preserved_after_cli_exit): Use
11025 send_quit_command.
11026
11027 2015-07-29 Pedro Alves <palves@redhat.com>
11028 Don Breazeal <donb@codesourcery.com>
11029
11030 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11031 output from both inferior_spawn_id and gdb_spawn_id.
11032
11033 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11034
11035 * gdb.threads/attach-into-signal.exp (corefunc): Use
11036 with_test_prefix on nested loops, uniquefying the test messages.
11037
11038 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11039
11040 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11041 commit.
11042
11043 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11044
11045 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11046 New proc.
11047 (test_terminal_settings_preserved_after_sigterm): New test.
11048
11049 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11050
11051 * gdb.base/batch-preserve-term-settings.exp
11052 (test_terminal_settings_preserved_after_cli_exit): New test.
11053
11054 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11055
11056 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11057 manipulation of saved_gdbflags.
11058 (test_terminal_settings_preserved): Remove global declaration of
11059 the unused variable pagination_prompt. Remove manipulation of
11060 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11061 GDBFLAGS.
11062
11063 2015-07-29 Pedro Alves <palves@redhat.com>
11064
11065 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11066
11067 2015-07-29 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11070 at the top.
11071
11072 2015-07-29 Pedro Alves <palves@redhat.com>
11073
11074 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11075 (main): Call gdb_unbuffer_output.
11076 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11077 (main): Call gdb_unbuffer_output.
11078 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11079 (main): Call gdb_unbuffer_output.
11080 * gdb.base/call-strs.exp: Adjust to step over the
11081 gdb_unbuffer_output call.
11082 * gdb.base/catch-gdb-caused-signals.c: Include
11083 "../lib/unbuffer_output.c".
11084 (main): Call gdb_unbuffer_output.
11085 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11086 (main): Call gdb_unbuffer_output.
11087 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11088 (main): Call gdb_unbuffer_output.
11089 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11090 (main): Call gdb_unbuffer_output.
11091 * gdb.base/shlib-call.exp: Adjust to step over the
11092 gdb_unbuffer_output call.
11093 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11094 (main): Call gdb_unbuffer_output.
11095 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11096 (main): Call gdb_unbuffer_output.
11097 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11098 (main): Rename to ...
11099 (test): ... this.
11100 (main): Reimplement.
11101 * gdb.base/varargs.exp: Run to test instead of to main.
11102 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11103 (main): Call gdb_unbuffer_output.
11104
11105 2015-07-29 Pedro Alves <palves@redhat.com>
11106
11107 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11108 factore out from mi_continue_dprintf. For call-style dprintfs,
11109 expect dprintf output out of $inferior_spawn_id.
11110 (mi_continue_dprintf): Use mi_expect_dprintf.
11111 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11112 (main): Call gdb_unbuffer_output.
11113
11114 2015-07-29 Pedro Alves <palves@redhat.com>
11115
11116 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11117 (default_mi_gdb_start): Set inferior_spawn_id instead of
11118 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11119 gdb_spawn_id.
11120 (mi_gdb_test): Always expect inferior output from both
11121 $inferior_spawn_id and $gdb_spawn_id.
11122
11123 2015-07-29 Pedro Alves <palves@redhat.com>
11124
11125 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11126 send_inferior and $inferior_spawn_id.
11127
11128 2015-07-29 Pedro Alves <palves@redhat.com>
11129
11130 * gdb.gdb/complaints.exp (test_initial_complaints)
11131 (test_serial_complaints, test_short_complaints): Use
11132 gdb_test_stdio.
11133 (test_empty_complaint): Handle $inferior_spawn_id !=
11134 $gdb_spawn_id.
11135
11136 2015-07-29 Pedro Alves <palves@redhat.com>
11137
11138 * gdb.base/varargs.exp: Use gdb_test_stdio.
11139
11140 2015-07-29 Pedro Alves <palves@redhat.com>
11141
11142 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11143
11144 2015-07-29 Pedro Alves <palves@redhat.com>
11145
11146 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11147
11148 2015-07-29 Pedro Alves <palves@redhat.com>
11149
11150 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11151 parameter into two new parameters, "inf_result" and "gdb_result".
11152 Expect inferior output and gdb output from $inferior_spawn_id and
11153 $gdb_spawn_id, respectively. Adjust all callers.
11154
11155 2015-07-29 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11158 of gdb_test_sequence.
11159
11160 2015-07-29 Pedro Alves <palves@redhat.com>
11161
11162 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11163 (saw_spurious_output): Expect inferior output from
11164 $inferior_spawn_id. Use gdb_test_stdio.
11165
11166 2015-07-29 Pedro Alves <palves@redhat.com>
11167
11168 * gdb.base/dprintf.exp: Use standard_testfile. Change
11169 prepare_for_testing call.
11170 (srcfile): Don't set.
11171 (restart): New procedure.
11172 (test_dprintf): New procecure, use to continue over dprintfs.
11173 (test_call, test_agent): New procedures, tests moved here.
11174 Restart gdb and recreate dprintfs. Adjust expected output.
11175
11176 2015-07-29 Pedro Alves <palves@redhat.com>
11177
11178 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11179
11180 2015-07-29 Pedro Alves <palves@redhat.com>
11181
11182 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11183
11184 2015-07-29 Pedro Alves <palves@redhat.com>
11185
11186 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11187 gdb_test_stdio.
11188
11189 2015-07-29 Pedro Alves <palves@redhat.com>
11190
11191 * lib/gdb.exp (gdb_test_stdio): New procedure.
11192
11193 2015-07-29 Pedro Alves <palves@redhat.com>
11194
11195 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11196
11197 2015-07-29 Pedro Alves <palves@redhat.com>
11198
11199 * gdb.base/call-signal-resume.exp: Remove check for
11200 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11201 * gdb.base/unwindonsignal.exp: Likewise.
11202 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11203 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11204
11205 2015-07-29 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.base/siginfo-addr.c (pass): New function.
11208 (handler): Call it iff si_addr is correct.
11209 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11210 Set a breakpoint at "pass" and continue to it.
11211
11212 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11213
11214 * gdb.python/py-objfile.exp: Make some tests have unique names.
11215 * gdb.python/py-pp-registration.exp: Likewise.
11216
11217 2015-07-28 Pedro Alves <palves@redhat.com>
11218
11219 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11220
11221 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11222
11223 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11224
11225 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11226
11227 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11228
11229 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11230
11231 * gdb.base/gdb-sigterm-2.exp: New test.
11232
11233 2015-07-25 Doug Evans <xdje42@gmail.com>
11234
11235 Revert:
11236 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11237 (workers/%.worker, build-perf): New rule.
11238 (GDB_PERFTEST_MODE): New variable.
11239 (check-perf): Use it.
11240 (clean): Clean up gdb.perf parallel build subdirs.
11241 * lib/build-piece.exp: New file.
11242 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11243 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11244 name.
11245 (standard_temp_file): Ditto.
11246 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11247 of $GDB_PARALLEL.
11248
11249 2015-07-24 Doug Evans <dje@google.com>
11250
11251 * gdb.perf/lib/perftest/utils.py: New file.
11252 * gdb.perf/gm-hello.cc: New file.
11253 * gdb.perf/gm-pervasive-typedef.cc: New file.
11254 * gdb.perf/gm-pervasive-typedef.h: New file.
11255 * gdb.perf/gm-std.cc: New file.
11256 * gdb.perf/gm-std.h: New file.
11257 * gdb.perf/gm-use-cerr.cc: New file.
11258 * gdb.perf/gm-utils.h: New file.
11259 * gdb.perf/gmonster-null-lookup.py: New file.
11260 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11261 * gdb.perf/gmonster-print-cerr.py: New file.
11262 * gdb.perf/gmonster-ptype-string.py: New file.
11263 * gdb.perf/gmonster-runto-main.py: New file.
11264 * gdb.perf/gmonster-select-file.py: New file.
11265 * gdb.perf/gmonster1-null-lookup.exp: New file.
11266 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11267 * gdb.perf/gmonster1-print-cerr.exp: New file.
11268 * gdb.perf/gmonster1-ptype-string.exp: New file.
11269 * gdb.perf/gmonster1-runto-main.exp: New file.
11270 * gdb.perf/gmonster1-select-file.exp: New file.
11271 * gdb.perf/gmonster1.cc: New file.
11272 * gdb.perf/gmonster1.exp: New file.
11273 * gdb.perf/gmonster2-null-lookup.exp: New file.
11274 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11275 * gdb.perf/gmonster2-print-cerr.exp: New file.
11276 * gdb.perf/gmonster2-ptype-string.exp: New file.
11277 * gdb.perf/gmonster2-runto-main.exp: New file.
11278 * gdb.perf/gmonster2-select-file.exp: New file.
11279 * gdb.perf/gmonster2.cc: New file.
11280 * gdb.perf/gmonster2.exp: New file.
11281
11282 2015-07-24 Doug Evans <dje@google.com>
11283
11284 * gdb.perf/README: New file.
11285 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11286 * lib/gen-perf-test.exp: New file.
11287
11288 2015-07-24 Doug Evans <dje@google.com>
11289
11290 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11291 (PerfTest::startup): New function.
11292 (PerfTest::run): Return result of calling body.
11293 (PerfTest::assemble): Rewrite.
11294 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11295 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11296 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11297 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11298 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11299
11300 2015-07-24 Doug Evans <dje@google.com>
11301
11302 * lib/gdb.exp (clean_restart): Make executable optional.
11303
11304 2015-07-24 Doug Evans <dje@google.com>
11305
11306 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11307 compiler_info references.
11308 * gdb.cp/temargs.exp: Ditto.
11309 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11310 (get_compiler_info): Early exit if already computed. Set compiler_info
11311 to "unknown" if there was a problem.
11312 (test_compiler_info): Add function comment. Call get_compiler_info.
11313
11314 2015-07-24 Doug Evans <dje@google.com>
11315
11316 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11317 (workers/%.worker, build-perf): New rule.
11318 (GDB_PERFTEST_MODE): New variable.
11319 (check-perf): Use it.
11320 (clean): Clean up gdb.perf parallel build subdirs.
11321 * lib/build-piece.exp: New file.
11322 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11323 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11324 name.
11325 (standard_temp_file): Ditto.
11326 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11327 of $GDB_PARALLEL.
11328
11329 2015-07-24 Doug Evans <dje@google.com>
11330
11331 * lib/future.exp (gdb_default_target_compile): New option
11332 "early_flags".
11333 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11334 --as-needed.
11335
11336 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11337
11338 * gdb.base/catch-syscall.exp: Call gdb_exit before
11339 gdb_skip_xml_test.
11340
11341 2015-07-24 Pedro Alves <palves@redhat.com>
11342
11343 * gdb.python/py-events.exp: Accept output between the stop event
11344 and the prompt.
11345 * gdb.python/py-evsignal.exp: Likewise.
11346 * gdb.python/py-evthreads.exp: Likewise.
11347
11348 2015-07-24 Pedro Alves <palves@redhat.com>
11349
11350 PR gdb/18717
11351 * gdb.threads/non-ldr-exit.c: New file.
11352 * gdb.threads/non-ldr-exit.exp: New file.
11353
11354 2015-07-24 Yao Qi <yao.qi@linaro.org>
11355
11356 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11357 restarting process.
11358
11359 2015-07-24 Yao Qi <yao.qi@linaro.org>
11360
11361 * gdb.server/ext-restart.exp: New file.
11362
11363 2015-07-24 Yao Qi <yao.qi@linaro.org>
11364
11365 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11366 argument options.
11367 * gdb.server/ext-wrapper.exp: New file.
11368
11369 2015-07-23 Doug Evans <dje@google.com>
11370
11371 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11372 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11373
11374 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11375
11376 * gdb.ada/var_arr_typedef.exp: New testcase.
11377 * gdb.ada/var_arr_typedef/pack.adb: New file.
11378 * gdb.ada/var_arr_typedef/pack.ads: New file.
11379 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11380
11381 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11382
11383 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11384
11385 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 * gdb.arch/i386-biarch-core.exp: Replace istarget
11388 by "complete set gnutarget". Remove expectation for the "core-file"
11389 command.
11390
11391 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11392
11393 Revert the previous commit:
11394 Tests for validate symbol file using build-id.
11395
11396 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11397
11398 Tests for validate symbol file using build-id.
11399 * gdb.base/solib-mismatch-lib.c: New file.
11400 * gdb.base/solib-mismatch-libmod.c: New file.
11401 * gdb.base/solib-mismatch.c: New file.
11402 * gdb.base/solib-mismatch.exp: New file.
11403
11404 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11405
11406 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11407 nios2-*-linux*.
11408 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11409 * gdb.base/siginfo.exp: Likewise.
11410 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11411
11412 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11413
11414 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11415 Move it to ...
11416 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11417 ... here.
11418 * gdb.trace/range-stepping.exp: Check that the target supports
11419 range stepping.
11420
11421 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11422
11423 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11424
11425 2015-07-14 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.base/killed-outside.exp: New file.
11428 * gdb.base/killed-outside.c: New file.
11429
11430 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11433 (n at main): New.
11434 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11435
11436 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11437
11438 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11439 infcall tests instead of setting up for KFAIL.
11440
11441 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11442
11443 * gdb.btrace/record_goto-step.exp: New.
11444
11445 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 PR compile/18484
11448 * gdb.compile/compile.c (struct struct_type): Add volatile to
11449 selffield's type.
11450 * gdb.compile/compile.exp
11451 (compile code struct_object.selffield = &struct_object): Skip further
11452 struct_object tests if this one xfails.
11453
11454 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11455
11456 PR exp/18617
11457 * gdb.trace/ax.exp: Add test.
11458
11459 2015-07-07 Yao Qi <yao.qi@linaro.org>
11460
11461 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11462 instead of istarget "aarch64*-*-*".
11463 * gdb.arch/aarch64-fp.exp: Likewise.
11464 * gdb.base/float.exp: Likewise.
11465 * gdb.reverse/aarch64.exp: Likewise.
11466 * lib/gdb.exp (is_aarch64_target): New proc.
11467
11468 2015-07-07 Yao Qi <yao.qi@linaro.org>
11469
11470 * lib/gdb.exp (is_aarch32_target): New proc.
11471 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11472 instead of "istarget "arm*-*-*"".
11473 * gdb.arch/arm-disp-step.exp: Likewise.
11474 * gdb.arch/thumb-bx-pc.exp: Likewise.
11475 * gdb.arch/thumb-prologue.exp: Likewise.
11476 * gdb.arch/thumb-singlestep.exp: Likewise.
11477 * gdb.base/disp-step-syscall.exp: Likewise.
11478 * gdb.base/float.exp: Likewise.
11479
11480 2015-07-07 Yao Qi <yao.qi@linaro.org>
11481
11482 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11483 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11484
11485 2015-07-07 Yao Qi <yao.qi@linaro.org>
11486
11487 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11488 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11489 if it exists.
11490 * gdb.multi/multi-arch.exp: Likewise.
11491
11492 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11493
11494 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11495 print.
11496
11497 2015-07-07 Yao Qi <yao.qi@linaro.org>
11498
11499 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11500
11501 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11502
11503 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11504 '[' and ']' characters.
11505
11506 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11507
11508 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11509
11510 2015-06-29 Pedro Alves <palves@redhat.com>
11511
11512 PR threads/18127
11513 * gdb.threads/hand-call-new-thread.c: New file.
11514 * gdb.threads/hand-call-new-thread.c: New file.
11515
11516 2015-06-26 Keith Seitz <keiths@redhat.com>
11517 Doug Evans <dje@google.com>
11518
11519 PR 16253
11520 * gdb.cp/var-tag-2.cc: New file.
11521 * gdb.cp/var-tag-3.cc: New file.
11522 * gdb.cp/var-tag-4.cc: New file.
11523 * gdb.cp/var-tag.cc: New file.
11524 * gdb.cp/var-tag.exp: New file.
11525
11526 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11527
11528 * gdb.base/history-duplicates.exp: New test.
11529
11530 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11531
11532 * gdb.base/completion.exp: Test the completion of the "focus"
11533 command.
11534
11535 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11536
11537 * gdb.arch/amd64-prologue-skip.S: New file.
11538 * gdb.arch/amd64-prologue-skip.exp: New file.
11539
11540 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11541
11542 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11543 is_address_zero_readable check.
11544
11545 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11546
11547 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11548 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11549
11550 2015-06-24 Yao Qi <yao.qi@linaro.org>
11551
11552 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11553 linux targets.
11554
11555 2015-06-24 Yao Qi <yao.qi@linaro.org>
11556
11557 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11558 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11559 * gdb.base/siginfo-thread.exp: Likewise.
11560
11561 2015-06-22 Yao Qi <yao.qi@linaro.org>
11562
11563 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11564
11565 2015-06-22 Yao Qi <yao.qi@linaro.org>
11566
11567 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11568 aarch64*-*-*.
11569 (skip_hw_watchpoint_tests): Likewise.
11570
11571 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11572
11573 * gdb.base/gdbinit-history.exp: Test the interaction between
11574 setting GDBHISTSIZE and setting the history size via .gdbinit.
11575
11576 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11577
11578 PR gdb/16999
11579 * gdb.base/gdbhistsize-history.exp: New test.
11580
11581 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11582
11583 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11584 with GDBHISTSIZE.
11585 * gdb.base/readline.exp: Likewise.
11586
11587 2015-06-17 Yao Qi <yao.qi@linaro.org>
11588
11589 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11590 line.
11591
11592 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11593
11594 * gdb.base/gdbinit-history.exp: Add test case to check that
11595 an unlimited history file does not get truncated on exit.
11596
11597 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11598
11599 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11600 (VECTOR): New macro. Use it...
11601 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11602 ...for these typedefs.
11603 (int8, char1, int1, double1): New typedefs.
11604 (struct just_int2, struct two_int2): New structures.
11605 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11606 (add_structvecs, add_singlevecs): New functions.
11607 (main): Call add_some_intvecs twice.
11608 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11609 the compile and exit upon failure. Try compiling for the "native"
11610 architecture. Test inferior function calls with vector arguments
11611 and vector return value handling with "finish" and "return".
11612
11613 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11614
11615 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11616 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11617 PE file.
11618 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11619
11620 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11621
11622 PR breakpoints/16465
11623 * gdb.mi/mi-dprintf-pending.c: New file.
11624 * gdb.mi/mi-dprintf-pending.exp: New test.
11625 * gdb.mi/mi-dprintf-pendshr.c: New file.
11626
11627 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11628 Mircea Gherzan <mircea.gherzan@intel.com>
11629
11630 * gdb.arch/i386-mpx-map.c: New file.
11631 * gdb.arch/i386-mpx-map.exp: New File.
11632
11633 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11634
11635 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11636 * gdb.arch/i386-mpx.exp: Indentation fixed.
11637
11638 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11639
11640 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11641 function and improved indentation.
11642 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11643 gdb_test_multiple. Added additional tests to skip the test.
11644
11645 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11646
11647 * gdb.arch/i386-avx512.c: Change path in include file.
11648 * gdb.arch/i386-avx512.exp: Change include dir path
11649 compilation flag.
11650 * gdb.arch/i386-mpx.c: Change path in include file.
11651 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11652 flag.
11653
11654 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.compile/compile-print.exp (compile print *vararray@3)
11657 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11658
11659 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11660
11661 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11662 (do not keep jit in memory): ... this.
11663 (expect 5): Change it to ...
11664 (expect no 5): ... this.
11665
11666 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11667
11668 PR gdb/15564
11669 * gdb.mi/mi-detach.exp: New file.
11670
11671 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11672
11673 PR symtab/18392
11674 * gdb.arch/amd64-tailcall-self.S: New file.
11675 * gdb.arch/amd64-tailcall-self.c: New file.
11676 * gdb.arch/amd64-tailcall-self.exp: New file.
11677
11678 2015-05-28 Don Breazeal <donb@codesourcery.com>
11679
11680 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11681 tests for remote targets by checking is_target_gdbserver.
11682
11683 2015-05-27 Doug Evans <dje@google.com>
11684
11685 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11686 * gdb.dwarf2/opaque-type-lookup.c: New file.
11687 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11688
11689 2015-05-26 Doug Evans <dje@google.com>
11690
11691 * gdb.cp/iostream.cc: New file.
11692 * gdb.cp/iostream.exp: New file.
11693
11694 2015-05-26 Doug Evans <dje@google.com>
11695
11696 * gdb.dwarf2/dw2-op-call.exp: Update.
11697 * gdb.dwarf2/dw4-sig-types.exp: Update.
11698 * gdb.dwarf2/implptr.exp: Update.
11699 * gdb.mi/mi-cmd-param-changed.exp: Update.
11700
11701 2015-05-26 Doug Evans <dje@google.com>
11702
11703 * gdb.python/py-lazy-string.c: New file.
11704 * gdb.python/py-lazy-string.exp: New file.
11705 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11706 (main): Update. Add estring3.
11707 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11708 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11709
11710 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11711 Yao Qi <yao.qi@linaro.org>
11712
11713 * gdb.reverse/aarch64.c: New.
11714 * gdb.reverse/aarch64.exp: New.
11715
11716 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11717
11718 * lib/gdb.exp (supports_process_record): Return true for
11719 aarch64*-linux*.
11720 (supports_reverse): Likewise.
11721
11722 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11723
11724 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11725 Use with_test_prefix.
11726
11727 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11728
11729 * gdb.base/completion.exp: Add test for completion of layout
11730 names.
11731
11732 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11733
11734 * lib/gdb.exp (skip_tui_tests): New proc.
11735 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11736
11737 2015-05-19 Pedro Alves <palves@redhat.com>
11738
11739 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11740 Save the whole env array instead of just HOME. Unset HISTSIZE in
11741 the environment while testing. Restore whole environment
11742 afterwards.
11743
11744 2015-05-16 Doug Evans <xdje42@gmail.com>
11745
11746 * gdb.guile/scm-ports.c: New file.
11747 * gdb.guile/scm-ports.exp: Add memory port tests.
11748
11749 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11750
11751 * gdb.compile/compile-print.c: New file.
11752 * gdb.compile/compile-print.exp: New file.
11753
11754 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11755
11756 * gdb.compile/compile-ops.exp: Cast param to void.
11757 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11758 (compile code struct_object.selffield = &struct_object): Add xfail.
11759
11760 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11761
11762 * gdb.ada/arr_enum_with_gap: New testcase.
11763
11764 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11765
11766 * gdb.ada/byte_packed_arr: New testcase.
11767
11768 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11769
11770 * gdb.ada/pckd_neg: New testcase.
11771
11772 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11773
11774 PR gdb/17820
11775 * gdb.base/gdbinit-history.exp: New test.
11776 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11777 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11778
11779 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11780
11781 * gdb.python/py-xmethods.cc: Enhance test case.
11782 * gdb.python/py-xmethods.exp: New tests.
11783 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11784 function.
11785 (B_indexoper): Likewise.
11786 (global_dm_list) : Add new xmethod worker functions.
11787
11788 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11789
11790 * gdb.base/coredump-filter.exp: Correctly unset
11791 "coredump_var_addr" array.
11792
11793 2015-05-08 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.server/non-existing-program.exp: Unset spawn_id.
11796
11797 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11798
11799 PR python/18291
11800 * gdb.python/py-xmethods.exp: Add tests.
11801
11802 2015-05-08 Yao Qi <yao.qi@linaro.org>
11803
11804 PR gdb/18208
11805 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11806 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11807 function set_coredump_filter, and remove remote_exec call.
11808 Remove argument ipid. Callers update.
11809 (top level): Don't get inferior's PID.
11810
11811 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11812
11813 * gdb.base/watch_thread_num.exp: Skip test on targets without
11814 access watchpoints.
11815
11816 2015-05-06 Pedro Alves <palves@redhat.com>
11817
11818 PR server/18081
11819 * gdb.server/non-existing-program.exp: New file.
11820
11821 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11822
11823 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11824
11825 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11826
11827 * gdb.ada/out_of_line_in_inlined: New testcase.
11828
11829 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11830
11831 * gdb.ada/var_rec_arr: New testcase.
11832
11833 2015-04-30 Yao Qi <yao.qi@linaro.org>
11834
11835 * gdb.base/break-idempotent.exp: If
11836 skip_hw_watchpoint_multi_tests returns true, skip the tests
11837 on "rwatch" and "awatch".
11838
11839 2015-04-30 Yao Qi <yao.qi@linaro.org>
11840
11841 * gdb.base/relativedebug.exp: Invoke gdb command
11842 "info sharedlibrary", and if libc.so doesn't have debug info,
11843 skip the test.
11844
11845 2015-04-29 Doug Evans <dje@google.com>
11846
11847 * gdb.python/py-xmethods.exp: Add ptype tests.
11848 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11849 get_result_type method.
11850
11851 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11852
11853 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11854 the target does not support hardware watchpoints.
11855
11856 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11857
11858 * gdb.base/break-always.exp: Abort testing if writing to memory
11859 causes an error.
11860
11861 2015-04-28 Doug Evans <dje@google.com>
11862
11863 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11864 * gdb.python/py-pp-registration.exp: ... here. New file.
11865 * gdb.python/py-pp-registration.c: New file.
11866 * gdb.python/py-pp-registration.py: New file.
11867
11868 2015-04-28 Doug Evans <dje@google.com>
11869
11870 * gdb.python/py-bad-printers.c: New file.
11871 * gdb.python/py-bad-printers.py: New file.
11872 * gdb.python/py-bad-printers.exp: New file.
11873
11874 2015-04-28 Sasha Smundak <asmundak@google.com>
11875
11876 * gdb.python/py-type.exp: New test.
11877
11878 2015-04-28 Andy Wingo <wingo@igalia.com>
11879
11880 * gdb.python/py-parameter.exp:
11881 * gdb.guile/scm-parameter.exp: Escape the path that we are
11882 matching against, as it might contain characters that are special
11883 to regular expressions.
11884
11885 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11886
11887 * gdb.ada/rec_comp: New testcase.
11888
11889 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11890
11891 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11892 before using it.
11893
11894 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11895
11896 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11897 new tests for verilog output.
11898
11899 2015-04-24 Yao Qi <yao.qi@linaro.org>
11900
11901 * boards/remote-gdbserver-on-localhost.exp: New file.
11902
11903 2015-04-23 Pedro Alves <palves@redhat.com>
11904
11905 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11906 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11907 "end of file", remove $inferior_spawn_id from the indirect list.
11908
11909 2015-04-23 Pedro Alves <palves@redhat.com>
11910
11911 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11912
11913 2015-04-23 Pedro Alves <palves@redhat.com>
11914
11915 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11916 on $any_spawn_id instead of only on $gdb_spawn_id.
11917
11918 2015-04-21 Pierre Muller <muller@sourceware.org>
11919
11920 PR pascal/17815
11921 * lib/pascal.exp (gpc_compile): Add new option "class".
11922 (fpc_compile): Likewise.
11923 * gdb.pascal/case-insensitive-symbols.pas: New file.
11924 * gdb.pascal/case-insensitive-symbols.exp: New file.
11925
11926 2015-04-20 Gary Benson <gbenson@redhat.com>
11927
11928 * gdb.base/attach.exp: Fix three extended remote failures.
11929
11930 2015-04-17 Gary Benson <gbenson@redhat.com>
11931
11932 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11933 the main executable over the remote protocol.
11934
11935 2015-04-16 Pedro Alves <palves@redhat.com>
11936
11937 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11938 a new gdbserver if gdbserver_reconnect_p is set.
11939
11940 2015-04-16 Pedro Alves <palves@redhat.com>
11941
11942 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11943 is set, don't exit gdbserver.
11944
11945 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11946
11947 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11948 appropriate .insn, such that an older assembler can be used.
11949 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11950 the z/Architecture instruction set on 31-bit targets as well.
11951
11952 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11953
11954 * gdb.go/handcall.exp: Remove all logic related to the first
11955 breakpoint and rely on go_runto_main instead.
11956 * gdb.go/strings.exp: Likewise.
11957 * gdb.go/unsafe.exp: Likewise.
11958 * gdb.go/hello.exp: Likewise. Also rename the remaining
11959 breakpoint marker to "breakpoint 1".
11960 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11961 * gdb.go/strings.go: Likewise.
11962 * gdb.go/unsafe.go: Likewise.
11963 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11964 "set breakpoint 2 here" and rename the remaining breakpoint marker
11965 to "breakpoint 1".
11966
11967 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11968
11969 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11970 if itertools.imap is not present.
11971 * gdb.python/py-objfile.exp: Add parentheses.
11972 * gdb.python/py-type.exp: Same.
11973 * gdb.python/py-unwind-maint.py: Same.
11974
11975 2015-04-15 Yao Qi <yao.qi@linaro.org>
11976
11977 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11978 of ":$ptr_size" and set its form explicitly.
11979
11980 2015-04-15 Pedro Alves <palves@redhat.com>
11981 Yao Qi <yao.qi@linaro.org>
11982
11983 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11984 timeout by factor of 4.
11985 (test_regular_watch): Likewise.
11986 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11987 * gdb.reverse/sigall-reverse.exp: Likewise.
11988 * gdb.reverse/until-precsave.exp: Likewise.
11989 * lib/gdb.exp (with_timeout_factor): New proc.
11990 (gdb_expect): Move some code to ...
11991 (get_largest_timeout): ... here. New procedure.
11992
11993 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11994
11995 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11996
11997 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11998
11999 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12000 to write to the .text section.
12001
12002 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12003
12004 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12005 Handle the case of targets that do not provide PID information.
12006
12007 2015-04-13 Yao Qi <yao.qi@linaro.org>
12008
12009 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12010 and use expect instead of gdb_expect.
12011
12012 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12013
12014 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12015 "coredump_var_addr" to avoid naming conflict with other testcases.
12016
12017 2015-04-10 Pedro Alves <palves@redhat.com>
12018
12019 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12020 gdb_test_sequence and gdb_assert.
12021
12022 2015-04-10 Pedro Alves <palves@redhat.com>
12023
12024 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12025 test messages that don't include the breakpoint address.
12026
12027 2015-04-10 Yao Qi <yao.qi@linaro.org>
12028
12029 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12030 false for some offset and width combinations which aren't
12031 supported by linux kernel.
12032
12033 2015-04-10 Pedro Alves <palves@redhat.com>
12034
12035 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12036 procedure, factored out from ...
12037 (top level): ... here. Add "set displaced-stepping" testing axis.
12038 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12039 parameter "displaced". Use it.
12040 (top level): Use foreach and add "set displaced-stepping" testing
12041 axis.
12042
12043 2015-04-10 Pedro Alves <palves@redhat.com>
12044
12045 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12046 Remove comment.
12047 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12048 both the address of the instruction that triggers the watchpoint
12049 and the address of the instruction immediately after, and use
12050 those addresses for the test. Fix comment.
12051
12052 2015-04-10 Pedro Alves <palves@redhat.com>
12053
12054 * gdb.base/sigstep.exp (breakpoint_to_handler)
12055 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12056 Test "backtrace" in handler.
12057 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12058 (top level): Add new "displaced" test axis to
12059 breakpoint_to_handler, breakpoint_to_handler_entry and
12060 breakpoint_over_handler.
12061
12062 2015-04-10 Pedro Alves <palves@redhat.com>
12063
12064 PR gdb/18216
12065 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12066
12067 2015-04-10 Yao Qi <yao.qi@linaro.org>
12068
12069 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12070 (test_add_rn_pc): New function.
12071 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12072 (top level): Invoke test_add_rn_pc.
12073
12074 2015-04-10 Pedro Alves <palves@redhat.com>
12075
12076 PR gdb/13858
12077 * gdb.base/step-over-no-symbols.exp: New file.
12078
12079 2015-04-09 Andy Wingo <wingo@igalia.com>
12080
12081 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12082 after the Python tests.
12083
12084 2015-04-08 Keith Seitz <keiths@redhat.com>
12085
12086 PR python/16699
12087 * gdb.python/py-completion.exp: New tests for completion.
12088 * gdb.python/py-completion.py (CompleteLimit1): New class.
12089 (CompleteLimit2): Likewise.
12090 (CompleteLimit3): Likewise.
12091 (CompleteLimit4): Likewise.
12092 (CompleteLimit5): Likewise.
12093 (CompleteLimit6): Likewise.
12094 (CompleteLimit7): Likewise.
12095
12096 2015-04-08 Pedro Alves <palves@redhat.com>
12097
12098 PR gdb/18214
12099 PR gdb/18216
12100 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12101 function.
12102 (main): Install it as SIGUSR1 handler.
12103 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12104 parameter. Always use "setup" as prefix. Toggle "set
12105 displaced-stepping" off/on depending on global. Don't switch to
12106 thread 1 here.
12107 (top level): Add displaced stepping "off/on" test axis. Update
12108 "setup" calls. Wrap each subtest with with_test_prefix. Test
12109 continuing with a queued signal in each thread.
12110
12111 2015-04-08 Pedro Alves <palves@redhat.com>
12112
12113 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12114 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12115 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12116 Return early if running to main fails.
12117 * gdb.trace/while-stepping.exp: Likewise.
12118
12119 2015-04-07 Pedro Alves <palves@redhat.com>
12120
12121 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12122 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12123 interact with inferior program.
12124
12125 2015-04-07 Pedro Alves <palves@redhat.com>
12126
12127 * lib/gdb.exp (inferior_spawn_id): New global.
12128 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12129 spawn id after processing the user code.
12130 (default_gdb_start): Set inferior_spawn_id.
12131 (send_inferior): New procedure.
12132 * lib/gdbserver-support.exp (gdbserver_start): Set
12133 inferior_spawn_id.
12134 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12135
12136 2015-04-07 Pedro Alves <palves@redhat.com>
12137
12138 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12139 * lib/gdbserver-support.exp (gdbserver_start): Make
12140 $server_spawn_id global.
12141 (gdbserver_start): Don't wait for gdbserver's spawn id with
12142 expect_background.
12143 (close_gdbserver): New procedure.
12144 (gdb_exit): Rename the default version and reimplement.
12145
12146 2015-04-07 Pedro Alves <palves@redhat.com>
12147
12148 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12149 append the substituted item, not the original item.
12150
12151 2015-04-07 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12154 gdb_expect.
12155
12156 2015-04-07 Pedro Alves <palves@redhat.com>
12157
12158 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12159 output appearing once only.
12160
12161 2015-04-07 Pedro Alves <palves@redhat.com>
12162
12163 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12164 that doesn't expect anything. Return early if running to main
12165 fails.
12166
12167 2015-04-07 Yao Qi <yao.qi@linaro.org>
12168
12169 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12170 (child_function): Call alarm.
12171 (main): Move call to alarm into the loop.
12172 * gdb.threads/non-stop-fair-events.exp: Build program with
12173 -DTIMEOUT=$timeout.
12174
12175 2015-04-06 Doug Evans <xdje42@gmail.com>
12176
12177 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12178 Fix dest parameter to board_info.
12179 (fpc_compile): Ditto.
12180 (gdb_compile_pascal): Rename dest arg to destfile.
12181
12182 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12183
12184 * gdb.ada/funcall_ref.exp: New file.
12185 * gdb.ada/funcall_ref/foo.adb: New file.
12186
12187 2015-04-02 Yao Qi <yao.qi@linaro.org>
12188
12189 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12190 is remote.
12191
12192 2015-04-02 Gary Benson <gbenson@redhat.com>
12193
12194 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12195
12196 2015-04-01 Sasha Smundak <asmundak@google.com>
12197
12198 * gdb.python/py-unwind-maint.c: New file.
12199 * gdb.python/py-unwind-maint.exp: New test.
12200 * gdb.python/py-unwind-maint.py: New file.
12201 * gdb.python/py-unwind.c: New file.
12202 * gdb.python/py-unwind.exp: New test.
12203 * gdb.python/py-unwind.py: New test.
12204
12205 2015-04-01 Pedro Alves <palves@redhat.com>
12206
12207 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12208 to fail instead of non-existent $test.
12209
12210 2015-04-01 Pedro Alves <palves@redhat.com>
12211
12212 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12213 GDBFLAGS if not empty.
12214
12215 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12216
12217 * gdb.ada/complete.exp: Remove "multi_line".
12218 * gdb.ada/info_exc.exp: Remove "multi_line".
12219 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12220 * gdb.ada/ptype_field.exp: Remove "multi_line".
12221 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12222 * gdb.ada/tagged.exp: Remove "multi_line".
12223 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12224 [multi_line ...]
12225 * gdb.btrace/delta.exp: Likewise.
12226 * gdb.btrace/exception.exp: Likewise.
12227 * gdb.btrace/function_call_history.exp: Likewise.
12228 * gdb.btrace/instruction_history.exp: Likewise.
12229 * gdb.btrace/nohist.exp: Likewise.
12230 * gdb.btrace/record_goto.exp: Likewise.
12231 * gdb.btrace/segv.exp: Likewise.
12232 * gdb.btrace/stepi.exp: Likewise.
12233 * gdb.btrace/tailcall.exp: Likewise.
12234 * gdb.btrace/unknown_functions.exp: Likewise.
12235 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12236 * lib/gdb.exp: Add the "multi_line" helper.
12237
12238 2015-04-01 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.threads/tid-reuse.c: New file.
12241 * gdb.threads/tid-reuse.exp: New file.
12242
12243 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12244
12245 PR corefiles/16092
12246 * gdb.base/coredump-filter.c: New file.
12247 * gdb.base/coredump-filter.exp: Likewise.
12248
12249 2015-03-27 Petr Machata <pmachata@redhat.com>
12250
12251 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12252 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12253 (Dwarf::assemble): Initialize them.
12254 (Dwarf::lines): New function.
12255
12256 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12257
12258 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12259 SYMBOL_PREFIX for x86_64-*-cygwin.
12260
12261 2015-03-26 Andy Wingo <wingo@igalia.com>
12262
12263 PR symtab/18148
12264 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12265 const_value but not a location.
12266 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12267 location defined in non-main CUs are visible.
12268
12269 2015-03-26 Yao Qi <yao.qi@linaro.org>
12270
12271 PR testsuite/18139
12272 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12273 Add a line number entry for the same line.
12274 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12275 Add a line number entry for the same line.
12276
12277 2015-03-26 Yao Qi <yao.qi@linaro.org>
12278
12279 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12280 .int 0.
12281 (func): Likewise. Add .Lfunc_1 label.
12282 Use .Lfunc_1 label.
12283 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12284 .int 0.
12285 (func): Likewise.
12286 Use .Lfunc_1 label.
12287
12288 2015-03-26 Yao Qi <yao.qi@linaro.org>
12289
12290 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12291 Call gdb_compile instead to compile each .s files without debug
12292 information.
12293
12294 2015-03-26 Yao Qi <yao.qi@linaro.org>
12295
12296 * gdb.base/savedregs.exp (process_saved_regs): Make
12297 "Saved registers:" optional in the pattern.
12298
12299 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12300
12301 * gdb.btrace/next.exp: Merged into step.exp.
12302 * gdb.btrace/finish.exp: Merged into step.exp.
12303 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12304 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12305 "record goto" and checking the exact replay position.
12306 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12307 check for "Recording format" in "info record" output.
12308 * gdb.btrace/record_goto.exp: Choose test file based on target.
12309 * gdb.btrace/x86-record_goto.S: Renamed into ...
12310 * gdb.btrace/x86_64-record_goto.S: ... this.
12311 * gdb.btrace/i686-record_goto.S: New.
12312 * gdb.btrace/x86-tailcall.S: Renamed into ...
12313 * gdb.btrace/x86_64-tailcall.S: ... this.
12314 * gdb.btrace/i686-tailcall.S: New.
12315 * gdb.btrace/x86-tailcall.c: Renamed into ...
12316 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12317 separate statements. Update test.
12318 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12319 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12320 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12321 * gdb.btrace/tailcall.exp: Choose test file based on target.
12322 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12323
12324 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12325
12326 * gdb.btrace/exception.exp: Increase BTS buffer size.
12327
12328 2015-03-24 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12331
12332 2015-03-24 Pedro Alves <palves@redhat.com>
12333
12334 * gdb.threads/schedlock.exp (test_step): No longer expect that
12335 "set scheduler-locking step" with "next" over a function call runs
12336 threads unlocked.
12337
12338 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12339
12340 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12341
12342 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12343
12344 PR breakpoints/16466
12345 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12346 * gdb.mi/mi-pending.c (thread_func): New function.
12347 (int main): Add threading support required.
12348 * gdb.mi/mi-pending.exp: Add tests for this issue.
12349 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12350 (pendfunc2): Remove stdio dependency.
12351 * gdb.mi/mi-pendshr2.c: New file.
12352
12353 2015-03-23 Keith Seitz <keiths@redhat.com>
12354
12355 * gdb.linespec/keywords.c: New file.
12356 * gdb.linespec/keywords.exp: New file.
12357
12358 2015-03-23 Keith Seitz <keiths@redhat.com>
12359
12360 PR gdb/18021
12361 * gdb.dwarf2/staticvirtual.exp: New test.
12362
12363 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12364
12365 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12366 * README: Remove HP-UX and gdb.hp.
12367 (configuration):
12368 * configure: Regenerate.
12369 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12370 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12371 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12372 gdb.hp/gdb.defects/Makefile.
12373 * gdb.hp/Makefile.in: File deleted.
12374 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12375 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12376 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12377 * gdb.hp/gdb.aCC/run.c: File deleted.
12378 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12379 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12380 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12381 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12382 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12383 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12384 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12385 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12386 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12387 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12388 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12389 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12390 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12391 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12392 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12393 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12394 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12395 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12396 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12397 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12398 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12399 * gdb.hp/gdb.compat/average.c: File deleted.
12400 * gdb.hp/gdb.compat/sum.c: File deleted.
12401 * gdb.hp/gdb.compat/xdb.c: File deleted.
12402 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12403 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12404 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12405 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12406 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12407 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12408 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12409 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12410 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12411 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12412 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12413 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12414 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12415 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12416 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12417 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12418 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12419 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12420 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12421 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12422 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12423 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12424 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12425 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12426 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12427 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12428 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12429 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12430 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12431 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12432 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12433 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12434 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12435 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12436 * gdb.hp/tools/odump: File deleted.
12437
12438 2015-03-19 Pedro Alves <palves@redhat.com>
12439
12440 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12441 (saw_thread_3): New globals.
12442 (top level): Increment them when an event for the corresponding
12443 thread is seen.
12444 (no thread starvation): New test.
12445
12446 2015-03-19 Pedro Alves <palves@redhat.com>
12447
12448 * gdb.threads/continue-pending-status.c: New file.
12449 * gdb.threads/continue-pending-status.exp: New file.
12450
12451 2015-03-18 Pedro Alves <palves@redhat.com>
12452
12453 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12454 Use gdb_is_target_remote instead of is_remote. Use
12455 gdb_test_multiple instead of gdb_expect. Exit early if
12456 gdb_test_multiple hits its internal matches. Tighten stepi tests
12457 expected output. Fail on exit with any signal, instead of just
12458 SIGILL.
12459
12460 2015-03-18 Yao Qi <yao.qi@linaro.org>
12461
12462 PR tdep/18107
12463 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12464 variable.
12465 * gdb.base/catch-syscall.exp: Don't skip it on
12466 aarch64*-*-linux* target. Remove elements in all_syscalls.
12467 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12468 target.
12469 (setup_all_syscalls): New proc.
12470
12471 2015-03-16 Yao Qi <yao.qi@linaro.org>
12472
12473 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12474 (top level): Skip tests if valid_addr_p returns false for
12475 $cmd1 or $cmd2.
12476
12477 2015-03-11 Andy Wingo <wingo@igalia.com>
12478
12479 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12480
12481 2015-03-11 Yao Qi <yao.qi@linaro.org>
12482
12483 * gdb.base/catch-syscall.exp: Fix typo in comments.
12484
12485 2015-03-11 Yao Qi <yao.qi@linaro.org>
12486
12487 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12488
12489 2015-03-09 Pedro Alves <palves@redhat.com>
12490
12491 * dg-extract-results.py: Delete.
12492
12493 2015-03-09 Pedro Alves <palves@redhat.com>
12494
12495 Merge dg-extract-results.sh from GCC upstream (r218843).
12496
12497 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12498 * dg-extract-results.sh: Use --text with grep to avoid issues with
12499 binary files. Fall back to cat -v, if that doesn't work.
12500
12501 2015-03-05 Pedro Alves <palves@redhat.com>
12502
12503 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12504
12505 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12506
12507 * lib/mi-support.exp (mi_expect_interrupt): Accept
12508 alternative event for when in all-stop mode.
12509
12510 2015-03-04 Pedro Alves <palves@redhat.com>
12511
12512 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12513
12514 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12515
12516 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12517
12518 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12519
12520 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12521 regexps for GDB's current line display, accept a hex address
12522 preceding the line number.
12523
12524 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12525
12526 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12527 the 'arch1' variable for "s390*-linux*" targets.
12528
12529 2015-03-04 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12532 (main): Pass missing retval argument to pthread_join call.
12533
12534 2015-03-02 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12537 (top level): Call do_test with non-stop as well.
12538
12539 2015-03-02 Pedro Alves <palves@redhat.com>
12540
12541 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12542 -1.
12543
12544 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12545
12546 * gdb.arch/s390-vregs.exp: New test.
12547 * gdb.arch/s390-vregs.S: New file.
12548
12549 2015-02-27 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12552 call to catch_command_errors.
12553 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12554 catch_command_errors.
12555
12556 2015-02-27 Pedro Alves <palves@redhat.com>
12557
12558 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12559 "true" for boolean result.
12560 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12561 prototype of main.
12562
12563 2015-02-27 Pedro Alves <palves@redhat.com>
12564
12565 * lib/unbuffer_output.c: New file.
12566 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12567 (main): Call gdb_unbuffer_output.
12568
12569 2015-02-27 Yao Qi <yao.qi@linaro.org>
12570
12571 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12572 target.
12573
12574 2015-02-26 Doug Evans <dje@google.com>
12575
12576 * gdb.cp/class2.cc (Dbase, D): New classes.
12577 (main): New local delta.
12578 * gdb.cp/class2.exp: Test printing delta.
12579 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12580 (dynbar): New global.
12581 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12582
12583 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12584
12585 * gdb.compile/compile-ifunc.c: New file.
12586 * gdb.compile/compile-ifunc.exp: New file.
12587
12588 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12589
12590 * gdb.base/structs.exp: Check for correct struct on finish.
12591
12592 2015-02-26 Yao Qi <yao.qi@linaro.org>
12593
12594 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12595 is zero.
12596
12597 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12598
12599 * gdb.arch/cordic.ko.bz2: New file.
12600 * gdb.arch/cordic.ko.debug.bz2: New file.
12601 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12602
12603 2015-02-25 Yao Qi <yao.qi@linaro.org>
12604
12605 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12606 aarch64*-*-* target.
12607
12608 2015-02-23 Pedro Alves <palves@redhat.com>
12609
12610 * lib/gdb.exp (delete_breakpoints): Rewrite using
12611 gdb_test_multiple.
12612
12613 2015-02-23 Pedro Alves <palves@redhat.com>
12614
12615 * gdb.base/info-os.c: Include stdlib.h.
12616
12617 2015-02-22 Doug Evans <xdje42@gmail.com>
12618
12619 PR symtab/17855
12620 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12621 is read after symbols have been re-read.
12622 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12623 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12624
12625 2015-02-21 Doug Evans <dje@google.com>
12626
12627 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12628
12629 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12630
12631 PR corefiles/17808
12632 * gdb.arch/i386-biarch-core.core.bz2: New file.
12633 * gdb.arch/i386-biarch-core.exp: New file.
12634
12635 2015-02-21 Pedro Alves <palves@redhat.com>
12636
12637 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12638 runto_main fails.
12639
12640 2015-02-20 Pedro Alves <palves@redhat.com>
12641
12642 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12643 info probes.
12644
12645 2015-02-20 Pedro Alves <palves@redhat.com>
12646
12647 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12648
12649 2015-02-20 Pedro Alves <palves@redhat.com>
12650
12651 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12652 clean_restart before gdb_target_supports_trace.
12653
12654 2015-02-20 Pedro Alves <palves@redhat.com>
12655
12656 PR threads/18006
12657 * gdb.threads/clone-thread_db.c: New file.
12658 * gdb.threads/clone-thread_db.exp: New file.
12659
12660 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12661
12662 PR breakpoints/16812
12663 * gdb.base/catch-gdb-caused-signals.c: New file.
12664 * gdb.base/catch-gdb-caused-signals.exp: New file.
12665
12666 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12667
12668 * configure: Regenerated.
12669 * configure.ac: Use GDB_AC_TRANSFORM.
12670 * aclocal.m4: sinclude ../transform.m4.
12671
12672 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12673
12674 * lib/dtrace.exp: New file.
12675 * gdb.base/dtrace-probe.exp: Likewise.
12676 * gdb.base/dtrace-probe.d: Likewise.
12677 * gdb.base/dtrace-probe.c: Likewise.
12678 * lib/pdtrace.in: Likewise.
12679 * configure.ac: Output variables with the transformed names of
12680 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12681 * configure: Regenerated.
12682
12683 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12684
12685 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12686 expected message when trying to access $_probe_* convenience
12687 variables while not on a probe.
12688
12689 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12690
12691 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12692
12693 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12694
12695 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12696 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12697
12698 2015-02-10 Doug Evans <xdje42@gmail.com>
12699
12700 * lib/gdb.exp (gdb_load): Always return a result.
12701
12702 2015-02-10 Pedro Alves <palves@redhat.com>
12703
12704 * gdb.threads/signal-sigtrap.c: New file.
12705 * gdb.threads/signal-sigtrap.exp: New file.
12706
12707 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12708
12709 * gdb.trace/no-attach-trace.c: New file.
12710 * gdb.trace/no-attach-trace.exp: New file.
12711
12712 2015-02-09 Mark Wielaard <mjw@redhat.com>
12713
12714 * gdb.dwarf2/atomic.c: New file.
12715 * gdb.dwarf2/atomic-type.exp: Likewise.
12716
12717 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12718
12719 * gdb.btrace/buffer-size.exp: Update "info record" output.
12720 * gdb.btrace/delta.exp: Update "info record" output.
12721 * gdb.btrace/enable.exp: Update "info record" output.
12722 * gdb.btrace/finish.exp: Update "info record" output.
12723 * gdb.btrace/instruction_history.exp: Update "info record" output.
12724 * gdb.btrace/next.exp: Update "info record" output.
12725 * gdb.btrace/nexti.exp: Update "info record" output.
12726 * gdb.btrace/step.exp: Update "info record" output.
12727 * gdb.btrace/stepi.exp: Update "info record" output.
12728 * gdb.btrace/nohist.exp: Update "info record" output.
12729
12730 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12731
12732 * gdb.btrace/buffer-size: New.
12733
12734 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12735
12736 * gdb.btrace/delta.exp: Update "info record" output.
12737 * gdb.btrace/enable.exp: Update "info record" output.
12738 * gdb.btrace/finish.exp: Update "info record" output.
12739 * gdb.btrace/instruction_history.exp: Update "info record" output.
12740 * gdb.btrace/next.exp: Update "info record" output.
12741 * gdb.btrace/nexti.exp: Update "info record" output.
12742 * gdb.btrace/step.exp: Update "info record" output.
12743 * gdb.btrace/stepi.exp: Update "info record" output.
12744 * gdb.btrace/nohist.exp: Update "info record" output.
12745
12746 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12747
12748 PR gdb/15678
12749 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12750
12751 2015-02-06 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12754 macro.
12755 (seconds_left, again): New globals.
12756 (main): Wait seconds_left in a 1-second sleep loop instead of
12757 sleeping 180 seconds. If 'again' is set, reset the seconds
12758 counter.
12759 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12760 'again' in the inferior before detaching. Print the seconds left.
12761 (options): New global.
12762 (top level): Build program with -DTIMEOUT=$timeout.
12763
12764 2015-02-06 Pedro Alves <palves@redhat.com>
12765
12766 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12767 determine how many seconds to pass to 'alarm'.
12768 * gdb.base/gdb-sigterm.exp (top level): Build program with
12769 -DTIMEOUT=$timeout.
12770 (do_test): Return success/failure indication. Add more verbose
12771 logging. Don't fail if 200 single steps are seen. Instead, fail
12772 when the test times out.
12773 (passes): New global.
12774 (top level): Break the testing loop if testing fails on any
12775 iteration. Use gdb_assert.
12776
12777 2015-02-04 Don Breazeal <donb@codesourcery.com>
12778
12779 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12780 and initialize them.
12781 (ipc_cleanup): New function.
12782 (main): Don't declare shmid, semid, and msqid. Add a call to
12783 atexit so that we call ipc_cleanup on exit.
12784
12785 2015-02-04 Pedro Alves <palves@redhat.com>
12786
12787 * boards/native-extended-gdbserver.exp: Remove any target variant
12788 specifications from the board name before clearing the isremote
12789 flag from board_info.
12790
12791 2015-01-31 Doug Evans <xdje42@gmail.com>
12792
12793 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12794
12795 2015-01-31 Gary Benson <gbenson@redhat.com>
12796
12797 * gdb.base/completion.exp: Disable completion limiting for
12798 existing tests. Add new tests to check completion limiting.
12799 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12800
12801 2015-01-31 Doug Evans <xdje42@gmail.com>
12802
12803 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12804
12805 2015-01-31 Doug Evans <xdje42@gmail.com>
12806
12807 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12808 entries. Duplicate file section script entries.
12809 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12810 inlined entries. Add test for safe-path rejection.
12811 * gdb.python/py-section-script.c: Add duplicate inlined section script
12812 entries. Duplicate file section script entries.
12813 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12814 inlined entries. Add test for safe-path rejection.
12815
12816 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12817
12818 * gdb.ada/disc_arr_bound: New testcase.
12819
12820 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12821
12822 * gdb.ada/mi_var_array: New testcase.
12823
12824 2015-01-27 Doug Evans <dje@google.com>
12825
12826 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12827 Add test for objfile.filename, objfile.username after objfile
12828 has been unloaded.
12829
12830 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12831
12832 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12833 the second test to print the name attribute of value
12834 returned by the call to gdb.lookup_type, and adjust
12835 the expected output accordingly.
12836
12837 2015-01-25 Mark Wielaard <mjw@redhat.com>
12838
12839 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12840 * gdb.base/disp-step-fork.c: Include unistd.h.
12841 * gdb.base/siginfo-obj.c: Include stdio.h.
12842 * gdb.base/siginfo-thread.c: Likewise.
12843 * gdb.mi/non-stop.c: Include unistd.h.
12844 * gdb.mi/nsthrexec.c: Include stdio.h.
12845 * gdb.mi/pthreads.c: Include unistd.h.
12846 * gdb.modula2/unbounded1.c (main): Declare returns int.
12847 * gdb.reverse/consecutive-reverse.c: Likewise.
12848 * gdb.threads/create-fail.c: Include unistd.h.
12849 * gdb.threads/killed.c: Likewise.
12850 * gdb.threads/linux-dp.c: Likewise.
12851 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12852 * gdb.threads/non-ldr-exc-2.c: Likewise.
12853 * gdb.threads/non-ldr-exc-3.c: Likewise.
12854 * gdb.threads/non-ldr-exc-4.c: Likewise.
12855 * gdb.threads/pthreads.c: Include unistd.h.
12856 (main): Declare returns int.
12857 * gdb.threads/tls-main.c (foo): New declaration.
12858 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12859
12860 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12861
12862 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12863 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12864
12865 2015-01-15 Mark Wielaard <mjw@redhat.com>
12866
12867 * gdb.base/noreturn-return.c: New file.
12868 * gdb.base/noreturn-return.exp: New file.
12869 * gdb.base/noreturn-finish.c: New file.
12870 * gdb.base/noreturn-finish.exp: New file.
12871
12872 2015-01-23 Pedro Alves <palves@redhat.com>
12873
12874 * gdb.threads/continue-pending-after-query.c: New file.
12875 * gdb.threads/continue-pending-after-query.exp: New file.
12876
12877 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12878 Simon Marchi <simon.marchi@ericsson.com>
12879
12880 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12881 * gdb.base/valgrind-db-attach.exp: Same.
12882 * gdb.base/valgrind-infcall.exp: Same.
12883 * lib/mi-support.exp (default_mi_gdb_start): Same.
12884 * lib/prompt.exp (default_prompt_gdb_start): Same.
12885 * lib/gdb.exp (default_gdb_spawn): Same.
12886 (gdb_interact): New.
12887
12888
12889 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12890
12891 * gdb.compile/compile.exp (pointer to jit function): New test.
12892
12893 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12894
12895 * lib/gdb.exp (supports_process_record): Return true for
12896 powerpc*-*-linux*.
12897 (supports_reverse): Likewise.
12898
12899 2015-01-15 Don Breazeal <donb@codesourcery.com>
12900
12901 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12902 instead of checking whether the target board is remote and
12903 use spawn_wait_for_attach instead of exec/sleep.
12904 * gdb.base/attach-twice.exp: Likewise.
12905
12906 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12907
12908 * gdb.ada/var_arr_attrs: New testcase.
12909
12910 2015-01-14 Pedro Alves <palves@redhat.com>
12911 Joel Brobecker <brobecker@adacore.com>
12912
12913 PR gdb/17525
12914 * gdb.base/bp-cmds-execution-x-script.c: New file.
12915 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12916 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12917
12918 2015-01-14 Pedro Alves <palves@redhat.com>
12919
12920 PR cli/17828
12921 * gdb.base/batch-preserve-term-settings.c: New file.
12922 * gdb.base/batch-preserve-term-settings.exp: New file.
12923
12924 2015-01-13 Doug Evans <dje@google.com>
12925
12926 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12927 binary.
12928
12929 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12930
12931 * Makefile.in (clean mostlyclean): Do not delete *.py.
12932
12933 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12934
12935 * gdb.python/py-lookup-type.exp: New file.
12936
12937 2015-01-12 Pedro Alves <palves@redhat.com>
12938
12939 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12940 restore GDBFLAGS before returning.
12941
12942 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12943
12944 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12945 is_amd64_regs_target and is_x86_like_target.
12946
12947 2015-01-11 Doug Evans <xdje42@gmail.com>
12948
12949 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12950 is given without an explicit form.
12951 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12952 attributes.
12953 * gdb.dwarf/corrupt.exp: Ditto.
12954 * gdb.dwarf2/enum-type.exp: Ditto.
12955 * gdb.trace/entry-values.exp: Ditto.
12956 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12957
12958 2015-01-11 Doug Evans <xdje42@gmail.com>
12959
12960 PR gdb/15830
12961 * gdb.base/maint.exp: Remove references to "maint demangle".
12962 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12963 Add tests for explicitly specifying language to demangle.
12964 * gdb.dlang/demangle.exp: Ditto.
12965
12966 2015-01-09 Pedro Alves <palves@redhat.com>
12967
12968 * gdb.threads/non-stop-fair-events.c: New file.
12969 * gdb.threads/non-stop-fair-events.exp: New file.
12970
12971 2015-01-09 Pedro Alves <palves@redhat.com>
12972
12973 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12974 the global scope. Set a breakpoint after all threads are started
12975 rather than stepping over two source lines. Expect the prompt.
12976 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12977 global.
12978 (NUM): Now 15.
12979 (main): Use threads_started_barrier to wait for all threads to
12980 start. Main thread no longer calls thread_function. Exit after
12981 180 seconds.
12982 (loop): New function.
12983 (thread_function): Wait on threads_started_barrier barrier. Call
12984 'loop' at each iteration.
12985 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12986 threads have started, instead of hardcoding number of "next"
12987 steps. Use an access watchpoint instead of a write watchpoint.
12988
12989 2015-01-09 Pedro Alves <palves@redhat.com>
12990
12991 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12992 (thread_func): Wait on barrier.
12993 (main): Wait for all threads to start before stopping GDB.
12994 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12995 global.
12996 (thread1_func, thread2_func): Wait on barrier.
12997 (main): Wait for all threads to start before stopping GDB.
12998 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12999 New global.
13000 (thread1_func, thread2_func): Wait on barrier.
13001 (main): Wait for all threads to start before stopping GDB.
13002
13003 2015-01-09 Pedro Alves <palves@redhat.com>
13004
13005 * gdb.threads/attach-many-short-lived-threads.c: New file.
13006 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13007
13008 2014-01-09 Pedro Alves <palves@redhat.com>
13009
13010 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13011 instead of to thread 2.
13012 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13013 Add barrier around each pthread_create call instead of around all
13014 calls.
13015 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13016 Set a break on thread_function and have the child threads hit it
13017 one at at a time.
13018
13019 2015-01-09 Pedro Alves <palves@redhat.com>
13020
13021 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13022 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13023 false.
13024 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13025 checking whether the target board is remote.
13026 * gdb.multi/multi-attach.exp: Likewise.
13027 * gdb.python/py-sync-interp.exp: Likewise.
13028 * gdb.server/ext-attach.exp: Likewise.
13029 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13030 tests that need to attach, instead of checking whether the target
13031 board is remote at the top of the file.
13032
13033 2015-01-08 Yao Qi <yao@codesourcery.com>
13034
13035 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13036
13037 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13038
13039 Fix testcase compilation.
13040 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13041
13042 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13043
13044 * gdb.python/py-type.exp: Add a couple test about empty
13045 array creation, and negative-length array creation.
13046
13047 2015-01-02 Doug Evans <xdje42@gmail.com>
13048
13049 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13050
13051 2015-01-02 Doug Evans <dje@google.com>
13052
13053 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13054
13055 2014-12-29 Yao Qi <yao@codesourcery.com>
13056
13057 * gdb.trace/entry-values.exp: Update comments. Rename variable
13058 bar_call_foo to returned_from_foo.
13059
13060 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13061
13062 PR gdb/17394
13063 * gdb.linespec/break-asm-file.c: New file.
13064 * gdb.linespec/break-asm-file.exp: New file.
13065 * gdb.linespec/break-asm-file0.s: New file.
13066 * gdb.linespec/break-asm-file1.s: New file.
13067
13068 2014-12-18 Nigel Stephens <nigel@mips.com>
13069 Maciej W. Rozycki <macro@codesourcery.com>
13070
13071 * gdb.base/float.exp: Handle the new output from "info float" on
13072 MIPS targets.
13073
13074 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 Fix MinGW compilation.
13077 * gdb.compile/compile-ops.exp: Update untested message if
13078 !skip_compile_feature_tests.
13079 * gdb.compile/compile-setjmp.exp: Likewise.
13080 * gdb.compile/compile-tls.exp: Likewise.
13081 * gdb.compile/compile.exp: Likewise.
13082 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13083 supported on this host".
13084
13085 2014-12-16 Doug Evans <xdje42@gmail.com>
13086
13087 * boards/stabs.exp: New file.
13088
13089 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13090
13091 * gdb.base/completion.exp: Adjust to format changes of "maint
13092 print user-registers".
13093
13094 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13095
13096 PR server/17457
13097 * gdb.arch/aarch64-fp.c: New file.
13098 * gdb.arch/aarch64-fp.exp: New file.
13099
13100 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13101
13102 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13103 r210637, r210913, r211666, r215400, r215817).
13104
13105 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13106 * dg-extract-results.py: New file.
13107 * dg-extract-results.sh: Use it if the environment seems
13108 suitable.
13109
13110 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13111
13112 * dg-extract-results.py (parse_run): Handle warnings that
13113 are printed before a test harness is run.
13114
13115 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13116
13117 * dg-extract-results.py (Named): Remove __cmp__ method.
13118 (output_variation): Use a key to sort variation.harnesses.
13119
13120 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13121
13122 * dg-extract-results.py: For Python 3, force sys.stdout to
13123 handle surrogate escape sequences.
13124 (safe_open): New function.
13125 (output_segment, main): Use it.
13126
13127 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13128
13129 * dg-extract-results.py (Prog.result_re): Include options
13130 in test name.
13131
13132 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13133
13134 * dg-extract-results.py (output_variation): Always sort if
13135 do_sum.
13136
13137 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13138
13139 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13140 as long as we get pagination notifications.
13141
13142 2014-12-15 Jason Merrill <jason@redhat.com>
13143
13144 * Makefile.in (check-gdb.%): Restore.
13145 * README: Mention it.
13146
13147 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13148
13149 * gdb.ada/str_uninit: New testcase.
13150
13151 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13152
13153 PR symtab/17642
13154 * gdb.base/vla-stub-define.c: New file.
13155 * gdb.base/vla-stub.c: New file.
13156 * gdb.base/vla-stub.exp: New file.
13157
13158 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13159 Jan Kratochvil <jan.kratochvil@redhat.com>
13160 Tom Tromey <tromey@redhat.com>
13161
13162 * configure.ac: Add gdb.compile/.
13163 * configure: Regenerate.
13164 * gdb.compile/Makefile.in: New file.
13165 * gdb.compile/compile-ops.exp: New file.
13166 * gdb.compile/compile-ops.c: New file.
13167 * gdb.compile/compile-tls.c: New file.
13168 * gdb.compile/compile-tls.exp: New file.
13169 * gdb.compile/compile-constvar.S: New file.
13170 * gdb.compile/compile-constvar.c: New file.
13171 * gdb.compile/compile-mod.c: New file.
13172 * gdb.compile/compile-nodebug.c: New file.
13173 * gdb.compile/compile-setjmp-mod.c: New file.
13174 * gdb.compile/compile-setjmp.c: New file.
13175 * gdb.compile/compile-setjmp.exp: New file.
13176 * gdb.compile/compile-shlib.c: New file.
13177 * gdb.compile/compile.c: New file.
13178 * gdb.compile/compile.exp: New file.
13179 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13180
13181 2014-12-12 Tom Tromey <tromey@redhat.com>
13182
13183 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13184 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13185
13186 2014-12-12 Doug Evans <dje@google.com>
13187
13188 * lib/gdb-python.exp (get_python_valueof): New function.
13189 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13190
13191 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13192
13193 * gdb.base/completion.exp: Add test for completion of "info
13194 registers ".
13195
13196 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13197
13198 * gdb.base/func-ptrs.c: New file.
13199 * gdb.base/func-ptrs.exp: New file.
13200
13201 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13202
13203 PR breakpoints/17012
13204 * gdb.base/dprintf-detach.c: New file.
13205 * gdb.base/dprintf-detach.exp: New file.
13206
13207 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13208
13209 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13210 * lib/gdb.exp (target_is_gdbserver): New procedure.
13211
13212 2014-12-08 Doug Evans <dje@google.com>
13213
13214 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13215
13216 2014-12-05 Yao Qi <yao@codesourcery.com>
13217
13218 * gdb.guile/scm-error.exp: Remove the third argument to
13219 gdb_remote_download.
13220 * gdb.guile/scm-frame-args.exp: Likewise.
13221 * gdb.guile/scm-section-script.exp: Likewise.
13222
13223 2014-12-05 Yao Qi <yao@codesourcery.com>
13224
13225 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13226
13227 2014-12-04 Doug Evans <dje@google.com>
13228
13229 * gdb.python/py-objfile.exp: Add tests for
13230 objfile.add_separate_debug_file.
13231
13232 2014-12-04 Doug Evans <dje@google.com>
13233
13234 * lib/gdb.exp (get_build_id): New function.
13235 (build_id_debug_filename_get): Rewrite to use it.
13236 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13237
13238 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13239
13240 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13241 `method(long)', not just 0x0.
13242 * gdb.cp/nsalias.exp: Align code labels to 4.
13243 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13244 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13245 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13246 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13247 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13248 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13249
13250 2014-12-02 Doug Evans <dje@google.com>
13251
13252 PR symtab/17602
13253 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13254 * gdb.cp/anon-ns2.cc: ... here. New file.
13255 * gdb.cp/anon-ns.exp: Update.
13256
13257 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13258
13259 * gdb.python/py-events.py (inferior_call_handler): New.
13260 (register_changed_handler, memory_changed_handler): New.
13261 (test_events.invoke): Register new handlers.
13262 * gdb.python/py-events.exp: Add tests for inferior call,
13263 memory_changed and register_changed events.
13264
13265 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13266
13267 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13268 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13269 if the linker doesn't understand this.
13270
13271 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13272
13273 * gdb.python/python.exp: Change expected reply to help().
13274
13275 2014-12-01 Yao Qi <yao@codesourcery.com>
13276
13277 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13278 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13279 * configure: Re-generated.
13280
13281 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13282
13283 * gdb.cp/chained-calls.cc: New file.
13284 * gdb.cp/chained-calls.exp: New file.
13285 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13286
13287 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13288
13289 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13290 * gdb.dwarf2/symtab-producer.exp: Same.
13291 * gdb.gdb/python-interrupts.exp: Same.
13292 * gdb.gdb/python-selftest.exp: Same.
13293 * gdb.python/py-linetable.exp: Same.
13294 * gdb.python/py-type.exp: Same.
13295 * gdb.python/py-value-cc.exp: Same.
13296 * gdb.python/py-value.exp: Same.
13297
13298 2014-11-28 Yao Qi <yao@codesourcery.com>
13299
13300 * gdb.base/break-probes.exp: Match library name prefixed with
13301 sysroot.
13302
13303 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13304
13305 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13306 test expected output. Add parentheses for the call to print.
13307 Remove L suffix from integers.
13308
13309 2014-11-26 Doug Evans <dje@google.com>
13310
13311 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13312
13313 2014-11-22 Yao Qi <yao@codesourcery.com>
13314
13315 * gdb.trace/entry-values.c: Remove asms.
13316 (foo): Add foo_label.
13317 (bar): Add bar_label.
13318 * gdb.trace/entry-values.exp: Remove code computing foo's
13319 length and bar's length.
13320 (Dwarf::assemble): Invoke function_range for bar and use
13321 MACRO_AT_func for foo.
13322
13323 2014-11-22 Yao Qi <yao@codesourcery.com>
13324
13325 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13326 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13327 Use .Lgcc43_procstart instead of gcc43.
13328
13329 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13330
13331 * gdb.ada/n_arr_bound: New testcase.
13332
13333 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13334
13335 PR breakpoints/10737
13336 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13337 test_catch_syscall_multi_arch.
13338 (test_catch_syscall_multi_arch): New function.
13339
13340 2014-11-20 Doug Evans <xdje42@gmail.com>
13341
13342 * gdb.base/maint.exp: Update expected output.
13343
13344 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13345
13346 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13347 4-byte instruction on S390.
13348
13349 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13350
13351 * gdb.ada/arr_arr: New testcase.
13352
13353 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13354
13355 * gdb.ada/pkd_arr_elem: New Testcase.
13356
13357 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13358
13359 * gdb.reverse/break-precsave: Expect completion message for
13360 core file reads.
13361 * gdb.reverse/consecutive-precsave.exp: Likewise.
13362 * gdb.reverse/finish-precsave.exp: Likewise.
13363 * gdb.reverse/i386-precsave.exp: Likewise.
13364 * gdb.reverse/machinestate-precsave.exp: Likewise.
13365 * gdb.reverse/sigall-precsave.exp: Likewise.
13366 * gdb.reverse/solib-precsave.exp: Likewise.
13367 * gdb.reverse/step-precsave.exp: Likewise.
13368 * gdb.reverse/until-precsave.exp: Likewise.
13369 * gdb.reverse/watch-precsave.exp: Likewise.
13370
13371 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13372
13373 * gdb.base/bp-permanent.c: Include unistd.h.
13374 * gdb.python/py-framefilter-mi.c (main): Add return type.
13375 * gdb.python/py-framefilter.c (main): Likewise.
13376 * gdb.trace/actions-changed.c (main): Likewise.
13377
13378 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13379
13380 * gdb.mi/until.c: Add eye-catchers.
13381 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13382 line numbers.
13383
13384 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13385
13386 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13387 function header variants in break1.c.
13388 * gdb.base/ena-dis-br.exp: Likewise.
13389 * gdb.base/hbreak2.exp: Likewise.
13390 * gdb.reverse/until-precsave.exp: Drop references to removed
13391 non-prototype function header variants in ur1.c.
13392 * gdb.reverse/until-reverse.exp: Likewise.
13393
13394 2014-11-17 Petr Machata <pmachata@redhat.com>
13395
13396 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13397 ${_cu_offset_size} bytes abbrev offset.
13398
13399 2014-11-15 Doug Evans <xdje42@gmail.com>
13400
13401 PR symtab/17559
13402 * gdb.base/line-symtabs.exp: New file.
13403 * gdb.base/line-symtabs.c: New file.
13404 * gdb.base/line-symtabs.h: New file.
13405
13406 2014-11-14 Yao Qi <yao@codesourcery.com>
13407
13408 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13409 (func): Add label func_label.
13410 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13411 Replace low_pc and high_pc with MACRO_AT_range.
13412 Replace name, low_pc and high_pc with MACRO_AT_func.
13413
13414 2014-11-14 Yao Qi <yao@codesourcery.com>
13415
13416 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13417 Replace name, low_pc and high_pc with MACRO_AT_func.
13418
13419 2014-11-14 Yao Qi <yao@codesourcery.com>
13420
13421 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13422 produce debug information.
13423 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13424
13425 2014-11-14 Yao Qi <yao@codesourcery.com>
13426
13427 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13428 object and get function length.
13429 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13430 with MACRO_AT_func.
13431 (top-level): Replace gdb_compile and clean_restart with
13432 prepare_for_testing.
13433 * gdb.dwarf2/main.c (main): Add label main_label.
13434
13435 2014-11-14 Yao Qi <yao@codesourcery.com>
13436
13437 * lib/dwarf.exp (function_range): New procedure.
13438 (Dwarf::_handle_macro_at_func): New procedure.
13439 (Dwarf::_handle_macro_at_range): New procedure.
13440 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13441
13442 2014-11-14 Yao Qi <yao@codesourcery.com>
13443
13444 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13445 (_handle_attribute): New procedure.
13446
13447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13448
13449 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13450 * gdb.base/call-sc.c (zed): Likewise.
13451 * gdb.base/checkpoint.c (main): Likewise.
13452 * gdb.base/dump.c (main): Likewise.
13453 * gdb.base/gcore.c (main): Likewise.
13454 * gdb.base/huge.c (main): Likewise.
13455 * gdb.base/multi-forks.c (main): Likewise.
13456 * gdb.base/pr10179-a.c (main): Likewise.
13457 * gdb.base/savedregs.c (main): Likewise.
13458 * gdb.base/sigaltstack.c (main): Likewise.
13459 * gdb.base/siginfo.c (main): Likewise.
13460 * gdb.base/structs.c (zed): Likewise.
13461 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13462 * gdb.mi/mi-syn-frame.c (main): Likewise.
13463 * gdb.mi/until.c (foo, main): Likewise.
13464 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13465 * gdb.base/solib-weak.c (foo): Declare.
13466 * gdb.base/attach-twice.c: Include stdio.h.
13467 * gdb.base/weaklib1.c: Likewise.
13468 * gdb.base/weaklib2.c: Likewise.
13469 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13470 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13471 unistd.h.
13472 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13473 * gdb.mi/mi-exit-code.c: Likewise.
13474 * gdb.base/break-interp-lib.c: Include string.h.
13475 * gdb.base/coremaker.c: Likewise.
13476 * gdb.base/testenv.c: Likewise.
13477 * gdb.python/py-finish-breakpoint.c: Likewise.
13478 * gdb.base/inferior-died.c: Include sys/wait.h.
13479 * gdb.base/fileio.c: Include time.h.
13480 * gdb.base/async-shell.c: Include unistd.h.
13481 * gdb.base/dprintf-non-stop.c: Likewise.
13482 * gdb.base/info-os.c: Likewise.
13483 * gdb.mi/mi-console.c: Likewise.
13484 * gdb.mi/watch-nonstop.c: Likewise.
13485 * gdb.python/py-events.c: Likewise.
13486 * gdb.base/async.c (baz): Move up before its invocation.
13487 * gdb.base/code_elim2.c (my_global_func): Likewise.
13488 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13489 * gdb.base/advance.c (func2): Likewise.
13490
13491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13492
13493 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13494 variant.
13495 * gdb.base/annota3.c: Likewise.
13496 * gdb.base/async.c: Likewise.
13497 * gdb.base/average.c: Likewise.
13498 * gdb.base/call-ar-st.c: Likewise.
13499 * gdb.base/call-rt-st.c: Likewise.
13500 * gdb.base/call-sc.c: Likewise.
13501 * gdb.base/call-strs.c: Likewise.
13502 * gdb.base/ending-run.c: Likewise.
13503 * gdb.base/execd-prog.c: Likewise.
13504 * gdb.base/exprs.c: Likewise.
13505 * gdb.base/foll-exec.c: Likewise.
13506 * gdb.base/foll-fork.c: Likewise.
13507 * gdb.base/foll-vfork.c: Likewise.
13508 * gdb.base/funcargs.c: Likewise.
13509 * gdb.base/gcore.c: Likewise.
13510 * gdb.base/jump.c: Likewise.
13511 * gdb.base/langs0.c: Likewise.
13512 * gdb.base/langs1.c: Likewise.
13513 * gdb.base/langs2.c: Likewise.
13514 * gdb.base/mips_pro.c: Likewise.
13515 * gdb.base/nodebug.c: Likewise.
13516 * gdb.base/opaque0.c: Likewise.
13517 * gdb.base/opaque1.c: Likewise.
13518 * gdb.base/recurse.c: Likewise.
13519 * gdb.base/run.c: Likewise.
13520 * gdb.base/scope0.c: Likewise.
13521 * gdb.base/scope1.c: Likewise.
13522 * gdb.base/setshow.c: Likewise.
13523 * gdb.base/setvar.c: Likewise.
13524 * gdb.base/shmain.c: Likewise.
13525 * gdb.base/shr1.c: Likewise.
13526 * gdb.base/shr2.c: Likewise.
13527 * gdb.base/sigall.c: Likewise.
13528 * gdb.base/signals.c: Likewise.
13529 * gdb.base/so-indr-cl.c: Likewise.
13530 * gdb.base/solib2.c: Likewise.
13531 * gdb.base/structs.c: Likewise.
13532 * gdb.base/sum.c: Likewise.
13533 * gdb.base/vforked-prog.c: Likewise.
13534 * gdb.base/watchpoint.c: Likewise.
13535 * gdb.reverse/shr2.c: Likewise.
13536 * gdb.reverse/until-reverse.c: Likewise.
13537 * gdb.reverse/ur1.c: Likewise.
13538 * gdb.reverse/watch-reverse.c: Likewise.
13539
13540 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13541
13542 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13543 variant.
13544 * gdb.base/sepdebug.exp: Drop references to removed code.
13545
13546 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13547
13548 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13549 variant. Preserve original line numbering.
13550 * gdb.base/list1.c: Likewise.
13551
13552 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13553
13554 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13555 variant.
13556 * gdb.base/break1.c: Likewise.
13557 * gdb.base/break.exp: Drop references to removed code.
13558
13559 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13560
13561 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13562 variant.
13563
13564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13565
13566 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13567
13568 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13569
13570 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13571 logic into perform_all_tests() and invoke it with and without
13572 function header prototypes.
13573 (do_function_calls): Remove conditional XFAIL for PR 5318.
13574 (rerun_and_prepare): Remove duplicate code.
13575 (perform_all_tests): New. Main logic moved here.
13576
13577 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13578
13579 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13580 code guarded by #ifdef NO_PROTOTYPES.
13581 (t_double_many_args): Likewise.
13582 (DEF_FUNC_MANY_ARGS_1): Likewise.
13583 (DEF_FUNC_VALUES_1): Likewise.
13584 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13585 guarded by #ifdef PROTOTYPES.
13586
13587 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13588
13589 * gdb.mi/mi-console.c: Add eye-catcher.
13590 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13591 instead of literal line number.
13592
13593 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13594
13595 * gdb.base/shr2.c: Add eye-catcher.
13596 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13597 line number.
13598
13599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13600
13601 * gdb.base/jump.c: Add eye-catchers.
13602 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13603 numbers.
13604
13605 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13606
13607 * gdb.base/execd-prog.c: Add eye-catchers.
13608 * gdb.base/foll-exec.c: Likewise.
13609 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13610 line numbers.
13611
13612 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13613
13614 * gdb.base/ending-run.c: Add eye-catchers.
13615 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13616 literal line numbers.
13617
13618 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13619
13620 * gdb.base/call-rt-st.c: Add eye-catchers.
13621 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13622 literal line numbers.
13623
13624 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13625
13626 * gdb.base/call-ar-st.c: Add eye-catchers.
13627 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13628 literal line numbers.
13629
13630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13631
13632 * gdb.base/average.c: Add eye-catchers.
13633 * gdb.base/sum.c: Likewise.
13634 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13635 regexps dynamically.
13636
13637 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13638
13639 * gdb.base/solib1.c: Add eye-catchers.
13640 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13641 literal line numbers.
13642
13643 2014-11-12 Pedro Alves <palves@redhat.com>
13644
13645 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13646 leader has exited.
13647
13648 2014-11-12 Pedro Alves <palves@redhat.com>
13649
13650 * gdb.arch/i386-bp_permanent.c: New file.
13651 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13652 (srcfile): Set to i386-bp_permanent.c.
13653 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13654 that stepi does not execute the 'leave' instruction, instead of
13655 testing it does execute.
13656 * gdb.base/bp-permanent.c: New file.
13657 * gdb.base/bp-permanent.exp: New file.
13658
13659 2014-11-10 Doug Evans <xdje42@gmail.com>
13660
13661 PR symtab/17564
13662 * gdb.base/symtab-search-order.exp: New file.
13663 * gdb.base/symtab-search-order.c: New file.
13664 * gdb.base/symtab-search-order-1.c: New file.
13665 * gdb.base/symtab-search-order-shlib-1.c: New file.
13666
13667 2014-11-07 Pedro Alves <palves@redhat.com>
13668
13669 PR gdb/17511
13670 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13671 i?86-*-linux*.
13672
13673 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13674
13675 PR c++/17494
13676 * gdb.cp/pr17494.cc: New file.
13677 * gdb.cp/pr17494.exp: New file.
13678
13679 2014-11-02 Yao Qi <yao@codesourcery.com>
13680
13681 * gdb.python/python.exp: Get working directory and match the
13682 output of "set extended-prompt \\w " with it.
13683
13684 2014-10-30 Doug Evans <dje@google.com>
13685
13686 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13687 in objfiles.
13688 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13689 in progspaces.
13690
13691 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13692
13693 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13694 * gdb.base/realname-expand.exp: Likewise.
13695 * gdb.linespec/macro-relative.exp: Likewise.
13696
13697 2014-10-29 Pedro Alves <palves@redhat.com>
13698
13699 PR gdb/17408
13700 * gdb.threads/schedlock.c (some_function): New function.
13701 (call_function): New global.
13702 (MAYBE_CALL_SOME_FUNCTION): New macro.
13703 (thread_function): Call it.
13704 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13705 and use it instead of a global counter. Adjust all callers.
13706 (get_current_thread): Use "find current thread" for test message
13707 here rather than having all callers pass down the same string.
13708 (goto_loop): New procedure, factored out from ...
13709 (my_continue): ... this.
13710 (step_ten_loops): Change parameter from test message to command to
13711 use. Adjust.
13712 (list_count): Delete global.
13713 (check_result): New procedure, factored out from duplicate top
13714 level code.
13715 (continue tests): Wrap in with_test_prefix.
13716 (test_step): New procedure, factored out from duplicate top level
13717 code.
13718 (top level): Test "step" in combination with all scheduler-locking
13719 modes. Test "next" in combination with all scheduler-locking
13720 modes, and in combination with stepping over a function call or
13721 not.
13722 * gdb.threads/next-bp-other-thread.c: New file.
13723 * gdb.threads/next-bp-other-thread.exp: New file.
13724
13725 2014-10-29 Pedro Alves <palves@redhat.com>
13726
13727 PR python/17372
13728 * gdb.python/python.exp: Test a multi-line command that spawns
13729 interactive Python.
13730 * gdb.base/multi-line-starts-subshell.exp: New file.
13731
13732 2014-10-29 Yao Qi <yao@codesourcery.com>
13733
13734 * gdb.base/fileio.exp: Make directories on host.
13735
13736 2014-10-29 Yao Qi <yao@codesourcery.com>
13737
13738 * gdb.base/fileio.c (test_write): Close the file.
13739
13740 2014-10-28 Pedro Alves <palves@redhat.com>
13741
13742 PR gdb/12623
13743 * gdb.base/sigstep.c (no_handler): New global.
13744 (main): If 'no_handler is true, set the signal handlers to
13745 SIG_IGN.
13746 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13747 with_sw_watch and no_handler parameters. Handle them.
13748 (top level) <stepping over handler when stopped at a breakpoint
13749 test>: Add a test axis for testing with a software watchpoint, and
13750 another for testing with the signal handler set to SIG_IGN.
13751 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13752 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13753
13754 2014-10-28 Pedro Alves <palves@redhat.com>
13755
13756 PR gdb/17511
13757 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13758 * gdb.base/sigstep.exp (other_handler_location): New global.
13759 (advance): Support stepping into the signal handler, and running
13760 commands while in the handler.
13761 (in_handler_map): New global.
13762 (top level): In the advance test, add combinations for getting
13763 into the handler with stepping commands, and for running commands
13764 in the handler. Add comment descripting the advancei tests.
13765
13766 2014-10-28 Pedro Alves <palves@redhat.com>
13767
13768 * gdb.base/sigstep.exp: Use build_executable instead of
13769 prepare_for_testing.
13770 (top level): Move code that starts GDB, runs to main and creates a
13771 display to ...
13772 (restart): ... this new procedure.
13773 (top level): Move backtrace from signal handler test to ...
13774 (validate_backtrace): ... this new procedure.
13775 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13776 with_test_prefix. Always restart GDB.
13777 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13778 with_test_prefix. Always restart GDB. No need to delete
13779 breakpoints after the test.
13780 (test_skip_handler): Remove prefix parameter.
13781 (skip_over_handler, breakpoint_to_handler)
13782 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13783 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13784 restart GDB. No need to delete breakpoints after the test.
13785 (top level): Use foreach to call the test procedures with
13786 different commands.
13787
13788 2014-10-28 Pedro Alves <palves@redhat.com>
13789
13790 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13791 instead of GNATS numbers.
13792 * gdb.base/sigbpt.exp: Likewise.
13793 * gdb.base/siginfo.exp: Likewise.
13794 * gdb.base/sigstep.exp: Likewise.
13795
13796 2014-10-27 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.base/sigstep.c (dummy): New global.
13799 (main): Issue a couple writes to the new global.
13800 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13801 procedures.
13802 (skip_over_handler): Use test_skip_handler.
13803 (top level): Call skip_over_handler for stepi and nexti too.
13804 (breakpoint_over_handler): Use test_skip_handler.
13805 (top level): Call breakpoint_over_handler for stepi and nexti too.
13806
13807 2014-10-27 Yao Qi <yao@codesourcery.com>
13808
13809 * gdb.trace/tfile.c (adjust_function_address)
13810 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13811 function descriptor.
13812
13813 2014-10-24 Don Breazeal <donb@codesourcery.com>
13814
13815 * gdb.base/foll-fork.exp (test_follow_fork,
13816 catch_fork_child_follow): Check for updated fork messages emitted
13817 from infrun.c.
13818 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13819 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13820 vfork_and_exec_child_follow_through_step): Check for updated vfork
13821 messages emitted from infrun.c.
13822
13823 2014-10-24 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.base/corefile.exp: Remove references to ultrix.
13826 * gdb.base/interrupt.exp: Likewise.
13827 * gdb.base/whatis.exp: Likewise.
13828 * gdb.gdb/selftest.exp: Likewise.
13829 * gdb.threads/manythreads.exp: Likewise.
13830 * gdb.threads/print-threads.exp: Likewise.
13831 * gdb.threads/pthreads.exp:: Likewise.
13832 * gdb.threads/schedlock.exp: Likewise.
13833
13834 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13835
13836 * gdb.cp/non-trivial-retval.cc: Add a test case.
13837 * gdb.cp/non-trivial-retval.exp: Add a test.
13838
13839 2014-10-20 Yao Qi <yao@codesourcery.com>
13840
13841 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13842 * gdb.python/py-objfile-script-gdb.py: New file.
13843 * gdb.python/py-objfile-script.exp: Update reference to
13844 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13845 of remote_download. Remove the dest file.
13846
13847 2014-10-20 Yao Qi <yao@codesourcery.com>
13848
13849 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13850 * gdb.base/step-line.exp: Likewise.
13851 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13852 * gdb.dwarf2/dw2-basic.exp: Likewise.
13853 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13854 * gdb.dwarf2/dw2-filename.exp: Likewise.
13855 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13856 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13857 * gdb.dwarf2/dw2-producer.exp: Likewise.
13858 * gdb.dwarf2/mac-fileno.exp: Likewise.
13859 * gdb.python/py-frame-args.exp: Likewise.
13860 * gdb.python/py-framefilter.exp: Likewise.
13861 * gdb.python/py-mi.exp: Likewise.
13862 * gdb.python/py-objfile-script.exp: Likewise
13863 * gdb.python/py-pp-integral.exp: Likewise.
13864 * gdb.python/py-pp-re-notag.exp: Likewise.
13865 * gdb.python/py-prettyprint.exp: Likewise.
13866 * gdb.python/py-section-script.exp: Likewise.
13867 * gdb.python/py-typeprint.exp: Likewise.
13868 * gdb.python/py-xmethods.exp: Likewise.
13869 * gdb.stabs/weird.exp: Likewise.
13870 * gdb.xml/tdesc-regs.exp: Likewise.
13871
13872 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13873
13874 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13875 (out_cu): Use addr_len for the size of addresses.
13876 (out_line): Likewise. Size DW_LNE_set_address instruction
13877 according to addr_len.
13878 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13879 (FUNC): Add START_INSNS to definition.
13880
13881 2014-10-18 Yao Qi <yao@codesourcery.com>
13882
13883 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13884 gdb_has_argv0 return true.
13885 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13886 check [target_info exists noargs], check [gdb_has_argv0]
13887 instead.
13888 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13889 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13890 procedures.
13891
13892 2014-10-17 Doug Evans <dje@google.com>
13893
13894 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13895 event.
13896 * gdb.python/py-events.py: Add clear_objfiles event.
13897
13898 2014-10-17 Doug Evans <dje@google.com>
13899
13900 * gdb.python/py-objfile.exp: Test progspace attribute.
13901
13902 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13903
13904 * gdb.guile/scm-breakpoint.exp: Do not assume any
13905 directory separators when matching source file paths.
13906 * gdb.python/py-breakpoint.exp: Likewise.
13907 * gdb.reverse/break-precsave.exp: Likewise.
13908 * gdb.reverse/break-reverse.exp: Likewise.
13909 * gdb.reverse/consecutive-precsave.exp: Likewise.
13910 * gdb.reverse/finish-precsave.exp: Likewise.
13911 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13912 * gdb.reverse/finish-reverse.exp: Likewise.
13913 * gdb.reverse/i386-precsave.exp: Likewise.
13914 * gdb.reverse/i387-env-reverse.exp: Likewise.
13915 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13916 * gdb.reverse/machinestate-precsave.exp: Likewise.
13917 * gdb.reverse/machinestate.exp: Likewise.
13918 * gdb.reverse/sigall-precsave.exp: Likewise.
13919 * gdb.reverse/solib-precsave.exp: Likewise.
13920 * gdb.reverse/step-precsave.exp: Likewise.
13921 * gdb.reverse/until-precsave.exp: Likewise.
13922 * gdb.reverse/watch-precsave.exp: Likewise.
13923 * gdb.reverse/watch-reverse.exp: Likewise.
13924
13925 2014-10-17 Yao Qi <yao@codesourcery.com>
13926
13927 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13928 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13929
13930 2014-10-17 Pedro Alves <palves@redhat.com>
13931
13932 PR gdb/17471
13933 * gdb.base/bg-execution-repeat.c: New file.
13934 * gdb.base/bg-execution-repeat.exp: New file.
13935
13936 2014-10-17 Pedro Alves <palves@redhat.com>
13937
13938 PR gdb/17300
13939 * gdb.base/continue-all-already-running.c: New file.
13940 * gdb.base/continue-all-already-running.exp: New file.
13941
13942 2014-10-17 Pedro Alves <palves@redhat.com>
13943
13944 PR gdb/17472
13945 * gdb.base/annota-input-while-running.c: New file.
13946 * gdb.base/annota-input-while-running.exp: New file.
13947
13948 2014-10-17 Pedro Alves <palves@redhat.com>
13949
13950 * gdb.base/callfuncs.exp: emove references to osf.
13951 * gdb.base/sigall.exp: Likewise.
13952 * gdb.gdb/selftest.exp: Likewise.
13953 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13954 * gdb.mi/non-stop.c: Likewise.
13955 * gdb.mi/pthreads.c: Likewise.
13956 * gdb.reverse/sigall-precsave.exp: Likewise.
13957 * gdb.reverse/sigall-reverse.exp: Likewise.
13958 * gdb.threads/pthreads.c: Likewise.
13959 * gdb.threads/pthreads.exp: Likewise.
13960
13961 2014-10-17 Yao Qi <yao@codesourcery.com>
13962
13963 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13964 check 'target_info exists noargs'.
13965 (test_command_prompt_position): Likewise.
13966 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13967 Remove "set args".
13968 (progvar_simple_while_test): Likewise.
13969 (progvar_complex_if_while_test): Likewise.
13970 (if_while_breakpoint_command_test): Likewise.
13971 (infrun_breakpoint_command_test): Likewise.
13972 (breakpoint_command_test): Likewise.
13973 (watchpoint_command_test): Likewise.
13974 (bp_deleted_in_command_test): Likewise.
13975 (temporary_breakpoint_commands): Likewise.
13976
13977 2014-10-16 Yao Qi <yao@codesourcery.com>
13978
13979 * gdb.base/remotetimeout.exp: Remove noargs checking.
13980
13981 2014-10-15 Pedro Alves <palves@redhat.com>
13982
13983 PR breakpoints/9649
13984 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13985 * gdb.base/breakpoint-in-ro-region.exp
13986 (probe_target_hardware_step): New procedure.
13987 (top level): Probe hardware stepping and hardware breakpoint
13988 support. Test stepping through a read-only region, with both
13989 "breakpoint auto-hw" on and off and both "always-inserted" on and
13990 off.
13991
13992 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13993
13994 * gdb.dlang/demangle.exp: Update for demangling changes.
13995
13996 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13997
13998 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13999 * gdb.cp/non-trivial-retval.exp: Add new tests.
14000
14001 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14002
14003 PR c++/13403
14004 PR c++/15154
14005 * gdb.cp/non-trivial-retval.cc: New file.
14006 * gdb.cp/non-trivial-retval.exp: New file.
14007
14008 2014-10-15 Yao Qi <yao@codesourcery.com>
14009
14010 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14011 remote host.
14012
14013 2014-10-15 Yao Qi <yao@codesourcery.com>
14014
14015 * gdb.python/py-symbol.exp: Match file base name if host is
14016 remote, otherwise match file name with dir name.
14017 * gdb.python/py-symtab.exp: Likewise.
14018 * gdb.python/python.exp: Likewise.
14019
14020 2014-10-15 Yao Qi <yao@codesourcery.com>
14021
14022 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14023 pattern.
14024 * gdb.python/py-symtab.exp: Likewise.
14025 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14026 locationn.
14027
14028 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14029
14030 * gdb.ada/addr_arith: New testcase.
14031
14032 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14033
14034 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14035 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14036 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14037 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14038
14039 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14040
14041 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14042 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14043 * gdb.arch/stap-eval-lang-ada.exp: New file.
14044
14045 2014-10-14 Yao Qi <yao@codesourcery.com>
14046
14047 * gdb.mi/mi-var-child.c (nothing1): New function.
14048 (nothing2): New function.
14049 (do_children_tests): Set function pointers by nothing1 and
14050 nothing2.
14051 * gdb.mi/mi-var-child.exp: Step over new added statements.
14052 Update test to match the new output.
14053 * gdb.mi/var-cmd.c (nothing1): New function.
14054 (nothing2): New function.
14055 (do_children_tests): Set function pointers by nothing1 and
14056 nothing2.
14057 * gdb.mi/mi-var-display.exp: Update test to match output.
14058 Step to the line specified by $line_dct_nothing.
14059 Increase the number of lines to step.
14060
14061 2014-10-14 Yao Qi <yao@codesourcery.com>
14062
14063 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14064 tests.
14065 * gdb.mi/mi2-var-child.exp: Likewise.
14066
14067 2014-10-13 Doug Evans <dje@google.com>
14068
14069 * gdb.python/py-objfile.exp: Change name of file name test.
14070
14071 2014-10-13 Doug Evans <dje@google.com>
14072
14073 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14074 from the start of the CU.
14075
14076 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14077 Yao Qi <yao@codesourcery.com>
14078
14079 Fix "save breakpoints" for "catch" command.
14080 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14081 Remove -nonewline. Match also the added "main" line.
14082
14083 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14084
14085 Fix "save breakpoints" for "disable $bpnum" command.
14086 * gdb.base/save-bp.c (main): Add label.
14087 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14088
14089 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14090
14091 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14092
14093 2014-10-11 Yao Qi <yao@codesourcery.com>
14094
14095 * gdb.server/server-kill.exp: Execute command
14096 "set remote trace-status-packet on" before "tstatus".
14097
14098 2014-10-11 Yao Qi <yao@codesourcery.com>
14099
14100 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14101 (main): Call getppid.
14102 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14103 and continue to it. Read variable "server_pid".
14104
14105 2014-10-11 Yao Qi <yao@codesourcery.com>
14106
14107 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14108
14109 2014-10-11 Yao Qi <yao@codesourcery.com>
14110
14111 * gdb.threads/thread-find.exp: Don't execute command
14112 "info threads".
14113 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14114 * gdb.threads/linux-dp.exp: Don't check the condition
14115 $threads_created equals to zero.
14116
14117 2014-10-10 Pedro Alves <palves@redhat.com>
14118
14119 * gdb.base/bigcore.exp: Remove references to IRIX.
14120 * gdb.base/funcargs.exp: Likewise.
14121 * gdb.base/interrupt.exp: Likewise.
14122 * gdb.base/mips_pro.exp: Likewise.
14123 * gdb.base/nodebug.exp: Likewise.
14124 * gdb.base/setvar.exp: Likewise.
14125 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14126
14127 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14128 Pedro Alves <palves@redhat.com>
14129
14130 PR symtab/14466
14131 * gdb.base/vdso-warning.c: New file.
14132 * gdb.base/vdso-warning.exp: New file.
14133
14134 2014-10-02 Doug Evans <dje@google.com>
14135
14136 * gdb.base/structs.c (main): Don't run forever.
14137
14138 2014-10-02 Pedro Alves <palves@redhat.com>
14139
14140 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14141 (top level) <stop threads 1, stop threads 2>: Use it.
14142
14143 2014-10-02 Pedro Alves <palves@redhat.com>
14144
14145 * gdb.threads/break-while-running.exp (test): Add new
14146 'update_thread_list' argument. Skip "info threads" if false.
14147 (top level): Add new 'update_thread_list' axis.
14148
14149 2014-10-02 Pedro Alves <palves@redhat.com>
14150
14151 PR breakpoints/17431
14152 * gdb.base/execl-update-breakpoints.c: New file.
14153 * gdb.base/execl-update-breakpoints.exp: New file.
14154
14155 2014-10-01 Pedro Alves <palves@redhat.com>
14156
14157 * gdb.base/breakpoint-in-ro-region.c: New file.
14158 * gdb.base/breakpoint-in-ro-region.exp: New file.
14159
14160 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14161
14162 * gdb.mi/mi-exit-code.exp: New file.
14163 * gdb.mi/mi-exit-code.c: New file.
14164
14165 2014-09-30 Yao Qi <yao@codesourcery.com>
14166
14167 * lib/prelink-support.exp (build_executable_own_libs): Error if
14168 the target isn't native.
14169
14170 2014-09-30 Yao Qi <yao@codesourcery.com>
14171
14172 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14173 false.
14174
14175 2014-09-22 Pedro Alves <palves@redhat.com>
14176
14177 * gdb.threads/break-while-running.exp: New file.
14178 * gdb.threads/break-while-running.c: New file.
14179
14180 2014-09-19 Yao Qi <yao@codesourcery.com>
14181
14182 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14183 Invoke test. Restart GDB with --readnow and invoke test again.
14184
14185 2014-09-19 Yao Qi <yao@codesourcery.com>
14186
14187 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14188 proc set_breakpoint_on_gcd_function. Invoke
14189 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14190 invoke set_breakpoint_on_gcd_function again.
14191
14192 2014-09-18 Doug Evans <dje@google.com>
14193
14194 * gdb.dwarf2/symtab-producer.exp: New file.
14195
14196 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14197
14198 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14199 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14200 * gdb.base/global-var-nested-by-dso.c: Likewise.
14201 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14202
14203 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14204 Pedro Alves <palves@redhat.com>
14205
14206 * gdb.base/watch-bitfields.exp: Pass string other than test file
14207 name to prepare_for_testing.
14208 (watch): New procedure.
14209 (expect_watchpoint): Use with_test_prefix.
14210 (top level): Factor out tests to ...
14211 (test_watch_location, test_regular_watch): ... these new
14212 procedures, and use with_test_prefix and gdb_continue_to_end.
14213
14214 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14215
14216 PR breakpoints/12526
14217 * gdb.base/watch-bitfields.exp: New file.
14218 * gdb.base/watch-bitfields.c: New file.
14219
14220 2014-09-16 Pedro Alves <palves@redhat.com>
14221
14222 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14223 software and hardware addresses, not software address against
14224 itself.
14225
14226 2014-09-16 Pedro Alves <palves@redhat.com>
14227
14228 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14229 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14230
14231 2014-09-16 Pedro Alves <palves@redhat.com>
14232
14233 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14234 files.
14235 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14236 "*-*-vxworks*" throughout.
14237 * gdb.base/break.exp: Likewise.
14238 * gdb.base/default.exp: Likewise.
14239 * gdb.base/scope.exp: Likewise.
14240 * gdb.base/sepdebug.exp: Likewise.
14241 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14242 throughout.
14243 * gdb.base/run.c: Likewise.
14244 * gdb.base/sepdebug.c: Likewise.
14245 * gdb.hp/gdb.aCC/run.c: Likewise.
14246 * gdb.reverse/until-reverse.c: Likewise.
14247 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14248
14249 2014-09-16 Yao Qi <yao@codesourcery.com>
14250
14251 * boards/local-remote-host-native.exp: New file.
14252
14253 2014-09-14 Doug Evans <xdje42@gmail.com>
14254
14255 * gdb.threads/queue-signal.c (thread_count): New variable.
14256 (thread_count_mutex, thread_count_condvar): New variables.
14257 (incr_thread_count, wait_all_threads_running): New functions.
14258 (main): Wait for all threads to be in their thread functions.
14259
14260 2014-09-13 Doug Evans <xdje42@gmail.com>
14261
14262 * gdb.threads/queue-signal.c: New file.
14263 * gdb.threads/queue-signal.exp: New file.
14264
14265 2014-09-13 Doug Evans <xdje42@gmail.com>
14266
14267 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14268 be consistent with what default_gdb_init uses.
14269 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14270 the plain text of the prompt. Add some logging printfs.
14271 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14272
14273 2014-09-12 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14276 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14277 * gdb.arch/i386-size-overlap.exp: Likewise.
14278 * gdb.arch/i386-size.exp: Likewise.
14279 * gdb.arch/i386-unwind.exp: Likewise.
14280 * gdb.base/a2-run.exp: Likewise.
14281 * gdb.base/break.exp: Likewise.
14282 * gdb.base/charset.exp: Likewise.
14283 * gdb.base/chng-syms.exp: Likewise.
14284 * gdb.base/commands.exp: Likewise.
14285 * gdb.base/dbx.exp: Likewise.
14286 * gdb.base/find.exp: Likewise.
14287 * gdb.base/funcargs.exp: Likewise.
14288 * gdb.base/jit-simple.exp: Likewise.
14289 * gdb.base/reread.exp: Likewise.
14290 * gdb.base/sepdebug.exp: Likewise.
14291 * gdb.base/step-bt.exp: Likewise.
14292 * gdb.cp/mb-inline.exp: Likewise.
14293 * gdb.cp/mb-templates.exp: Likewise.
14294 * gdb.objc/basicclass.exp: Likewise.
14295 * gdb.threads/killed.exp: Likewise.
14296
14297 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14298
14299 PR tdep/17379
14300 * gdb.arch/powerpc-stackless.S: New file.
14301 * gdb.arch/powerpc-stackless.exp: New file.
14302
14303 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14304
14305 * gdb.base/attach.c: Include unistd.h.
14306 (main): Call alarm. Add label postloop.
14307 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14308 gdb_breakpoint, gdb_continue_to_breakpoint.
14309 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14310
14311 2014-09-11 Pedro Alves <palves@redhat.com>
14312
14313 PR gdb/17347
14314 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14315 * gdb.base/attach.exp (test_command_line_attach_run): New
14316 procedure.
14317 (top level): Call it.
14318
14319 2014-09-11 Pedro Alves <palves@redhat.com>
14320
14321 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14322 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14323 (do_command_attach_tests): Use spawn_wait_for_attach.
14324 * gdb.base/solib-overlap.exp: Likewise.
14325 * gdb.multi/multi-attach.exp: Likewise.
14326 * gdb.python/py-prompt.exp: Likewise.
14327 * gdb.python/py-sync-interp.exp: Likewise.
14328 * gdb.server/ext-attach.exp: Likewise.
14329
14330 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14331
14332 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14333 command in testcase. Simplify testcase.
14334
14335 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14336
14337 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14338
14339 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14340
14341 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14342
14343 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14344
14345 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14346
14347 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14348
14349 * gdb.dwarf2/dynarr-ptr.c: New file.
14350 * gdb.dwarf2/dynarr-ptr.exp: New file.
14351
14352 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14353
14354 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14355 of 30 rather than hardcoding 120 for a slow test case. Take the
14356 `gdb,timeout' target setting into account for this calculation.
14357 Don't extend the timeout for the test cases that don't need it.
14358
14359 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14360
14361 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14362 a factor of 2 for a slow test case. Take the `gdb,timeout'
14363 target setting into account for this calculation.
14364 * gdb.reverse/until-precsave.exp: Increase the timeout by
14365 a factor of 15 and 3 respectively rather than adding 120
14366 for a pair of slow test cases. Take the `gdb,timeout'
14367 target setting into account for this calculation.
14368
14369 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14370
14371 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14372 timeout, don't pass one down to gdb_expect.
14373 (gdb_expect): Rework timeout selection.
14374
14375 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14376
14377 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14378 exception on timeout.
14379 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14380 (gdbserver_start_extended): Catch any `gdbserver_start' error
14381 exceptions.
14382 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14383 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14384 `gdbserver_gdb_load' error exceptions.
14385
14386 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14387
14388 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14389 120 on waiting for the TCP socket to open.
14390
14391 2014-09-09 Doug Evans <xdje42@gmail.com>
14392
14393 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14394 _caller_matches, _any_caller_is, _any_caller_matches.
14395
14396 2014-09-09 Doug Evans <xdje42@gmail.com>
14397
14398 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14399
14400 2014-09-09 Yao Qi <yao@codesourcery.com>
14401
14402 * gdb.mi/mi-var-display.exp: Set print symbol off.
14403
14404 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14405
14406 PR gdb/17035
14407 * gdb.base/commands.exp: Add tests to verify user-defined
14408 commands with empty bodies.
14409 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14410 python commands in `show user command`.
14411 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14412 scheme commands in `show user command`.
14413
14414 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14415
14416 PR python/17355
14417 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14418 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14419 * gdb.python/py-framefilter-invalidarg.exp: New file.
14420 * gdb.python/py-framefilter-invalidarg.py: New file.
14421
14422 2014-09-06 Doug Evans <xdje42@gmail.com>
14423
14424 PR 15276
14425 * gdb.python/py-caller-is.c: New file.
14426 * gdb.python/py-caller-is.exp: New file.
14427
14428 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14429
14430 PR gdb/17235
14431 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14432 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14433
14434 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14435
14436 PR fortran/17237
14437 * gdb.fortran/print-formatted.exp: New file.
14438 * gdb.fortran/print-formatted.f90: Likewise.
14439
14440 2014-09-03 Sasha Smundak <asmundak@google.com>
14441
14442 * gdb.python/py-frame.exp: Test Frame.read_register.
14443
14444 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14445
14446 PR python/16699
14447 * gdb.python/py-completion.exp: New file.
14448 * gdb.python/py-completion.py: Likewise.
14449
14450 2014-08-28 Doug Evans <dje@google.com>
14451
14452 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14453 eax,etc. are live with values set by gdb and thus the compiler can't
14454 use them.
14455 * gdb.arch/i386-pseudo.c (main): Ditto.
14456
14457 2014-08-27 Doug Evans <dje@google.com>
14458
14459 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14460
14461 2014-08-25 Doug Evans <dje@google.com>
14462
14463 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14464 (main): Ditto.
14465
14466 2014-08-25 Doug Evans <dje@google.com>
14467
14468 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14469
14470 2014-08-24 Yao Qi <yao@codesourcery.com>
14471
14472 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14473 symbol off.
14474 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14475
14476 2014-08-22 Doug Evans <dje@google.com>
14477
14478 PR 17276
14479 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14480 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14481 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14482
14483 2014-08-22 Yao Qi <yao@codesourcery.com>
14484
14485 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14486 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14487 * gdb.python/python.exp: Likewise. Use .py file on the host
14488 instead of the build.
14489
14490 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14491
14492 * gdb.threads/gcore-stale-thread.c: New file.
14493 * gdb.threads/gcore-stale-thread.exp: New file.
14494
14495 2014-08-21 Pedro Alves <palves@redhat.com>
14496
14497 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14498 * gdb.base/gcore-relro-pie.exp: Likewise.
14499 * gdb.base/gcore-relro.exp: Likewise.
14500 * gdb.base/gcore.exp: Likewise.
14501 * gdb.base/print-symbol-loading.exp: Likewise.
14502 * gdb.threads/gcore-thread.exp: Likewise.
14503 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14504
14505 2014-08-20 Pedro Alves <palves@redhat.com>
14506 Jan Kratochvil <jan.kratochvil@redhat.com>
14507
14508 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14509 configure.
14510 (EXPECT): Handle READ1 being set.
14511 (all): Depend on EXTRA_RULES.
14512 (check-read1, expect-read1, read1.so, read1): New rules.
14513 * README (Testsuite Parameters): Document the READ1 make variable.
14514 (Race detection): New section.
14515 * configure: Regenerate.
14516 * configure.ac: If build==host==target, and running under a
14517 GNU/glibc system, add read1 to the extra Makefile rules.
14518 (EXTRA_RULES): AC_SUBST it.
14519 * lib/read1.c: New file.
14520
14521 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14522
14523 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14524 the handling of variables declared as a typedef to an array
14525 which a DW_AT_data_location attribute.
14526
14527 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14528 Pedro Alves <palves@redhat.com>
14529
14530 PR symtab/14604
14531 PR symtab/14605
14532 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14533 gdb_test.
14534
14535 2014-08-19 Pedro Alves <palves@redhat.com>
14536
14537 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14538
14539 2014-08-19 Yao Qi <yao@codesourcery.com>
14540
14541 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14542 right line.
14543
14544 2014-08-18 David Blaikie <dblaikie@gmail.com>
14545
14546 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14547
14548 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14549
14550 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14551 attribute in array range.
14552
14553 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14554
14555 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14556
14557 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14558
14559 PR c++/17132
14560 * gdb.cp/pr17132.cc: New file.
14561 * gdb.cp/pr17132.exp: New file.
14562
14563 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14564
14565 * gdb.python/py-xmethods.py (A_getarrayind)
14566 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14567 Use 'print' with function call syntax.
14568 (E_method_matcher.match): Fix tab vs space indentation mixup.
14569
14570 2014-08-15 Yao Qi <yao@codesourcery.com>
14571
14572 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14573 false.
14574
14575 2014-08-15 Yao Qi <yao@codesourcery.com>
14576
14577 * gdb.cp/casts.exp: Set print symbol off.
14578 * gdb.cp/class2.exp: Likewise.
14579 * gdb.cp/overload.exp: Likewise.
14580 * gdb.cp/templates.exp: Likewise.
14581
14582 2014-08-11 Doug Evans <dje@google.com>
14583
14584 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14585 (test_load_shlib): Update.
14586
14587 2014-08-09 Yao Qi <yao@codesourcery.com>
14588
14589 * gdb.base/display.exp: Invoke is_address_zero_readable.
14590 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14591 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14592 * gdb.base/hbreak-unmapped.exp: Return if
14593 is_address_zero_readable returns true.
14594 * gdb.base/signest.exp: Likewise.
14595 * gdb.base/signull.exp: Likewise.
14596 * gdb.base/sigbpt.exp: Likewise.
14597 * gdb.guile/scm-disasm.exp: Do the test if
14598 is_address_zero_readable returns false.
14599 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14600 * gdb.python/py-arch.exp: Likewise.
14601 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14602 * lib/gdb.exp (is_address_zero_readable): New proc.
14603
14604 2014-08-09 Yao Qi <yao@codesourcery.com>
14605
14606 PR testsuite/13443
14607 * gdb.mi/mi-var-display.exp: Make test messages unique.
14608
14609 2014-08-04 Tom Tromey <tromey@redhat.com>
14610
14611 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14612 target 0".
14613
14614 2014-08-04 Tom Tromey <tromey@redhat.com>
14615
14616 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14617 "target_resume".
14618
14619 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14620
14621 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14622 inner_vla_struct_object_size.
14623 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14624 as xfail.
14625
14626 2014-07-30 Pedro Alves <palves@redhat.com>
14627
14628 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14629 comment.
14630
14631 2014-07-29 Yao Qi <yao@codesourcery.com>
14632
14633 PR gdb/17206
14634 * gdb.base/until-nodebug.exp: New.
14635
14636 2014-07-28 Doug Evans <xdje42@gmail.com>
14637
14638 PR guile/17203
14639 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14640 previously existing parameter, and previously ambiguously spelled
14641 parameter.
14642
14643 2014-07-28 Will Newton <will.newton@linaro.org>
14644
14645 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14646
14647 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14648 Doug Evans <xdje42@gmail.com>
14649
14650 PR guile/17146
14651 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14652
14653 2014-07-25 Pedro Alves <palves@redhat.com>
14654
14655 * gdb.threads/signal-command-handle-nopass.c: New file.
14656 * gdb.threads/signal-command-handle-nopass.exp: New file.
14657 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14658 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14659 * gdb.threads/signal-delivered-right-thread.c: New file.
14660 * gdb.threads/signal-delivered-right-thread.exp: New file.
14661
14662 2014-07-25 Pedro Alves <palves@redhat.com>
14663
14664 * gdb.base/double-prompt-target-event-error.exp
14665 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14666 match.
14667 (cancel_pagination_in_target_event): Rework double prompt
14668 detection.
14669 * gdb.base/paginate-after-ctrl-c-running.exp
14670 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14671 <return>' match.
14672 * gdb.base/paginate-bg-execution.exp
14673 (test_bg_execution_pagination_return)
14674 (test_bg_execution_pagination_cancel): Remove '-notransfer
14675 <return>' matches.
14676 * gdb.base/paginate-execution-startup.exp
14677 (test_fg_execution_pagination_return)
14678 (test_fg_execution_pagination_cancel): Remove '-notransfer
14679 <return>' matches.
14680 * gdb.base/paginate-inferior-exit.exp
14681 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14682 match.
14683 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14684 * lib/gdb.exp (pagination_prompt): Run text through
14685 string_to_regexp.
14686 (gdb_test_multiple): Match $pagination_prompt instead of
14687 "<return>".
14688 (string_to_regexp): Move to lib/gdb-utils.exp.
14689
14690 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14691
14692 * gdb.arch/amd64-entry-value-paramref.S: New file.
14693 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14694 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14695 * gdb.arch/amd64-optimout-repeat.S: New file.
14696 * gdb.arch/amd64-optimout-repeat.c: New file.
14697 * gdb.arch/amd64-optimout-repeat.exp: New file.
14698
14699 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14700
14701 PR gdb/17170
14702 * gdb.base/statistics.exp: New file.
14703
14704 2014-07-17 Doug Evans <dje@google.com>
14705
14706 PR gdb/17170
14707 * gdb.base/maint.exp: Update testing of per-command stats.
14708
14709 2014-07-16 Pedro Alves <palves@redhat.com>
14710
14711 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14712 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14713 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14714 (tfile_write_buf): New functions.
14715 (add_memory_block): Rewrite using the above.
14716 (adjust_function_address): New function.
14717 (FUNCTION_ADDRESS): New macro.
14718 (write_basic_trace_file): Remove short_x local, and use
14719 tfile_write_16. Change type of func_addr local to unsigned long
14720 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14721 here. Cast argument of add_memory_block to char pointer.
14722 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14723 (main): Remove parameters.
14724 * gdb.trace/tfile.exp: Remove nowarnings.
14725
14726 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14727
14728 * gdb.base/debug-expr.exp: Test string evaluation with
14729 "debug expression" on.
14730
14731 2014-07-15 Pedro Alves <palves@redhat.com>
14732
14733 * gdb.base/reread.exp: Use clean_restart.
14734
14735 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14736
14737 * gdb.arch/avr-flash-qualifer.c: New.
14738 * gdb.arch/avr-flash-qualifer.exp: New.
14739
14740 2014-07-14 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14743 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14744
14745 2014-07-14 Pedro Alves <palves@redhat.com>
14746
14747 * gdb.base/double-prompt-target-event-error.c: New file.
14748 * gdb.base/double-prompt-target-event-error.exp: New file.
14749
14750 2014-07-14 Pedro Alves <palves@redhat.com>
14751
14752 PR gdb/17072
14753 * gdb.base/paginate-inferior-exit.c: New file.
14754 * gdb.base/paginate-inferior-exit.exp: New file.
14755
14756 2014-07-14 Pedro Alves <palves@redhat.com>
14757
14758 PR gdb/17072
14759 * gdb.base/paginate-bg-execution.c: New file.
14760 * gdb.base/paginate-bg-execution.exp: New file.
14761
14762 2014-07-14 Pedro Alves <palves@redhat.com>
14763
14764 PR gdb/17072
14765 * gdb.base/paginate-execution-startup.c: New file.
14766 * gdb.base/paginate-execution-startup.exp: New file.
14767 * lib/gdb.exp (pagination_prompt): New global.
14768 (default_gdb_spawn): New procedure, factored out from
14769 default_gdb_spawn.
14770 (default_gdb_start): Adjust to call default_gdb_spawn.
14771 (gdb_spawn): New procedure.
14772
14773 2014-07-14 Pedro Alves <palves@redhat.com>
14774
14775 * lib/gdb.exp (gdb_assert): New procedure.
14776 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14777
14778 2014-07-14 Pedro Alves <palves@redhat.com>
14779
14780 * gdb.base/execution-termios.c: New file.
14781 * gdb.base/execution-termios.exp: New file.
14782
14783 2014-07-14 Tom Tromey <tromey@redhat.com>
14784
14785 * gdb.cp/vla-cxx.cc: New file.
14786 * gdb.cp/vla-cxx.exp: New file.
14787
14788 2014-07-14 Tom Tromey <tromey@redhat.com>
14789
14790 * gdb.reverse/rerun-prec.c: New file.
14791 * gdb.reverse/rerun-prec.exp: New file.
14792
14793 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14794 Maciej W. Rozycki <macro@codesourcery.com>
14795
14796 * lib/gdb-utils.exp: New file.
14797 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14798 inline `gdb_init_command' processing.
14799 (gdb_start_cmd): Likewise.
14800 * lib/mi-support.exp (mi_run_cmd): Likewise.
14801 * README: Document `gdb_init_command' and `gdb_init_commands'.
14802
14803 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14804
14805 Fix false FAIL running under a very long directory name.
14806 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14807 and "set print elements 10000". Twice.
14808
14809 2014-07-11 Yao Qi <yao@codesourcery.com>
14810
14811 * gdb.base/exprs.exp: "set print symbol off".
14812
14813 2014-07-11 Pedro Alves <palves@redhat.com>
14814
14815 * gdb.threads/kill.c: New file.
14816 * gdb.threads/kill.exp: New file.
14817
14818 2014-07-10 Yao Qi <yao@codesourcery.com>
14819
14820 * gdb.trace/tfile.c (write_basic_trace_file)
14821 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14822 address written to trace file.
14823
14824 2014-07-09 Pedro Alves <palves@redhat.com>
14825
14826 * gdb.base/attach-wait-input.exp: New file.
14827 * gdb.base/attach-wait-input.c: New file.
14828
14829 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14830
14831 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14832 setting up test structures.
14833 (main): Call new test function.
14834 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14835 test function, continue into test function and walk test
14836 structures.
14837
14838 2014-07-02 Yao Qi <yao@codesourcery.com>
14839
14840 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14841 'bar_start' at the beginning of functions 'foo' and 'bar'
14842 respectively.
14843 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14844 instead of 'foo' and 'bar'.
14845
14846 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14847
14848 * gdb.btrace/segv.exp: New.
14849 * gdb.btrace/segv.c: New.
14850
14851 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14852
14853 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14854 instruction.
14855
14856 2014-06-30 Mark Wielaard <mjw@redhat.com>
14857
14858 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14859 vulture, vilify, villar): New volatile array constants.
14860 (vindictive, vegetation): New const volatile array constants.
14861 * gdb.base/volatile.exp: Test volatile and const volatile array
14862 types.
14863
14864 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14865
14866 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14867 target lacks support for awatch, rwatch, or hbreak.
14868
14869 2014-06-27 Yao Qi <yao@codesourcery.com>
14870
14871 * gdb.multi/dummy-frame-restore.exp: New.
14872 * gdb.multi/dummy-frame-restore.c: New.
14873
14874 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14875
14876 * gdb.btrace/gcore.exp: New.
14877
14878 2014-06-23 Pedro Alves <palves@redhat.com>
14879
14880 * gdb.base/watchpoint-reuse-slot.c: New file.
14881 * gdb.base/watchpoint-reuse-slot.exp: New file.
14882
14883 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14884
14885 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14886 progspace's filename in 'info', 'enable' and 'disable' command
14887 tests.
14888
14889 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14890
14891 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14892 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14893 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14894
14895 2014-06-20 Gary Benson <gbenson@redhat.com>
14896
14897 * gdb.arch/i386-avx.exp: Fix include file location.
14898 * gdb.arch/i386-sse.exp: Likewise.
14899
14900 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14901
14902 * gdb.dlang/expression.exp: New file.
14903
14904 2014-06-19 Pedro Alves <palves@redhat.com>
14905
14906 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14907 out from ...
14908 (top level): ... here. Iterate running tests under different
14909 scheduler-locking settings.
14910
14911 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14912
14913 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14914 to DW_FORM_addr and use non-zero addresses.
14915
14916 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14917
14918 PR gdb/17017
14919 * gdb.python/py-xmethods.cc: Add global function call counters and
14920 increment them in their respective functions. Remove "cout"
14921 statements.
14922 * gdb.python/py-xmethods.exp: Make tests check the global function
14923 call counters instead of depending on inferior IO.
14924
14925 2014-06-18 Don Breazeal <donb@codesourcery.com>
14926
14927 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14928 Deleted procedure.
14929 (explicit_fork_parent_follow): Deleted procedure.
14930 (explicit_fork_child_follow): Deleted procedure.
14931 (test_follow_fork): New procedure.
14932 (do_fork_tests): Replace calls to deleted procedures with
14933 calls to test_follow_fork and reset GDB for subsequent
14934 procedure calls.
14935
14936 2014-06-17 Yao Qi <yao@codesourcery.com>
14937
14938 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14939 CP1252.
14940
14941 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14942
14943 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14944 Initialize ptr and S explicitly.
14945 (skip_type_update_when_not_use_rtti_test): Likewise.
14946
14947 2014-06-16 Keith Seitz <keiths@redhat.com>
14948
14949 PR mi/15863
14950 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14951 the inferior is started.
14952
14953 2014-06-16 Pedro Alves <palves@redhat.com>
14954
14955 * gdb.base/break-main-file-remove-fail.c: New file.
14956 * gdb.base/break-main-file-remove-fail.exp: New file.
14957 * gdb.base/break-unload-file.exp: Use build_executable instead of
14958 prepare_for_testing.
14959 (test_break): New parameter "initial_load". Handle it.
14960 (top level): Add initial_load cmdline/file axis.
14961
14962 2014-06-12 Tom Tromey <tromey@redhat.com>
14963
14964 * gdb.base/completion.exp: Don't use directory name in test.
14965
14966 2014-06-09 Gary Benson <gbenson@redhat.com>
14967
14968 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14969 separate the always-available ANSI-standard signals from the
14970 signals that require checking.
14971 (main): Likewise.
14972 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14973 Likewise.
14974 (main): Likewise.
14975
14976 2014-06-07 Keith Seitz <keiths@redhat.com>
14977
14978 Revert:
14979 PR c++/16253
14980 * gdb.cp/var-tag.cc: New file.
14981 * gdb.cp/var-tag.exp: New file.
14982 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14983 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14984 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14985 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14986
14987 2014-06-06 Doug Evans <xdje42@gmail.com>
14988
14989 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14990
14991 2014-06-06 Pedro Alves <palves@redhat.com>
14992
14993 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14994 in target debug output instead of looking at RSP packets,
14995 disabling the test on any target that uses hardware stepping.
14996 Update comments.
14997
14998 2014-06-06 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.base/break-unload-file.exp: Fix typo.
15001
15002 2014-06-06 Yao Qi <yao@codesourcery.com>
15003
15004 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15005 from "jit_function" to "^jit_function".
15006
15007 2014-06-06 Yao Qi <yao@codesourcery.com>
15008
15009 * gdb.base/async.c (foo): Add one statement.
15010 * gdb.base/async.exp: Get the next instruction address and
15011 match the output of "nexti" by instruction address. Match
15012 the hex address in the output of "finish".
15013
15014 2014-06-06 Gary Benson <gbenson@redhat.com>
15015
15016 * gdb.base/call-signals.c: Remove preprocessor conditionals
15017 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15018 SIGSEGV and SIGTERM.
15019 * gdb.base/sigall.c: Likewise.
15020 * gdb.base/unwindonsignal.c: Likewise.
15021 * gdb.reverse/sigall-reverse.c: Likewise.
15022
15023 2014-06-06 Yao Qi <yao@codesourcery.com>
15024
15025 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15026 readable, skip the test.
15027
15028 2014-06-06 Yao Qi <yao@codesourcery.com>
15029
15030 * gdb.threads/staticthreads.c (thread_function): Move the line
15031 setting breakpoint on forward.
15032 * gdb.threads/staticthreads.exp: Update comments.
15033
15034 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15035
15036 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15037 "history-append! type error".
15038
15039 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15040
15041 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15042 erroneous dprintf expected input.
15043
15044 2014-06-04 Doug Evans <xdje42@gmail.com>
15045
15046 * gdb.guile/scm-generics.exp: Delete.
15047
15048 2014-06-04 Doug Evans <xdje42@gmail.com>
15049
15050 * gdb.guile/scm-breakpoint.exp: Update.
15051 Add tests for breakpoint registration.
15052
15053 2014-06-04 Tom Tromey <tromey@redhat.com>
15054
15055 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15056 VLA-in-union.
15057 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15058 inner_vla_struct, vla_union types. Initialize objects of those
15059 types and compute their sizes.
15060
15061 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15062 Hui Zhu <hui@codesourcery.com>
15063
15064 * gdb.base/fileio.exp: Add test for shell not available as well as
15065 available.
15066 * gdb.base/fileio.c (test_system): Check for shell twice.
15067
15068 2014-06-04 Yao Qi <yao@codesourcery.com>
15069
15070 * gdb.base/auto-connect-native-target.exp: Remove redundant
15071 space from the regexp pattern.
15072
15073 2014-06-04 Yao Qi <yao@codesourcery.com>
15074
15075 * gdb.base/default.exp: Replace "child" with "native" in
15076 regexp pattern.
15077
15078 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15079
15080 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15081 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15082 * gdb.python/py-xmethods.py: Python script supporting the
15083 new testcase and tests.
15084
15085 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15086 Pedro Alves <palves@redhat.com>
15087
15088 PR breakpoints/17000
15089 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15090 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15091
15092 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15093
15094 * gdb.base/subst.exp: Add tests to verify partial path matching
15095 output.
15096
15097 2014-06-03 Pedro Alves <palves@redhat.com>
15098
15099 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15100 target that doesn't use software single-stepping.
15101
15102 2014-06-03 Pedro Alves <palves@redhat.com>
15103
15104 PR breakpoints/17000
15105 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15106 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15107
15108 2014-06-02 Doug Evans <xdje42@gmail.com>
15109
15110 * gdb.guile/scm-parameter.exp: New file.
15111
15112 2014-06-02 Doug Evans <xdje42@gmail.com>
15113
15114 * gdb.guile/scm-cmd.c: New file.
15115 * gdb.guile/scm-cmd.exp: New file.
15116
15117 2014-06-02 Doug Evans <xdje42@gmail.com>
15118
15119 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15120 pretty-printer lookup.
15121 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15122 (make-pp_s-printer): Call it.
15123 (make-pretty-printer-from-dict): New function.
15124 (lookup-pretty-printer-maker-from-dict): New function.
15125 (*pretty-printer*): Simplify.
15126 (make-objfile-pp_s-printer): New function.
15127 (install-objfile-pretty-printers!): New function.
15128 (make-progspace-pp_s-printer): New function.
15129 (install-progspace-pretty-printers!): New function.
15130 * gdb.guile/scm-progspace.c: New file.
15131 * gdb.guile/scm-progspace.exp: New file.
15132
15133 2014-06-02 Pedro Alves <palves@redhat.com>
15134
15135 * gdb.base/dprintf-bp-same-addr.c: New file.
15136 * gdb.base/dprintf-bp-same-addr.exp: New file.
15137
15138 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15139
15140 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15141 * gdb.arch/powerpc-power.s: Likewise.
15142
15143 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15144
15145 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15146
15147 2014-06-01 Yao Qi <yao@codesourcery.com>
15148
15149 * gdb.base/watchpoint.exp (test_watch_location): Check null
15150 pointer can be dereferenced. If not, do the test, otherwise
15151 skip it.
15152
15153 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15154
15155 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15156 results.
15157 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15158
15159 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15160
15161 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15162 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15163 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15164 * gdb.arch/amd64-invalid-stack-top.c: New file.
15165 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15166
15167 2014-05-30 Pedro Alves <palves@redhat.com>
15168
15169 PR breakpoints/17000
15170 * gdb.base/sss-bp-on-user-bp.c: New file.
15171 * gdb.base/sss-bp-on-user-bp.exp: New file.
15172
15173 2014-05-30 David Blaikie <dblaikie@gmail.com>
15174
15175 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15176 gnu_inline semantics via attribute.
15177 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15178 source explicitly specifies the required semantics.
15179
15180 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15181
15182 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15183
15184 2014-05-29 Pedro Alves <palves@redhat.com>
15185 Tom Tromey <tromey@redhat.com>
15186
15187 * gdb.base/async-shell.exp: Don't enable target-async.
15188 * gdb.base/async.exp
15189 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15190 parameter. Adjust.
15191 (top level): Don't test with "target-async".
15192 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15193 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15194 * gdb.base/inferior-died.exp: Don't enable target-async.
15195 * gdb.base/interrupt-noterm.exp: Likewise.
15196 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15197 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15198 * gdb.mi/mi-nonstop.exp: Likewise.
15199 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15200 * gdb.mi/mi-nsintrall.exp: Likewise.
15201 * gdb.mi/mi-nsmoribund.exp: Likewise.
15202 * gdb.mi/mi-nsthrexec.exp: Likewise.
15203 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15204 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15205 * gdb.python/py-evsignal.exp: Don't enable target-async.
15206 * gdb.python/py-evthreads.exp: Likewise.
15207 * gdb.python/py-prompt.exp: Likewise.
15208 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15209 * gdb.server/solib-list.exp: Don't enable target-async.
15210 * gdb.threads/thread-specific-bp.exp: Likewise.
15211 * lib/mi-support.exp: Adjust to use mi-async.
15212
15213 2014-05-29 Pedro Alves <palves@redhat.com>
15214
15215 PR gdb/13860
15216 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15217 reason, even in sync mode.
15218
15219 2014-05-29 Pedro Alves <palves@redhat.com>
15220 Hui Zhu <hui@codesourcery.com>
15221
15222 PR PR15693
15223 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15224 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15225 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15226 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15227
15228 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15229
15230 * config/monitor.exp (gdb_target_monitor): Replace use of
15231 "set remotebaud" by "set serial baud".
15232
15233 2014-05-26 Andy Wingo <wingo@igalia.com>
15234
15235 * gdb.guile/scm-breakpoint.exp:
15236 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15237 properties instead of gdb-object-properties.
15238
15239 2014-05-26 Yao Qi <yao@codesourcery.com>
15240
15241 * gdb.server/no-thread-db.exp: Specify source file name
15242 explicitly when setting a breakpoint.
15243
15244 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15245
15246 * gdb.btrace/vdso.c: New.
15247 * gdb.btrace/vdso.exp: New.
15248
15249 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15250
15251 * gdb.base/gcore.exp (capture_command_output): Move ...
15252 * lib/gdb.exp (capture_command_output): ... here.
15253
15254 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15255
15256 * gdb.btrace/data.exp: Test memory access during btrace replay.
15257
15258 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15259
15260 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15261
15262 2014-05-21 Pedro Alves <palves@redhat.com>
15263
15264 PR gdb/13860
15265 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15266 (top level): Test that output related to execution commands is
15267 sent to the console with CLI commands, but not with MI commands.
15268 Test that breakpoint events are always mirrored to the console.
15269 Also expect the new source line to be output after a "next" in
15270 async mode too. Make it a pass/fail test.
15271 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15272 output.
15273 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15274
15275 2014-05-21 Pedro Alves <palves@redhat.com>
15276
15277 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15278 Use them to test variations of "list" after reaching a breakpoint.
15279 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15280 Test "list" with listsize 10 after reaching a breakpoint.
15281 * gdb.python/python.exp (decode_line current location line
15282 number): Adjust expected line number.
15283
15284 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15285
15286 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15287 behavior for $args, pass it directly to "run".
15288
15289 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15290
15291 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15292 30000 to 65536.
15293
15294 2014-05-21 Pedro Alves <palves@redhat.com>
15295
15296 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15297 auto-connect-native-target off".
15298 * gdb.base/auto-connect-native-target.c: New file.
15299 * gdb.base/auto-connect-native-target.exp: New file.
15300
15301 2014-05-21 Pedro Alves <palves@redhat.com>
15302
15303 * gdb.base/default.exp: Test "target native" instead of "target
15304 child".
15305
15306 2014-05-21 Mark Wielaard <mjw@redhat.com>
15307
15308 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15309
15310 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15311
15312 Fix TLS access for -static -pthread.
15313 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15314 <HAVE_TLS> (thread_function, main): Initialize it.
15315 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15316 Add clean_restart.
15317 <$have_tls != "">: Check TLSVAR.
15318
15319 2014-05-21 Pedro Alves <palves@redhat.com>
15320
15321 * gdb.base/dcache-line-read-error.c: New.
15322 * gdb.base/dcache-line-read-error.exp: New.
15323
15324 2014-05-20 Pedro Alves <palves@redhat.com>
15325
15326 * gdb.base/compare-sections.c: New file.
15327 * gdb.base/compare-sections.exp: New file.
15328
15329 2014-05-20 Pedro Alves <palves@redhat.com>
15330
15331 * gdb.base/break-idempotent.c: New file.
15332 * gdb.base/break-idempotent.exp: New file.
15333
15334 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15335
15336 * gdb.btrace/nohist.exp: New.
15337
15338 2014-05-20 Yao Qi <yao@codesourcery.com>
15339
15340 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15341 gdb.reverse directory and gdb_reverse_timeout exists in board
15342 setting.
15343 * README: Document gdb_reverse_timeout.
15344
15345 2014-05-20 Yao Qi <yao@codesourcery.com>
15346
15347 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15348 'test_file_name'. Treat args as a string instead of a list.
15349 (gdb_init): Rename argument 'args' by 'test_file_name'.
15350
15351 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15352
15353 * gdb.arch/powerpc-power.exp: New file.
15354 * gdb.arch/powerpc-power.s: New file.
15355
15356 2014-05-16 Doug Evans <dje@google.com>
15357
15358 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15359 * gdb.base/completion.exp: Check that all expected files exist
15360 before doing file completion.
15361
15362 2014-05-16 Doug Evans <dje@google.com>
15363
15364 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15365 Update.
15366 (do_syscall_tests_without_xml): Update.
15367
15368 2014-05-16 Pedro Alves <palves@redhat.com>
15369
15370 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15371 instead of "unknown output after running".
15372
15373 2014-05-16 Yao Qi <yao@codesourcery.com>
15374
15375 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15376 file1.txt from host at the end.
15377 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15378
15379 2014-05-15 Doug Evans <dje@google.com>
15380
15381 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15382 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15383 loading file. Add test for TU lookup.
15384
15385 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15386
15387 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15388 calling "-exec-arguments" or "set args" before running the
15389 inferior.
15390
15391 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15392
15393 * lib/mi-support.exp (mi_expect_stop): Expect message for
15394 inferiors that exit with non-zero exit code.
15395
15396 2014-05-14 Yao Qi <yao@codesourcery.com>
15397
15398 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15399 match absolute path on remote host.
15400 (test_file_list_exec_source_files): Remove "/" from the
15401 pattern.
15402
15403 2014-05-14 Yao Qi <yao@codesourcery.com>
15404
15405 * boards/local-remote-host-notty.exp (${board}_file): New
15406 proc.
15407
15408 2014-05-07 Kyle McMartin <kyle@redhat.com>
15409
15410 Pushed by Joel Brobecker <brobecker@adacore.com>.
15411 * gdb.arch/aarch64-atomic-inst.c: New file.
15412 * gdb.arch/aarch64-atomic-inst.exp: New file.
15413
15414 2014-05-07 Yao Qi <yao@codesourcery.com>
15415
15416 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15417 in current context" too.
15418
15419 2014-05-05 Keith Seitz <keiths@redhat.com>
15420
15421 * gdb.linespec/ls-dollar.exp: Add test for linespec
15422 file:convenience_variable.
15423
15424 2014-05-05 Yao Qi <yao@codesourcery.com>
15425
15426 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15427 traceframes into tfile and ctf trace files. Read data from
15428 trace file and test collected data.
15429 (gdb_collect_locals_test): Likewise.
15430 (gdb_unavailable_registers_test): Likewise.
15431 (gdb_unavailable_floats): Likewise.
15432 (gdb_collect_globals_test): Likewise.
15433 (top-level): Append "ctf" to trace_file_targets if GDB
15434 supports.
15435
15436 2014-05-05 Yao Qi <yao@codesourcery.com>
15437
15438 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15439 code to ...
15440 (gdb_collect_args_test_1): ... it. New proc.
15441 (gdb_collect_locals_test): Move some code to ...
15442 (gdb_collect_locals_test_1): ... it. New proc.
15443 (gdb_unavailable_registers_test): Move some code to ...
15444 (gdb_unavailable_registers_test_1): ... it. New proc.
15445 (gdb_unavailable_floats): Move some code to ...
15446 (gdb_unavailable_floats_1): ... it. New proc.
15447
15448 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15449
15450 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15451 probes to test for bitness recognition.
15452 * gdb.arch/amd64-stap-optional-prefix.exp
15453 (test_probe_value_without_reg): New procedure.
15454 Add code to test for different kinds of bitness.
15455
15456 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15457
15458 PR breakpoints/16889
15459 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15460 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15461
15462 2014-05-01 Pedro Alves <palves@redhat.com>
15463
15464 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15465 gdb_file_cmd if no file is specified.
15466 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15467 last_loaded_file to set the remote exec-file.
15468
15469 2014-05-01 Pedro Alves <palves@redhat.com>
15470
15471 * boards/local-remote-host.exp: New file.
15472
15473 2014-05-01 Pedro Alves <palves@redhat.com>
15474
15475 * boards/local-remote-host.exp: Rename to ...
15476 * boards/local-remote-host-notty.exp: ... this.
15477
15478 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15479
15480 * gdb.ada/dyn_arrayidx: New testcase.
15481
15482 2014-04-26 Yao Qi <yao@codesourcery.com>
15483
15484 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15485 and compute the length of function main. Save it in
15486 $main_length.
15487 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15488 (top-level): Use gdb_compile to compile objects into
15489 executable and restart GDB. Remove invocation to
15490 prepare_for_testing.
15491
15492 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15493 Pedro Alves <palves@redhat.com>
15494
15495 PR server/16255
15496 * gdb.multi/multi-attach.c: New file.
15497 * gdb.multi/multi-attach.exp: New file.
15498
15499 2014-04-25 Pedro Alves <palves@redhat.com>
15500
15501 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15502 user.
15503 (top level): Test that "set remote conditional-breakpoints-packet
15504 off" works as intended.
15505 * gdb.base/dprintf.exp: Test that "set remote
15506 breakpoint-commands-packet off" works as intended.
15507 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15508 New function.
15509 (top level): Call it.
15510 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15511 remote fast-tracepoints-packet off" works as intended.
15512 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15513 * lib/gdb.exp (gdb_is_target_remote): ... here.
15514
15515 2014-04-24 David Blaikie <dblaikie@gmail.com>
15516
15517 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15518 ensure clang would not discard them.
15519 * gdb.base/gdbvars.c: Ditto.
15520 * gdb.base/memattr.c: Ditto.
15521 * gdb.base/whatis.c: Ditto.
15522 * gdb.python/py-prettyprint.c: Ditto.
15523 * gdb.trace/actions.c: Ditto.
15524 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15525 ensure clang would not discard it.
15526
15527 2014-04-24 David Blaikie <dblaikie@gmail.com>
15528
15529 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15530 clang to emit the full definition of type required by the test
15531 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15532
15533 2014-04-24 David Blaikie <dblaikie@gmail.com>
15534
15535 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15536 coax Clang into emitting the definition of the type.
15537 * gdb.cp/pr10728-x.h (y): Ditto.
15538 * gdb.cp/pr10728-y.cc (y): Ditto.
15539
15540 2014-04-24 David Blaikie <dblaikie@gmail.com>
15541
15542 * gdb.base/label.exp: XFAIL label related tests under Clang.
15543 * gdb.cp/cplabel.exp: Ditto.
15544 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15545 under Clang those using labels.
15546
15547 2014-04-25 Yao Qi <yao@codesourcery.com>
15548
15549 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15550 double_label.
15551 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15552 partial_label and double_label.
15553
15554 2014-04-24 David Blaikie <dblaikie@gmail.com>
15555
15556 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15557
15558 2014-04-24 David Blaikie <dblaikie@gmail.com>
15559
15560 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15561 of the function to work across GCC and Clang.
15562 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15563 pointer types (const void ** const V void **).
15564
15565 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15566 Walfred Tedeschi <walfred.tedeschi@intel.com>
15567
15568 * Makefile.in (EXECUTABLES): Added i386-avx512.
15569 * gdb.arch/i386-avx512.c: New file.
15570 * gdb.arch/i386-avx512.exp: Likewise.
15571
15572 2014-04-23 Keith Seitz <keiths@redhat.com>
15573
15574 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15575 (mi_make_breakpoint_table): New procedure.
15576 (mi_create_breakpoint): Use mi_make_breakpoint
15577 and return the result.
15578 (mi_make_breakpoint): New procedure.
15579 (mi_build_kv_pairs): New procedure.
15580
15581 * gdb.mi/mi-break.exp: Remove unused globals,
15582 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15583 All callers updated.
15584 * gdb.mi/mi-dprintf.exp: Use variable to track command
15585 number.
15586 Update all callers of mi_create_breakpoint and use
15587 mi_make_breakpoint_table.
15588 Remove any unused global variables.
15589 * gdb.mi/mi-nonstop.exp: Likewise.
15590 * gdb.mi/mi-nsintrall.exp: Likewise.
15591 * gdb.mi/mi-nsmoribund.exp: Likewise.
15592 * gdb.mi/mi-nsthrexec.exp: Likewise.
15593 * gdb.mi/mi-reverse.exp: Likewise.
15594 * gdb.mi/mi-simplerun.exp: Likewise.
15595 * gdb.mi/mi-stepn.exp: Likewise.
15596 * gdb.mi/mi-syn-frame.exp: Likewise.
15597 * gdb.mi/mi-until.exp: Likewise.
15598 * gdb.mi/mi-var-cp.exp: Likewise.
15599 * gdb.mi/mi-var-display.exp: Likewise.
15600 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15601 * gdb.mi/mi2-var-child.exp: Likewise.
15602 * gdb.mi/mi-vla-c99.exp: Likewise.
15603 * lib/mi-support.exp: Likewise.
15604
15605 From Ian Lance Taylor <iant@cygnus.com>:
15606 * lib/gdb.exp (parse_args): New procedure.
15607
15608 2014-04-23 Pedro Alves <palves@redhat.com>
15609
15610 * gdb.base/break-unload-file.c: New file.
15611 * gdb.base/break-unload-file.exp: New file.
15612 * gdb.base/sym-file-lib.c (baz): New function.
15613 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15614 field.
15615 (load): Store the segment's mapped size.
15616 (unload): New function.
15617 (unload_shlib): New function.
15618 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15619 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15620 set a breakpoint at baz, and call it.
15621 * gdb.base/sym-file.exp: New tests for stale breakpoint
15622 instructions.
15623
15624 2014-04-23 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15627 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15628 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15629 * gdb.base/hbreak-unmapped.c: New file.
15630 * gdb.base/hbreak-unmapped.exp: New file.
15631 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15632 * lib/gdb.exp (gdb_is_target_remote): ... here.
15633
15634 2014-04-22 Pedro Alves <palves@redhat.com>
15635
15636 * gdb.base/consecutive-step-over.c: New file.
15637 * gdb.base/consecutive-step-over.exp: New file.
15638
15639 2014-04-22 Pedro Alves <palves@redhat.com>
15640
15641 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15642 instead of send_gdb/gdb_expect.
15643
15644 2014-04-22 Yao Qi <yao@codesourcery.com>
15645
15646 * lib/trace-support.exp (generate_tracefile): New procedure.
15647 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15648 return 0.
15649 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15650 if generate_tracefile returns 1.
15651
15652 2014-04-18 Tom Tromey <palves@redhat.com>
15653 Pedro alves <tromey@redhat.com>
15654
15655 PR backtrace/15558
15656 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15657 with a backtrace limit.
15658 * gdb.python/py-frame-inline.exp: Test running to an inline
15659 function with a backtrace limit, and printing the newest frame.
15660 * gdb.python/py-frame-inline.c (main): Call f.
15661
15662 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15663
15664 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15665
15666 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15667
15668 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15669 Drop prefix from unsupported source file path.
15670
15671 2014-04-17 Yao Qi <yao@codesourcery.com>
15672
15673 * lib/gdb.exp (with_target_charset): New proc.
15674 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15675 with_target_charset.
15676 (test_print_strings): Likewise.
15677 (test_repeat_bytes): Likewise.
15678 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15679 for some tests.
15680
15681 2014-04-16 Keith Seitz <keiths@redhat.com>
15682
15683 PR gdb/15827
15684 * gdb.dwarf2/corrupt.c: New file.
15685 * gdb.dwarf2/corrupt.exp: New file.
15686
15687 2014-04-16 Keith Seitz <keiths@redhat.com>
15688
15689 PR c++/16597
15690 * gdb.cp/namelessclass.cc: New file.
15691 * gdb.cp/namelessclass.exp: New file.
15692 * gdb.cp/namelessclass.S: New file.
15693
15694 2014-04-16 Doug Evans <dje@google.com>
15695
15696 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15697 Add comment.
15698 (gdbserver_default_get_comm_port): New function.
15699 (gdbserver_start): Check if board file provided
15700 "gdbserver,get_comm_port" and use it if so.
15701 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15702 (gdb,socketport): Set to "stdio".
15703 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15704 (stdio_gdbserver_template): Delete.
15705 (${board}_get_remote_address): Update.
15706 (${board}_build_remote_cmd): Delete.
15707 (${board}_get_comm_port): New function.
15708 (${board}_spawn): Update.
15709 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15710 Delete.
15711 (${board}_get_remote_address): Update.
15712 (${board}_get_comm_port): New function.
15713
15714 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15715
15716 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15717 appearing in any order.
15718
15719 2014-04-15 Doug Evans <dje@google.com>
15720
15721 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15722 uninitialized value of "description".
15723
15724 2014-04-15 Keith Seitz <keiths@redhat.com>
15725
15726 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15727 Remove unused globals.
15728 (test_running_the_program): Likewise.
15729 (test_controlled_execution): Likewise.
15730 (test_controlling_breakpoints): Likewise.
15731 (test_program_termination): Likewise.
15732
15733 2014-04-15 Keith Seitz <keiths@redhat.com>
15734
15735 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15736 unused globals.
15737 (test_rbreak_creation_and_listing): Likewise.
15738 (test_ignore_count): Likewise.
15739 (test_error): Likewise.
15740
15741 2014-04-15 Pedro Alves <palves@redhat.com>
15742
15743 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15744 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15745 sym-file-loader.c.
15746 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15747 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15748 to sym-file-loader.c.
15749 (struct library): Forward declare.
15750 (load_shlib, lookup_function): Change prototypes.
15751 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15752 (translate_offset): Remove declarations.
15753 (get_text_addr): New declaration.
15754 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15755 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15756 sym-file-loader.h.
15757 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15758 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15759 here from sym-file-loader.h.
15760 (struct library): New structure.
15761 (load_shlib, lookup_function): Change prototypes and adjust to
15762 work with a struct library.
15763 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15764 (translate_offset): Make static.
15765 (get_text_addr): New function.
15766 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15767
15768 2014-04-15 Pedro Alves <palves@redhat.com>
15769
15770 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15771
15772 2014-04-15 Pedro Alves <palves@redhat.com>
15773
15774 * gdb.base/sym-file-loader.c: Include <limits.h>.
15775 (SELF_LINK): New define.
15776 (get_origin): New function.
15777 (load_shlib): Use it.
15778 * gdb.base/sym-file.exp: Don't early return if the target is
15779 remote. Use runto_main, and issue fail is that fails. Use
15780 gdb_load_shlibs.
15781 (shlib_name): Delete.
15782 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15783
15784 2014-04-15 Pedro Alves <palves@redhat.com>
15785
15786 * gdb.base/sym-file.exp: Remove regex characters from test
15787 message. Don't refer to breakpoint numbers in test messages.
15788
15789 2014-04-14 Keith Seitz <keiths@redhat.com>
15790
15791 PR c++/16253
15792 * gdb.cp/var-tag.cc: New file.
15793 * gdb.cp/var-tag.exp: New file.
15794 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15795 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15796 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15797 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15798
15799 2014-04-14 Tom Tromey <tromey@redhat.com>
15800
15801 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15802 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15803 type.
15804 * gdb.cp/enum-class.exp: New file.
15805 * gdb.cp/enum-class.cc: New file.
15806
15807 2014-04-14 Tom Tromey <tromey@redhat.com>
15808
15809 * gdb.dwarf2/enum-type.exp: New file.
15810
15811 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15812
15813 * gdb.mi/mi-vla-c99.exp: New file.
15814 * gdb.mi/vla.c: New file.
15815
15816 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15817
15818 * gdb.base/vla-datatypes.c: New file.
15819 * gdb.base/vla-datatypes.exp: New file.
15820
15821 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15822
15823 * gdb.base/vla-ptr.c: New file.
15824 * gdb.base/vla-ptr.exp: New file.
15825
15826 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15827
15828 * gdb.dwarf2/count.exp: New file.
15829
15830 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15831
15832 * gdb.base/vla-sideeffect.c: New file.
15833 * gdb.base/vla-sideeffect.exp: New file.
15834
15835 2014-04-14 David Blaikie <dblaikie@gmail.com>
15836
15837 * gdb.mi/non-stop.c: Add return value for non-void function return
15838 statement.
15839 * gdb.threads/staticthreads.c: Ditto.
15840
15841 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15842 Doug Evans <xdje42@gmail.com>
15843
15844 * gdb.guile/scm-value.c: Improve test case.
15845 * gdb.guile/scm-value.exp: Add new test.
15846
15847 2014-04-11 David Blaikie <dblaikie@gmail.com>
15848
15849 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15850 override Clang's default.
15851
15852 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15853
15854 Revert the following changes (regressions):
15855
15856 * gdb.base/vla-sideeffect.c: New file.
15857 * gdb.base/vla-sideeffect.exp: New file.
15858
15859 * gdb.dwarf2/count.exp: New file.
15860
15861 * gdb.base/vla-multi.c: New file.
15862 * gdb.base/vla-multi.exp: New file.
15863
15864 * gdb.base/vla-ptr.c: New file.
15865 * gdb.base/vla-ptr.exp: New file.
15866
15867 * gdb.base/vla-datatypes.c: New file.
15868 * gdb.base/vla-datatypes.exp: New file.
15869
15870 * gdb.mi/mi-vla-c99.exp: New file.
15871 * gdb.mi/vla.c: New file.
15872
15873 2014-04-11 Keith Seitz <keiths@redhat.com>
15874
15875 PR c++/16675
15876 * gdb.cp/cpsizeof.exp: New file.
15877 * gdb.cp/cpsizeof.cc: New file.
15878
15879 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15880
15881 * gdb.mi/mi-vla-c99.exp: New file.
15882 * gdb.mi/vla.c: New file.
15883
15884 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15885
15886 * gdb.base/vla-datatypes.c: New file.
15887 * gdb.base/vla-datatypes.exp: New file.
15888
15889 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15890
15891 * gdb.base/vla-ptr.c: New file.
15892 * gdb.base/vla-ptr.exp: New file.
15893
15894 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15895
15896 * gdb.base/vla-multi.c: New file.
15897 * gdb.base/vla-multi.exp: New file.
15898
15899 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15900
15901 * gdb.dwarf2/count.exp: New file.
15902
15903 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15904
15905 * gdb.base/vla-sideeffect.c: New file.
15906 * gdb.base/vla-sideeffect.exp: New file.
15907
15908 2014-04-11 Yao Qi <yao@codesourcery.com>
15909
15910 * gdb.base/completion.exp: Check file exists before running tests
15911 on file completion.
15912
15913 2014-04-10 Pedro Alves <palves@redhat.com>
15914
15915 * gdb.base/cond-eval-mode.c: New file.
15916 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15917 prepare_for_testing to build the new file. Check result of
15918 runto_main.
15919 (test_break, test_watch): New procedures.
15920 (top level): Use them.
15921
15922 2014-04-08 Pierre Muller <muller@sourceware.org>
15923
15924 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15925 Ctrl-V use for mingw hosts.
15926
15927 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15928
15929 * gdb.python/py-value.c: Improve test case.
15930 * gdb.python/py-value.exp: Add new test.
15931
15932 2014-04-07 David Blaikie <dblaikie@gmail.com>
15933
15934 * lib/compiler.c: Identify the clang compiler.
15935 * lib/compiler.cc: Ditto.
15936
15937 2014-04-03 Yao Qi <yao@codesourcery.com>
15938
15939 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15940
15941 2014-04-01 Anton Blanchard <anton@samba.org>
15942
15943 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15944 messages unique.
15945
15946 2014-04-01 Anton Blanchard <anton@samba.org>
15947
15948 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15949 prepare_for_testing.
15950
15951 2014-04-01 Anton Blanchard <anton@samba.org>
15952
15953 * gdb.arch/ppc64-atomic-inst.c: Remove.
15954 * gdb.arch/ppc64-atomic-inst.S: New file.
15955 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15956
15957 2014-03-31 Doug Evans <dje@google.com>
15958
15959 * gdb.base/print-symbol-loading-lib.c: New file.
15960 * gdb.base/print-symbol-loading-main.c: New file.
15961 * gdb.base/print-symbol-loading.exp: New file.
15962
15963 2014-03-31 Yao Qi <yao@codesourcery.com>
15964
15965 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15966
15967 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15968
15969 * gdb.ada/mi_dyn_arr: New testcase.
15970
15971 2014-03-27 Doug Evans <dje@google.com>
15972
15973 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15974
15975 2014-03-27 Yao Qi <yao@codesourcery.com>
15976
15977 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15978 if target is nios2-*-*.
15979
15980 2014-03-26 Yao Qi <yao@codesourcery.com>
15981
15982 * lib/gdb.exp (readline_is_used): New proc.
15983 * gdb.base/completion.exp: Move tests on command complete up.
15984 Skip the rest of tests if readline is not used.
15985 * gdb.ada/complete.exp: Skp the test if readline is not
15986 used.
15987 * gdb.base/filesym.exp: Likewise.
15988 * gdb.base/macscp.exp: Likewise.
15989 * gdb.base/readline-ask.exp: Likewise.
15990 * gdb.base/readline.exp: Likewise.
15991 * gdb.python/py-cmd.exp: Likewise.
15992 * gdb.trace/tfile.exp: Likewise.
15993
15994 2014-03-26 Yao Qi <yao@codesourcery.com>
15995
15996 * gdb.base/macscp.exp: Fix code format issues.
15997
15998 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15999
16000 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16001 * gdb.asm/powerpc64le.inc: New file.
16002
16003 2014-03-25 Pedro Alves <palves@redhat.com>
16004 Doug Evans <dje@google.com>
16005
16006 * gdb.base/source-execution.c: New file.
16007 * gdb.base/source-execution.exp: New file.
16008 * gdb.base/source-execution.gdb: New file.
16009
16010 2014-03-24 Doug Evans <dje@google.com>
16011
16012 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16013 using fission.
16014
16015 2014-03-24 Hui Zhu <hui@codesourcery.com>
16016 Pedro Alves <palves@redhat.com>
16017
16018 PR breakpoints/16101
16019 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16020 test pass/fail messages. Detect missing support for dprintf when
16021 breakpoints are actually inserted.
16022 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16023 breakpoints are actually inserted.
16024 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16025 fails.
16026
16027 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16028
16029 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16030
16031 2014-03-22 Doug Evans <xdje42@gmail.com>
16032
16033 * gdb.python/python.exp (python not supported): Verify multi-line
16034 python command issues an error.
16035 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16036 guile command issues an error.
16037
16038 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16039
16040 * gdb.threads/thread-specific.exp: Handle the lack of usable
16041 $this_breakpoint and $this_thread.
16042
16043 2014-03-21 Hui Zhu <hui@codesourcery.com>
16044
16045 * gdb.base/attach.exp (do_command_attach_tests): New.
16046
16047 2014-03-20 Tom Tromey <tromey@redhat.com>
16048 Pedro Alves <palves@redhat.com>
16049
16050 PR cli/15718
16051 * gdb.base/condbreak-call-false.c: New file.
16052 * gdb.base/condbreak-call-false.exp: New file.
16053
16054 2014-03-20 Pedro Alves <palves@redhat.com>
16055
16056 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16057 Delete.
16058 (block_signals, unblock_signals): Delete.
16059 (child_function_2, main): Remove references to deleted variable
16060 and functions.
16061
16062 2014-03-20 Pedro Alves <palves@redhat.com>
16063
16064 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16065 Use pthread_kill to signal thread 2.
16066 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16067 Adjust to make the test send itself a signal rather than using the
16068 host's "kill" command.
16069
16070 2014-03-20 Pedro Alves <palves@redhat.com>
16071
16072 * gdb.threads/multiple-step-overs.c: New file.
16073 * gdb.threads/multiple-step-overs.exp: New file.
16074 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16075 Adjust expected infrun debug output.
16076
16077 2014-03-20 Pedro Alves <palves@redhat.com>
16078
16079 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16080 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16081
16082 2014-03-20 Pedro Alves <palves@redhat.com>
16083
16084 PR breakpoints/7143
16085 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16086 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16087 of gdb_test_multiple.
16088 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16089 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16090
16091 2014-03-20 Pedro Alves <palves@redhat.com>
16092
16093 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16094 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16095
16096 2014-03-19 Pedro Alves <palves@redhat.com>
16097
16098 * gdb.base/async.exp: Remove early return.
16099
16100 2014-03-19 Pedro Alves <palves@redhat.com>
16101
16102 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16103
16104 2014-03-19 Pedro Alves <palves@redhat.com>
16105
16106 * gdb.base/async.exp (test_background): Expect \r\n after
16107 "completed." in the fail pattern.
16108
16109 2014-03-19 Pedro Alves <palves@redhat.com>
16110
16111 * gdb.base/async.exp (test_background): New procedure.
16112 Use it for all background execution command tests.
16113
16114 2014-03-19 Pedro Alves <palves@redhat.com>
16115
16116 * gdb.base/async.exp: Use prepare_for_testing.
16117
16118 2014-03-19 Pedro Alves <palves@redhat.com>
16119
16120 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16121 the same line.
16122
16123 2014-03-19 Pedro Alves <palves@redhat.com>
16124
16125 * gdb.base/async.c (main): Add "jump here" and "until here" line
16126 marker comments.
16127 * gdb.base/async.exp (jump_here): New global.
16128 (jump& test): Use it.
16129 (until_here): New global.
16130 (until& test): Use it.
16131
16132 2014-03-19 Pedro Alves <palves@redhat.com>
16133
16134 * gdb.base/async.exp: Don't frob gdb_protocol.
16135
16136 2014-03-18 Doug Evans <xdje42@gmail.com>
16137
16138 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16139 Fix spelling of exec-done-display.
16140
16141 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16142
16143 PR gdb/15358
16144 * gdb.base/gdb-sigterm.c: New file.
16145 * gdb.base/gdb-sigterm.exp: New file.
16146
16147 2014-03-18 Pedro Alves <palves@redhat.com>
16148
16149 PR gdb/13860
16150 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16151 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16152 solib-event.
16153
16154 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16155
16156 * gdb.ada/pckd_arr_ren: New testcase.
16157
16158 2014-03-13 Doug Evans <xdje42@gmail.com>
16159
16160 PR guile/16612
16161 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16162 collect after discarding symbols.
16163
16164 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16165 Doug Evans <xdje42@gmail.com>
16166
16167 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16168 to history survives a gc.
16169
16170 2014-03-13 Pedro Alves <palves@redhat.com>
16171
16172 * gdb.base/default.exp: Don't test "target procfs".
16173
16174 2014-03-13 Pedro Alves <palves@redhat.com>
16175
16176 * gdb.base/default.exp: Update "target child" and "target procfs"
16177 tests to not expect "Unix".
16178
16179 2014-03-12 Tom Tromey <tromey@redhat.com>
16180
16181 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16182 New procs. Add target-async tests.
16183 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16184 Add target-async tests.
16185
16186 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16187
16188 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16189 'func_start' and 'func_end' for the beginning and end of the
16190 function code, respectively.
16191 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16192 'func_end' instead of 'func' and 'main'.
16193
16194 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16195
16196 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16197 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16198 generate the debug info assembler source.
16199
16200 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16201
16202 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16203 * gdb.dwarf2/arr-subrange.exp: Likewise.
16204 * gdb.dwarf2/dwz.exp: Likewise.
16205 * gdb.dwarf2/method-ptr.exp: Likewise.
16206 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16207 * gdb.dwarf2/subrange.exp: Likewise.
16208 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16209 * gdb.dwarf2/implptrpiece.exp: Likewise.
16210 * gdb.dwarf2/nostaticblock.exp: Likewise.
16211
16212 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16213
16214 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16215 directory to absolute path name arguments.
16216
16217 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16218
16219 * gdb.ada/tagged_access: New testcase.
16220
16221 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16222
16223 * gdb.btrace/data.exp: Update expected output.
16224
16225 2014-03-06 Yao Qi <yao@codesourcery.com>
16226
16227 * gdb.trace/pr16508.exp: New file.
16228
16229 2014-03-05 Pedro Alves <palves@redhat.com>
16230
16231 PR gdb/16575
16232 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16233 procedure.
16234 (top level): Adjust to use it. Add tests that exercise breakpoint
16235 interaction with the code-cache.
16236
16237 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16238
16239 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16240 test for 'history-append!'.
16241
16242 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16243
16244 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16245 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16246 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16247 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16248 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16249 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16250
16251 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16252
16253 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16254 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16255 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16256
16257 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16258
16259 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16260
16261 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16262
16263 * gdb.dwarf2/arr-stride.c: New file.
16264 * gdb.dwarf2/arr-stride.exp: New file.
16265
16266 2014-02-26 Pedro Alves <palves@redhat.com>
16267
16268 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16269 that won't ever trigger. Make sure that GDB reports the correct
16270 breakpoint that caused the stop.
16271
16272 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16273
16274 PR gdb/16626
16275 * gdb.base/auto-load-script: New file.
16276 * gdb.base/auto-load.c: New file.
16277 * gdb.base/auto-load.exp: New file.
16278
16279 PR gdb/16626
16280 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16281
16282 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16283
16284 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16285 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16286
16287 2014-02-24 Doug Evans <dje@google.com>
16288
16289 * lib/gdb.exp (run_on_host): Log error output if program fails.
16290
16291 2014-02-21 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.threads/step-after-sr-lock.c: Rename to ...
16294 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16295 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16296 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16297 ... this.
16298
16299 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16300
16301 PR tdep/16397
16302 * gdb.arch/amd64-stap-special-operands.exp: New file.
16303 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16304 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16305 * gdb.arch/amd64-stap-triplet.S: Likewise.
16306 * gdb.arch/amd64-stap-triplet.c: Likewise.
16307
16308 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16309
16310 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16311 in .section pseudo-op.
16312
16313 2014-02-20 lin zuojian <manjian2006@gmail.com>
16314 Joel Brobecker <brobecker@adacore.com>
16315 Doug Evans <xdje42@gmail.com>
16316
16317 PR symtab/16581
16318 * gdb.dwarf2/dw2-icycle.S: New file.
16319 * gdb.dwarf2/dw2-icycle.c: New file.
16320 * gdb.dwarf2/dw2-icycle.exp: New file.
16321
16322 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16323
16324 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16325 operations on gdb.Value objects.
16326 * gdb.python/py-value-cc.exp: Add new test to test operations on
16327 gdb.Value objects.
16328
16329 2014-02-18 Doug Evans <dje@google.com>
16330
16331 * Makefile.in (TESTS): New variable.
16332 (expanded_tests, expanded_tests_or_none): New variables
16333 (check-single): Pass $(expanded_tests_or_none) to runtest.
16334 (check-parallel): Only run tests in $(TESTS) if non-empty.
16335 (check/no-matching-tests-found): New rule.
16336 * README: Document TESTS makefile variable.
16337
16338 2014-02-18 Doug Evans <dje@google.com>
16339
16340 * Makefile.in (check-parallel): rm -rf outputs temp.
16341
16342 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16343
16344 Fix "ERROR: no fileid for" in the testsuite.
16345 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16346
16347 2014-02-12 Doug Evans <dje@google.com>
16348
16349 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16350 (MISCELLANEOUS): New variable.
16351 (clean): rm -rf $(MISCELLANEOUS).
16352 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16353 dwp live in the same directory as symlinks, with each symlink pointed
16354 to a differently named file in a different directory.
16355
16356 2014-02-11 Doug Evans <dje@google.com>
16357
16358 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16359 of Tcl file commands.
16360
16361 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16362
16363 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16364 "kill -SIGUSR1 -1".
16365
16366 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16367
16368 * gdb.ada/tick_length_array_enum_idx: New testcase.
16369
16370 2014-02-10 Doug Evans <xdje42@gmail.com>
16371
16372 * configure.ac (AC_OUTPUT): Add gdb.guile.
16373 * configure: Regenerate.
16374 * lib/gdb-guile.exp: New file.
16375 * lib/gdb.exp (get_target_charset): New function.
16376 * gdb.base/help.exp: Update expected output from "apropos apropos".
16377 * gdb.guile/Makefile.in: New file.
16378 * gdb.guile/guile.exp: New file.
16379 * gdb.guile/scm-arch.c: New file.
16380 * gdb.guile/scm-arch.exp: New file.
16381 * gdb.guile/scm-block.c: New file.
16382 * gdb.guile/scm-block.exp: New file.
16383 * gdb.guile/scm-breakpoint.c: New file.
16384 * gdb.guile/scm-breakpoint.exp: New file.
16385 * gdb.guile/scm-disasm.c: New file.
16386 * gdb.guile/scm-disasm.exp: New file.
16387 * gdb.guile/scm-equal.c: New file.
16388 * gdb.guile/scm-equal.exp: New file.
16389 * gdb.guile/scm-error.exp: New file.
16390 * gdb.guile/scm-error.scm: New file.
16391 * gdb.guile/scm-frame-args.c: New file.
16392 * gdb.guile/scm-frame-args.exp: New file.
16393 * gdb.guile/scm-frame-args.scm: New file.
16394 * gdb.guile/scm-frame-inline.c: New file.
16395 * gdb.guile/scm-frame-inline.exp: New file.
16396 * gdb.guile/scm-frame.c: New file.
16397 * gdb.guile/scm-frame.exp: New file.
16398 * gdb.guile/scm-generics.exp: New file.
16399 * gdb.guile/scm-gsmob.exp: New file.
16400 * gdb.guile/scm-iterator.c: New file.
16401 * gdb.guile/scm-iterator.exp: New file.
16402 * gdb.guile/scm-math.c: New file.
16403 * gdb.guile/scm-math.exp: New file.
16404 * gdb.guile/scm-objfile-script-gdb.in: New file.
16405 * gdb.guile/scm-objfile-script.c: New file.
16406 * gdb.guile/scm-objfile-script.exp: New file.
16407 * gdb.guile/scm-objfile.c: New file.
16408 * gdb.guile/scm-objfile.exp: New file.
16409 * gdb.guile/scm-ports.exp: New file.
16410 * gdb.guile/scm-pretty-print.c: New file.
16411 * gdb.guile/scm-pretty-print.exp: New file.
16412 * gdb.guile/scm-pretty-print.scm: New file.
16413 * gdb.guile/scm-section-script.c: New file.
16414 * gdb.guile/scm-section-script.exp: New file.
16415 * gdb.guile/scm-section-script.scm: New file.
16416 * gdb.guile/scm-symbol.c: New file.
16417 * gdb.guile/scm-symbol.exp: New file.
16418 * gdb.guile/scm-symtab-2.c: New file.
16419 * gdb.guile/scm-symtab.c: New file.
16420 * gdb.guile/scm-symtab.exp: New file.
16421 * gdb.guile/scm-type.c: New file.
16422 * gdb.guile/scm-type.exp: New file.
16423 * gdb.guile/scm-value-cc.cc: New file.
16424 * gdb.guile/scm-value-cc.exp: New file.
16425 * gdb.guile/scm-value.c: New file.
16426 * gdb.guile/scm-value.exp: New file.
16427 * gdb.guile/source2.scm: New file.
16428 * gdb.guile/types-module.cc: New file.
16429 * gdb.guile/types-module.exp: New file.
16430
16431 2014-02-10 Yao Qi <yao@codesourcery.com>
16432
16433 PR testsuite/16543
16434 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16435 * configure: Regenerated.
16436 * Makefile.in: New file.
16437
16438 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16439
16440 * gdb.python/py-framefilter.exp: Fix typo.
16441
16442 2014-02-08 Yao Qi <yao@codesourcery.com>
16443
16444 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16445 that no =breakpoint-modified is emitted when breakpoints are
16446 modified through MI commands.
16447
16448 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16449 Pedro Alves <palves@redhat.com>
16450
16451 * gdb.threads/step-after-sr-lock.c: New file.
16452 * gdb.threads/step-after-sr-lock.exp: New file.
16453
16454 2014-02-07 Pedro Alves <palves@redhat.com>
16455
16456 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16457
16458 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16459
16460 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16461 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16462
16463 2014-02-06 Doug Evans <xdje42@gmail.com>
16464
16465 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16466 output.
16467
16468 * gdb.gdb/python-interrupts.exp: New file.
16469
16470 2014-02-05 Yao Qi <yao@codesourcery.com>
16471
16472 * gdb.trace/report.exp (use_collected_data): Test the output
16473 of "info threads" and "info inferiors".
16474
16475 2014-02-05 Yao Qi <yao@codesourcery.com>
16476
16477 Revert this patch:
16478
16479 2013-05-24 Yao Qi <yao@codesourcery.com>
16480
16481 * gdb.trace/tfile.exp: Test inferior and thread.
16482
16483 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16484
16485 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16486 on a function.
16487 * gdb.base/step-bt.c: Call hello via function pointer to make
16488 sure its first instruction is executed on powerpc64le-linux.
16489
16490 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16491
16492 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16493
16494 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16495
16496 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16497 of the test patterns for use on little-endian systems.
16498
16499 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16500
16501 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16502 (decimal_vector): Fix for little-endian.
16503
16504 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16505
16506 * gdb.arch/sparc-sysstep.exp: New file.
16507 * gdb.arch/sparc-sysstep.c: Likewise.
16508
16509 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16510
16511 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16512
16513 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16514
16515 2014-01-23 Tom Tromey <tromey@redhat.com>
16516
16517 * gdb.ada/array_char_idx: New testcase.
16518
16519 2014-01-23 Tom Tromey <tromey@redhat.com>
16520
16521 PR python/16487:
16522 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16523 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16524 classes.
16525
16526 2014-01-23 Tom Tromey <tromey@redhat.com>
16527
16528 PR python/16491:
16529 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16530 string from an inferior frame.
16531 * gdb.python/py-framefilter-mi.exp: Update.
16532
16533 2014-01-22 Doug Evans <dje@google.com>
16534
16535 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16536
16537 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16538
16539 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16540
16541 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16542
16543 * gdb.trace/entry-values.exp: Remove excess space character from
16544 regex patterns. Handle s390 call instruction.
16545
16546 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16547
16548 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16549 define "*_start" label. Make "name" static.
16550 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16551 ${name} by references to ${name}_start.
16552
16553 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16554
16555 * gdb.base/info-macros.exp: Remove "debug" from the compile
16556 options.
16557
16558 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16559
16560 * gdb.dlang/demangle.exp: New file.
16561
16562 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16563
16564 * gdb.dlang/primitive-types.exp: New file.
16565
16566 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16567
16568 * configure.ac: Create gdb.dlang/Makefile.
16569 * configure: Regenerate.
16570 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16571 * gdb.dlang/Makefile.in: New file.
16572 * lib/d-support.exp: New file.
16573 * lib/gdb.exp (skip_d_tests): New proc.
16574
16575 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16576
16577 * gdb.btrace/delta.exp: Check reverse stepi.
16578 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16579 * gdb.btrace/finish.exp: New.
16580 * gdb.btrace/next.exp: New.
16581 * gdb.btrace/nexti.exp: New.
16582 * gdb.btrace/record_goto.c: Add comments.
16583 * gdb.btrace/step.exp: New.
16584 * gdb.btrace/stepi.exp: New.
16585 * gdb.btrace/multi-thread-step.c: New.
16586 * gdb.btrace/multi-thread-step.exp: New.
16587 * gdb.btrace/rn-dl-bind.c: New.
16588 * gdb.btrace/rn-dl-bind.exp: New.
16589 * gdb.btrace/data.c: New.
16590 * gdb.btrace/data.exp: New.
16591 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16592
16593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16594
16595 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16596 * gdb.btrace/exception.exp: Update.
16597 * gdb.btrace/instruction_history.exp: Update.
16598 * gdb.btrace/record_goto.exp: Update.
16599 * gdb.btrace/tailcall.exp: Update.
16600 * gdb.btrace/unknown_functions.exp: Update.
16601 * gdb.btrace/delta.exp: New.
16602
16603 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16604
16605 * gdb.btrace/record_goto.exp: Add backtrace test.
16606 * gdb.btrace/tailcall.exp: Add backtrace test.
16607
16608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16609
16610 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16611 * gdb.btrace/record_goto.c: New.
16612 * gdb.btrace/record_goto.exp: New.
16613 * gdb.btrace/x86-record_goto.S: New.
16614
16615 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16616
16617 * gdb.btrace/function_call_history.exp: Update tests.
16618 * gdb.btrace/instruction_history.exp: Update tests.
16619
16620 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16621
16622 * gdb.btrace/function_call_history.exp: Fix expected field
16623 order for "record function-call-history".
16624 Add new tests for "record function-call-history /c".
16625 * gdb.btrace/exception.cc: New.
16626 * gdb.btrace/exception.exp: New.
16627 * gdb.btrace/tailcall.exp: New.
16628 * gdb.btrace/x86-tailcall.S: New.
16629 * gdb.btrace/x86-tailcall.c: New.
16630 * gdb.btrace/unknown_functions.c: New.
16631 * gdb.btrace/unknown_functions.exp: New.
16632 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16633
16634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16635
16636 * gdb.btrace/instruction_history.exp: Update.
16637 * gdb.btrace/function_call_history.exp: Update.
16638
16639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16640
16641 * gdb.btrace/function_call_history.exp: Fix expected function
16642 trace.
16643 * gdb.btrace/instruction_history.exp: Initialize traced.
16644 Remove traced_functions.
16645
16646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16647
16648 * gdb.btrace/function_call_history.exp: Update
16649 * gdb.btrace/instruction_history.exp: Update.
16650
16651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16652
16653 * gdb.btrace/enable.exp: Update expected text.
16654
16655 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16656
16657 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16658 bytes.
16659
16660 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16661
16662 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16663
16664 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16665
16666 * lib/gdb.exp (supports_process_record): Return true for
16667 arm*-linux*. (supports_reverse): Likewise.
16668
16669 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16670
16671 PR python/15464
16672 PR python/16113
16673 * gdb.python/py-type.c: Enhance test case.
16674 * gdb.python/py-value-cc.cc: Likewise
16675 * gdb.python/py-type.exp: Add new tests.
16676 * gdb.python/py-value-cc.exp: Likewise
16677
16678 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16679 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16682 Make "name" extern.
16683 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16684 references to ${name}_start by references to ${name}.
16685
16686 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16687
16688 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16689
16690 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16691
16692 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16693
16694 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16695 Pedro Alves <palves@redhat.com>
16696
16697 * gdb.mi/mi-info-os.exp: Connect to the target with
16698 mi_gdb_target_load.
16699
16700 2014-01-08 Pedro Alves <palves@redhat.com>
16701
16702 * gdb.threads/reconnect-signal.c: New file.
16703 * gdb.threads/reconnect-signal.exp: New file.
16704
16705 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16706
16707 * gdb.base/source-dir.exp: New file.
16708
16709 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16710
16711 * gdb.ada/mi_interface: New testcase.
16712
16713 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16714
16715 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16716 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16717 gdb.ada/pp-rec-component/pck.ads: New files.
16718
16719 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16720
16721 * gdb.python/py-pp-integral.c: New file.
16722 * gdb.python/py-pp-integral.py: New file.
16723 * gdb.python/py-pp-integral.exp: New file.
16724
16725 For older changes see ChangeLog-1993-2013.
16726 \f
16727 ;; Local Variables:
16728 ;; mode: change-log
16729 ;; left-margin: 8
16730 ;; fill-column: 74
16731 ;; version-control: never
16732 ;; End:
16733
16734 Copyright 2014-2019 Free Software Foundation, Inc.
16735 Copying and distribution of this file, with or without modification,
16736 are permitted provided the copyright notice and this notice are preserved.