640d392692ba2f366efcc7cf0ef904391dfd4ee8
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2
3 * gdb.python/python.exp: Expect a leading underscore on
4 GdbOutput{,Error}File.
5
6 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7
8 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
9 Windows host.
10
11 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
12
13 * gdb.base/batch-preserve-term-settings.exp
14 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
15
16 2019-08-15 Christian Biesinger <cbiesinger@google.com>
17
18 * lib/gdb.exp: When running on a mingw target, replace
19 /x/ with x:/.
20
21 2019-08-14 Alan Hayward <alan.hayward@arm.com>
22
23 * gdb.arch/aarch64-prologue.c: New test.
24 * gdb.arch/aarch64-prologue.exp: New file.
25
26 2019-08-13 Tom de Vries <tdevries@suse.de>
27
28 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
29 Thread.
30
31 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
32
33 * gdb.python/py-completion.exp: Download the .py file to the host
34 and use its host pathname. Conditionalize tests that use
35 tab completion and manipulate files on the build machine.
36 * gdb.python/py-events.exp: Download the .py file to the host
37 and use its host pathname.
38 * gdb.python/py-evsignal.exp: Likewise.
39 * gdb.python/py-evthreads.exp: Likewise.
40 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
41 pathname syntax.
42 * gdb.python/py-framefilter.exp: Download the .py file to the right
43 place on the host. Match Windows pathname syntax.
44 * gdb.python/py-mi-var-info-path-expression.exp: Download the
45 .py file to the host and use its host pathname.
46 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
47 * gdb.python/py-objfile.exp: Expect a host pathname, not a
48 build pathname. Skip symlink test on Windows host. Add missing
49 newline at end of file.
50 * gdb.python/py-pp-maint.exp: Download the .py file to the host
51 and use its host pathname.
52 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
53 * gdb.python/py-section-script.exp: Use host location of binfile
54 on safe-path. Use correct path separator on Windows host.
55 Reorder alternatives in gdb_test_multiple to prevent matching
56 the wrong alternative on success.
57 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
58
59 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
60
61 * gdb.gdb/selftest.exp (test_with_self): Update test to now
62 expect the GDB inferior to no longer immediately stop after
63 being resumed with "signal SIGINT".
64
65 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
66
67 * gdb.linespec/break-ask.exp: Generalize regexps to match
68 Windows pathnames too.
69
70 2019-08-08 Tom de Vries <tdevries@suse.de>
71
72 PR testsuite/24862
73 * lib/tuiterm.exp (_accept): Fix CSI regexp.
74
75 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
76
77 * gdb.base/style.exp: Update tests for help doc new invariants.
78 * gdb.base/help.exp: Likewise.
79
80 2019-08-06 Tom Tromey <tom@tromey.com>
81
82 * gdb.base/style.exp: Add disassemble test.
83 * gdb.base/style.c (some_called_function): New function.
84 (main): Use it.
85
86 2019-08-05 Christian Biesinger <cbiesinger@google.com>
87
88 * gdb.python/py-block.exp: Test dictionary access on blocks.
89
90 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
91
92 PR gdb/24863
93 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
94 -list-thread-groups --available test when running under
95 check-read1.
96
97 2019-08-05 Tom de Vries <tdevries@suse.de>
98
99 PR testsuite/24863
100 * lib/gdb.exp (with_read1_timeout_factor): New proc.
101 * gdb.base/help.exp: Use with_read1_timeout_factor.
102 * gdb.base/info-macros.exp: Same.
103 * gdb.cp/nested-types.exp: Same.
104
105 2019-08-05 Tom de Vries <tdevries@suse.de>
106
107 * lib/gdb.exp (version_at_least): Factor out of ...
108 (tcl_version_at_least): ... here.
109 (gdb_compile): Fail if pie results in non-PIE executable.
110 (readelf_version, readelf_prints_pie): New proc.
111 (exec_is_pie): Return -1 if unknown.
112
113 2019-08-05 Tom de Vries <tdevries@suse.de>
114
115 * lib/gdb.exp (tcl_version_at_least): Fix typo.
116
117 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
118
119 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
120
121 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
122
123 * lib/completion-support.exp (test_gdb_complete_none): Skip
124 tab completion tests if no readline support.
125 (test_gdb_complete_unique_re): Likewise.
126 (test_gdb_complete_multiple): Likewise.
127
128 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
129
130 * gdb.base/info_sources.exp: New file.
131 * gdb.base/info_sources.c: New file.
132 * gdb.base/info_sources_base.c: New file.
133
134 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
135
136 * gdb.base/batch-exit-status.exp: Call test_exit_status with
137 prefix argument.
138 (test_exit_status): Add prefix argument.
139
140 2019-08-01 Tom de Vries <tdevries@suse.de>
141
142 PR testsuite/24863
143 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
144 calling exp_continue for new thread and thread exited messages.
145
146 2019-08-01 Tom de Vries <tdevries@suse.de>
147
148 PR testsuite/24863
149 * gdb.base/structs.exp: Fix check-read1 timeout using
150 gdb_test_sequence.
151 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
152
153 2019-08-01 Tom de Vries <tdevries@suse.de>
154
155 PR testsuite/24863
156 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
157 line.
158
159 2019-08-01 Tom de Vries <tdevries@suse.de>
160
161 PR testsuite/24863
162 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
163
164 2019-07-30 Tom Tromey <tromey@adacore.com>
165
166 * gdb.ada/display_nested.exp: New file.
167 * gdb.ada/display_nested/foo.adb: New file.
168 * gdb.ada/display_nested/pack.adb: New file.
169 * gdb.ada/display_nested/pack.ads: New file.
170
171 2019-07-30 Christian Biesinger <cbiesinger@google.com>
172
173 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
174 namespace.
175 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
176
177 2019-07-30 Tom de Vries <tdevries@suse.de>
178
179 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
180 instead.
181
182 2019-07-30 Tom de Vries <tdevries@suse.de>
183
184 PR testsuite/24834
185 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
186 (exec_is_pie): New proc.
187
188 2019-07-29 Christian Biesinger <cbiesinger@google.com>
189
190 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
191
192 2019-07-29 Christian Biesinger <cbiesinger@google.com>
193
194 * gdb.python/py-objfile.c: Add global and static vars.
195 * gdb.python/py-objfile.exp: Test new functions Objfile.
196 lookup_global_symbol and lookup_static_symbol.
197
198 2019-07-29 Tom Tromey <tom@tromey.com>
199
200 * lib/tuiterm.exp (Term::_csi_@): New proc.
201 (Term::_csi_X): Don't move cursor.
202
203 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
204
205 * gdb.base/options.exp: Update backtrace - completion to
206 new option -frame-info.
207 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
208 Test new 'set print frame-info'. Test backtrace -frame-info
209 overriding 'set print frame-info'.
210 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
211 Test new 'set print frame-info'.
212 Verify consistency of backtrace with and without filters, with and
213 without -no-filters.
214 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
215 default.
216
217 2019-07-29 Tom de Vries <tdevries@suse.de>
218
219 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
220 no arguments".
221
222 2019-07-29 Tom de Vries <tdevries@suse.de>
223
224 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
225 is a substring of the first for "complete non-unique file name".
226
227 2019-07-29 Tom de Vries <tdevries@suse.de>
228
229 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
230 with ".*".
231
232 2019-07-29 Tom de Vries <tdevries@suse.de>
233
234 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
235 Pass prompt_regexp parameter to gdb_test_multiple calls.
236
237 2019-07-29 Tom de Vries <tdevries@suse.de>
238
239 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
240 print registers" regexps.
241
242 2019-07-29 Tom de Vries <tdevries@suse.de>
243
244 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
245
246 2019-07-29 Tom de Vries <tdevries@suse.de>
247
248 PR gdb/24855
249 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
250 (skip_python_tests_prompt): Add prompt_regexp argument to
251 gdb_test_multiple calls.
252
253 2019-07-27 Tom Tromey <tom@tromey.com>
254
255 * gdb.tui/main.exp: New file.
256
257 2019-07-27 Tom Tromey <tom@tromey.com>
258
259 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
260 optional.
261 * gdb.tui/empty.exp: New file.
262
263 2019-07-27 Tom Tromey <tom@tromey.com>
264
265 * lib/tuiterm.exp (spawn): New proc.
266 (Term::resize): New proc.
267 * gdb.tui/resize.exp: New file.
268
269 2019-07-27 Tom Tromey <tom@tromey.com>
270
271 * gdb.tui/list.exp: New file.
272
273 2019-07-27 Tom Tromey <tom@tromey.com>
274
275 * gdb.tui/regs.exp: New file.
276
277 2019-07-27 Tom Tromey <tom@tromey.com>
278
279 * gdb.tui/basic.exp: Add "layout split" test.
280
281 2019-07-27 Tom Tromey <tom@tromey.com>
282
283 * gdb.tui/basic.exp: Add "layout asm" test.
284
285 2019-07-27 Tom Tromey <tom@tromey.com>
286
287 * lib/tuiterm.exp: New file.
288 * gdb.tui/basic.exp: New file.
289
290 2019-07-27 Kevin Buettner <kevinb@redhat.com>
291
292 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
293 Enable tests associated with this flag. Adjust regex
294 referencing "foo_low" to now refer to "foo_cold" instead.
295
296 2019-07-27 Kevin Buettner <kevinb@redhat.com>
297
298 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
299 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
300 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
301 foo_cold. Revise comments to match.
302 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
303 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
304 were wrapped into this proc; Call do_test in loop from outermost
305 level.
306 (foo_low): Rename all occurrences to "foo_cold".
307 (backtrace from baz): New test.
308 (x2/i foo_cold): New test.
309 (info line *foo_cold): New test.
310
311 2019-07-26 Tom de Vries <tdevries@suse.de>
312
313 * gdb.arch/i386-pkru.exp: Fix unterminated string.
314
315 2019-07-25 Tom de Vries <tdevries@suse.de>
316
317 PR testsuite/24830
318 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
319 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
320 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
321 (skip_libstdcxx_probe_tests): ... here.
322 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
323
324 2019-07-24 Tom de Vries <tdevries@suse.de>
325
326 PR testsuite/24807
327 * gdb.objc/basicclass.m: Include stdio.h.
328 * gdb.objc/nondebug.m: Same.
329 * gdb.objc/objcdecode.m: Same.
330
331 2019-07-24 Tom de Vries <tdevries@suse.de>
332
333 PR testsuite/24612
334 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
335 additional_flags.
336
337 2019-07-24 Tom de Vries <tdevries@suse.de>
338
339 PR testsuite/24831
340 * gdb.multi/tids.exp: Update error messages for info threads.
341
342 2019-07-24 Tom de Vries <tdevries@suse.de>
343
344 * gdb.base/info-types.exp: Allow info types to print info for more than
345 one file.
346
347 2019-07-23 Tom de Vries <tdevries@suse.de>
348
349 PR testsuite/24842
350 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
351 gdb_spawn_with_cmdline_opts.
352
353 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
354
355 * gdb.arch/arm-cmse-sgstubs.c: New test.
356 * gdb.arch/arm-cmse-sgstubs.exp: New file.
357
358 2019-07-23 Tom de Vries <tdevries@suse.de>
359
360 PR testsuite/24711
361 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
362 issuing next command.
363
364 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * gdb.ada/info_auto_lang.exp: Update expected results.
367 * gdb.base/info-types.c: Add additional types to check.
368 * gdb.base/info-types.exp: Update expected results.
369
370 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.base/info-types.c: New file.
373 * gdb.base/info-types.exp: New file.
374
375 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.arch/riscv-bp-infcall.c: New file.
378 * gdb.arch/riscv-bp-infcall.exp: New file.
379
380 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 PR breakpoints/24541
383 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
384
385 2019-07-14 Tom de Vries <tdevries@suse.de>
386
387 PR testsuite/24760
388 * gdb.objc/basicclass.exp: Fix unterminated string.
389
390 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
391 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
394 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
395 negative bounds.
396 * gdb.fortran/vla-value.exp: Print elements of an array with
397 negative bounds.
398 * gdb.fortran/vla.f90: Setup an array with negative bounds for
399 testing.
400
401 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * gdb.base/options.exp (expect_string): Dequote strings in
404 results.
405 (test-string): Test strings with different quoting and reindent.
406
407 2019-07-10 Tom Tromey <tromey@adacore.com>
408
409 * gdb.ada/mi_ex_cond.exp: Update expected results.
410 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
411 * gdb.ada/mi_catch_ex.exp: Update expected results.
412 * gdb.ada/mi_catch_assert.exp: Update expected results.
413 * gdb.ada/catch_ex.exp (catch_exception_info)
414 (catch_exception_entry, catch_assert_entry)
415 (catch_unhandled_entry): Update.
416 * gdb.ada/catch_assert_if.exp: Update expected results.
417
418 2019-07-10 Richard Bunt <richard.bunt@arm.com>
419 Stephen Roberts <stephen.roberts@arm.com>
420
421 * gdb.base/define.exp: Restore original prompt.
422
423 2019-07-09 Pedro Alves <palves@redhat.com>
424
425 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
426 breakpoints" output.
427 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
428 * gdb.python/py-breakpoint.exp: No longer expect that "catch
429 throw" creates breakpoint.
430 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
431 'type="catchpoint"'.
432
433 2019-07-09 Pedro Alves <palves@redhat.com>
434
435 PR c++/15468
436 * gdb.cp/except-multi-location-lib.cc: New.
437 * gdb.cp/except-multi-location-main.cc: New.
438 * gdb.cp/except-multi-location.exp: New.
439
440 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
441
442 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
443 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
444 argument and update callers.
445
446 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
447
448 * gdb.arch/amd64-break-on-asm-line.S: New file.
449 * gdb.arch/amd64-break-on-asm-line.exp: New file.
450
451 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
452
453 * gdb.base/printcmds.exp: Test printing C string and
454 C wide string convenience vars without transiting via the inferior.
455 Also make test names unique.
456
457 2019-07-08 Alan Hayward <alan.hayward@arm.com>
458
459 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
460
461 2019-07-04 Pedro Alves <palves@redhat.com>
462
463 * lib/gdb.exp (foreach_with_prefix): Don't return early if
464 body returned ok(0), break(3) or continue(4).
465 * gdb.testsuite/foreach_with_prefix.exp: New file.
466
467 2019-07-04 Alan Hayward <alan.hayward@arm.com>
468
469 * gdb.server/unittest.exp: Allow 0 unit tests to run.
470
471 2019-07-03 Pedro Alves <palves@redhat.com>
472
473 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
474 "return -code".
475
476 2019-07-03 Pedro Alves <palves@redhat.com>
477
478 PR cli/24732
479 * gdb.base/shell.exp: Load completion-support.exp.
480 Adjust expected error output. Add completion tests.
481
482 2019-07-03 Pedro Alves <palves@redhat.com>
483
484 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
485 string_to_regexp.
486
487 2019-07-03 Pedro Alves <palves@redhat.com>
488
489 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
490 (expect_integer): Adjust to expect "-string".
491 (expect_string): New.
492 (all_options): Expect "-string".
493 (test-flag, test-boolean): Adjust to expect "-string".
494 (test-string): New proc.
495 (top level): Call it.
496
497 2019-07-03 Pedro Alves <palves@redhat.com>
498
499 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
500 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
501 the expected output in the success.
502
503 2019-07-03 Pedro Alves <palves@redhat.com>
504
505 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
506 Split one gdb_test_multiple call in two to avoid a race.
507
508 2019-07-03 Pedro Alves <palves@redhat.com>
509
510 * gdb.base/with.c: New file.
511 * gdb.base/with.exp: New file.
512
513 2019-07-03 Pedro Alves <palves@redhat.com>
514
515 * gdb.base/settings.exp: Replace all references to "maint
516 test-settings set" with references to "maint set test-settings",
517 and all references to "maint test-settings show" with references
518 to "maint show test-settings".
519
520 2019-07-03 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/settings.exp (test-string): Adjust expected out when
523 testing "maint test-settings show filename"
524
525 2019-07-02 Pedro Alves <palves@redhat.com>
526
527 * gdb.base/options.exp (test-info-threads): New procedure.
528 (top level): Call it.
529
530 2019-06-28 Tom Tromey <tromey@adacore.com>
531
532 * gdb.dwarf2/ada-linkage-name.c: New file.
533 * gdb.dwarf2/ada-linkage-name.exp: New file.
534
535 2019-06-27 Tom Tromey <tromey@adacore.com>
536
537 * gdb.cp/constexpr-field.exp: Use setup_xfail.
538
539 2019-06-26 Tom de Vries <tdevries@suse.de>
540
541 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
542
543 2019-06-26 Tom de Vries <tdevries@suse.de>
544
545 * gdb.base/index-cache.exp: Add back missing debug option.
546
547 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
548
549 * gdb.base/alias.exp: Test non matching/non existing prefixes.
550
551 2019-06-25 Tom de Vries <tdevries@suse.de>
552
553 PR testsuite/24727
554 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
555
556 2019-06-24 Tom de Vries <tdevries@suse.de>
557
558 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
559
560 2019-06-24 Tom de Vries <tdevries@suse.de>
561
562 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
563 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
564 * gdb.trace/unavailable-dwarf-piece.exp: Same.
565
566 2019-06-24 Tom de Vries <tdevries@suse.de>
567
568 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
569
570 2019-06-21 Tom de Vries <tdevries@suse.de>
571
572 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
573
574 2019-06-21 Tom de Vries <tdevries@suse.de>
575
576 PR testsuite/24518
577 PR ada/24713
578 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
579 index.
580
581 2019-06-19 Tom Tromey <tromey@adacore.com>
582
583 * gdb.ada/length_cond.exp: Add intro comment.
584
585 2019-06-19 Tom Tromey <tromey@adacore.com>
586
587 * gdb.ada/length_cond.exp: New file.
588 * gdb.ada/length_cond/length_cond.adb: New file.
589 * gdb.ada/length_cond/pck.adb: New file.
590 * gdb.ada/length_cond/pck.ads: New file.
591
592 2019-06-18 Tom de Vries <tdevries@suse.de>
593
594 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
595
596 2019-06-18 Tom Tromey <tromey@adacore.com>
597
598 * gdb.base/list0.h: Add comment explaining control character.
599
600 2019-06-18 Tom de Vries <tdevries@suse.de>
601
602 * boards/fission.exp: Break up long debug_flags line.
603
604 2019-06-16 Tom de Vries <tdevries@suse.de>
605
606 PR gdb/24445
607 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
608 generated index.
609
610 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 PR gdb/24686
613 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
614 improve detection of bug gdb/24541.
615
616 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
617
618 PR gdb/24669
619 * gdb.base/index-cache.exp (uses_readnow,
620 expecting_index_cache_use): Define global variable.
621 (test_cache_enabled_miss, test_cache_enabled_hit): Use
622 expecting_index_cache_use.
623
624 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
625 Andrew Burgess <andrew.burgess@embecosm.com>
626
627 * gdb.fortran/pointers.f90: New file.
628 * gdb.fortran/print_type.exp: New file.
629 * gdb.fortran/vla-ptype.exp: Adapt expected results.
630 * gdb.fortran/vla-type.exp: Likewise.
631 * gdb.fortran/vla-value.exp: Likewise.
632 * gdb.mi/mi-vla-fortran.exp: Likewise.
633
634 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
635
636 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
637 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
638 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
639 as a stop reason.
640
641 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
642
643 * gdb.base/annota1.exp: Update expected results.
644 * gdb.cp/annota2.exp: Likewise.
645 * gdb.cp/annota3.exp: Likewise.
646
647 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
648
649 * gdb.base/style-logging.exp: Remove path from test name.
650
651 2019-06-14 Tom Tromey <tromey@adacore.com>
652
653 PR gdb/24502:
654 * gdb.base/style-logging.exp: New file.
655
656 2019-06-14 Tom Tromey <tromey@adacore.com>
657
658 * gdb.base/symfile-warn.exp: New file.
659 * gdb.base/symfile-warn.c: New file.
660
661 2019-06-14 Tom Tromey <tromey@adacore.com>
662
663 * gdb.base/annotate-symlink.exp: New file.
664
665 2019-06-14 Tom Tromey <tromey@adacore.com>
666
667 * gdb.ada/set_wstr.exp: Add reassignment test.
668
669 2019-06-14 Tom Tromey <tromey@adacore.com>
670
671 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
672 'unchecked_access and 'unrestricted_access as well.
673
674 2019-06-14 Tom Tromey <tromey@adacore.com>
675
676 PR ada/24539:
677 * gdb.ada/vla.exp: Update tests.
678 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
679 pragma.
680
681 2019-06-13 Pedro Alves <palves@redhat.com>
682
683 * gdb.base/settings.exp (test-integer): Test junk after
684 "unlimited".
685
686 2019-06-13 Pedro Alves <palves@redhat.com>
687
688 * gdb.base/options.exp (test-thread-apply): New.
689 (top level): Call it.
690
691 2019-06-13 Pedro Alves <palves@redhat.com>
692
693 * gdb.base/options.exp (test-frame-apply): New.
694 (top level): Test print commands with different "frame apply"
695 prefixes.
696
697 2019-06-13 Pedro Alves <palves@redhat.com>
698
699 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
700 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
701 'max_completions' parameter and handle it.
702 (test_gdb_completion_offers_commands): New.
703
704 2019-06-13 Pedro Alves <palves@redhat.com>
705
706 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
707
708 2019-06-13 Pedro Alves <palves@redhat.com>
709
710 * gdb.base/options.exp (test-backtrace): New.
711 (top level): Call it.
712
713 2019-06-13 Pedro Alves <palves@redhat.com>
714
715 * gdb.guile/scm-frame-args.exp: Use "set print
716 raw-frame-arguments" instead of "set print raw frame-arguments".
717 * gdb.python/py-frame-args.exp: Likewise.
718
719 2019-06-13 Pedro Alves <palves@redhat.com>
720
721 * gdb.compile/compile.exp: Adjust expected output to option
722 processing changes.
723
724 2019-06-13 Pedro Alves <palves@redhat.com>
725
726 * gdb.base/options.exp: Build executable.
727 (test-print): New procedure.
728 (top level): Call it, once for "print" and another for "compile
729 print".
730
731 2019-06-13 Pedro Alves <palves@redhat.com>
732
733 * gdb.base/options.c: New file.
734 * gdb.base/options.exp: New file.
735
736 2019-06-13 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
739 that "o" is ambiguous.
740
741 2019-06-13 Pedro Alves <palves@redhat.com>
742
743 * gdb.base/settings.c: New file.
744 * gdb.base/settings.exp: New file.
745
746 2019-06-13 Pedro Alves <palves@redhat.com>
747
748 * gdb.base/completion.exp: Fix comment typo.
749
750 2019-06-13 Pedro Alves <palves@redhat.com>
751
752 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
753 foo --1" test.
754
755 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
756
757 * gdb.fortran/block-data.f: New.
758 * gdb.fortran/block-data.exp: New.
759
760 2019-06-11 Tom de Vries <tdevries@suse.de>
761
762 PR testsuite/24521
763 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
764 message.
765
766 2019-06-11 Tom de Vries <tdevries@suse.de>
767
768 PR testsuite/24521
769 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
770
771 2019-06-11 Tom de Vries <tdevries@suse.de>
772
773 * boards/readnow.exp: New file.
774
775 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
776
777 * gdb.fortran/vla-sizeof.exp: Update expected results.
778
779 2019-06-06 Amos Bird <amosbird@gmail.com>
780
781 * gdb.base/annota1.exp (thread_switch): Add test for
782 thread-exited annotation.
783
784 2019-06-06 Tom Tromey <tromey@adacore.com>
785
786 * gdb.base/maint.exp: Expect command started/finished output.
787
788 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
791 comment.
792 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
793
794 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
795
796 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
797 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
798 * gdb.arch/riscv-unwind-long-insn.c: New file.
799 * gdb.arch/riscv-unwind-long-insn.exp: New file.
800
801 2019-06-04 Christian Biesinger <cbiesinger@google.com>
802
803 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
804
805 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
806
807 * lib/gdb.exp (help_list_trailer): New regexp variable
808 factorizing the help trailer message.
809 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
810 arg to allow to better factorize various tests.
811 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
812 (test_prefix_command_help): Use help_list_trailer.
813 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
814 * gdb.guile/scm-cmd.exp: Likewise.
815 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
816 * gdb.base/help.exp: Use test_user_defined_class_help.
817 * gdb.base/style.exp: Add tests for styling of help and apropos.
818 * lib/gdb-utils.exp (style): Add title and highlight styles.
819
820 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
821
822 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
823 $_shell_exitsignal.
824 * gdb.base/default.exp: Update for new convenience variables.
825
826 2019-05-29 Tom Tromey <tromey@adacore.com>
827
828 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
829 to "break complete ada" test case's regexp.
830
831 2019-05-29 Tom Tromey <tromey@adacore.com>
832
833 PR c++/20020:
834 * gdb.cp/constexpr-field.exp: New file.
835 * gdb.cp/constexpr-field.cc: New file.
836
837 2019-05-29 Tom Tromey <tromey@adacore.com>
838
839 * gdb.base/finish.exp (finish_no_print): New proc.
840 (finish_tests): Call it.
841
842 2019-05-24 Tom de Vries <tdevries@suse.de>
843
844 * gdb.dwarf2/gdb-add-index.exp: New file.
845
846 2019-05-22 Tom Tromey <tromey@adacore.com>
847
848 * gdb.base/info-shared.exp (check_info_shared): Use "style".
849 * gdb.base/style.exp: Use "style".
850 * lib/gdb-utils.exp (style): New proc.
851
852 2019-05-22 Tom de Vries <tdevries@suse.de>
853
854 * gdb.base/align.exp: Require c++11.
855
856 2019-05-22 Tom de Vries <tdevries@suse.de>
857
858 PR testsuite/24586
859 * gdb.python/py-mi-var-info-path-expression.exp: Call
860 mi_skip_python_tests to check if python is supported.
861
862 2019-05-22 Alan Hayward <alan.hayward@arm.com>
863
864 * gdb.arch/aarch64-pauth.c: New test.
865 * gdb.arch/aarch64-pauth.exp: New file.
866
867 2019-05-22 Alan Hayward <alan.hayward@arm.com>
868
869 * README (Re-running Tests Outside The Testsuite): New section.
870
871 2019-05-21 Tom de Vries <tdevries@suse.de>
872
873 * gdb.arch/amd64-eval.exp: Require c++11.
874 * gdb.base/max-depth.exp: Same.
875 * gdb.compile/compile-cplus-array-decay.exp: Same.
876 * gdb.cp/meth-typedefs.exp: Same.
877 * gdb.cp/subtypes.exp: Same.
878 * gdb.cp/temargs.exp: Same.
879
880 2019-05-21 Alan Hayward <alan.hayward@arm.com>
881
882 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
883
884 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
885
886 PR gdb/18644
887 * gdb.fortran/complex.exp: Remove setup_kfail calls.
888 * gdb.fortran/printing-types.exp: Add new test.
889 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
890 testing.
891 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
892 setup_kfail call.
893
894 2019-05-17 Alan Hayward <alan.hayward@arm.com>
895
896 * README (Running the Testsuite): Change example.
897 (Testsuite Parameters): Remove TRANSCRIPT.
898 * lib/gdb.exp: Remove TRANSCRIPT check.
899
900 2019-05-17 Alan Hayward <alan.hayward@arm.com>
901
902 * README (Testsuite Parameters): Add replay logging to
903 GDBSERVER_DEBUG.
904 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
905 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
906 as a comma separated list.
907 (gdb_debug_init): Override procedure.
908
909 2019-05-17 Alan Hayward <alan.hayward@arm.com>
910
911 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
912 (gdb_write_cmd_file): New procedure.
913 * lib/gdbserver-support.exp (gdbserver_start): Call
914 gdbserver_write_cmd_file.
915 (gdbserver_write_cmd_file): New procedure.
916
917 2019-05-17 Alan Hayward <alan.hayward@arm.com>
918
919 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
920 (delete_breakpoints): Likewise.
921 (gdb_run_cmd): Likewise.
922 (gdb_start_cmd): Likewise.
923 (gdb_starti_cmd): Likewise.
924 (gdb_internal_error_resync): Likewise.
925 (gdb_test_multiple): Likewise.
926 (gdb_reinitialize_dir): Likewise.
927 (default_gdb_exit): Likewise.
928 (gdb_file_cmd): Mark kill as optional.
929 (default_gdb_start): Call gdb_stdin_log_init.
930 (send_gdb): Call gdb_stdin_log_write.
931 (rerun_to_main): Mark Y as an answer.
932 (gdb_stdin_log_init): New function.
933 (gdb_stdin_log_write): Likewise.
934
935 2019-05-17 Alan Hayward <alan.hayward@arm.com>
936
937 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
938 * gdb.base/debug-expr.exp: Likewise.
939 * gdb.base/foll-fork.exp: Likewise.
940 * gdb.base/foll-vfork.exp: Likewise.
941 * gdb.base/fork-print-inferior-events.exp: Likewise.
942 * gdb.base/gdb-sigterm.exp: Likewise.
943 * gdb.base/gdbinit-history.exp: Likewise.
944 * gdb.base/osabi.exp: Likewise.
945 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
946 * gdb.base/ui-redirect.exp: Likewise.
947 * gdb.gdb/unittest.exp: Likewise.
948 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
949 * gdb.mi/mi-watch.exp: Likewise.
950 * gdb.mi/new-ui-mi-sync.exp: Likewise.
951 * gdb.mi/user-selected-context-sync.exp: Likewise.
952 * gdb.python/python.exp: Disable debug test when debugging.
953 * gdb.threads/check-libthread-db.exp: Disable when debugging.
954 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
955 Likewise.
956 * gdb.threads/stepi-random-signal.exp: Likewise.
957
958 2019-05-17 Alan Hayward <alan.hayward@arm.com>
959
960 * Makefile.in: Pass through GDB_DEBUG.
961 * README (Testsuite Parameters): Add GDB_DEBUG.
962 (gdb,debug): Add board setting.
963 * lib/gdb.exp (default_gdb_start): Start debugging.
964 (gdb_debug_enabled): New procedure.
965 (gdb_debug_init): Likewise.
966
967 2019-05-17 Alan Hayward <alan.hayward@arm.com>
968
969 * Makefile.in: Pass through GDB_DEBUG.
970 * README (Testsuite Parameters): Add GDB_DEBUG.
971 (gdb,debug): Add board setting.
972 * lib/gdb.exp (default_gdb_start): Start debugging.
973 (gdb_debug_enabled): New procedure.
974 (gdb_debug_init): Likewise.
975
976 2019-05-17 Alan Hayward <alan.hayward@arm.com>
977
978 * gdb.base/ui-redirect.exp: Add debug redirect tests.
979
980 2019-05-17 Alan Hayward <alan.hayward@arm.com>
981
982 * gdb.base/ui-redirect.exp: Test redirection.
983
984 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
985
986 * gdb.mi/mi-complete.exp: New file.
987 * gdb.mi/mi-complete.cc: Likewise.
988
989 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
990
991 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
992 indexed and sliced arrays, and pointers to arrays.
993
994 2019-05-14 Tom Tromey <tromey@adacore.com>
995
996 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
997 styling test.
998
999 2019-05-14 Tom de Vries <tdevries@suse.de>
1000
1001 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1002 selection entry encoding.
1003
1004 2019-05-10 Tom Tromey <tromey@adacore.com>
1005
1006 * gdb.ada/info_exc.exp: Add "complete" test.
1007
1008 2019-05-09 Tom de Vries <tdevries@suse.de>
1009
1010 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1011 CU-relative.
1012
1013 2019-05-09 Tom de Vries <tdevries@suse.de>
1014
1015 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1016 CU-relative.
1017
1018 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1019
1020 * gdb.ada/frame_arg_lang.exp: New testcase.
1021 * gdb.ada/frame_arg_lang/bla.adb: New file.
1022 * gdb.ada/frame_arg_lang/pck.ads: New file.
1023 * gdb.ada/frame_arg_lang/pck.adb: New file.
1024 * gdb.ada/frame_arg_lang/foo.c: New file.
1025
1026 2019-05-08 Tom Tromey <tromey@adacore.com>
1027
1028 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1029
1030 2019-05-08 Tom Tromey <tromey@adacore.com>
1031
1032 * gdb.base/ptype-offsets.exp: Update tests.
1033
1034 2019-05-08 Tom Tromey <tromey@adacore.com>
1035
1036 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1037 cases.
1038 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1039 "short".
1040
1041 2019-05-08 Tom Tromey <tromey@adacore.com>
1042
1043 * gdb.ada/vla.exp: New file.
1044 * gdb.ada/vla/vla.adb: New file.
1045
1046 2019-05-07 Tom de Vries <tdevries@suse.de>
1047
1048 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1049
1050 2019-05-07 Tom de Vries <tdevries@suse.de>
1051
1052 PR testsuite/24522
1053 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1054 section.
1055
1056 2019-05-07 Tom de Vries <tdevries@suse.de>
1057
1058 PR testsuite/24522
1059 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1060 .debug_aranges section.
1061
1062 2019-05-07 Tom de Vries <tdevries@suse.de>
1063
1064 PR testsuite/24159
1065 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1066
1067 2019-05-06 Tom de Vries <tdevries@suse.de>
1068
1069 * lib/gdb.exp (exec_has_index_section): New proc.
1070 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1071 section.
1072
1073 2019-05-04 Tom de Vries <tdevries@suse.de>
1074
1075 * boards/cc-with-debug-names.exp: New file.
1076
1077 2019-05-03 Tom Tromey <tromey@adacore.com>
1078
1079 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1080 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1081 * gdb.ada/char_enum.exp: Add test.
1082
1083 2019-05-03 Tom de Vries <tdevries@suse.de>
1084
1085 * boards/cc-with-gdb-index.exp: New file.
1086
1087 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.rust/simple.exp: Add new test case.
1090 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1091 (main): Initialise an instance of the new struct.
1092
1093 2019-05-01 Tom Tromey <tromey@adacore.com>
1094
1095 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1096 record.
1097 (NPR): New variable.
1098 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1099 test.
1100
1101 2019-05-01 Tom Tromey <tromey@adacore.com>
1102
1103 * gdb.ada/packed_array_assign.exp: Add packed assignment
1104 regression test.
1105
1106 2019-05-01 Tom de Vries <tdevries@suse.de>
1107
1108 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1109
1110 2019-05-01 Tom de Vries <tdevries@suse.de>
1111
1112 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1113
1114 2019-04-30 Ali Tamur <tamur@google.com>
1115
1116 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1117
1118 2019-04-30 Tom Tromey <tromey@adacore.com>
1119
1120 * lib/ada.exp (find_ada_tool): New proc.
1121 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1122 * gdb.ada/catch_ex_std.exp: New file.
1123 * gdb.ada/catch_ex_std/foo.adb: New file.
1124 * gdb.ada/catch_ex_std/some_package.adb: New file.
1125 * gdb.ada/catch_ex_std/some_package.ads: New file.
1126
1127 2019-04-30 Tom Tromey <tromey@adacore.com>
1128
1129 PR c++/24470:
1130 * gdb.cp/temargs.cc: Add test code from PR.
1131
1132 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1133
1134 * gdb.fortran/vla-datatypes.exp: Update expected results.
1135 * gdb.fortran/vla-ptype.exp: Likewise.
1136 * gdb.fortran/vla-type.exp: Likewise.
1137 * gdb.fortran/vla-value.exp: Likewise.
1138
1139 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1140
1141 * gdb.fortran/ptr-indentation.exp: Update expected results.
1142 * gdb.fortran/ptype-on-functions.exp: Likewise.
1143 * gdb.fortran/vla-ptr-info.exp: Likewise.
1144 * gdb.fortran/vla-value.exp: Likewise.
1145
1146 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 * gdb.fortran/ptype-on-functions.exp: New file.
1149 * gdb.fortran/ptype-on-functions.f90: New file.
1150
1151 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1154 case void string.
1155
1156 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1157
1158 * gdb.fortran/complex.exp: Expand.
1159 * gdb.fortran/complex.f: Renamed to...
1160 * gdb.fortran/complex.f90: ...this, and extended to add more
1161 complex values.
1162
1163 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1164
1165 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1166 MODULO, CMPLX.
1167
1168 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1169 Richard Bunt <richard.bunt@arm.com>
1170
1171 * gdb.base/max-depth.c: New file.
1172 * gdb.base/max-depth.exp: New file.
1173 * gdb.python/py-nested-maps.c: New file.
1174 * gdb.python/py-nested-maps.exp: New file.
1175 * gdb.python/py-nested-maps.py: New file.
1176 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1177 (test_all_common): Call test_max_depth.
1178 * gdb.fortran/max-depth.exp: New file.
1179 * gdb.fortran/max-depth.f90: New file.
1180 * gdb.go/max-depth.exp: New file.
1181 * gdb.go/max-depth.go: New file.
1182 * gdb.modula2/max-depth.exp: New file.
1183 * gdb.modula2/max-depth.c: New file.
1184 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1185
1186 2019-04-29 Tom de Vries <tdevries@suse.de>
1187
1188 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1189
1190 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1191
1192 * gdb.base/callexit.exp: Test may-call-functions off.
1193
1194 2019-04-25 Keith Seitz <keiths@redhat.com>
1195
1196 PR c++/24367
1197 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1198 (another_incomplete_struct, test_incomplete): New definitions.
1199 (main): Use new definitions.
1200 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1201 functions.
1202
1203 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1204
1205 PR corefiles/11608
1206 PR corefiles/18187
1207 * gdb.base/coredump-filter-build-id.exp: New file.
1208
1209 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1210
1211 * Makefile.in: Pass through GDBSERVER_DEBUG.
1212 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1213 (gdbserver,debug): Add board setting.
1214 * gdb.trace/tspeed.exp: Skip when debugging.
1215 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1216 * lib/gdbserver-support.exp: Likewise
1217
1218 2019-04-24 Tom Tromey <tromey@adacore.com>
1219
1220 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1221 Rust.
1222
1223 2019-04-24 Tom Tromey <tromey@adacore.com>
1224
1225 * gdb.arch/amd64-eval.exp: Test bitfield return.
1226 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1227 (class Foo) <return_bitfields>: New method.
1228 (main): Call it.
1229
1230 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.cp/many-args.cc: New file.
1233 * gdb.cp/many-args.exp: New file.
1234
1235 2019-04-23 Tom de Vries <tdevries@suse.de>
1236
1237 PR gdb/24433
1238 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1239
1240 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1241
1242 * gdb.trace/backtrace.exp: Use nopie flag.
1243 * gdb.trace/circ.exp: Likewise.
1244 * gdb.trace/collection.exp: Likewise.
1245 * gdb.trace/ftrace.exp: Likewise.
1246 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1247 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1248 * gdb.trace/qtro.exp: Likewise.
1249 * gdb.trace/read-memory.exp: Likewise.
1250 * gdb.trace/report.exp: Likewise.
1251 * gdb.trace/tfile.exp: Likewise.
1252 * gdb.trace/tfind.exp: Likewise.
1253 * gdb.trace/unavailable.exp: Likewise.
1254
1255 2019-04-22 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.base/solib-probes-nosharedlibrary.c,
1258 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1259
1260 2019-04-19 Tom Tromey <tromey@adacore.com>
1261
1262 * gdb.ada/ptype_union.c: New file.
1263 * gdb.ada/ptype_union.exp: New file.
1264
1265 2019-04-19 Tom Tromey <tromey@adacore.com>
1266
1267 PR symtab/24423:
1268 * gdb.base/list0.h (foo): Add a control-l character.
1269
1270 2019-04-18 Tom de Vries <tdevries@suse.de>
1271
1272 PR gdb/24433
1273 * boards/local-board.exp: Set sysroot to "".
1274
1275 2019-04-18 Tom de Vries <tdevries@suse.de>
1276 Pedro Alves <palves@redhat.com>
1277
1278 PR gdb/24454
1279 * gdb.threads/vfork-follow-child-exec.c: New file.
1280 * gdb.threads/vfork-follow-child-exec.exp: New file.
1281 * gdb.threads/vfork-follow-child-exit.c: New file.
1282 * gdb.threads/vfork-follow-child-exit.exp: New file.
1283
1284 2019-04-15 Leszek Swirski <leszeks@google.com>
1285
1286 * gdb.arch/amd64-eval.cc: New file.
1287 * gdb.arch/amd64-eval.exp: New file.
1288
1289 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1290
1291 * gdb.server/sysroot.c: New test.
1292 * gdb.server/sysroot.exp: New file.
1293 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1294 matching param.
1295
1296 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1297
1298 * gdb.base/align.exp: Extend test to cover structures containing
1299 only static fields.
1300
1301 2019-04-11 Tom de Vries <tdevries@suse.de>
1302
1303 * boards/cc-with-dwz-m.exp: New file.
1304 * boards/cc-with-dwz.exp: New file.
1305 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1306
1307 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1308
1309 * gdb.base/start-cpp.exp: New file.
1310 * gdb.base/start-cpp.cc: New file.
1311
1312 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1313
1314 * gdb.python/py-thrhandle.exp: Adjust tests to call
1315 thread_from_handle instead of thread_from_thread_handle.
1316
1317 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1318
1319 * gdb.python/py-thrhandle.exp: Add tests for
1320 gdb.InferiorThread.handle.
1321
1322 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.python/py-function.exp: Check calling helper function from
1325 all languages.
1326 * lib/gdb.exp (gdb_supported_languages): New proc.
1327
1328 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1329
1330 * gdb.base/complex-parts.c: New file.
1331 * gdb.base/complex-parts.exp: New file.
1332
1333 2019-04-01 Tom Tromey <tromey@adacore.com>
1334
1335 PR symtab/23331:
1336 * gdb.dwarf2/dw2-ranges-main.c: New file.
1337 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1338 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1339
1340 2019-03-30 Simon Marchi <simark@simark.ca>
1341
1342 * gdb.base/default.exp: Add values for $_gdb_major and
1343 $_gdb_minor.
1344
1345 2019-03-29 Tom Tromey <tromey@adacore.com>
1346
1347 * gdb.base/help.exp: Tighten apropos regexp.
1348
1349 2019-03-29 Keith Seitz <keiths@redhat.com>
1350
1351 * gdb.fortran/array-bounds.exp: New file.
1352 * gdb.fortran/array-bounds.f90: New file.
1353
1354 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1355
1356 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1357
1358 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1359
1360 * gdb.multi/hello.c (main): Increase alarm timer.
1361
1362 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1363
1364 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1365 factor when no hardware watchpoint support.
1366
1367 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1368 Pedro Alves <palves@redhat.com>
1369
1370 * boards/local-board.exp: set sysroot to /.
1371
1372 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1373
1374 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1375 in child.
1376
1377 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1378
1379 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1380 field.
1381 (make_container): Initialise new field.
1382 * gdb.python/py-prettyprint.exp: Add new tests.
1383 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1384 <display_hint>: New method.
1385
1386 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1387
1388 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1389 gdb_continue_to_breakpoint more throughout this test.
1390 (run_lang_tests) Supply unique test names, and use
1391 gdb_test_no_output.
1392
1393 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1394
1395 * gdb.base/finish-pretty.exp: Update expected results.
1396 * gdb.base/pretty-print.c: New file.
1397 * gdb.base/pretty-print.exp: New file.
1398
1399 2019-03-25 Pedro Alves <palves@redhat.com>
1400
1401 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1402 move comments outside list. Append '-i "" eof' section.
1403
1404 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1405
1406 * README: Add pie options.
1407 * gdb.base/break-interp.exp: Ensure pie is disabled.
1408 * gdb.base/dump.exp: Likewise.
1409 * lib/gdb.exp (gdb_compile): Add pie option.
1410
1411 2019-03-19 Tom Tromey <tromey@adacore.com>
1412
1413 * gdb.mi/mi2-cli-display.c: New file.
1414 * gdb.mi/mi2-cli-display.exp: New file.
1415
1416 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1417 Tom Tromey <tromey@adacore.com>
1418
1419 * gdb.ada/ptype_array/pck.adb: New file.
1420 * gdb.ada/ptype_array/pck.ads: New file.
1421 * gdb.ada/ptype_array/foo.adb: New file.
1422 * gdb.ada/ptype_array.exp: New file.
1423
1424 2019-03-14 Tom Tromey <tromey@adacore.com>
1425
1426 * gdb.base/style.exp: Add "set style sources" test.
1427
1428 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1429
1430 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1431 * mi-breakpoint-multiple-locations.exp: ... this.
1432 (make_breakpoints_pattern): New proc.
1433 (do_test): Add mi_version parameter, test -break-insert,
1434 -break-info and =breakpoint-created.
1435
1436 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1437
1438 * config/default.exp: Remove 'load_lib gdb.exp'.
1439 * config/monitor.exp: Likewise.
1440 * config/sid.exp: Likewise.
1441 * config/sim.exp: Likewise.
1442 * config/slite.exp: Likewise.
1443 * config/unix.exp: Likewise.
1444 * gdb.base/default.exp: Remove unhelpful comment.
1445
1446 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1449
1450 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1453
1454 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1455
1456 * gdb.fortran/type-kinds.exp: Update expected results.
1457
1458 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1461
1462 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1465 function.
1466 (test_basic_parsing_of_type_kinds): Expand types tested.
1467 (test_parsing_invalid_type_kinds): New function.
1468
1469 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1470
1471 * gdb.fortran/intrinsics.exp: New file.
1472 * gdb.fortran/intrinsics.f90: New file.
1473 * gdb.fortran/type-kinds.exp: New file.
1474
1475 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1476
1477 * gdb.fortran/dot-ops.exp: New file.
1478
1479 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1482 Check upper and lower case logical literals.
1483
1484 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1487 Remove duplicate tests.
1488
1489 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1490
1491 * lib/gdb.exp (builtin_cd): rename of cd.
1492 (cd): Override builtin.
1493
1494 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1495
1496 * gdb.fortran/function-calls.exp: New file.
1497 * gdb.fortran/function-calls.f90: New test.
1498
1499 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1500
1501 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1502 on user program standard output.
1503 * gdb.fortran/short-circuit-argument-list.f90: Record function
1504 calls.
1505
1506 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1507
1508 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1509 failure.
1510
1511 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1512
1513 PR gdb/8527
1514 * gdb.base/interrupt-daemon-attach.c,
1515 gdb.base/interrupt-daemon-attach.exp: New test.
1516
1517 2019-02-27 Pedro Alves <palves@redhat.com>
1518
1519 * gdb.base/page.exp: Add tests for "set width/height -1".
1520
1521 2019-02-27 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.base/page.exp: Add tests for "set/show width/height" with
1524 "infinite" values.
1525
1526 2019-02-27 Tom Tromey <tromey@adacore.com>
1527
1528 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1529 2.4.
1530 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1531 workaround.
1532
1533 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1534
1535 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1536 tests for structs with static members.
1537
1538 2019-02-26 Tom Tromey <tromey@adacore.com>
1539
1540 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1541 ValueError, not TypeError.
1542
1543 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1544
1545 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1546 call from main program.
1547
1548 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1551 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1552 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1553 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1554 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1555
1556 2019-02-22 Keith Seitz <keiths@redhat.com>
1557
1558 PR symtab/23853
1559 * gdb.base/symlink-sourcefile.c: New file.
1560 * gdb.base/symlink-sourcefile.exp: New file.
1561
1562 2019-02-20 Tom Tromey <tom@tromey.com>
1563
1564 * gdb.base/info_qt.exp: Update.
1565
1566 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1567
1568 * gdb.base/source.exp: Move "error in sourced script" code to
1569 the end.
1570 * gdb.base/source-error.gdb: Move contents to
1571 source-error-1.gdb. Add new code to source source-error-1.gdb.
1572 * gdb.base/source-error-1.gdb: New file, from previous
1573 source-error.gdb.
1574
1575 2019-02-17 Tom Tromey <tom@tromey.com>
1576
1577 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1578 for macro styling.
1579 * gdb.base/style.c (SOME_MACRO): New macro.
1580
1581 2019-02-17 Tom Tromey <tom@tromey.com>
1582
1583 * gdb.base/style.exp: Add line-wrapping tests.
1584 * gdb.base/page.exp: Add test for quitting during pagination.
1585
1586 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1587
1588 * gdb.ada/big_packed_array: New testcase.
1589 * gdb.ada/homonym.exp: Fix incorrect expected output for
1590 "break <homonym__get_value>" test.
1591
1592 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1593
1594 PR breakpoints/21870
1595 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1596 and prepare_for_testing. Add comment.
1597 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1598 redundant cleanup call. Clean up comment.
1599
1600 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1601
1602 PR breakpoints/21870
1603 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1604 * gdb.arch/aarch64-dbreg-contents.c: New file.
1605
1606 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1607
1608 * gdb.ada/mi_ref_changeable: New testcase.
1609
1610 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1611
1612 * gdb.base/attach.exp: Add double attach test.
1613
1614 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1615
1616 * lib/gdb.exp (default_gdb_start): Don't match pagination
1617 prompt.
1618 (gdb_init): Set stty_init.
1619
1620 2019-01-27 Tom Tromey <tom@tromey.com>
1621
1622 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1623 skip_python_tests.
1624
1625 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1626
1627 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1628 New structure.
1629 (struct struct_static_02_02): Likewise.
1630 (struct struct_static_02_03): Likewise.
1631 (struct struct_static_02_04): Likewise.
1632 (struct struct_static_04_01): Likewise.
1633 (struct struct_static_04_02): Likewise.
1634 (struct struct_static_04_03): Likewise.
1635 (struct struct_static_04_04): Likewise.
1636 (struct struct_static_06_01): Likewise.
1637 (struct struct_static_06_02): Likewise.
1638 (struct struct_static_06_03): Likewise.
1639 (struct struct_static_06_04): Likewise.
1640 (cmp_struct_static_02_01): Likewise.
1641 (cmp_struct_static_02_02): Likewise.
1642 (cmp_struct_static_02_03): Likewise.
1643 (cmp_struct_static_02_04): Likewise.
1644 (cmp_struct_static_04_01): Likewise.
1645 (cmp_struct_static_04_02): Likewise.
1646 (cmp_struct_static_04_03): Likewise.
1647 (cmp_struct_static_04_04): Likewise.
1648 (cmp_struct_static_06_01): Likewise.
1649 (cmp_struct_static_06_02): Likewise.
1650 (cmp_struct_static_06_03): Likewise.
1651 (cmp_struct_static_06_04): Likewise.
1652 (call_all): Test new structs.
1653 * gdb.base/infcall-nested-structs.exp: Likewise.
1654
1655 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1656 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1657
1658 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1659 * gdb.base/stack-protector.c: New test.
1660 * gdb.base/stack-protector.exp: New file.
1661 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1662 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1663 option.
1664 (gdb_compile): Remove stack protector for GCC and prevent
1665 recursion.
1666
1667 2019-01-16 Keith Seitz <keiths@redhat.com>
1668
1669 PR gdb/23773
1670 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1671
1672 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1673
1674 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1675 aliases.
1676 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1677 tests.
1678 * gdb.arch/powerpc-vector-regs.c: New file.
1679 * gdb.arch/powerpc-vector-regs.exp: New file.
1680
1681 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1682
1683 * gdb.arch/altivec-regs.exp: Fix the list passed to
1684 gdb_expect_list when testing "info vector".
1685
1686 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1687
1688 * gdb.base/style.exp: Don't include path in testname.
1689
1690 2019-01-10 Keith Seitz <keiths@redhat.com>
1691
1692 PR gdb/23712
1693 PR symtab/23010
1694 * gdb.dwarf2/multidictionary.exp: New file.
1695
1696 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1697
1698 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1699 (test_gnuv3_style_demangling): ... this.
1700 (test_lucid_style_demangling): Remove.
1701 (test_arm_style_demangling): Remove.
1702 (test_hp_style_demangling): Remove.
1703 (do_tests): Remove calls to the above.
1704
1705 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1706
1707 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1708 case.
1709
1710 2019-01-06 Tom Tromey <tom@tromey.com>
1711
1712 PR gdb/28155:
1713 * gdb.dwarf2/typedef-void-finish.exp: New file.
1714
1715 2018-12-28 Tom Tromey <tom@tromey.com>
1716 Simon Marchi <simark@simark.ca>
1717
1718 * gdb.base/jit-exec.exp: New file.
1719 * gdb.base/jit-exec.c: New file.
1720 * gdb.base/jit-execd.c: New file.
1721
1722 2018-12-28 Tom Tromey <tom@tromey.com>
1723
1724 * gdb.base/style.exp: Update test to check for address styling.
1725
1726 2018-12-28 Tom Tromey <tom@tromey.com>
1727
1728 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1729 message.
1730
1731 2018-12-28 Tom Tromey <tom@tromey.com>
1732
1733 * gdb.base/style.exp: Add test for version number styling.
1734
1735 2018-12-28 Tom Tromey <tom@tromey.com>
1736
1737 * gdb.base/style.exp: Add test for print_address_symbolic.
1738
1739 2018-12-28 Tom Tromey <tom@tromey.com>
1740
1741 * gdb.base/style.exp: Add test for breakpoint setting.
1742
1743 2018-12-28 Tom Tromey <tom@tromey.com>
1744
1745 * gdb.base/style.exp: Add test for variable names.
1746
1747 2018-12-28 Tom Tromey <tom@tromey.com>
1748
1749 * gdb.base/style.exp: New file.
1750 * gdb.base/style.c: New file.
1751
1752 2018-12-28 Tom Tromey <tom@tromey.com>
1753
1754 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1755 "dumb".
1756 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1757 the TERM environment variable.
1758
1759 2018-12-27 Tom Tromey <tom@tromey.com>
1760
1761 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1762 pagination test.
1763
1764 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1765
1766 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1767 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1768
1769 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1770
1771 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1772 Filename a.adb changed to bp_fun_addr.adb.
1773 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1774
1775 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1776
1777 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1778 non-PIE executables.
1779 * README: Mention the gdb,nopie_flag board setting.
1780 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1781 non-PIE executable.
1782 * gdb.arch/amd64-entry-value.exp: Likewise.
1783 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1784 * gdb.arch/i386-float.exp: Likewise.
1785 * gdb.arch/i386-signal.exp: Likewise.
1786 * gdb.mi/mi-reg-undefined.exp: Likewise.
1787
1788 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1789
1790 PR gdb/23974
1791 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1792
1793 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1794
1795 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1796 Update order of results accordingly.
1797
1798 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.base/annota1.exp: Update a test regexp.
1801
1802 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1803
1804 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1805
1806 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1807
1808 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1809 (reuse_time): Initialize to REUSE_TIME_CAP.
1810 (check_rc): New function.
1811 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1812 Check pthread_create rc.
1813 (spawner_thread_func): Check pthread_create and pthread_join rc.
1814
1815 2018-12-08 Pedro Alves <palves@redhat.com>
1816
1817 * gdb.base/list.exp (test_forward_search): Rename to ...
1818 (test_forward_reverse_search): ... this. Also test reverse-search
1819 and the forward-search alias.
1820
1821 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1824 local timeout variable before return, and remove all local timeout
1825 variable entirely.
1826 (gdb_load): Likewise.
1827
1828 2018-12-01 Tom de Vries <tdevries@suse.de>
1829
1830 * gdb.base/gdb-caching-proc.exp: New file.
1831
1832 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1833
1834 * Makefile.in (TIMESTAMP): New variable.
1835 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1836 command.
1837 (check-single-racy): Likewise.
1838 (check/%.exp): Likewise.
1839 (check-racy/%.exp): Likewise.
1840 (workers/%.worker): Likewise.
1841 (build-perf): Likewise.
1842 (check-perf): Likewise.
1843 * README: Describe new "TS" and "TS_FORMAT" variables.
1844 * print-ts.py: New file.
1845
1846 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1847
1848 PR python/23714
1849 * gdb.python/python.exp: Test command repetition after
1850 gdb.execute.
1851
1852 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1853
1854 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1855 is correctly aligned.
1856
1857 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1858
1859 * gdb.ada/info_auto_lang.exp: New testcase.
1860 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1861 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1862 * gdb.ada/info_auto_lang/some_c.c: New file.
1863
1864 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1865
1866 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1867 FUNC_lang language syntax.
1868
1869 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1870
1871 * gdb.base/info_minsym.c: New file.
1872 * gdb.base/info_minsym.exp: New file.
1873
1874 2018-11-19 Tom Tromey <tom@tromey.com>
1875
1876 PR rust/23625:
1877 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1878 * gdb.rust/expr.exp: Update expected output. Change one test.
1879
1880 2018-11-19 Tom Tromey <tom@tromey.com>
1881
1882 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1883
1884 2018-11-19 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1887 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1888 see the expected warning.
1889
1890 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1891
1892 PR gdb/22736:
1893 * gdb.cp/infcall-nodebug-lib.c: New test.
1894 * gdb.cp/infcall-nodebug-main.c: New test.
1895 * gdb.cp/infcall-nodebug.exp: New file.
1896
1897 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1898
1899 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1900 completer tests.
1901
1902 2018-11-09 Tom de Vries <tdevries@suse.de>
1903
1904 * gdb.base/msym-lang.c: New test.
1905 * gdb.base/msym-lang.exp: New file.
1906 * gdb.base/msym-lang-main.c: New test.
1907
1908 2018-11-08 Tom Tromey <tom@tromey.com>
1909
1910 PR gdb/23555:
1911 PR gdb/23838:
1912 * gdb.base/warning.exp: New file.
1913
1914 2018-11-08 Jan Beulich <jbeulich@suse.com>
1915
1916 * testsuite/gdb.arch/i386-avx512.c,
1917 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1918
1919 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1920
1921 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1922 point hardware.
1923
1924 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1925
1926 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1927 * gdb.dwarf2/missing-type-name.exp: New file.
1928
1929 2018-11-06 Tom de Vries <tdevries@suse.de>
1930
1931 * gdb.base/many-headers.c: New test.
1932 * gdb.base/many-headers.exp: New file.
1933
1934 2018-11-06 Jim Wilson <jimw@sifive.com>
1935
1936 * gdb.base/code_elim.exp: For riscv, set additional_flags
1937 to include -msmall-data-limit=0.
1938
1939 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1940
1941 * gdb.ada/watch_minus_l: New testcase.
1942
1943 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1944
1945 * gdb.arch/aix-sighandle.c: New file.
1946 * gdb.arch/aix-sighandle.exp: New file.
1947
1948 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1949
1950 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1951 registers being unions.
1952
1953 2018-10-31 Tom de Vries <tdevries@suse.de>
1954
1955 * lib/valgrind.exp: New file.
1956 (vgdb_start, vgdb_stop): New procs, factored out of ...
1957 * gdb.base/valgrind-bt.exp: ... here, ...
1958 * gdb.base/valgrind-disp-step.exp: ... here and ...
1959 * gdb.base/valgrind-infcall.exp: ... here.
1960
1961 2018-10-31 Tom de Vries <tdevries@suse.de>
1962
1963 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1964
1965 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1966
1967 * gdb.dwarf2/void-type.c: New file.
1968 * gdb.dwarf2/void-type.exp: New file.
1969
1970 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1971
1972 * gdb.base/info_qt.c: New file.
1973 * gdb.base/info_qt.exp: New file.
1974
1975 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1976
1977 * gdb.arch/powerpc-htm-regs.c: New file.
1978 * gdb.arch/powerpc-htm-regs.exp: New file.
1979
1980 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1981
1982 * gdb.arch/powerpc-tar.c: New file.
1983 * gdb.arch/powerpc-tar.exp: New file.
1984
1985 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1986
1987 * gdb.arch/powerpc-ppr-dscr.c: New file.
1988 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1989
1990 2018-10-25 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1993
1994 2018-10-24 Tom de Vries <tdevries@suse.de>
1995
1996 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1997 longer exists error.
1998
1999 2018-10-24 Tom de Vries <tdevries@suse.de>
2000
2001 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2002
2003 2018-10-24 Tom de Vries <tdevries@suse.de>
2004
2005 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2006 --db-attach in valgrind.
2007
2008 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.arch/riscv-reg-aliases.c: New file.
2011 * gdb.arch/riscv-reg-aliases.exp: New file.
2012
2013 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2014
2015 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2016
2017 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2018
2019 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2020
2021 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2022
2023 * gdb.cp/ovldbreak.exp: Fix regexps.
2024
2025 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2026
2027 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2028
2029 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2030
2031 PR cli/23785
2032 * gdb.base/restore.exp: New test to check if "restore" with an
2033 invalid file doesn't segfault.
2034
2035 2018-10-18 Tom de Vries <tdevries@suse.de>
2036
2037 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2038 * gdb.ada/excep_handle.exp: Same.
2039 * gdb.ada/mi_string_access.exp: Same.
2040 * gdb.ada/mi_var_union.exp: Same.
2041 * gdb.arch/arc-analyze-prologue.exp: Same.
2042 * gdb.arch/arc-decode-insn.exp: Same.
2043 * gdb.base/readnever.exp: Same.
2044 * gdb.fortran/printing-types.exp: Same.
2045 * gdb.guile/scm-lazy-string.exp: Same.
2046
2047 2018-10-16 Tom de Vries <tdevries@suse.de>
2048
2049 PR gdb/23730
2050 * gdb.base/catch-follow-exec.c: Add copyright notice.
2051 * gdb.base/catch-follow-exec.exp: Rewrite to use
2052 gdb_spawn_with_cmdline_opts. Require gdb-native.
2053
2054 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2055
2056 * gdb.trace/actions-changed.exp: Check for arch support.
2057 * gdb.trace/actions.exp: Likewise.
2058 * gdb.trace/ax.exp: Likewise.
2059 * gdb.trace/backtrace.exp: Likewise.
2060 * gdb.trace/change-loc.exp: Likewise.
2061 * gdb.trace/deltrace.exp: Likewise.
2062 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2063 * gdb.trace/ftrace.exp: Likewise.
2064 * gdb.trace/infotrace.exp: Check for arch support.
2065 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2066 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2067 * gdb.trace/mi-tsv-changed.exp: Likewise.
2068 * gdb.trace/packetlen.exp: Likewise.
2069 * gdb.trace/passc-dyn.exp: Likewise.
2070 * gdb.trace/passcount.exp: Likewise.
2071 * gdb.trace/pending.exp: Likewise.
2072 * gdb.trace/range-stepping.exp: Check for shlib support.
2073 * gdb.trace/report.exp: Check for arch support.
2074 * gdb.trace/save-trace.exp: Likewise.
2075 * gdb.trace/signal.exp: Check for signal support.
2076 * gdb.trace/tfind.exp: Check for arch support.
2077 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2078 * gdb.trace/trace-common.h: Add comment.
2079 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2080 * gdb.trace/trace-enable-disable.exp: Likewise.
2081 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2082 * gdb.trace/tracecmd.exp: Check for arch support.
2083 * gdb.trace/tspeed.exp: Check for shlib and target support.
2084 * gdb.trace/tstatus.exp: Check for arch support.
2085 * gdb.trace/tsv.exp: Likewise.
2086 * gdb.trace/while-dyn.exp: Likewise.
2087 * gdb.trace/while-stepping.exp: Likewise.
2088 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2089
2090 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2091
2092 * gdb.trace/tspeed.exp: Remove nowarnings.
2093 (prepare_for_trace_test): Declare "global ipalib".
2094 * gdb.trace/tspeed.c: Include unistd.h.
2095 (main): Remove superfluous printf argument.
2096
2097 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2098
2099 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2100 directory prefix on the filename.
2101
2102 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2103
2104 * gdb.gdb/unittest.exp: Update expected message informing that
2105 selftests have been disabled.
2106 * gdb.server/unittest.exp: Likewise.
2107
2108 2018-10-09 Tom de Vries <tdevries@suse.de>
2109
2110 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2111 with runto_main.
2112
2113 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2114
2115 PR c++/16841
2116 * gdb.cp/virtbase2.cc: New file.
2117 * gdb.cp/virtbase2.exp: New file.
2118
2119 2018-10-06 Tom Tromey <tom@tromey.com>
2120
2121 PR python/19399:
2122 * gdb.python/py-inferior.exp: Add architecture test.
2123
2124 2018-10-06 Tom Tromey <tom@tromey.com>
2125
2126 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2127 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2128
2129 2018-10-06 Tom Tromey <tom@tromey.com>
2130
2131 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2132 of a "throw" catchpoint.
2133
2134 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2135
2136 * gdb.base/info-proc.exp: Update string expected from "help info
2137 proc".
2138
2139 2018-10-04 Tom Tromey <tom@tromey.com>
2140
2141 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2142 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2143 (test_initial_complaints, test_empty_complaints): Update.
2144 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2145
2146 2018-10-04 Tom Tromey <tom@tromey.com>
2147
2148 PR cli/19551:
2149 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2150 * lib/gdb.exp (gdb_file_cmd): Update.
2151 * gdb.stabs/weird.exp (print_weird_var): Update.
2152 * gdb.server/solib-list.exp: Update.
2153 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2154 * gdb.mi/mi-cli.exp: Update.
2155 * gdb.linespec/linespec.exp: Update.
2156 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2157 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2158 * gdb.cp/cp-relocate.exp: Update.
2159 * gdb.base/sym-file.exp: Update.
2160 * gdb.base/relocate.exp: Update.
2161 * gdb.base/readnever.exp: Update.
2162 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2163 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2164 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2165 * gdb.base/code_elim.exp: Update.
2166 * gdb.base/break-unload-file.exp (test_break): Update.
2167 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2168 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2169 Update.
2170 * gdb.base/attach.exp (do_attach_tests): Update.
2171 * gdb.base/sepdebug.exp: Update.
2172 * gdb.python/py-section-script.exp: Update.
2173
2174 2018-10-04 Tom Tromey <tom@tromey.com>
2175
2176 PR cli/22234:
2177 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2178 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2179 output.
2180
2181 2018-10-04 Tom Tromey <tom@tromey.com>
2182
2183 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2184 set width and height to 0.
2185 (test_command_line_attach_run): Use -quiet.
2186
2187 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2188
2189 * lib/gdb.exp (skip_ifunc_tests): New.
2190 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2191 other compile failures.
2192 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2193
2194 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2195
2196 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2197 is_amd64_regs_target.
2198
2199 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2200
2201 * gdb.arch/aarch64-sighandler-regs.c: New test.
2202 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2203 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2204
2205 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2206
2207 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2208 assembly.
2209
2210 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.base/frame-selection.exp: New file.
2213 * gdb.base/frame-selection.c: New file.
2214
2215 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2216
2217 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2218 pthread barrier.
2219 (main): Likewise.
2220
2221 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 * gdb.base/large-frame-1.c: New file.
2224 * gdb.base/large-frame-2.c: New file.
2225 * gdb.base/large-frame.exp: New file.
2226 * gdb.base/large-frame.h: New file.
2227
2228 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2229
2230 PR gdb/20948
2231 * gdb.base/write_mem.exp: New test.
2232 * gdb.base/write_mem.c: Likewise.
2233
2234 2018-09-23 Tom Tromey <tom@tromey.com>
2235
2236 PR python/18852:
2237 * gdb.python/py-parameter.exp: Add test for parameter that throws
2238 on "set".
2239
2240 2018-09-23 Tom Tromey <tom@tromey.com>
2241
2242 PR python/17284:
2243 * gdb.python/py-template.exp (test_template_arg): Add test for
2244 negative template argument number.
2245
2246 2018-09-23 Tom Tromey <tom@tromey.com>
2247
2248 PR python/14062:
2249 * gdb.python/python.exp: Add test for post_event error.
2250
2251 2018-09-23 Tom Tromey <tom@tromey.com>
2252
2253 PR python/18170:
2254 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2255 convert pointers to int and long.
2256
2257 2018-09-23 Tom Tromey <tom@tromey.com>
2258
2259 PR python/20126:
2260 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2261 signed-ness conversion tests.
2262
2263 2018-09-23 Tom Tromey <tom@tromey.com>
2264
2265 PR python/18352;
2266 * gdb.python/py-value.exp (test_float_conversion): New proc.
2267 Use it.
2268
2269 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2270
2271 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2272
2273 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2274
2275 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2276 no readline.
2277 * gdb.base/utf8-identifiers.exp: Likewise.
2278 * gdb.cp/cpcompletion.exp: Likewise.
2279 * gdb.linespec/cpcompletion.exp: Likewise.
2280 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2281 * gdb.linespec/cpls-ops.exp: Likewise.
2282
2283 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2284 Chris January <chris.january@arm.com>
2285
2286 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2287 * gdb.fortran/short-circuit-argument-list.exp: New file.
2288 * gdb.fortran/short-circuit-argument-list.f90: New test.
2289
2290 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2291
2292 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2293 "arch=" keyword when executing "-stack-list-frames".
2294
2295 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2296
2297 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2298 "arch=" keyword when executing "-stack-list-frames".
2299
2300 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2301
2302 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2303 break ada".
2304
2305 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2306
2307 PR python/23669
2308 * gdb.python/python.exp: Test gdb.execute("show commands").
2309
2310 2018-09-16 Tom Tromey <tom@tromey.com>
2311
2312 * gdb.base/new-ui.exp (do_execution_tests): Update.
2313 * gdb.base/dbx.exp (test_breakpoints): Update.
2314
2315 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2316
2317 * lib/gdb.exp (gdb_simple_compile): Add proc.
2318 (is_elf_target): Use gdb_simple_compile.
2319 (skip_altivec_tests): Likewise.
2320 (skip_vsx_tests): Likewise.
2321 (skip_tsx_tests): Likewise.
2322 (skip_btrace_tests): Likewise.
2323 (skip_btrace_pt_tests): Likewise.
2324 (gdb_can_simple_compile): Likewise.
2325 (gdb_has_argv0): Likewise.
2326 (gdb_target_symbol_prefix): Likewise.
2327 (target_supports_scheduler_locking): Likewise.
2328
2329 2018-09-13 Tom Tromey <tom@tromey.com>
2330
2331 * Makefile.in (TAGS): Recognize proc_with_prefix and
2332 gdb_caching_proc.
2333
2334 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2335
2336 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2337 method.
2338
2339 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2340
2341 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2342 and a few other Inferior properties when the Inferior is no
2343 longer valid.
2344
2345 2018-09-13 Tom Tromey <tom@tromey.com>
2346
2347 PR rust/23650:
2348 * gdb.rust/simple.exp: Add test for enum field access error.
2349
2350 2018-09-13 Tom Tromey <tom@tromey.com>
2351
2352 PR rust/23626:
2353 * gdb.rust/simple.rs (EmptyEnum): New type.
2354 (main): Use it.
2355 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2356
2357 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2358
2359 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2360 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2361 * gdb.python/py-symtab.exp: Update test printing an objfile.
2362
2363 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2364
2365 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2366 object.
2367
2368 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2369
2370 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2371 (support_complex_tests): Use gdb_can_simple_compile.
2372 (is_ilp32_target): Likewise.
2373 (is_lp64_target): Likewise.
2374 (is_64_target): Likewise.
2375 (is_amd64_regs_target): Likewise.
2376 (is_aarch32_target): Likewise.
2377 (gdb_int128_helper): Likewise.
2378
2379 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2380
2381 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2382
2383 2018-09-10 Jerome Guitton <guitton@adacore.com>
2384
2385 * gdb.ada/same_component_name: Add test for case of tagged record
2386 with variable-length fields.
2387
2388 2018-09-10 Xavier Roirand <roirand@adacore.com>
2389
2390 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2391 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2392 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2393 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2394
2395 2018-09-10 Xavier Roirand <roirand@adacore.com>
2396
2397 * gdb.ada/mi_string_access.exp: New testcase.
2398 * gdb.ada/mi_string_access/bar.adb: New file.
2399 * gdb.ada/mi_string_access/pck.adb: New file.
2400 * gdb.ada/mi_string_access/pck.asd: New file.
2401
2402 2018-09-10 Xavier Roirand <roirand@adacore.com>
2403
2404 * gdb.ada/mi_var_union.exp: New testcase.
2405 * gdb.ada/mi_var_union/bar.adb: New file.
2406 * gdb.ada/mi_var_union/pck.adb: New file.
2407 * gdb.ada/mi_var_union/pck.asd: New file.
2408
2409 2018-09-08 Tom Tromey <tom@tromey.com>
2410
2411 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2412
2413 2018-09-08 Tom Tromey <tom@tromey.com>
2414
2415 PR python/16047:
2416 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2417 (register_pretty_printers): Register new printer.
2418 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2419 test.
2420 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2421 (an_int_type3): New global.
2422
2423 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2424
2425 * gdb.ada/expr_with_funcall: New testcase.
2426
2427 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2428
2429 * gdb.ada/packed_array_assign: New testcase.
2430
2431 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2432
2433 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2434 names, and add test prefixes to make test names unique.
2435
2436 2018-09-05 Tom de Vries <tdevries@suse.de>
2437
2438 * gdb.dwarf2/varval.exp: Add test.
2439
2440 2018-09-04 Gary Benson <gbenson@redhat.com>
2441
2442 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2443 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2444
2445 2018-08-31 Tom Tromey <tom@tromey.com>
2446
2447 * gdb.rust/simple.rs: Rename second variable "v".
2448
2449 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2450
2451 * gdb.base/funcargs.c (use_a): New function.
2452 (recurse): Call use_a.
2453
2454 2018-08-29 Keith Seitz <keiths@redhat.com>
2455
2456 * gdb.compile/compile-cplus-anonymous.cc: New file.
2457 * gdb.compile/compile-cplus-anonymous.exp: New file.
2458 * gdb.compile/compile-cplus-array-decay.cc: New file.
2459 * gdb.compile/compile-cplus-array-decay.exp: New file.
2460 * gdb.compile/compile-cplus-inherit.cc: New file.
2461 * gdb.compile/compile-cplus-inherit.exp: New file.
2462 * gdb.compile/compile-cplus-member.cc: New file.
2463 * gdb.compile/compile-cplus-member.exp: New file.
2464 * gdb.compile/compile-cplus-method.cc: New file.
2465 * gdb.compile/compile-cplus-method.exp: New file.
2466 * gdb.compile/compile-cplus-mod.c: "New" file.
2467 * gdb.compile/compile-cplus-namespace.cc: New file.
2468 * gdb.compile/compile-cplus-namespace.exp: New file.
2469 * gdb.compile/compile-cplus-nested.cc: New file.
2470 * gdb.compile/compile-cplus-nested.exp: New file.
2471 * gdb.compile/compile-cplus-print.c: "New" file.
2472 * gdb.compile/compile-cplus-print.exp: "New" file.
2473 * gdb.compile/compile-cplus-virtual.cc: New file.
2474 * gdb.compile/compile-cplus-virtual.exp: New file.
2475 * gdb.compile/compile-cplus.c: "New" file.
2476 * gdb.compile/compile-cplus.exp: "New" file.
2477 * lib/compile-support.exp: New file.
2478
2479 2018-08-16 Gary Benson <gbenson@redhat.com>
2480
2481 PR gdb/13000:
2482 * gdb.base/batch-exit-status.exp: New file.
2483 * gdb.base/batch-exit-status.good-commands: Likewise.
2484 * gdb.base/batch-exit-status.bad-commands: Likewise.
2485
2486 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2487
2488 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2489 (struct struct02): Likewise.
2490 (struct struct03): Likewise.
2491 (struct struct04): Likewise.
2492 (struct struct_01_01): New struct.
2493 (struct struct_01_02): Likewise.
2494 (struct struct_01_03): Likewise.
2495 (struct struct_01_04): Likewise.
2496 (struct struct_02_01): Likewise.
2497 (struct struct_02_02): Likewise.
2498 (struct struct_02_03): Likewise.
2499 (struct struct_02_04): Likewise.
2500 (struct struct_04_01): Likewise.
2501 (struct struct_04_02): Likewise.
2502 (struct struct_04_03): Likewise.
2503 (struct struct_04_04): Likewise.
2504 (struct struct_05_01): Likewise.
2505 (struct struct_05_02): Likewise.
2506 (struct struct_05_03): Likewise.
2507 (struct struct_05_04): Likewise.
2508 (cmp_struct01): Remove function.
2509 (cmp_struct02): Likewise.
2510 (cmp_struct03): Likewise.
2511 (cmp_struct04): Likewise.
2512 (cmp_struct_01_01): Add Function.
2513 (cmp_struct_01_02): Likewise.
2514 (cmp_struct_01_03): Likewise.
2515 (cmp_struct_01_04): Likewise.
2516 (cmp_struct_02_01): Likewise.
2517 (cmp_struct_02_02): Likewise.
2518 (cmp_struct_02_03): Likewise.
2519 (cmp_struct_02_04): Likewise.
2520 (cmp_struct_04_01): Likewise.
2521 (cmp_struct_04_02): Likewise.
2522 (cmp_struct_04_03): Likewise.
2523 (cmp_struct_04_04): Likewise.
2524 (cmp_struct_05_01): Likewise.
2525 (cmp_struct_05_02): Likewise.
2526 (cmp_struct_05_03): Likewise.
2527 (cmp_struct_05_04): Likewise.
2528 (call_all): Add new structs.
2529 * gdb.base/infcall-nested-structs.exp: Likewise.
2530
2531 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2532
2533 * gdb.python/py-framefilter-mi.exp: Update regexp to
2534 check for "arch" field in frame output.
2535
2536 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2537
2538 * gdb.dwarf2/dw2-ranges-func.c: New file.
2539 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2540
2541 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2542
2543 * gdb.base/term.exp: Compare terminal settings with values from
2544 the inferior.
2545 * gdb.base/term.c: Get and set terminal settings.
2546
2547 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2548
2549 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2550 accommodate new "arch" field in frame output.
2551 * gdb.mi/mi-return.exp: Likewise.
2552 * gdb.mi/mi-stack.exp: Likewise.
2553 * gdb.mi/mi-syn-frame.exp: Likewise.
2554 * gdb.mi/user-selected-context-sync.exp: Likewise.
2555
2556 2018-08-19 Michael Spang <spang@google.com>
2557
2558 PR gdb/11786
2559 * gdb.base/gcore-tls-pie.c: New file.
2560 * gdb.base/gcore-tls-pie.exp: New file.
2561
2562 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2563
2564 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2565 * gdb.dwarf2/varval.c: New file.
2566 * gdb.dwarf2/varval.exp: New file.
2567
2568 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2569
2570 PR gdb/18931
2571 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2572
2573 2018-08-16 Keith Seitz <keiths@redhat.com>
2574
2575 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2576 tests expected to pass.
2577
2578 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2579
2580 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2581 -data-disassemble -a.
2582 (test_disassembly_bogus_args): Likewise.
2583
2584 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2585
2586 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2587
2588 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2589
2590 * gdb.base/vla-optimized-out.exp: Add new test.
2591
2592 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * gdb.base/vla-optimized-out-o3.exp: Delete.
2595 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2596 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2597 deleted tests.
2598
2599 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 PR gdb/18050:
2602 * gdb.server/extended-remote-restart.c: New file.
2603 * gdb.server/extended-remote-restart.exp: New file.
2604
2605 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2606
2607 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2608 "set variable index = 42".
2609
2610 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2611
2612 * boards/index-cache-gdb.exp: New file.
2613 * gdb.dwarf2/index-cache.exp: New file.
2614 * gdb.dwarf2/index-cache.c: New file.
2615 * gdb.base/maint.exp: Check if we are using the index cache.
2616
2617 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2618
2619 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2620 MAKEFLAGS.
2621
2622 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2623
2624 * dg-extract-results.sh: Move to toplevel contrib.
2625 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2626 * Makefile.in (check-parallel-racy): Likewise.
2627
2628 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2629
2630 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2631 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2632 tests if the target supports scheduler locking.
2633
2634 2018-08-04 Tom de Vries <tdevries@suse.de>
2635
2636 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2637
2638 2018-08-02 Tom Tromey <tom@tromey.com>
2639
2640 PR symtab/16842.
2641 * gdb.cp/temargs.exp: Test "info address" of a template
2642 parameter.
2643
2644 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2645
2646 * gdb.python/py-mi-var-info-path-expression.c: New file.
2647 * gdb.python/py-mi-var-info-path-expression.py: New file.
2648 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2649
2650 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2651
2652 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2653 error after "cannot resolve name" string.
2654
2655 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2656
2657 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2658 started.
2659 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2660
2661 2018-07-28 Tom de Vries <tdevries@suse.de>
2662
2663 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2664
2665 2018-07-26 Tom de Vries <tdevries@suse.de>
2666
2667 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2668
2669 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2670
2671 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2672 is visible.
2673
2674 2018-07-26 Tom de Vries <tdevries@suse.de>
2675
2676 PR breakpoints/23366
2677 * gdb.base/catch-follow-exec.c: New test.
2678 * gdb.base/catch-follow-exec.exp: New file.
2679
2680 2018-07-25 Tom de Vries <tdevries@suse.de>
2681
2682 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2683 vla-optimized-out.c.
2684
2685 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2686
2687 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2688 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2689
2690 2018-07-20 Tom de Vries <tdevries@suse.de>
2691
2692 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2693 NOCLONE macro.
2694 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2695
2696 2018-07-19 Tom de Vries <tdevries@suse.de>
2697
2698 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2699 regular expression.
2700
2701 2018-07-18 Tom de Vries <tdevries@suse.de>
2702
2703 * gdb.base/vla-optimized-out.c: New test.
2704 * gdb.base/vla-optimized-out.exp: New file.
2705
2706 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2707
2708 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2709 message "No address associated with hostname" when gdbserver
2710 cannot resolve the hostname.
2711
2712 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2713
2714 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2715 Add some test prefixes to make tests unique.
2716
2717 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2718
2719 * gdb.base/frameapply.c: New file.
2720 * gdb.base/frameapply.exp: New file.
2721
2722 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2723
2724 * gdb.base/skip.exp: Update expected error message.
2725
2726 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2727 Jan Kratochvil <jan.kratochvil@redhat.com>
2728 Paul Fertser <fercerpav@gmail.com>
2729 Tsutomu Seki <sekiriki@gmail.com>
2730
2731 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2732 parameter.
2733 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2734 by default.
2735 * boards/native-gdbserver.exp: Likewise.
2736 * gdb.server/run-without-local-binary.exp: Improve regexp used
2737 for detecting when a remote debugging connection succeeds.
2738 * gdb.server/server-connect.exp: New file.
2739 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2740 Do not prefix the port number with ":".
2741 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2742 support for detecting and using it. Add '$debughost_gdbserver'
2743 to the list of arguments used to start gdbserver. Handle case
2744 when gdbserver cannot resolve a network name.
2745
2746 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2747
2748 PR c++/23373
2749 * gdb.base/ptype-offsets.cc (struct static_member): New
2750 struct.
2751 (main) <stmember>: New variable.
2752 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2753 with a static member in it.
2754
2755 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2756
2757 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2758 watchpoints enabled and disabled.
2759
2760 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2761
2762 * gdb.base/examine-backward.exp: Still run tests around address
2763 0x0, even if address 0x0 is not readable. Update the pattern for
2764 matching address 0x0 in expected output.
2765
2766 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2767
2768 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2769 malloc/free.
2770
2771 2018-07-04 Tom de Vries <tdevries@suse.de>
2772
2773 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2774
2775 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2776
2777 PR tdep/8282
2778 * gdb.arch/mips-disassembler-options.exp: New test.
2779 * gdb.arch/mips-disassembler-options.s: New test source.
2780
2781 2018-06-29 Pedro Alves <palves@redhat.com>
2782
2783 * gdb.threads/names.exp: Adjust expected "info threads" output.
2784
2785 2018-06-29 Pedro Alves <palves@redhat.com>
2786
2787 * gdb.opt/inline-break.exp (line number, address): Add "info
2788 break" tests.
2789
2790 2018-06-29 Pedro Alves <palves@redhat.com>
2791
2792 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2793 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2794 number and address and running to them.
2795
2796 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2797
2798 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2799
2800 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2801
2802 * lib/compiler.c: Remove executable permission flag.
2803
2804 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2805
2806 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2807 code.
2808 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2809
2810 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2811
2812 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2813
2814 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2815
2816 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2817 address argument is omitted.
2818
2819 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2820
2821 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2822
2823 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2824
2825 PR gdb/21695
2826 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2827 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2828
2829 2018-06-26 Tom Tromey <tom@tromey.com>
2830
2831 PR rust/22574:
2832 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2833 * gdb.rust/simple.rs (struct SimpleLayout): New.
2834
2835 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2836
2837 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2838 "info registers" output.
2839
2840 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2841
2842 * gdb.base/watchpoint-hw-attach.c: New test.
2843 * gdb.base/watchpoint-hw-attach.exp: New file.
2844
2845 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2846
2847 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2848 through /bin/sh.
2849 * boards/dwarf4-gdb-index.exp: Likewise.
2850 * boards/fission-dwp.exp: Likewise.
2851
2852 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2853
2854 * gdb.base/float128.exp: Add comment and improved fail message
2855 to the failure case of "print large128" test.
2856
2857 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2858
2859 * configure.ac: Remove AC_PREREQ.
2860 * configure: Re-generate.
2861
2862 2018-06-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2865 (func_extern_caller): New.
2866 (main): Call func_extern_caller.
2867 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2868 logic change.
2869
2870 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2871
2872 PR gdb/16841
2873 * gdb.cp/typedef-base.cc: New file.
2874 * gdb.cp/typedef-base.exp: New file.
2875
2876 2018-06-18 Tom de Vries <tdevries@suse.de>
2877
2878 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2879
2880 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2881 Richard Bunt <Richard.Bunt@arm.com>
2882
2883 * gdb.threads/attach-slow-waitpid.c: New file.
2884 * gdb.threads/attach-slow-waitpid.exp: New file.
2885 * gdb.threads/slow-waitpid.c: New file.
2886
2887 2018-06-14 Pedro Alves <palves@redhat.com>
2888
2889 * gdb.base/fork-running-state.c: Include <errno.h>.
2890 (exit_if_relative_exits): New.
2891 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2892 exits.
2893 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2894 child exits.
2895
2896 2018-06-14 Tom de Vries <tdevries@suse.de>
2897
2898 PR cli/22573
2899 * gdb.base/finish-pretty.c: New test.
2900 * gdb.base/finish-pretty.exp: New file.
2901
2902 2018-06-14 Pedro Alves <palves@redhat.com>
2903
2904 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2905 gdb's expected startup output.
2906
2907 2018-06-14 Pedro Alves <palves@redhat.com>
2908
2909 * lib/selftest-support.exp (selftest_setup): Remove inlined
2910 function handling.
2911
2912 2018-06-14 Tom de Vries <tdevries@suse.de>
2913
2914 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2915 matching of breakpoint printing.
2916
2917 2018-06-13 Tom de Vries <tdevries@suse.de>
2918
2919 PR testsuite/23269
2920 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2921 (fork_child): ... here, and ...
2922 (fork_parent): ... here.
2923
2924 2018-06-12 Tom de Vries <tdevries@suse.de>
2925
2926 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2927
2928 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2929 Stephen Roberts <stephen.roberts@arm.com>
2930
2931 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2932 rewrite test to describe action performed, rather than possible
2933 failure.
2934
2935 2018-06-08 Gary Benson <gbenson@redhat.com>
2936
2937 * gdb.threads/check-libthread-db.exp: New file.
2938 * gdb.threads/check-libthread-db.c: Likewise.
2939
2940 2018-06-05 Tom Tromey <tom@tromey.com>
2941
2942 * gdb.base/default.exp: Update expected "show version" output.
2943
2944 2018-06-05 Tom Tromey <tom@tromey.com>
2945
2946 PR cli/12326:
2947 * gdb.cp/static-print-quit.exp: Update.
2948 * lib/gdb.exp (pagination_prompt): Update.
2949 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2950 * gdb.python/python.exp: Update.
2951
2952 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2953
2954 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2955
2956 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2957
2958 * gdb.ada/bp_fun_addr: New testcase.
2959
2960 2018-06-01 Tom Tromey <tom@tromey.com>
2961
2962 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2963 results.
2964 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2965 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2966 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2967 * gdb.base/maint.exp (maint_pass_if): Update.
2968
2969 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2970
2971 * gdb.base/endian.exp: New test.
2972 * gdb.base/endian.c: New test source.
2973
2974 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2975
2976 PR gdb/23203
2977 * gdb.base/bt-selected-frame.c: New file.
2978 * gdb.base/bt-selected-frame.exp: New file.
2979 * lib/gdb.exp (get_current_frame_number): New function.
2980
2981 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2982 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.threads/tls-core.c: Include <stdlib.h>
2985 (thread_proc): Call `abort'.
2986 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2987 (tls_core_test): New procedure, bits factored out from ...
2988 (top level): ... here. Test both native cores and gcore cores.
2989
2990 2018-05-23 Tom Tromey <tom@tromey.com>
2991
2992 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2993
2994 2018-05-23 Tom Tromey <tom@tromey.com>
2995
2996 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2997 symfile_complaints.
2998 (test_short_complaints): Likewise.
2999 (test_empty_complaints): Likewise.
3000 (test_initial_complaints): Update.
3001
3002 2018-05-23 Tom Tromey <tom@tromey.com>
3003
3004 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3005
3006 2018-05-23 Tom Tromey <tom@tromey.com>
3007
3008 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3009 (test_short_complaints): Update.
3010
3011 2018-05-22 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/remote.exp: Only gdb_start after compiling the
3014 testcase. Issue "disconnect" before testing "set remote" command
3015 defaults. Issue clean_restart before running to main.
3016
3017 2018-05-22 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.base/remote.exp: Adjust expected output of "show remote
3020 memory-write-packet-size". Add tests for "set remote
3021 memory-write-packet-size 0" and "set remote
3022 memory-write-packet-size fixed/limit".
3023
3024 2018-05-22 Pedro Alves <palves@redhat.com>
3025
3026 PR gdb/22973
3027 * gdb.base/utf8-identifiers.c: New file.
3028 * gdb.base/utf8-identifiers.exp: New file.
3029
3030 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3031
3032 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3033
3034 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3035
3036 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3037
3038 2018-05-18 Tom Tromey <tom@tromey.com>
3039
3040 * gdb.base/ptype-offsets.exp: Update.
3041
3042 2018-05-17 Keith Seitz <keiths@redhat.com>
3043
3044 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3045 in expected breakpoint stop locations.
3046 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3047 move to proper scope to test variable values.
3048 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3049 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3050 New functions.
3051 (main): Call not_inline_func3.
3052 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3053 inline_func1, inline_func2, and inline_func3. Test that when each
3054 breakpoint is hit, GDB properly reports both the stop location
3055 and the backtrace. Repeat tests for temporary breakpoints.
3056
3057 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3058
3059 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3060 rather then trying to access it in determining whether the PID
3061 of `gdbserver' could have been retrieved.
3062
3063 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.arch/amd64-init-x87-values.S: New file.
3066 * gdb.arch/amd64-init-x87-values.exp: New file.
3067
3068 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3069
3070 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3071
3072 2018-05-04 Tom Tromey <tom@tromey.com>
3073
3074 PR python/22730:
3075 * gdb.python/python.exp: Test multi-line execute.
3076
3077 2018-05-04 Tom Tromey <tom@tromey.com>
3078
3079 PR python/22731:
3080 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3081
3082 2018-05-04 Tom Tromey <tom@tromey.com>
3083
3084 PR gdb/11750:
3085 * gdb.base/define.exp: Test defining a user command inside a user
3086 command.
3087 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3088
3089 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3090 Pedro Alves <palves@redhat.com>
3091
3092 PR breakpoints/19806 and support for PR external/20207.
3093 * gdb.base/watchpoint-unaligned.c: New file.
3094 * gdb.base/watchpoint-unaligned.exp: New file.
3095
3096 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3097
3098 * gdb.base/maint.exp: Make test names unique, use
3099 test_prefix_command_help to test 'help maint info', and remove
3100 repeated test of 'help maint'.
3101
3102 2018-05-04 Tom Tromey <tom@tromey.com>
3103
3104 PR gdb/22619:
3105 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3106 behavior.
3107
3108 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3109
3110 * gdb.base/maint.exp: Process output from 'maint print registers'
3111 line at a time.
3112
3113 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3114
3115 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3116 timeout.
3117
3118 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3119
3120 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3121 filter pattern.
3122
3123 2018-05-02 Pedro Alves <palves@redhat.com>
3124
3125 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3126 to_log_command renames.
3127 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3128
3129 2018-05-02 Tom Tromey <tom@tromey.com>
3130
3131 * gdb.python/py-parameter.exp: Set test message.
3132
3133 2018-05-02 Tom Tromey <tom@tromey.com>
3134
3135 PR python/20084:
3136 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3137 PARAM_ZUINTEGER_UNLIMITED tests.
3138
3139 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3140
3141 PR rust/23124
3142 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3143 when casting.
3144
3145 2018-04-30 Tom Tromey <tom@tromey.com>
3146
3147 * gdb.python/py-type.exp: Check align attribute.
3148 * gdb.python/py-type.c: New "aligncheck" global.
3149
3150 2018-04-30 Tom Tromey <tom@tromey.com>
3151
3152 PR exp/17095:
3153 * gdb.dwarf2/dw2-align.exp: New file.
3154 * gdb.cp/align.exp: New file.
3155 * gdb.base/align.exp: New file.
3156 * lib/gdb.exp (gdb_int128_helper): New proc.
3157 (has_int128_c, has_int128_cxx): New caching procs.
3158
3159 2018-04-27 Tom Tromey <tom@tromey.com>
3160
3161 PR rust/22545:
3162 * gdb.rust/simple.exp: Add inclusive range tests.
3163
3164 2018-04-26 Pedro Alves <palves@redhat.com>
3165
3166 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3167 ifunc breakpoint locations correctly of ifunc breakpoints set
3168 while the program resolves the ifunc.
3169
3170 2018-04-26 Pedro Alves <palves@redhat.com>
3171
3172 * gdb.base/gnu-ifunc-final.c: New file.
3173 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3174 * gdb.base/gnu-ifunc.exp (executable): Delete.
3175 (staticexecutable): Adjust.
3176 (lib_opts, exec_opts): Delete.
3177 (make_binsuffix, build, set-break): New procedures.
3178 (misc_tests): New, with tests factored out from the top level.
3179 (top level): Test different combinations of ifunc resolver name,
3180 resolver with and with debug info, and ifunc target with and
3181 without debug info. Wrap static tests with with_target_prefix.
3182
3183 2018-04-26 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3186 return type" warnings.
3187
3188 2018-04-25 Pedro Alves <palves@redhat.com>
3189
3190 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3191 killed".
3192 * gdb.base/kill-after-signal.exp: Likewise.
3193 * gdb.threads/kill.exp: Likewise.
3194
3195 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3196 Sergio Durigan Junior <sergiodj@redhat.com>
3197 Pedro Alves <palves@redhat.com>
3198
3199 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3200 regexps to expect for '[Inferior ... detached]' as well.
3201 * gdb.base/attach.exp: Likewise.
3202 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3203 "gdb_continue_to_end".
3204 (test_catch_syscall_with_wrong_args): Likewise.
3205 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3206 ']'. Don't set 'verbose' on.
3207 * gdb.base/foll-vfork.exp: Likewise.
3208 * gdb.base/fork-print-inferior-events.c: New file.
3209 * gdb.base/fork-print-inferior-events.exp: New file.
3210 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3211 '[Inferior ... has been killed]' message.
3212 * gdb.base/kill-after-signal.exp: Likewise.
3213 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3214 detach message.
3215 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3216 message.
3217 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3218 regexps to expect for '[Inferior ... detached]' as well.
3219 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3220
3221 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3222
3223 PR gdb/23104
3224 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3225
3226 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3227
3228 * gdb.threads/multiple-successive-infcall.c: New test.
3229 * gdb.threads/multiple-successive-infcall.exp: New file.
3230
3231 2018-04-17 Tom Tromey <tom@tromey.com>
3232
3233 * gdb.rust/simple.rs (Union): New type.
3234 (main): New local "u".
3235 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3236
3237 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3238
3239 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3240 number information in output of "whereis" command.
3241 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3242
3243 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3244
3245 * gdb.ada/info_types.exp: Adjust expected output to the line
3246 numbers now printed by "info var/func/type".
3247 * gdb.base/completion.exp: Likewise.
3248 * gdb.base/included.exp: Likewise.
3249 * gdb.cp/cp-relocate.exp: Likewise.
3250 * gdb.cp/cplusfuncs.exp: Likewise.
3251 * gdb.cp/namespace.exp: Likewise.
3252 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3253
3254 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3255
3256 * gdb.btrace/cpu.exp: New.
3257
3258 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3259
3260 * gdb.base/step-indirect-call-thunk.exp: New.
3261 * gdb.base/step-indirect-call-thunk.c: New.
3262 * gdb.reverse/step-indirect-call-thunk.exp: New.
3263 * gdb.reverse/step-indirect-call-thunk.c: New.
3264
3265 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3266
3267 * gdb.base/pie-fork.c: New file.
3268 * gdb.base/pie-fork.exp: New file.
3269
3270 2018-04-11 Tom Tromey <tom@tromey.com>
3271
3272 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3273
3274 2018-04-10 Pedro Alves <palves@redhat.com>
3275
3276 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3277 exits. Instead loop running forever.
3278 (fork_parent): Run forever too.
3279
3280 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3281
3282 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3283 mi_continue_to_line.
3284 * gdb.mi/mi-stack.c (callee4): Add comment.
3285
3286 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3287
3288 * gdb.mi/mi-stack.exp: Fix indentation.
3289
3290 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3291
3292 PR gdb/22979
3293 * gdb.arch/amd64-osabi.exp: New file.
3294
3295 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3296
3297 PR gdb/22980
3298 * gdb.base/osabi.exp: New file.
3299
3300 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3301
3302 * gdb.cp/static-typedef-print.exp: New file.
3303 * gdb.cp/static-typedef-print.cc: New file.
3304
3305 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3306
3307 * gdb.ada/varsize_limit: New testcase.
3308
3309 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3310
3311 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3312
3313 * gdb.ada/notcplusplus: New testcase.
3314
3315 * gdb.base/c-linkage-name.c: New file.
3316 * gdb.base/c-linkage-name.exp: New testcase.
3317
3318 2018-03-26 Tom Tromey <tom@tromey.com>
3319
3320 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3321 * gdb.python/py-framefilter.py (name_error): New global.
3322 (ErrorInName.function): Use name_error.
3323
3324 2018-03-26 Tom Tromey <tom@tromey.com>
3325
3326 PR backtrace/15582:
3327 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3328
3329 2018-03-23 Keith Seitz <keiths@redhat.com>
3330
3331 PR c++/22968
3332 * gdb.cp/subtypes.exp: New file.
3333 * gdb.cp/subtypes.h: New file.
3334 * gdb.cp/subtypes.cc: New file.
3335 * gdb.cp/subtypes-2.cc: New file.
3336
3337 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3338
3339 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3340 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3341 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3342 -nostartfiles when compiling the test. Confirm that all registers
3343 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3344
3345 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3346
3347 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3348 option, syntax was wrong anyway.
3349 * gdb.arch/arm-disp-step.exp: Likewise.
3350 * gdb.arch/sparc64-regs.exp: Likewise.
3351 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3352 option, syntax was wrong anyway, switch to use
3353 prepare_for_testing.
3354 * gdb.arch/i386-disp-step.exp: Likewise.
3355
3356 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3357
3358 * gdb.ada/exec_changed.exp: Replace "target_info exists
3359 use_gdb_stub" by "use_gdb_stub".
3360 * gdb.ada/start.exp: Likewise.
3361 * gdb.base/async-shell.exp: Likewise.
3362 * gdb.base/attach-pie-misread.exp: Likewise.
3363 * gdb.base/attach-wait-input.exp: Likewise.
3364 * gdb.base/break-entry.exp: Likewise.
3365 * gdb.base/break-interp.exp: Likewise.
3366 * gdb.base/dprintf-detach.exp: Likewise.
3367 * gdb.base/nostdlib.exp: Likewise.
3368 * gdb.base/solib-nodir.exp: Likewise.
3369 * gdb.base/statistics.exp: Likewise.
3370 * gdb.base/testenv.exp: Likewise.
3371 * gdb.mi/mi-exec-run.exp: Likewise.
3372 * gdb.mi/mi-start.exp: Likewise.
3373 * gdb.multi/dummy-frame-restore.exp: Likewise.
3374 * gdb.multi/multi-arch-exec.exp: Likewise.
3375 * gdb.multi/multi-arch.exp: Likewise.
3376 * gdb.multi/tids.exp: Likewise.
3377 * gdb.multi/watchpoint-multi.exp: Likewise.
3378 * gdb.python/py-events.exp: Likewise.
3379 * gdb.threads/attach-into-signal.exp: Likewise.
3380 * gdb.threads/attach-stopped.exp: Likewise.
3381 * gdb.threads/threadapply.exp: Likewise.
3382 * lib/selftest-support.exp: Likewise.
3383
3384 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3385
3386 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3387
3388 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3389
3390 * gdb.perf/template-breakpoints.cc: New file.
3391 * gdb.perf/template-breakpoints.exp: New file.
3392 * gdb.perf/template-breakpoints.py: New file.
3393
3394 2018-03-19 Tom Tromey <tom@tromey.com>
3395
3396 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3397 y0.
3398 * gdb.rust/simple.exp: Test bare identifier form of struct
3399 initializer.
3400
3401 2018-03-19 Tom Tromey <tom@tromey.com>
3402
3403 * gdb.gdb/observer.exp: Remove.
3404
3405 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3406
3407 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3408 "qualified" option when setting breakpoints.
3409 * gdb.trace/backtrace.exp: Likewise.
3410 * gdb.trace/circ.exp: Likewise.
3411 * gdb.trace/collection.exp: Likewise.
3412 * gdb.trace/disconnected-tracing.exp: Likewise.
3413 * gdb.trace/ftrace-lock.exp: Likewise.
3414 * gdb.trace/ftrace.exp: Likewise.
3415 * gdb.trace/infotrace.exp: Likewise.
3416 * gdb.trace/packetlen.exp: Likewise.
3417 * gdb.trace/passc-dyn.exp: Likewise.
3418 * gdb.trace/qtro.exp: Likewise.
3419 * gdb.trace/read-memory.exp: Likewise.
3420 * gdb.trace/report.exp: Likewise.
3421 * gdb.trace/signal.exp: Likewise.
3422 * gdb.trace/status-stop.exp: Likewise.
3423 * gdb.trace/strace.exp: Likewise.
3424 * gdb.trace/tfind.exp: Likewise.
3425 * gdb.trace/trace-break.exp: Likewise.
3426 * gdb.trace/trace-condition.exp: Likewise.
3427 * gdb.trace/trace-mt.exp: Likewise.
3428 * gdb.trace/tstatus.exp: Likewise.
3429 * gdb.trace/tsv.exp: Likewise.
3430 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3431 * gdb.trace/unavailable.exp: Likewise.
3432 * gdb.trace/while-dyn.exp: Likewise.
3433
3434 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3435
3436 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3437 that libinproctrace is copied to the target.
3438
3439 2018-03-14 Tom Tromey <tom@tromey.com>
3440
3441 PR cli/14977:
3442 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3443 a null pointer.
3444 * gdb.base/wchar.exp: Likewise.
3445
3446 2018-03-14 Tom Tromey <tom@tromey.com>
3447
3448 PR cli/19918:
3449 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3450 flag.
3451
3452 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3453
3454 PR gdb/22841
3455 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3456 "target" to remote_exec.
3457
3458 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3459
3460 PR gdb/22841
3461 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3462 ${board}_upload): Remove.
3463
3464 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3465
3466 * gdb.cp/watch-cp.cc: New test.
3467 * gdb.cp/watch-cp.exp: New file.
3468
3469 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3470
3471 * gdb.base/infcall-nested-structs.exp: New file.
3472 * gdb.base/infcall-nested-structs.c: New file.
3473 * gdb.base/float.exp: Add riscv support.
3474
3475 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3476
3477 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3478 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3479
3480 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3481
3482 * gdb.server/abspath.exp: New file.
3483 * lib/gdb.exp (with_cwd): New procedure.
3484
3485 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3486
3487 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3488 use it.
3489 (gdb_is_target_remote_prompt): New proc.
3490 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3491 (gdb_is_target_native): Pass prompt parameter to
3492 gdb_is_target_1.
3493
3494 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3495
3496 * gdb.base/load-command.c: New file.
3497 * gdb.base/load-command.exp: New file.
3498 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3499 (gdb_is_target_1): ...this, and generalize for other targets
3500 than just remote.
3501 (gdb_is_target_remote): Use gdb_is_target_1.
3502 (gdb_is_target_native): use gdb_is_target_1.
3503
3504 2018-02-26 Tom Tromey <tom@tromey.com>
3505
3506 PR python/16497:
3507 * gdb.python/py-framefilter.exp: Update test.
3508
3509 2018-02-26 Tom Tromey <tom@tromey.com>
3510
3511 * gdb.dwarf2/variant.c: New file.
3512 * gdb.dwarf2/variant.exp: New file.
3513
3514 2018-02-26 Tom Tromey <tom@tromey.com>
3515
3516 * gdb.rust/simple.exp: Accept more possible results in enum test.
3517
3518 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3519
3520 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3521 parentheses.
3522
3523 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3524
3525 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3526 name of a variable: $actual_linejj -> $actual_line.
3527
3528 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3529
3530 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3531
3532 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3533
3534 * gdb.btrace/buffer-size.exp: Do not force BTS.
3535
3536 2018-02-14 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3539 getting a "Quit".
3540
3541 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3542
3543 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3544 Fix test name.
3545
3546 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3547
3548 * gdb.cp/m-static.exp: Check type of optimized out static
3549 member.
3550
3551 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3552
3553 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3554 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3555
3556 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3557 Leszek Swirski <leszeks@google.com>
3558
3559 * gdb.python/py-prettyprint.c
3560 (struct to_string_returns_value_inner,
3561 struct to_string_returns_value_wrapper): New.
3562 (main): Add tsrvw variable.
3563 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3564 ToStringReturnsValueWrapper): New classes.
3565 (register_pretty_printers): Register new pretty-printers.
3566 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3567 recursive pretty printer.
3568 * gdb.python/py-mi.exp: Likewise.
3569
3570 2018-02-01 Leszek Swirski <leszeks@google.com>
3571
3572 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3573 functions with the same name as an include file are parsed
3574 correctly.
3575
3576 2018-02-01 Yao Qi <yao.qi@linaro.org>
3577
3578 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3579 "\[^\r\n\]*".
3580
3581 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3582
3583 * gdb.arch/powerpc-prologue-frame.s: New file.
3584 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3585 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3586
3587 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3588
3589 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3590
3591 2018-01-30 Pedro Alves <palves@redhat.com>
3592
3593 PR gdb/13211
3594 * gdb.base/interrupt-daemon.c: New.
3595 * gdb.base/interrupt-daemon.exp: New.
3596 * gdb.multi/multi-term-settings.c: New.
3597 * gdb.multi/multi-term-settings.exp: New.
3598
3599 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3600
3601 * gdb.base/break.exp: Save the location where the breakpoint
3602 on break.c:47 was actually inserted when debugging the version
3603 compiled at -O2 and use it in the expected output of the "info
3604 break" test performed soon after.
3605
3606 2018-01-22 Pedro Alves <palves@redhat.com>
3607 Sergio Durigan Junior <sergiodj@redhat.com>
3608
3609 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3610 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3611
3612 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3613
3614 * gdb.base/break-include.c, gdb.base/break-include.inc,
3615 gdb.base/break-include.exp: New files.
3616 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3617 line number now being the actual line number where the breakpoint
3618 was inserted.
3619 * gdb.mi/mi-break.exp: Likewise.
3620 * gdb.mi/mi-reverse.exp: Likewise.
3621 * gdb.mi/mi-simplerun.exp: Ditto.
3622
3623 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3626 varobj.
3627 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3628
3629 2018-01-21 Don Breazeal <donb@codesourcery.com>
3630 Andrew Burgess <andrew.burgess@embecosm.com>
3631
3632 * gdb.mi/basics.c: Add new global.
3633 * gdb.mi/mi-frame-regs.exp: New file.
3634 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3635 case.
3636
3637 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3638
3639 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3640 non-parameter, and on an unknown symbol.
3641
3642 2018-01-19 Tom Tromey <tom@tromey.com>
3643
3644 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3645 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3646
3647 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3648
3649 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3650 setrlimit and chdir to int.
3651
3652 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3653
3654 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3655 function.
3656 (my_tend): Likewise.
3657 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3658 rationale of avoiding FP- and vector instructions.
3659
3660 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3661
3662 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3663 "info reg" with "\[ \t\]*".
3664 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3665 "\[ \t\]+".
3666 * gdb.arch/s390-multiarch.exp: Ditto.
3667 * gdb.base/pc-fp.exp: Ditto.
3668 * gdb.reverse/i386-precsave.exp: Ditto.
3669 * gdb.reverse/i386-reverse.exp: Ditto.
3670 * gdb.reverse/i387-env-reverse.exp: Ditto.
3671 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3672
3673 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3674
3675 * lib/gdb.exp (gdb_compile): Re-enable use of
3676 universal_compile_options for languages other than Rust.
3677
3678 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3679
3680 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3681
3682 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3683
3684 PR gdb/16577
3685 * gdb.base/solib-vanish.exp: New.
3686 * gdb.base/solib-vanish-main.c: New.
3687 * gdb.base/solib-vanish-lib1.c: New.
3688 * gdb.base/solib-vanish-lib2.c: New.
3689
3690 2018-01-17 Yao Qi <yao.qi@linaro.org>
3691
3692 * gdb.compile/compile.exp: Match the address printed for
3693 frame in the output of command "bt".
3694
3695 2018-01-15 Tom Tromey <tom@tromey.com>
3696
3697 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3698 compute sp_reg.
3699
3700 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3701
3702 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3703 to prepare.
3704 (prepare): Return 0 on error, 1 on success.
3705
3706 2018-01-12 Pedro Alves <palves@redhat.com>
3707
3708 * gdb.base/continue-after-aborted-step-over.c: New.
3709 * gdb.base/continue-after-aborted-step-over.exp: New.
3710
3711 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3712
3713 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3714 options when not creating an executable.
3715
3716 2018-01-11 Pedro Alves <palves@redhat.com>
3717
3718 PR remote/22597
3719 * gdb.server/stop-reply-no-thread.c: New file.
3720 * gdb.server/stop-reply-no-thread.exp: New file.
3721
3722 2018-01-10 Pedro Alves <palves@redhat.com>
3723
3724 PR gdb/22670
3725 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3726 functions too. Test setting breakpoints and printing C functions
3727 with no debug info too.
3728 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3729
3730 2018-01-10 Pedro Alves <palves@redhat.com>
3731
3732 PR gdb/22670
3733 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3734 a fail.
3735
3736 2018-01-10 Pedro Alves <palves@redhat.com>
3737
3738 PR gdb/22670
3739 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3740
3741 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3742
3743 * gdb.server/unittest.exp: Match the output in non-development
3744 mode.
3745
3746 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3747
3748 * gdb.gdb/unittest.exp: Match output in non-development mode.
3749
3750 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3751
3752 * gdb.ada/access_tagged_param.exp: Relax expected output
3753 for value of "ObjL" in "continue" to pck.inspect breakpoint
3754 test.
3755
3756 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3757
3758 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3759 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3760
3761 2018-01-05 Pedro Alves <palves@redhat.com>
3762
3763 PR gdb/18653
3764 * gdb.base/libsegfault.exp: New.
3765
3766 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3767
3768 PR gdb/22670
3769 * gdb.ada/access_tagged_param.exp: New file.
3770 * gdb.ada/access_tagged_param/foo.adb: New file.
3771
3772 2018-01-05 Pedro Alves <palves@redhat.com>
3773
3774 PR gdb/22670
3775 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3776 exercise lower case too, and to exercise both full matching and
3777 wild matching.
3778
3779 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3780
3781 * gdb.ada/rename_subscript_param: New testcase.
3782
3783 2018-01-05 Jerome Guitton <guitton@adacore.com>
3784
3785 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3786
3787 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3788
3789 * gdb.ada/convvar_comp: New testcase.
3790
3791 2018-01-05 Xavier Roirand <roirand@adacore.com>
3792
3793 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3794 (My_Table): New global variable.
3795 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3796
3797 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3798
3799 PR gdb/22670
3800 * gdb.ada/maint_with_ada: New testcase.
3801
3802 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3803
3804 PR gdb/22670
3805 * gdb.ada/bp_c_mixed_case: New testcase.
3806
3807 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3808
3809 PR gdb/22670
3810 * gdb.ada/complete.exp: Add "complete break ada" test.
3811
3812 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3813
3814 PR gdb/22670
3815 * gdb.ada/info_addr_mixed_case: New testcase.
3816
3817 2018-01-03 Xavier Roirand <roirand@adacore.com>
3818
3819 * gdb.ada/excep_handle.exp: New testcase.
3820 * gdb.ada/excep_handle/foo.adb: New file.
3821 * gdb.ada/excep_handle/pck.ads: New file.
3822
3823 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3824
3825 * gdb.base/step-line.c: Add extra empty line in copyright header.
3826 * gdb.base/step-line.inp: Likewise.
3827
3828 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3829
3830 * gdb.ada/dyn_stride.exp: Add slice test.
3831
3832 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3833
3834 * gdb.ada/dyn_stride: New testcase.
3835
3836 2017-12-27 Stafford Horne <shorne@gmail.com>
3837
3838 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3839 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3840
3841 2017-12-27 Stafford Horne <shorne@gmail.com>
3842
3843 * gdb.base/reggroups.c: New file.
3844 * gdb.base/reggroups.exp: New file.
3845
3846 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3847
3848 * gdb.dwarf2/ada-valprint-error.c: New file.
3849 * gdb.dwarf2/ada-valprint-error.exp: New file.
3850
3851 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3852
3853 * gdb.ada/assign_arr: New testcase.
3854
3855 2017-12-18 Xavier Roirand <roirand@adacore.com>
3856
3857 * gdb.ada/funcall_ptr: New testcase.
3858
3859 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3860
3861 PR cli/16224
3862 * gdb.base/ptype-offsets.cc: New file.
3863 * gdb.base/ptype-offsets.exp: New file.
3864
3865 2017-12-15 Yao Qi <yao.qi@linaro.org>
3866
3867 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3868 if XML is disabled.
3869
3870 2017-12-15 Xavier Roirand <roirand@adacore.com>
3871
3872 * gdb.ada/same_component_name: New testcase.
3873
3874 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3875
3876 * gdb.ada/str_binop_equal: New testcase.
3877
3878 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3879
3880 * gdb.ada/task_switch_in_core: New testcase.
3881
3882 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3883
3884 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3885 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3886 call test_bkpt_qualified.
3887 (test_bkpt_qualified): New proc.
3888
3889 2017-12-13 Pedro Alves <palves@redhat.com>
3890
3891 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3892 Tighten regexp by matching with an anchor.
3893
3894 2017-12-13 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3897 ("expression with namespace"): New set of tests.
3898 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3899 (Nested::Test_NS::qux): New.
3900 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3901 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3902
3903 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3904
3905 * gdb.base/server-del-break.c: New file.
3906 * gdb.base/server-del-break.exp: New file.
3907
3908 2017-12-12 Stafford Horne <shorne@gmail.com>
3909
3910 * gdb.xml/tdesc-regs.exp: Add or1k support.
3911
3912 2017-12-12 Stafford Horne <shorne@gmail.com>
3913
3914 * gdb.base/bp-permanent.c: Define nop of or1k.
3915
3916 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3917
3918 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3919 output with components being reordered.
3920
3921 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3922
3923 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3924 output with components being reordered.
3925
3926 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3927 Pedro Alves <palves@redhat.com>
3928
3929 * gdb.base/maint.exp (check for .gdb_index): Check also for
3930 .debug_names.
3931 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3932 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3933 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3934 (.gdb_index used after symbol reloading): Support also .debug_names.
3935 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3936
3937 2017-12-08 Yao Qi <yao.qi@linaro.org>
3938
3939 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3940 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3941
3942 2017-12-08 Yao Qi <yao.qi@linaro.org>
3943
3944 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3945 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3946
3947 2017-12-08 Yao Qi <yao.qi@linaro.org>
3948
3949 * gdb.arch/aarch64-tagged-pointer.c: New file.
3950 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3951
3952 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3953
3954 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3955 "int".
3956
3957 2017-12-07 Keith Seitz <keiths@redhat.com>
3958
3959 PR breakpoints/22569
3960 * gdb.linespec/ls-errs.exp: Change expected result of "break
3961 -source this file has spaces.c -line 3".
3962 Check that an explicit source file followed by whitespace is
3963 identified as an invalid explicit location.
3964
3965 2017-12-07 Keith Seitz <keiths@redhat.com>
3966
3967 * gdb.cp/nested-types.cc: New file.
3968 * gdb.cp/nested-types.exp: New file.
3969 * lib/cp-support.exp: Load data-structures.exp library.
3970 (debug_cp_test_ptype_class): New global.
3971 (cp_ptype_class_verbose, next_line): New procedures.
3972 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3973 Add and document new return value.
3974 Switch the list of lines to a queue.
3975 Add support for new `type' key for nested type definitions.
3976 Add debugging/troubleshooting messages.
3977 * lib/data-structures.exp: New file.
3978
3979 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3980
3981 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3982 with proc_with_prefix, don't use with_test_prefix.
3983
3984 2017-12-07 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.base/break.exp: Add test for empty "commands".
3987
3988 2017-12-07 Yao Qi <yao.qi@linaro.org>
3989
3990 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3991 malloc and catch syscall.
3992
3993 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3994
3995 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3996 tests for explicit locations.
3997
3998 2017-12-06 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4001 force-disabling XML descriptions.
4002
4003 2017-12-04 Pedro Alves <palves@redhat.com>
4004
4005 PR gdb/22499
4006 * gdb.arch/amd64-disp-step-avx.S: New file.
4007 * gdb.arch/amd64-disp-step-avx.exp: New file.
4008
4009 2017-12-03 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4012 and <string.h>.
4013 (parent_function): Print distinct messages when waitpid fails, or
4014 the child exits with a signal, or the child exits for an unhandled
4015 reason.
4016 * gdb.threads/process-dies-while-detaching.exp
4017 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4018 it. Wait for both inferior output and GDB's prompt. Use an
4019 indirect spawn id list.
4020 (do_detach): New parameter 'child_exit'. Use it to compute
4021 expected inferior output.
4022 (test_detach, test_detach_watch, test_detach_killed_outside):
4023 Adjust to pass down the expected child exit kind.
4024
4025 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4026 Sergio Durigan Junior <sergiodj@redhat.com>
4027 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4030
4031 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4032
4033 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4034 to 'symbol-file' and 'add-symbol-file' can be
4035 position-independent.
4036
4037 2017-12-01 Yao Qi <yao.qi@linaro.org>
4038
4039 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4040 the URL in copyright header.
4041 * gdb.arch/aarch64-fp.exp: Likewise.
4042 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4043 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4044 * gdb.base/expand-psymtabs.exp: Likewise.
4045 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4046 * gdb.fortran/common-block.exp: Likewise.
4047 * gdb.fortran/common-block.f90: Likewise.
4048 * gdb.fortran/logical.exp: Likewise.
4049 * gdb.fortran/vla-datatypes.f90: Likewise.
4050 * gdb.fortran/vla-sub.f90: Likewise.
4051
4052 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4053
4054 * gdb.ada/repeat_dyn: New testcase.
4055
4056 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4057
4058 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4059 Update for changed thread numbering.
4060 * gdb.cell/bt.exp: Update for changed GDB output.
4061
4062 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4063
4064 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4065 setting isremote by hand.
4066 * boards/dwarf4-gdb-index.exp: Likewise.
4067 * boards/fission.exp: Likewise.
4068 * boards/stabs.exp: Likewise.
4069
4070 2017-11-30 Pedro Alves <palves@redhat.com>
4071
4072 * gdb.linespec/cpls-ops.exp
4073 (check_explicit_skips_function_argument): Extract the underlying
4074 type of size_t instead of hardcoding it.
4075
4076 2017-11-29 Pedro Alves <palves@redhat.com>
4077
4078 PR c++/19436
4079 * gdb.linespec/cpls-abi-tag.cc: New file.
4080 * gdb.linespec/cpls-abi-tag.exp: New file.
4081
4082 2017-11-29 Pedro Alves <palves@redhat.com>
4083
4084 * gdb.base/langs.exp: Use -qualified.
4085 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4086 it.
4087 * gdb.cp/namespace.exp: Use -qualified.
4088 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4089 (overload-3, template-overload, template-ret-type, const-overload)
4090 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4091 procedures.
4092 (test_driver): Call them.
4093 * gdb.cp/save-bp-qualified.cc: New.
4094 * gdb.cp/save-bp-qualified.exp: New.
4095 * gdb.linespec/explicit.exp: Test -qualified.
4096 * lib/completion-support.exp (completion::explicit_opts_list): Add
4097 "-qualified".
4098 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4099
4100 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4101
4102 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4103
4104 2017-11-29 Tom Tromey <tom@tromey.com>
4105
4106 * gdb.base/relocate.exp: Update invalid argument test.
4107 Add new tests for invalid arguments.
4108
4109 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4110
4111 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4112 Return 0 as a long.
4113 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4114
4115 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4116
4117 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4118 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4119 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4120 func ().
4121 * gdb.cp/shadow.cc (B.func): Return 0.
4122
4123 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4124
4125 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4126 expected output in gdb_expect call to allow the exception
4127 message to be present as well. Fix syntax confusion to avoid
4128 TCL thinking that exception_name is an array.
4129
4130 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4131
4132 * gdb.arch/spu-info.c: Include <unistd.h>.
4133 (do_signal_test): Fix broken calls to write.
4134 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4135 Fix checks for empty mailboxes. Update signal tests for corrected
4136 do_signal_test routine. Allow nonzero event status.
4137 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4138 * gdb.cell/arch.exp: Use standard_output_file.
4139 * gdb.cell/break.exp: Likewise.
4140 * gdb.cell/bt.exp: Likewise.
4141 * gdb.cell/core.exp: Likewise.
4142 * gdb.cell/dwarfaddr.exp: Likewise.
4143 * gdb.cell/ea-cache.exp: Likewise.
4144 * gdb.cell/ea-standalone.exp: Likewise.
4145 * gdb.cell/f-regs.exp: Likewise.
4146 * gdb.cell/fork.exp: Likewise.
4147 * gdb.cell/gcore.exp: Likewise.
4148 * gdb.cell/mem-access.exp: Likewise.
4149 * gdb.cell/ptype.exp: Likewise.
4150 * gdb.cell/registers.exp: Likewise.
4151 * gdb.cell/sizeof.exp: Likewise.
4152 * gdb.cell/solib-symbol.exp: Likewise.
4153 * gdb.cell/solib.exp: Likewise.
4154
4155 2017-11-25 Pedro Alves <palves@redhat.com>
4156
4157 * gdb.base/complete-empty.exp: New file.
4158 * gdb.base/completion.exp: Adjust.
4159
4160 2017-11-25 Pedro Alves <palves@redhat.com>
4161
4162 * gdb.linespec/cpls-ops.cc: New file.
4163 * gdb.linespec/cpls-ops.exp: New file.
4164 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4165 factored out from ...
4166 (test_complete_prefix_range): ... this.
4167
4168 2017-11-24 Pedro Alves <palves@redhat.com>
4169
4170 * gdb.linespec/cpcompletion.exp: New file.
4171 * gdb.linespec/cpls-hyphen.cc: New file.
4172 * gdb.linespec/cpls.cc: New file.
4173 * gdb.linespec/cpls2.cc: New file.
4174 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4175 test to use test_gdb_complete_unique. Add label completion,
4176 keyword completion and explicit location completion tests.
4177 * lib/completion-support.exp: New file.
4178
4179 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4180
4181 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4182 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4183 when hitting an exception catchpoint.
4184
4185 2017-11-22 Yao Qi <yao.qi@linaro.org>
4186
4187 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4188
4189 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4190
4191 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4192 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4193 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4194
4195 2017-11-22 Yao Qi <yao.qi@linaro.org>
4196
4197 * gdb.base/info-os.exp: Pass pthreads.
4198 * gdb.multi/multi-attach.exp: Likewise.
4199
4200 2017-11-22 Yao Qi <yao.qi@linaro.org>
4201
4202 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4203 compiler.
4204
4205 2017-11-22 Yao Qi <yao.qi@linaro.org>
4206
4207 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4208 * gdb.base/break-interp.exp: Likewise.
4209 * gdb.base/jit-attach-pie.exp: Likewise.
4210
4211 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4212
4213 * gdb.base/float128.c (large128): New variable.
4214 * gdb.base/float128.exp: Add test to print largest __float128 value.
4215
4216 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4217
4218 * gdb.arch/vsx-regs.exp: Update register content checks.
4219
4220 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4221
4222 * gdb.arch/ppc-longdouble.exp: New file.
4223 * gdb.arch/ppc-longdouble.c: Likewise.
4224
4225 2017-11-21 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4228
4229 2017-11-20 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4232 (long_double_typedef): New typedefs.
4233 Use DEF on double and long double.
4234 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4235 cases.
4236 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4237 and 'long_double_ptr_same_size' locals. Use them to decide
4238 whether cast from array/function to float is valid/invalid.
4239
4240 2017-11-17 Tom Tromey <tom@tromey.com>
4241
4242 * gdb.rust/traits.rs: New file.
4243 * gdb.rust/traits.exp: New file.
4244
4245 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4246
4247 * gdb.ada/minsyms: New testcase.
4248
4249 2017-11-16 Pedro Alves <palves@redhat.com>
4250
4251 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4252 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4253
4254 2017-11-16 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4257 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4258
4259 2017-11-16 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.server/reconnect-ctrl-c.c: New file.
4262 * gdb.server/reconnect-ctrl-c.exp: New file.
4263
4264 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4265
4266 * gdb.python/py-rbreak.exp: New file.
4267 * gdb.python/py-rbreak.c: New file.
4268 * gdb.python/py-rbreak-func2.c: New file.
4269
4270 2017-11-16 Pedro Alves <palves@redhat.com>
4271
4272 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4273 pattern.
4274 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4275 GDB.
4276
4277 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4280 regex.
4281
4282 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4283
4284 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4285 test names.
4286
4287 2017-11-09 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4290 factored out from ...
4291 (top level): ... here, and adjusted to avoid expecting beyond the
4292 prompt in a single gdb_test_multiple.
4293
4294 2017-11-09 Pedro Alves <palves@redhat.com>
4295
4296 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4297 output.
4298 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4299 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4300 * gdb.server/ext-run.exp ("kill" test): Likewise.
4301 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4302
4303 2017-11-09 Pedro Alves <palves@redhat.com>
4304
4305 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4306 match till end of line.
4307
4308 2017-11-09 Pedro Alves <palves@redhat.com>
4309
4310 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4311
4312 2017-11-09 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4315 New procedures, factored out from ...
4316 (top level): ... here, and adjusted to avoid expecting beyond the
4317 prompt in one go.
4318
4319 2017-11-09 Pedro Alves <palves@redhat.com>
4320
4321 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4322 output. Fix '?' match.
4323
4324 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4325
4326 * gdb.ada/scoped_watch: New testcase.
4327 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4328 which is actually correct.
4329 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4330 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4331
4332 2017-11-08 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.gdb/complaints.exp (test_initial_complaints)
4335 (test_serial_complaints, test_short_complaints): Call
4336 complaint_internal instead of complaint.
4337
4338 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4339
4340 * gdb.threads/tls-core.c: New file.
4341 * gdb.threads/tls-core.exp: Likewise.
4342
4343 2017-11-08 Pedro Alves <palves@redhat.com>
4344
4345 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4346 (p Exported_Capitalized): New test.
4347 (p exported_capitalized): New test.
4348
4349 2017-11-07 Pedro Alves <palves@redhat.com>
4350
4351 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4352
4353 2017-11-07 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4356 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4357 (disable_invalid, disable_inverted, disable_negative): New
4358 procedures.
4359 ("bad numbers"): New set of tests.
4360
4361 2017-11-07 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.cp/ena-dis-br-range.exp: Add tests.
4364
4365 2017-11-07 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4368
4369 2017-11-07 Xavier Roirand <roirand@adacore.com>
4370 Pedro Alves <palves@redhat.com>
4371
4372 * gdb.base/ena-dis-br.exp: Add reference to
4373 gdb.cp/ena-dis-br-range.exp.
4374 * gdb.cp/ena-dis-br-range.exp: New file.
4375 * gdb.cp/ena-dis-br-range.cc: New file.
4376
4377 2017-11-06 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.base/attach-non-pgrp-leader.c: New.
4380 * gdb.base/attach-non-pgrp-leader.exp: New.
4381
4382 2017-11-06 Pedro Alves <palves@redhat.com>
4383
4384 * configure.ac: No longer check for termio.h and sgtty.h.
4385 * configure: Regenerate.
4386 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4387 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4388 Remove termio and sgtty code.
4389
4390 2017-11-03 Yao Qi <yao.qi@linaro.org>
4391
4392 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4393 in GDB is disabled.
4394
4395 2017-11-03 Yao Qi <yao.qi@linaro.org>
4396
4397 * gdb.python/py-thrhandle.exp: Skip it if python is not
4398 enabled.
4399
4400 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4401
4402 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4403 as a breakpoint command.
4404
4405 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4406
4407 PR python/21213
4408 * gdb.python/py-infthread.exp: Test calling
4409 InferiorThread.inferior () multiple times in a row.
4410
4411 2017-10-27 Keith Seitz <keiths@redhat.com>
4412
4413 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4414 Test "info break" for every inlined function breakpoint.
4415
4416 2017-10-27 Yao Qi <yao.qi@linaro.org>
4417
4418 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4419
4420 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4421
4422 * gdb.cp/classes.exp (test_static_members): Test printing
4423 Outer::instance.
4424 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4425 (Inner::instance, Outer::instance): New.
4426
4427 2017-10-24 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4430 extra console" test in two stages.
4431
4432 2017-10-24 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4435
4436 2017-10-24 Pedro Alves <palves@redhat.com>
4437
4438 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4439 loop.
4440
4441 2017-10-24 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4444 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4445
4446 2017-10-24 Pedro Alves <palves@redhat.com>
4447
4448 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4449 parameter and handle it. Don't output read value in test name.
4450
4451 2017-10-24 Pedro Alves <palves@redhat.com>
4452
4453 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4454 custom test name.
4455
4456 2017-10-24 Pedro Alves <palves@redhat.com>
4457
4458 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4459 include the unstable output directory name in the test's name.
4460 (initial_setup_simple) <'set args'>: Use custom test name.
4461
4462 2017-10-24 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4465 with explicit test name.
4466
4467 2017-10-20 Pedro Alves <palves@redhat.com>
4468
4469 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4470 'wait -i'. Use gdb_assert and remote_close.
4471
4472 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4473
4474 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4475 number from variable rather than hard-coded.
4476
4477 2017-10-19 Pedro Alves <palves@redhat.com>
4478
4479 * gdb.base/long-inferior-output.c: New file.
4480 * gdb.base/long-inferior-output.exp: New file.
4481
4482 2017-11-18 Keith Seitz <keiths@redhat.com>
4483
4484 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4485 method.
4486 (main): Call it.
4487 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4488 Add additional user-defined conversion operator tests.
4489
4490 2017-10-17 Pedro Alves <palves@redhat.com>
4491
4492 * boards/native-stdio-gdbserver.exp: Load "local-board".
4493
4494 2017-10-17 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.base/quit-live.c: New file.
4497 * gdb.base/quit-live.exp: New file.
4498
4499 2017-10-16 Keith Seitz <keiths@redhat.com>
4500
4501 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4502 (class_with_protected_typedef, class_with_private_typedef)
4503 (struct_with_public_typedef, struct_with_protected_typedef)
4504 (struct_with_private_typedef): New classes/structs.
4505 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4506 typedefs and access specifiers.
4507
4508 2017-10-16 Pedro Alves <palves@redhat.com>
4509 Simon Marchi <simon.marchi@polymtl.ca>
4510
4511 * README (Local vs Remote vs Native): New section.
4512 * boards/local-board.exp: New file, with bits factored out from
4513 ...
4514 * boards/native-extended-gdbserver.exp: ... here. Load
4515 "local-board".
4516 * boards/native-gdbserver.exp: Load "local-board".
4517 (${board}_spawn, ${board}_exec): Delete.
4518 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4519 ...
4520 * boards/stdio-gdbserver-base.exp: ... this new file.
4521 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4522 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4523 procedure.
4524 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4525 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4526 stdio_gdbserver_command.
4527 (${board}_get_remote_address, ${board}_get_comm_port)
4528 (${board}_download, ${board}_upload): Delete.
4529 (get_target_remote_pipe_cmd): New.
4530
4531 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4532
4533 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4534 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4535 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4536 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4537 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4538 remove with_test_prefix.
4539
4540 2017-10-13 Pedro Alves <palves@redhat.com>
4541
4542 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4543 * gdb.base/annota1.exp: Use it instead of is_remote.
4544 * gdb.base/annota3.exp: Use it instead of is_remote.
4545 * gdb.cp/annota2.exp: Use it instead of is_remote.
4546 * gdb.cp/annota3.exp: Use it instead of is_remote.
4547 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4548
4549 2017-10-13 Pedro Alves <palves@redhat.com>
4550
4551 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4552 (test_num_test_vars, run_and_count_vars, find_env)
4553 (test_set_unset_env, test_inherit_env_var): New procedures.
4554 (top level): Use them.
4555
4556 2017-10-13 Pedro Alves <palves@redhat.com>
4557
4558 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4559 also skip on stub-like targets.
4560
4561 2017-10-13 Pedro Alves <palves@redhat.com>
4562
4563 PR gdb/22293
4564 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4565 (top level): Move some tests to ...
4566 (test_not_found): ... this new procedure.
4567 (top level): Call it.
4568
4569 2017-10-13 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4572 expect different "info terminal" output if testing with a
4573 non-native target.
4574
4575 2017-10-13 Pedro Alves <palves@redhat.com>
4576 Simon Marchi <simon.marchi@polymtl.ca>
4577
4578 PR python/12966
4579 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4580
4581 2017-10-13 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4584 already.
4585
4586 2017-10-13 Pedro Alves <palves@redhat.com>
4587
4588 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4589 is_remote.
4590
4591 2017-10-13 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4594 is_remote.
4595
4596 2017-10-13 Pedro Alves <palves@redhat.com>
4597
4598 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4599 is set.
4600 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4601 instead of is_remote.
4602
4603 2017-10-13 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4606 (top level): Add comment.
4607
4608 2017-10-13 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/remote.exp (top level): Fix comment typo and add
4611 missing return.
4612
4613 2017-10-13 Pedro Alves <palves@redhat.com>
4614 Simon Marchi <simon.marchi@polymtl.ca>
4615
4616 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4617 calls and add comments. Skip test if use_gdb_stub is set.
4618 (top level): Use "set cwd" command instead of "cd" command.
4619
4620 2017-10-13 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4623 is_remote target check.
4624
4625 2017-10-13 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.base/scope.exp: Use build_executable + clean_restart +
4628 gdb_file_cmd instead of prepare_for_testing and no longer skip
4629 "before run" tests on is_remote target boards. Update comments.
4630 * boards/native-extended-gdbserver.exp
4631 (extended_gdbserver_load_last_file): New, factored out from ...
4632 (gdb_load): ... this. Move further below and add comment.
4633 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4634
4635 2017-10-12 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.base/attach.exp: Remove references to gdb64.
4638 * gdb.base/dbx.exp: Remove references to gdb64.
4639
4640 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4641 Pedro Alves <palves@redhat.com>
4642
4643 * gdb.base/label.exp: Remove is_remote target check.
4644
4645 2017-10-12 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.base/auvx.exp (coredir): Update comment.
4648 (top level) <core_works>: Use "set cwd" command instead of "cd"
4649 command.
4650
4651 2017-10-12 Pedro Alves <palves@redhat.com>
4652 Simon Marchi <simon.marchi@polymtl.ca>
4653
4654 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4655 target boards.
4656
4657 2017-10-12 Pedro Alves <palves@redhat.com>
4658 Simon Marchi <simon.marchi@polymtl.ca>
4659
4660 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4661 Instead skip if there's any gdb_protocol set.
4662
4663 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4664 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4667
4668 2017-10-12 Pedro Alves <palves@redhat.com>
4669 Simon Marchi <simon.marchi@polymtl.ca>
4670
4671 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4672 instead of on dejagnu remote boards.
4673
4674 2017-10-12 Pedro Alves <palves@redhat.com>
4675 Simon Marchi <simon.marchi@polymtl.ca>
4676
4677 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4678 checks. Use build_executable + clean_restart instead of
4679 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4680 of enabling non-stop after starting gdb.
4681
4682 2017-10-12 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4685 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4686 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4687 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4688
4689 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4690
4691 * gdb.arch/arc-tdesc-cpu.exp: New file.
4692 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4693
4694 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4695
4696 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4697
4698 2017-10-10 Pedro Alves <palves@redhat.com>
4699
4700 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4701 expect CLI output.
4702
4703 2017-10-10 Pedro Alves <palves@redhat.com>
4704
4705 * lib/selftest-support.exp (selftest_setup): Update for
4706 captured_command_loop's prototype change.
4707
4708 2017-10-09 Pedro Alves <palves@redhat.com>
4709
4710 Test both arch1=>arch2 and arch2=>arch1.
4711
4712 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4713 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4714 factored out to...
4715 (append_arch1_options, append_arch2_options, append_arch_options)
4716 (build_executables): New procedures.
4717 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4718 local.
4719 (top level): Add new 'first_arch' testing axis.
4720
4721 2017-10-09 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4724 (barrier): New.
4725 (thread_start, all_started): New functions.
4726 (main): Spawn new thread and wait until it is scheduled.
4727 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4728 option.
4729 (do_test): Add 'selected_thread' parameter. Run to all_started
4730 instead of main. Explicitly set the breakpoint at main. Switch
4731 to the SELECTED_THREAD thread.
4732 (top level): Test handling the exec event with either the main
4733 thread or the second thread selected.
4734
4735 2017-10-09 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4738 logic. Move STOP marker after the value checks.
4739 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4740 regexp.
4741
4742 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4743
4744 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4745
4746 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4747
4748 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4749 integer-to-dfp conversion.
4750 * gdb.base/dfp-test.exp: Likewise.
4751
4752 2017-10-04 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.multi/hangout.c: Include <unistd.h>.
4755 (hangout_loop): New function.
4756 (main): Call alarm. Call hangout_loop in a loop.
4757 * gdb.multi/hello.c: Include <unistd.h>.
4758 (hello_loop): New function.
4759 (main): Call alarm. Call hangout_loop in a loop.
4760 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4761 inferior with the other selected.
4762
4763 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4764
4765 * gdb.mi/list-thread-groups-available.exp: New file.
4766 * gdb.mi/list-thread-groups-available.c: New file.
4767
4768 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4769
4770 * gdb.base/set-cwd.exp: Make it available on
4771 native-extended-gdbserver.
4772
4773 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4774
4775 * gdb.base/set-cwd.c: New file.
4776 * gdb.base/set-cwd.exp: Likewise.
4777
4778 2017-10-02 Tom Tromey <tom@tromey.com>
4779
4780 PR rust/22236:
4781 * gdb.rust/simple.rs (main): New variable "fslice".
4782 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4783
4784 2017-10-02 Tom Tromey <tom@tromey.com>
4785
4786 * gdb.rust/simple.exp: Test ptype of a slice.
4787
4788 2017-10-02 Tom Tromey <tom@tromey.com>
4789
4790 * gdb.rust/simple.exp: Test index of slice.
4791
4792 2017-09-27 Tom Tromey <tom@tromey.com>
4793
4794 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4795
4796 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4797 Pedro Alves <palves@redhat.com>
4798
4799 * gdb.base/compare-sections.exp (get value of read-only section): Read
4800 as unsigned value.
4801 (corrupt read-only section): Likewise and don't set written if patching
4802 failed.
4803
4804 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4805
4806 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4807 files.
4808
4809 2017-09-20 Pedro Alves <palves@redhat.com>
4810
4811 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4812 symbol names in gdb's output.
4813 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4814
4815 2017-09-20 Pedro Alves <palves@redhat.com>
4816
4817 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4818 Rename to ...
4819 (test_list_ambiguous_symbol): ... this and add a symbol name
4820 parameter. Adjust.
4821 (test_list_ambiguous_function): Reimplement on top of
4822 test_list_ambiguous_symbol and also test listing ambiguous
4823 variables.
4824 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4825 (ambiguous_fun): ... this.
4826 (ambiguous_var): New.
4827 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4828 (ambiguous_fun): ... this.
4829 (ambiguous_var): New.
4830
4831 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4832
4833 * gdb.base/starti.c: New file.
4834 * gdb.base/starti.exp: New file.
4835 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4836
4837 2017-09-14 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4840 (top level): Use it instead of runto.
4841
4842 2017-09-11 Tom Tromey <tom@tromey.com>
4843
4844 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4845
4846 2017-09-11 Tom Tromey <tom@tromey.com>
4847
4848 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4849 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4850
4851 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4852
4853 * gdb.fortran/printing-types.exp: New file.
4854 * gdb.fortran/printing-types.exp: New file.
4855
4856 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4857
4858 * gdb.fortran/vla-ptype.exp: Fix typos.
4859 * gdb.fortran/vla-value.exp: Same.
4860
4861 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4862
4863 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4864 * gdb.mi/mi-var-child-f.exp: Likewise.
4865 * gdb.mi/mi-vla-fortran.exp: Likewise.
4866
4867 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4868 Christoph Weinmann <christoph.t.weinmann@intel.com>
4869 Bernhard Heckel <bernhard.heckel@intel.com>
4870
4871 * gdb.fortran/ptr-indentation.f90: New file.
4872 * gdb.fortran/ptr-indentation.exp: New file.
4873
4874 2017-09-05 Tom Tromey <tom@tromey.com>
4875
4876 PR gdb/22010:
4877 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4878
4879 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4880
4881 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4882
4883 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 * gdb.threads/tls-nodebug-pie.c: New file.
4886 * gdb.threads/tls-nodebug-pie.exp: New file.
4887
4888 2017-09-05 Tom Tromey <tom@tromey.com>
4889
4890 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4891 for rust.
4892
4893 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4894
4895 * gdb.multi/multi-arch-exec.exp: Test with different
4896 "follow-exec-mode" settings.
4897 (do_test): New procedure.
4898
4899 2017-09-04 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.base/func-static.c (S::method const, S::method volatile)
4902 (S::method volatile const): New methods.
4903 (c_s, v_s, cv_s): New instances.
4904 (main): Call method() on them.
4905 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4906 (cannot_resolve): New procedure.
4907 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4908 print-quote-unquoted columns.
4909 (do_test): Test printing each scope too.
4910
4911 2017-09-04 Pedro Alves <palves@redhat.com>
4912
4913 * gdb.base/local-static.exp: Also test with
4914 class::method::variable wholly quoted.
4915 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4916
4917 2017-09-04 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.base/local-static.c: New.
4920 * gdb.base/local-static.cc: New.
4921 * gdb.base/local-static.exp: New.
4922
4923 2017-09-04 Pedro Alves <palves@redhat.com>
4924
4925 * gdb.asm/asm-source.exp: Add casts to int.
4926 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4927 (dataglobal64_1, dataglobal64_2): New globals.
4928 * gdb.base/nodebug.exp: Test different expressions involving the
4929 new globals, with print, whatis and ptype. Add casts to int.
4930 * gdb.base/solib-display.exp: Add casts to int.
4931 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4932 * gdb.cp/m-static.exp: Add cast to int.
4933 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4934 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4935 tls variable with no debug info without a cast. Test with a cast
4936 to int too.
4937 * gdb.trace/entry-values.exp: Add casts.
4938
4939 2017-09-04 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.base/nodebug.exp: Test that ptype's error about functions
4942 with unknown return type includes the function name too.
4943
4944 2017-09-04 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4947 return type of munmap in infcall.
4948 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4949 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4950 type of ftell in infcall.
4951 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4952 type of getpid in infcall.
4953 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4954 infcall.
4955 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4956 Bail on failure to extract the pid.
4957 * gdb.base/nodebug.c: #include <stdint.h>.
4958 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4959 New functions.
4960 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4961 Change expected output of print/whatis/ptype with functions with
4962 no debug info. Test all supported languages. Call
4963 test_call_promotion.
4964 * gdb.compile/compile.exp: Adjust expected output to expect
4965 warning.
4966 * gdb.threads/siginfo-threads.exp: Likewise.
4967
4968 2017-09-04 Pedro Alves <palves@redhat.com>
4969
4970 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4971 "prototypes". Test calling float functions via prototyped and
4972 unprototyped function pointers.
4973 (perform_all_tests): New parameter "prototypes". Pass it down.
4974 (top level): Pass down "prototypes" parameter to
4975 perform_all_tests.
4976
4977 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4978
4979 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4980 Test with nested loops.
4981
4982 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4983
4984 * gdb.base/commands.exp: Call the new procedures.
4985 (loop_break_test, loop_continue_test): New procedures.
4986
4987 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4988
4989 * gdb.base/commands.exp: Call new procedure.
4990 (define_if_without_arg_test): New procedure.
4991
4992 2017-09-04 Pedro Alves <palves@redhat.com>
4993
4994 * gdb.base/list-ambiguous.exp: New file.
4995 * gdb.base/list-ambiguous0.c: New file.
4996 * gdb.base/list-ambiguous1.c: New file.
4997 * gdb.base/list.exp (test_list_range): Adjust expected output.
4998
4999 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5000
5001 * gdb.base/share-env-with-gdbserver.c: New file.
5002 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5003
5004 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5005
5006 * gdb.base/commands.exp (gdbvar_simple_if_test,
5007 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5008 progvar_simple_if_test, progvar_simple_while_test,
5009 progvar_complex_if_while_test, user_defined_command_test,
5010 user_defined_command_args_eval,
5011 user_defined_command_args_stack_test,
5012 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5013 temporary_breakpoint_commands,
5014 gdb_test_no_prompt, redefine_hook_test,
5015 redefine_backtrace_test): Remove "global gdb_prompt".
5016
5017 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5018
5019 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5020 New proc, call it from toplevel.
5021
5022 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5023
5024 PR remote/21852
5025 * gdb.server/normal.c: New file, copied from gdb.base.
5026 * gdb.server/run-without-local-binary.exp: New file.
5027
5028 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5029
5030 * gdb.arch/sparc64-adi.exp: New file.
5031 * gdb.arch/sparc64-adi.c: New file.
5032
5033 2017-08-22 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5036 (top level): Add "list all overloads" tests.
5037
5038 2017-08-22 Tom Tromey <tom@tromey.com>
5039
5040 * gdb.gdb/xfullpath.exp: Remove.
5041
5042 2017-08-21 Pedro Alves <palves@redhat.com>
5043
5044 PR gdb/19487
5045 * gdb.base/symbol-alias.c: New.
5046 * gdb.base/symbol-alias2.c: New.
5047 * gdb.base/symbol-alias.exp: New.
5048
5049 2017-08-21 Pedro Alves <palves@redhat.com>
5050
5051 * gdb.base/dfp-test.c
5052 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5053 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5054 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5055 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5056 * gdb.base/whatis-ptype-typedefs.c: New.
5057 * gdb.base/whatis-ptype-typedefs.exp: New.
5058 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5059 (an_int, an_int_type, an_int_type2): New globals.
5060 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5061 involving typedefs and cast expressions.
5062 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5063 (lookup_typedefs_function): New.
5064 (typedefs_pretty_printers_dict): New.
5065 (top level): Register lookup_typedefs_function in
5066 gdb.pretty_printers.
5067
5068 2017-08-18 Yao Qi <yao.qi@linaro.org>
5069
5070 * gdb.server/unittest.exp: New.
5071
5072 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5073
5074 PR gdb/21954
5075 * gdb.base/environ.exp: Add test to check if 'unset environment'
5076 works.
5077
5078 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5079
5080 * lib/gdb.exp (universal_compile_options): New caching proc.
5081 (gdb_compile): Suppress GCC's coloring of messages.
5082
5083 2017-08-14 Tom Tromey <tom@tromey.com>
5084
5085 PR gdb/21675:
5086 * gdb.base/printcmds.exp (test_radices): New function.
5087 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5088 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5089 * lib/gdb.exp (get_integer_valueof): Use p/d.
5090
5091 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5092
5093 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5094 characters.
5095
5096 2017-08-05 Tom Tromey <tom@tromey.com>
5097
5098 * gdb.rust/simple.exp: Allow String to appear in a different
5099 namespace.
5100
5101 2017-07-26 Yao Qi <yao.qi@linaro.org>
5102
5103 * gdb.gdb/unittest.exp: Invoke command
5104 "maintenance check xml-descriptions".
5105
5106 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5107
5108 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5109 calling context.
5110 (hex128): Drop erroneous calculation of parameters.
5111
5112 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5113
5114 * gdb.python/py-unwind.exp: Disable stack protection when
5115 building test file.
5116
5117 2017-07-20 Pedro Alves <palves@redhat.com>
5118
5119 * gdb.base/default.exp (set language): Adjust expected output.
5120
5121 2017-07-20 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5124 (test_minsym): ... this, and make static.
5125 (get_pck__foo__bar__minsym): Rename to ...
5126 (get_test_minsym): ... this.
5127 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5128 symbol names and comments.
5129 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5130 (get_test_minsym): ... this.
5131 (pck__foo__bar__minsym__2): Rename to ...
5132 (test_minsym): ... this.
5133 (main): Adjust.
5134
5135 2017-07-17 Pedro Alves <palves@redhat.com>
5136
5137 * gdb.base/completion.exp: Adjust expected output.
5138 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5139 the completer works.
5140
5141 2017-07-17 Pedro Alves <palves@redhat.com>
5142
5143 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5144
5145 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5146
5147 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5148
5149 2017-07-14 Tom Tromey <tom@tromey.com>
5150
5151 PR rust/21764:
5152 * gdb.rust/simple.exp: Add tests.
5153
5154 2017-07-14 Tom Tromey <tom@tromey.com>
5155
5156 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5157
5158 2017-07-14 Pedro Alves <palves@redhat.com>
5159
5160 * gdb.linespec/base/one/thefile.cc (z1): New function.
5161 * gdb.linespec/base/two/thefile.cc (z2): New function.
5162 * gdb.linespec/linespec.exp: Add tests.
5163
5164 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5165
5166 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5167 to mi_create_breakpoint.
5168
5169 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5170
5171 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5172 mi_create_breakpoint.
5173
5174 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5175
5176 * gdb.dlang/demangle.exp: Update for demangling changes.
5177
5178 2017-07-09 Tom Tromey <tom@tromey.com>
5179
5180 * gdb.dwarf2/shortpiece.exp: New file.
5181
5182 2017-07-06 David Blaikie <dblaikie@gmail.com>
5183
5184 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5185 built from fissiont-multi-cu{1,2}.c.
5186 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5187 except putting 'main' and 'func' in separate CUs in the same DWO file.
5188 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5189 test.
5190 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5191 test.
5192
5193 2017-07-06 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.python/py-unwind.exp: Test flushregs.
5196
5197 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5198
5199 PR cli/21688
5200 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5201 tests for alias commands and trailing whitespace.
5202
5203 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5204
5205 PR cli/21688
5206 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5207 procedure. Call it.
5208
5209 2017-06-29 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.base/printcmds.exp: Add tests.
5212
5213 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5214
5215 PR gdb/21337
5216 * gdb.base/reread-readsym.exp: New file.
5217 * gdb.base/reread-readsym.c: New file.
5218
5219 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5220
5221 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5222 subpattern.
5223
5224 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5225
5226 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5227 extended mnemonic.
5228 * gdb.arch/powerpc-power9.s: Likewise.
5229
5230 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5231
5232 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5233 on 32-bit x86 targets. Exploit is_*_target macros where
5234 appropriate.
5235
5236 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5237
5238 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5239 register pieces.
5240
5241 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5242
5243 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5244 located in one or more DWARF pieces.
5245
5246 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5247
5248 * lib/gdb.exp (get_endianness): New proc.
5249 * gdb.arch/aarch64-fp.exp: Use it.
5250 * gdb.arch/altivec-regs.exp: Likewise.
5251 * gdb.arch/e500-regs.exp: Likewise.
5252 * gdb.arch/vsx-regs.exp: Likewise.
5253 * gdb.base/dump.exp: Likewise.
5254 * gdb.base/funcargs.exp: Likewise.
5255 * gdb.base/gnu_vector.exp: Likewise.
5256 * gdb.dwarf2/formdata16.exp: Likewise.
5257 * gdb.dwarf2/implptrpiece.exp: Likewise.
5258 * gdb.dwarf2/nonvar-access.exp: Likewise.
5259 * gdb.python/py-inferior.exp: Likewise.
5260 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5261
5262 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5263
5264 PR gdb/21226
5265 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5266 stack value pieces are taken from the LSB end.
5267
5268 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5269
5270 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5271 variable at nonzero offset.
5272
5273 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5274
5275 * gdb.dwarf2/var-access.c: New file.
5276 * gdb.dwarf2/var-access.exp: New test.
5277 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5278
5279 2017-06-12 Tom Tromey <tom@tromey.com>
5280
5281 * gdb.dwarf2/formdata16.exp: Add tests.
5282
5283 2017-06-12 Tom Tromey <tom@tromey.com>
5284
5285 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5286
5287 2017-06-12 Tom Tromey <tom@tromey.com>
5288
5289 PR exp/16225:
5290 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5291 * gdb.arch/vsx-regs.exp: Update tests.
5292 * gdb.arch/s390-vregs.exp (hex128): New proc.
5293 Update test.
5294 * gdb.arch/altivec-regs.exp: Update tests.
5295
5296 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5297
5298 * gdb.base/startup-with-shell.c: New file.
5299 * gdb.base/startup-with-shell.exp: Likewise.
5300
5301 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5302
5303 * gdb.server/non-existing-program.exp: Update regex in order to
5304 reflect the fact that gdbserver is now using fork_inferior (with a
5305 shell) to startup the inferior.
5306
5307 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5308
5309 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5310 support function calls from GDB.
5311
5312 2017-05-21 Tom Tromey <tom@tromey.com>
5313
5314 PR rust/21466:
5315 * gdb.rust/unsized.exp: New file.
5316 * gdb.rust/unsized.rs: New file.
5317
5318 2017-05-19 Tom Tromey <tom@tromey.com>
5319
5320 PR rust/21484:
5321 * gdb.rust/watch.exp: New file.
5322 * gdb.rust/watch.rs: New file.
5323
5324 2017-05-18 Tom Tromey <tom@tromey.com>
5325
5326 * gdb.rust/simple.exp: Allow Box to be qualified.
5327
5328 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5329
5330 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5331
5332 2017-05-18 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.base/fileio.c (test_write, test_read, test_close)
5335 (test_fstat): Don't print 'ret' in the fail path.
5336
5337 2017-05-18 Pedro Alves <palves@redhat.com>
5338
5339 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5340 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5341 (test_system, test_rename, test_unlink, test_time): Change
5342 prototypes.
5343 * gdb.base/fileio.exp (stop_msg): Adjust.
5344
5345 2017-05-18 Pedro Alves <palves@redhat.com>
5346
5347 * gdb.base/fileio.c (null_str): New global.
5348 (test_stat): Use it.
5349 * gdb.base/fileio.exp: Remove nowarnings.
5350
5351 2017-05-17 Yao Qi <yao.qi@linaro.org>
5352
5353 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5354
5355 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5356
5357 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5358 argument command.
5359 (top-level): Invoke test_set_inferior_tty.
5360
5361 2017-05-04 Pedro Alves <palves@redhat.com>
5362
5363 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5364 Add parens to print call for Python 3.
5365
5366 2017-05-03 Keith Seitz <keiths@redhat.com>
5367
5368 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5369 (main): Call it.
5370
5371 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5372
5373 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5374 to prev and next.
5375
5376 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5377
5378 * gdb.python/py-record-btrace.exp: Remove test for
5379 gdb.BtraceInstruction.error.
5380
5381 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5382
5383 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5384
5385 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5386
5387 * gdb.python/py-record-btrace-threads.c: New file.
5388 * gdb.python/py-record-btrace-threads.exp: New file.
5389
5390 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5391
5392 PR testsuite/8595
5393 * gdb.base/environ.exp: Make test available in all architectures.
5394 Move bits related to "info program" testing to
5395 gdb.base/info-program.exp. Rewrite tests to use the two new
5396 procedures mentione below.
5397 (test_set_show_env_var) New procedure.
5398 (test_set_show_env_var_equal): Likewise.
5399 * gdb.base/info-program.exp: New file.
5400
5401 2017-04-27 Keith Seitz <keiths@redhat.com>
5402
5403 * gdb.cp/oranking.cc (test15): New function.
5404 (main): Call test15 and declare additional variables for testing.
5405 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5406 "p foo101('abc')" tests.
5407 Add tests for cv qualifier overloads.
5408 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5409 "lvalue reference overload" test.
5410 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5411 "print value of f1 on Child&& in f2" test.
5412
5413 2017-04-19 Pedro Alves <palves@redhat.com>
5414
5415 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5416 procedure.
5417 (top level): Call it.
5418 * lib/gdb.exp (gdb_define_cmd): New procedure.
5419
5420 2017-04-12 Pedro Alves <palves@redhat.com>
5421
5422 PR gdb/21323
5423 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5424 (wchar): New global.
5425 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5426 (do_test_wide_char, wide_char_types_no_program, top level): Add
5427 wchar_t testing.
5428
5429 2017-04-12 Pedro Alves <palves@redhat.com>
5430
5431 PR c++/21323
5432 * gdb.cp/wide_char_types.c: New file.
5433 * gdb.cp/wide_char_types.exp: New file.
5434
5435 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5436
5437 PR gdb/21352
5438 * gdb.trace/tsv.exp: Add test for "tsave -r".
5439
5440 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5441
5442 * gdb.dlang/watch-loc.c: New file.
5443 * gdb.dlang/watch-loc.exp: New file.
5444
5445 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5448
5449 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5450
5451 * gdb.arch/arc-analyze-prologue.S: New file.
5452 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5453
5454 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5455
5456 * gdb.arch/arc-decode-insn.S: New file.
5457 * gdb.arch/arc-decode-insn.exp: Likewise.
5458
5459 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5460
5461 PR tdep/20928
5462 * gdb.arch/sparc64-regs.exp: New file.
5463 * gdb.arch/sparc64-regs.S: Likewise.
5464
5465 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5466
5467 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5468 and memory view on Python 3.
5469
5470 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5471 Keith Seitz <keiths@redhat.com>
5472
5473 PR gdb/14441
5474 * gdb.cp/demangle.exp: Add rvalue reference tests.
5475 * gdb.cp/rvalue-ref-casts.cc: New file.
5476 * gdb.cp/rvalue-ref-casts.exp: New file.
5477 * gdb.cp/rvalue-ref-overload.cc: New file.
5478 * gdb.cp/rvalue-ref-overload.exp: New file.
5479 * gdb.cp/rvalue-ref-params.cc: New file.
5480 * gdb.cp/rvalue-ref-params.exp: New file.
5481 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5482 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5483 * gdb.cp/rvalue-ref-types.cc: New file.
5484 * gdb.cp/rvalue-ref-types.exp: New file.
5485 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5486 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5487
5488 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5489
5490 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5491 New procedure.
5492
5493 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5494
5495 * lib/mi-support.exp (mi_gdb_test): Add additional message
5496 for unexpected output.
5497
5498 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5499
5500 * gdb.base/examine-backward.c (Barrier): New character array
5501 constant, to ensure that TestStrings is preceded by a string
5502 terminator.
5503
5504 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5505
5506 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5507 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5508 and implicit pointer into such a location.
5509
5510 2017-03-16 Doug Evans <dje@google.com>
5511
5512 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5513
5514 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5515
5516 * gdb.cp/m-static.exp: Fix expectation for prototype of
5517 test5.single_constructor and single_constructor::single_constructor.
5518
5519 2017-03-16 Doug Evans <dje@google.com>
5520
5521 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5522 * gdb.guile/scm-lazy-string.c: New file.
5523 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5524 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5525 for pointer, array, typedef lazy strings.
5526
5527 2017-03-16 Doug Evans <dje@google.com>
5528
5529 PR python/17728, python/18439, python/18779
5530 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5531 * gdb.python/py-lazy-string.c (pointer): New typedef.
5532 (main): New locals ptr, array, typedef_ptr.
5533 * gdb.python/py-value.exp: Move lazy string tests to ...
5534 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5535 array, typedef lazy strings.
5536
5537 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5538
5539 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5540 Add optional 'test' parameter.
5541
5542 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5543
5544 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5545 Skip for versions of DejaGnu < 1.5.
5546
5547 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5548
5549 * lib/gdb.exp (dejagnu_version): New proc.
5550 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5551 Use dejagnu_version.
5552
5553 2017-03-10 Keith Seitz <keiths@redhat.com>
5554
5555 PR c++/8128
5556 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5557 type from destructor regexps.
5558 Add a branch which actually passes the test.
5559 Adjust "ptype t5i" test names.
5560
5561 2017-03-08 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.base/step-over-exit.exp: Add explicit test message.
5564
5565 2017-03-08 Pedro Alves <palves@redhat.com>
5566
5567 PR gdb/18360
5568 * gdb.threads/interrupt-while-step-over.c: New file.
5569 * gdb.threads/interrupt-while-step-over.exp: New file.
5570
5571 2017-03-08 Pedro Alves <palves@redhat.com>
5572
5573 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5574 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5575
5576 2017-03-08 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5579 PKRU as not supported as a PASS.
5580
5581 2017-03-08 Pedro Alves <palves@redhat.com>
5582
5583 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5584 prefix instead of $binfile1/$binfile2.
5585 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5586 in test message.
5587 * gdb.python/py-completion.exp: Use "load python file" as test
5588 messages instead of unstable path names.
5589
5590 2017-03-08 Pedro Alves <palves@redhat.com>
5591 Jan Kratochvil <jan.kratochvil@redhat.com>
5592
5593 PR cli/21218
5594 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5595 New proc.
5596 (top level): Call it.
5597
5598 2017-03-08 Pedro Alves <palves@redhat.com>
5599
5600 PR tui/21216
5601 * gdb.tui/tui-nl-filtered-output.exp: New file.
5602
5603 2017-03-08 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/completion.exp: Move TUI completion tests to ...
5606 * gdb.tui/completion.exp: ... this new file.
5607
5608 2017-03-08 Pedro Alves <palves@redhat.com>
5609
5610 * gdb.base/tui-disasm-long-lines.c,
5611 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5612 gdb.base/tui-layout.exp: Move to ...
5613 * gdb.tui/: ... this new directory.
5614
5615 2017-03-07 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.base/tui-layout.c: New file.
5618 * gdb.base/tui-layout.exp: New file.
5619
5620 2017-03-07 Pedro Alves <palves@redhat.com>
5621
5622 * gdb.base/tui-layout.c: Rename to ...
5623 * gdb.base/tui-disasm-long-lines.c: ... this.
5624 * gdb.base/tui-layout.exp: Rename to ...
5625 * gdb.base/tui-disasm-long-lines.exp: ... this.
5626
5627 2017-03-07 Pedro Alves <palves@redhat.com>
5628
5629 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5630
5631 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5632
5633 * i386-mpx-call.c: New file.
5634 * i386-mpx-call.exp: New file.
5635
5636 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5637
5638 * gdb.arch/powerpc-power.exp: Delete test.
5639 * gdb.arch/powerpc-power.s: Likewise.
5640 * gdb.disasm/disassembler-options.exp: New test.
5641 * gdb.arch/powerpc-altivec.exp: Likewise.
5642 * gdb.arch/powerpc-altivec.s: Likewise.
5643 * gdb.arch/powerpc-altivec2.exp: Likewise.
5644 * gdb.arch/powerpc-altivec2.s: Likewise.
5645 * gdb.arch/powerpc-altivec3.exp: Likewise.
5646 * gdb.arch/powerpc-altivec3.s: Likewise.
5647 * gdb.arch/powerpc-power7.exp: Likewise.
5648 * gdb.arch/powerpc-power7.s: Likewise.
5649 * gdb.arch/powerpc-power8.exp: Likewise.
5650 * gdb.arch/powerpc-power8.s: Likewise.
5651 * gdb.arch/powerpc-power9.exp: Likewise.
5652 * gdb.arch/powerpc-power9.s: Likewise.
5653 * gdb.arch/powerpc-vsx.exp: Likewise.
5654 * gdb.arch/powerpc-vsx.s: Likewise.
5655 * gdb.arch/powerpc-vsx2.exp: Likewise.
5656 * gdb.arch/powerpc-vsx2.s: Likewise.
5657 * gdb.arch/powerpc-vsx3.exp: Likewise.
5658 * gdb.arch/powerpc-vsx3.s: Likewise.
5659 * gdb.arch/arm-disassembler-options.exp: Likewise.
5660 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5661 * gdb.arch/s390-disassembler-options.exp: Likewise.
5662
5663 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5664
5665 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5666 (check_supported_features): ... this. Changed return type to void.
5667 (supports_rdseed): New static global.
5668 (rdseed): Check supports_rdseed.
5669 (initialize): Call check_supported_features.
5670
5671 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5672
5673 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5674 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5675 and lqarx/stqcx.
5676 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5677 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5678
5679 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5680
5681 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5682 uppercase.
5683
5684 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5685
5686 * gdb.dwarf2/formdata16.c: New file.
5687 * gdb.dwarf2/formdata16.exp: New file.
5688 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5689
5690 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5691
5692 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5693 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5694 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5695 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5696 DW_AT_GNU_*.
5697
5698 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5699
5700 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5701
5702 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5703
5704 PR gdb/21164
5705 * gdb.base/maint.exp: Add testcases for when the commands do
5706 not have arguments.
5707
5708 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5709
5710 * gdb.cp/chained-calls.exp: Use p instead of P.
5711
5712 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5713
5714 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5715 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5716
5717 2017-02-14 Tom Tromey <tom@tromey.com>
5718
5719 PR python/13598:
5720 * gdb.python/py-events.exp: Add before_prompt event tests.
5721
5722 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5723
5724 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5725
5726 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5727
5728 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5729 (main): Call my_unique_function_name.
5730 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5731 completion of patterns with a single match.
5732 Add missing -re switches to gdb_test_multiple calls.
5733
5734 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5735
5736 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5737 return if core file is not recognized.
5738
5739 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5740
5741 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5742 and extra UIs.
5743
5744 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5745
5746 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5747 proc_with_prefix.
5748
5749 2017-02-10 Tom Tromey <tom@tromey.com>
5750
5751 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5752
5753 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5754
5755 PR gdb/21122
5756 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5757
5758 2017-02-08 Jerome Guitton <guitton@adacore.com>
5759
5760 * gdb.base/define.exp: Add test for command abbreviations
5761 in define.
5762
5763 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5764
5765 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5766 * gdb.reverse/insn-reverse-x86.c: New file.
5767
5768 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5769
5770 PR tdep/20936
5771 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5772
5773 2017-02-03 Tom Tromey <tom@tromey.com>
5774
5775 PR rust/21097:
5776 * gdb.rust/simple.exp: Add new tests.
5777
5778 2017-02-02 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5781 tests.
5782
5783 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5784
5785 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5786 taking a 2-byte value out of a 4-byte DWARF implicit value on
5787 big-endian targets.
5788 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5789 logic. Add test cases for DW_OP_implicit.
5790
5791 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5792
5793 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5794
5795 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5796
5797 * gdb.btrace/enable.exp: Call gdb_exit before
5798 skip_gdbserver_tests.
5799
5800 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5801
5802 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5803 GDBFLAGS.
5804
5805 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5806
5807 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5808 the test is skipped.
5809 * gdb.btrace/data.exp: Likewise.
5810 * gdb.btrace/delta.exp: Likewise.
5811 * gdb.btrace/dlopen.exp: Likewise.
5812 * gdb.btrace/enable-running.exp: Likewise.
5813 * gdb.btrace/enable.exp: Likewise.
5814 * gdb.btrace/exception.exp: Likewise.
5815 * gdb.btrace/function_call_history.exp: Likewise.
5816 * gdb.btrace/gcore.exp: Likewise.
5817 * gdb.btrace/instruction_history.exp: Likewise.
5818 * gdb.btrace/multi-thread-step.exp: Likewise.
5819 * gdb.btrace/nohist.exp: Likewise.
5820 * gdb.btrace/non-stop.exp: Likewise.
5821 * gdb.btrace/reconnect.exp: Likewise.
5822 * gdb.btrace/record_goto-step.exp: Likewise.
5823 * gdb.btrace/record_goto.exp: Likewise.
5824 * gdb.btrace/rn-dl-bind.exp: Likewise.
5825 * gdb.btrace/segv.exp: Likewise.
5826 * gdb.btrace/step.exp: Likewise.
5827 * gdb.btrace/stepi.exp: Likewise.
5828 * gdb.btrace/tailcall-only.exp: Likewise.
5829 * gdb.btrace/tailcall.exp: Likewise.
5830 * gdb.btrace/tsx.exp: Likewise.
5831 * gdb.btrace/unknown_functions.exp: Likewise.
5832 * gdb.btrace/vdso.exp: Likewise.
5833
5834 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5835
5836 * gdb.btrace/enable-running.c: New.
5837 * gdb.btrace/enable-running.exp: New.
5838
5839 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5840
5841 * gdb.arch/amd64-gs_base.c: New file.
5842 * gdb.arch/amd64-gs_base.exp: New file.
5843
5844 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5845
5846 * lib/memory.exp: Remove spurious empty newlines.
5847
5848 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5849
5850 * gdb.python/py-bad-printers.exp: Load python file using "source".
5851 * gdb.python/py-events.exp: Likewise.
5852 * gdb.python/py-evsignal.exp: Likewise.
5853 * gdb.python/py-evthreads.exp: Likewise.
5854 * gdb.python/py-frame-args.exp: Likewise.
5855 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5856 * gdb.python/py-framefilter-mi.exp: Likewise.
5857 * gdb.python/py-framefilter.exp: Likewise.
5858 * gdb.python/py-mi.exp: Likewise.
5859 * gdb.python/py-pp-maint.exp: Likewise.
5860 * gdb.python/py-pp-registration.exp: Likewise.
5861 * gdb.python/py-prettyprint.exp: Likewise.
5862 (run_lang_tests): Likewise.
5863 * gdb.python/py-typeprint.exp: Likewise.
5864
5865 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5866
5867 * lib/memory.exp: New file.
5868 * lib/gdb.exp: Load memory.exp.
5869 * gdb.base/memattr.exp (delete_memory): Move proc to
5870 lib/memory.exp and rename to delete_memory_regions.
5871 Replace delete_memory with delete_memory_regions.
5872 Cleanup memory regions before tests.
5873 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5874 before tests.
5875
5876 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5877
5878 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5879 files.
5880 (initialize): New function conditionally defined.
5881 (testcases): Move within conditional block.
5882 (main): Call initialize.
5883 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5884 of gdb.reverse/insn-reverse.c.
5885 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5886 gdb.reverse/insn-reverse.c.
5887
5888 2017-01-26 Yao Qi <yao.qi@linaro.org>
5889
5890 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5891 disassemble on address 0.
5892
5893 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5894 Yao Qi <yao.qi@linaro.org>
5895
5896 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5897 * gdb.dwarf2/implptr-64bit.S: Remove.
5898 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5899 variables in caller's context. Add DW_OP_implicit_value.
5900
5901 2017-01-25 Yao Qi <yao.qi@linaro.org>
5902
5903 * lib/dwarf.exp (Dwarf::_location): Handle
5904 DW_OP_GNU_implicit_pointer with proper size.
5905
5906 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5907
5908 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5909 and add untested calls.
5910
5911 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5912
5913 * gdb.python/python.exp: Check line number against what GDB thinks
5914 the line number is for func1.
5915
5916 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5917
5918 * gdb.dlang/debug-expr.exp: New file.
5919
5920 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5921
5922 Fix test names for the following files:
5923
5924 * gdb.ada/exec_changed.exp
5925 * gdb.ada/info_types.exp
5926 * gdb.arch/aarch64-atomic-inst.exp
5927 * gdb.arch/aarch64-fp.exp
5928 * gdb.arch/altivec-abi.exp
5929 * gdb.arch/altivec-regs.exp
5930 * gdb.arch/amd64-byte.exp
5931 * gdb.arch/amd64-disp-step.exp
5932 * gdb.arch/amd64-dword.exp
5933 * gdb.arch/amd64-entry-value-inline.exp
5934 * gdb.arch/amd64-entry-value-param.exp
5935 * gdb.arch/amd64-entry-value-paramref.exp
5936 * gdb.arch/amd64-entry-value.exp
5937 * gdb.arch/amd64-i386-address.exp
5938 * gdb.arch/amd64-invalid-stack-middle.exp
5939 * gdb.arch/amd64-invalid-stack-top.exp
5940 * gdb.arch/amd64-optimout-repeat.exp
5941 * gdb.arch/amd64-prologue-skip.exp
5942 * gdb.arch/amd64-prologue-xmm.exp
5943 * gdb.arch/amd64-stap-special-operands.exp
5944 * gdb.arch/amd64-stap-wrong-subexp.exp
5945 * gdb.arch/amd64-tailcall-cxx.exp
5946 * gdb.arch/amd64-tailcall-noret.exp
5947 * gdb.arch/amd64-tailcall-ret.exp
5948 * gdb.arch/amd64-tailcall-self.exp
5949 * gdb.arch/amd64-word.exp
5950 * gdb.arch/arm-bl-branch-dest.exp
5951 * gdb.arch/arm-disp-step.exp
5952 * gdb.arch/arm-neon.exp
5953 * gdb.arch/arm-single-step-kernel-helper.exp
5954 * gdb.arch/avr-flash-qualifier.exp
5955 * gdb.arch/disp-step-insn-reloc.exp
5956 * gdb.arch/e500-abi.exp
5957 * gdb.arch/e500-regs.exp
5958 * gdb.arch/ftrace-insn-reloc.exp
5959 * gdb.arch/i386-avx512.exp
5960 * gdb.arch/i386-bp_permanent.exp
5961 * gdb.arch/i386-byte.exp
5962 * gdb.arch/i386-cfi-notcurrent.exp
5963 * gdb.arch/i386-disp-step.exp
5964 * gdb.arch/i386-dr3-watch.exp
5965 * gdb.arch/i386-float.exp
5966 * gdb.arch/i386-gnu-cfi.exp
5967 * gdb.arch/i386-mpx-map.exp
5968 * gdb.arch/i386-mpx-sigsegv.exp
5969 * gdb.arch/i386-mpx-simple_segv.exp
5970 * gdb.arch/i386-mpx.exp
5971 * gdb.arch/i386-permbkpt.exp
5972 * gdb.arch/i386-prologue.exp
5973 * gdb.arch/i386-signal.exp
5974 * gdb.arch/i386-size-overlap.exp
5975 * gdb.arch/i386-unwind.exp
5976 * gdb.arch/i386-word.exp
5977 * gdb.arch/mips-fcr.exp
5978 * gdb.arch/powerpc-d128-regs.exp
5979 * gdb.arch/powerpc-stackless.exp
5980 * gdb.arch/ppc64-atomic-inst.exp
5981 * gdb.arch/s390-stackless.exp
5982 * gdb.arch/s390-tdbregs.exp
5983 * gdb.arch/s390-vregs.exp
5984 * gdb.arch/sparc-sysstep.exp
5985 * gdb.arch/thumb-bx-pc.exp
5986 * gdb.arch/thumb-singlestep.exp
5987 * gdb.arch/thumb2-it.exp
5988 * gdb.arch/vsx-regs.exp
5989 * gdb.asm/asm-source.exp
5990 * gdb.base/a2-run.exp
5991 * gdb.base/advance.exp
5992 * gdb.base/all-bin.exp
5993 * gdb.base/anon.exp
5994 * gdb.base/args.exp
5995 * gdb.base/arithmet.exp
5996 * gdb.base/async-shell.exp
5997 * gdb.base/async.exp
5998 * gdb.base/attach-pie-noexec.exp
5999 * gdb.base/attach-twice.exp
6000 * gdb.base/auto-load.exp
6001 * gdb.base/bang.exp
6002 * gdb.base/bitfields.exp
6003 * gdb.base/break-always.exp
6004 * gdb.base/break-caller-line.exp
6005 * gdb.base/break-entry.exp
6006 * gdb.base/break-inline.exp
6007 * gdb.base/break-on-linker-gcd-function.exp
6008 * gdb.base/break-probes.exp
6009 * gdb.base/break.exp
6010 * gdb.base/breakpoint-shadow.exp
6011 * gdb.base/call-ar-st.exp
6012 * gdb.base/call-sc.exp
6013 * gdb.base/call-signal-resume.exp
6014 * gdb.base/call-strs.exp
6015 * gdb.base/callfuncs.exp
6016 * gdb.base/catch-fork-static.exp
6017 * gdb.base/catch-gdb-caused-signals.exp
6018 * gdb.base/catch-load.exp
6019 * gdb.base/catch-signal-fork.exp
6020 * gdb.base/catch-signal.exp
6021 * gdb.base/catch-syscall.exp
6022 * gdb.base/charset.exp
6023 * gdb.base/checkpoint.exp
6024 * gdb.base/chng-syms.exp
6025 * gdb.base/code-expr.exp
6026 * gdb.base/code_elim.exp
6027 * gdb.base/commands.exp
6028 * gdb.base/completion.exp
6029 * gdb.base/complex.exp
6030 * gdb.base/cond-expr.exp
6031 * gdb.base/condbreak.exp
6032 * gdb.base/consecutive.exp
6033 * gdb.base/continue-all-already-running.exp
6034 * gdb.base/coredump-filter.exp
6035 * gdb.base/corefile.exp
6036 * gdb.base/dbx.exp
6037 * gdb.base/debug-expr.exp
6038 * gdb.base/define.exp
6039 * gdb.base/del.exp
6040 * gdb.base/disabled-location.exp
6041 * gdb.base/disasm-end-cu.exp
6042 * gdb.base/disasm-optim.exp
6043 * gdb.base/display.exp
6044 * gdb.base/duplicate-bp.exp
6045 * gdb.base/ena-dis-br.exp
6046 * gdb.base/ending-run.exp
6047 * gdb.base/enumval.exp
6048 * gdb.base/environ.exp
6049 * gdb.base/eu-strip-infcall.exp
6050 * gdb.base/eval-avoid-side-effects.exp
6051 * gdb.base/eval-skip.exp
6052 * gdb.base/exitsignal.exp
6053 * gdb.base/expand-psymtabs.exp
6054 * gdb.base/filesym.exp
6055 * gdb.base/find-unmapped.exp
6056 * gdb.base/finish.exp
6057 * gdb.base/float.exp
6058 * gdb.base/foll-exec-mode.exp
6059 * gdb.base/foll-exec.exp
6060 * gdb.base/foll-fork.exp
6061 * gdb.base/fortran-sym-case.exp
6062 * gdb.base/freebpcmd.exp
6063 * gdb.base/func-ptr.exp
6064 * gdb.base/func-ptrs.exp
6065 * gdb.base/funcargs.exp
6066 * gdb.base/gcore-buffer-overflow.exp
6067 * gdb.base/gcore-relro-pie.exp
6068 * gdb.base/gcore-relro.exp
6069 * gdb.base/gcore.exp
6070 * gdb.base/gdb1090.exp
6071 * gdb.base/gdb11530.exp
6072 * gdb.base/gdb11531.exp
6073 * gdb.base/gdb1821.exp
6074 * gdb.base/gdbindex-stabs.exp
6075 * gdb.base/gdbvars.exp
6076 * gdb.base/hbreak.exp
6077 * gdb.base/hbreak2.exp
6078 * gdb.base/included.exp
6079 * gdb.base/infcall-input.exp
6080 * gdb.base/inferior-died.exp
6081 * gdb.base/infnan.exp
6082 * gdb.base/info-macros.exp
6083 * gdb.base/info-os.exp
6084 * gdb.base/info-proc.exp
6085 * gdb.base/info-shared.exp
6086 * gdb.base/info-target.exp
6087 * gdb.base/infoline.exp
6088 * gdb.base/interp.exp
6089 * gdb.base/interrupt.exp
6090 * gdb.base/jit-reader.exp
6091 * gdb.base/jit-simple.exp
6092 * gdb.base/kill-after-signal.exp
6093 * gdb.base/kill-detach-inferiors-cmd.exp
6094 * gdb.base/label.exp
6095 * gdb.base/langs.exp
6096 * gdb.base/ldbl_e308.exp
6097 * gdb.base/line-symtabs.exp
6098 * gdb.base/linespecs.exp
6099 * gdb.base/list.exp
6100 * gdb.base/long_long.exp
6101 * gdb.base/longest-types.exp
6102 * gdb.base/maint.exp
6103 * gdb.base/max-value-size.exp
6104 * gdb.base/memattr.exp
6105 * gdb.base/mips_pro.exp
6106 * gdb.base/morestack.exp
6107 * gdb.base/moribund-step.exp
6108 * gdb.base/multi-forks.exp
6109 * gdb.base/nested-addr.exp
6110 * gdb.base/nextoverexit.exp
6111 * gdb.base/noreturn-finish.exp
6112 * gdb.base/noreturn-return.exp
6113 * gdb.base/nostdlib.exp
6114 * gdb.base/offsets.exp
6115 * gdb.base/opaque.exp
6116 * gdb.base/pc-fp.exp
6117 * gdb.base/permissions.exp
6118 * gdb.base/print-symbol-loading.exp
6119 * gdb.base/prologue-include.exp
6120 * gdb.base/psymtab.exp
6121 * gdb.base/ptype.exp
6122 * gdb.base/random-signal.exp
6123 * gdb.base/randomize.exp
6124 * gdb.base/range-stepping.exp
6125 * gdb.base/readline-ask.exp
6126 * gdb.base/recpar.exp
6127 * gdb.base/recurse.exp
6128 * gdb.base/relational.exp
6129 * gdb.base/restore.exp
6130 * gdb.base/return-nodebug.exp
6131 * gdb.base/return.exp
6132 * gdb.base/run-after-attach.exp
6133 * gdb.base/save-bp.exp
6134 * gdb.base/scope.exp
6135 * gdb.base/sect-cmd.exp
6136 * gdb.base/set-lang-auto.exp
6137 * gdb.base/set-noassign.exp
6138 * gdb.base/setvar.exp
6139 * gdb.base/sigall.exp
6140 * gdb.base/sigbpt.exp
6141 * gdb.base/siginfo-addr.exp
6142 * gdb.base/siginfo-infcall.exp
6143 * gdb.base/siginfo-obj.exp
6144 * gdb.base/siginfo.exp
6145 * gdb.base/signals-state-child.exp
6146 * gdb.base/signest.exp
6147 * gdb.base/sigstep.exp
6148 * gdb.base/sizeof.exp
6149 * gdb.base/skip.exp
6150 * gdb.base/solib-corrupted.exp
6151 * gdb.base/solib-nodir.exp
6152 * gdb.base/solib-search.exp
6153 * gdb.base/stack-checking.exp
6154 * gdb.base/stale-infcall.exp
6155 * gdb.base/stap-probe.exp
6156 * gdb.base/start.exp
6157 * gdb.base/step-break.exp
6158 * gdb.base/step-bt.exp
6159 * gdb.base/step-line.exp
6160 * gdb.base/step-over-exit.exp
6161 * gdb.base/step-over-syscall.exp
6162 * gdb.base/step-resume-infcall.exp
6163 * gdb.base/step-test.exp
6164 * gdb.base/store.exp
6165 * gdb.base/structs3.exp
6166 * gdb.base/sym-file.exp
6167 * gdb.base/symbol-without-target_section.exp
6168 * gdb.base/term.exp
6169 * gdb.base/testenv.exp
6170 * gdb.base/ui-redirect.exp
6171 * gdb.base/until.exp
6172 * gdb.base/unwindonsignal.exp
6173 * gdb.base/value-double-free.exp
6174 * gdb.base/vla-datatypes.exp
6175 * gdb.base/vla-ptr.exp
6176 * gdb.base/vla-sideeffect.exp
6177 * gdb.base/volatile.exp
6178 * gdb.base/watch-cond-infcall.exp
6179 * gdb.base/watch-cond.exp
6180 * gdb.base/watch-non-mem.exp
6181 * gdb.base/watch-read.exp
6182 * gdb.base/watch-vfork.exp
6183 * gdb.base/watchpoint-cond-gone.exp
6184 * gdb.base/watchpoint-delete.exp
6185 * gdb.base/watchpoint-hw-hit-once.exp
6186 * gdb.base/watchpoint-hw.exp
6187 * gdb.base/watchpoint-stops-at-right-insn.exp
6188 * gdb.base/watchpoints.exp
6189 * gdb.base/wchar.exp
6190 * gdb.base/whatis-exp.exp
6191 * gdb.btrace/buffer-size.exp
6192 * gdb.btrace/data.exp
6193 * gdb.btrace/delta.exp
6194 * gdb.btrace/dlopen.exp
6195 * gdb.btrace/enable.exp
6196 * gdb.btrace/exception.exp
6197 * gdb.btrace/function_call_history.exp
6198 * gdb.btrace/gcore.exp
6199 * gdb.btrace/instruction_history.exp
6200 * gdb.btrace/nohist.exp
6201 * gdb.btrace/reconnect.exp
6202 * gdb.btrace/record_goto-step.exp
6203 * gdb.btrace/record_goto.exp
6204 * gdb.btrace/rn-dl-bind.exp
6205 * gdb.btrace/segv.exp
6206 * gdb.btrace/step.exp
6207 * gdb.btrace/stepi.exp
6208 * gdb.btrace/tailcall-only.exp
6209 * gdb.btrace/tailcall.exp
6210 * gdb.btrace/tsx.exp
6211 * gdb.btrace/unknown_functions.exp
6212 * gdb.btrace/vdso.exp
6213 * gdb.compile/compile-ifunc.exp
6214 * gdb.compile/compile-ops.exp
6215 * gdb.compile/compile-print.exp
6216 * gdb.compile/compile-setjmp.exp
6217 * gdb.cp/abstract-origin.exp
6218 * gdb.cp/ambiguous.exp
6219 * gdb.cp/annota2.exp
6220 * gdb.cp/annota3.exp
6221 * gdb.cp/anon-ns.exp
6222 * gdb.cp/anon-struct.exp
6223 * gdb.cp/anon-union.exp
6224 * gdb.cp/arg-reference.exp
6225 * gdb.cp/baseenum.exp
6226 * gdb.cp/bool.exp
6227 * gdb.cp/breakpoint.exp
6228 * gdb.cp/bs15503.exp
6229 * gdb.cp/call-c.exp
6230 * gdb.cp/casts.exp
6231 * gdb.cp/chained-calls.exp
6232 * gdb.cp/class2.exp
6233 * gdb.cp/classes.exp
6234 * gdb.cp/cmpd-minsyms.exp
6235 * gdb.cp/converts.exp
6236 * gdb.cp/cp-relocate.exp
6237 * gdb.cp/cpcompletion.exp
6238 * gdb.cp/cpexprs.exp
6239 * gdb.cp/cplabel.exp
6240 * gdb.cp/cplusfuncs.exp
6241 * gdb.cp/cpsizeof.exp
6242 * gdb.cp/ctti.exp
6243 * gdb.cp/derivation.exp
6244 * gdb.cp/destrprint.exp
6245 * gdb.cp/dispcxx.exp
6246 * gdb.cp/enum-class.exp
6247 * gdb.cp/exception.exp
6248 * gdb.cp/exceptprint.exp
6249 * gdb.cp/expand-psymtabs-cxx.exp
6250 * gdb.cp/expand-sals.exp
6251 * gdb.cp/extern-c.exp
6252 * gdb.cp/filename.exp
6253 * gdb.cp/formatted-ref.exp
6254 * gdb.cp/fpointer.exp
6255 * gdb.cp/gdb1355.exp
6256 * gdb.cp/gdb2495.exp
6257 * gdb.cp/hang.exp
6258 * gdb.cp/impl-this.exp
6259 * gdb.cp/infcall-dlopen.exp
6260 * gdb.cp/inherit.exp
6261 * gdb.cp/iostream.exp
6262 * gdb.cp/koenig.exp
6263 * gdb.cp/local.exp
6264 * gdb.cp/m-data.exp
6265 * gdb.cp/m-static.exp
6266 * gdb.cp/mb-ctor.exp
6267 * gdb.cp/mb-inline.exp
6268 * gdb.cp/mb-templates.exp
6269 * gdb.cp/member-name.exp
6270 * gdb.cp/member-ptr.exp
6271 * gdb.cp/meth-typedefs.exp
6272 * gdb.cp/method.exp
6273 * gdb.cp/method2.exp
6274 * gdb.cp/minsym-fallback.exp
6275 * gdb.cp/misc.exp
6276 * gdb.cp/namelessclass.exp
6277 * gdb.cp/namespace-enum.exp
6278 * gdb.cp/namespace-nested-import.exp
6279 * gdb.cp/namespace.exp
6280 * gdb.cp/nextoverthrow.exp
6281 * gdb.cp/no-dmgl-verbose.exp
6282 * gdb.cp/non-trivial-retval.exp
6283 * gdb.cp/noparam.exp
6284 * gdb.cp/nsdecl.exp
6285 * gdb.cp/nsimport.exp
6286 * gdb.cp/nsnested.exp
6287 * gdb.cp/nsnoimports.exp
6288 * gdb.cp/nsrecurs.exp
6289 * gdb.cp/nsstress.exp
6290 * gdb.cp/nsusing.exp
6291 * gdb.cp/operator.exp
6292 * gdb.cp/oranking.exp
6293 * gdb.cp/overload-const.exp
6294 * gdb.cp/overload.exp
6295 * gdb.cp/ovldbreak.exp
6296 * gdb.cp/ovsrch.exp
6297 * gdb.cp/paren-type.exp
6298 * gdb.cp/parse-lang.exp
6299 * gdb.cp/pass-by-ref.exp
6300 * gdb.cp/pr-1023.exp
6301 * gdb.cp/pr-1210.exp
6302 * gdb.cp/pr-574.exp
6303 * gdb.cp/pr10687.exp
6304 * gdb.cp/pr12028.exp
6305 * gdb.cp/pr17132.exp
6306 * gdb.cp/pr17494.exp
6307 * gdb.cp/pr9067.exp
6308 * gdb.cp/pr9167.exp
6309 * gdb.cp/pr9631.exp
6310 * gdb.cp/printmethod.exp
6311 * gdb.cp/psmang.exp
6312 * gdb.cp/psymtab-parameter.exp
6313 * gdb.cp/ptype-cv-cp.exp
6314 * gdb.cp/ptype-flags.exp
6315 * gdb.cp/re-set-overloaded.exp
6316 * gdb.cp/ref-types.exp
6317 * gdb.cp/rtti.exp
6318 * gdb.cp/scope-err.exp
6319 * gdb.cp/shadow.exp
6320 * gdb.cp/smartp.exp
6321 * gdb.cp/static-method.exp
6322 * gdb.cp/static-print-quit.exp
6323 * gdb.cp/temargs.exp
6324 * gdb.cp/templates.exp
6325 * gdb.cp/try_catch.exp
6326 * gdb.cp/typedef-operator.exp
6327 * gdb.cp/typeid.exp
6328 * gdb.cp/userdef.exp
6329 * gdb.cp/using-crash.exp
6330 * gdb.cp/var-tag.exp
6331 * gdb.cp/virtbase.exp
6332 * gdb.cp/virtfunc.exp
6333 * gdb.cp/virtfunc2.exp
6334 * gdb.cp/vla-cxx.exp
6335 * gdb.disasm/t01_mov.exp
6336 * gdb.disasm/t02_mova.exp
6337 * gdb.disasm/t03_add.exp
6338 * gdb.disasm/t04_sub.exp
6339 * gdb.disasm/t05_cmp.exp
6340 * gdb.disasm/t06_ari2.exp
6341 * gdb.disasm/t07_ari3.exp
6342 * gdb.disasm/t08_or.exp
6343 * gdb.disasm/t09_xor.exp
6344 * gdb.disasm/t10_and.exp
6345 * gdb.disasm/t11_logs.exp
6346 * gdb.disasm/t12_bit.exp
6347 * gdb.disasm/t13_otr.exp
6348 * gdb.dlang/circular.exp
6349 * gdb.dwarf2/arr-stride.exp
6350 * gdb.dwarf2/arr-subrange.exp
6351 * gdb.dwarf2/atomic-type.exp
6352 * gdb.dwarf2/bad-regnum.exp
6353 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6354 * gdb.dwarf2/callframecfa.exp
6355 * gdb.dwarf2/clztest.exp
6356 * gdb.dwarf2/corrupt.exp
6357 * gdb.dwarf2/data-loc.exp
6358 * gdb.dwarf2/dup-psym.exp
6359 * gdb.dwarf2/dw2-anon-mptr.exp
6360 * gdb.dwarf2/dw2-anonymous-func.exp
6361 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6362 * gdb.dwarf2/dw2-bad-unresolved.exp
6363 * gdb.dwarf2/dw2-basic.exp
6364 * gdb.dwarf2/dw2-canonicalize-type.exp
6365 * gdb.dwarf2/dw2-case-insensitive.exp
6366 * gdb.dwarf2/dw2-common-block.exp
6367 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6368 * gdb.dwarf2/dw2-compressed.exp
6369 * gdb.dwarf2/dw2-const.exp
6370 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6371 * gdb.dwarf2/dw2-cu-size.exp
6372 * gdb.dwarf2/dw2-dup-frame.exp
6373 * gdb.dwarf2/dw2-entry-value.exp
6374 * gdb.dwarf2/dw2-icycle.exp
6375 * gdb.dwarf2/dw2-ifort-parameter.exp
6376 * gdb.dwarf2/dw2-inline-break.exp
6377 * gdb.dwarf2/dw2-inline-param.exp
6378 * gdb.dwarf2/dw2-intercu.exp
6379 * gdb.dwarf2/dw2-intermix.exp
6380 * gdb.dwarf2/dw2-lexical-block-bare.exp
6381 * gdb.dwarf2/dw2-linkage-name-trust.exp
6382 * gdb.dwarf2/dw2-minsym-in-cu.exp
6383 * gdb.dwarf2/dw2-noloc.exp
6384 * gdb.dwarf2/dw2-op-call.exp
6385 * gdb.dwarf2/dw2-op-out-param.exp
6386 * gdb.dwarf2/dw2-opt-structptr.exp
6387 * gdb.dwarf2/dw2-param-error.exp
6388 * gdb.dwarf2/dw2-producer.exp
6389 * gdb.dwarf2/dw2-ranges-base.exp
6390 * gdb.dwarf2/dw2-ref-missing-frame.exp
6391 * gdb.dwarf2/dw2-reg-undefined.exp
6392 * gdb.dwarf2/dw2-regno-invalid.exp
6393 * gdb.dwarf2/dw2-restore.exp
6394 * gdb.dwarf2/dw2-restrict.exp
6395 * gdb.dwarf2/dw2-single-line-discriminators.exp
6396 * gdb.dwarf2/dw2-strp.exp
6397 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6398 * gdb.dwarf2/dw2-unresolved.exp
6399 * gdb.dwarf2/dw2-var-zero-addr.exp
6400 * gdb.dwarf2/dw4-sig-types.exp
6401 * gdb.dwarf2/dwz.exp
6402 * gdb.dwarf2/dynarr-ptr.exp
6403 * gdb.dwarf2/enum-type.exp
6404 * gdb.dwarf2/gdb-index.exp
6405 * gdb.dwarf2/implptr-64bit.exp
6406 * gdb.dwarf2/implptr-optimized-out.exp
6407 * gdb.dwarf2/implptr.exp
6408 * gdb.dwarf2/implref-array.exp
6409 * gdb.dwarf2/implref-const.exp
6410 * gdb.dwarf2/implref-global.exp
6411 * gdb.dwarf2/implref-struct.exp
6412 * gdb.dwarf2/mac-fileno.exp
6413 * gdb.dwarf2/main-subprogram.exp
6414 * gdb.dwarf2/member-ptr-forwardref.exp
6415 * gdb.dwarf2/method-ptr.exp
6416 * gdb.dwarf2/missing-sig-type.exp
6417 * gdb.dwarf2/nonvar-access.exp
6418 * gdb.dwarf2/opaque-type-lookup.exp
6419 * gdb.dwarf2/pieces-optimized-out.exp
6420 * gdb.dwarf2/pieces.exp
6421 * gdb.dwarf2/pr10770.exp
6422 * gdb.dwarf2/pr13961.exp
6423 * gdb.dwarf2/staticvirtual.exp
6424 * gdb.dwarf2/subrange.exp
6425 * gdb.dwarf2/symtab-producer.exp
6426 * gdb.dwarf2/trace-crash.exp
6427 * gdb.dwarf2/typeddwarf.exp
6428 * gdb.dwarf2/valop.exp
6429 * gdb.dwarf2/watch-notconst.exp
6430 * gdb.fortran/array-element.exp
6431 * gdb.fortran/charset.exp
6432 * gdb.fortran/common-block.exp
6433 * gdb.fortran/complex.exp
6434 * gdb.fortran/derived-type-function.exp
6435 * gdb.fortran/derived-type.exp
6436 * gdb.fortran/logical.exp
6437 * gdb.fortran/module.exp
6438 * gdb.fortran/multi-dim.exp
6439 * gdb.fortran/nested-funcs.exp
6440 * gdb.fortran/print-formatted.exp
6441 * gdb.fortran/subarray.exp
6442 * gdb.fortran/vla-alloc-assoc.exp
6443 * gdb.fortran/vla-datatypes.exp
6444 * gdb.fortran/vla-history.exp
6445 * gdb.fortran/vla-ptr-info.exp
6446 * gdb.fortran/vla-ptype-sub.exp
6447 * gdb.fortran/vla-ptype.exp
6448 * gdb.fortran/vla-sizeof.exp
6449 * gdb.fortran/vla-type.exp
6450 * gdb.fortran/vla-value-sub-arbitrary.exp
6451 * gdb.fortran/vla-value-sub-finish.exp
6452 * gdb.fortran/vla-value-sub.exp
6453 * gdb.fortran/vla-value.exp
6454 * gdb.fortran/whatis_type.exp
6455 * gdb.go/chan.exp
6456 * gdb.go/handcall.exp
6457 * gdb.go/hello.exp
6458 * gdb.go/integers.exp
6459 * gdb.go/methods.exp
6460 * gdb.go/package.exp
6461 * gdb.go/strings.exp
6462 * gdb.go/types.exp
6463 * gdb.go/unsafe.exp
6464 * gdb.guile/scm-arch.exp
6465 * gdb.guile/scm-block.exp
6466 * gdb.guile/scm-breakpoint.exp
6467 * gdb.guile/scm-cmd.exp
6468 * gdb.guile/scm-disasm.exp
6469 * gdb.guile/scm-equal.exp
6470 * gdb.guile/scm-frame-args.exp
6471 * gdb.guile/scm-frame-inline.exp
6472 * gdb.guile/scm-frame.exp
6473 * gdb.guile/scm-iterator.exp
6474 * gdb.guile/scm-math.exp
6475 * gdb.guile/scm-objfile.exp
6476 * gdb.guile/scm-ports.exp
6477 * gdb.guile/scm-symbol.exp
6478 * gdb.guile/scm-symtab.exp
6479 * gdb.guile/scm-value-cc.exp
6480 * gdb.guile/types-module.exp
6481 * gdb.linespec/break-ask.exp
6482 * gdb.linespec/cpexplicit.exp
6483 * gdb.linespec/explicit.exp
6484 * gdb.linespec/keywords.exp
6485 * gdb.linespec/linespec.exp
6486 * gdb.linespec/ls-dollar.exp
6487 * gdb.linespec/ls-errs.exp
6488 * gdb.linespec/skip-two.exp
6489 * gdb.linespec/thread.exp
6490 * gdb.mi/mi-async.exp
6491 * gdb.mi/mi-basics.exp
6492 * gdb.mi/mi-break.exp
6493 * gdb.mi/mi-catch-load.exp
6494 * gdb.mi/mi-cli.exp
6495 * gdb.mi/mi-cmd-param-changed.exp
6496 * gdb.mi/mi-console.exp
6497 * gdb.mi/mi-detach.exp
6498 * gdb.mi/mi-disassemble.exp
6499 * gdb.mi/mi-eval.exp
6500 * gdb.mi/mi-file-transfer.exp
6501 * gdb.mi/mi-file.exp
6502 * gdb.mi/mi-fill-memory.exp
6503 * gdb.mi/mi-inheritance-syntax-error.exp
6504 * gdb.mi/mi-linespec-err-cp.exp
6505 * gdb.mi/mi-logging.exp
6506 * gdb.mi/mi-memory-changed.exp
6507 * gdb.mi/mi-read-memory.exp
6508 * gdb.mi/mi-record-changed.exp
6509 * gdb.mi/mi-reg-undefined.exp
6510 * gdb.mi/mi-regs.exp
6511 * gdb.mi/mi-return.exp
6512 * gdb.mi/mi-reverse.exp
6513 * gdb.mi/mi-simplerun.exp
6514 * gdb.mi/mi-solib.exp
6515 * gdb.mi/mi-stack.exp
6516 * gdb.mi/mi-stepi.exp
6517 * gdb.mi/mi-syn-frame.exp
6518 * gdb.mi/mi-until.exp
6519 * gdb.mi/mi-var-block.exp
6520 * gdb.mi/mi-var-child.exp
6521 * gdb.mi/mi-var-cmd.exp
6522 * gdb.mi/mi-var-cp.exp
6523 * gdb.mi/mi-var-display.exp
6524 * gdb.mi/mi-var-invalidate.exp
6525 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6526 * gdb.mi/mi-vla-fortran.exp
6527 * gdb.mi/mi-watch.exp
6528 * gdb.mi/mi2-var-child.exp
6529 * gdb.mi/user-selected-context-sync.exp
6530 * gdb.modula2/unbounded-array.exp
6531 * gdb.multi/dummy-frame-restore.exp
6532 * gdb.multi/multi-arch-exec.exp
6533 * gdb.multi/multi-arch.exp
6534 * gdb.multi/tids.exp
6535 * gdb.multi/watchpoint-multi.exp
6536 * gdb.opencl/callfuncs.exp
6537 * gdb.opencl/convs_casts.exp
6538 * gdb.opencl/datatypes.exp
6539 * gdb.opencl/operators.exp
6540 * gdb.opencl/vec_comps.exp
6541 * gdb.opt/clobbered-registers-O2.exp
6542 * gdb.opt/inline-break.exp
6543 * gdb.opt/inline-bt.exp
6544 * gdb.opt/inline-cmds.exp
6545 * gdb.opt/inline-locals.exp
6546 * gdb.pascal/case-insensitive-symbols.exp
6547 * gdb.pascal/floats.exp
6548 * gdb.pascal/gdb11492.exp
6549 * gdb.python/lib-types.exp
6550 * gdb.python/py-arch.exp
6551 * gdb.python/py-as-string.exp
6552 * gdb.python/py-bad-printers.exp
6553 * gdb.python/py-block.exp
6554 * gdb.python/py-breakpoint-create-fail.exp
6555 * gdb.python/py-breakpoint.exp
6556 * gdb.python/py-caller-is.exp
6557 * gdb.python/py-cmd.exp
6558 * gdb.python/py-explore-cc.exp
6559 * gdb.python/py-explore.exp
6560 * gdb.python/py-finish-breakpoint.exp
6561 * gdb.python/py-finish-breakpoint2.exp
6562 * gdb.python/py-frame-args.exp
6563 * gdb.python/py-frame-inline.exp
6564 * gdb.python/py-frame.exp
6565 * gdb.python/py-framefilter-mi.exp
6566 * gdb.python/py-infthread.exp
6567 * gdb.python/py-lazy-string.exp
6568 * gdb.python/py-linetable.exp
6569 * gdb.python/py-mi-events.exp
6570 * gdb.python/py-mi-objfile.exp
6571 * gdb.python/py-mi.exp
6572 * gdb.python/py-objfile.exp
6573 * gdb.python/py-pp-integral.exp
6574 * gdb.python/py-pp-maint.exp
6575 * gdb.python/py-pp-re-notag.exp
6576 * gdb.python/py-pp-registration.exp
6577 * gdb.python/py-recurse-unwind.exp
6578 * gdb.python/py-strfns.exp
6579 * gdb.python/py-symbol.exp
6580 * gdb.python/py-symtab.exp
6581 * gdb.python/py-sync-interp.exp
6582 * gdb.python/py-typeprint.exp
6583 * gdb.python/py-unwind-maint.exp
6584 * gdb.python/py-unwind.exp
6585 * gdb.python/py-value-cc.exp
6586 * gdb.python/py-xmethods.exp
6587 * gdb.reverse/amd64-tailcall-reverse.exp
6588 * gdb.reverse/break-precsave.exp
6589 * gdb.reverse/break-reverse.exp
6590 * gdb.reverse/consecutive-precsave.exp
6591 * gdb.reverse/consecutive-reverse.exp
6592 * gdb.reverse/finish-precsave.exp
6593 * gdb.reverse/finish-reverse-bkpt.exp
6594 * gdb.reverse/finish-reverse.exp
6595 * gdb.reverse/fstatat-reverse.exp
6596 * gdb.reverse/getresuid-reverse.exp
6597 * gdb.reverse/i386-precsave.exp
6598 * gdb.reverse/i386-reverse.exp
6599 * gdb.reverse/i386-sse-reverse.exp
6600 * gdb.reverse/i387-env-reverse.exp
6601 * gdb.reverse/i387-stack-reverse.exp
6602 * gdb.reverse/insn-reverse.exp
6603 * gdb.reverse/machinestate-precsave.exp
6604 * gdb.reverse/machinestate.exp
6605 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6606 * gdb.reverse/pipe-reverse.exp
6607 * gdb.reverse/readv-reverse.exp
6608 * gdb.reverse/recvmsg-reverse.exp
6609 * gdb.reverse/rerun-prec.exp
6610 * gdb.reverse/s390-mvcle.exp
6611 * gdb.reverse/step-precsave.exp
6612 * gdb.reverse/step-reverse.exp
6613 * gdb.reverse/time-reverse.exp
6614 * gdb.reverse/until-precsave.exp
6615 * gdb.reverse/until-reverse.exp
6616 * gdb.reverse/waitpid-reverse.exp
6617 * gdb.reverse/watch-precsave.exp
6618 * gdb.reverse/watch-reverse.exp
6619 * gdb.rust/generics.exp
6620 * gdb.rust/methods.exp
6621 * gdb.rust/modules.exp
6622 * gdb.rust/simple.exp
6623 * gdb.server/connect-with-no-symbol-file.exp
6624 * gdb.server/ext-attach.exp
6625 * gdb.server/ext-restart.exp
6626 * gdb.server/ext-wrapper.exp
6627 * gdb.server/file-transfer.exp
6628 * gdb.server/server-exec-info.exp
6629 * gdb.server/server-kill.exp
6630 * gdb.server/server-mon.exp
6631 * gdb.server/wrapper.exp
6632 * gdb.stabs/exclfwd.exp
6633 * gdb.stabs/gdb11479.exp
6634 * gdb.threads/clone-new-thread-event.exp
6635 * gdb.threads/corethreads.exp
6636 * gdb.threads/current-lwp-dead.exp
6637 * gdb.threads/dlopen-libpthread.exp
6638 * gdb.threads/gcore-thread.exp
6639 * gdb.threads/sigstep-threads.exp
6640 * gdb.threads/watchpoint-fork.exp
6641 * gdb.trace/actions-changed.exp
6642 * gdb.trace/backtrace.exp
6643 * gdb.trace/change-loc.exp
6644 * gdb.trace/circ.exp
6645 * gdb.trace/collection.exp
6646 * gdb.trace/disconnected-tracing.exp
6647 * gdb.trace/ftrace.exp
6648 * gdb.trace/mi-trace-frame-collected.exp
6649 * gdb.trace/mi-trace-unavailable.exp
6650 * gdb.trace/mi-traceframe-changed.exp
6651 * gdb.trace/mi-tsv-changed.exp
6652 * gdb.trace/no-attach-trace.exp
6653 * gdb.trace/passc-dyn.exp
6654 * gdb.trace/qtro.exp
6655 * gdb.trace/range-stepping.exp
6656 * gdb.trace/read-memory.exp
6657 * gdb.trace/save-trace.exp
6658 * gdb.trace/signal.exp
6659 * gdb.trace/status-stop.exp
6660 * gdb.trace/tfile.exp
6661 * gdb.trace/trace-break.exp
6662 * gdb.trace/trace-buffer-size.exp
6663 * gdb.trace/trace-condition.exp
6664 * gdb.trace/tracefile-pseudo-reg.exp
6665 * gdb.trace/tstatus.exp
6666 * gdb.trace/unavailable.exp
6667 * gdb.trace/while-dyn.exp
6668 * gdb.trace/while-stepping.exp
6669
6670 2016-12-22 Doug Evans <xdje42@gmail.com>
6671
6672 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6673 and msymbols.
6674
6675 2016-12-19 Yao Qi <yao.qi@linaro.org>
6676
6677 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6678 (test_with_self): Don't call do_steps_and_nexts, and remove
6679 code about stepping into xmalloc.
6680
6681 2016-12-09 Yao Qi <yao.qi@linaro.org>
6682
6683 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6684
6685 2016-12-09 Yao Qi <yao.qi@linaro.org>
6686
6687 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6688
6689 2016-12-09 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/all-architectures-0.exp: New file.
6692 * gdb.base/all-architectures-1.exp: New file.
6693 * gdb.base/all-architectures-2.exp: New file.
6694 * gdb.base/all-architectures-3.exp: New file.
6695 * gdb.base/all-architectures-4.exp: New file.
6696 * gdb.base/all-architectures-5.exp: New file.
6697 * gdb.base/all-architectures-6.exp: New file.
6698 * gdb.base/all-architectures-7.exp: New file.
6699 * gdb.base/all-architectures.exp.in: New file.
6700
6701 2016-12-09 Yao Qi <yao.qi@linaro.org>
6702
6703 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6704
6705 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6706
6707 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6708 possible.
6709 Remove useless pattern-matching code.
6710
6711 2016-12-02 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6714 procedure.
6715 (top level): Call it.
6716
6717 2016-12-02 Pedro Alves <palves@redhat.com>
6718
6719 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6720 New procedure.
6721 (top level): Call it.
6722
6723 2016-12-02 Pedro Alves <palves@redhat.com>
6724
6725 PR cli/20559
6726 * gdb.base/commands.exp (user_defined_command_args_eval): New
6727 procedure.
6728 (top level): Call it.
6729
6730 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6731
6732 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6733 timeout handling.
6734
6735 2016-12-02 Tom Tromey <tom@tromey.com>
6736
6737 * gdb.dwarf2/main-subprogram.c: New file.
6738 * gdb.dwarf2/main-subprogram.exp: New file.
6739
6740 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6741
6742 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6743 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6744 gdb_test_no_output for a couple of cases.
6745 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6746
6747 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6748
6749 Fix test names and standardize compilation error messages throughout
6750 the following files:
6751
6752 * gdb.ada/start.exp
6753 * gdb.arch/alpha-step.exp
6754 * gdb.arch/e500-prologue.exp
6755 * gdb.arch/ftrace-insn-reloc.exp
6756 * gdb.arch/gdb1291.exp
6757 * gdb.arch/gdb1431.exp
6758 * gdb.arch/gdb1558.exp
6759 * gdb.arch/i386-dr3-watch.exp
6760 * gdb.arch/i386-sse-stack-align.exp
6761 * gdb.arch/ia64-breakpoint-shadow.exp
6762 * gdb.arch/pa-nullify.exp
6763 * gdb.arch/powerpc-aix-prologue.exp
6764 * gdb.arch/thumb-bx-pc.exp
6765 * gdb.base/annota1.exp
6766 * gdb.base/annota3.exp
6767 * gdb.base/arrayidx.exp
6768 * gdb.base/assign.exp
6769 * gdb.base/attach.exp
6770 * gdb.base/auxv.exp
6771 * gdb.base/bang.exp
6772 * gdb.base/bfp-test.exp
6773 * gdb.base/bigcore.exp
6774 * gdb.base/bitfields2.exp
6775 * gdb.base/break-fun-addr.exp
6776 * gdb.base/break-probes.exp
6777 * gdb.base/call-rt-st.exp
6778 * gdb.base/callexit.exp
6779 * gdb.base/catch-fork-kill.exp
6780 * gdb.base/charset.exp
6781 * gdb.base/checkpoint.exp
6782 * gdb.base/comprdebug.exp
6783 * gdb.base/constvars.exp
6784 * gdb.base/coredump-filter.exp
6785 * gdb.base/cursal.exp
6786 * gdb.base/cvexpr.exp
6787 * gdb.base/detach.exp
6788 * gdb.base/display.exp
6789 * gdb.base/dmsym.exp
6790 * gdb.base/dprintf-pending.exp
6791 * gdb.base/dso2dso.exp
6792 * gdb.base/dtrace-probe.exp
6793 * gdb.base/dump.exp
6794 * gdb.base/enum_cond.exp
6795 * gdb.base/exe-lock.exp
6796 * gdb.base/exec-invalid-sysroot.exp
6797 * gdb.base/execl-update-breakpoints.exp
6798 * gdb.base/exprs.exp
6799 * gdb.base/fileio.exp
6800 * gdb.base/find.exp
6801 * gdb.base/finish.exp
6802 * gdb.base/fixsection.exp
6803 * gdb.base/foll-vfork.exp
6804 * gdb.base/frame-args.exp
6805 * gdb.base/gcore.exp
6806 * gdb.base/gdb1250.exp
6807 * gdb.base/global-var-nested-by-dso.exp
6808 * gdb.base/gnu-ifunc.exp
6809 * gdb.base/hashline1.exp
6810 * gdb.base/hashline2.exp
6811 * gdb.base/hashline3.exp
6812 * gdb.base/hbreak-in-shr-unsupported.exp
6813 * gdb.base/huge.exp
6814 * gdb.base/infcall-input.exp
6815 * gdb.base/info-fun.exp
6816 * gdb.base/info-shared.exp
6817 * gdb.base/jit-simple.exp
6818 * gdb.base/jit-so.exp
6819 * gdb.base/jit.exp
6820 * gdb.base/jump.exp
6821 * gdb.base/label.exp
6822 * gdb.base/lineinc.exp
6823 * gdb.base/logical.exp
6824 * gdb.base/longjmp.exp
6825 * gdb.base/macscp.exp
6826 * gdb.base/miscexprs.exp
6827 * gdb.base/new-ui-echo.exp
6828 * gdb.base/new-ui-pending-input.exp
6829 * gdb.base/new-ui.exp
6830 * gdb.base/nodebug.exp
6831 * gdb.base/nofield.exp
6832 * gdb.base/offsets.exp
6833 * gdb.base/overlays.exp
6834 * gdb.base/pending.exp
6835 * gdb.base/pointers.exp
6836 * gdb.base/pr11022.exp
6837 * gdb.base/printcmds.exp
6838 * gdb.base/prologue.exp
6839 * gdb.base/ptr-typedef.exp
6840 * gdb.base/realname-expand.exp
6841 * gdb.base/relativedebug.exp
6842 * gdb.base/relocate.exp
6843 * gdb.base/remote.exp
6844 * gdb.base/reread.exp
6845 * gdb.base/return2.exp
6846 * gdb.base/savedregs.exp
6847 * gdb.base/sep.exp
6848 * gdb.base/sepdebug.exp
6849 * gdb.base/sepsymtab.exp
6850 * gdb.base/set-inferior-tty.exp
6851 * gdb.base/setshow.exp
6852 * gdb.base/shlib-call.exp
6853 * gdb.base/sigaltstack.exp
6854 * gdb.base/siginfo-addr.exp
6855 * gdb.base/signals.exp
6856 * gdb.base/signull.exp
6857 * gdb.base/sigrepeat.exp
6858 * gdb.base/so-impl-ld.exp
6859 * gdb.base/solib-display.exp
6860 * gdb.base/solib-overlap.exp
6861 * gdb.base/solib-search.exp
6862 * gdb.base/solib-symbol.exp
6863 * gdb.base/structs.exp
6864 * gdb.base/structs2.exp
6865 * gdb.base/symtab-search-order.exp
6866 * gdb.base/twice.exp
6867 * gdb.base/unload.exp
6868 * gdb.base/varargs.exp
6869 * gdb.base/watchpoint-solib.exp
6870 * gdb.base/watchpoint.exp
6871 * gdb.base/whatis.exp
6872 * gdb.base/wrong_frame_bt_full.exp
6873 * gdb.btrace/dlopen.exp
6874 * gdb.cell/ea-standalone.exp
6875 * gdb.cell/ea-test.exp
6876 * gdb.cp/dispcxx.exp
6877 * gdb.cp/gdb2384.exp
6878 * gdb.cp/method2.exp
6879 * gdb.cp/nextoverthrow.exp
6880 * gdb.cp/pr10728.exp
6881 * gdb.disasm/am33.exp
6882 * gdb.disasm/h8300s.exp
6883 * gdb.disasm/mn10300.exp
6884 * gdb.disasm/sh3.exp
6885 * gdb.dwarf2/dw2-dir-file-name.exp
6886 * gdb.fortran/complex.exp
6887 * gdb.fortran/library-module.exp
6888 * gdb.guile/scm-pretty-print.exp
6889 * gdb.guile/scm-symbol.exp
6890 * gdb.guile/scm-type.exp
6891 * gdb.guile/scm-value.exp
6892 * gdb.linespec/linespec.exp
6893 * gdb.mi/gdb701.exp
6894 * gdb.mi/gdb792.exp
6895 * gdb.mi/mi-breakpoint-changed.exp
6896 * gdb.mi/mi-dprintf-pending.exp
6897 * gdb.mi/mi-dprintf.exp
6898 * gdb.mi/mi-exit-code.exp
6899 * gdb.mi/mi-pending.exp
6900 * gdb.mi/mi-solib.exp
6901 * gdb.mi/new-ui-mi-sync.exp
6902 * gdb.mi/pr11022.exp
6903 * gdb.mi/user-selected-context-sync.exp
6904 * gdb.opt/solib-intra-step.exp
6905 * gdb.python/py-events.exp
6906 * gdb.python/py-finish-breakpoint.exp
6907 * gdb.python/py-mi.exp
6908 * gdb.python/py-prettyprint.exp
6909 * gdb.python/py-shared.exp
6910 * gdb.python/py-symbol.exp
6911 * gdb.python/py-template.exp
6912 * gdb.python/py-type.exp
6913 * gdb.python/py-value.exp
6914 * gdb.reverse/solib-precsave.exp
6915 * gdb.reverse/solib-reverse.exp
6916 * gdb.server/solib-list.exp
6917 * gdb.stabs/weird.exp
6918 * gdb.threads/reconnect-signal.exp
6919 * gdb.threads/stepi-random-signal.exp
6920 * gdb.trace/actions.exp
6921 * gdb.trace/ax.exp
6922 * gdb.trace/backtrace.exp
6923 * gdb.trace/change-loc.exp
6924 * gdb.trace/deltrace.exp
6925 * gdb.trace/ftrace-lock.exp
6926 * gdb.trace/ftrace.exp
6927 * gdb.trace/infotrace.exp
6928 * gdb.trace/mi-tracepoint-changed.exp
6929 * gdb.trace/packetlen.exp
6930 * gdb.trace/passcount.exp
6931 * gdb.trace/pending.exp
6932 * gdb.trace/range-stepping.exp
6933 * gdb.trace/report.exp
6934 * gdb.trace/stap-trace.exp
6935 * gdb.trace/tfind.exp
6936 * gdb.trace/trace-break.exp
6937 * gdb.trace/trace-condition.exp
6938 * gdb.trace/trace-enable-disable.exp
6939 * gdb.trace/trace-mt.exp
6940 * gdb.trace/tracecmd.exp
6941 * gdb.trace/tspeed.exp
6942 * gdb.trace/tsv.exp
6943 * lib/perftest.exp
6944
6945 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6946
6947 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6948 with gdb_test_no_output.
6949 Use command as test name.
6950
6951 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6952
6953 Fix test names starting with uppercase throughout the files.
6954
6955 * gdb.ada/assign_1.exp
6956 * gdb.ada/boolean_expr.exp
6957 * gdb.base/arrayidx.exp
6958 * gdb.base/del.exp
6959 * gdb.base/gcore-buffer-overflow.exp
6960 * gdb.base/testenv.exp
6961 * gdb.compile/compile.exp
6962 * gdb.python/py-framefilter-invalidarg.exp
6963 * gdb.python/py-framefilter.exp
6964
6965 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6966
6967 Fix test names starting with uppercase throughout the files.
6968
6969 * gdb.ada/array_return.exp
6970 * gdb.ada/expr_delims.exp
6971 * gdb.ada/mi_dyn_arr.exp
6972 * gdb.ada/mi_interface.exp
6973 * gdb.ada/mi_var_array.exp
6974 * gdb.ada/watch_arg.exp
6975 * gdb.arch/alpha-step.exp
6976 * gdb.arch/altivec-regs.exp
6977 * gdb.arch/e500-regs.exp
6978 * gdb.arch/powerpc-d128-regs.exp
6979 * gdb.base/arrayidx.exp
6980 * gdb.base/break.exp
6981 * gdb.base/checkpoint.exp
6982 * gdb.base/debug-expr.exp
6983 * gdb.base/dmsym.exp
6984 * gdb.base/radix.exp
6985 * gdb.base/sepdebug.exp
6986 * gdb.base/testenv.exp
6987 * gdb.base/watch_thread_num.exp
6988 * gdb.base/watchpoint-cond-gone.exp
6989 * gdb.cell/break.exp
6990 * gdb.cell/ea-cache.exp
6991 * gdb.compile/compile.exp
6992 * gdb.cp/gdb2495.exp
6993 * gdb.gdb/selftest.exp
6994 * gdb.gdb/xfullpath.exp
6995 * gdb.go/hello.exp
6996 * gdb.go/integers.exp
6997 * gdb.objc/basicclass.exp
6998 * gdb.pascal/hello.exp
6999 * gdb.pascal/integers.exp
7000 * gdb.python/py-breakpoint.exp
7001 * gdb.python/py-cmd.exp
7002 * gdb.python/py-linetable.exp
7003 * gdb.python/py-xmethods.exp
7004 * gdb.python/python.exp
7005 * gdb.reverse/consecutive-precsave.exp
7006 * gdb.reverse/finish-precsave.exp
7007 * gdb.reverse/i386-precsave.exp
7008 * gdb.reverse/machinestate-precsave.exp
7009 * gdb.reverse/sigall-precsave.exp
7010 * gdb.reverse/solib-precsave.exp
7011 * gdb.reverse/step-precsave.exp
7012 * gdb.reverse/until-precsave.exp
7013 * gdb.reverse/watch-precsave.exp
7014 * gdb.threads/leader-exit.exp
7015 * gdb.threads/pthreads.exp
7016 * gdb.threads/wp-replication.exp
7017 * gdb.trace/actions.exp
7018 * gdb.trace/mi-tsv-changed.exp
7019 * gdb.trace/tsv.exp
7020
7021 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7022
7023 Fix test names starting with uppercase throughout the files.
7024
7025 * gdb.arch/i386-bp_permanent.exp
7026 * gdb.arch/i386-gnu-cfi.exp
7027 * gdb.base/disasm-end-cu.exp
7028 * gdb.base/macscp.exp
7029 * gdb.base/pending.exp
7030 * gdb.base/watch_thread_num.exp
7031 * gdb.cp/exception.exp
7032 * gdb.cp/gdb2495.exp
7033 * gdb.cp/local.exp
7034 * gdb.python/py-evsignal.exp
7035 * gdb.python/python.exp
7036 * gdb.trace/tracecmd.exp
7037
7038 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7039
7040 Fix test names starting with uppercase throughout the files.
7041
7042 * gdb.base/charset.exp
7043 * gdb.base/eval.exp
7044 * gdb.base/multi-forks.exp
7045 * gdb.guile/scm-progspace.exp
7046 * gdb.opencl/datatypes.exp
7047 * gdb.python/py-block.exp
7048 * gdb.python/py-function.exp
7049 * gdb.python/py-symbol.exp
7050 * gdb.python/py-symtab.exp
7051 * gdb.python/py-xmethods.exp
7052 * gdb.reverse/break-precsave.exp
7053 * gdb.reverse/break-reverse.exp
7054 * gdb.reverse/consecutive-precsave.exp
7055 * gdb.reverse/consecutive-reverse.exp
7056 * gdb.reverse/finish-precsave.exp
7057 * gdb.reverse/finish-reverse-bkpt.exp
7058 * gdb.reverse/finish-reverse.exp
7059 * gdb.reverse/fstatat-reverse.exp
7060 * gdb.reverse/getresuid-reverse.exp
7061 * gdb.reverse/i386-precsave.exp
7062 * gdb.reverse/i386-reverse.exp
7063 * gdb.reverse/i386-sse-reverse.exp
7064 * gdb.reverse/i387-stack-reverse.exp
7065 * gdb.reverse/insn-reverse.exp
7066 * gdb.reverse/machinestate-precsave.exp
7067 * gdb.reverse/machinestate.exp
7068 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7069 * gdb.reverse/pipe-reverse.exp
7070 * gdb.reverse/readv-reverse.exp
7071 * gdb.reverse/recvmsg-reverse.exp
7072 * gdb.reverse/rerun-prec.exp
7073 * gdb.reverse/s390-mvcle.exp
7074 * gdb.reverse/sigall-precsave.exp
7075 * gdb.reverse/sigall-reverse.exp
7076 * gdb.reverse/solib-precsave.exp
7077 * gdb.reverse/solib-reverse.exp
7078 * gdb.reverse/step-precsave.exp
7079 * gdb.reverse/step-reverse.exp
7080 * gdb.reverse/time-reverse.exp
7081 * gdb.reverse/until-precsave.exp
7082 * gdb.reverse/until-reverse.exp
7083 * gdb.reverse/waitpid-reverse.exp
7084 * gdb.reverse/watch-precsave.exp
7085 * gdb.reverse/watch-reverse.exp
7086
7087 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7088
7089 Fix test names starting with uppercase throughout the files.
7090
7091 * gdb.arch/i386-mpx-simple_segv.exp
7092 * gdb.arch/i386-mpx.exp
7093 * gdb.arch/i386-permbkpt.exp
7094 * gdb.arch/pa-nullify.exp
7095 * gdb.arch/powerpc-d128-regs.exp
7096 * gdb.arch/vsx-regs.exp
7097 * gdb.base/bfp-test.exp
7098 * gdb.base/break.exp
7099 * gdb.base/breakpoint-shadow.exp
7100 * gdb.base/callfuncs.exp
7101 * gdb.base/charset.exp
7102 * gdb.base/commands.exp
7103 * gdb.base/completion.exp
7104 * gdb.base/dfp-test.exp
7105 * gdb.base/echo.exp
7106 * gdb.base/ending-run.exp
7107 * gdb.base/eval.exp
7108 * gdb.base/expand-psymtabs.exp
7109 * gdb.base/float128.exp
7110 * gdb.base/floatn.exp
7111 * gdb.base/foll-exec-mode.exp
7112 * gdb.base/gdb1056.exp
7113 * gdb.base/gdb11531.exp
7114 * gdb.base/kill-after-signal.exp
7115 * gdb.base/multi-forks.exp
7116 * gdb.base/overlays.exp
7117 * gdb.base/pending.exp
7118 * gdb.base/sepdebug.exp
7119 * gdb.base/testenv.exp
7120 * gdb.base/valgrind-db-attach.exp
7121 * gdb.base/watch_thread_num.exp
7122 * gdb.base/watchpoint-cond-gone.exp
7123 * gdb.base/watchpoint.exp
7124 * gdb.base/watchpoints.exp
7125 * gdb.cp/arg-reference.exp
7126 * gdb.cp/baseenum.exp
7127 * gdb.cp/operator.exp
7128 * gdb.cp/shadow.exp
7129 * gdb.dwarf2/dw2-op-out-param.exp
7130 * gdb.dwarf2/dw2-reg-undefined.exp
7131 * gdb.go/chan.exp
7132 * gdb.go/hello.exp
7133 * gdb.go/integers.exp
7134 * gdb.go/methods.exp
7135 * gdb.go/package.exp
7136 * gdb.guile/scm-parameter.exp
7137 * gdb.guile/scm-progspace.exp
7138 * gdb.guile/scm-value.exp
7139 * gdb.mi/mi-pending.exp
7140 * gdb.mi/user-selected-context-sync.exp
7141 * gdb.multi/multi-attach.exp
7142 * gdb.multi/tids.exp
7143 * gdb.opt/clobbered-registers-O2.exp
7144 * gdb.pascal/floats.exp
7145 * gdb.pascal/integers.exp
7146 * gdb.python/py-block.exp
7147 * gdb.python/py-events.exp
7148 * gdb.python/py-parameter.exp
7149 * gdb.python/py-symbol.exp
7150 * gdb.python/py-symtab.exp
7151 * gdb.python/py-type.exp
7152 * gdb.python/py-value.exp
7153 * gdb.python/py-xmethods.exp
7154 * gdb.python/python.exp
7155 * gdb.reverse/break-precsave.exp
7156 * gdb.reverse/consecutive-precsave.exp
7157 * gdb.reverse/finish-precsave.exp
7158 * gdb.reverse/i386-precsave.exp
7159 * gdb.reverse/machinestate-precsave.exp
7160 * gdb.reverse/sigall-precsave.exp
7161 * gdb.reverse/solib-precsave.exp
7162 * gdb.reverse/step-precsave.exp
7163 * gdb.reverse/until-precsave.exp
7164 * gdb.reverse/watch-precsave.exp
7165 * gdb.server/ext-attach.exp
7166 * gdb.server/ext-restart.exp
7167 * gdb.server/ext-run.exp
7168 * gdb.server/ext-wrapper.exp
7169 * gdb.stabs/gdb11479.exp
7170 * gdb.stabs/weird.exp
7171 * gdb.threads/attach-many-short-lived-threads.exp
7172 * gdb.threads/kill.exp
7173 * gdb.threads/watchpoint-fork.exp
7174
7175 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7176
7177 Fix test names starting with uppercase throughout all the files below.
7178
7179 * gdb.ada/array_return.exp
7180 * gdb.ada/catch_ex.exp
7181 * gdb.ada/info_exc.exp
7182 * gdb.ada/mi_catch_ex.exp
7183 * gdb.ada/mi_dyn_arr.exp
7184 * gdb.ada/mi_ex_cond.exp
7185 * gdb.ada/mi_exc_info.exp
7186 * gdb.ada/mi_interface.exp
7187 * gdb.ada/mi_task_arg.exp
7188 * gdb.ada/mi_task_info.exp
7189 * gdb.ada/mi_var_array.exp
7190 * gdb.arch/alpha-step.exp
7191 * gdb.arch/amd64-disp-step.exp
7192 * gdb.arch/arm-disp-step.exp
7193 * gdb.arch/disp-step-insn-reloc.exp
7194 * gdb.arch/e500-prologue.exp
7195 * gdb.arch/ftrace-insn-reloc.exp
7196 * gdb.arch/gdb1558.exp
7197 * gdb.arch/i386-bp_permanent.exp
7198 * gdb.arch/i386-disp-step.exp
7199 * gdb.arch/i386-float.exp
7200 * gdb.arch/i386-gnu-cfi.exp
7201 * gdb.arch/ia64-breakpoint-shadow.exp
7202 * gdb.arch/mips16-thunks.exp
7203 * gdb.arch/pa-nullify.exp
7204 * gdb.arch/powerpc-aix-prologue.exp
7205 * gdb.arch/powerpc-power.exp
7206 * gdb.arch/ppc-dfp.exp
7207 * gdb.arch/s390-tdbregs.exp
7208 * gdb.arch/spu-info.exp
7209 * gdb.arch/spu-ls.exp
7210 * gdb.arch/thumb-bx-pc.exp
7211 * gdb.base/advance.exp
7212 * gdb.base/annota-input-while-running.exp
7213 * gdb.base/arrayidx.exp
7214 * gdb.base/asmlabel.exp
7215 * gdb.base/async.exp
7216 * gdb.base/attach-wait-input.exp
7217 * gdb.base/auto-connect-native-target.exp
7218 * gdb.base/batch-preserve-term-settings.exp
7219 * gdb.base/bfp-test.exp
7220 * gdb.base/bigcore.exp
7221 * gdb.base/bp-permanent.exp
7222 * gdb.base/break-always.exp
7223 * gdb.base/break-fun-addr.exp
7224 * gdb.base/break-idempotent.exp
7225 * gdb.base/break-main-file-remove-fail.exp
7226 * gdb.base/break-probes.exp
7227 * gdb.base/break-unload-file.exp
7228 * gdb.base/break.exp
7229 * gdb.base/call-ar-st.exp
7230 * gdb.base/call-rt-st.exp
7231 * gdb.base/call-sc.exp
7232 * gdb.base/call-signal-resume.exp
7233 * gdb.base/call-strs.exp
7234 * gdb.base/callexit.exp
7235 * gdb.base/callfuncs.exp
7236 * gdb.base/catch-gdb-caused-signals.exp
7237 * gdb.base/catch-signal-siginfo-cond.exp
7238 * gdb.base/catch-syscall.exp
7239 * gdb.base/compare-sections.exp
7240 * gdb.base/cond-eval-mode.exp
7241 * gdb.base/condbreak-call-false.exp
7242 * gdb.base/consecutive-step-over.exp
7243 * gdb.base/cursal.exp
7244 * gdb.base/disabled-location.exp
7245 * gdb.base/disasm-end-cu.exp
7246 * gdb.base/display.exp
7247 * gdb.base/double-prompt-target-event-error.exp
7248 * gdb.base/dprintf-bp-same-addr.exp
7249 * gdb.base/dprintf-detach.exp
7250 * gdb.base/dprintf-next.exp
7251 * gdb.base/dprintf-non-stop.exp
7252 * gdb.base/dprintf-pending.exp
7253 * gdb.base/dso2dso.exp
7254 * gdb.base/ending-run.exp
7255 * gdb.base/enum_cond.exp
7256 * gdb.base/examine-backward.exp
7257 * gdb.base/exe-lock.exp
7258 * gdb.base/exec-invalid-sysroot.exp
7259 * gdb.base/execl-update-breakpoints.exp
7260 * gdb.base/execution-termios.exp
7261 * gdb.base/fileio.exp
7262 * gdb.base/fixsection.exp
7263 * gdb.base/foll-exec-mode.exp
7264 * gdb.base/foll-exec.exp
7265 * gdb.base/fork-running-state.exp
7266 * gdb.base/frame-args.exp
7267 * gdb.base/fullpath-expand.exp
7268 * gdb.base/func-ptr.exp
7269 * gdb.base/gcore-relro-pie.exp
7270 * gdb.base/gdb1090.exp
7271 * gdb.base/gdb1555.exp
7272 * gdb.base/global-var-nested-by-dso.exp
7273 * gdb.base/gnu-ifunc.exp
7274 * gdb.base/hbreak-in-shr-unsupported.exp
7275 * gdb.base/hbreak-unmapped.exp
7276 * gdb.base/hook-stop.exp
7277 * gdb.base/infcall-input.exp
7278 * gdb.base/info-fun.exp
7279 * gdb.base/info-shared.exp
7280 * gdb.base/interrupt-noterm.exp
7281 * gdb.base/jit-so.exp
7282 * gdb.base/jit.exp
7283 * gdb.base/line-symtabs.exp
7284 * gdb.base/list.exp
7285 * gdb.base/longjmp.exp
7286 * gdb.base/macscp.exp
7287 * gdb.base/max-value-size.exp
7288 * gdb.base/nodebug.exp
7289 * gdb.base/nofield.exp
7290 * gdb.base/overlays.exp
7291 * gdb.base/paginate-after-ctrl-c-running.exp
7292 * gdb.base/paginate-bg-execution.exp
7293 * gdb.base/paginate-inferior-exit.exp
7294 * gdb.base/pending.exp
7295 * gdb.base/pr11022.exp
7296 * gdb.base/printcmds.exp
7297 * gdb.base/ptr-typedef.exp
7298 * gdb.base/ptype.exp
7299 * gdb.base/randomize.exp
7300 * gdb.base/range-stepping.exp
7301 * gdb.base/realname-expand.exp
7302 * gdb.base/relativedebug.exp
7303 * gdb.base/remote.exp
7304 * gdb.base/savedregs.exp
7305 * gdb.base/sepdebug.exp
7306 * gdb.base/set-noassign.exp
7307 * gdb.base/shlib-call.exp
7308 * gdb.base/shreloc.exp
7309 * gdb.base/sigaltstack.exp
7310 * gdb.base/sigbpt.exp
7311 * gdb.base/siginfo-addr.exp
7312 * gdb.base/siginfo-obj.exp
7313 * gdb.base/siginfo-thread.exp
7314 * gdb.base/signest.exp
7315 * gdb.base/signull.exp
7316 * gdb.base/sigrepeat.exp
7317 * gdb.base/skip.exp
7318 * gdb.base/so-impl-ld.exp
7319 * gdb.base/solib-corrupted.exp
7320 * gdb.base/solib-disc.exp
7321 * gdb.base/solib-display.exp
7322 * gdb.base/solib-overlap.exp
7323 * gdb.base/solib-search.exp
7324 * gdb.base/solib-symbol.exp
7325 * gdb.base/source-execution.exp
7326 * gdb.base/sss-bp-on-user-bp-2.exp
7327 * gdb.base/sss-bp-on-user-bp.exp
7328 * gdb.base/stack-checking.exp
7329 * gdb.base/stale-infcall.exp
7330 * gdb.base/step-break.exp
7331 * gdb.base/step-line.exp
7332 * gdb.base/step-over-exit.exp
7333 * gdb.base/step-test.exp
7334 * gdb.base/structs.exp
7335 * gdb.base/sym-file.exp
7336 * gdb.base/symtab-search-order.exp
7337 * gdb.base/term.exp
7338 * gdb.base/type-opaque.exp
7339 * gdb.base/unload.exp
7340 * gdb.base/until-nodebug.exp
7341 * gdb.base/until.exp
7342 * gdb.base/unwindonsignal.exp
7343 * gdb.base/watch-cond.exp
7344 * gdb.base/watch-non-mem.exp
7345 * gdb.base/watch_thread_num.exp
7346 * gdb.base/watchpoint-reuse-slot.exp
7347 * gdb.base/watchpoint-solib.exp
7348 * gdb.base/watchpoint.exp
7349 * gdb.btrace/dlopen.exp
7350 * gdb.cell/arch.exp
7351 * gdb.cell/break.exp
7352 * gdb.cell/bt.exp
7353 * gdb.cell/core.exp
7354 * gdb.cell/data.exp
7355 * gdb.cell/dwarfaddr.exp
7356 * gdb.cell/ea-cache.exp
7357 * gdb.cell/ea-standalone.exp
7358 * gdb.cell/ea-test.exp
7359 * gdb.cell/f-regs.exp
7360 * gdb.cell/fork.exp
7361 * gdb.cell/gcore.exp
7362 * gdb.cell/mem-access.exp
7363 * gdb.cell/ptype.exp
7364 * gdb.cell/registers.exp
7365 * gdb.cell/sizeof.exp
7366 * gdb.cell/solib-symbol.exp
7367 * gdb.cell/solib.exp
7368 * gdb.compile/compile-tls.exp
7369 * gdb.cp/exception.exp
7370 * gdb.cp/gdb2495.exp
7371 * gdb.cp/local.exp
7372 * gdb.cp/mb-inline.exp
7373 * gdb.cp/mb-templates.exp
7374 * gdb.cp/pr10687.exp
7375 * gdb.cp/pr9167.exp
7376 * gdb.cp/scope-err.exp
7377 * gdb.cp/templates.exp
7378 * gdb.cp/virtfunc.exp
7379 * gdb.dwarf2/dw2-dir-file-name.exp
7380 * gdb.dwarf2/dw2-single-line-discriminators.exp
7381 * gdb.fortran/complex.exp
7382 * gdb.fortran/library-module.exp
7383 * gdb.guile/guile.exp
7384 * gdb.guile/scm-cmd.exp
7385 * gdb.guile/scm-frame-inline.exp
7386 * gdb.guile/scm-objfile.exp
7387 * gdb.guile/scm-pretty-print.exp
7388 * gdb.guile/scm-symbol.exp
7389 * gdb.guile/scm-type.exp
7390 * gdb.guile/scm-value.exp
7391 * gdb.linespec/keywords.exp
7392 * gdb.linespec/ls-errs.exp
7393 * gdb.linespec/macro-relative.exp
7394 * gdb.linespec/thread.exp
7395 * gdb.mi/mi-breakpoint-changed.exp
7396 * gdb.mi/mi-dprintf-pending.exp
7397 * gdb.mi/mi-fullname-deleted.exp
7398 * gdb.mi/mi-logging.exp
7399 * gdb.mi/mi-pending.exp
7400 * gdb.mi/mi-solib.exp
7401 * gdb.mi/new-ui-mi-sync.exp
7402 * gdb.mi/user-selected-context-sync.exp
7403 * gdb.multi/dummy-frame-restore.exp
7404 * gdb.multi/multi-arch-exec.exp
7405 * gdb.multi/remove-inferiors.exp
7406 * gdb.multi/watchpoint-multi-exit.exp
7407 * gdb.opt/solib-intra-step.exp
7408 * gdb.perf/backtrace.exp
7409 * gdb.perf/single-step.exp
7410 * gdb.perf/skip-command.exp
7411 * gdb.perf/skip-prologue.exp
7412 * gdb.perf/solib.exp
7413 * gdb.python/lib-types.exp
7414 * gdb.python/py-as-string.exp
7415 * gdb.python/py-bad-printers.exp
7416 * gdb.python/py-block.exp
7417 * gdb.python/py-breakpoint.exp
7418 * gdb.python/py-cmd.exp
7419 * gdb.python/py-events.exp
7420 * gdb.python/py-evthreads.exp
7421 * gdb.python/py-finish-breakpoint.exp
7422 * gdb.python/py-finish-breakpoint2.exp
7423 * gdb.python/py-frame-inline.exp
7424 * gdb.python/py-frame.exp
7425 * gdb.python/py-inferior.exp
7426 * gdb.python/py-infthread.exp
7427 * gdb.python/py-mi.exp
7428 * gdb.python/py-objfile.exp
7429 * gdb.python/py-pp-maint.exp
7430 * gdb.python/py-pp-registration.exp
7431 * gdb.python/py-prettyprint.exp
7432 * gdb.python/py-recurse-unwind.exp
7433 * gdb.python/py-shared.exp
7434 * gdb.python/py-symbol.exp
7435 * gdb.python/py-symtab.exp
7436 * gdb.python/py-template.exp
7437 * gdb.python/py-type.exp
7438 * gdb.python/py-unwind-maint.exp
7439 * gdb.python/py-unwind.exp
7440 * gdb.python/py-value.exp
7441 * gdb.python/python.exp
7442 * gdb.reverse/finish-reverse-bkpt.exp
7443 * gdb.reverse/insn-reverse.exp
7444 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7445 * gdb.reverse/solib-precsave.exp
7446 * gdb.reverse/solib-reverse.exp
7447 * gdb.stabs/gdb11479.exp
7448 * gdb.stabs/weird.exp
7449 * gdb.threads/fork-child-threads.exp
7450 * gdb.threads/fork-plus-threads.exp
7451 * gdb.threads/fork-thread-pending.exp
7452 * gdb.threads/forking-threads-plus-breakpoint.exp
7453 * gdb.threads/hand-call-in-threads.exp
7454 * gdb.threads/interrupted-hand-call.exp
7455 * gdb.threads/linux-dp.exp
7456 * gdb.threads/local-watch-wrong-thread.exp
7457 * gdb.threads/next-while-other-thread-longjmps.exp
7458 * gdb.threads/non-ldr-exit.exp
7459 * gdb.threads/pending-step.exp
7460 * gdb.threads/print-threads.exp
7461 * gdb.threads/process-dies-while-detaching.exp
7462 * gdb.threads/process-dies-while-handling-bp.exp
7463 * gdb.threads/pthreads.exp
7464 * gdb.threads/queue-signal.exp
7465 * gdb.threads/reconnect-signal.exp
7466 * gdb.threads/signal-command-handle-nopass.exp
7467 * gdb.threads/signal-command-multiple-signals-pending.exp
7468 * gdb.threads/signal-delivered-right-thread.exp
7469 * gdb.threads/signal-sigtrap.exp
7470 * gdb.threads/sigthread.exp
7471 * gdb.threads/staticthreads.exp
7472 * gdb.threads/stepi-random-signal.exp
7473 * gdb.threads/thread-unwindonsignal.exp
7474 * gdb.threads/thread_check.exp
7475 * gdb.threads/thread_events.exp
7476 * gdb.threads/tid-reuse.exp
7477 * gdb.threads/tls-nodebug.exp
7478 * gdb.threads/tls-shared.exp
7479 * gdb.threads/tls-so_extern.exp
7480 * gdb.threads/tls.exp
7481 * gdb.threads/wp-replication.exp
7482 * gdb.trace/actions-changed.exp
7483 * gdb.trace/actions.exp
7484 * gdb.trace/backtrace.exp
7485 * gdb.trace/change-loc.exp
7486 * gdb.trace/collection.exp
7487 * gdb.trace/deltrace.exp
7488 * gdb.trace/disconnected-tracing.exp
7489 * gdb.trace/entry-values.exp
7490 * gdb.trace/ftrace-lock.exp
7491 * gdb.trace/ftrace.exp
7492 * gdb.trace/infotrace.exp
7493 * gdb.trace/mi-trace-frame-collected.exp
7494 * gdb.trace/mi-trace-unavailable.exp
7495 * gdb.trace/mi-traceframe-changed.exp
7496 * gdb.trace/mi-tracepoint-changed.exp
7497 * gdb.trace/mi-tsv-changed.exp
7498 * gdb.trace/no-attach-trace.exp
7499 * gdb.trace/packetlen.exp
7500 * gdb.trace/passc-dyn.exp
7501 * gdb.trace/passcount.exp
7502 * gdb.trace/pending.exp
7503 * gdb.trace/pr16508.exp
7504 * gdb.trace/qtro.exp
7505 * gdb.trace/range-stepping.exp
7506 * gdb.trace/read-memory.exp
7507 * gdb.trace/report.exp
7508 * gdb.trace/save-trace.exp
7509 * gdb.trace/signal.exp
7510 * gdb.trace/stap-trace.exp
7511 * gdb.trace/status-stop.exp
7512 * gdb.trace/strace.exp
7513 * gdb.trace/tfile.exp
7514 * gdb.trace/tfind.exp
7515 * gdb.trace/trace-break.exp
7516 * gdb.trace/trace-condition.exp
7517 * gdb.trace/trace-enable-disable.exp
7518 * gdb.trace/trace-mt.exp
7519 * gdb.trace/tracecmd.exp
7520 * gdb.trace/tracefile-pseudo-reg.exp
7521 * gdb.trace/tspeed.exp
7522 * gdb.trace/tstatus.exp
7523 * gdb.trace/tsv.exp
7524 * gdb.trace/unavailable.exp
7525 * gdb.trace/while-dyn.exp
7526 * gdb.trace/while-stepping.exp
7527 * lib/gdb-guile.exp
7528 * lib/gdb.exp
7529 * lib/mi-support.exp
7530 * lib/pascal.exp
7531 * lib/perftest.exp
7532 * lib/prelink-support.exp
7533 * lib/selftest-support.exp
7534
7535 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7536
7537 * Makefile.in: Include disable-implicit-rules.mk.
7538
7539 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7540
7541 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7542 non-byte-aligned bit fields.
7543
7544 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7545
7546 PR gdb/12616
7547 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7548 respects the DW_AT_data_bit_offset attribute.
7549
7550 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7551
7552 * gdb.base/default.exp: Fix output of "set language".
7553
7554 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7555
7556 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7557 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7558 make.
7559 * configure.ac: Remove checks for the make program.
7560 * configure: Re-generate.
7561
7562 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7563
7564 * gdb.python/py-recurse-unwind.c (main): Add loop.
7565 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7566 to read_register() and gdb.parse_and_eval(). Make each code
7567 call a separate case that can be individually tested.
7568 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7569 proc. Call cont_and_backtrace for each of the code paths that
7570 we want to test in the unwinder.
7571
7572 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7573
7574 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7575 the definition of struct S.
7576
7577 2016-11-11 Catherine Moore <clm@codesourcery.com>
7578
7579 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7580
7581 2016-11-09 Pedro Alves <palves@redhat.com>
7582
7583 * gdb.base/commands.exp (runto_or_return): New procedure.
7584 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7585 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7586 (progvar_simple_while_test, progvar_complex_if_while_test)
7587 (if_while_breakpoint_command_test)
7588 (infrun_breakpoint_command_test, breakpoint_command_test)
7589 (user_defined_command_test, watchpoint_command_test)
7590 (test_command_prompt_position, redefine_hook_test)
7591 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7592 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7593 multi_line_input and multi_line. Remove gdb_expect and
7594 gdb_stop_suppressing_tests uses.
7595 * lib/gdb.exp (valnum_re): New global.
7596 (multi_line_input): New procedure.
7597
7598 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7599
7600 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7601 Remove.
7602 (test_setup): Define with proc_with_prefix.
7603 (test_cli_inferior): Likewise.
7604 (test_cli_thread): Likewise.
7605 (test_cli_frame): Likewise.
7606 (test_cli_select_frame): Likewise.
7607 (test_cli_up_down): Likewise.
7608 (test_mi_thread_select): Likewise.
7609 (test_mi_stack_select_frame): Likewise.
7610 (test_cli_in_mi_inferior): Likewise.
7611 (test_cli_in_mi_thread): Likewise.
7612 (test_cli_in_mi_frame): Likewise.
7613 (top level): Do not use with_test_prefix_procname.
7614
7615 2016-11-09 Pedro Alves <palves@redhat.com>
7616
7617 * gdb.base/commands.exp (gdbvar_simple_if_test)
7618 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7619 (progvar_simple_if_test, progvar_simple_while_test)
7620 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7621 (infrun_breakpoint_command_test, breakpoint_command_test)
7622 (user_defined_command_test, watchpoint_command_test)
7623 (test_command_prompt_position, deprecated_command_test)
7624 (bp_deleted_in_command, temporary_breakpoint_commands)
7625 (stray_arg0_test, source_file_with_indented_comment)
7626 (recursive_source_test, if_commands_test)
7627 (error_clears_commands_left, redefine_hook_test)
7628 (redefine_backtrace_test): Use proc_with_prefix.
7629 * lib/gdb.exp (proc_with_prefix): New proc.
7630
7631 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7632
7633 * gdb.base/tui-layout.c: New file.
7634 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7635 disassembly window contains very long lines.
7636
7637 2016-11-08 Tom Tromey <tom@tromey.com>
7638
7639 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7640 depend on Python 2.
7641
7642 2016-11-08 Tom Tromey <tom@tromey.com>
7643
7644 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7645 New method.
7646
7647 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7648
7649 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7650
7651 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7652
7653 * gdb.rust/simple.rs: Add test for univariant enums without
7654 discriminants and for encoded struct-like enums.
7655
7656 2016-10-28 Pedro Alves <palves@redhat.com>
7657
7658 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7659 gdb_test_multiple, tighten regexps and match symtabs and line
7660 tables incrementally.
7661
7662 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7663
7664 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7665 general.
7666
7667 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7668
7669 * gdb.base/exec-invalid-sysroot.exp: New file.
7670
7671 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7674
7675 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7678
7679 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7680
7681 * gdb.base/killed-outside.exp: Remove $options from a call to
7682 `prepare_for_testing'.
7683
7684 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7685
7686 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7687 Change test message.
7688
7689 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7690
7691 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7692 Update comment.
7693
7694 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7695
7696 * gdb.trace/mi-trace-save.exp: New file.
7697
7698 2016-10-13 Yao Qi <yao.qi@linaro.org>
7699
7700 * gdb.base/code_elim.exp (get_var_address): Remove.
7701 * gdb.base/relocate.exp: Likewise.
7702 * gdb.base/shreloc.exp: Likewise.
7703 * lib/gdb.exp (get_var_address): New.
7704
7705 2016-10-13 Yao Qi <yao.qi@linaro.org>
7706
7707 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7708 floating point tests if $skip_float_test is false.
7709
7710 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7711
7712 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7713 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7714 argc values.
7715 Add 1 to argc so we guarantee distinct initial/modified argc values.
7716
7717 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7720
7721 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7722
7723 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7724 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7725 * gdb.arch/vsx-regs.exp: Likewise.
7726
7727 2016-10-07 Yao Qi <yao.qi@linaro.org>
7728
7729 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7730
7731 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7732
7733 * gdb.python/python.exp: Test decode_line("*0").
7734
7735 2016-10-06 Doug Evans <dje@google.com>
7736
7737 * gdb.python/py-value.exp (test_value_creation): Add test for large
7738 unsigned 64-bit value.
7739
7740 2016-10-06 Tom Tromey <tom@tromey.com>
7741
7742 * gdb.compile/compile.exp: Change java tests to rust.
7743 * gdb.base/setshow.exp: Change java tests to rust.
7744 * gdb.base/default.exp: Remove java from language list.
7745 * README (Examples): Update language example.
7746 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7747 test.
7748 * lib/gdb.exp (skip_java_tests): Remove.
7749 * lib/java.exp: Remove.
7750 * gdb.java: Remove.
7751
7752 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7753
7754 * gdb.arch/mips-fcr.exp: New test.
7755 * gdb.arch/mips-fcr.c: Source for the new test.
7756
7757 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7758
7759 * gdb.base/solib-disc.exp: Use `standard_output_file'
7760 throughout.
7761
7762 2016-10-06 Pedro Alves <palves@redhat.com>
7763
7764 * gdb.base/jit-simple-dl.c: New file.
7765 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7766 * gdb.base/jit-simple.c: ... this.
7767 * gdb.base/jit-simple.exp (jit_run): Delete.
7768 (build_jit): New proc.
7769 (jit_test_reread): Recompile either the main program or the shared
7770 library, depending on what is being tested. Skip changing address
7771 if caller wants to. Compare before/after addresses. If testing
7772 standalone, explicitly load the binary. Test "maint info
7773 breakpoints".
7774 (top level): Add "standalone vs shared lib" and "change address"
7775 vs "same address" axes.
7776
7777 2016-10-06 Pedro Alves <palves@redhat.com>
7778
7779 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7780 call.
7781 (jit_run): Delete.
7782 (jit_test_reread): Use with_test_prefix. Reload the main binary
7783 explicitly. Compare the before/after addresses of the JIT
7784 descriptor.
7785
7786 2016-08-15 Doug Evans <dje@google.com>
7787
7788 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7789 for single bitfields is bool.
7790 * gdb.xml/tdesc-regs.exp: Ditto.
7791
7792 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7795
7796 2016-10-05 Yao Qi <yao.qi@linaro.org>
7797
7798 * lib/gdb.exp (support_complex_tests): Return zero if
7799 gdb_skip_float_test return true.
7800
7801 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7802 Simon Marchi <simon.marchi@ericsson.com>
7803
7804 PR gdb/20487
7805 * gdb.mi/user-selected-context-sync.exp: New file.
7806 * gdb.mi/user-selected-context-sync.c: New file.
7807
7808 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7809 Simon Marchi <simon.marchi@ericsson.com>
7810
7811 PR gdb/20487
7812 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7813 =thread-select-event check.
7814
7815 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7816
7817 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7818 the compulsory L operand changes.
7819 * gdb.arch/powerpc-power.s: Likewise.
7820
7821 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7822
7823 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7824 * gdb.base/jit-attach-pie.c: New file.
7825 * gdb.base/jit-attach-pie.exp: New file.
7826
7827 2016-09-28 Pedro Alves <palves@redhat.com>
7828
7829 * gdb.base/infcall-input.c: New file.
7830 * gdb.base/infcall-input.exp: New file.
7831
7832 2016-09-22 Yao Qi <yao.qi@linaro.org>
7833
7834 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7835 (gdb_exit): Rename it to ...
7836 (gdbserver_gdb_exit): ... Close GDBserver.
7837 (gdb_exit): New proc, call gdbserver_gdb_exit.
7838 (mi_gdb_exit): Likewise.
7839
7840 2016-09-22 Yao Qi <yao.qi@linaro.org>
7841
7842 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7843 path.
7844 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7845 Remove duplication.
7846
7847 2016-09-22 Yao Qi <yao.qi@linaro.org>
7848
7849 * lib/gdbserver-support.exp: Check the existence of
7850 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7851
7852 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7853
7854 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7855
7856 2016-09-21 Tom Tromey <tom@tromey.com>
7857
7858 PR gdb/20604:
7859 * gdb.base/quit.exp: New file.
7860
7861 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7862
7863 * .gitignore: New file.
7864
7865 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7866
7867 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7868 throughout.
7869
7870 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7871
7872 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7873
7874 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7875
7876 * gdb.cp/casts.cc (decltype): Move it ...
7877 (main): ... with its call to ...
7878 * gdb.cp/casts03.cc: ... a new file.
7879 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7880
7881 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7882
7883 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7884
7885 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7886
7887 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7888 and sync up the test with tests in gas/testsuite/gas/ppc.
7889 * gdb.arch/powerpc-power.exp: Likewise.
7890
7891 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7892
7893 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7894
7895 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7896 Jan Kratochvil <jan.kratochvil@redhat.com>
7897
7898 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7899 make m1's definition to be different from m2's. Use 'dummy' as an
7900 argument for probe 'two'.
7901
7902 2016-09-10 Jon Beniston <jon@beniston.com>
7903
7904 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7905 for sim target.
7906
7907 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7908
7909 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7910 variable declaration.
7911 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7912 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7913 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7914 received HWCAP as its argument.
7915
7916 2016-09-06 Pedro Alves <palves@redhat.com>
7917
7918 * gdb.base/new-ui-pending-input.c: New file.
7919 * gdb.base/new-ui-pending-input.exp: New file.
7920 * gdb.exp (clear_gdb_spawn_id): New procedure.
7921 (with_spawn_id): Check whether gdb_spawn_id exists before
7922 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7923 on exit.
7924
7925 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7926
7927 * gdb.base/float128.c: New file.
7928 * gdb.base/float128.exp: Likewise.
7929 * gdb.base/floatn.c: Likewise.
7930 * gdb.base/floatn.exp: Likewise.
7931
7932 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7933
7934 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7935
7936 2016-09-05 Pedro Alves <palves@redhat.com>
7937
7938 PR backtrace/19927
7939 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7940 unwinders are immediately called as side effect of "source" or
7941 "disable unwinder" commands.
7942 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7943
7944 2016-09-02 Yao Qi <yao.qi@linaro.org>
7945
7946 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7947 is true and $type is "float" or "double".
7948
7949 2016-09-02 Yao Qi <yao.qi@linaro.org>
7950
7951 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7952 true.
7953 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7954 * gdb.base/call-rt-st.exp: Likewise.
7955 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7956 return value instead of gdb,skip_float_test.
7957 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7958 (do_function_calls): Use its return value instead of
7959 gdb,skip_float_test.
7960 * gdb.base/finish.exp: Likewise.
7961 * gdb.base/funcargs.exp: Likewise.
7962 * gdb.base/return.exp: Likewise.
7963 * gdb.base/return2.exp: Likewise.
7964 * gdb.base/varargs.exp: Likewise.
7965 * lib/gdb.exp (gdb_skip_float_test): Change it to
7966 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7967
7968 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7969
7970 * gdb.multi/tids.exp: Test "thread apply all".
7971
7972 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7973
7974 * gdb.base/default.exp (tty): Remove.
7975
7976 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7977
7978 * gdb.python/py-recurse-unwind.c: New file.
7979 * gdb.python/py-recurse-unwind.py: New file.
7980 * gdb.python/py-recurse-unwind.exp: New file.
7981
7982 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7983
7984 * gdb.base/set-inferior-tty.exp: New file.
7985 * gdb.base/set-inferior-tty.c: New file.
7986
7987 2016-08-23 Pedro Alves <palves@redhat.com>
7988
7989 PR gdb/20494
7990 * gdb.base/new-ui-echo.c: New file.
7991 * gdb.base/new-ui-echo.exp: New file.
7992
7993 2016-08-23 Yao Qi <yao.qi@linaro.org>
7994
7995 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7996 gdbserver_spawn.
7997 * gdb.server/connect-without-multi-process.exp (do_test):
7998 Likewise.
7999
8000 2016-08-23 Yao Qi <yao.qi@linaro.org>
8001
8002 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8003 standalone_txt. Delete gdb_txt and standalone_txt on host
8004 and target. Spawn the binary on target. Copy files from
8005 target to host.
8006
8007 2016-08-22 Pedro Alves <palves@redhat.com>
8008
8009 PR gdb/20505
8010 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8011 with_test_prefix. Factor out bits to ...
8012 (test_no_vdso): ... this new procedure.
8013
8014 2016-08-19 Carl Love <cel@us.ibm.com>
8015
8016 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8017 maintaining separate logic for constructing the output path.
8018 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8019 * gdb.arch/ppc-dfp.exp: Likewise.
8020 * gdb.arch/ppc-fp.exp: Likewise.
8021 * gdb.arch/vsx-regs.exp: Likewise.
8022 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8023 binprefix for generating the additional binary files.
8024
8025 2016-08-19 Pedro Alves <palves@redhat.com>
8026
8027 * gdb.trace/mi-trace-frame-collected.exp
8028 (test_trace_frame_collected): On x32, expect two registers.
8029
8030 2016-08-18 Carl Love <cel@us.ibm.com>
8031
8032 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8033 and sync up the test with tests in gas/testsuite/gas/ppc.
8034 * gdb.arch/powerpc-power.exp: Likewise.
8035
8036 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8037
8038 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8039 expected error message.
8040
8041 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8042
8043 * gdb.multi/remove-inferiors.exp: New file.
8044 * gdb.multi/remove-inferiors.c: New file.
8045
8046 2016-08-12 Yao Qi <yao.qi@linaro.org>
8047
8048 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8049 argument list.
8050
8051 2016-08-10 Pedro Alves <palves@redhat.com>
8052
8053 PR gdb/19187
8054 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8055 setup_kfails.
8056
8057 2016-08-09 Pedro Alves <palves@redhat.com>
8058 Simon Marchi <simon.marchi@ericsson.com>
8059
8060 PR gdb/20418
8061 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8062 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8063
8064 2016-08-09 Pedro Alves <palves@redhat.com>
8065
8066 PR mi/20431
8067 * gdb.mi/mi-cmd-error.exp: New file.
8068
8069 2016-08-09 Pedro Alves <palves@redhat.com>
8070
8071 PR gdb/18653
8072 * gdb.base/signals-state-child.c: New file.
8073 * gdb.base/signals-state-child.exp: New file.
8074 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8075
8076 2016-08-09 Pedro Alves <palves@redhat.com>
8077
8078 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8079
8080 2016-08-03 Tom Tromey <tom@tromey.com>
8081
8082 PR python/18565:
8083 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8084
8085 2016-08-01 Yao Qi <yao.qi@linaro.org>
8086
8087 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8088 variable mode to "multi-process" if $multi_process is 1, otherwise
8089 set it to "single-process".
8090
8091 2016-08-01 Yao Qi <yao.qi@linaro.org>
8092
8093 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8094 * gdb.cp/cpexprs.exp: Likewise.
8095 * gdb.cp/m-static.exp: Likewise.
8096
8097 2016-07-26 Tom Tromey <tom@tromey.com>
8098
8099 PR python/20190:
8100 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8101 test.
8102
8103 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8104
8105 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8106 selecting assembly source files.
8107 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8108 assembly source files.
8109 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8110 assembly source files.
8111 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8112 selecting assembly source files.
8113
8114 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8115
8116 * gdb.base/new-ui.exp (do_test_invalid_args): New
8117 procedure.
8118
8119 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8120
8121 * gdb.btrace/reconnect.c: New file.
8122 * gdb.btrace/reconnect.exp: New file.
8123
8124 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8125
8126 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8127 to test_catch_syscall_group.
8128 (test_catch_syscall_group): New.
8129
8130 2016-07-21 Tom Tromey <tom@tromey.com>
8131
8132 * gdb.rust/simple.rs (main): Use empty struct expression.
8133 * gdb.rust/simple.exp: Add tests for empty struct expression.
8134
8135 2016-07-21 Yao Qi <yao.qi@linaro.org>
8136
8137 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8138 if gdb_skip_xml_test is true on some targets.
8139
8140 2016-07-21 Yao Qi <yao.qi@linaro.org>
8141
8142 * gdb.server/solib-list.exp: Unset last_loaded_file.
8143
8144 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8145
8146 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8147 "step into captured_main (args)".
8148
8149 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8150
8151 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8152
8153 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8154
8155 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8156
8157 2016-07-19 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8160 * gdb.opt/inline-bt.exp: Likewise.
8161 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8162 additional_flags=-Winline.
8163 * gdb.opt/inline-locals.exp: Likewise.
8164 * gdb.opt/inline-markers.c (ATTR): Define.
8165 (inlined_fn): Use it.
8166
8167 2016-07-19 Yao Qi <yao.qi@linaro.org>
8168
8169 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8170 (test_with_self): Remove some code. Remove argument executable.
8171 (top-level): Use do_self_tests.
8172
8173 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8174 Don Breazeal <donb@codesourcery.com>
8175
8176 * gdb.base/maint.exp: Escape paths used in regular expressions.
8177 * gdb.stabs/weird.exp: Likewise.
8178
8179 2016-07-13 Tom Tromey <tom@tromey.com>
8180
8181 PR python/15620, PR python/18620:
8182 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8183 (test_bkpt_events): New procs.
8184
8185 2016-07-13 Tom Tromey <tom@tromey.com>
8186
8187 PR python/17698:
8188 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8189 test.
8190 (test_watchpoints): Likewise.
8191 (test_bkpt_pending): New proc.
8192
8193 2016-07-13 Tom Tromey <tom@tromey.com>
8194
8195 PR cli/18053:
8196 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8197 completion test.
8198
8199 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8200
8201 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8202 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8203 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8204 f_label.
8205 (g): Rename g_end_lbl to g_label.
8206 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8207 low_pc and high_pc.
8208 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8209
8210 2016-07-12 Tom Tromey <tom@tromey.com>
8211
8212 PR python/19293:
8213 * gdb.python/py-unwind-maint.exp: Update tests.
8214
8215 2016-07-12 Yao Qi <yao.qi@linaro.org>
8216
8217 * lib/selftest-support.exp (selftest_setup): Match the output
8218 when captured_main is inlined.
8219
8220 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8221
8222 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8223 New variables.
8224 (print this%a, print this%b, print this): New tests.
8225 * gdb.fortran/derived-types.f90 (this): New object and
8226 initialization.
8227
8228 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8229
8230 * gdb.ada/arraydim.exp: Remove extra directory level in build
8231 directory.
8232
8233 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8234
8235 * lib/ada.exp: Remove extra directory level in build directory.
8236 * gdb.ada/cond_lang.exp: Likewise.
8237 * gdb.ada/exec_changed.exp: Likewise.
8238 * gdb.ada/lang_switch.exp: Likewise.
8239
8240 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8241
8242 * simple.rs: Add test for raw pointer subscripting.
8243 * simple.exp: Add test expectations.
8244
8245 2016-07-05 Yao Qi <yao.qi@linaro.org>
8246
8247 * gdb.mi/mi-reverse.exp: Match =record-started output.
8248
8249 2016-07-01 Pedro Alves <palves@redhat.com>
8250
8251 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8252 procedure.
8253 (jit_reader_test): Test the jit reader's unwinder.
8254 * gdb.base/jithost.c (jit_function_00_code): New global.
8255 (main): Use memcpy to fill in the mmapped code, instead of poking
8256 bytes manually here.
8257 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8258 value.
8259 (read_debug_info): Save the function's range.
8260 (read_sp): New function.
8261 (unwind_frame): Use it. Also unwind RBP.
8262 (get_frame_id): Use read_sp.
8263 (gdb_init_reader): Use calloc instead of malloc.
8264 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8265 parameter. Use gdb_test_multiple.
8266
8267 2016-07-01 Pedro Alves <palves@redhat.com>
8268 Antoine Tremblay <antoine.tremblay@ericsson.com>
8269
8270 * gdb.threads/process-dies-while-detaching.c: New file.
8271 * gdb.threads/process-dies-while-detaching.exp: New file.
8272
8273 2016-07-01 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.multi/watchpoint-multi-exit.c: New file.
8276 * gdb.multi/watchpoint-multi-exit.exp: New file.
8277
8278 2016-06-30 Pedro Alves <palves@redhat.com>
8279
8280 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8281 unset inferior_spawn_id.
8282
8283 2016-06-30 Pedro Alves <palves@redhat.com>
8284
8285 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8286 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8287
8288 2016-06-29 Yao Qi <yao.qi@linaro.org>
8289
8290 * gdb.base/return.c: Add copyright header.
8291
8292 2016-06-29 Tom Tromey <tom@tromey.com>
8293
8294 PR python/20129:
8295 * gdb.python/py-framefilter.exp: Add tests for setting priority
8296 and disabling of non-existent frame filter.
8297
8298 2016-06-29 Yao Qi <yao.qi@linaro.org>
8299
8300 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8301 0x0f07ff.
8302
8303 2016-06-28 Yao Qi <yao.qi@linaro.org>
8304
8305 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8306 triplets. Start gdb, execute catch syscall, and continue. Check
8307 gdb's output to determine catch syscall is supported.
8308
8309 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8310
8311 * gdb.rust/simple.rs: Add test for returning unit in a function.
8312 * gdb.rust/simple.exp: Add expectation for functions returning
8313 unit.
8314
8315 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8316
8317 * gdb.python/py-breakpoint-create-fail.c,
8318 gdb.python/py-breakpoint-create-fail.exp,
8319 gdb.python/py-breakpoint-create-fail.py: New testcase.
8320
8321 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8322
8323 PR gdb/20239
8324 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8325 * gdb.rust/simple.exp: Add test expectations for new NonZero
8326 tests.
8327
8328 2016-06-24 David Taylor <dtaylor@emc.com>
8329
8330 * gdb.base/offsets.exp: New file.
8331 * gdb.base/offsets.c: New file.
8332
8333 2016-06-23 Tom Tromey <tom@tromey.com>
8334
8335 PR gdb/16483:
8336 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8337 before any filters are loaded.
8338
8339 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8340
8341 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8342 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8343 structs.
8344 * gdb.fortran/derived-type-function.exp: New file.
8345 * gdb.fortran/derived-type-function.f90: New file.
8346
8347
8348 2016-06-21 Pedro Alves <palves@redhat.com>
8349
8350 * gdb.base/new-ui.exp: New file.
8351 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8352 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8353 (with_spawn_id): New procedure.
8354
8355 2016-06-21 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.mi/mi-exec-run.exp: New file.
8358
8359 2016-06-21 Pedro Alves <palves@redhat.com>
8360
8361 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8362 breakpoint command's output on the main UI.
8363 (test_break): New procedure, factored out from calls in the top
8364 level.
8365 (top level): Use foreach_with_prefix to test MI as main UI and as
8366 separate UI.
8367
8368 2016-06-21 Pedro Alves <palves@redhat.com>
8369
8370 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8371 (test_awatch_creation_and_listing)
8372 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8373 Remove 'type' parameter.
8374 (test_watchpoint_all): New parameter mi_mode. Remove
8375 with_test_prefix.
8376 (top level): Use foreach_with_prefix, and add main/separate UI MI
8377 testing axis.
8378
8379 2016-06-21 Pedro Alves <palves@redhat.com>
8380
8381 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8382 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8383 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8384 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8385 (gdb_main_spawn_id, mi_spawn_id): Declare and
8386 comment.
8387 (mi_create_inferior_pty): New procedure,
8388 factored out from default_mi_gdb_start.
8389 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8390 procedures.
8391 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8392 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8393 Use mi_create_inferior_pty.
8394 (mi_gdb_start): Use eval to pass down args list.
8395
8396 2016-06-21 Pedro Alves <palves@redhat.com>
8397
8398 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8399 * gdb.opt/inline-cmds.exp: Add MI tests.
8400
8401 2016-06-21 Pedro Alves <palves@redhat.com>
8402
8403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8404
8405 2016-06-21 Pedro Alves <palves@redhat.com>
8406
8407 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8408 (top level): Use it instead of mi_execute_to.
8409
8410 2016-06-21 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8413 (cont_handler_str): New.
8414 (signal_stop_handler): Set stop_handler_str instead of printing to
8415 stdout.
8416 (continue_handler): Set cont_handler_str instead of printing to
8417 stdout.
8418 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8419 mi_send_resuming_command. Print stop_handler_str and
8420 cont_handler_str instead of expecting the python events print
8421 directly.
8422
8423 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8424
8425 * gdb.base/jit-reader.exp: New file.
8426 * gdb.base/jithost.c: New file.
8427 * gdb.base/jithost.h: New file.
8428 * gdb.base/jitreader.c : New file.
8429 * gdb.base/jit-protocol.h: New file.
8430
8431 2016-06-17 Yao Qi <yao.qi@linaro.org>
8432
8433 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8434 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8435 and detach-on-fork. Adjust tests.
8436 (top level): Invoke break_cond_on_syscall with combinations of
8437 syscall, follow-fork-mode and detach-on-fork.
8438
8439 2016-06-17 Yao Qi <yao.qi@linaro.org>
8440
8441 * gdb.base/step-over-exit.c: New.
8442 * gdb.base/step-over-exit.exp: New.
8443
8444 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8445
8446 * gdb.base/float.exp: Add target check for nds32*-*-*.
8447 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8448
8449 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8450
8451 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8452 for unsupported target features.
8453 * gdb.base/call-rt-st.exp: Likewise.
8454 * gdb.base/call-sc.exp: Likewise.
8455 * gdb.base/call-signal-resume.exp: Likewise.
8456 * gdb.base/call-strs.exp: Likewise.
8457 * gdb.base/callexit.exp: Likewise.
8458 * gdb.base/callfuncs.exp: Likewise.
8459 * gdb.base/nodebug.exp: Likewise.
8460 * gdb.base/printcmds.exp: Likewise.
8461 * gdb.base/ptype.exp: Likewise.
8462 * gdb.base/structs.exp: Likewise.
8463 * gdb.base/unwindonsignal.exp: Likewise.
8464 * gdb.cp/gdb2495.exp: Likewise.
8465 * gdb.cp/templates.exp: Likewise.
8466 * gdb.cp/virtfunc.exp: Likewise.
8467 * gdb.threads/hand-call-in-threads.exp: Likewise.
8468 * gdb.threads/interrupted-hand-call.exp: Likewise.
8469 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8470
8471 2016-06-10 Tom Tromey <tom@tromey.com>
8472
8473 PR rust/20110:
8474 * gdb.rust/expr.exp: Add test for integer constant larger than
8475 i32.
8476
8477 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8478
8479 * gdb.fortran/nested-funcs.exp: New.
8480 * gdb.fortran/nested-funcs.f90: New.
8481
8482 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8483
8484 * gdb.base/examine-backward.c: New file.
8485 * gdb.base/examine-backward.exp: New file.
8486
8487 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8488
8489 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8490 matching.
8491
8492 2016-06-02 Tom Tromey <tom@tromey.com>
8493
8494 PR python/18984:
8495 * gdb.python/py-shared.exp: Add solib_name test.
8496
8497 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8498
8499 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8500
8501 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8502
8503 PR c++/19893
8504 * gdb.dwarf2/implref.exp: Rename to...
8505 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8506 * gdb.dwarf2/implref-array.c: New file.
8507 * gdb.dwarf2/implref-array.exp: Likewise.
8508 * gdb.dwarf2/implref-global.c: Likewise.
8509 * gdb.dwarf2/implref-global.exp: Likewise.
8510 * gdb.dwarf2/implref-struct.c: Likewise.
8511 * gdb.dwarf2/implref-struct.exp: Likewise.
8512
8513 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8514
8515 * gdb.trace/trace-condition.exp: Add 64bit tests.
8516
8517 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8518
8519 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8520 bits types.
8521 (main): Adapt to 8 to 64 bits types.
8522 * gdb.trace/trace-condition.exp: Add new tests.
8523
8524 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8525
8526 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8527
8528 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8529
8530 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8531 Move condition tests...
8532 * gdb.trace/trace-condition.exp: Here.
8533
8534 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8535
8536 * gdb.trace/trace-condition.exp: Add counter-case tests.
8537
8538 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8539
8540 PR c++/15231
8541 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8542 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8543
8544 2016-05-27 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8547 New procedure.
8548 (top level): Call it, and bail out of DejaGnu is known to be bad.
8549
8550 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8551
8552 * gdb.base/whatis.c: Extend the test case.
8553 * gdb.base/whatis.exp: Add additional tests.
8554
8555 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8556
8557 * gdb.fortran/type.f90: Add pointer variable.
8558 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8559
8560 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8561
8562 * gdb.fortran/vla-type.exp: Fix testcase name.
8563
8564 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8565
8566 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8567
8568 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8569
8570 * gdb.fortran/type.f90: Add nested structures.
8571 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8572 * gdb.fortran/derived-type.exp: Adapt expected output.
8573 * gdb.fortran/vla-type.exp: Adapt expected output.
8574
8575 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8576
8577 * gdb.fortran/whatis_type.exp: Adapt expected output.
8578
8579 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8580
8581 * gdb.fortran/print_type.exp: Fix expected output.
8582 * gdb.fortran/whatis_type.exp: Fix expected output.
8583
8584 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8585
8586 * gdb.fortran/whatis_type.exp: Use multi_line.
8587
8588 2016-05-24 Tom Tromey <tom@tromey.com>
8589
8590 PR python/17386:
8591 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8592 use value as an index.
8593
8594 2016-05-23 Tom Tromey <tom@tromey.com>
8595
8596 PR python/17981:
8597 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8598 no-breakpoint case.
8599
8600 2016-05-24 Pedro Alves <palves@redhat.com>
8601
8602 PR gdb/19828
8603 * gdb.threads/clone-attach-detach.c: New file.
8604 * gdb.threads/clone-attach-detach.exp: New file.
8605
8606 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8607
8608 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8609
8610 2016-05-23 Tom Tromey <tom@tromey.com>
8611
8612 PR python/19438, PR python/18393:
8613 * gdb.python/py-progspace.exp: Add "dir" test.
8614 * gdb.python/py-objfile.exp: Add "dir" test.
8615
8616 2016-05-23 Yao Qi <yao.qi@linaro.org>
8617
8618 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8619 * gdb.arch/thumb2-it.exp: Likewise.
8620
8621 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8622
8623 * gdb.mi/mi-threads-interrupt.c: New file.
8624 * gdb.mi/mi-threads-interrupt.exp: New file.
8625
8626 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8627
8628 PR gdb/18077
8629 * gdb.mi/mi-async-run.exp: New file.
8630 * gdb.mi/mi-async-run.c: New file.
8631
8632 2016-05-17 Tom Tromey <tom@tromey.com>
8633 Manish Goregaokar <manishsmail@gmail.com>
8634
8635 * lib/rust-support.exp: New file.
8636 * lib/gdb.exp (skip_rust_tests): New proc.
8637 (build_executable_from_specs): Handle rust.
8638 * lib/future.exp (gdb_find_rustc): New proc.
8639 (gdb_default_target_compile): Handle rust.
8640 * gdb.rust/expr.exp: New file.
8641 * gdb.rust/generics.exp: New file.
8642 * gdb.rust/generics.rs: New file.
8643 * gdb.rust/methods.exp: New file.
8644 * gdb.rust/methods.rs: New file.
8645 * gdb.rust/modules.exp: New file.
8646 * gdb.rust/modules.rs: New file.
8647 * gdb.rust/simple.exp: New file.
8648 * gdb.rust/simple.rs: New file.
8649
8650 2016-05-17 Tom Tromey <tom@tromey.com>
8651
8652 * gdb.base/default.exp (set language): Add rust.
8653
8654 2016-05-17 Tom Tromey <tom@tromey.com>
8655
8656 * gdb.gdb/unittest.exp: New file.
8657
8658 2016-05-16 Yao Qi <yao.qi@linaro.org>
8659
8660 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8661 shell_prompt. Update shell_prompt_re.
8662
8663 2016-05-12 Doug Evans <dje@google.com>
8664
8665 PR symtab/19999
8666 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8667 $options when building executable.
8668 * gdb.dwarf2/fission-loclists-pie.S: New file.
8669 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8670
8671 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8672
8673 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8674 of [is_remote target],
8675
8676 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8677
8678 * lib/gdb.exp (use_gdb_stub): New procedure.
8679
8680 2016-05-03 Yunlian Jiang <yunlian@google.com>
8681 Doug Evans <dje@google.com>
8682
8683 PR symtab/19914
8684 * gdb.dwarf2/dwp-sepdebug.c: New file.
8685 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8686
8687 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8688
8689 * gdb.base/detach.exp: Remove is_remote check.
8690
8691 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8692
8693 * gdb.base/annota-input-while-running.exp: Don't check for
8694 [is_remote target]. Enable annotations after running to main.
8695 Remove unused "set test..." line.
8696
8697 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8698
8699 * gdb.trace/trace-enable-disable.exp: New file.
8700 * gdb.trace/trace-enable-disable.c: New file.
8701
8702 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8703
8704 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8705 use it in info sharedlibrary test.
8706 * gdb.trace/ftrace-lock.exp: Likewise.
8707 * gdb.trace/ftrace.exp: Likewise.
8708 * gdb.trace/range-stepping.exp: Likewise.
8709 * gdb.trace/trace-break.exp: Likewise.
8710 * gdb.trace/trace-condition.exp: Likewise.
8711 * gdb.trace/trace-mt.exp: Likewise.
8712
8713 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8714
8715 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8716 (gdb_load_shlib): ... this.
8717 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8718 gdb_load_shlib.
8719 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8720 * gdb.base/ctxobj.exp: Likewise.
8721 * gdb.base/dprintf-pending.exp: Likewise.
8722 * gdb.base/dso2dso.exp: Likewise.
8723 * gdb.base/fixsection.exp: Likewise.
8724 * gdb.base/gcore-relro.exp: Likewise.
8725 * gdb.base/gdb1555.exp: Likewise.
8726 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8727 * gdb.base/gnu-ifunc.exp: Likewise.
8728 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8729 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8730 * gdb.base/pending.exp: Likewise.
8731 * gdb.base/print-file-var.exp: Likewise.
8732 * gdb.base/print-symbol-loading.exp: Likewise.
8733 * gdb.base/shlib-call.exp: Likewise.
8734 * gdb.base/shreloc.exp: Likewise.
8735 * gdb.base/so-impl-ld.exp: Likewise.
8736 * gdb.base/solib-disc.exp: Likewise.
8737 * gdb.base/solib-nodir.exp: Likewise.
8738 * gdb.base/solib-overlap.exp: Likewise.
8739 * gdb.base/solib-symbol.exp: Likewise.
8740 * gdb.base/solib-weak.exp (do_test): Likewise.
8741 * gdb.base/sym-file.exp: Likewise.
8742 * gdb.base/symtab-search-order.exp: Likewise.
8743 * gdb.base/type-opaque.exp: Likewise.
8744 * gdb.base/unload.exp: Likewise.
8745 * gdb.base/watchpoint-solib.exp: Likewise.
8746 * gdb.compile/compile.exp: Likewise.
8747 * gdb.cp/gdb2384.exp: Likewise.
8748 * gdb.cp/infcall-dlopen.exp: Likewise.
8749 * gdb.cp/re-set-overloaded.exp: Likewise.
8750 * gdb.fortran/library-module.exp: Likewise.
8751 * gdb.opt/solib-intra-step.exp: Likewise.
8752 * gdb.python/py-finish-breakpoint.exp: Likewise.
8753 * gdb.python/py-shared.exp: Likewise.
8754 * gdb.reverse/solib-precsave.exp: Likewise.
8755 * gdb.reverse/solib-reverse.exp: Likewise.
8756 * gdb.server/solib-list.exp: Likewise.
8757 * gdb.threads/dlopen-libpthread.exp: Likewise.
8758 * gdb.threads/tls-shared.exp: Likewise.
8759 * gdb.threads/tls-so_extern.exp: Likewise.
8760 * gdb.trace/change-loc.exp: Likewise.
8761 * gdb.trace/ftrace-lock.exp: Likewise.
8762 * gdb.trace/ftrace.exp: Likewise.
8763 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8764 * gdb.trace/pending.exp: Likewise.
8765 * gdb.trace/range-stepping.exp: Likewise.
8766 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8767 (strace_info_marker): Likewise.
8768 (strace_probe_marker): Likewise.
8769 (strace_trace_on_same_addr): Likewise.
8770 (strace_trace_on_diff_addr): Likewise.
8771 * gdb.trace/trace-break.exp: Likewise.
8772 * gdb.trace/trace-condition.exp: Likewise.
8773 * gdb.trace/trace-mt.exp: Likewise.
8774
8775 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8776
8777 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8778 result of gdb_remote_download.
8779 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8780 * gdb.base/dso2dso.exp: Likewise.
8781 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8782 * gdb.base/print-file-var.exp: Likewise.
8783 * gdb.base/shlib-call.exp: Likewise.
8784 * gdb.base/shreloc.exp: Likewise.
8785 * gdb.base/solib-overlap.exp: Likewise.
8786 * gdb.base/solib-weak.exp (do_test): Likewise.
8787 * gdb.base/unload.exp: Likewise.
8788
8789 2016-04-27 Yao Qi <yao.qi@linaro.org>
8790
8791 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8792 exists.
8793
8794 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8795
8796 * vla-type.exp: Print structure from toplevel.
8797
8798 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8799
8800 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8801 of dynamic types.
8802 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8803 of dynamic types.
8804
8805 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8806
8807 * gdb.fortran/vla-type.f90: New file.
8808 * gdb.fortran/vla-type.exp: New file.
8809
8810 2016-04-25 Yao Qi <yao.qi@linaro.org>
8811
8812 * gdb.base/branch-to-self.c: New file.
8813 * gdb.base/branch-to-self.exp: New file.
8814
8815 2016-04-22 Yao Qi <yao.qi@linaro.org>
8816
8817 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8818 more after $hex.
8819
8820 2016-04-22 Yao Qi <yao.qi@linaro.org>
8821
8822 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8823 * gdb.base/annota3.exp: Likewise.
8824
8825 2016-04-22 Yao Qi <yao.qi@linaro.org>
8826
8827 * gdb.reverse/step-precsave.exp: Do one step and test program
8828 stops in "callee" and do multiple steps until program goes out
8829 of "callee".
8830 * gdb.reverse/step-reverse.exp: Likewise.
8831
8832 2016-04-22 Yao Qi <yao.qi@linaro.org>
8833
8834 * gdb.trace/signal.exp: Also pass if
8835 $tracepoint_hits($i) > $iterations.
8836
8837 2016-04-22 Yao Qi <yao.qi@linaro.org>
8838
8839 * gdb.trace/signal.c: New file.
8840 * gdb.trace/signal.exp: New file.
8841
8842 2016-04-19 Doug Evans <xdje42@gmail.com>
8843
8844 * gdb.base/bad-file.exp: New file.
8845
8846 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8847
8848 * gdb.dwarf2/implref.exp: New file.
8849
8850 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8851
8852 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8853 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8854 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8855 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8856 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8857 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8858 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8859 * lib/fortran.exp (fortran_int4): New procedure.
8860 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8861 (fortran_logical4): Likewise.
8862
8863 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8864
8865 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8866
8867 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8868
8869 * lib/compiler.c: Add Intel specific preprocessor macros.
8870 * lib/compiler.cc: Likewise.
8871
8872 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8873
8874 * gdb.server/connect-with-no-symbol-file.c: New file.
8875 * gdb.server/connect-with-no-symbol-file.exp: New file.
8876
8877 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8878
8879 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8880
8881 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8882
8883 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8884 standard output directory.
8885
8886 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8887
8888 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8889
8890 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8891
8892 * gdb.btrace/instruction_history.c (loop): Add declaration.
8893
8894 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8895
8896 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8897
8898 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8899
8900 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8901 parentheses to print.
8902 (continue_handler): Likewise.
8903
8904 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8905
8906 * gdb.server/solib-list.exp: Remove is_remote check.
8907 Pass shlib= to gdb_compile. Don't link shared library with
8908 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8909 Run binary filename through "readlink -f" on the target.
8910
8911 2016-04-08 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8914 interpreter filename as argument to gdbserver_spawn.
8915 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8916 Return empty if $last_loaded_file does not exist.
8917
8918 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8919
8920 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8921 * gdb.base/jit-main.c: Use exit after usage.
8922
8923 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8924
8925 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8926 GDBHISTSIZE prior to the tests.
8927 * gdb.base/gdbinit-history.exp: Likewise.
8928
8929 2016-04-07 Pedro Alves <palves@redhat.com>
8930
8931 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8932 instead of build_executable. Use gdb_load_shlibs.
8933
8934 2016-04-07 Yao Qi <yao.qi@linaro.org>
8935
8936 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8937 Execute "si" command.
8938
8939 2016-04-07 Yao Qi <yao.qi@linaro.org>
8940
8941 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8942 number instead of the comments on some line.
8943
8944 2016-04-06 Don Breazeal <donb@codesourcery.com>
8945
8946 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8947 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8948
8949 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8950
8951 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8952 standard_output_file. Remove unused binfile variable.
8953
8954 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8955
8956 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8957 * gdb.python/py-mi-objfile.exp: Match "list main" output
8958 in console format.
8959
8960 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8961
8962 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8963 absolute.
8964
8965 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8966
8967 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8968 absolute.
8969 * gdb.trace/ftrace.exp: Likewise.
8970 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8971 targets as well.
8972 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8973 (gdb_load_shlibs): Copy libraries to test directory when testing
8974 natively. Only set solib-search-path if testing remotely.
8975 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8976
8977 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8978
8979 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8980 gdb_download. Use it even if the target is not remote.
8981 * gdb.base/jit.exp (compile_jit_test): Likewise.
8982 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8983 output directory if the destination board is local, otherwise use
8984 the standard remote_download from DejaGnu.
8985 (gdb_download): Remove.
8986 (gdb_load_shlibs): Use gdb_remote_download instead of
8987 gdb_download.
8988 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8989 Use gdb_remote_download instead of gdb_download. Use it even if
8990 the target is not remote.
8991 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8992 instead of gdb_download.
8993
8994 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8995
8996 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8997 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8998 run.
8999
9000 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9001
9002 PR gdb/19820
9003 * gdb.base/printcmds.exp: Add artificial arrays tests.
9004
9005 2016-03-31 Pedro Alves <palves@redhat.com>
9006
9007 PR gdb/19858
9008 * gdb.base/jit-main.c: Include unistd.h.
9009 (ATTACH): Define to 0 if not already defined.
9010 (wait_for_gdb, mypid): New globals.
9011 (WAIT_FOR_GDB): New macro.
9012 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9013 some breakpoint locations.
9014 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9015 New procedures.
9016 (one_jit_test): Add REATTACH parameter, and handle it. Use
9017 continue_to_test_location.
9018 (top level): Test attach, and adjusts calls to one_jit_test.
9019
9020 2016-03-31 Pedro Alves <palves@redhat.com>
9021
9022 PR gdb/19858
9023 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9024 BINSUFFIX parameter, and handle it.
9025 (top level): Adjust calls compile_jit_test.
9026
9027 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9028
9029 PR python/19743
9030 * gdb.python/py-mi-events-gdb.py: New file.
9031 * gdb.python/py-mi-events.c: New file.
9032 * gdb.python/py-mi-events.exp: New file.
9033
9034 2016-03-30 Yao Qi <yao.qi@linaro.org>
9035
9036 * gdb.reverse/until-precsave.exp: Match function name only.
9037 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9038 Move malloc to a condition block.
9039 * gdb.reverse/until-reverse.exp: Match function name only.
9040
9041 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9042
9043 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9044 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9045 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9046 variable for GPR 0 instead of assuming it is register 0.
9047 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9048 * lib/trace-support.exp: Add s390 registers.
9049
9050 2016-03-29 Yao Qi <yao.qi@linaro.org>
9051
9052 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9053
9054 2016-03-24 Yao Qi <yao.qi@linaro.org>
9055
9056 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9057 test message.
9058
9059 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9060
9061 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9062 maintaining separate logic for constructing the output path.
9063
9064 2016-03-16 Don Breazeal <donb@codesourcery.com>
9065
9066 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9067 Retry fork and waitpid on interrupted system call errors.
9068 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9069 Use with_timeout_factor to increase timeout by factor of 10.
9070
9071 2016-03-15 Don Breazeal <donb@codesourcery.com>
9072
9073 * gdb.cp/scope-err.cc: New test program.
9074 * gdb.cp/scope-err.exp: New test script.
9075 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9076 lines and "set breakpoint here" comment.
9077 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9078 Fixed some whitespace and format issues.
9079 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9080 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9081
9082 2016-03-15 Doug Evans <dje@google.com>
9083
9084 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9085 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9086 All callers updated. Add tests for enums, mixed flags register.
9087
9088 2016-03-15 Doug Evans <dje@google.com>
9089
9090 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9091 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9092
9093 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9094
9095 * gdb.base/default.exp: Add $_as_string to the list of expected
9096 convenience functions.
9097
9098 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9099
9100 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9101
9102 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9103
9104 * gdb.python/py-as-string.exp: New file.
9105 * gdb.python/py-as-string.c: New file.
9106
9107 2016-03-09 Pedro Alves <palves@redhat.com>
9108
9109 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9110 signal" -> "Thread NN received signal" output change.
9111 * gdb.threads/ia64-sigill.exp: Likewise.
9112 * gdb.threads/linux-dp.exp: Likewise.
9113 * gdb.threads/manythreads.exp: Likewise.
9114 * gdb.threads/pending-step.exp: Likewise.
9115 * gdb.threads/print-threads.exp: Likewise.
9116 * gdb.threads/sigstep-threads.exp: Likewise.
9117 * gdb.threads/staticthreads.exp: Likewise.
9118 * gdb.threads/tls.exp: Likewise.
9119
9120 2016-03-09 Pedro Alves <palves@redhat.com>
9121
9122 * gdb.base/command-line-input.exp: New file.
9123
9124 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9125
9126 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9127 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9128 * gdb.trace/pending.exp: Accept leading dot before function name.
9129 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9130 * lib/trace-support.exp: Set registers for ppc.
9131
9132 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9133
9134 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9135 use it for disassembly; accept .main in addition to main in backtrace.
9136
9137 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9138 Marcin Kościelnicki <koriakin@0x04.net>
9139
9140 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9141 (gdb_recursion_test_ptr): New global variable.
9142 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9143 gdb_recursion_test.
9144 (gdb_c_test): Ditto.
9145
9146 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9147
9148 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9149 ordering.
9150
9151 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9152
9153 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9154 (bar): Add bar_start_lbl label.
9155 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9156 of foo/bar for emitting DWARF and tracing.
9157
9158 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9159
9160 * analyze-racy-logs.py: Set executable bit.
9161
9162 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9163
9164 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9165 (CHECK_TARGET_TMP): Likewise.
9166 (check-single-racy): New rule.
9167 (check-parallel-racy): Likewise.
9168 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9169 (do-check-parallel-racy): New rule.
9170 (check-racy/%.exp): Likewise.
9171 * README (Racy testcases): New section.
9172 * analyze-racy-logs.py: New file.
9173
9174 2016-03-03 Doug Evans <dje@google.com>
9175
9176 * gdb.base/skip.exp: Use with_test_prefix.
9177
9178 2016-03-03 Yao Qi <yao.qi@linaro.org>
9179
9180 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9181 Invoke step_over_syscall "clone" and break_cond_on_syscall
9182 "clone".
9183 * gdb.base/step-over-clone.c: New file.
9184
9185 2016-03-03 Yao Qi <yao.qi@linaro.org>
9186
9187 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9188 code format.
9189
9190 2016-03-03 Yao Qi <yao.qi@linaro.org>
9191
9192 * gdb.base/disp-step-fork.c: Rename to ...
9193 * gdb.base/step-over-fork.c: ... it. New file.
9194 * gdb.base/disp-step-vfork.c: Rename to ...
9195 * gdb.base/step-over-vfork.c: ... it. New file.
9196 * gdb.base/disp-step-syscall.exp: Rename to ...
9197 * gdb.base/step-over-syscall.exp: ... it. New file.
9198 (disp_step_cross_syscall): Rename to ...
9199 (step_over_syscall): ... it.
9200
9201 2016-03-03 Yao Qi <yao.qi@linaro.org>
9202
9203 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9204 If target supports condition evaluation on target, invoke
9205 break_cond_on_syscall for fork and vfork.
9206
9207 2016-03-03 Yao Qi <yao.qi@linaro.org>
9208
9209 * gdb.base/disp-step-syscall.exp: Don't invoke
9210 support_displaced_stepping.
9211 (disp_step_cross_syscall): Test with displaced stepping off and
9212 on if supported.
9213
9214 2016-03-03 Yao Qi <yao.qi@linaro.org>
9215
9216 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9217 proc.
9218 (setup): New proc.
9219 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9220 and setup.
9221
9222 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9223
9224 * gdb.fortran/vla-history.exp: Remove breakpoint.
9225
9226 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9227
9228 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9229 exceeds timeout.
9230
9231 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9232
9233 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9234 breakpoint.
9235
9236 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9237
9238 * gdb.mi/vla.f90: Nullify pointer after declaration.
9239
9240 2016-03-01 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9243
9244 2016-03-01 Pedro Alves <palves@redhat.com>
9245
9246 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9247 before anything else.
9248 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9249 _GNU_SOURCE here.
9250 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9251 before anything else.
9252 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9253
9254 2016-03-01 Pedro Alves <palves@redhat.com>
9255
9256 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9257
9258 2016-03-01 Yao Qi <yao.qi@linaro.org>
9259
9260 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9261 prepare_for_testing.
9262
9263 2016-03-01 Yao Qi <yao.qi@linaro.org>
9264
9265 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9266
9267 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9268
9269 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9270 manually constructing the output path.
9271
9272 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9273
9274 * gdb.arch/s390-stackless.S: New.
9275 * gdb.arch/s390-stackless.exp: New.
9276
9277 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9278
9279 * gdb.dlang/circular.c: New file.
9280 * gdb.dlang/circular.exp: New file.
9281
9282 2016-02-26 Yao Qi <yao.qi@linaro.org>
9283
9284 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9285 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9286 (testcases): Update.
9287
9288 2016-02-26 Yao Qi <yao.qi@linaro.org>
9289
9290 * gdb.reverse/aarch64.c: Rename to ...
9291 * gdb.reverse/insn-reverse.c: ... it.
9292 * gdb.reverse/aarch64.exp: Rename to ...
9293 * gdb.reverse/insn-reverse.exp: ... it.
9294
9295 2016-02-26 Yao Qi <yao.qi@linaro.org>
9296
9297 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9298 (testcase_ftype): New.
9299 (testcases): New array.
9300 (n_testcases): New.
9301 (main): Call each element in testcases.
9302 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9303 (read_testcase): New.
9304 Do the tests in a loop.
9305
9306 2016-02-25 Yao Qi <yao.qi@linaro.org>
9307
9308 * gdb.base/branches.c: Remove.
9309
9310 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9311
9312 PR gdb/13808
9313 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9314
9315 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9316
9317 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9318
9319 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9320
9321 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9322 change x86_64 call_insn to 'callq'.
9323
9324 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9325
9326 * gdb.trace/tfile-avx.c: Move to...
9327 * gdb.trace/tracefile-pseudo-reg.c: Here.
9328 * gdb.trace/tfile-avx.exp: Move to...
9329 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9330
9331 2016-02-24 Gary Benson <gbenson@redhat.com>
9332
9333 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9334 message on attach.
9335
9336 2016-02-23 Doug Evans <dje@google.com>
9337
9338 * gdb.base/skip.c (test_skip): New function.
9339 (end_test_skip_file_and_function): New function.
9340 (test_skip_file_and_function): New function.
9341 * gdb.base/skip1.c (test_skip): New function.
9342 (skip1_test_skip_file_and_function): New function.
9343 * gdb.base/skip.exp: Add tests for new skip options.
9344 * gdb.base/skip-solib.exp: Update expected output.
9345 * gdb.perf/skip-command.cc: New file.
9346 * gdb.perf/skip-command.exp: New file.
9347 * gdb.perf/skip-command.py: New file.
9348
9349 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9350
9351 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9352 info registers pattern.
9353
9354 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9355
9356 * lib/future.exp: Add D support.
9357 (gdb_find_gdc): New proc.
9358 (gdb_default_target_compile): Add D support.
9359
9360 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9361
9362 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9363 user+system time.
9364 (trace_speed_test): Determine the iteration count for a time
9365 between 15..30 seconds.
9366
9367 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9368
9369 * gdb.arch/i386-mpx-sigsegv.c: New file.
9370 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9371 * gdb.arch/i386-mpx-simple_segv.c: New file.
9372 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9373
9374 2016-02-18 Yao Qi <yao.qi@linaro.org>
9375
9376 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9377 Don't call setup_kfail.
9378
9379 2016-02-18 Yao Qi <yao.qi@linaro.org>
9380
9381 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9382 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9383
9384 2016-02-16 Doug Evans <dje@google.com>
9385
9386 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9387 * gdb.base/skip1.c: Ditto.
9388 * gdb.base/skip.exp: Whitespace cleanup.
9389
9390 2016-02-16 Don Breazeal <donb@codesourcery.com>
9391
9392 PR remote/19496
9393 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9394 Remove kfail for PR remote/19496.
9395
9396 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9397
9398 * lib/gdb.exp (standard_temp_file): Return a path specific to
9399 the runtest invocation.
9400
9401 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9402
9403 * gdb.trace/save-trace.exp: Change relative path to be in the
9404 standard output directory.
9405
9406 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9407
9408 * gdb.arch/i386-prologue.c: Add missing prototypes.
9409
9410 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9411
9412 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9413 * gdb.arch/i386-prologue.exp: Likewise.
9414 * gdb.arch/i386-size.exp: Likewise.
9415
9416 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9417
9418 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9419 define object file path.
9420 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9421 file path.
9422 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9423 standard_output_file to define binfile.
9424
9425 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9426
9427 Fix compatibility with recent gfortran-5.3.1.
9428 * gdb.fortran/vla-history.exp (print vla1 allocated)
9429 (print vla2 allocated, print $2, print $3): Remove
9430 (print $4): Rename to ...
9431 (print $2): ... here.
9432 (print $9): Rename to ...
9433 (print $5): ... here.
9434 (print $10): Rename to ...
9435 (print $6): ... here.
9436 * gdb.fortran/vla.f90: Add pvla initialization.
9437
9438 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9439
9440 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9441 New test.
9442 * gdb.fortran/vla-value-sub.exp: Likewise.
9443
9444 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9445
9446 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9447
9448 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9449
9450 * i386-biarch-core.exp: Define corefile using
9451 standard_output_file.
9452
9453 2016-02-12 Yao Qi <yao.qi@linaro.org>
9454
9455 * gdb.arch/arm-single-step-kernel-helper.c: New.
9456 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9457
9458 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9459
9460 * gdb.btrace/tailcall-only.exp: New.
9461 * gdb.btrace/tailcall-only.c: New.
9462 * gdb.btrace/x86_64-tailcall-only.S: New.
9463 * gdb.btrace/i686-tailcall-only.S: New.
9464
9465 2016-02-11 Pedro Alves <palves@redhat.com>
9466
9467 * README (Parallel testing): Add missing double quotes.
9468
9469 2016-02-11 Pedro Alves <palves@redhat.com>
9470
9471 * README (Parallel testing): New section.
9472 (GDB_PARALLEL): Rewrite.
9473 (FORCE_PARALLEL): Document.
9474
9475 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9476
9477 * gdb.trace/tfile-avx.c: New test.
9478 * gdb.trace/tfile-avx.exp: New test.
9479
9480 2016-02-09 Keith Seitz <keiths@redhat.com>
9481
9482 PR breakpoints/19546
9483 * gdb.base/infcall-exec.c: New file.
9484 * gdb.base/infcall-exec2.c: New file.
9485 * gdb.base/infcall-exec.exp: New file.
9486
9487 2016-02-09 Keith Seitz <keiths@redhat.com>
9488
9489 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9490 (toplevel): Call test_bkpt_address.
9491
9492 2016-02-09 Keith Seitz <keiths@redhat.com>
9493
9494 PR python/19506
9495 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9496 (toplevel): Call test_bkpt_address.
9497
9498 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9499
9500 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9501 to AC_OUTPUT.
9502 * configure: Regenerate.
9503
9504 2016-02-09 Pedro Alves <palves@redhat.com>
9505
9506 PR breakpoints/19548
9507 * gdb.base/execl-update-breakpoints.c (some_function): New
9508 function.
9509 (main): Call it.
9510 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9511 Tighten expected GDB output.
9512
9513 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9514
9515 * Makefile.in (ALL_SUBDIRS): Remove.
9516 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9517 (distclean maintainer-clean realclean): Likewise.
9518 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9519 * configure: Regenerate.
9520 * gdb.ada/Makefile.in: Delete.
9521 * gdb.arch/Makefile.in: Likewise.
9522 * gdb.asm/Makefile.in: Likewise.
9523 * gdb.base/Makefile.in: Likewise.
9524 * gdb.btrace/Makefile.in: Likewise.
9525 * gdb.cell/Makefile.in: Likewise.
9526 * gdb.compile/Makefile.in: Likewise.
9527 * gdb.cp/Makefile.in: Likewise.
9528 * gdb.disasm/Makefile.in: Likewise.
9529 * gdb.dlang/Makefile.in: Likewise.
9530 * gdb.dwarf2/Makefile.in: Likewise.
9531 * gdb.fortran/Makefile.in: Likewise.
9532 * gdb.gdb/Makefile.in: Likewise.
9533 * gdb.go/Makefile.in: Likewise.
9534 * gdb.guile/Makefile.in: Likewise.
9535 * gdb.java/Makefile.in: Likewise.
9536 * gdb.linespec/Makefile.in: Likewise.
9537 * gdb.mi/Makefile.in: Likewise.
9538 * gdb.modula2/Makefile.in: Likewise.
9539 * gdb.multi/Makefile.in: Likewise.
9540 * gdb.objc/Makefile.in: Likewise.
9541 * gdb.opencl/Makefile.in: Likewise.
9542 * gdb.opt/Makefile.in: Likewise.
9543 * gdb.pascal/Makefile.in: Likewise.
9544 * gdb.perf/Makefile.in: Likewise.
9545 * gdb.python/Makefile.in: Likewise.
9546 * gdb.reverse/Makefile.in: Likewise.
9547 * gdb.server/Makefile.in: Likewise.
9548 * gdb.stabs/Makefile.in: Likewise.
9549 * gdb.threads/Makefile.in: Likewise.
9550 * gdb.trace/Makefile.in: Likewise.
9551 * gdb.xml/Makefile.in: Likewise.
9552 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9553 GDB_PARALLEL.
9554 (standard_output_file): Remove check for GDB_PARALLEL, always
9555 return path in outputs/$subdir/$testname.
9556
9557 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9558
9559 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9560 (site.exp): Assign abs_srcdir to tcl's srcdir.
9561
9562 2016-02-04 Yao Qi <yao.qi@linaro.org>
9563
9564 * gdb.base/foll-exec-mode.c: Include limits.h.
9565 (main): Add parameters argc and argv. Get directory from
9566 argv[0].
9567 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9568 compilation.
9569 * gdb.base/foll-exec.c: Include limits.h.
9570 (main): Add parameters argc and argv.
9571 Get directory from argv[0].
9572 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9573 Adjust tests on the number of lines as source code changed.
9574 * gdb.base/foll-vfork-exit.c: Include limits.h.
9575 (main): Add one line of statement before vfork.
9576 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9577 (main): Add parameters argc and argv. Get directory from
9578 argv[0].
9579 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9580 (setup_gdb): Set tbreak to skip some source lines.
9581 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9582 (main): Add parameters argc and argv. Get directory from
9583 argv[0].
9584 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9585 compilation.
9586 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9587 (main): Add parameters argc and argv. Get directory from
9588 argv[0].
9589 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9590 compilation.
9591
9592 2016-02-01 Doug Evans <dje@google.com>
9593
9594 * gdb.base/skip.exp: Clean up multiple references to same test name.
9595
9596 2016-02-01 Pedro Alves <palves@redhat.com>
9597
9598 PR remote/19496
9599 * gdb.threads/forking-threads-plus-breakpoint.exp
9600 (displaced_stepping_supported): New global.
9601 (probe_displaced_stepping_support): New procedure.
9602 (do_test): Add 'displaced' parameter, and use it.
9603 (top level): Check for displaced stepping support. Add displaced
9604 stepping on/off testing axis.
9605
9606 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9607
9608 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9609 pointer. Don't perform further tests on the unassociated pointer
9610 if the first test fails.
9611
9612 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9613
9614 * gdb.base/max-value-size.c: New file.
9615 * gdb.base/max-value-size.exp: New file.
9616 * gdb.base/huge.exp: Disable max-value-size for this test.
9617
9618 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9619
9620 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9621
9622 2016-01-28 Yao Qi <yao.qi@linaro.org>
9623
9624 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9625
9626 2016-01-25 Pedro Alves <palves@redhat.com>
9627
9628 PR threads/19461
9629 * gdb.base/fork-running-state.c: New file.
9630 * gdb.base/fork-running-state.exp: New file.
9631
9632 2016-01-25 Pedro Alves <palves@redhat.com>
9633
9634 PR gdb/19494
9635 * gdb.base/catch-fork-kill.c: New file.
9636 * gdb.base/catch-fork-kill.exp: New file.
9637
9638 2016-01-25 Pedro Alves <palves@redhat.com>
9639
9640 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9641 Delete, moved to lib/gdb.exp.
9642 * gdb.threads/forking-threads-plus-breakpoint.exp
9643 (foreach_with_prefix): Likewise.
9644 * gdb.threads/process-dies-while-handling-bp.exp
9645 (foreach_with_prefix): Likewise.
9646 * lib/gdb.exp (foreach_with_prefix): New procedure.
9647
9648 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9649
9650 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9651 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9652
9653 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9654
9655 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9656 endian targets.
9657
9658 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9659 Pedro Alves <palves@redhat.com>
9660
9661 Fix testsuite compatibility with Guile.
9662 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9663 number.
9664
9665 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9666
9667 Fix testsuite compatibility with Guile.
9668 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9669 (thread 1): New test for backtrace through signal handler.
9670
9671 2016-01-22 Yao Qi <yao.qi@linaro.org>
9672
9673 PR testsuite/19491
9674 * gdb.base/multi-forks.c: Include
9675 ../lib/unbuffer_output.c
9676 (main): Call gdb_unbuffer_output.
9677
9678 2016-01-21 Doug Evans <dje@google.com>
9679
9680 * lib/ada.exp (gdb_compile_ada): Fix typo.
9681
9682 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9683
9684 * gdb.base/break-fun-addr.exp: New file.
9685 * gdb.base/break-fun-addr1.c: New file.
9686 * gdb.base/break-fun-addr2.c: New file.
9687
9688 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9689
9690 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9691 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9692 enum flag values.
9693
9694 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9695
9696 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9697 when GDB can not set the vector return value. Add more comments
9698 for clarification.
9699
9700 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9701
9702 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9703 command.
9704
9705 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9706
9707 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9708
9709 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9710
9711 * Makefile.in (check-single): Pass --status to runtest.
9712 (check/%.exp): Likewise.
9713
9714 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9715
9716 * Makefile.in (check-parallel): Propagate return code from make
9717 do-check-parallel.
9718
9719 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9720
9721 * gdb.trace/ftrace.exp: Fix expected message on continue.
9722 * gdb.trace/pending.exp: Fix expected message on continue.
9723 * gdb.trace/trace-break.exp: Fix expected message on continue.
9724
9725 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9726
9727 * lib/gdb.exp (gdb_test): Remove unused global references.
9728
9729 2016-01-18 Pedro Alves <palves@redhat.com>
9730
9731 * gdb.base/async-shell.exp: Adjust expected output.
9732 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9733 * gdb.base/siginfo-thread.exp: Adjust expected output.
9734 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9735 * gdb.java/jnpe.exp: Adjust expected output.
9736 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9737 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9738 * gdb.threads/leader-exit.exp: Adjust expected output.
9739 * gdb.threads/manythreads.exp: Adjust expected output.
9740 * gdb.threads/pthreads.exp: Adjust expected output.
9741 * gdb.threads/schedlock.exp: Adjust expected output.
9742 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9743 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9744 expected output.
9745 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9746 output.
9747 * gdb.threads/sigthread.exp: Adjust expected output.
9748 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9749
9750 2016-01-18 Yao Qi <yao.qi@linaro.org>
9751
9752 * gdb.guile/scm-section-script.c: Replace @progbits with
9753 %progbits.
9754 * gdb.python/py-section-script.c: Likewise.
9755
9756 2016-01-15 Pedro Alves <palves@redhat.com>
9757
9758 * gdb.multi/tids.exp: Test star wildcard ranges.
9759
9760 2016-01-15 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9763 command from "thread apply" invocation.
9764 (thr_apply_info_thr_invalid): Default the expected output to the
9765 input tid list.
9766 (top level): Add tests that use convenience variables. Add tests
9767 for "thread apply" with a valid TID list, but missing the command.
9768
9769 2016-01-13 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.base/default.exp: Expect $_gthread as well.
9772 * gdb.multi/tids.exp: Test $_gthread.
9773 * gdb.threads/thread-specific.exp: Test $_gthread.
9774
9775 2016-01-13 Pedro Alves <palves@redhat.com>
9776
9777 * gdb.multi/tids.exp: Test "info threads -gid".
9778
9779 2016-01-13 Pedro Alves <palves@redhat.com>
9780
9781 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9782 Breakpoint.thread.
9783 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9784
9785 2016-01-07 Pedro Alves <palves@redhat.com>
9786
9787 * gdb.base/break.exp: Adjust to output changes.
9788 * gdb.base/hbreak2.exp: Likewise.
9789 * gdb.base/sepdebug.exp: Likewise.
9790 * gdb.base/watch_thread_num.exp: Likewise.
9791 * gdb.linespec/keywords.exp: Likewise.
9792 * gdb.multi/info-threads.exp: Likewise.
9793 * gdb.threads/thread-find.exp: Likewise.
9794 * gdb.multi/tids.c: New file.
9795 * gdb.multi/tids.exp: New file.
9796
9797 2016-01-13 Pedro Alves <palves@redhat.com>
9798
9799 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9800
9801 2016-01-13 Pedro Alves <palves@redhat.com>
9802
9803 * gdb.base/default.exp: Expect $_inferior as well.
9804 * gdb.multi/base.exp: Test $_inferior.
9805
9806 2016-01-13 Pedro Alves <palves@redhat.com>
9807
9808 PR breakpoints/19388
9809 * gdb.base/catch-signal-siginfo-cond.c: New file.
9810 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9811
9812 2016-01-12 Josh Stone <jistone@redhat.com>
9813 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9814
9815 * gdb.base/catch-syscall.c (do_execve): New variable.
9816 (main): Conditionally trigger an execve.
9817 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9818 (test_catch_syscall_execve): New, check entry/return across execve.
9819 (do_syscall_tests): Call test_catch_syscall_execve.
9820
9821 2016-01-12 Pedro Alves <palves@redhat.com>
9822
9823 * gdb.base/random-signal.exp (do_test): New procedure, with body
9824 of testcase moved in.
9825
9826 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9827 Pedro Alves <palves@redhat.com>
9828
9829 * gdb.base/funcargs.exp (finish from indirectly called function):
9830 Reintroduce the case for 'First'.
9831
9832 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9833 Pedro Alves <palves@redhat.com>
9834
9835 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9836 (tcatch_vfork_then_child_follow_exec)
9837 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9838 identification.
9839
9840 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9841
9842 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9843 and repeats to unlimited.
9844 * gdb.python/py-value.exp: Likewise.
9845 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9846 and repeats to unlimited.
9847
9848 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9849
9850 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9851 and reordering the functions.
9852 * gdb.multi/hangout.c: Likewise.
9853 * gdb.multi/hello.c: Likewise.
9854
9855 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9856
9857 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9858 absolute.
9859 (SingleStatisticTestResult.report): Use dict.keys instead of
9860 dict.iterkeys.
9861
9862 2016-01-06 Pedro Alves <palves@redhat.com>
9863
9864 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9865
9866 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9867
9868 * gdb.btrace/dlopen.exp: New.
9869 * gdb.btrace/dlopen.c: New.
9870 * gdb.btrace/dlopen-dso.c: New.
9871
9872 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9873
9874 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9875 PATTERN argument is optional.
9876
9877 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9878
9879 * lib/ada.exp (target_compile_ada_from_dir): New function.
9880 (gdb_compile_ada): Reimplement avoiding the use of project files.
9881 * gdb.ada/gnat_ada.gpr: Delete.
9882 * gdb.ada/cond_lang.exp: Adjust test to make path before
9883 filename optional.
9884 * gdb.ada/small_reg_param.exp: Likewise.
9885
9886 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9887
9888 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9889
9890 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9891
9892 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9893 case.
9894
9895 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9896
9897 * gdb.base/break.exp: Remove dead code.
9898 * gdb.base/sepdebug.exp: Likewise.
9899
9900 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9901
9902 * gdb.asm/asm-source.exp: Remove HP-UX references.
9903 * gdb.base/annota1.exp: Likewise.
9904 * gdb.base/annota3.exp: Likewise.
9905 * gdb.base/attach.exp: Likewise.
9906 * gdb.base/bigcore.exp: Likewise.
9907 * gdb.base/break.exp: Likewise.
9908 * gdb.base/call-ar-st.exp: Likewise.
9909 * gdb.base/callfuncs.exp: Likewise.
9910 * gdb.base/catch-fork-static.exp: Likewise.
9911 * gdb.base/display.exp: Likewise.
9912 * gdb.base/foll-exec-mode.exp: Likewise.
9913 * gdb.base/foll-exec.exp: Likewise.
9914 * gdb.base/foll-fork.exp: Likewise.
9915 * gdb.base/foll-vfork.exp: Likewise.
9916 * gdb.base/funcargs.exp: Likewise.
9917 * gdb.base/hbreak2.exp: Likewise.
9918 * gdb.base/inferior-died.exp: Likewise.
9919 * gdb.base/interrupt.exp: Likewise.
9920 * gdb.base/multi-forks.exp: Likewise.
9921 * gdb.base/nodebug.exp: Likewise.
9922 * gdb.base/sepdebug.exp: Likewise.
9923 * gdb.base/solib1.c: Likewise.
9924 * gdb.base/step-test.exp: Likewise.
9925 * gdb.mi/non-stop.c: Likewise.
9926 * gdb.mi/pthreads.c: Likewise.
9927 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9928 * gdb.threads/pthreads.c: Likewise.
9929 * gdb.threads/staticthreads.exp: Likewise.
9930 * lib/future.exp: Likewise.
9931 * lib/gdb.exp: Likewise.
9932 * gdb.base/so-indr-cl.c: Remove.
9933 * gdb.base/so-indr-cl.exp: Likewise.
9934 * gdb.base/solib.c: Likewise.
9935 * gdb.base/solib.exp: Likewise.
9936 * gdb.base/solib2.c: Likewise.
9937
9938 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9939
9940 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9941 * gdb.base/call-ar-st.exp: Likewise.
9942 * gdb.base/callfuncs.exp: Likewise.
9943 * gdb.base/condbreak.exp: Likewise.
9944 * gdb.base/constvars.exp: Likewise.
9945 * gdb.base/hbreak2.exp: Likewise.
9946 * gdb.base/langs.exp: Likewise.
9947 * gdb.base/list.exp: Likewise.
9948 * gdb.base/long_long.exp: Likewise.
9949 * gdb.base/ptype.exp: Likewise.
9950 * gdb.base/scope.exp: Likewise.
9951 * gdb.base/signals.exp: Likewise.
9952 * gdb.base/so-impl-ld.exp: Likewise.
9953 * gdb.base/varargs.exp: Likewise.
9954 * gdb.base/volatile.exp: Likewise.
9955 * gdb.base/whatis.exp: Likewise.
9956 * gdb.cp/cplusfuncs.exp: Likewise.
9957 * gdb.cp/inherit.exp: Likewise.
9958 * gdb.cp/local.exp: Likewise.
9959 * gdb.cp/member-ptr.exp: Likewise.
9960 * gdb.cp/method.exp: Likewise.
9961 * gdb.cp/overload.exp: Likewise.
9962 * gdb.cp/templates.exp: Likewise.
9963 * gdb.stabs/weird.exp: Likewise.
9964 * lib/compiler.c: Likewise.
9965 * lib/compiler.cc: Likewise.
9966 * lib/cp-support.exp: Likewise.
9967 * lib/gdb.exp: Likewise.
9968
9969 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9970
9971 * configure.ac: Remove HP-UX case.
9972 * configure: Regenerate.
9973
9974 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9975
9976 * lib/gdb.exp (gdb_compile): Add function doc.
9977
9978 2015-12-17 Pedro Alves <palves@redhat.com>
9979
9980 PR threads/19354
9981 * gdb.multi/info-threads.exp: New file.
9982
9983 2015-12-15 Yao Qi <yao.qi@linaro.org>
9984
9985 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9986 is aarch64*-*-*.
9987
9988 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9989
9990 * gdb.base/history-duplicates.exp: Skip if no readline support.
9991
9992 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9993
9994 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9995
9996 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9997
9998 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9999
10000 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10001
10002 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10003 ctrl-C if nointerrupts target property is set.
10004 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10005 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10006 * gdb.base/paginate-bg-execution.exp: Likewise.
10007 * gdb.base/paginate-execution-startup.exp: Likewise.
10008 * gdb.base/random-signal.exp: Likewise.
10009 * gdb.base/range-stepping.exp: Likewise.
10010 * gdb.cp/annota2.exp: Likewise.
10011 * gdb.cp/annota3.exp: Likewise.
10012 * gdb.gdb/selftest.exp: Likewise.
10013 * gdb.threads/continue-pending-status.exp: Likewise.
10014 * gdb.threads/leader-exit.exp: Likewise.
10015 * gdb.threads/manythreads.exp: Likewise.
10016 * gdb.threads/pthreads.exp: Likewise.
10017 * gdb.threads/schedlock.exp: Likewise.
10018 * gdb.threads/sigthread.exp: Likewise.
10019
10020 2015-12-11 Don Breazeal <donb@codesourcery.com>
10021
10022 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10023 remote.
10024 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10025 * gdb.base/foll-exec.exp (main): Enable for target remote.
10026 * gdb.base/foll-fork.exp (main): Likewise.
10027 * gdb.base/foll-vfork.exp (main): Likewise.
10028 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10029 (proc continue_to_exit_bp_loc): Use clean_restart.
10030 * gdb.base/pie-execl.exp (main): Disable for target remote.
10031 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10032 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10033 * gdb.threads/execl.exp (main): Likewise.
10034 * gdb.threads/fork-child-threads.exp (main): Likewise.
10035 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10036 remote.
10037 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10038 remote.
10039 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10040 pid.tid style ptids, instead of just tid.
10041 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10042 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10043 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10044 ptids, instead of just tid.
10045
10046 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10047
10048 * gdb.base/list.exp (test_list_forward): Add end of file error
10049 test.
10050 (test_repeat_list_command): Add end of file error test.
10051 (test_list_backwards): Add beginning of file error test.
10052
10053 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10054
10055 * gdb.base/list.exp (test_list_invalid_args): New function,
10056 defined, and called.
10057
10058 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10059
10060 * gdb.base/list.exp (test_list): Make test names unique.
10061
10062 2015-12-11 Yao Qi <yao.qi@linaro.org>
10063
10064 * gdb.base/coremaker2.c: Remove.
10065
10066 2015-12-10 Pedro Alves <palves@redhat.com>
10067
10068 * gdb.multi/base.exp: Remove stale "spaces" references.
10069
10070 2015-12-10 Pedro Alves <palves@redhat.com>
10071
10072 * gdb.multi/base.exp: Don't use nowarnings.
10073 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10074 * gdb.multi/hangout.c: Include stdio.h.
10075 * gdb.multi/hello.c: Include stdlib.h.
10076 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10077 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10078 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10079
10080 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10081
10082 * gdb.dwarf2/dw2-ranges-base.c: New file.
10083 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10084 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10085 support additional line table, and debug ranges generation.
10086 (Dwarf::ranges): New function, generate .debug_ranges.
10087 (Dwarf::lines): Support generating simple line table programs.
10088 (Dwarf::assemble): Initialise new namespace variables.
10089
10090 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10091
10092 * gdb.base/async.exp (proc test_background): Add case for
10093 asynchronous execution not supported.
10094
10095 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10096
10097 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10098 format and change test names to make them unique.
10099
10100 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10101 Pedro Alves <pedro@redhat.com>
10102
10103 PR gdb/18702
10104 Add checking of floatformats setup on x86_64 hosts.
10105 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10106 (smallval, bigval): New labels/constants.
10107 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10108 float" after loading bigval and smallval.
10109
10110 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10111
10112 * gdb.ada/fun_overload_menu.exp: New testcase.
10113 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10114
10115 2015-12-04 Josh Stone <jistone@redhat.com>
10116
10117 * gdb.base/catch-fork-static.exp: New.
10118
10119 2015-12-03 Yao Qi <yao.qi@linaro.org>
10120
10121 * gdb.base/sizeof.c: Don't include stdio.h and
10122 ../lib/unbuffer_output.c.
10123 (main): New variable 'size' and 'value'. Remove printf and
10124 gdb_unbuffer_output. Assign return value to size and value.
10125 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10126 at the beginning.
10127 (check_sizeof): Check the result by printing variable 'size'.
10128 (check_valueof): Check the result by printing variable 'value'.
10129
10130 2015-12-01 Yao Qi <yao.qi@linaro.org>
10131
10132 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10133 for aarch64*-*-linux* target.
10134
10135 2015-11-30 Pedro Alves <palves@redhat.com>
10136
10137 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10138
10139 2015-11-30 Pedro Alves <palves@redhat.com>
10140
10141 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10142 Handle non-stop mode vCont replies.
10143
10144 2015-11-30 Pedro Alves <palves@redhat.com>
10145
10146 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10147 prepare_for_testing. Start gdb with "set non-stop on" appended to
10148 GDBFLAGS. Lax expected stop output.
10149
10150 2015-11-27 Yao Qi <yao.qi@linaro.org>
10151
10152 * gdb.arch/arm-neon.exp: New.
10153 * gdb.arch/arm-neon.c: New.
10154
10155 2015-11-27 Yao Qi <yao.qi@linaro.org>
10156
10157 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10158
10159 2015-11-27 Yao Qi <yao.qi@linaro.org>
10160
10161 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10162 frames-invalid annotation.
10163
10164 2015-11-27 Yao Qi <yao.qi@linaro.org>
10165
10166 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10167
10168 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10169
10170 * gdb.threads/names.exp: New file.
10171 * gdb.threads/names.c: New file.
10172 * README: Mention gdb,no_thread_names.
10173
10174 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10175
10176 PR 19297
10177 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10178 support" error.
10179
10180 2015-11-24 Pedro Alves <palves@redhat.com>
10181
10182 PR 17539
10183 * gdb.base/display.exp: Expect displays to be sorted in ascending
10184 order. Use multi_line.
10185 * gdb.base/solib-display.exp: Likewise.
10186
10187 2015-11-24 Pedro Alves <palves@redhat.com>
10188
10189 PR 17539
10190 * gdb.base/display.exp: Expect displays to be sorted in ascending
10191 order. Use multi_line.
10192 * gdb.base/solib-display.exp: Likewise.
10193
10194 2015-11-24 Pedro Alves <palves@redhat.com>
10195
10196 PR 17539
10197 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10198 threads in ascending order.
10199 * gdb.base/foll-fork.exp: Likewise.
10200 * gdb.base/foll-vfork.exp: Likewise.
10201 * gdb.base/multi-forks.exp: Likewise.
10202 * gdb.mi/mi-nonstop.exp: Likewise.
10203 * gdb.mi/mi-nsintrall.exp: Likewise.
10204 * gdb.multi/base.exp: Likewise.
10205 * gdb.multi/multi-arch.exp: Likewise.
10206 * gdb.python/py-inferior.exp: Likewise.
10207 * gdb.threads/break-while-running.exp: Likewise.
10208 * gdb.threads/execl.exp: Likewise.
10209 * gdb.threads/gcore-thread.exp: Likewise.
10210 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10211 * gdb.threads/kill.exp: Likewise.
10212 * gdb.threads/linux-dp.exp: Likewise.
10213 * gdb.threads/multiple-step-overs.exp: Likewise.
10214 * gdb.threads/next-bp-other-thread.exp: Likewise.
10215 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10216 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10217 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10218 * gdb.threads/thread-find.exp: Likewise.
10219 * gdb.threads/tls.exp: Likewise.
10220 * lib/mi-support.exp (mi_reverse_list): Delete.
10221 (mi_check_thread_states): No longer reverse list.
10222
10223 2015-11-24 Pedro Alves <palves@redhat.com>
10224
10225 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10226 use lowercase.
10227
10228 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10229
10230 * gdb.trace/actions.c: Include trace-common.h.
10231 (main): Add a location for a fast tracepoint.
10232 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10233 the normal tracepoints.
10234 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10235
10236 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10237
10238 * save-trace.exp: Factor out code to these...
10239 (gdb_save_tracepoints): New.
10240 (gdb_load_tracepoints): New.
10241 (do_save_load_test): New.
10242
10243 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10244
10245 * gdb.base/asmlabel.exp: New test.
10246 * gdb.base/asmlabel.c: New test case.
10247
10248 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10249
10250 * gdb.base/wrong_frame_bt_full-main.c: New file.
10251 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10252 * gdb.base/wrong_frame_bt_full.exp: New file.
10253
10254 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10255
10256 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10257
10258 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10259
10260 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10261 pstate register when comparing registers values in
10262 sparc64-*-linux-gnu targets to avoid spurious differences.
10263
10264 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10265
10266 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10267
10268 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10269
10270 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10271 as type argument to gdb_compile.
10272 * gdb.base/nested-subp2.exp: Likewise.
10273 * gdb.base/nested-subp3.exp: Likewise.
10274
10275 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10276
10277 * lib/dwarf.exp (_note): Fix left shift of negative value.
10278 * gdb.trace/trace-condition.exp: Likewise.
10279
10280 2015-11-13 Yao Qi <yao.qi@linaro.org>
10281
10282 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10283 comments about d10v.
10284 (test_scalar_returns): Likewise.
10285 * gdb.base/d10v.ld: Remove.
10286 * gdb.base/overlays.exp: Remove the target triplet checking for
10287 d10v-*-*.
10288 * gdb.base/structs.exp (test_struct_returns): Remove the
10289 comments about d10v.
10290 (test_struct_calls): Likewise.
10291
10292 2015-11-13 Yao Qi <yao.qi@linaro.org>
10293
10294 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10295 * gdb.base/gnu_vector.c: Don't include stdio.h.
10296 (main): Don't print res and call add_some_intvecs.
10297
10298 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10299
10300 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10301 macro.
10302 (func5): Removed.
10303 (func4): Use FAST_TRACEPOINT_LABEL.
10304 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10305 macro.
10306 (func): Removed.
10307 (thread_function): Use FAST_TRACEPOINT_LABEL.
10308 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10309 (func): Remove.
10310 (marker): Use FAST_TRACEPOINT_LABEL.
10311 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10312 (pendfunc1): Remove.
10313 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10314 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10315 (foo): Remove.
10316 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10317 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10318 macro.
10319 (func): Remove.
10320 (marker): Use FAST_TRACEPOINT_LABEL.
10321 * gdb.trace/trace-common.h: New header.
10322 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10323 macro.
10324 (func): Remove.
10325 (marker): Use FAST_TRACEPOINT_LABEL.
10326 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10327 (func): Remove.
10328 (thread_function): Use FAST_TRACEPOINT_LABEL.
10329
10330 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10331
10332 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10333 in front.
10334 * gdb.trace/change-loc.exp: Use global pcreg definition.
10335 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10336 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10337 in front.
10338 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10339 * gdb.trace/pending.exp: Likewise.
10340 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10341 * gdb.trace/trace-break.exp: Likewise.
10342 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10343 in front.
10344 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10345 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10346 in front.
10347 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10348
10349 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10350
10351 * gdb.ada/fin_fun_out: New testcase.
10352
10353 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10354
10355 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10356 value associated with DW_AT_byte_size.
10357 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10358 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10359 DW_AT_upper_bound.
10360
10361 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10362
10363 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10364 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10365 version.
10366 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10367 gdb.dwarf2/dw2-canonicalize-type.exp,
10368 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10369 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10370 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10371 provided by gdb_target_symbol_prefix_flags_asm.
10372 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10373 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10374 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10375 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10376 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10377 macros where needed). Use this macro for symbols which require
10378 the prefix provided by SYMBOL_PREFIX.
10379
10380 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10381
10382 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10383 New procs.
10384 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10385 representing expressions, of more than one list element.
10386 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10387 to prepend linker symbol prefix to f.
10388 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10389 table_1 and table_2.
10390 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10391 Likewise, for f and g.
10392 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10393 for ptr.
10394 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10395 for main.
10396 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10397 table_1_ptr and table_2_ptr.
10398
10399 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10400 Joel Brobecker <brobecker@adacore.com>
10401
10402 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10403
10404 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10405
10406 * gdb.reverse/s390-mvcle.c: New test.
10407 * gdb.reverse/s390-mvcle.exp: New file.
10408 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10409
10410 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10411
10412 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10413
10414 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10415
10416 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10417 reaching marker2.
10418 * gdb.reverse/getresuid-reverse.exp: Likewise.
10419 * gdb.reverse/pipe-reverse.exp: Likewise.
10420 * gdb.reverse/readv-reverse.exp: Likewise.
10421 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10422 * gdb.reverse/time-reverse.exp: Likewise.
10423 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10424
10425 2015-10-30 Yao Qi <yao.qi@linaro.org>
10426
10427 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10428 (empty_cycle): Remove.
10429 (main): Don't call empty_cycle. Don't use watch_count_done.
10430 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10431 empty_cycle. Rewrite the code counting HW watchpoints.
10432
10433 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10434
10435 * gdb.reverse/fstatat-reverse.c: New test.
10436 * gdb.reverse/fstatat-reverse.exp: New file.
10437 * gdb.reverse/getresuid-reverse.c: New test.
10438 * gdb.reverse/getresuid-reverse.exp: New file.
10439 * gdb.reverse/pipe-reverse.c: New test.
10440 * gdb.reverse/pipe-reverse.exp: New file.
10441 * gdb.reverse/readv-reverse.c: New test.
10442 * gdb.reverse/readv-reverse.exp: New file.
10443 * gdb.reverse/recvmsg-reverse.c: New test.
10444 * gdb.reverse/recvmsg-reverse.exp: New file.
10445 * gdb.reverse/time-reverse.c: New test.
10446 * gdb.reverse/time-reverse.exp: New file.
10447 * gdb.reverse/waitpid-reverse.c: New test.
10448 * gdb.reverse/waitpid-reverse.exp: New file.
10449
10450 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10453
10454 2015-10-26 Doug Evans <dje@google.com>
10455
10456 PR symtab/17391
10457 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10458 * gdb.dwarf2/bad-regnum.c: New file.
10459 * gdb.dwarf2/bad-regnum.exp: New file.
10460
10461 2015-10-26 Doug Evans <dje@google.com>
10462
10463 PR python/18938
10464 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10465 file.
10466
10467 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10468
10469 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10470 for a change by "Mention language in compile error message".
10471
10472 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10473
10474 PR python/18073
10475 * gdb.python/py-type.c (C::a_method): New.
10476 (C::a_const_method): New.
10477 (C::a_static_method): New.
10478 (a_function): New.
10479 * gdb.python/py-type.exp (test_fields): Test getting fields
10480 from function and method.
10481
10482 2015-10-21 Keven Boell <keven.boell@intel.com>
10483
10484 * gdb.fortran/vla-alloc-assoc.exp: New file.
10485 * gdb.fortran/vla-datatypes.exp: New file.
10486 * gdb.fortran/vla-datatypes.f90: New file.
10487 * gdb.fortran/vla-history.exp: New file.
10488 * gdb.fortran/vla-ptype-sub.exp: New file.
10489 * gdb.fortran/vla-ptype.exp: New file.
10490 * gdb.fortran/vla-sizeof.exp: New file.
10491 * gdb.fortran/vla-sub.f90: New file.
10492 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10493 * gdb.fortran/vla-value-sub-finish.exp: New file.
10494 * gdb.fortran/vla-value-sub.exp: New file.
10495 * gdb.fortran/vla-value.exp: New file.
10496 * gdb.fortran/vla-ptr-info.exp: New file.
10497 * gdb.mi/mi-vla-fortran.exp: New file.
10498 * gdb.mi/vla.f90: New file.
10499
10500 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10501
10502 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10503 of hardwired timeout value.
10504
10505 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10506 Pedro Alves <palves@redhat.com>
10507
10508 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10509 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10510
10511 2015-10-19 Josh Stone <jistone@redhat.com>
10512
10513 * gdb.base/catch-syscall.c: Include <sched.h>.
10514 (unknown_syscall): New variable.
10515 (main): Trigger a vfork and an unknown syscall.
10516 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10517 (unknown_syscall_number): Likewise.
10518 (check_call_to_syscall): Accept an optional syscall pattern.
10519 (check_return_from_syscall): Likewise.
10520 (check_continue): Likewise.
10521 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10522 (test_catch_syscall_skipping_return): New test toggling off 'catch
10523 syscall' to step over the syscall return, then toggling back on.
10524 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10525 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10526 (do_syscall_tests): Call test_catch_syscall_without_args and
10527 test_catch_syscall_mid_vfork.
10528 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10529 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10530
10531 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10532
10533 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10534 print g_vE): Add new pass patterns.
10535 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10536 print various symbol names for vptr fields.
10537
10538 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10539
10540 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10541 results.
10542
10543 2015-10-12 Yao Qi <yao.qi@linaro.org>
10544
10545 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10546
10547 2015-10-12 Yao Qi <yao.qi@linaro.org>
10548
10549 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10550 is aarch64*-*-linux*.
10551
10552 2015-10-12 Yao Qi <yao.qi@linaro.org>
10553
10554 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10555 (can_relocate_bcond_true): ... it.
10556 (can_relocate_bcond_false): New function.
10557 (foo): Likewise.
10558 (can_relocate_bl): Likewise.
10559 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10560 can_relocate_bl.
10561
10562 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10563
10564 * gdb.base/nested-addr.c: New file.
10565 * gdb.base/nested-addr.exp: New testcase.
10566
10567 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10568
10569 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10570 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10571 its output. Ignore the output of "record goto begin" and instead
10572 check that GDB is replaying.
10573
10574 2015-10-09 Pedro Alves <palves@redhat.com>
10575
10576 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10577 (top level): Use it in the run with no args test.
10578
10579 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10580
10581 * gdb.dlang/properties.exp: New file.
10582
10583 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10584
10585 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10586 whether or not address 0x1000 is mapped on the target.
10587
10588 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10589
10590 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10591 build.
10592
10593 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10594
10595 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10596 instruction-history test.
10597
10598 2015-09-28 Doug Evans <dje@google.com>
10599
10600 * gdb.base/gcore.c (array_func): Add reference to static_array.
10601
10602 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10603
10604 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10605 source line.
10606
10607 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10608
10609 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10610 short or char as base type.
10611
10612 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10613
10614 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10615 to allow any size enum.
10616
10617 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10618
10619 * gdb.ada/array_ptr_renaming.exp: New testcase.
10620 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10621 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10622
10623 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10624
10625 * gdb.trace/ftrace-lock.c: New file.
10626 * gdb.trace/ftrace-lock.exp: New file.
10627
10628 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10629
10630 * gdb.arch/insn-reloc.c: New file.
10631 * gdb.arch/ftrace-insn-reloc.exp: New file.
10632
10633 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10634
10635 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10636 instruction.
10637 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10638 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10639 * gdb.trace/range-stepping.c: Likewise.
10640 * gdb.trace/trace-break.c: Likewise.
10641 * gdb.trace/trace-mt.c (thread_function): Likewise.
10642 * gdb.trace/ftrace.c (marker): Likewise.
10643 * gdb.trace/trace-condition.c (marker): Likewise.
10644 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10645 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10646 is_aarch64_target.
10647
10648 2015-09-18 Doug Evans <xdje42@gmail.com>
10649
10650 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10651 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10652
10653 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10654
10655 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10656 the breakpoint.
10657
10658 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10659
10660 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10661 the pending breakpoint. Remove timeout override for "Run till
10662 MI pending breakpoint on pendfunc3 on thread 2" test.
10663
10664 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10665
10666 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10667 filename pattern.
10668
10669 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10670
10671 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10672 in breakpoint filename pattern.
10673
10674 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10675
10676 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10677
10678 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10679
10680 * gdb.linespec/explicit.exp: Check for readline support for
10681 tab-completion tests. Fix obvious typo.
10682
10683 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10684
10685 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10686 and replay.
10687
10688 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10689
10690 * gdb.btrace/non-stop.c: New.
10691 * gdb.btrace/non-stop.exp: New.
10692
10693 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10694 Yao Qi <yao.qi@linaro.org>
10695
10696 * gdb.trace/trace-condition.c: New file.
10697 * gdb.trace/trace-condition.exp: New file.
10698
10699 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10700
10701 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10702 for testing bytecode compilation.
10703
10704 2015-09-16 Pedro Alves <palves@redhat.com>
10705 Sandra Loosemore <sandra@codesourcery.com>
10706
10707 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10708 (SECONDS): Redefine.
10709 (main): Call pthread_kill and alarm early.
10710 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10711 support.
10712 (test): If the target can't hardware step and doesn't support
10713 displaced stepping, increase the timeout.
10714
10715 2015-09-16 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10718 (enable_debug): New procedures.
10719 (test): Use them. Bail out if waiting for threads fails.
10720 (top level): Bail out if a test fails.
10721
10722 2015-09-16 Yao Qi <yao.qi@linaro.org>
10723
10724 * gdb.asm/asm-source.exp: Set asm-arch for
10725 aarch64*-*-* target.
10726 * gdb.asm/aarch64.inc: New file.
10727
10728 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10729
10730 * gdb.ada/array_of_variable_length.exp: New testcase.
10731 * gdb.ada/array_of_variable_length/foo.adb: New file.
10732 * gdb.ada/array_of_variable_length/pck.adb: New file.
10733 * gdb.ada/array_of_variable_length/pck.ads: New file.
10734
10735 2015-09-15 Doug Evans <dje@google.com>
10736
10737 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10738 of function static local variable.
10739
10740 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10741
10742 * gdb.threads/tls-so_extern.exp: New test file.
10743 * gdb.threads/tls-so_extern.c: New test file.
10744 * gdb.threads/tls-so_extern_main.c: New test file.
10745
10746 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10747
10748 * gdb.opt/solib-intra-step-lib.c: New file.
10749 * gdb.opt/solib-intra-step-main.c: New file.
10750 * gdb.opt/solib-intra-step.exp: New file.
10751
10752 2015-09-15 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10755 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10756
10757 2015-09-14 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.base/hook-stop-continue.c: Delete.
10760 * gdb.base/hook-stop-continue.exp: Delete.
10761 * gdb.base/hook-stop-frame.c: Delete.
10762 * gdb.base/hook-stop-frame.exp: Delete.
10763 * gdb.base/hook-stop.c: New file.
10764 * gdb.base/hook-stop.exp: New file.
10765
10766 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10767
10768 * gdb.ada/access_to_packed_array.exp: New testcase.
10769 * gdb.ada/access_to_packed_array/foo.adb: New file.
10770 * gdb.ada/access_to_packed_array/pack.adb: New file.
10771 * gdb.ada/access_to_packed_array/pack.ads: New file.
10772
10773 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10774
10775 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10776 buffer size test.
10777
10778 2015-09-11 Don Breazeal <donb@codesourcery.com>
10779
10780 * gdb.base/foll-exec.c: Add copyright header. Fix
10781 formatting issues.
10782 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10783 (do_exec_tests): Use clean_restart in place of zap_session,
10784 and for test initialization. Fix formatting issues. Use
10785 fail in place of perror.
10786 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10787 an expect statement to match an expression with output from
10788 the program under debug.
10789 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10790 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10791 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10792 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10793 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10794
10795 2015-09-09 Doug Evans <dje@google.com>
10796
10797 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10798
10799 2015-09-09 Doug Evans <dje@google.com>
10800
10801 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10802
10803 2015-09-09 Doug Evans <dje@google.com>
10804
10805 * gdb.base/savedregs.exp: Fix typo.
10806
10807 2015-09-09 Pedro Alves <palves@redhat.com>
10808
10809 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10810
10811 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10812
10813 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10814 command actually switches threads. Give up on remaining
10815 tests if target fails to stop at breakpoint.
10816
10817 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10818
10819 * gdb.ada/funcall_char.exp: New testcase.
10820 * gdb.ada/funcall_char/foo.adb: New file.
10821
10822 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10823
10824 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10825 expected outputs. Add two testcases for completing ambiguous
10826 functions.
10827 * gdb.ada/complete/aux_pck.adb: New file.
10828 * gdb.ada/complete/aux_pck.ads: New file.
10829 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10830 Ambiguous_Func functions.
10831 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10832 * gdb.ada/complete/pck.adb: Likewise.
10833
10834 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10835
10836 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10837 failures to run the test program under GDB.
10838
10839 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10840
10841 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10842 to C.
10843
10844 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10845
10846 * gdb.base/run-after-attach.exp: New test file.
10847 * gdb.base/run-after-attach.c: New test file.
10848
10849 2015-08-26 Don Breazeal <donb@codesourcery.com>
10850
10851 * gdb.base/foll-exec-2.c: New test program.
10852 * gdb.base/foll-exec-2.exp: New test.
10853
10854 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10855
10856 * gdb.base/nested-subp1.exp: New file.
10857 * gdb.base/nested-subp1.c: New file.
10858 * gdb.base/nested-subp2.exp: New file.
10859 * gdb.base/nested-subp2.c: New file.
10860 * gdb.base/nested-subp3.exp: New file.
10861 * gdb.base/nested-subp3.c: New file.
10862
10863 2015-08-24 Pedro Alves <palves@redhat.com>
10864
10865 * gdb.server/connect-without-multi-process.c: New file.
10866 * gdb.server/connect-without-multi-process.exp: New file.
10867
10868 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10869
10870 * gdb.opt/inline-markers.c: Make z int.
10871
10872 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10873
10874 * gdb.opt/inline-markers.c: Make z volatile.
10875
10876 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10877
10878 * gdb.opt/inline-bt.c: New volatile global z.
10879 * gdb.opt/inline-cmds.c: Likewise.
10880 * gdb.opt/inline-locals.c: Likewise.
10881 * gdb.opt/inline-markers.c: New extern global z.
10882 (marker): Use z.
10883 (inline_fn): Likewise.
10884
10885 2015-08-24 Pedro Alves <palves@redhat.com>
10886
10887 * config/m32r-stub.exp: Remove file.
10888 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10889 * gdb.base/call-rt-st.exp: Likewise.
10890 * gdb.base/call-strs.exp: Likewise.
10891 * gdb.base/default.exp: Remove references to h8300-*-hms and
10892 *-*-udi*.
10893 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10894
10895 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10896
10897 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10898 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10899 and "return" use KFAIL when GDB can not read/write the vector
10900 return value.
10901
10902 2015-08-21 Gary Benson <gbenson@redhat.com>
10903
10904 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10905
10906 2015-08-20 Pedro Alves <palves@redhat.com>
10907
10908 * gdb.server/solib-list.exp: No longer expect an interior stop in
10909 non-stop mode.
10910
10911 2015-08-20 Pedro Alves <palves@redhat.com>
10912
10913 * gdb.server/connect-stopped-target.c: New file.
10914 * gdb.server/connect-stopped-target.exp: New file.
10915
10916 2015-08-20 Pedro Alves <palves@redhat.com>
10917
10918 * gdb.dwarf2/comp-unit-lang.exp: New file.
10919 * gdb.dwarf2/comp-unit-lang.c: New file.
10920
10921 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10922
10923 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10924 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10925
10926 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10927
10928 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10929 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10930
10931 2015-08-18 Doug Evans <dje@google.com>
10932 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10933
10934 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10935 skip_python_tests. New arg prompt_regexp.
10936 (skip_python_tests): New function.
10937 * lib/mi-support.exp (mi_skip_python_tests): New function.
10938 * gdb.python/py-mi-objfile-gdb.py: New file.
10939 * gdb.python/py-mi-objfile.c: New file.
10940 * gdb.python/py-mi-objfile.exp: New file.
10941
10942 2015-08-17 Keith Seitz <keiths@redhat.com>
10943
10944 * gdb.linespec/explicit.exp: Move strace test from here ...
10945 * gdb.trace/strace.exp: ... to here.
10946
10947 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10948
10949 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10950 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10951
10952 2015-08-14 Doug Evans <xdje42@gmail.com>
10953
10954 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10955 inferior before selecting a new file.
10956
10957 2015-08-14 Doug Evans <xdje42@gmail.com>
10958
10959 * gdb.mi/mi-disassemble.exp: Update.
10960 * gdb.base/disasm-optim.S: New file.
10961 * gdb.base/disasm-optim.c: New file.
10962 * gdb.base/disasm-optim.h: New file.
10963 * gdb.base/disasm-optim.exp: New file.
10964
10965 2015-08-14 Keith Seitz <keiths@redhat.com>
10966
10967 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10968 "evaluated-by".
10969
10970 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10971
10972 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10973
10974 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10975
10976 * gdb.ada/fun_renaming.exp: New testcase.
10977 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10978 * gdb.ada/fun_renaming/pack.adb: New file.
10979 * gdb.ada/fun_renaming/pack.ads: New file.
10980
10981 2015-08-12 Keith Seitz <keiths@redhat.com>
10982
10983 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10984 gdb_get_line_number.
10985
10986 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10987
10988 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10989 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10990 gdb.base/dso2dso.exp: New files.
10991
10992 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10993 Pedro Alves <palves@redhat.com>
10994 Keith Seitz <keiths@redhat.com>
10995
10996 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10997 GDBFLAGS.
10998
10999 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11000
11001 * gdb.base/gdbhistsize-history.exp
11002 (test_histsize_history_setting): Use save_vars.
11003 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11004 Use save_vars.
11005 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11006 * gdb.base/readline.exp: Use save_vars.
11007
11008 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11009
11010 * lib/gdb.exp (save_vars): New proc.
11011
11012 2015-08-11 Keith Seitz <keiths@redhat.com>
11013
11014 * gdb.base/help.exp: Update help_breakpoint_text.
11015
11016 2015-08-11 Keith Seitz <keiths@redhat.com>
11017
11018 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11019 (at toplevel): Call test_explicit_breakpoints.
11020 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11021 breakpoints.
11022 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11023 breakpoint conditions, "-cond".
11024
11025 2015-08-11 Keith Seitz <keiths@redhat.com>
11026
11027 * gdb.linespec/3explicit.c: New file.
11028 * gdb.linespec/cpexplicit.cc: New file.
11029 * gdb.linespec/cpexplicit.exp: New file.
11030 * gdb.linespec/explicit.c: New file.
11031 * gdb.linespec/explicit.exp: New file.
11032 * gdb.linespec/explicit2.c: New file.
11033 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11034 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11035 before using in the matching pattern.
11036 Clarify that `prefix' is a regular expression.
11037
11038 2015-08-11 Keith Seitz <keiths@redhat.com>
11039
11040 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11041 test.
11042 Add tests for missing ",FMT" and ",".
11043
11044 2015-08-10 Doug Evans <dje@google.com>
11045 Keith Seitz <keiths@redhat.com>
11046
11047 PR gdb/17960
11048 * gdb.base/completion.exp: Add location completer tests.
11049
11050 2015-08-07 Pedro Alves <palves@redhat.com>
11051
11052 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11053 tests here.
11054 (top level): Run do_test with and without displaced stepping.
11055
11056 2015-08-07 Pedro Alves <palves@redhat.com>
11057
11058 * gdb.base/valgrind-disp-step.c: New file.
11059 * gdb.base/valgrind-disp-step.exp: New file.
11060
11061 2015-08-07 Pedro Alves <palves@redhat.com>
11062
11063 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11064 Delete function.
11065 (main): Add alarm. Run an infinite loop instead of calling
11066 wait_threads.
11067 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11068 comment.
11069 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11070 Delete function.
11071 (main): Add alarm. Run an infinite loop instead of calling
11072 wait_threads.
11073 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11074 comment.
11075
11076 2015-08-07 Pedro Alves <palves@redhat.com>
11077
11078 * gdb.base/checkpoint-ns.exp: New file.
11079 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11080 standard_testfile.
11081
11082 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11083
11084 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11085 * gdb.btrace/instruction_history.exp: Update.
11086 * gdb.btrace/tsx.exp: New.
11087 * gdb.btrace/tsx.c: New.
11088
11089 2015-08-06 Pedro Alves <palves@redhat.com>
11090
11091 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11092 increase timeout.
11093 * gdb.reverse/until-precsave.exp: Bump timeouts.
11094
11095 2015-08-06 Pedro Alves <palves@redhat.com>
11096
11097 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11098
11099 2015-08-06 Pedro Alves <palves@redhat.com>
11100
11101 PR gdb/18749
11102 * gdb.threads/process-dies-while-handling-bp.c: New file.
11103 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11104
11105 2015-08-06 Pedro Alves <palves@redhat.com>
11106
11107 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11108 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11109
11110 2015-08-05 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11113 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11114
11115 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11116
11117 * gdb.base/bp-permanent.exp: Report test as unsupported if
11118 the target cannot stop at the permanent breakpoint.
11119
11120 2015-08-03 Doug Evans <dje@google.com>
11121
11122 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11123 10000.
11124
11125 2015-08-03 Doug Evans <dje@google.com>
11126
11127 * Makefile.in (workers/%.worker, build-perf): New rule.
11128 (GDB_PERFTEST_MODE): New variable.
11129 (check-perf): Use it.
11130 (clean): Clean up gdb.perf parallel build subdirs.
11131 * lib/build-piece.exp: New file.
11132 * lib/gdb.exp (make_gdb_parallel_path): New function
11133 (standard_output_file, standard_temp_file): Call it.
11134 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11135 of $GDB_PARALLEL.
11136 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11137
11138 2015-08-03 Doug Evans <dje@google.com>
11139
11140 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11141 (LOG_FILE_NAME): New global.
11142 (TextReporter.__init__): Initialize self.txt_sum.
11143 (TextReporter.report): Add support for multiple data-points.
11144 Move report to perftest.sum, put raw data in perftest.log.
11145 (TextReporter.start): Open sum and log files.
11146 (TextReporter.end): Close sum and log files.
11147 * gdb.perf/lib/perftest/testresult.py
11148 (SingleStatisticTestResult.record): Handle multiple data-points.
11149
11150 2015-07-31 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11153 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11154 kill_wait_spawned_process instead of explicit "kill -9".
11155 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11156 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11157 kill_wait_spawned_process.
11158 * gdb.base/attach-twice.exp: Likewise.
11159 * gdb.base/attach.exp: Likewise.
11160 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11161 gdb_test_multiple.
11162 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11163 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11164 kill_wait_spawned_process.
11165 * gdb.base/valgrind-infcall.exp: Likewise.
11166 * gdb.multi/multi-attach.exp: Likewise.
11167 * gdb.python/py-prompt.exp: Likewise.
11168 * gdb.python/py-sync-interp.exp: Likewise.
11169 * gdb.server/ext-attach.exp: Likewise.
11170 * gdb.threads/attach-into-signal.exp (corefunc): Use
11171 spawn_wait_for_attach, spawn_id_get_pid and
11172 kill_wait_spawned_process.
11173 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11174 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11175 spawn_id_get_pid and kill_wait_spawned_process.
11176 * gdb.threads/attach-stopped.exp (corefunc): Use
11177 spawn_wait_for_attach, spawn_id_get_pid and
11178 kill_wait_spawned_process.
11179 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11180 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11181 kill_wait_spawned_process instead of explicit "kill -9".
11182 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11183 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11184 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11185 processes. Don't map cygwin/windows pids here. Now returns a
11186 spawn id list.
11187
11188 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11189
11190 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11191 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11192 correct patch.
11193
11194 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11195
11196 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11197
11198 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11199
11200 Reapply:
11201 2014-05-21 Mark Wielaard <mjw@redhat.com>
11202
11203 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11204
11205 2015-07-30 Pedro Alves <palves@redhat.com>
11206
11207 * linux-low.c (handle_extended_wait): Set the child's last
11208 reported status to TARGET_WAITKIND_STOPPED.
11209
11210 2015-07-30 Pedro Alves <palves@redhat.com>
11211
11212 PR threads/18600
11213 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11214 only shows inferior 1.
11215
11216 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11217 Pedro Alves <palves@redhat.com>
11218
11219 PR threads/18600
11220 * gdb.threads/fork-plus-threads.c: New file.
11221 * gdb.threads/fork-plus-threads.exp: New file.
11222
11223 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11224
11225 * gdb.base/batch-preserve-term-settings.exp
11226 (test_terminal_settings_preserved_after_cli_exit): Use
11227 send_quit_command.
11228
11229 2015-07-29 Pedro Alves <palves@redhat.com>
11230 Don Breazeal <donb@codesourcery.com>
11231
11232 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11233 output from both inferior_spawn_id and gdb_spawn_id.
11234
11235 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11236
11237 * gdb.threads/attach-into-signal.exp (corefunc): Use
11238 with_test_prefix on nested loops, uniquefying the test messages.
11239
11240 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11241
11242 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11243 commit.
11244
11245 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11246
11247 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11248 New proc.
11249 (test_terminal_settings_preserved_after_sigterm): New test.
11250
11251 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11252
11253 * gdb.base/batch-preserve-term-settings.exp
11254 (test_terminal_settings_preserved_after_cli_exit): New test.
11255
11256 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11257
11258 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11259 manipulation of saved_gdbflags.
11260 (test_terminal_settings_preserved): Remove global declaration of
11261 the unused variable pagination_prompt. Remove manipulation of
11262 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11263 GDBFLAGS.
11264
11265 2015-07-29 Pedro Alves <palves@redhat.com>
11266
11267 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11268
11269 2015-07-29 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11272 at the top.
11273
11274 2015-07-29 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11277 (main): Call gdb_unbuffer_output.
11278 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11279 (main): Call gdb_unbuffer_output.
11280 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11281 (main): Call gdb_unbuffer_output.
11282 * gdb.base/call-strs.exp: Adjust to step over the
11283 gdb_unbuffer_output call.
11284 * gdb.base/catch-gdb-caused-signals.c: Include
11285 "../lib/unbuffer_output.c".
11286 (main): Call gdb_unbuffer_output.
11287 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11288 (main): Call gdb_unbuffer_output.
11289 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11290 (main): Call gdb_unbuffer_output.
11291 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11292 (main): Call gdb_unbuffer_output.
11293 * gdb.base/shlib-call.exp: Adjust to step over the
11294 gdb_unbuffer_output call.
11295 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11296 (main): Call gdb_unbuffer_output.
11297 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11298 (main): Call gdb_unbuffer_output.
11299 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11300 (main): Rename to ...
11301 (test): ... this.
11302 (main): Reimplement.
11303 * gdb.base/varargs.exp: Run to test instead of to main.
11304 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11305 (main): Call gdb_unbuffer_output.
11306
11307 2015-07-29 Pedro Alves <palves@redhat.com>
11308
11309 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11310 factore out from mi_continue_dprintf. For call-style dprintfs,
11311 expect dprintf output out of $inferior_spawn_id.
11312 (mi_continue_dprintf): Use mi_expect_dprintf.
11313 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11314 (main): Call gdb_unbuffer_output.
11315
11316 2015-07-29 Pedro Alves <palves@redhat.com>
11317
11318 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11319 (default_mi_gdb_start): Set inferior_spawn_id instead of
11320 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11321 gdb_spawn_id.
11322 (mi_gdb_test): Always expect inferior output from both
11323 $inferior_spawn_id and $gdb_spawn_id.
11324
11325 2015-07-29 Pedro Alves <palves@redhat.com>
11326
11327 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11328 send_inferior and $inferior_spawn_id.
11329
11330 2015-07-29 Pedro Alves <palves@redhat.com>
11331
11332 * gdb.gdb/complaints.exp (test_initial_complaints)
11333 (test_serial_complaints, test_short_complaints): Use
11334 gdb_test_stdio.
11335 (test_empty_complaint): Handle $inferior_spawn_id !=
11336 $gdb_spawn_id.
11337
11338 2015-07-29 Pedro Alves <palves@redhat.com>
11339
11340 * gdb.base/varargs.exp: Use gdb_test_stdio.
11341
11342 2015-07-29 Pedro Alves <palves@redhat.com>
11343
11344 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11345
11346 2015-07-29 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11349
11350 2015-07-29 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11353 parameter into two new parameters, "inf_result" and "gdb_result".
11354 Expect inferior output and gdb output from $inferior_spawn_id and
11355 $gdb_spawn_id, respectively. Adjust all callers.
11356
11357 2015-07-29 Pedro Alves <palves@redhat.com>
11358
11359 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11360 of gdb_test_sequence.
11361
11362 2015-07-29 Pedro Alves <palves@redhat.com>
11363
11364 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11365 (saw_spurious_output): Expect inferior output from
11366 $inferior_spawn_id. Use gdb_test_stdio.
11367
11368 2015-07-29 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.base/dprintf.exp: Use standard_testfile. Change
11371 prepare_for_testing call.
11372 (srcfile): Don't set.
11373 (restart): New procedure.
11374 (test_dprintf): New procecure, use to continue over dprintfs.
11375 (test_call, test_agent): New procedures, tests moved here.
11376 Restart gdb and recreate dprintfs. Adjust expected output.
11377
11378 2015-07-29 Pedro Alves <palves@redhat.com>
11379
11380 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11381
11382 2015-07-29 Pedro Alves <palves@redhat.com>
11383
11384 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11385
11386 2015-07-29 Pedro Alves <palves@redhat.com>
11387
11388 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11389 gdb_test_stdio.
11390
11391 2015-07-29 Pedro Alves <palves@redhat.com>
11392
11393 * lib/gdb.exp (gdb_test_stdio): New procedure.
11394
11395 2015-07-29 Pedro Alves <palves@redhat.com>
11396
11397 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11398
11399 2015-07-29 Pedro Alves <palves@redhat.com>
11400
11401 * gdb.base/call-signal-resume.exp: Remove check for
11402 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11403 * gdb.base/unwindonsignal.exp: Likewise.
11404 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11405 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11406
11407 2015-07-29 Pedro Alves <palves@redhat.com>
11408
11409 * gdb.base/siginfo-addr.c (pass): New function.
11410 (handler): Call it iff si_addr is correct.
11411 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11412 Set a breakpoint at "pass" and continue to it.
11413
11414 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11415
11416 * gdb.python/py-objfile.exp: Make some tests have unique names.
11417 * gdb.python/py-pp-registration.exp: Likewise.
11418
11419 2015-07-28 Pedro Alves <palves@redhat.com>
11420
11421 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11422
11423 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11424
11425 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11426
11427 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11428
11429 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11430
11431 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11432
11433 * gdb.base/gdb-sigterm-2.exp: New test.
11434
11435 2015-07-25 Doug Evans <xdje42@gmail.com>
11436
11437 Revert:
11438 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11439 (workers/%.worker, build-perf): New rule.
11440 (GDB_PERFTEST_MODE): New variable.
11441 (check-perf): Use it.
11442 (clean): Clean up gdb.perf parallel build subdirs.
11443 * lib/build-piece.exp: New file.
11444 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11445 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11446 name.
11447 (standard_temp_file): Ditto.
11448 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11449 of $GDB_PARALLEL.
11450
11451 2015-07-24 Doug Evans <dje@google.com>
11452
11453 * gdb.perf/lib/perftest/utils.py: New file.
11454 * gdb.perf/gm-hello.cc: New file.
11455 * gdb.perf/gm-pervasive-typedef.cc: New file.
11456 * gdb.perf/gm-pervasive-typedef.h: New file.
11457 * gdb.perf/gm-std.cc: New file.
11458 * gdb.perf/gm-std.h: New file.
11459 * gdb.perf/gm-use-cerr.cc: New file.
11460 * gdb.perf/gm-utils.h: New file.
11461 * gdb.perf/gmonster-null-lookup.py: New file.
11462 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11463 * gdb.perf/gmonster-print-cerr.py: New file.
11464 * gdb.perf/gmonster-ptype-string.py: New file.
11465 * gdb.perf/gmonster-runto-main.py: New file.
11466 * gdb.perf/gmonster-select-file.py: New file.
11467 * gdb.perf/gmonster1-null-lookup.exp: New file.
11468 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11469 * gdb.perf/gmonster1-print-cerr.exp: New file.
11470 * gdb.perf/gmonster1-ptype-string.exp: New file.
11471 * gdb.perf/gmonster1-runto-main.exp: New file.
11472 * gdb.perf/gmonster1-select-file.exp: New file.
11473 * gdb.perf/gmonster1.cc: New file.
11474 * gdb.perf/gmonster1.exp: New file.
11475 * gdb.perf/gmonster2-null-lookup.exp: New file.
11476 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11477 * gdb.perf/gmonster2-print-cerr.exp: New file.
11478 * gdb.perf/gmonster2-ptype-string.exp: New file.
11479 * gdb.perf/gmonster2-runto-main.exp: New file.
11480 * gdb.perf/gmonster2-select-file.exp: New file.
11481 * gdb.perf/gmonster2.cc: New file.
11482 * gdb.perf/gmonster2.exp: New file.
11483
11484 2015-07-24 Doug Evans <dje@google.com>
11485
11486 * gdb.perf/README: New file.
11487 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11488 * lib/gen-perf-test.exp: New file.
11489
11490 2015-07-24 Doug Evans <dje@google.com>
11491
11492 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11493 (PerfTest::startup): New function.
11494 (PerfTest::run): Return result of calling body.
11495 (PerfTest::assemble): Rewrite.
11496 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11497 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11498 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11499 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11500 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11501
11502 2015-07-24 Doug Evans <dje@google.com>
11503
11504 * lib/gdb.exp (clean_restart): Make executable optional.
11505
11506 2015-07-24 Doug Evans <dje@google.com>
11507
11508 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11509 compiler_info references.
11510 * gdb.cp/temargs.exp: Ditto.
11511 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11512 (get_compiler_info): Early exit if already computed. Set compiler_info
11513 to "unknown" if there was a problem.
11514 (test_compiler_info): Add function comment. Call get_compiler_info.
11515
11516 2015-07-24 Doug Evans <dje@google.com>
11517
11518 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11519 (workers/%.worker, build-perf): New rule.
11520 (GDB_PERFTEST_MODE): New variable.
11521 (check-perf): Use it.
11522 (clean): Clean up gdb.perf parallel build subdirs.
11523 * lib/build-piece.exp: New file.
11524 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11525 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11526 name.
11527 (standard_temp_file): Ditto.
11528 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11529 of $GDB_PARALLEL.
11530
11531 2015-07-24 Doug Evans <dje@google.com>
11532
11533 * lib/future.exp (gdb_default_target_compile): New option
11534 "early_flags".
11535 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11536 --as-needed.
11537
11538 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11539
11540 * gdb.base/catch-syscall.exp: Call gdb_exit before
11541 gdb_skip_xml_test.
11542
11543 2015-07-24 Pedro Alves <palves@redhat.com>
11544
11545 * gdb.python/py-events.exp: Accept output between the stop event
11546 and the prompt.
11547 * gdb.python/py-evsignal.exp: Likewise.
11548 * gdb.python/py-evthreads.exp: Likewise.
11549
11550 2015-07-24 Pedro Alves <palves@redhat.com>
11551
11552 PR gdb/18717
11553 * gdb.threads/non-ldr-exit.c: New file.
11554 * gdb.threads/non-ldr-exit.exp: New file.
11555
11556 2015-07-24 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11559 restarting process.
11560
11561 2015-07-24 Yao Qi <yao.qi@linaro.org>
11562
11563 * gdb.server/ext-restart.exp: New file.
11564
11565 2015-07-24 Yao Qi <yao.qi@linaro.org>
11566
11567 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11568 argument options.
11569 * gdb.server/ext-wrapper.exp: New file.
11570
11571 2015-07-23 Doug Evans <dje@google.com>
11572
11573 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11574 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11575
11576 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11577
11578 * gdb.ada/var_arr_typedef.exp: New testcase.
11579 * gdb.ada/var_arr_typedef/pack.adb: New file.
11580 * gdb.ada/var_arr_typedef/pack.ads: New file.
11581 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11582
11583 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11584
11585 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11586
11587 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11588
11589 * gdb.arch/i386-biarch-core.exp: Replace istarget
11590 by "complete set gnutarget". Remove expectation for the "core-file"
11591 command.
11592
11593 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11594
11595 Revert the previous commit:
11596 Tests for validate symbol file using build-id.
11597
11598 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11599
11600 Tests for validate symbol file using build-id.
11601 * gdb.base/solib-mismatch-lib.c: New file.
11602 * gdb.base/solib-mismatch-libmod.c: New file.
11603 * gdb.base/solib-mismatch.c: New file.
11604 * gdb.base/solib-mismatch.exp: New file.
11605
11606 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11607
11608 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11609 nios2-*-linux*.
11610 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11611 * gdb.base/siginfo.exp: Likewise.
11612 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11613
11614 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11615
11616 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11617 Move it to ...
11618 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11619 ... here.
11620 * gdb.trace/range-stepping.exp: Check that the target supports
11621 range stepping.
11622
11623 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11626
11627 2015-07-14 Pedro Alves <palves@redhat.com>
11628
11629 * gdb.base/killed-outside.exp: New file.
11630 * gdb.base/killed-outside.c: New file.
11631
11632 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11633
11634 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11635 (n at main): New.
11636 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11637
11638 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11639
11640 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11641 infcall tests instead of setting up for KFAIL.
11642
11643 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11644
11645 * gdb.btrace/record_goto-step.exp: New.
11646
11647 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11648
11649 PR compile/18484
11650 * gdb.compile/compile.c (struct struct_type): Add volatile to
11651 selffield's type.
11652 * gdb.compile/compile.exp
11653 (compile code struct_object.selffield = &struct_object): Skip further
11654 struct_object tests if this one xfails.
11655
11656 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11657
11658 PR exp/18617
11659 * gdb.trace/ax.exp: Add test.
11660
11661 2015-07-07 Yao Qi <yao.qi@linaro.org>
11662
11663 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11664 instead of istarget "aarch64*-*-*".
11665 * gdb.arch/aarch64-fp.exp: Likewise.
11666 * gdb.base/float.exp: Likewise.
11667 * gdb.reverse/aarch64.exp: Likewise.
11668 * lib/gdb.exp (is_aarch64_target): New proc.
11669
11670 2015-07-07 Yao Qi <yao.qi@linaro.org>
11671
11672 * lib/gdb.exp (is_aarch32_target): New proc.
11673 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11674 instead of "istarget "arm*-*-*"".
11675 * gdb.arch/arm-disp-step.exp: Likewise.
11676 * gdb.arch/thumb-bx-pc.exp: Likewise.
11677 * gdb.arch/thumb-prologue.exp: Likewise.
11678 * gdb.arch/thumb-singlestep.exp: Likewise.
11679 * gdb.base/disp-step-syscall.exp: Likewise.
11680 * gdb.base/float.exp: Likewise.
11681
11682 2015-07-07 Yao Qi <yao.qi@linaro.org>
11683
11684 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11685 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11686
11687 2015-07-07 Yao Qi <yao.qi@linaro.org>
11688
11689 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11690 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11691 if it exists.
11692 * gdb.multi/multi-arch.exp: Likewise.
11693
11694 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11695
11696 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11697 print.
11698
11699 2015-07-07 Yao Qi <yao.qi@linaro.org>
11700
11701 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11702
11703 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11704
11705 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11706 '[' and ']' characters.
11707
11708 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11709
11710 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11711
11712 2015-06-29 Pedro Alves <palves@redhat.com>
11713
11714 PR threads/18127
11715 * gdb.threads/hand-call-new-thread.c: New file.
11716 * gdb.threads/hand-call-new-thread.c: New file.
11717
11718 2015-06-26 Keith Seitz <keiths@redhat.com>
11719 Doug Evans <dje@google.com>
11720
11721 PR 16253
11722 * gdb.cp/var-tag-2.cc: New file.
11723 * gdb.cp/var-tag-3.cc: New file.
11724 * gdb.cp/var-tag-4.cc: New file.
11725 * gdb.cp/var-tag.cc: New file.
11726 * gdb.cp/var-tag.exp: New file.
11727
11728 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11729
11730 * gdb.base/history-duplicates.exp: New test.
11731
11732 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11733
11734 * gdb.base/completion.exp: Test the completion of the "focus"
11735 command.
11736
11737 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11738
11739 * gdb.arch/amd64-prologue-skip.S: New file.
11740 * gdb.arch/amd64-prologue-skip.exp: New file.
11741
11742 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11743
11744 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11745 is_address_zero_readable check.
11746
11747 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11748
11749 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11750 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11751
11752 2015-06-24 Yao Qi <yao.qi@linaro.org>
11753
11754 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11755 linux targets.
11756
11757 2015-06-24 Yao Qi <yao.qi@linaro.org>
11758
11759 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11760 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11761 * gdb.base/siginfo-thread.exp: Likewise.
11762
11763 2015-06-22 Yao Qi <yao.qi@linaro.org>
11764
11765 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11766
11767 2015-06-22 Yao Qi <yao.qi@linaro.org>
11768
11769 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11770 aarch64*-*-*.
11771 (skip_hw_watchpoint_tests): Likewise.
11772
11773 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11774
11775 * gdb.base/gdbinit-history.exp: Test the interaction between
11776 setting GDBHISTSIZE and setting the history size via .gdbinit.
11777
11778 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11779
11780 PR gdb/16999
11781 * gdb.base/gdbhistsize-history.exp: New test.
11782
11783 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11784
11785 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11786 with GDBHISTSIZE.
11787 * gdb.base/readline.exp: Likewise.
11788
11789 2015-06-17 Yao Qi <yao.qi@linaro.org>
11790
11791 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11792 line.
11793
11794 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11795
11796 * gdb.base/gdbinit-history.exp: Add test case to check that
11797 an unlimited history file does not get truncated on exit.
11798
11799 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11800
11801 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11802 (VECTOR): New macro. Use it...
11803 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11804 ...for these typedefs.
11805 (int8, char1, int1, double1): New typedefs.
11806 (struct just_int2, struct two_int2): New structures.
11807 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11808 (add_structvecs, add_singlevecs): New functions.
11809 (main): Call add_some_intvecs twice.
11810 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11811 the compile and exit upon failure. Try compiling for the "native"
11812 architecture. Test inferior function calls with vector arguments
11813 and vector return value handling with "finish" and "return".
11814
11815 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11816
11817 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11818 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11819 PE file.
11820 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11821
11822 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11823
11824 PR breakpoints/16465
11825 * gdb.mi/mi-dprintf-pending.c: New file.
11826 * gdb.mi/mi-dprintf-pending.exp: New test.
11827 * gdb.mi/mi-dprintf-pendshr.c: New file.
11828
11829 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11830 Mircea Gherzan <mircea.gherzan@intel.com>
11831
11832 * gdb.arch/i386-mpx-map.c: New file.
11833 * gdb.arch/i386-mpx-map.exp: New File.
11834
11835 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11836
11837 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11838 * gdb.arch/i386-mpx.exp: Indentation fixed.
11839
11840 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11841
11842 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11843 function and improved indentation.
11844 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11845 gdb_test_multiple. Added additional tests to skip the test.
11846
11847 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11848
11849 * gdb.arch/i386-avx512.c: Change path in include file.
11850 * gdb.arch/i386-avx512.exp: Change include dir path
11851 compilation flag.
11852 * gdb.arch/i386-mpx.c: Change path in include file.
11853 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11854 flag.
11855
11856 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11857
11858 * gdb.compile/compile-print.exp (compile print *vararray@3)
11859 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11860
11861 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11862
11863 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11864 (do not keep jit in memory): ... this.
11865 (expect 5): Change it to ...
11866 (expect no 5): ... this.
11867
11868 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11869
11870 PR gdb/15564
11871 * gdb.mi/mi-detach.exp: New file.
11872
11873 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11874
11875 PR symtab/18392
11876 * gdb.arch/amd64-tailcall-self.S: New file.
11877 * gdb.arch/amd64-tailcall-self.c: New file.
11878 * gdb.arch/amd64-tailcall-self.exp: New file.
11879
11880 2015-05-28 Don Breazeal <donb@codesourcery.com>
11881
11882 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11883 tests for remote targets by checking is_target_gdbserver.
11884
11885 2015-05-27 Doug Evans <dje@google.com>
11886
11887 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11888 * gdb.dwarf2/opaque-type-lookup.c: New file.
11889 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11890
11891 2015-05-26 Doug Evans <dje@google.com>
11892
11893 * gdb.cp/iostream.cc: New file.
11894 * gdb.cp/iostream.exp: New file.
11895
11896 2015-05-26 Doug Evans <dje@google.com>
11897
11898 * gdb.dwarf2/dw2-op-call.exp: Update.
11899 * gdb.dwarf2/dw4-sig-types.exp: Update.
11900 * gdb.dwarf2/implptr.exp: Update.
11901 * gdb.mi/mi-cmd-param-changed.exp: Update.
11902
11903 2015-05-26 Doug Evans <dje@google.com>
11904
11905 * gdb.python/py-lazy-string.c: New file.
11906 * gdb.python/py-lazy-string.exp: New file.
11907 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11908 (main): Update. Add estring3.
11909 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11910 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11911
11912 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11913 Yao Qi <yao.qi@linaro.org>
11914
11915 * gdb.reverse/aarch64.c: New.
11916 * gdb.reverse/aarch64.exp: New.
11917
11918 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11919
11920 * lib/gdb.exp (supports_process_record): Return true for
11921 aarch64*-linux*.
11922 (supports_reverse): Likewise.
11923
11924 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11925
11926 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11927 Use with_test_prefix.
11928
11929 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11930
11931 * gdb.base/completion.exp: Add test for completion of layout
11932 names.
11933
11934 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11935
11936 * lib/gdb.exp (skip_tui_tests): New proc.
11937 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11938
11939 2015-05-19 Pedro Alves <palves@redhat.com>
11940
11941 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11942 Save the whole env array instead of just HOME. Unset HISTSIZE in
11943 the environment while testing. Restore whole environment
11944 afterwards.
11945
11946 2015-05-16 Doug Evans <xdje42@gmail.com>
11947
11948 * gdb.guile/scm-ports.c: New file.
11949 * gdb.guile/scm-ports.exp: Add memory port tests.
11950
11951 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11952
11953 * gdb.compile/compile-print.c: New file.
11954 * gdb.compile/compile-print.exp: New file.
11955
11956 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11957
11958 * gdb.compile/compile-ops.exp: Cast param to void.
11959 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11960 (compile code struct_object.selffield = &struct_object): Add xfail.
11961
11962 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11963
11964 * gdb.ada/arr_enum_with_gap: New testcase.
11965
11966 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11967
11968 * gdb.ada/byte_packed_arr: New testcase.
11969
11970 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11971
11972 * gdb.ada/pckd_neg: New testcase.
11973
11974 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11975
11976 PR gdb/17820
11977 * gdb.base/gdbinit-history.exp: New test.
11978 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11979 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11980
11981 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11982
11983 * gdb.python/py-xmethods.cc: Enhance test case.
11984 * gdb.python/py-xmethods.exp: New tests.
11985 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11986 function.
11987 (B_indexoper): Likewise.
11988 (global_dm_list) : Add new xmethod worker functions.
11989
11990 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11991
11992 * gdb.base/coredump-filter.exp: Correctly unset
11993 "coredump_var_addr" array.
11994
11995 2015-05-08 Pedro Alves <palves@redhat.com>
11996
11997 * gdb.server/non-existing-program.exp: Unset spawn_id.
11998
11999 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12000
12001 PR python/18291
12002 * gdb.python/py-xmethods.exp: Add tests.
12003
12004 2015-05-08 Yao Qi <yao.qi@linaro.org>
12005
12006 PR gdb/18208
12007 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12008 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12009 function set_coredump_filter, and remove remote_exec call.
12010 Remove argument ipid. Callers update.
12011 (top level): Don't get inferior's PID.
12012
12013 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12014
12015 * gdb.base/watch_thread_num.exp: Skip test on targets without
12016 access watchpoints.
12017
12018 2015-05-06 Pedro Alves <palves@redhat.com>
12019
12020 PR server/18081
12021 * gdb.server/non-existing-program.exp: New file.
12022
12023 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12024
12025 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12026
12027 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12028
12029 * gdb.ada/out_of_line_in_inlined: New testcase.
12030
12031 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12032
12033 * gdb.ada/var_rec_arr: New testcase.
12034
12035 2015-04-30 Yao Qi <yao.qi@linaro.org>
12036
12037 * gdb.base/break-idempotent.exp: If
12038 skip_hw_watchpoint_multi_tests returns true, skip the tests
12039 on "rwatch" and "awatch".
12040
12041 2015-04-30 Yao Qi <yao.qi@linaro.org>
12042
12043 * gdb.base/relativedebug.exp: Invoke gdb command
12044 "info sharedlibrary", and if libc.so doesn't have debug info,
12045 skip the test.
12046
12047 2015-04-29 Doug Evans <dje@google.com>
12048
12049 * gdb.python/py-xmethods.exp: Add ptype tests.
12050 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12051 get_result_type method.
12052
12053 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12054
12055 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12056 the target does not support hardware watchpoints.
12057
12058 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12059
12060 * gdb.base/break-always.exp: Abort testing if writing to memory
12061 causes an error.
12062
12063 2015-04-28 Doug Evans <dje@google.com>
12064
12065 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12066 * gdb.python/py-pp-registration.exp: ... here. New file.
12067 * gdb.python/py-pp-registration.c: New file.
12068 * gdb.python/py-pp-registration.py: New file.
12069
12070 2015-04-28 Doug Evans <dje@google.com>
12071
12072 * gdb.python/py-bad-printers.c: New file.
12073 * gdb.python/py-bad-printers.py: New file.
12074 * gdb.python/py-bad-printers.exp: New file.
12075
12076 2015-04-28 Sasha Smundak <asmundak@google.com>
12077
12078 * gdb.python/py-type.exp: New test.
12079
12080 2015-04-28 Andy Wingo <wingo@igalia.com>
12081
12082 * gdb.python/py-parameter.exp:
12083 * gdb.guile/scm-parameter.exp: Escape the path that we are
12084 matching against, as it might contain characters that are special
12085 to regular expressions.
12086
12087 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12088
12089 * gdb.ada/rec_comp: New testcase.
12090
12091 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12092
12093 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12094 before using it.
12095
12096 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12097
12098 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12099 new tests for verilog output.
12100
12101 2015-04-24 Yao Qi <yao.qi@linaro.org>
12102
12103 * boards/remote-gdbserver-on-localhost.exp: New file.
12104
12105 2015-04-23 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12108 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12109 "end of file", remove $inferior_spawn_id from the indirect list.
12110
12111 2015-04-23 Pedro Alves <palves@redhat.com>
12112
12113 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12114
12115 2015-04-23 Pedro Alves <palves@redhat.com>
12116
12117 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12118 on $any_spawn_id instead of only on $gdb_spawn_id.
12119
12120 2015-04-21 Pierre Muller <muller@sourceware.org>
12121
12122 PR pascal/17815
12123 * lib/pascal.exp (gpc_compile): Add new option "class".
12124 (fpc_compile): Likewise.
12125 * gdb.pascal/case-insensitive-symbols.pas: New file.
12126 * gdb.pascal/case-insensitive-symbols.exp: New file.
12127
12128 2015-04-20 Gary Benson <gbenson@redhat.com>
12129
12130 * gdb.base/attach.exp: Fix three extended remote failures.
12131
12132 2015-04-17 Gary Benson <gbenson@redhat.com>
12133
12134 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12135 the main executable over the remote protocol.
12136
12137 2015-04-16 Pedro Alves <palves@redhat.com>
12138
12139 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12140 a new gdbserver if gdbserver_reconnect_p is set.
12141
12142 2015-04-16 Pedro Alves <palves@redhat.com>
12143
12144 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12145 is set, don't exit gdbserver.
12146
12147 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12148
12149 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12150 appropriate .insn, such that an older assembler can be used.
12151 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12152 the z/Architecture instruction set on 31-bit targets as well.
12153
12154 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12155
12156 * gdb.go/handcall.exp: Remove all logic related to the first
12157 breakpoint and rely on go_runto_main instead.
12158 * gdb.go/strings.exp: Likewise.
12159 * gdb.go/unsafe.exp: Likewise.
12160 * gdb.go/hello.exp: Likewise. Also rename the remaining
12161 breakpoint marker to "breakpoint 1".
12162 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12163 * gdb.go/strings.go: Likewise.
12164 * gdb.go/unsafe.go: Likewise.
12165 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12166 "set breakpoint 2 here" and rename the remaining breakpoint marker
12167 to "breakpoint 1".
12168
12169 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12170
12171 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12172 if itertools.imap is not present.
12173 * gdb.python/py-objfile.exp: Add parentheses.
12174 * gdb.python/py-type.exp: Same.
12175 * gdb.python/py-unwind-maint.py: Same.
12176
12177 2015-04-15 Yao Qi <yao.qi@linaro.org>
12178
12179 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12180 of ":$ptr_size" and set its form explicitly.
12181
12182 2015-04-15 Pedro Alves <palves@redhat.com>
12183 Yao Qi <yao.qi@linaro.org>
12184
12185 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12186 timeout by factor of 4.
12187 (test_regular_watch): Likewise.
12188 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12189 * gdb.reverse/sigall-reverse.exp: Likewise.
12190 * gdb.reverse/until-precsave.exp: Likewise.
12191 * lib/gdb.exp (with_timeout_factor): New proc.
12192 (gdb_expect): Move some code to ...
12193 (get_largest_timeout): ... here. New procedure.
12194
12195 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12196
12197 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12198
12199 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12200
12201 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12202 to write to the .text section.
12203
12204 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12205
12206 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12207 Handle the case of targets that do not provide PID information.
12208
12209 2015-04-13 Yao Qi <yao.qi@linaro.org>
12210
12211 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12212 and use expect instead of gdb_expect.
12213
12214 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12215
12216 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12217 "coredump_var_addr" to avoid naming conflict with other testcases.
12218
12219 2015-04-10 Pedro Alves <palves@redhat.com>
12220
12221 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12222 gdb_test_sequence and gdb_assert.
12223
12224 2015-04-10 Pedro Alves <palves@redhat.com>
12225
12226 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12227 test messages that don't include the breakpoint address.
12228
12229 2015-04-10 Yao Qi <yao.qi@linaro.org>
12230
12231 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12232 false for some offset and width combinations which aren't
12233 supported by linux kernel.
12234
12235 2015-04-10 Pedro Alves <palves@redhat.com>
12236
12237 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12238 procedure, factored out from ...
12239 (top level): ... here. Add "set displaced-stepping" testing axis.
12240 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12241 parameter "displaced". Use it.
12242 (top level): Use foreach and add "set displaced-stepping" testing
12243 axis.
12244
12245 2015-04-10 Pedro Alves <palves@redhat.com>
12246
12247 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12248 Remove comment.
12249 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12250 both the address of the instruction that triggers the watchpoint
12251 and the address of the instruction immediately after, and use
12252 those addresses for the test. Fix comment.
12253
12254 2015-04-10 Pedro Alves <palves@redhat.com>
12255
12256 * gdb.base/sigstep.exp (breakpoint_to_handler)
12257 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12258 Test "backtrace" in handler.
12259 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12260 (top level): Add new "displaced" test axis to
12261 breakpoint_to_handler, breakpoint_to_handler_entry and
12262 breakpoint_over_handler.
12263
12264 2015-04-10 Pedro Alves <palves@redhat.com>
12265
12266 PR gdb/18216
12267 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12268
12269 2015-04-10 Yao Qi <yao.qi@linaro.org>
12270
12271 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12272 (test_add_rn_pc): New function.
12273 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12274 (top level): Invoke test_add_rn_pc.
12275
12276 2015-04-10 Pedro Alves <palves@redhat.com>
12277
12278 PR gdb/13858
12279 * gdb.base/step-over-no-symbols.exp: New file.
12280
12281 2015-04-09 Andy Wingo <wingo@igalia.com>
12282
12283 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12284 after the Python tests.
12285
12286 2015-04-08 Keith Seitz <keiths@redhat.com>
12287
12288 PR python/16699
12289 * gdb.python/py-completion.exp: New tests for completion.
12290 * gdb.python/py-completion.py (CompleteLimit1): New class.
12291 (CompleteLimit2): Likewise.
12292 (CompleteLimit3): Likewise.
12293 (CompleteLimit4): Likewise.
12294 (CompleteLimit5): Likewise.
12295 (CompleteLimit6): Likewise.
12296 (CompleteLimit7): Likewise.
12297
12298 2015-04-08 Pedro Alves <palves@redhat.com>
12299
12300 PR gdb/18214
12301 PR gdb/18216
12302 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12303 function.
12304 (main): Install it as SIGUSR1 handler.
12305 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12306 parameter. Always use "setup" as prefix. Toggle "set
12307 displaced-stepping" off/on depending on global. Don't switch to
12308 thread 1 here.
12309 (top level): Add displaced stepping "off/on" test axis. Update
12310 "setup" calls. Wrap each subtest with with_test_prefix. Test
12311 continuing with a queued signal in each thread.
12312
12313 2015-04-08 Pedro Alves <palves@redhat.com>
12314
12315 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12316 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12317 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12318 Return early if running to main fails.
12319 * gdb.trace/while-stepping.exp: Likewise.
12320
12321 2015-04-07 Pedro Alves <palves@redhat.com>
12322
12323 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12324 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12325 interact with inferior program.
12326
12327 2015-04-07 Pedro Alves <palves@redhat.com>
12328
12329 * lib/gdb.exp (inferior_spawn_id): New global.
12330 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12331 spawn id after processing the user code.
12332 (default_gdb_start): Set inferior_spawn_id.
12333 (send_inferior): New procedure.
12334 * lib/gdbserver-support.exp (gdbserver_start): Set
12335 inferior_spawn_id.
12336 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12337
12338 2015-04-07 Pedro Alves <palves@redhat.com>
12339
12340 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12341 * lib/gdbserver-support.exp (gdbserver_start): Make
12342 $server_spawn_id global.
12343 (gdbserver_start): Don't wait for gdbserver's spawn id with
12344 expect_background.
12345 (close_gdbserver): New procedure.
12346 (gdb_exit): Rename the default version and reimplement.
12347
12348 2015-04-07 Pedro Alves <palves@redhat.com>
12349
12350 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12351 append the substituted item, not the original item.
12352
12353 2015-04-07 Pedro Alves <palves@redhat.com>
12354
12355 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12356 gdb_expect.
12357
12358 2015-04-07 Pedro Alves <palves@redhat.com>
12359
12360 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12361 output appearing once only.
12362
12363 2015-04-07 Pedro Alves <palves@redhat.com>
12364
12365 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12366 that doesn't expect anything. Return early if running to main
12367 fails.
12368
12369 2015-04-07 Yao Qi <yao.qi@linaro.org>
12370
12371 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12372 (child_function): Call alarm.
12373 (main): Move call to alarm into the loop.
12374 * gdb.threads/non-stop-fair-events.exp: Build program with
12375 -DTIMEOUT=$timeout.
12376
12377 2015-04-06 Doug Evans <xdje42@gmail.com>
12378
12379 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12380 Fix dest parameter to board_info.
12381 (fpc_compile): Ditto.
12382 (gdb_compile_pascal): Rename dest arg to destfile.
12383
12384 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12385
12386 * gdb.ada/funcall_ref.exp: New file.
12387 * gdb.ada/funcall_ref/foo.adb: New file.
12388
12389 2015-04-02 Yao Qi <yao.qi@linaro.org>
12390
12391 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12392 is remote.
12393
12394 2015-04-02 Gary Benson <gbenson@redhat.com>
12395
12396 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12397
12398 2015-04-01 Sasha Smundak <asmundak@google.com>
12399
12400 * gdb.python/py-unwind-maint.c: New file.
12401 * gdb.python/py-unwind-maint.exp: New test.
12402 * gdb.python/py-unwind-maint.py: New file.
12403 * gdb.python/py-unwind.c: New file.
12404 * gdb.python/py-unwind.exp: New test.
12405 * gdb.python/py-unwind.py: New test.
12406
12407 2015-04-01 Pedro Alves <palves@redhat.com>
12408
12409 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12410 to fail instead of non-existent $test.
12411
12412 2015-04-01 Pedro Alves <palves@redhat.com>
12413
12414 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12415 GDBFLAGS if not empty.
12416
12417 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12418
12419 * gdb.ada/complete.exp: Remove "multi_line".
12420 * gdb.ada/info_exc.exp: Remove "multi_line".
12421 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12422 * gdb.ada/ptype_field.exp: Remove "multi_line".
12423 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12424 * gdb.ada/tagged.exp: Remove "multi_line".
12425 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12426 [multi_line ...]
12427 * gdb.btrace/delta.exp: Likewise.
12428 * gdb.btrace/exception.exp: Likewise.
12429 * gdb.btrace/function_call_history.exp: Likewise.
12430 * gdb.btrace/instruction_history.exp: Likewise.
12431 * gdb.btrace/nohist.exp: Likewise.
12432 * gdb.btrace/record_goto.exp: Likewise.
12433 * gdb.btrace/segv.exp: Likewise.
12434 * gdb.btrace/stepi.exp: Likewise.
12435 * gdb.btrace/tailcall.exp: Likewise.
12436 * gdb.btrace/unknown_functions.exp: Likewise.
12437 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12438 * lib/gdb.exp: Add the "multi_line" helper.
12439
12440 2015-04-01 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.threads/tid-reuse.c: New file.
12443 * gdb.threads/tid-reuse.exp: New file.
12444
12445 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12446
12447 PR corefiles/16092
12448 * gdb.base/coredump-filter.c: New file.
12449 * gdb.base/coredump-filter.exp: Likewise.
12450
12451 2015-03-27 Petr Machata <pmachata@redhat.com>
12452
12453 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12454 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12455 (Dwarf::assemble): Initialize them.
12456 (Dwarf::lines): New function.
12457
12458 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12459
12460 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12461 SYMBOL_PREFIX for x86_64-*-cygwin.
12462
12463 2015-03-26 Andy Wingo <wingo@igalia.com>
12464
12465 PR symtab/18148
12466 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12467 const_value but not a location.
12468 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12469 location defined in non-main CUs are visible.
12470
12471 2015-03-26 Yao Qi <yao.qi@linaro.org>
12472
12473 PR testsuite/18139
12474 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12475 Add a line number entry for the same line.
12476 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12477 Add a line number entry for the same line.
12478
12479 2015-03-26 Yao Qi <yao.qi@linaro.org>
12480
12481 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12482 .int 0.
12483 (func): Likewise. Add .Lfunc_1 label.
12484 Use .Lfunc_1 label.
12485 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12486 .int 0.
12487 (func): Likewise.
12488 Use .Lfunc_1 label.
12489
12490 2015-03-26 Yao Qi <yao.qi@linaro.org>
12491
12492 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12493 Call gdb_compile instead to compile each .s files without debug
12494 information.
12495
12496 2015-03-26 Yao Qi <yao.qi@linaro.org>
12497
12498 * gdb.base/savedregs.exp (process_saved_regs): Make
12499 "Saved registers:" optional in the pattern.
12500
12501 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12502
12503 * gdb.btrace/next.exp: Merged into step.exp.
12504 * gdb.btrace/finish.exp: Merged into step.exp.
12505 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12506 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12507 "record goto" and checking the exact replay position.
12508 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12509 check for "Recording format" in "info record" output.
12510 * gdb.btrace/record_goto.exp: Choose test file based on target.
12511 * gdb.btrace/x86-record_goto.S: Renamed into ...
12512 * gdb.btrace/x86_64-record_goto.S: ... this.
12513 * gdb.btrace/i686-record_goto.S: New.
12514 * gdb.btrace/x86-tailcall.S: Renamed into ...
12515 * gdb.btrace/x86_64-tailcall.S: ... this.
12516 * gdb.btrace/i686-tailcall.S: New.
12517 * gdb.btrace/x86-tailcall.c: Renamed into ...
12518 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12519 separate statements. Update test.
12520 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12521 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12522 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12523 * gdb.btrace/tailcall.exp: Choose test file based on target.
12524 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12525
12526 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12527
12528 * gdb.btrace/exception.exp: Increase BTS buffer size.
12529
12530 2015-03-24 Pedro Alves <palves@redhat.com>
12531
12532 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12533
12534 2015-03-24 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.threads/schedlock.exp (test_step): No longer expect that
12537 "set scheduler-locking step" with "next" over a function call runs
12538 threads unlocked.
12539
12540 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12541
12542 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12543
12544 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12545
12546 PR breakpoints/16466
12547 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12548 * gdb.mi/mi-pending.c (thread_func): New function.
12549 (int main): Add threading support required.
12550 * gdb.mi/mi-pending.exp: Add tests for this issue.
12551 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12552 (pendfunc2): Remove stdio dependency.
12553 * gdb.mi/mi-pendshr2.c: New file.
12554
12555 2015-03-23 Keith Seitz <keiths@redhat.com>
12556
12557 * gdb.linespec/keywords.c: New file.
12558 * gdb.linespec/keywords.exp: New file.
12559
12560 2015-03-23 Keith Seitz <keiths@redhat.com>
12561
12562 PR gdb/18021
12563 * gdb.dwarf2/staticvirtual.exp: New test.
12564
12565 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12566
12567 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12568 * README: Remove HP-UX and gdb.hp.
12569 (configuration):
12570 * configure: Regenerate.
12571 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12572 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12573 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12574 gdb.hp/gdb.defects/Makefile.
12575 * gdb.hp/Makefile.in: File deleted.
12576 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12577 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12578 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12579 * gdb.hp/gdb.aCC/run.c: File deleted.
12580 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12581 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12582 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12583 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12584 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12585 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12586 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12587 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12588 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12589 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12590 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12591 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12592 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12593 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12594 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12595 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12596 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12597 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12598 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12599 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12600 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12601 * gdb.hp/gdb.compat/average.c: File deleted.
12602 * gdb.hp/gdb.compat/sum.c: File deleted.
12603 * gdb.hp/gdb.compat/xdb.c: File deleted.
12604 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12605 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12606 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12607 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12608 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12609 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12610 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12611 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12612 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12613 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12614 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12615 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12616 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12617 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12618 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12619 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12620 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12621 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12622 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12623 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12624 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12625 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12626 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12627 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12628 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12629 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12630 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12631 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12632 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12633 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12634 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12635 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12636 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12637 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12638 * gdb.hp/tools/odump: File deleted.
12639
12640 2015-03-19 Pedro Alves <palves@redhat.com>
12641
12642 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12643 (saw_thread_3): New globals.
12644 (top level): Increment them when an event for the corresponding
12645 thread is seen.
12646 (no thread starvation): New test.
12647
12648 2015-03-19 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.threads/continue-pending-status.c: New file.
12651 * gdb.threads/continue-pending-status.exp: New file.
12652
12653 2015-03-18 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12656 Use gdb_is_target_remote instead of is_remote. Use
12657 gdb_test_multiple instead of gdb_expect. Exit early if
12658 gdb_test_multiple hits its internal matches. Tighten stepi tests
12659 expected output. Fail on exit with any signal, instead of just
12660 SIGILL.
12661
12662 2015-03-18 Yao Qi <yao.qi@linaro.org>
12663
12664 PR tdep/18107
12665 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12666 variable.
12667 * gdb.base/catch-syscall.exp: Don't skip it on
12668 aarch64*-*-linux* target. Remove elements in all_syscalls.
12669 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12670 target.
12671 (setup_all_syscalls): New proc.
12672
12673 2015-03-16 Yao Qi <yao.qi@linaro.org>
12674
12675 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12676 (top level): Skip tests if valid_addr_p returns false for
12677 $cmd1 or $cmd2.
12678
12679 2015-03-11 Andy Wingo <wingo@igalia.com>
12680
12681 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12682
12683 2015-03-11 Yao Qi <yao.qi@linaro.org>
12684
12685 * gdb.base/catch-syscall.exp: Fix typo in comments.
12686
12687 2015-03-11 Yao Qi <yao.qi@linaro.org>
12688
12689 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12690
12691 2015-03-09 Pedro Alves <palves@redhat.com>
12692
12693 * dg-extract-results.py: Delete.
12694
12695 2015-03-09 Pedro Alves <palves@redhat.com>
12696
12697 Merge dg-extract-results.sh from GCC upstream (r218843).
12698
12699 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12700 * dg-extract-results.sh: Use --text with grep to avoid issues with
12701 binary files. Fall back to cat -v, if that doesn't work.
12702
12703 2015-03-05 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12706
12707 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12708
12709 * lib/mi-support.exp (mi_expect_interrupt): Accept
12710 alternative event for when in all-stop mode.
12711
12712 2015-03-04 Pedro Alves <palves@redhat.com>
12713
12714 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12715
12716 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12717
12718 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12719
12720 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12721
12722 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12723 regexps for GDB's current line display, accept a hex address
12724 preceding the line number.
12725
12726 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12727
12728 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12729 the 'arch1' variable for "s390*-linux*" targets.
12730
12731 2015-03-04 Pedro Alves <palves@redhat.com>
12732
12733 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12734 (main): Pass missing retval argument to pthread_join call.
12735
12736 2015-03-02 Pedro Alves <palves@redhat.com>
12737
12738 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12739 (top level): Call do_test with non-stop as well.
12740
12741 2015-03-02 Pedro Alves <palves@redhat.com>
12742
12743 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12744 -1.
12745
12746 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12747
12748 * gdb.arch/s390-vregs.exp: New test.
12749 * gdb.arch/s390-vregs.S: New file.
12750
12751 2015-02-27 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12754 call to catch_command_errors.
12755 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12756 catch_command_errors.
12757
12758 2015-02-27 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12761 "true" for boolean result.
12762 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12763 prototype of main.
12764
12765 2015-02-27 Pedro Alves <palves@redhat.com>
12766
12767 * lib/unbuffer_output.c: New file.
12768 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12769 (main): Call gdb_unbuffer_output.
12770
12771 2015-02-27 Yao Qi <yao.qi@linaro.org>
12772
12773 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12774 target.
12775
12776 2015-02-26 Doug Evans <dje@google.com>
12777
12778 * gdb.cp/class2.cc (Dbase, D): New classes.
12779 (main): New local delta.
12780 * gdb.cp/class2.exp: Test printing delta.
12781 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12782 (dynbar): New global.
12783 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12784
12785 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12786
12787 * gdb.compile/compile-ifunc.c: New file.
12788 * gdb.compile/compile-ifunc.exp: New file.
12789
12790 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12791
12792 * gdb.base/structs.exp: Check for correct struct on finish.
12793
12794 2015-02-26 Yao Qi <yao.qi@linaro.org>
12795
12796 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12797 is zero.
12798
12799 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12800
12801 * gdb.arch/cordic.ko.bz2: New file.
12802 * gdb.arch/cordic.ko.debug.bz2: New file.
12803 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12804
12805 2015-02-25 Yao Qi <yao.qi@linaro.org>
12806
12807 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12808 aarch64*-*-* target.
12809
12810 2015-02-23 Pedro Alves <palves@redhat.com>
12811
12812 * lib/gdb.exp (delete_breakpoints): Rewrite using
12813 gdb_test_multiple.
12814
12815 2015-02-23 Pedro Alves <palves@redhat.com>
12816
12817 * gdb.base/info-os.c: Include stdlib.h.
12818
12819 2015-02-22 Doug Evans <xdje42@gmail.com>
12820
12821 PR symtab/17855
12822 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12823 is read after symbols have been re-read.
12824 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12825 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12826
12827 2015-02-21 Doug Evans <dje@google.com>
12828
12829 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12830
12831 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12832
12833 PR corefiles/17808
12834 * gdb.arch/i386-biarch-core.core.bz2: New file.
12835 * gdb.arch/i386-biarch-core.exp: New file.
12836
12837 2015-02-21 Pedro Alves <palves@redhat.com>
12838
12839 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12840 runto_main fails.
12841
12842 2015-02-20 Pedro Alves <palves@redhat.com>
12843
12844 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12845 info probes.
12846
12847 2015-02-20 Pedro Alves <palves@redhat.com>
12848
12849 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12850
12851 2015-02-20 Pedro Alves <palves@redhat.com>
12852
12853 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12854 clean_restart before gdb_target_supports_trace.
12855
12856 2015-02-20 Pedro Alves <palves@redhat.com>
12857
12858 PR threads/18006
12859 * gdb.threads/clone-thread_db.c: New file.
12860 * gdb.threads/clone-thread_db.exp: New file.
12861
12862 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12863
12864 PR breakpoints/16812
12865 * gdb.base/catch-gdb-caused-signals.c: New file.
12866 * gdb.base/catch-gdb-caused-signals.exp: New file.
12867
12868 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12869
12870 * configure: Regenerated.
12871 * configure.ac: Use GDB_AC_TRANSFORM.
12872 * aclocal.m4: sinclude ../transform.m4.
12873
12874 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12875
12876 * lib/dtrace.exp: New file.
12877 * gdb.base/dtrace-probe.exp: Likewise.
12878 * gdb.base/dtrace-probe.d: Likewise.
12879 * gdb.base/dtrace-probe.c: Likewise.
12880 * lib/pdtrace.in: Likewise.
12881 * configure.ac: Output variables with the transformed names of
12882 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12883 * configure: Regenerated.
12884
12885 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12886
12887 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12888 expected message when trying to access $_probe_* convenience
12889 variables while not on a probe.
12890
12891 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12892
12893 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12894
12895 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12896
12897 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12898 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12899
12900 2015-02-10 Doug Evans <xdje42@gmail.com>
12901
12902 * lib/gdb.exp (gdb_load): Always return a result.
12903
12904 2015-02-10 Pedro Alves <palves@redhat.com>
12905
12906 * gdb.threads/signal-sigtrap.c: New file.
12907 * gdb.threads/signal-sigtrap.exp: New file.
12908
12909 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12910
12911 * gdb.trace/no-attach-trace.c: New file.
12912 * gdb.trace/no-attach-trace.exp: New file.
12913
12914 2015-02-09 Mark Wielaard <mjw@redhat.com>
12915
12916 * gdb.dwarf2/atomic.c: New file.
12917 * gdb.dwarf2/atomic-type.exp: Likewise.
12918
12919 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12920
12921 * gdb.btrace/buffer-size.exp: Update "info record" output.
12922 * gdb.btrace/delta.exp: Update "info record" output.
12923 * gdb.btrace/enable.exp: Update "info record" output.
12924 * gdb.btrace/finish.exp: Update "info record" output.
12925 * gdb.btrace/instruction_history.exp: Update "info record" output.
12926 * gdb.btrace/next.exp: Update "info record" output.
12927 * gdb.btrace/nexti.exp: Update "info record" output.
12928 * gdb.btrace/step.exp: Update "info record" output.
12929 * gdb.btrace/stepi.exp: Update "info record" output.
12930 * gdb.btrace/nohist.exp: Update "info record" output.
12931
12932 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12933
12934 * gdb.btrace/buffer-size: New.
12935
12936 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12937
12938 * gdb.btrace/delta.exp: Update "info record" output.
12939 * gdb.btrace/enable.exp: Update "info record" output.
12940 * gdb.btrace/finish.exp: Update "info record" output.
12941 * gdb.btrace/instruction_history.exp: Update "info record" output.
12942 * gdb.btrace/next.exp: Update "info record" output.
12943 * gdb.btrace/nexti.exp: Update "info record" output.
12944 * gdb.btrace/step.exp: Update "info record" output.
12945 * gdb.btrace/stepi.exp: Update "info record" output.
12946 * gdb.btrace/nohist.exp: Update "info record" output.
12947
12948 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12949
12950 PR gdb/15678
12951 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12952
12953 2015-02-06 Pedro Alves <palves@redhat.com>
12954
12955 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12956 macro.
12957 (seconds_left, again): New globals.
12958 (main): Wait seconds_left in a 1-second sleep loop instead of
12959 sleeping 180 seconds. If 'again' is set, reset the seconds
12960 counter.
12961 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12962 'again' in the inferior before detaching. Print the seconds left.
12963 (options): New global.
12964 (top level): Build program with -DTIMEOUT=$timeout.
12965
12966 2015-02-06 Pedro Alves <palves@redhat.com>
12967
12968 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12969 determine how many seconds to pass to 'alarm'.
12970 * gdb.base/gdb-sigterm.exp (top level): Build program with
12971 -DTIMEOUT=$timeout.
12972 (do_test): Return success/failure indication. Add more verbose
12973 logging. Don't fail if 200 single steps are seen. Instead, fail
12974 when the test times out.
12975 (passes): New global.
12976 (top level): Break the testing loop if testing fails on any
12977 iteration. Use gdb_assert.
12978
12979 2015-02-04 Don Breazeal <donb@codesourcery.com>
12980
12981 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12982 and initialize them.
12983 (ipc_cleanup): New function.
12984 (main): Don't declare shmid, semid, and msqid. Add a call to
12985 atexit so that we call ipc_cleanup on exit.
12986
12987 2015-02-04 Pedro Alves <palves@redhat.com>
12988
12989 * boards/native-extended-gdbserver.exp: Remove any target variant
12990 specifications from the board name before clearing the isremote
12991 flag from board_info.
12992
12993 2015-01-31 Doug Evans <xdje42@gmail.com>
12994
12995 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12996
12997 2015-01-31 Gary Benson <gbenson@redhat.com>
12998
12999 * gdb.base/completion.exp: Disable completion limiting for
13000 existing tests. Add new tests to check completion limiting.
13001 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13002
13003 2015-01-31 Doug Evans <xdje42@gmail.com>
13004
13005 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13006
13007 2015-01-31 Doug Evans <xdje42@gmail.com>
13008
13009 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13010 entries. Duplicate file section script entries.
13011 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13012 inlined entries. Add test for safe-path rejection.
13013 * gdb.python/py-section-script.c: Add duplicate inlined section script
13014 entries. Duplicate file section script entries.
13015 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13016 inlined entries. Add test for safe-path rejection.
13017
13018 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13019
13020 * gdb.ada/disc_arr_bound: New testcase.
13021
13022 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13023
13024 * gdb.ada/mi_var_array: New testcase.
13025
13026 2015-01-27 Doug Evans <dje@google.com>
13027
13028 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13029 Add test for objfile.filename, objfile.username after objfile
13030 has been unloaded.
13031
13032 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13033
13034 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13035 the second test to print the name attribute of value
13036 returned by the call to gdb.lookup_type, and adjust
13037 the expected output accordingly.
13038
13039 2015-01-25 Mark Wielaard <mjw@redhat.com>
13040
13041 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13042 * gdb.base/disp-step-fork.c: Include unistd.h.
13043 * gdb.base/siginfo-obj.c: Include stdio.h.
13044 * gdb.base/siginfo-thread.c: Likewise.
13045 * gdb.mi/non-stop.c: Include unistd.h.
13046 * gdb.mi/nsthrexec.c: Include stdio.h.
13047 * gdb.mi/pthreads.c: Include unistd.h.
13048 * gdb.modula2/unbounded1.c (main): Declare returns int.
13049 * gdb.reverse/consecutive-reverse.c: Likewise.
13050 * gdb.threads/create-fail.c: Include unistd.h.
13051 * gdb.threads/killed.c: Likewise.
13052 * gdb.threads/linux-dp.c: Likewise.
13053 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13054 * gdb.threads/non-ldr-exc-2.c: Likewise.
13055 * gdb.threads/non-ldr-exc-3.c: Likewise.
13056 * gdb.threads/non-ldr-exc-4.c: Likewise.
13057 * gdb.threads/pthreads.c: Include unistd.h.
13058 (main): Declare returns int.
13059 * gdb.threads/tls-main.c (foo): New declaration.
13060 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13061
13062 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13063
13064 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13065 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13066
13067 2015-01-15 Mark Wielaard <mjw@redhat.com>
13068
13069 * gdb.base/noreturn-return.c: New file.
13070 * gdb.base/noreturn-return.exp: New file.
13071 * gdb.base/noreturn-finish.c: New file.
13072 * gdb.base/noreturn-finish.exp: New file.
13073
13074 2015-01-23 Pedro Alves <palves@redhat.com>
13075
13076 * gdb.threads/continue-pending-after-query.c: New file.
13077 * gdb.threads/continue-pending-after-query.exp: New file.
13078
13079 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13080 Simon Marchi <simon.marchi@ericsson.com>
13081
13082 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13083 * gdb.base/valgrind-db-attach.exp: Same.
13084 * gdb.base/valgrind-infcall.exp: Same.
13085 * lib/mi-support.exp (default_mi_gdb_start): Same.
13086 * lib/prompt.exp (default_prompt_gdb_start): Same.
13087 * lib/gdb.exp (default_gdb_spawn): Same.
13088 (gdb_interact): New.
13089
13090
13091 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13092
13093 * gdb.compile/compile.exp (pointer to jit function): New test.
13094
13095 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13096
13097 * lib/gdb.exp (supports_process_record): Return true for
13098 powerpc*-*-linux*.
13099 (supports_reverse): Likewise.
13100
13101 2015-01-15 Don Breazeal <donb@codesourcery.com>
13102
13103 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13104 instead of checking whether the target board is remote and
13105 use spawn_wait_for_attach instead of exec/sleep.
13106 * gdb.base/attach-twice.exp: Likewise.
13107
13108 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13109
13110 * gdb.ada/var_arr_attrs: New testcase.
13111
13112 2015-01-14 Pedro Alves <palves@redhat.com>
13113 Joel Brobecker <brobecker@adacore.com>
13114
13115 PR gdb/17525
13116 * gdb.base/bp-cmds-execution-x-script.c: New file.
13117 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13118 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13119
13120 2015-01-14 Pedro Alves <palves@redhat.com>
13121
13122 PR cli/17828
13123 * gdb.base/batch-preserve-term-settings.c: New file.
13124 * gdb.base/batch-preserve-term-settings.exp: New file.
13125
13126 2015-01-13 Doug Evans <dje@google.com>
13127
13128 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13129 binary.
13130
13131 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13132
13133 * Makefile.in (clean mostlyclean): Do not delete *.py.
13134
13135 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13136
13137 * gdb.python/py-lookup-type.exp: New file.
13138
13139 2015-01-12 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13142 restore GDBFLAGS before returning.
13143
13144 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13145
13146 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13147 is_amd64_regs_target and is_x86_like_target.
13148
13149 2015-01-11 Doug Evans <xdje42@gmail.com>
13150
13151 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13152 is given without an explicit form.
13153 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13154 attributes.
13155 * gdb.dwarf/corrupt.exp: Ditto.
13156 * gdb.dwarf2/enum-type.exp: Ditto.
13157 * gdb.trace/entry-values.exp: Ditto.
13158 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13159
13160 2015-01-11 Doug Evans <xdje42@gmail.com>
13161
13162 PR gdb/15830
13163 * gdb.base/maint.exp: Remove references to "maint demangle".
13164 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13165 Add tests for explicitly specifying language to demangle.
13166 * gdb.dlang/demangle.exp: Ditto.
13167
13168 2015-01-09 Pedro Alves <palves@redhat.com>
13169
13170 * gdb.threads/non-stop-fair-events.c: New file.
13171 * gdb.threads/non-stop-fair-events.exp: New file.
13172
13173 2015-01-09 Pedro Alves <palves@redhat.com>
13174
13175 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13176 the global scope. Set a breakpoint after all threads are started
13177 rather than stepping over two source lines. Expect the prompt.
13178 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13179 global.
13180 (NUM): Now 15.
13181 (main): Use threads_started_barrier to wait for all threads to
13182 start. Main thread no longer calls thread_function. Exit after
13183 180 seconds.
13184 (loop): New function.
13185 (thread_function): Wait on threads_started_barrier barrier. Call
13186 'loop' at each iteration.
13187 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13188 threads have started, instead of hardcoding number of "next"
13189 steps. Use an access watchpoint instead of a write watchpoint.
13190
13191 2015-01-09 Pedro Alves <palves@redhat.com>
13192
13193 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13194 (thread_func): Wait on barrier.
13195 (main): Wait for all threads to start before stopping GDB.
13196 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13197 global.
13198 (thread1_func, thread2_func): Wait on barrier.
13199 (main): Wait for all threads to start before stopping GDB.
13200 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13201 New global.
13202 (thread1_func, thread2_func): Wait on barrier.
13203 (main): Wait for all threads to start before stopping GDB.
13204
13205 2015-01-09 Pedro Alves <palves@redhat.com>
13206
13207 * gdb.threads/attach-many-short-lived-threads.c: New file.
13208 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13209
13210 2014-01-09 Pedro Alves <palves@redhat.com>
13211
13212 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13213 instead of to thread 2.
13214 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13215 Add barrier around each pthread_create call instead of around all
13216 calls.
13217 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13218 Set a break on thread_function and have the child threads hit it
13219 one at at a time.
13220
13221 2015-01-09 Pedro Alves <palves@redhat.com>
13222
13223 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13224 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13225 false.
13226 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13227 checking whether the target board is remote.
13228 * gdb.multi/multi-attach.exp: Likewise.
13229 * gdb.python/py-sync-interp.exp: Likewise.
13230 * gdb.server/ext-attach.exp: Likewise.
13231 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13232 tests that need to attach, instead of checking whether the target
13233 board is remote at the top of the file.
13234
13235 2015-01-08 Yao Qi <yao@codesourcery.com>
13236
13237 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13238
13239 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13240
13241 Fix testcase compilation.
13242 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13243
13244 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13245
13246 * gdb.python/py-type.exp: Add a couple test about empty
13247 array creation, and negative-length array creation.
13248
13249 2015-01-02 Doug Evans <xdje42@gmail.com>
13250
13251 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13252
13253 2015-01-02 Doug Evans <dje@google.com>
13254
13255 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13256
13257 2014-12-29 Yao Qi <yao@codesourcery.com>
13258
13259 * gdb.trace/entry-values.exp: Update comments. Rename variable
13260 bar_call_foo to returned_from_foo.
13261
13262 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13263
13264 PR gdb/17394
13265 * gdb.linespec/break-asm-file.c: New file.
13266 * gdb.linespec/break-asm-file.exp: New file.
13267 * gdb.linespec/break-asm-file0.s: New file.
13268 * gdb.linespec/break-asm-file1.s: New file.
13269
13270 2014-12-18 Nigel Stephens <nigel@mips.com>
13271 Maciej W. Rozycki <macro@codesourcery.com>
13272
13273 * gdb.base/float.exp: Handle the new output from "info float" on
13274 MIPS targets.
13275
13276 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13277
13278 Fix MinGW compilation.
13279 * gdb.compile/compile-ops.exp: Update untested message if
13280 !skip_compile_feature_tests.
13281 * gdb.compile/compile-setjmp.exp: Likewise.
13282 * gdb.compile/compile-tls.exp: Likewise.
13283 * gdb.compile/compile.exp: Likewise.
13284 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13285 supported on this host".
13286
13287 2014-12-16 Doug Evans <xdje42@gmail.com>
13288
13289 * boards/stabs.exp: New file.
13290
13291 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13292
13293 * gdb.base/completion.exp: Adjust to format changes of "maint
13294 print user-registers".
13295
13296 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13297
13298 PR server/17457
13299 * gdb.arch/aarch64-fp.c: New file.
13300 * gdb.arch/aarch64-fp.exp: New file.
13301
13302 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13303
13304 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13305 r210637, r210913, r211666, r215400, r215817).
13306
13307 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13308 * dg-extract-results.py: New file.
13309 * dg-extract-results.sh: Use it if the environment seems
13310 suitable.
13311
13312 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13313
13314 * dg-extract-results.py (parse_run): Handle warnings that
13315 are printed before a test harness is run.
13316
13317 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13318
13319 * dg-extract-results.py (Named): Remove __cmp__ method.
13320 (output_variation): Use a key to sort variation.harnesses.
13321
13322 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13323
13324 * dg-extract-results.py: For Python 3, force sys.stdout to
13325 handle surrogate escape sequences.
13326 (safe_open): New function.
13327 (output_segment, main): Use it.
13328
13329 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13330
13331 * dg-extract-results.py (Prog.result_re): Include options
13332 in test name.
13333
13334 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13335
13336 * dg-extract-results.py (output_variation): Always sort if
13337 do_sum.
13338
13339 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13340
13341 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13342 as long as we get pagination notifications.
13343
13344 2014-12-15 Jason Merrill <jason@redhat.com>
13345
13346 * Makefile.in (check-gdb.%): Restore.
13347 * README: Mention it.
13348
13349 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13350
13351 * gdb.ada/str_uninit: New testcase.
13352
13353 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13354
13355 PR symtab/17642
13356 * gdb.base/vla-stub-define.c: New file.
13357 * gdb.base/vla-stub.c: New file.
13358 * gdb.base/vla-stub.exp: New file.
13359
13360 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13361 Jan Kratochvil <jan.kratochvil@redhat.com>
13362 Tom Tromey <tromey@redhat.com>
13363
13364 * configure.ac: Add gdb.compile/.
13365 * configure: Regenerate.
13366 * gdb.compile/Makefile.in: New file.
13367 * gdb.compile/compile-ops.exp: New file.
13368 * gdb.compile/compile-ops.c: New file.
13369 * gdb.compile/compile-tls.c: New file.
13370 * gdb.compile/compile-tls.exp: New file.
13371 * gdb.compile/compile-constvar.S: New file.
13372 * gdb.compile/compile-constvar.c: New file.
13373 * gdb.compile/compile-mod.c: New file.
13374 * gdb.compile/compile-nodebug.c: New file.
13375 * gdb.compile/compile-setjmp-mod.c: New file.
13376 * gdb.compile/compile-setjmp.c: New file.
13377 * gdb.compile/compile-setjmp.exp: New file.
13378 * gdb.compile/compile-shlib.c: New file.
13379 * gdb.compile/compile.c: New file.
13380 * gdb.compile/compile.exp: New file.
13381 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13382
13383 2014-12-12 Tom Tromey <tromey@redhat.com>
13384
13385 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13386 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13387
13388 2014-12-12 Doug Evans <dje@google.com>
13389
13390 * lib/gdb-python.exp (get_python_valueof): New function.
13391 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13392
13393 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13394
13395 * gdb.base/completion.exp: Add test for completion of "info
13396 registers ".
13397
13398 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13399
13400 * gdb.base/func-ptrs.c: New file.
13401 * gdb.base/func-ptrs.exp: New file.
13402
13403 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13404
13405 PR breakpoints/17012
13406 * gdb.base/dprintf-detach.c: New file.
13407 * gdb.base/dprintf-detach.exp: New file.
13408
13409 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13410
13411 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13412 * lib/gdb.exp (target_is_gdbserver): New procedure.
13413
13414 2014-12-08 Doug Evans <dje@google.com>
13415
13416 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13417
13418 2014-12-05 Yao Qi <yao@codesourcery.com>
13419
13420 * gdb.guile/scm-error.exp: Remove the third argument to
13421 gdb_remote_download.
13422 * gdb.guile/scm-frame-args.exp: Likewise.
13423 * gdb.guile/scm-section-script.exp: Likewise.
13424
13425 2014-12-05 Yao Qi <yao@codesourcery.com>
13426
13427 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13428
13429 2014-12-04 Doug Evans <dje@google.com>
13430
13431 * gdb.python/py-objfile.exp: Add tests for
13432 objfile.add_separate_debug_file.
13433
13434 2014-12-04 Doug Evans <dje@google.com>
13435
13436 * lib/gdb.exp (get_build_id): New function.
13437 (build_id_debug_filename_get): Rewrite to use it.
13438 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13439
13440 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13441
13442 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13443 `method(long)', not just 0x0.
13444 * gdb.cp/nsalias.exp: Align code labels to 4.
13445 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13446 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13447 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13448 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13449 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13450 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13451
13452 2014-12-02 Doug Evans <dje@google.com>
13453
13454 PR symtab/17602
13455 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13456 * gdb.cp/anon-ns2.cc: ... here. New file.
13457 * gdb.cp/anon-ns.exp: Update.
13458
13459 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13460
13461 * gdb.python/py-events.py (inferior_call_handler): New.
13462 (register_changed_handler, memory_changed_handler): New.
13463 (test_events.invoke): Register new handlers.
13464 * gdb.python/py-events.exp: Add tests for inferior call,
13465 memory_changed and register_changed events.
13466
13467 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13468
13469 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13470 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13471 if the linker doesn't understand this.
13472
13473 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13474
13475 * gdb.python/python.exp: Change expected reply to help().
13476
13477 2014-12-01 Yao Qi <yao@codesourcery.com>
13478
13479 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13480 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13481 * configure: Re-generated.
13482
13483 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13484
13485 * gdb.cp/chained-calls.cc: New file.
13486 * gdb.cp/chained-calls.exp: New file.
13487 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13488
13489 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13490
13491 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13492 * gdb.dwarf2/symtab-producer.exp: Same.
13493 * gdb.gdb/python-interrupts.exp: Same.
13494 * gdb.gdb/python-selftest.exp: Same.
13495 * gdb.python/py-linetable.exp: Same.
13496 * gdb.python/py-type.exp: Same.
13497 * gdb.python/py-value-cc.exp: Same.
13498 * gdb.python/py-value.exp: Same.
13499
13500 2014-11-28 Yao Qi <yao@codesourcery.com>
13501
13502 * gdb.base/break-probes.exp: Match library name prefixed with
13503 sysroot.
13504
13505 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13506
13507 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13508 test expected output. Add parentheses for the call to print.
13509 Remove L suffix from integers.
13510
13511 2014-11-26 Doug Evans <dje@google.com>
13512
13513 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13514
13515 2014-11-22 Yao Qi <yao@codesourcery.com>
13516
13517 * gdb.trace/entry-values.c: Remove asms.
13518 (foo): Add foo_label.
13519 (bar): Add bar_label.
13520 * gdb.trace/entry-values.exp: Remove code computing foo's
13521 length and bar's length.
13522 (Dwarf::assemble): Invoke function_range for bar and use
13523 MACRO_AT_func for foo.
13524
13525 2014-11-22 Yao Qi <yao@codesourcery.com>
13526
13527 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13528 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13529 Use .Lgcc43_procstart instead of gcc43.
13530
13531 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13532
13533 * gdb.ada/n_arr_bound: New testcase.
13534
13535 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13536
13537 PR breakpoints/10737
13538 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13539 test_catch_syscall_multi_arch.
13540 (test_catch_syscall_multi_arch): New function.
13541
13542 2014-11-20 Doug Evans <xdje42@gmail.com>
13543
13544 * gdb.base/maint.exp: Update expected output.
13545
13546 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13547
13548 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13549 4-byte instruction on S390.
13550
13551 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13552
13553 * gdb.ada/arr_arr: New testcase.
13554
13555 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13556
13557 * gdb.ada/pkd_arr_elem: New Testcase.
13558
13559 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13560
13561 * gdb.reverse/break-precsave: Expect completion message for
13562 core file reads.
13563 * gdb.reverse/consecutive-precsave.exp: Likewise.
13564 * gdb.reverse/finish-precsave.exp: Likewise.
13565 * gdb.reverse/i386-precsave.exp: Likewise.
13566 * gdb.reverse/machinestate-precsave.exp: Likewise.
13567 * gdb.reverse/sigall-precsave.exp: Likewise.
13568 * gdb.reverse/solib-precsave.exp: Likewise.
13569 * gdb.reverse/step-precsave.exp: Likewise.
13570 * gdb.reverse/until-precsave.exp: Likewise.
13571 * gdb.reverse/watch-precsave.exp: Likewise.
13572
13573 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13574
13575 * gdb.base/bp-permanent.c: Include unistd.h.
13576 * gdb.python/py-framefilter-mi.c (main): Add return type.
13577 * gdb.python/py-framefilter.c (main): Likewise.
13578 * gdb.trace/actions-changed.c (main): Likewise.
13579
13580 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13581
13582 * gdb.mi/until.c: Add eye-catchers.
13583 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13584 line numbers.
13585
13586 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13587
13588 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13589 function header variants in break1.c.
13590 * gdb.base/ena-dis-br.exp: Likewise.
13591 * gdb.base/hbreak2.exp: Likewise.
13592 * gdb.reverse/until-precsave.exp: Drop references to removed
13593 non-prototype function header variants in ur1.c.
13594 * gdb.reverse/until-reverse.exp: Likewise.
13595
13596 2014-11-17 Petr Machata <pmachata@redhat.com>
13597
13598 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13599 ${_cu_offset_size} bytes abbrev offset.
13600
13601 2014-11-15 Doug Evans <xdje42@gmail.com>
13602
13603 PR symtab/17559
13604 * gdb.base/line-symtabs.exp: New file.
13605 * gdb.base/line-symtabs.c: New file.
13606 * gdb.base/line-symtabs.h: New file.
13607
13608 2014-11-14 Yao Qi <yao@codesourcery.com>
13609
13610 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13611 (func): Add label func_label.
13612 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13613 Replace low_pc and high_pc with MACRO_AT_range.
13614 Replace name, low_pc and high_pc with MACRO_AT_func.
13615
13616 2014-11-14 Yao Qi <yao@codesourcery.com>
13617
13618 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13619 Replace name, low_pc and high_pc with MACRO_AT_func.
13620
13621 2014-11-14 Yao Qi <yao@codesourcery.com>
13622
13623 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13624 produce debug information.
13625 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13626
13627 2014-11-14 Yao Qi <yao@codesourcery.com>
13628
13629 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13630 object and get function length.
13631 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13632 with MACRO_AT_func.
13633 (top-level): Replace gdb_compile and clean_restart with
13634 prepare_for_testing.
13635 * gdb.dwarf2/main.c (main): Add label main_label.
13636
13637 2014-11-14 Yao Qi <yao@codesourcery.com>
13638
13639 * lib/dwarf.exp (function_range): New procedure.
13640 (Dwarf::_handle_macro_at_func): New procedure.
13641 (Dwarf::_handle_macro_at_range): New procedure.
13642 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13643
13644 2014-11-14 Yao Qi <yao@codesourcery.com>
13645
13646 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13647 (_handle_attribute): New procedure.
13648
13649 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13650
13651 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13652 * gdb.base/call-sc.c (zed): Likewise.
13653 * gdb.base/checkpoint.c (main): Likewise.
13654 * gdb.base/dump.c (main): Likewise.
13655 * gdb.base/gcore.c (main): Likewise.
13656 * gdb.base/huge.c (main): Likewise.
13657 * gdb.base/multi-forks.c (main): Likewise.
13658 * gdb.base/pr10179-a.c (main): Likewise.
13659 * gdb.base/savedregs.c (main): Likewise.
13660 * gdb.base/sigaltstack.c (main): Likewise.
13661 * gdb.base/siginfo.c (main): Likewise.
13662 * gdb.base/structs.c (zed): Likewise.
13663 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13664 * gdb.mi/mi-syn-frame.c (main): Likewise.
13665 * gdb.mi/until.c (foo, main): Likewise.
13666 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13667 * gdb.base/solib-weak.c (foo): Declare.
13668 * gdb.base/attach-twice.c: Include stdio.h.
13669 * gdb.base/weaklib1.c: Likewise.
13670 * gdb.base/weaklib2.c: Likewise.
13671 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13672 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13673 unistd.h.
13674 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13675 * gdb.mi/mi-exit-code.c: Likewise.
13676 * gdb.base/break-interp-lib.c: Include string.h.
13677 * gdb.base/coremaker.c: Likewise.
13678 * gdb.base/testenv.c: Likewise.
13679 * gdb.python/py-finish-breakpoint.c: Likewise.
13680 * gdb.base/inferior-died.c: Include sys/wait.h.
13681 * gdb.base/fileio.c: Include time.h.
13682 * gdb.base/async-shell.c: Include unistd.h.
13683 * gdb.base/dprintf-non-stop.c: Likewise.
13684 * gdb.base/info-os.c: Likewise.
13685 * gdb.mi/mi-console.c: Likewise.
13686 * gdb.mi/watch-nonstop.c: Likewise.
13687 * gdb.python/py-events.c: Likewise.
13688 * gdb.base/async.c (baz): Move up before its invocation.
13689 * gdb.base/code_elim2.c (my_global_func): Likewise.
13690 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13691 * gdb.base/advance.c (func2): Likewise.
13692
13693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13694
13695 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13696 variant.
13697 * gdb.base/annota3.c: Likewise.
13698 * gdb.base/async.c: Likewise.
13699 * gdb.base/average.c: Likewise.
13700 * gdb.base/call-ar-st.c: Likewise.
13701 * gdb.base/call-rt-st.c: Likewise.
13702 * gdb.base/call-sc.c: Likewise.
13703 * gdb.base/call-strs.c: Likewise.
13704 * gdb.base/ending-run.c: Likewise.
13705 * gdb.base/execd-prog.c: Likewise.
13706 * gdb.base/exprs.c: Likewise.
13707 * gdb.base/foll-exec.c: Likewise.
13708 * gdb.base/foll-fork.c: Likewise.
13709 * gdb.base/foll-vfork.c: Likewise.
13710 * gdb.base/funcargs.c: Likewise.
13711 * gdb.base/gcore.c: Likewise.
13712 * gdb.base/jump.c: Likewise.
13713 * gdb.base/langs0.c: Likewise.
13714 * gdb.base/langs1.c: Likewise.
13715 * gdb.base/langs2.c: Likewise.
13716 * gdb.base/mips_pro.c: Likewise.
13717 * gdb.base/nodebug.c: Likewise.
13718 * gdb.base/opaque0.c: Likewise.
13719 * gdb.base/opaque1.c: Likewise.
13720 * gdb.base/recurse.c: Likewise.
13721 * gdb.base/run.c: Likewise.
13722 * gdb.base/scope0.c: Likewise.
13723 * gdb.base/scope1.c: Likewise.
13724 * gdb.base/setshow.c: Likewise.
13725 * gdb.base/setvar.c: Likewise.
13726 * gdb.base/shmain.c: Likewise.
13727 * gdb.base/shr1.c: Likewise.
13728 * gdb.base/shr2.c: Likewise.
13729 * gdb.base/sigall.c: Likewise.
13730 * gdb.base/signals.c: Likewise.
13731 * gdb.base/so-indr-cl.c: Likewise.
13732 * gdb.base/solib2.c: Likewise.
13733 * gdb.base/structs.c: Likewise.
13734 * gdb.base/sum.c: Likewise.
13735 * gdb.base/vforked-prog.c: Likewise.
13736 * gdb.base/watchpoint.c: Likewise.
13737 * gdb.reverse/shr2.c: Likewise.
13738 * gdb.reverse/until-reverse.c: Likewise.
13739 * gdb.reverse/ur1.c: Likewise.
13740 * gdb.reverse/watch-reverse.c: Likewise.
13741
13742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13743
13744 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13745 variant.
13746 * gdb.base/sepdebug.exp: Drop references to removed code.
13747
13748 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13749
13750 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13751 variant. Preserve original line numbering.
13752 * gdb.base/list1.c: Likewise.
13753
13754 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13755
13756 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13757 variant.
13758 * gdb.base/break1.c: Likewise.
13759 * gdb.base/break.exp: Drop references to removed code.
13760
13761 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13762
13763 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13764 variant.
13765
13766 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13767
13768 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13769
13770 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13771
13772 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13773 logic into perform_all_tests() and invoke it with and without
13774 function header prototypes.
13775 (do_function_calls): Remove conditional XFAIL for PR 5318.
13776 (rerun_and_prepare): Remove duplicate code.
13777 (perform_all_tests): New. Main logic moved here.
13778
13779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13780
13781 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13782 code guarded by #ifdef NO_PROTOTYPES.
13783 (t_double_many_args): Likewise.
13784 (DEF_FUNC_MANY_ARGS_1): Likewise.
13785 (DEF_FUNC_VALUES_1): Likewise.
13786 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13787 guarded by #ifdef PROTOTYPES.
13788
13789 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13790
13791 * gdb.mi/mi-console.c: Add eye-catcher.
13792 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13793 instead of literal line number.
13794
13795 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13796
13797 * gdb.base/shr2.c: Add eye-catcher.
13798 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13799 line number.
13800
13801 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13802
13803 * gdb.base/jump.c: Add eye-catchers.
13804 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13805 numbers.
13806
13807 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13808
13809 * gdb.base/execd-prog.c: Add eye-catchers.
13810 * gdb.base/foll-exec.c: Likewise.
13811 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13812 line numbers.
13813
13814 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13815
13816 * gdb.base/ending-run.c: Add eye-catchers.
13817 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13818 literal line numbers.
13819
13820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13821
13822 * gdb.base/call-rt-st.c: Add eye-catchers.
13823 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13824 literal line numbers.
13825
13826 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13827
13828 * gdb.base/call-ar-st.c: Add eye-catchers.
13829 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13830 literal line numbers.
13831
13832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13833
13834 * gdb.base/average.c: Add eye-catchers.
13835 * gdb.base/sum.c: Likewise.
13836 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13837 regexps dynamically.
13838
13839 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13840
13841 * gdb.base/solib1.c: Add eye-catchers.
13842 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13843 literal line numbers.
13844
13845 2014-11-12 Pedro Alves <palves@redhat.com>
13846
13847 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13848 leader has exited.
13849
13850 2014-11-12 Pedro Alves <palves@redhat.com>
13851
13852 * gdb.arch/i386-bp_permanent.c: New file.
13853 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13854 (srcfile): Set to i386-bp_permanent.c.
13855 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13856 that stepi does not execute the 'leave' instruction, instead of
13857 testing it does execute.
13858 * gdb.base/bp-permanent.c: New file.
13859 * gdb.base/bp-permanent.exp: New file.
13860
13861 2014-11-10 Doug Evans <xdje42@gmail.com>
13862
13863 PR symtab/17564
13864 * gdb.base/symtab-search-order.exp: New file.
13865 * gdb.base/symtab-search-order.c: New file.
13866 * gdb.base/symtab-search-order-1.c: New file.
13867 * gdb.base/symtab-search-order-shlib-1.c: New file.
13868
13869 2014-11-07 Pedro Alves <palves@redhat.com>
13870
13871 PR gdb/17511
13872 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13873 i?86-*-linux*.
13874
13875 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13876
13877 PR c++/17494
13878 * gdb.cp/pr17494.cc: New file.
13879 * gdb.cp/pr17494.exp: New file.
13880
13881 2014-11-02 Yao Qi <yao@codesourcery.com>
13882
13883 * gdb.python/python.exp: Get working directory and match the
13884 output of "set extended-prompt \\w " with it.
13885
13886 2014-10-30 Doug Evans <dje@google.com>
13887
13888 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13889 in objfiles.
13890 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13891 in progspaces.
13892
13893 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13894
13895 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13896 * gdb.base/realname-expand.exp: Likewise.
13897 * gdb.linespec/macro-relative.exp: Likewise.
13898
13899 2014-10-29 Pedro Alves <palves@redhat.com>
13900
13901 PR gdb/17408
13902 * gdb.threads/schedlock.c (some_function): New function.
13903 (call_function): New global.
13904 (MAYBE_CALL_SOME_FUNCTION): New macro.
13905 (thread_function): Call it.
13906 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13907 and use it instead of a global counter. Adjust all callers.
13908 (get_current_thread): Use "find current thread" for test message
13909 here rather than having all callers pass down the same string.
13910 (goto_loop): New procedure, factored out from ...
13911 (my_continue): ... this.
13912 (step_ten_loops): Change parameter from test message to command to
13913 use. Adjust.
13914 (list_count): Delete global.
13915 (check_result): New procedure, factored out from duplicate top
13916 level code.
13917 (continue tests): Wrap in with_test_prefix.
13918 (test_step): New procedure, factored out from duplicate top level
13919 code.
13920 (top level): Test "step" in combination with all scheduler-locking
13921 modes. Test "next" in combination with all scheduler-locking
13922 modes, and in combination with stepping over a function call or
13923 not.
13924 * gdb.threads/next-bp-other-thread.c: New file.
13925 * gdb.threads/next-bp-other-thread.exp: New file.
13926
13927 2014-10-29 Pedro Alves <palves@redhat.com>
13928
13929 PR python/17372
13930 * gdb.python/python.exp: Test a multi-line command that spawns
13931 interactive Python.
13932 * gdb.base/multi-line-starts-subshell.exp: New file.
13933
13934 2014-10-29 Yao Qi <yao@codesourcery.com>
13935
13936 * gdb.base/fileio.exp: Make directories on host.
13937
13938 2014-10-29 Yao Qi <yao@codesourcery.com>
13939
13940 * gdb.base/fileio.c (test_write): Close the file.
13941
13942 2014-10-28 Pedro Alves <palves@redhat.com>
13943
13944 PR gdb/12623
13945 * gdb.base/sigstep.c (no_handler): New global.
13946 (main): If 'no_handler is true, set the signal handlers to
13947 SIG_IGN.
13948 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13949 with_sw_watch and no_handler parameters. Handle them.
13950 (top level) <stepping over handler when stopped at a breakpoint
13951 test>: Add a test axis for testing with a software watchpoint, and
13952 another for testing with the signal handler set to SIG_IGN.
13953 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13954 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13955
13956 2014-10-28 Pedro Alves <palves@redhat.com>
13957
13958 PR gdb/17511
13959 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13960 * gdb.base/sigstep.exp (other_handler_location): New global.
13961 (advance): Support stepping into the signal handler, and running
13962 commands while in the handler.
13963 (in_handler_map): New global.
13964 (top level): In the advance test, add combinations for getting
13965 into the handler with stepping commands, and for running commands
13966 in the handler. Add comment descripting the advancei tests.
13967
13968 2014-10-28 Pedro Alves <palves@redhat.com>
13969
13970 * gdb.base/sigstep.exp: Use build_executable instead of
13971 prepare_for_testing.
13972 (top level): Move code that starts GDB, runs to main and creates a
13973 display to ...
13974 (restart): ... this new procedure.
13975 (top level): Move backtrace from signal handler test to ...
13976 (validate_backtrace): ... this new procedure.
13977 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13978 with_test_prefix. Always restart GDB.
13979 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13980 with_test_prefix. Always restart GDB. No need to delete
13981 breakpoints after the test.
13982 (test_skip_handler): Remove prefix parameter.
13983 (skip_over_handler, breakpoint_to_handler)
13984 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13985 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13986 restart GDB. No need to delete breakpoints after the test.
13987 (top level): Use foreach to call the test procedures with
13988 different commands.
13989
13990 2014-10-28 Pedro Alves <palves@redhat.com>
13991
13992 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13993 instead of GNATS numbers.
13994 * gdb.base/sigbpt.exp: Likewise.
13995 * gdb.base/siginfo.exp: Likewise.
13996 * gdb.base/sigstep.exp: Likewise.
13997
13998 2014-10-27 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.base/sigstep.c (dummy): New global.
14001 (main): Issue a couple writes to the new global.
14002 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14003 procedures.
14004 (skip_over_handler): Use test_skip_handler.
14005 (top level): Call skip_over_handler for stepi and nexti too.
14006 (breakpoint_over_handler): Use test_skip_handler.
14007 (top level): Call breakpoint_over_handler for stepi and nexti too.
14008
14009 2014-10-27 Yao Qi <yao@codesourcery.com>
14010
14011 * gdb.trace/tfile.c (adjust_function_address)
14012 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14013 function descriptor.
14014
14015 2014-10-24 Don Breazeal <donb@codesourcery.com>
14016
14017 * gdb.base/foll-fork.exp (test_follow_fork,
14018 catch_fork_child_follow): Check for updated fork messages emitted
14019 from infrun.c.
14020 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14021 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14022 vfork_and_exec_child_follow_through_step): Check for updated vfork
14023 messages emitted from infrun.c.
14024
14025 2014-10-24 Pedro Alves <palves@redhat.com>
14026
14027 * gdb.base/corefile.exp: Remove references to ultrix.
14028 * gdb.base/interrupt.exp: Likewise.
14029 * gdb.base/whatis.exp: Likewise.
14030 * gdb.gdb/selftest.exp: Likewise.
14031 * gdb.threads/manythreads.exp: Likewise.
14032 * gdb.threads/print-threads.exp: Likewise.
14033 * gdb.threads/pthreads.exp:: Likewise.
14034 * gdb.threads/schedlock.exp: Likewise.
14035
14036 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14037
14038 * gdb.cp/non-trivial-retval.cc: Add a test case.
14039 * gdb.cp/non-trivial-retval.exp: Add a test.
14040
14041 2014-10-20 Yao Qi <yao@codesourcery.com>
14042
14043 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14044 * gdb.python/py-objfile-script-gdb.py: New file.
14045 * gdb.python/py-objfile-script.exp: Update reference to
14046 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14047 of remote_download. Remove the dest file.
14048
14049 2014-10-20 Yao Qi <yao@codesourcery.com>
14050
14051 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14052 * gdb.base/step-line.exp: Likewise.
14053 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14054 * gdb.dwarf2/dw2-basic.exp: Likewise.
14055 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14056 * gdb.dwarf2/dw2-filename.exp: Likewise.
14057 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14058 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14059 * gdb.dwarf2/dw2-producer.exp: Likewise.
14060 * gdb.dwarf2/mac-fileno.exp: Likewise.
14061 * gdb.python/py-frame-args.exp: Likewise.
14062 * gdb.python/py-framefilter.exp: Likewise.
14063 * gdb.python/py-mi.exp: Likewise.
14064 * gdb.python/py-objfile-script.exp: Likewise
14065 * gdb.python/py-pp-integral.exp: Likewise.
14066 * gdb.python/py-pp-re-notag.exp: Likewise.
14067 * gdb.python/py-prettyprint.exp: Likewise.
14068 * gdb.python/py-section-script.exp: Likewise.
14069 * gdb.python/py-typeprint.exp: Likewise.
14070 * gdb.python/py-xmethods.exp: Likewise.
14071 * gdb.stabs/weird.exp: Likewise.
14072 * gdb.xml/tdesc-regs.exp: Likewise.
14073
14074 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14075
14076 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14077 (out_cu): Use addr_len for the size of addresses.
14078 (out_line): Likewise. Size DW_LNE_set_address instruction
14079 according to addr_len.
14080 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14081 (FUNC): Add START_INSNS to definition.
14082
14083 2014-10-18 Yao Qi <yao@codesourcery.com>
14084
14085 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14086 gdb_has_argv0 return true.
14087 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14088 check [target_info exists noargs], check [gdb_has_argv0]
14089 instead.
14090 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14091 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14092 procedures.
14093
14094 2014-10-17 Doug Evans <dje@google.com>
14095
14096 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14097 event.
14098 * gdb.python/py-events.py: Add clear_objfiles event.
14099
14100 2014-10-17 Doug Evans <dje@google.com>
14101
14102 * gdb.python/py-objfile.exp: Test progspace attribute.
14103
14104 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14105
14106 * gdb.guile/scm-breakpoint.exp: Do not assume any
14107 directory separators when matching source file paths.
14108 * gdb.python/py-breakpoint.exp: Likewise.
14109 * gdb.reverse/break-precsave.exp: Likewise.
14110 * gdb.reverse/break-reverse.exp: Likewise.
14111 * gdb.reverse/consecutive-precsave.exp: Likewise.
14112 * gdb.reverse/finish-precsave.exp: Likewise.
14113 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14114 * gdb.reverse/finish-reverse.exp: Likewise.
14115 * gdb.reverse/i386-precsave.exp: Likewise.
14116 * gdb.reverse/i387-env-reverse.exp: Likewise.
14117 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14118 * gdb.reverse/machinestate-precsave.exp: Likewise.
14119 * gdb.reverse/machinestate.exp: Likewise.
14120 * gdb.reverse/sigall-precsave.exp: Likewise.
14121 * gdb.reverse/solib-precsave.exp: Likewise.
14122 * gdb.reverse/step-precsave.exp: Likewise.
14123 * gdb.reverse/until-precsave.exp: Likewise.
14124 * gdb.reverse/watch-precsave.exp: Likewise.
14125 * gdb.reverse/watch-reverse.exp: Likewise.
14126
14127 2014-10-17 Yao Qi <yao@codesourcery.com>
14128
14129 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14130 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14131
14132 2014-10-17 Pedro Alves <palves@redhat.com>
14133
14134 PR gdb/17471
14135 * gdb.base/bg-execution-repeat.c: New file.
14136 * gdb.base/bg-execution-repeat.exp: New file.
14137
14138 2014-10-17 Pedro Alves <palves@redhat.com>
14139
14140 PR gdb/17300
14141 * gdb.base/continue-all-already-running.c: New file.
14142 * gdb.base/continue-all-already-running.exp: New file.
14143
14144 2014-10-17 Pedro Alves <palves@redhat.com>
14145
14146 PR gdb/17472
14147 * gdb.base/annota-input-while-running.c: New file.
14148 * gdb.base/annota-input-while-running.exp: New file.
14149
14150 2014-10-17 Pedro Alves <palves@redhat.com>
14151
14152 * gdb.base/callfuncs.exp: emove references to osf.
14153 * gdb.base/sigall.exp: Likewise.
14154 * gdb.gdb/selftest.exp: Likewise.
14155 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14156 * gdb.mi/non-stop.c: Likewise.
14157 * gdb.mi/pthreads.c: Likewise.
14158 * gdb.reverse/sigall-precsave.exp: Likewise.
14159 * gdb.reverse/sigall-reverse.exp: Likewise.
14160 * gdb.threads/pthreads.c: Likewise.
14161 * gdb.threads/pthreads.exp: Likewise.
14162
14163 2014-10-17 Yao Qi <yao@codesourcery.com>
14164
14165 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14166 check 'target_info exists noargs'.
14167 (test_command_prompt_position): Likewise.
14168 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14169 Remove "set args".
14170 (progvar_simple_while_test): Likewise.
14171 (progvar_complex_if_while_test): Likewise.
14172 (if_while_breakpoint_command_test): Likewise.
14173 (infrun_breakpoint_command_test): Likewise.
14174 (breakpoint_command_test): Likewise.
14175 (watchpoint_command_test): Likewise.
14176 (bp_deleted_in_command_test): Likewise.
14177 (temporary_breakpoint_commands): Likewise.
14178
14179 2014-10-16 Yao Qi <yao@codesourcery.com>
14180
14181 * gdb.base/remotetimeout.exp: Remove noargs checking.
14182
14183 2014-10-15 Pedro Alves <palves@redhat.com>
14184
14185 PR breakpoints/9649
14186 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14187 * gdb.base/breakpoint-in-ro-region.exp
14188 (probe_target_hardware_step): New procedure.
14189 (top level): Probe hardware stepping and hardware breakpoint
14190 support. Test stepping through a read-only region, with both
14191 "breakpoint auto-hw" on and off and both "always-inserted" on and
14192 off.
14193
14194 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14195
14196 * gdb.dlang/demangle.exp: Update for demangling changes.
14197
14198 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14199
14200 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14201 * gdb.cp/non-trivial-retval.exp: Add new tests.
14202
14203 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14204
14205 PR c++/13403
14206 PR c++/15154
14207 * gdb.cp/non-trivial-retval.cc: New file.
14208 * gdb.cp/non-trivial-retval.exp: New file.
14209
14210 2014-10-15 Yao Qi <yao@codesourcery.com>
14211
14212 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14213 remote host.
14214
14215 2014-10-15 Yao Qi <yao@codesourcery.com>
14216
14217 * gdb.python/py-symbol.exp: Match file base name if host is
14218 remote, otherwise match file name with dir name.
14219 * gdb.python/py-symtab.exp: Likewise.
14220 * gdb.python/python.exp: Likewise.
14221
14222 2014-10-15 Yao Qi <yao@codesourcery.com>
14223
14224 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14225 pattern.
14226 * gdb.python/py-symtab.exp: Likewise.
14227 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14228 locationn.
14229
14230 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14231
14232 * gdb.ada/addr_arith: New testcase.
14233
14234 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14235
14236 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14237 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14238 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14239 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14240
14241 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14242
14243 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14244 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14245 * gdb.arch/stap-eval-lang-ada.exp: New file.
14246
14247 2014-10-14 Yao Qi <yao@codesourcery.com>
14248
14249 * gdb.mi/mi-var-child.c (nothing1): New function.
14250 (nothing2): New function.
14251 (do_children_tests): Set function pointers by nothing1 and
14252 nothing2.
14253 * gdb.mi/mi-var-child.exp: Step over new added statements.
14254 Update test to match the new output.
14255 * gdb.mi/var-cmd.c (nothing1): New function.
14256 (nothing2): New function.
14257 (do_children_tests): Set function pointers by nothing1 and
14258 nothing2.
14259 * gdb.mi/mi-var-display.exp: Update test to match output.
14260 Step to the line specified by $line_dct_nothing.
14261 Increase the number of lines to step.
14262
14263 2014-10-14 Yao Qi <yao@codesourcery.com>
14264
14265 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14266 tests.
14267 * gdb.mi/mi2-var-child.exp: Likewise.
14268
14269 2014-10-13 Doug Evans <dje@google.com>
14270
14271 * gdb.python/py-objfile.exp: Change name of file name test.
14272
14273 2014-10-13 Doug Evans <dje@google.com>
14274
14275 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14276 from the start of the CU.
14277
14278 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14279 Yao Qi <yao@codesourcery.com>
14280
14281 Fix "save breakpoints" for "catch" command.
14282 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14283 Remove -nonewline. Match also the added "main" line.
14284
14285 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14286
14287 Fix "save breakpoints" for "disable $bpnum" command.
14288 * gdb.base/save-bp.c (main): Add label.
14289 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14290
14291 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14292
14293 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14294
14295 2014-10-11 Yao Qi <yao@codesourcery.com>
14296
14297 * gdb.server/server-kill.exp: Execute command
14298 "set remote trace-status-packet on" before "tstatus".
14299
14300 2014-10-11 Yao Qi <yao@codesourcery.com>
14301
14302 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14303 (main): Call getppid.
14304 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14305 and continue to it. Read variable "server_pid".
14306
14307 2014-10-11 Yao Qi <yao@codesourcery.com>
14308
14309 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14310
14311 2014-10-11 Yao Qi <yao@codesourcery.com>
14312
14313 * gdb.threads/thread-find.exp: Don't execute command
14314 "info threads".
14315 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14316 * gdb.threads/linux-dp.exp: Don't check the condition
14317 $threads_created equals to zero.
14318
14319 2014-10-10 Pedro Alves <palves@redhat.com>
14320
14321 * gdb.base/bigcore.exp: Remove references to IRIX.
14322 * gdb.base/funcargs.exp: Likewise.
14323 * gdb.base/interrupt.exp: Likewise.
14324 * gdb.base/mips_pro.exp: Likewise.
14325 * gdb.base/nodebug.exp: Likewise.
14326 * gdb.base/setvar.exp: Likewise.
14327 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14328
14329 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14330 Pedro Alves <palves@redhat.com>
14331
14332 PR symtab/14466
14333 * gdb.base/vdso-warning.c: New file.
14334 * gdb.base/vdso-warning.exp: New file.
14335
14336 2014-10-02 Doug Evans <dje@google.com>
14337
14338 * gdb.base/structs.c (main): Don't run forever.
14339
14340 2014-10-02 Pedro Alves <palves@redhat.com>
14341
14342 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14343 (top level) <stop threads 1, stop threads 2>: Use it.
14344
14345 2014-10-02 Pedro Alves <palves@redhat.com>
14346
14347 * gdb.threads/break-while-running.exp (test): Add new
14348 'update_thread_list' argument. Skip "info threads" if false.
14349 (top level): Add new 'update_thread_list' axis.
14350
14351 2014-10-02 Pedro Alves <palves@redhat.com>
14352
14353 PR breakpoints/17431
14354 * gdb.base/execl-update-breakpoints.c: New file.
14355 * gdb.base/execl-update-breakpoints.exp: New file.
14356
14357 2014-10-01 Pedro Alves <palves@redhat.com>
14358
14359 * gdb.base/breakpoint-in-ro-region.c: New file.
14360 * gdb.base/breakpoint-in-ro-region.exp: New file.
14361
14362 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14363
14364 * gdb.mi/mi-exit-code.exp: New file.
14365 * gdb.mi/mi-exit-code.c: New file.
14366
14367 2014-09-30 Yao Qi <yao@codesourcery.com>
14368
14369 * lib/prelink-support.exp (build_executable_own_libs): Error if
14370 the target isn't native.
14371
14372 2014-09-30 Yao Qi <yao@codesourcery.com>
14373
14374 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14375 false.
14376
14377 2014-09-22 Pedro Alves <palves@redhat.com>
14378
14379 * gdb.threads/break-while-running.exp: New file.
14380 * gdb.threads/break-while-running.c: New file.
14381
14382 2014-09-19 Yao Qi <yao@codesourcery.com>
14383
14384 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14385 Invoke test. Restart GDB with --readnow and invoke test again.
14386
14387 2014-09-19 Yao Qi <yao@codesourcery.com>
14388
14389 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14390 proc set_breakpoint_on_gcd_function. Invoke
14391 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14392 invoke set_breakpoint_on_gcd_function again.
14393
14394 2014-09-18 Doug Evans <dje@google.com>
14395
14396 * gdb.dwarf2/symtab-producer.exp: New file.
14397
14398 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14399
14400 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14401 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14402 * gdb.base/global-var-nested-by-dso.c: Likewise.
14403 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14404
14405 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14406 Pedro Alves <palves@redhat.com>
14407
14408 * gdb.base/watch-bitfields.exp: Pass string other than test file
14409 name to prepare_for_testing.
14410 (watch): New procedure.
14411 (expect_watchpoint): Use with_test_prefix.
14412 (top level): Factor out tests to ...
14413 (test_watch_location, test_regular_watch): ... these new
14414 procedures, and use with_test_prefix and gdb_continue_to_end.
14415
14416 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14417
14418 PR breakpoints/12526
14419 * gdb.base/watch-bitfields.exp: New file.
14420 * gdb.base/watch-bitfields.c: New file.
14421
14422 2014-09-16 Pedro Alves <palves@redhat.com>
14423
14424 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14425 software and hardware addresses, not software address against
14426 itself.
14427
14428 2014-09-16 Pedro Alves <palves@redhat.com>
14429
14430 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14431 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14432
14433 2014-09-16 Pedro Alves <palves@redhat.com>
14434
14435 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14436 files.
14437 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14438 "*-*-vxworks*" throughout.
14439 * gdb.base/break.exp: Likewise.
14440 * gdb.base/default.exp: Likewise.
14441 * gdb.base/scope.exp: Likewise.
14442 * gdb.base/sepdebug.exp: Likewise.
14443 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14444 throughout.
14445 * gdb.base/run.c: Likewise.
14446 * gdb.base/sepdebug.c: Likewise.
14447 * gdb.hp/gdb.aCC/run.c: Likewise.
14448 * gdb.reverse/until-reverse.c: Likewise.
14449 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14450
14451 2014-09-16 Yao Qi <yao@codesourcery.com>
14452
14453 * boards/local-remote-host-native.exp: New file.
14454
14455 2014-09-14 Doug Evans <xdje42@gmail.com>
14456
14457 * gdb.threads/queue-signal.c (thread_count): New variable.
14458 (thread_count_mutex, thread_count_condvar): New variables.
14459 (incr_thread_count, wait_all_threads_running): New functions.
14460 (main): Wait for all threads to be in their thread functions.
14461
14462 2014-09-13 Doug Evans <xdje42@gmail.com>
14463
14464 * gdb.threads/queue-signal.c: New file.
14465 * gdb.threads/queue-signal.exp: New file.
14466
14467 2014-09-13 Doug Evans <xdje42@gmail.com>
14468
14469 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14470 be consistent with what default_gdb_init uses.
14471 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14472 the plain text of the prompt. Add some logging printfs.
14473 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14474
14475 2014-09-12 Pedro Alves <palves@redhat.com>
14476
14477 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14478 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14479 * gdb.arch/i386-size-overlap.exp: Likewise.
14480 * gdb.arch/i386-size.exp: Likewise.
14481 * gdb.arch/i386-unwind.exp: Likewise.
14482 * gdb.base/a2-run.exp: Likewise.
14483 * gdb.base/break.exp: Likewise.
14484 * gdb.base/charset.exp: Likewise.
14485 * gdb.base/chng-syms.exp: Likewise.
14486 * gdb.base/commands.exp: Likewise.
14487 * gdb.base/dbx.exp: Likewise.
14488 * gdb.base/find.exp: Likewise.
14489 * gdb.base/funcargs.exp: Likewise.
14490 * gdb.base/jit-simple.exp: Likewise.
14491 * gdb.base/reread.exp: Likewise.
14492 * gdb.base/sepdebug.exp: Likewise.
14493 * gdb.base/step-bt.exp: Likewise.
14494 * gdb.cp/mb-inline.exp: Likewise.
14495 * gdb.cp/mb-templates.exp: Likewise.
14496 * gdb.objc/basicclass.exp: Likewise.
14497 * gdb.threads/killed.exp: Likewise.
14498
14499 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14500
14501 PR tdep/17379
14502 * gdb.arch/powerpc-stackless.S: New file.
14503 * gdb.arch/powerpc-stackless.exp: New file.
14504
14505 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14506
14507 * gdb.base/attach.c: Include unistd.h.
14508 (main): Call alarm. Add label postloop.
14509 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14510 gdb_breakpoint, gdb_continue_to_breakpoint.
14511 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14512
14513 2014-09-11 Pedro Alves <palves@redhat.com>
14514
14515 PR gdb/17347
14516 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14517 * gdb.base/attach.exp (test_command_line_attach_run): New
14518 procedure.
14519 (top level): Call it.
14520
14521 2014-09-11 Pedro Alves <palves@redhat.com>
14522
14523 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14524 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14525 (do_command_attach_tests): Use spawn_wait_for_attach.
14526 * gdb.base/solib-overlap.exp: Likewise.
14527 * gdb.multi/multi-attach.exp: Likewise.
14528 * gdb.python/py-prompt.exp: Likewise.
14529 * gdb.python/py-sync-interp.exp: Likewise.
14530 * gdb.server/ext-attach.exp: Likewise.
14531
14532 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14533
14534 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14535 command in testcase. Simplify testcase.
14536
14537 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14538
14539 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14540
14541 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14542
14543 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14544
14545 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14546
14547 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14548
14549 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14550
14551 * gdb.dwarf2/dynarr-ptr.c: New file.
14552 * gdb.dwarf2/dynarr-ptr.exp: New file.
14553
14554 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14555
14556 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14557 of 30 rather than hardcoding 120 for a slow test case. Take the
14558 `gdb,timeout' target setting into account for this calculation.
14559 Don't extend the timeout for the test cases that don't need it.
14560
14561 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14562
14563 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14564 a factor of 2 for a slow test case. Take the `gdb,timeout'
14565 target setting into account for this calculation.
14566 * gdb.reverse/until-precsave.exp: Increase the timeout by
14567 a factor of 15 and 3 respectively rather than adding 120
14568 for a pair of slow test cases. Take the `gdb,timeout'
14569 target setting into account for this calculation.
14570
14571 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14572
14573 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14574 timeout, don't pass one down to gdb_expect.
14575 (gdb_expect): Rework timeout selection.
14576
14577 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14578
14579 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14580 exception on timeout.
14581 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14582 (gdbserver_start_extended): Catch any `gdbserver_start' error
14583 exceptions.
14584 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14585 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14586 `gdbserver_gdb_load' error exceptions.
14587
14588 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14589
14590 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14591 120 on waiting for the TCP socket to open.
14592
14593 2014-09-09 Doug Evans <xdje42@gmail.com>
14594
14595 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14596 _caller_matches, _any_caller_is, _any_caller_matches.
14597
14598 2014-09-09 Doug Evans <xdje42@gmail.com>
14599
14600 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14601
14602 2014-09-09 Yao Qi <yao@codesourcery.com>
14603
14604 * gdb.mi/mi-var-display.exp: Set print symbol off.
14605
14606 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14607
14608 PR gdb/17035
14609 * gdb.base/commands.exp: Add tests to verify user-defined
14610 commands with empty bodies.
14611 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14612 python commands in `show user command`.
14613 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14614 scheme commands in `show user command`.
14615
14616 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14617
14618 PR python/17355
14619 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14620 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14621 * gdb.python/py-framefilter-invalidarg.exp: New file.
14622 * gdb.python/py-framefilter-invalidarg.py: New file.
14623
14624 2014-09-06 Doug Evans <xdje42@gmail.com>
14625
14626 PR 15276
14627 * gdb.python/py-caller-is.c: New file.
14628 * gdb.python/py-caller-is.exp: New file.
14629
14630 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14631
14632 PR gdb/17235
14633 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14634 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14635
14636 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14637
14638 PR fortran/17237
14639 * gdb.fortran/print-formatted.exp: New file.
14640 * gdb.fortran/print-formatted.f90: Likewise.
14641
14642 2014-09-03 Sasha Smundak <asmundak@google.com>
14643
14644 * gdb.python/py-frame.exp: Test Frame.read_register.
14645
14646 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14647
14648 PR python/16699
14649 * gdb.python/py-completion.exp: New file.
14650 * gdb.python/py-completion.py: Likewise.
14651
14652 2014-08-28 Doug Evans <dje@google.com>
14653
14654 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14655 eax,etc. are live with values set by gdb and thus the compiler can't
14656 use them.
14657 * gdb.arch/i386-pseudo.c (main): Ditto.
14658
14659 2014-08-27 Doug Evans <dje@google.com>
14660
14661 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14662
14663 2014-08-25 Doug Evans <dje@google.com>
14664
14665 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14666 (main): Ditto.
14667
14668 2014-08-25 Doug Evans <dje@google.com>
14669
14670 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14671
14672 2014-08-24 Yao Qi <yao@codesourcery.com>
14673
14674 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14675 symbol off.
14676 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14677
14678 2014-08-22 Doug Evans <dje@google.com>
14679
14680 PR 17276
14681 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14682 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14683 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14684
14685 2014-08-22 Yao Qi <yao@codesourcery.com>
14686
14687 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14688 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14689 * gdb.python/python.exp: Likewise. Use .py file on the host
14690 instead of the build.
14691
14692 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14693
14694 * gdb.threads/gcore-stale-thread.c: New file.
14695 * gdb.threads/gcore-stale-thread.exp: New file.
14696
14697 2014-08-21 Pedro Alves <palves@redhat.com>
14698
14699 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14700 * gdb.base/gcore-relro-pie.exp: Likewise.
14701 * gdb.base/gcore-relro.exp: Likewise.
14702 * gdb.base/gcore.exp: Likewise.
14703 * gdb.base/print-symbol-loading.exp: Likewise.
14704 * gdb.threads/gcore-thread.exp: Likewise.
14705 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14706
14707 2014-08-20 Pedro Alves <palves@redhat.com>
14708 Jan Kratochvil <jan.kratochvil@redhat.com>
14709
14710 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14711 configure.
14712 (EXPECT): Handle READ1 being set.
14713 (all): Depend on EXTRA_RULES.
14714 (check-read1, expect-read1, read1.so, read1): New rules.
14715 * README (Testsuite Parameters): Document the READ1 make variable.
14716 (Race detection): New section.
14717 * configure: Regenerate.
14718 * configure.ac: If build==host==target, and running under a
14719 GNU/glibc system, add read1 to the extra Makefile rules.
14720 (EXTRA_RULES): AC_SUBST it.
14721 * lib/read1.c: New file.
14722
14723 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14724
14725 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14726 the handling of variables declared as a typedef to an array
14727 which a DW_AT_data_location attribute.
14728
14729 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14730 Pedro Alves <palves@redhat.com>
14731
14732 PR symtab/14604
14733 PR symtab/14605
14734 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14735 gdb_test.
14736
14737 2014-08-19 Pedro Alves <palves@redhat.com>
14738
14739 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14740
14741 2014-08-19 Yao Qi <yao@codesourcery.com>
14742
14743 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14744 right line.
14745
14746 2014-08-18 David Blaikie <dblaikie@gmail.com>
14747
14748 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14749
14750 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14751
14752 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14753 attribute in array range.
14754
14755 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14756
14757 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14758
14759 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14760
14761 PR c++/17132
14762 * gdb.cp/pr17132.cc: New file.
14763 * gdb.cp/pr17132.exp: New file.
14764
14765 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14766
14767 * gdb.python/py-xmethods.py (A_getarrayind)
14768 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14769 Use 'print' with function call syntax.
14770 (E_method_matcher.match): Fix tab vs space indentation mixup.
14771
14772 2014-08-15 Yao Qi <yao@codesourcery.com>
14773
14774 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14775 false.
14776
14777 2014-08-15 Yao Qi <yao@codesourcery.com>
14778
14779 * gdb.cp/casts.exp: Set print symbol off.
14780 * gdb.cp/class2.exp: Likewise.
14781 * gdb.cp/overload.exp: Likewise.
14782 * gdb.cp/templates.exp: Likewise.
14783
14784 2014-08-11 Doug Evans <dje@google.com>
14785
14786 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14787 (test_load_shlib): Update.
14788
14789 2014-08-09 Yao Qi <yao@codesourcery.com>
14790
14791 * gdb.base/display.exp: Invoke is_address_zero_readable.
14792 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14793 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14794 * gdb.base/hbreak-unmapped.exp: Return if
14795 is_address_zero_readable returns true.
14796 * gdb.base/signest.exp: Likewise.
14797 * gdb.base/signull.exp: Likewise.
14798 * gdb.base/sigbpt.exp: Likewise.
14799 * gdb.guile/scm-disasm.exp: Do the test if
14800 is_address_zero_readable returns false.
14801 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14802 * gdb.python/py-arch.exp: Likewise.
14803 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14804 * lib/gdb.exp (is_address_zero_readable): New proc.
14805
14806 2014-08-09 Yao Qi <yao@codesourcery.com>
14807
14808 PR testsuite/13443
14809 * gdb.mi/mi-var-display.exp: Make test messages unique.
14810
14811 2014-08-04 Tom Tromey <tromey@redhat.com>
14812
14813 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14814 target 0".
14815
14816 2014-08-04 Tom Tromey <tromey@redhat.com>
14817
14818 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14819 "target_resume".
14820
14821 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14822
14823 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14824 inner_vla_struct_object_size.
14825 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14826 as xfail.
14827
14828 2014-07-30 Pedro Alves <palves@redhat.com>
14829
14830 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14831 comment.
14832
14833 2014-07-29 Yao Qi <yao@codesourcery.com>
14834
14835 PR gdb/17206
14836 * gdb.base/until-nodebug.exp: New.
14837
14838 2014-07-28 Doug Evans <xdje42@gmail.com>
14839
14840 PR guile/17203
14841 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14842 previously existing parameter, and previously ambiguously spelled
14843 parameter.
14844
14845 2014-07-28 Will Newton <will.newton@linaro.org>
14846
14847 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14848
14849 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14850 Doug Evans <xdje42@gmail.com>
14851
14852 PR guile/17146
14853 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14854
14855 2014-07-25 Pedro Alves <palves@redhat.com>
14856
14857 * gdb.threads/signal-command-handle-nopass.c: New file.
14858 * gdb.threads/signal-command-handle-nopass.exp: New file.
14859 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14860 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14861 * gdb.threads/signal-delivered-right-thread.c: New file.
14862 * gdb.threads/signal-delivered-right-thread.exp: New file.
14863
14864 2014-07-25 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.base/double-prompt-target-event-error.exp
14867 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14868 match.
14869 (cancel_pagination_in_target_event): Rework double prompt
14870 detection.
14871 * gdb.base/paginate-after-ctrl-c-running.exp
14872 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14873 <return>' match.
14874 * gdb.base/paginate-bg-execution.exp
14875 (test_bg_execution_pagination_return)
14876 (test_bg_execution_pagination_cancel): Remove '-notransfer
14877 <return>' matches.
14878 * gdb.base/paginate-execution-startup.exp
14879 (test_fg_execution_pagination_return)
14880 (test_fg_execution_pagination_cancel): Remove '-notransfer
14881 <return>' matches.
14882 * gdb.base/paginate-inferior-exit.exp
14883 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14884 match.
14885 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14886 * lib/gdb.exp (pagination_prompt): Run text through
14887 string_to_regexp.
14888 (gdb_test_multiple): Match $pagination_prompt instead of
14889 "<return>".
14890 (string_to_regexp): Move to lib/gdb-utils.exp.
14891
14892 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14893
14894 * gdb.arch/amd64-entry-value-paramref.S: New file.
14895 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14896 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14897 * gdb.arch/amd64-optimout-repeat.S: New file.
14898 * gdb.arch/amd64-optimout-repeat.c: New file.
14899 * gdb.arch/amd64-optimout-repeat.exp: New file.
14900
14901 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14902
14903 PR gdb/17170
14904 * gdb.base/statistics.exp: New file.
14905
14906 2014-07-17 Doug Evans <dje@google.com>
14907
14908 PR gdb/17170
14909 * gdb.base/maint.exp: Update testing of per-command stats.
14910
14911 2014-07-16 Pedro Alves <palves@redhat.com>
14912
14913 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14914 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14915 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14916 (tfile_write_buf): New functions.
14917 (add_memory_block): Rewrite using the above.
14918 (adjust_function_address): New function.
14919 (FUNCTION_ADDRESS): New macro.
14920 (write_basic_trace_file): Remove short_x local, and use
14921 tfile_write_16. Change type of func_addr local to unsigned long
14922 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14923 here. Cast argument of add_memory_block to char pointer.
14924 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14925 (main): Remove parameters.
14926 * gdb.trace/tfile.exp: Remove nowarnings.
14927
14928 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14929
14930 * gdb.base/debug-expr.exp: Test string evaluation with
14931 "debug expression" on.
14932
14933 2014-07-15 Pedro Alves <palves@redhat.com>
14934
14935 * gdb.base/reread.exp: Use clean_restart.
14936
14937 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14938
14939 * gdb.arch/avr-flash-qualifer.c: New.
14940 * gdb.arch/avr-flash-qualifer.exp: New.
14941
14942 2014-07-14 Pedro Alves <palves@redhat.com>
14943
14944 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14945 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14946
14947 2014-07-14 Pedro Alves <palves@redhat.com>
14948
14949 * gdb.base/double-prompt-target-event-error.c: New file.
14950 * gdb.base/double-prompt-target-event-error.exp: New file.
14951
14952 2014-07-14 Pedro Alves <palves@redhat.com>
14953
14954 PR gdb/17072
14955 * gdb.base/paginate-inferior-exit.c: New file.
14956 * gdb.base/paginate-inferior-exit.exp: New file.
14957
14958 2014-07-14 Pedro Alves <palves@redhat.com>
14959
14960 PR gdb/17072
14961 * gdb.base/paginate-bg-execution.c: New file.
14962 * gdb.base/paginate-bg-execution.exp: New file.
14963
14964 2014-07-14 Pedro Alves <palves@redhat.com>
14965
14966 PR gdb/17072
14967 * gdb.base/paginate-execution-startup.c: New file.
14968 * gdb.base/paginate-execution-startup.exp: New file.
14969 * lib/gdb.exp (pagination_prompt): New global.
14970 (default_gdb_spawn): New procedure, factored out from
14971 default_gdb_spawn.
14972 (default_gdb_start): Adjust to call default_gdb_spawn.
14973 (gdb_spawn): New procedure.
14974
14975 2014-07-14 Pedro Alves <palves@redhat.com>
14976
14977 * lib/gdb.exp (gdb_assert): New procedure.
14978 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14979
14980 2014-07-14 Pedro Alves <palves@redhat.com>
14981
14982 * gdb.base/execution-termios.c: New file.
14983 * gdb.base/execution-termios.exp: New file.
14984
14985 2014-07-14 Tom Tromey <tromey@redhat.com>
14986
14987 * gdb.cp/vla-cxx.cc: New file.
14988 * gdb.cp/vla-cxx.exp: New file.
14989
14990 2014-07-14 Tom Tromey <tromey@redhat.com>
14991
14992 * gdb.reverse/rerun-prec.c: New file.
14993 * gdb.reverse/rerun-prec.exp: New file.
14994
14995 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14996 Maciej W. Rozycki <macro@codesourcery.com>
14997
14998 * lib/gdb-utils.exp: New file.
14999 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15000 inline `gdb_init_command' processing.
15001 (gdb_start_cmd): Likewise.
15002 * lib/mi-support.exp (mi_run_cmd): Likewise.
15003 * README: Document `gdb_init_command' and `gdb_init_commands'.
15004
15005 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15006
15007 Fix false FAIL running under a very long directory name.
15008 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15009 and "set print elements 10000". Twice.
15010
15011 2014-07-11 Yao Qi <yao@codesourcery.com>
15012
15013 * gdb.base/exprs.exp: "set print symbol off".
15014
15015 2014-07-11 Pedro Alves <palves@redhat.com>
15016
15017 * gdb.threads/kill.c: New file.
15018 * gdb.threads/kill.exp: New file.
15019
15020 2014-07-10 Yao Qi <yao@codesourcery.com>
15021
15022 * gdb.trace/tfile.c (write_basic_trace_file)
15023 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15024 address written to trace file.
15025
15026 2014-07-09 Pedro Alves <palves@redhat.com>
15027
15028 * gdb.base/attach-wait-input.exp: New file.
15029 * gdb.base/attach-wait-input.c: New file.
15030
15031 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15032
15033 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15034 setting up test structures.
15035 (main): Call new test function.
15036 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15037 test function, continue into test function and walk test
15038 structures.
15039
15040 2014-07-02 Yao Qi <yao@codesourcery.com>
15041
15042 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15043 'bar_start' at the beginning of functions 'foo' and 'bar'
15044 respectively.
15045 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15046 instead of 'foo' and 'bar'.
15047
15048 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15049
15050 * gdb.btrace/segv.exp: New.
15051 * gdb.btrace/segv.c: New.
15052
15053 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15054
15055 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15056 instruction.
15057
15058 2014-06-30 Mark Wielaard <mjw@redhat.com>
15059
15060 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15061 vulture, vilify, villar): New volatile array constants.
15062 (vindictive, vegetation): New const volatile array constants.
15063 * gdb.base/volatile.exp: Test volatile and const volatile array
15064 types.
15065
15066 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15067
15068 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15069 target lacks support for awatch, rwatch, or hbreak.
15070
15071 2014-06-27 Yao Qi <yao@codesourcery.com>
15072
15073 * gdb.multi/dummy-frame-restore.exp: New.
15074 * gdb.multi/dummy-frame-restore.c: New.
15075
15076 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15077
15078 * gdb.btrace/gcore.exp: New.
15079
15080 2014-06-23 Pedro Alves <palves@redhat.com>
15081
15082 * gdb.base/watchpoint-reuse-slot.c: New file.
15083 * gdb.base/watchpoint-reuse-slot.exp: New file.
15084
15085 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15086
15087 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15088 progspace's filename in 'info', 'enable' and 'disable' command
15089 tests.
15090
15091 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15092
15093 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15094 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15095 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15096
15097 2014-06-20 Gary Benson <gbenson@redhat.com>
15098
15099 * gdb.arch/i386-avx.exp: Fix include file location.
15100 * gdb.arch/i386-sse.exp: Likewise.
15101
15102 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15103
15104 * gdb.dlang/expression.exp: New file.
15105
15106 2014-06-19 Pedro Alves <palves@redhat.com>
15107
15108 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15109 out from ...
15110 (top level): ... here. Iterate running tests under different
15111 scheduler-locking settings.
15112
15113 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15114
15115 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15116 to DW_FORM_addr and use non-zero addresses.
15117
15118 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15119
15120 PR gdb/17017
15121 * gdb.python/py-xmethods.cc: Add global function call counters and
15122 increment them in their respective functions. Remove "cout"
15123 statements.
15124 * gdb.python/py-xmethods.exp: Make tests check the global function
15125 call counters instead of depending on inferior IO.
15126
15127 2014-06-18 Don Breazeal <donb@codesourcery.com>
15128
15129 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15130 Deleted procedure.
15131 (explicit_fork_parent_follow): Deleted procedure.
15132 (explicit_fork_child_follow): Deleted procedure.
15133 (test_follow_fork): New procedure.
15134 (do_fork_tests): Replace calls to deleted procedures with
15135 calls to test_follow_fork and reset GDB for subsequent
15136 procedure calls.
15137
15138 2014-06-17 Yao Qi <yao@codesourcery.com>
15139
15140 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15141 CP1252.
15142
15143 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15144
15145 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15146 Initialize ptr and S explicitly.
15147 (skip_type_update_when_not_use_rtti_test): Likewise.
15148
15149 2014-06-16 Keith Seitz <keiths@redhat.com>
15150
15151 PR mi/15863
15152 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15153 the inferior is started.
15154
15155 2014-06-16 Pedro Alves <palves@redhat.com>
15156
15157 * gdb.base/break-main-file-remove-fail.c: New file.
15158 * gdb.base/break-main-file-remove-fail.exp: New file.
15159 * gdb.base/break-unload-file.exp: Use build_executable instead of
15160 prepare_for_testing.
15161 (test_break): New parameter "initial_load". Handle it.
15162 (top level): Add initial_load cmdline/file axis.
15163
15164 2014-06-12 Tom Tromey <tromey@redhat.com>
15165
15166 * gdb.base/completion.exp: Don't use directory name in test.
15167
15168 2014-06-09 Gary Benson <gbenson@redhat.com>
15169
15170 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15171 separate the always-available ANSI-standard signals from the
15172 signals that require checking.
15173 (main): Likewise.
15174 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15175 Likewise.
15176 (main): Likewise.
15177
15178 2014-06-07 Keith Seitz <keiths@redhat.com>
15179
15180 Revert:
15181 PR c++/16253
15182 * gdb.cp/var-tag.cc: New file.
15183 * gdb.cp/var-tag.exp: New file.
15184 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15185 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15186 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15187 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15188
15189 2014-06-06 Doug Evans <xdje42@gmail.com>
15190
15191 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15192
15193 2014-06-06 Pedro Alves <palves@redhat.com>
15194
15195 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15196 in target debug output instead of looking at RSP packets,
15197 disabling the test on any target that uses hardware stepping.
15198 Update comments.
15199
15200 2014-06-06 Pedro Alves <palves@redhat.com>
15201
15202 * gdb.base/break-unload-file.exp: Fix typo.
15203
15204 2014-06-06 Yao Qi <yao@codesourcery.com>
15205
15206 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15207 from "jit_function" to "^jit_function".
15208
15209 2014-06-06 Yao Qi <yao@codesourcery.com>
15210
15211 * gdb.base/async.c (foo): Add one statement.
15212 * gdb.base/async.exp: Get the next instruction address and
15213 match the output of "nexti" by instruction address. Match
15214 the hex address in the output of "finish".
15215
15216 2014-06-06 Gary Benson <gbenson@redhat.com>
15217
15218 * gdb.base/call-signals.c: Remove preprocessor conditionals
15219 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15220 SIGSEGV and SIGTERM.
15221 * gdb.base/sigall.c: Likewise.
15222 * gdb.base/unwindonsignal.c: Likewise.
15223 * gdb.reverse/sigall-reverse.c: Likewise.
15224
15225 2014-06-06 Yao Qi <yao@codesourcery.com>
15226
15227 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15228 readable, skip the test.
15229
15230 2014-06-06 Yao Qi <yao@codesourcery.com>
15231
15232 * gdb.threads/staticthreads.c (thread_function): Move the line
15233 setting breakpoint on forward.
15234 * gdb.threads/staticthreads.exp: Update comments.
15235
15236 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15237
15238 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15239 "history-append! type error".
15240
15241 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15242
15243 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15244 erroneous dprintf expected input.
15245
15246 2014-06-04 Doug Evans <xdje42@gmail.com>
15247
15248 * gdb.guile/scm-generics.exp: Delete.
15249
15250 2014-06-04 Doug Evans <xdje42@gmail.com>
15251
15252 * gdb.guile/scm-breakpoint.exp: Update.
15253 Add tests for breakpoint registration.
15254
15255 2014-06-04 Tom Tromey <tromey@redhat.com>
15256
15257 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15258 VLA-in-union.
15259 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15260 inner_vla_struct, vla_union types. Initialize objects of those
15261 types and compute their sizes.
15262
15263 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15264 Hui Zhu <hui@codesourcery.com>
15265
15266 * gdb.base/fileio.exp: Add test for shell not available as well as
15267 available.
15268 * gdb.base/fileio.c (test_system): Check for shell twice.
15269
15270 2014-06-04 Yao Qi <yao@codesourcery.com>
15271
15272 * gdb.base/auto-connect-native-target.exp: Remove redundant
15273 space from the regexp pattern.
15274
15275 2014-06-04 Yao Qi <yao@codesourcery.com>
15276
15277 * gdb.base/default.exp: Replace "child" with "native" in
15278 regexp pattern.
15279
15280 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15281
15282 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15283 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15284 * gdb.python/py-xmethods.py: Python script supporting the
15285 new testcase and tests.
15286
15287 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15288 Pedro Alves <palves@redhat.com>
15289
15290 PR breakpoints/17000
15291 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15292 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15293
15294 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15295
15296 * gdb.base/subst.exp: Add tests to verify partial path matching
15297 output.
15298
15299 2014-06-03 Pedro Alves <palves@redhat.com>
15300
15301 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15302 target that doesn't use software single-stepping.
15303
15304 2014-06-03 Pedro Alves <palves@redhat.com>
15305
15306 PR breakpoints/17000
15307 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15308 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15309
15310 2014-06-02 Doug Evans <xdje42@gmail.com>
15311
15312 * gdb.guile/scm-parameter.exp: New file.
15313
15314 2014-06-02 Doug Evans <xdje42@gmail.com>
15315
15316 * gdb.guile/scm-cmd.c: New file.
15317 * gdb.guile/scm-cmd.exp: New file.
15318
15319 2014-06-02 Doug Evans <xdje42@gmail.com>
15320
15321 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15322 pretty-printer lookup.
15323 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15324 (make-pp_s-printer): Call it.
15325 (make-pretty-printer-from-dict): New function.
15326 (lookup-pretty-printer-maker-from-dict): New function.
15327 (*pretty-printer*): Simplify.
15328 (make-objfile-pp_s-printer): New function.
15329 (install-objfile-pretty-printers!): New function.
15330 (make-progspace-pp_s-printer): New function.
15331 (install-progspace-pretty-printers!): New function.
15332 * gdb.guile/scm-progspace.c: New file.
15333 * gdb.guile/scm-progspace.exp: New file.
15334
15335 2014-06-02 Pedro Alves <palves@redhat.com>
15336
15337 * gdb.base/dprintf-bp-same-addr.c: New file.
15338 * gdb.base/dprintf-bp-same-addr.exp: New file.
15339
15340 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15341
15342 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15343 * gdb.arch/powerpc-power.s: Likewise.
15344
15345 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15346
15347 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15348
15349 2014-06-01 Yao Qi <yao@codesourcery.com>
15350
15351 * gdb.base/watchpoint.exp (test_watch_location): Check null
15352 pointer can be dereferenced. If not, do the test, otherwise
15353 skip it.
15354
15355 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15356
15357 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15358 results.
15359 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15360
15361 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15362
15363 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15364 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15365 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15366 * gdb.arch/amd64-invalid-stack-top.c: New file.
15367 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15368
15369 2014-05-30 Pedro Alves <palves@redhat.com>
15370
15371 PR breakpoints/17000
15372 * gdb.base/sss-bp-on-user-bp.c: New file.
15373 * gdb.base/sss-bp-on-user-bp.exp: New file.
15374
15375 2014-05-30 David Blaikie <dblaikie@gmail.com>
15376
15377 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15378 gnu_inline semantics via attribute.
15379 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15380 source explicitly specifies the required semantics.
15381
15382 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15383
15384 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15385
15386 2014-05-29 Pedro Alves <palves@redhat.com>
15387 Tom Tromey <tromey@redhat.com>
15388
15389 * gdb.base/async-shell.exp: Don't enable target-async.
15390 * gdb.base/async.exp
15391 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15392 parameter. Adjust.
15393 (top level): Don't test with "target-async".
15394 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15395 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15396 * gdb.base/inferior-died.exp: Don't enable target-async.
15397 * gdb.base/interrupt-noterm.exp: Likewise.
15398 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15399 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15400 * gdb.mi/mi-nonstop.exp: Likewise.
15401 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15402 * gdb.mi/mi-nsintrall.exp: Likewise.
15403 * gdb.mi/mi-nsmoribund.exp: Likewise.
15404 * gdb.mi/mi-nsthrexec.exp: Likewise.
15405 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15406 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15407 * gdb.python/py-evsignal.exp: Don't enable target-async.
15408 * gdb.python/py-evthreads.exp: Likewise.
15409 * gdb.python/py-prompt.exp: Likewise.
15410 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15411 * gdb.server/solib-list.exp: Don't enable target-async.
15412 * gdb.threads/thread-specific-bp.exp: Likewise.
15413 * lib/mi-support.exp: Adjust to use mi-async.
15414
15415 2014-05-29 Pedro Alves <palves@redhat.com>
15416
15417 PR gdb/13860
15418 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15419 reason, even in sync mode.
15420
15421 2014-05-29 Pedro Alves <palves@redhat.com>
15422 Hui Zhu <hui@codesourcery.com>
15423
15424 PR PR15693
15425 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15426 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15427 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15428 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15429
15430 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15431
15432 * config/monitor.exp (gdb_target_monitor): Replace use of
15433 "set remotebaud" by "set serial baud".
15434
15435 2014-05-26 Andy Wingo <wingo@igalia.com>
15436
15437 * gdb.guile/scm-breakpoint.exp:
15438 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15439 properties instead of gdb-object-properties.
15440
15441 2014-05-26 Yao Qi <yao@codesourcery.com>
15442
15443 * gdb.server/no-thread-db.exp: Specify source file name
15444 explicitly when setting a breakpoint.
15445
15446 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15447
15448 * gdb.btrace/vdso.c: New.
15449 * gdb.btrace/vdso.exp: New.
15450
15451 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15452
15453 * gdb.base/gcore.exp (capture_command_output): Move ...
15454 * lib/gdb.exp (capture_command_output): ... here.
15455
15456 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15457
15458 * gdb.btrace/data.exp: Test memory access during btrace replay.
15459
15460 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15461
15462 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15463
15464 2014-05-21 Pedro Alves <palves@redhat.com>
15465
15466 PR gdb/13860
15467 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15468 (top level): Test that output related to execution commands is
15469 sent to the console with CLI commands, but not with MI commands.
15470 Test that breakpoint events are always mirrored to the console.
15471 Also expect the new source line to be output after a "next" in
15472 async mode too. Make it a pass/fail test.
15473 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15474 output.
15475 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15476
15477 2014-05-21 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15480 Use them to test variations of "list" after reaching a breakpoint.
15481 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15482 Test "list" with listsize 10 after reaching a breakpoint.
15483 * gdb.python/python.exp (decode_line current location line
15484 number): Adjust expected line number.
15485
15486 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15487
15488 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15489 behavior for $args, pass it directly to "run".
15490
15491 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15492
15493 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15494 30000 to 65536.
15495
15496 2014-05-21 Pedro Alves <palves@redhat.com>
15497
15498 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15499 auto-connect-native-target off".
15500 * gdb.base/auto-connect-native-target.c: New file.
15501 * gdb.base/auto-connect-native-target.exp: New file.
15502
15503 2014-05-21 Pedro Alves <palves@redhat.com>
15504
15505 * gdb.base/default.exp: Test "target native" instead of "target
15506 child".
15507
15508 2014-05-21 Mark Wielaard <mjw@redhat.com>
15509
15510 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15511
15512 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15513
15514 Fix TLS access for -static -pthread.
15515 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15516 <HAVE_TLS> (thread_function, main): Initialize it.
15517 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15518 Add clean_restart.
15519 <$have_tls != "">: Check TLSVAR.
15520
15521 2014-05-21 Pedro Alves <palves@redhat.com>
15522
15523 * gdb.base/dcache-line-read-error.c: New.
15524 * gdb.base/dcache-line-read-error.exp: New.
15525
15526 2014-05-20 Pedro Alves <palves@redhat.com>
15527
15528 * gdb.base/compare-sections.c: New file.
15529 * gdb.base/compare-sections.exp: New file.
15530
15531 2014-05-20 Pedro Alves <palves@redhat.com>
15532
15533 * gdb.base/break-idempotent.c: New file.
15534 * gdb.base/break-idempotent.exp: New file.
15535
15536 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15537
15538 * gdb.btrace/nohist.exp: New.
15539
15540 2014-05-20 Yao Qi <yao@codesourcery.com>
15541
15542 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15543 gdb.reverse directory and gdb_reverse_timeout exists in board
15544 setting.
15545 * README: Document gdb_reverse_timeout.
15546
15547 2014-05-20 Yao Qi <yao@codesourcery.com>
15548
15549 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15550 'test_file_name'. Treat args as a string instead of a list.
15551 (gdb_init): Rename argument 'args' by 'test_file_name'.
15552
15553 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15554
15555 * gdb.arch/powerpc-power.exp: New file.
15556 * gdb.arch/powerpc-power.s: New file.
15557
15558 2014-05-16 Doug Evans <dje@google.com>
15559
15560 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15561 * gdb.base/completion.exp: Check that all expected files exist
15562 before doing file completion.
15563
15564 2014-05-16 Doug Evans <dje@google.com>
15565
15566 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15567 Update.
15568 (do_syscall_tests_without_xml): Update.
15569
15570 2014-05-16 Pedro Alves <palves@redhat.com>
15571
15572 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15573 instead of "unknown output after running".
15574
15575 2014-05-16 Yao Qi <yao@codesourcery.com>
15576
15577 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15578 file1.txt from host at the end.
15579 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15580
15581 2014-05-15 Doug Evans <dje@google.com>
15582
15583 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15584 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15585 loading file. Add test for TU lookup.
15586
15587 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15588
15589 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15590 calling "-exec-arguments" or "set args" before running the
15591 inferior.
15592
15593 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15594
15595 * lib/mi-support.exp (mi_expect_stop): Expect message for
15596 inferiors that exit with non-zero exit code.
15597
15598 2014-05-14 Yao Qi <yao@codesourcery.com>
15599
15600 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15601 match absolute path on remote host.
15602 (test_file_list_exec_source_files): Remove "/" from the
15603 pattern.
15604
15605 2014-05-14 Yao Qi <yao@codesourcery.com>
15606
15607 * boards/local-remote-host-notty.exp (${board}_file): New
15608 proc.
15609
15610 2014-05-07 Kyle McMartin <kyle@redhat.com>
15611
15612 Pushed by Joel Brobecker <brobecker@adacore.com>.
15613 * gdb.arch/aarch64-atomic-inst.c: New file.
15614 * gdb.arch/aarch64-atomic-inst.exp: New file.
15615
15616 2014-05-07 Yao Qi <yao@codesourcery.com>
15617
15618 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15619 in current context" too.
15620
15621 2014-05-05 Keith Seitz <keiths@redhat.com>
15622
15623 * gdb.linespec/ls-dollar.exp: Add test for linespec
15624 file:convenience_variable.
15625
15626 2014-05-05 Yao Qi <yao@codesourcery.com>
15627
15628 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15629 traceframes into tfile and ctf trace files. Read data from
15630 trace file and test collected data.
15631 (gdb_collect_locals_test): Likewise.
15632 (gdb_unavailable_registers_test): Likewise.
15633 (gdb_unavailable_floats): Likewise.
15634 (gdb_collect_globals_test): Likewise.
15635 (top-level): Append "ctf" to trace_file_targets if GDB
15636 supports.
15637
15638 2014-05-05 Yao Qi <yao@codesourcery.com>
15639
15640 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15641 code to ...
15642 (gdb_collect_args_test_1): ... it. New proc.
15643 (gdb_collect_locals_test): Move some code to ...
15644 (gdb_collect_locals_test_1): ... it. New proc.
15645 (gdb_unavailable_registers_test): Move some code to ...
15646 (gdb_unavailable_registers_test_1): ... it. New proc.
15647 (gdb_unavailable_floats): Move some code to ...
15648 (gdb_unavailable_floats_1): ... it. New proc.
15649
15650 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15651
15652 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15653 probes to test for bitness recognition.
15654 * gdb.arch/amd64-stap-optional-prefix.exp
15655 (test_probe_value_without_reg): New procedure.
15656 Add code to test for different kinds of bitness.
15657
15658 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15659
15660 PR breakpoints/16889
15661 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15662 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15663
15664 2014-05-01 Pedro Alves <palves@redhat.com>
15665
15666 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15667 gdb_file_cmd if no file is specified.
15668 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15669 last_loaded_file to set the remote exec-file.
15670
15671 2014-05-01 Pedro Alves <palves@redhat.com>
15672
15673 * boards/local-remote-host.exp: New file.
15674
15675 2014-05-01 Pedro Alves <palves@redhat.com>
15676
15677 * boards/local-remote-host.exp: Rename to ...
15678 * boards/local-remote-host-notty.exp: ... this.
15679
15680 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15681
15682 * gdb.ada/dyn_arrayidx: New testcase.
15683
15684 2014-04-26 Yao Qi <yao@codesourcery.com>
15685
15686 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15687 and compute the length of function main. Save it in
15688 $main_length.
15689 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15690 (top-level): Use gdb_compile to compile objects into
15691 executable and restart GDB. Remove invocation to
15692 prepare_for_testing.
15693
15694 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15695 Pedro Alves <palves@redhat.com>
15696
15697 PR server/16255
15698 * gdb.multi/multi-attach.c: New file.
15699 * gdb.multi/multi-attach.exp: New file.
15700
15701 2014-04-25 Pedro Alves <palves@redhat.com>
15702
15703 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15704 user.
15705 (top level): Test that "set remote conditional-breakpoints-packet
15706 off" works as intended.
15707 * gdb.base/dprintf.exp: Test that "set remote
15708 breakpoint-commands-packet off" works as intended.
15709 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15710 New function.
15711 (top level): Call it.
15712 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15713 remote fast-tracepoints-packet off" works as intended.
15714 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15715 * lib/gdb.exp (gdb_is_target_remote): ... here.
15716
15717 2014-04-24 David Blaikie <dblaikie@gmail.com>
15718
15719 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15720 ensure clang would not discard them.
15721 * gdb.base/gdbvars.c: Ditto.
15722 * gdb.base/memattr.c: Ditto.
15723 * gdb.base/whatis.c: Ditto.
15724 * gdb.python/py-prettyprint.c: Ditto.
15725 * gdb.trace/actions.c: Ditto.
15726 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15727 ensure clang would not discard it.
15728
15729 2014-04-24 David Blaikie <dblaikie@gmail.com>
15730
15731 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15732 clang to emit the full definition of type required by the test
15733 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15734
15735 2014-04-24 David Blaikie <dblaikie@gmail.com>
15736
15737 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15738 coax Clang into emitting the definition of the type.
15739 * gdb.cp/pr10728-x.h (y): Ditto.
15740 * gdb.cp/pr10728-y.cc (y): Ditto.
15741
15742 2014-04-24 David Blaikie <dblaikie@gmail.com>
15743
15744 * gdb.base/label.exp: XFAIL label related tests under Clang.
15745 * gdb.cp/cplabel.exp: Ditto.
15746 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15747 under Clang those using labels.
15748
15749 2014-04-25 Yao Qi <yao@codesourcery.com>
15750
15751 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15752 double_label.
15753 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15754 partial_label and double_label.
15755
15756 2014-04-24 David Blaikie <dblaikie@gmail.com>
15757
15758 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15759
15760 2014-04-24 David Blaikie <dblaikie@gmail.com>
15761
15762 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15763 of the function to work across GCC and Clang.
15764 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15765 pointer types (const void ** const V void **).
15766
15767 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15768 Walfred Tedeschi <walfred.tedeschi@intel.com>
15769
15770 * Makefile.in (EXECUTABLES): Added i386-avx512.
15771 * gdb.arch/i386-avx512.c: New file.
15772 * gdb.arch/i386-avx512.exp: Likewise.
15773
15774 2014-04-23 Keith Seitz <keiths@redhat.com>
15775
15776 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15777 (mi_make_breakpoint_table): New procedure.
15778 (mi_create_breakpoint): Use mi_make_breakpoint
15779 and return the result.
15780 (mi_make_breakpoint): New procedure.
15781 (mi_build_kv_pairs): New procedure.
15782
15783 * gdb.mi/mi-break.exp: Remove unused globals,
15784 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15785 All callers updated.
15786 * gdb.mi/mi-dprintf.exp: Use variable to track command
15787 number.
15788 Update all callers of mi_create_breakpoint and use
15789 mi_make_breakpoint_table.
15790 Remove any unused global variables.
15791 * gdb.mi/mi-nonstop.exp: Likewise.
15792 * gdb.mi/mi-nsintrall.exp: Likewise.
15793 * gdb.mi/mi-nsmoribund.exp: Likewise.
15794 * gdb.mi/mi-nsthrexec.exp: Likewise.
15795 * gdb.mi/mi-reverse.exp: Likewise.
15796 * gdb.mi/mi-simplerun.exp: Likewise.
15797 * gdb.mi/mi-stepn.exp: Likewise.
15798 * gdb.mi/mi-syn-frame.exp: Likewise.
15799 * gdb.mi/mi-until.exp: Likewise.
15800 * gdb.mi/mi-var-cp.exp: Likewise.
15801 * gdb.mi/mi-var-display.exp: Likewise.
15802 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15803 * gdb.mi/mi2-var-child.exp: Likewise.
15804 * gdb.mi/mi-vla-c99.exp: Likewise.
15805 * lib/mi-support.exp: Likewise.
15806
15807 From Ian Lance Taylor <iant@cygnus.com>:
15808 * lib/gdb.exp (parse_args): New procedure.
15809
15810 2014-04-23 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.base/break-unload-file.c: New file.
15813 * gdb.base/break-unload-file.exp: New file.
15814 * gdb.base/sym-file-lib.c (baz): New function.
15815 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15816 field.
15817 (load): Store the segment's mapped size.
15818 (unload): New function.
15819 (unload_shlib): New function.
15820 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15821 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15822 set a breakpoint at baz, and call it.
15823 * gdb.base/sym-file.exp: New tests for stale breakpoint
15824 instructions.
15825
15826 2014-04-23 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15829 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15830 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15831 * gdb.base/hbreak-unmapped.c: New file.
15832 * gdb.base/hbreak-unmapped.exp: New file.
15833 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15834 * lib/gdb.exp (gdb_is_target_remote): ... here.
15835
15836 2014-04-22 Pedro Alves <palves@redhat.com>
15837
15838 * gdb.base/consecutive-step-over.c: New file.
15839 * gdb.base/consecutive-step-over.exp: New file.
15840
15841 2014-04-22 Pedro Alves <palves@redhat.com>
15842
15843 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15844 instead of send_gdb/gdb_expect.
15845
15846 2014-04-22 Yao Qi <yao@codesourcery.com>
15847
15848 * lib/trace-support.exp (generate_tracefile): New procedure.
15849 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15850 return 0.
15851 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15852 if generate_tracefile returns 1.
15853
15854 2014-04-18 Tom Tromey <palves@redhat.com>
15855 Pedro alves <tromey@redhat.com>
15856
15857 PR backtrace/15558
15858 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15859 with a backtrace limit.
15860 * gdb.python/py-frame-inline.exp: Test running to an inline
15861 function with a backtrace limit, and printing the newest frame.
15862 * gdb.python/py-frame-inline.c (main): Call f.
15863
15864 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15865
15866 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15867
15868 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15869
15870 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15871 Drop prefix from unsupported source file path.
15872
15873 2014-04-17 Yao Qi <yao@codesourcery.com>
15874
15875 * lib/gdb.exp (with_target_charset): New proc.
15876 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15877 with_target_charset.
15878 (test_print_strings): Likewise.
15879 (test_repeat_bytes): Likewise.
15880 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15881 for some tests.
15882
15883 2014-04-16 Keith Seitz <keiths@redhat.com>
15884
15885 PR gdb/15827
15886 * gdb.dwarf2/corrupt.c: New file.
15887 * gdb.dwarf2/corrupt.exp: New file.
15888
15889 2014-04-16 Keith Seitz <keiths@redhat.com>
15890
15891 PR c++/16597
15892 * gdb.cp/namelessclass.cc: New file.
15893 * gdb.cp/namelessclass.exp: New file.
15894 * gdb.cp/namelessclass.S: New file.
15895
15896 2014-04-16 Doug Evans <dje@google.com>
15897
15898 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15899 Add comment.
15900 (gdbserver_default_get_comm_port): New function.
15901 (gdbserver_start): Check if board file provided
15902 "gdbserver,get_comm_port" and use it if so.
15903 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15904 (gdb,socketport): Set to "stdio".
15905 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15906 (stdio_gdbserver_template): Delete.
15907 (${board}_get_remote_address): Update.
15908 (${board}_build_remote_cmd): Delete.
15909 (${board}_get_comm_port): New function.
15910 (${board}_spawn): Update.
15911 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15912 Delete.
15913 (${board}_get_remote_address): Update.
15914 (${board}_get_comm_port): New function.
15915
15916 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15917
15918 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15919 appearing in any order.
15920
15921 2014-04-15 Doug Evans <dje@google.com>
15922
15923 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15924 uninitialized value of "description".
15925
15926 2014-04-15 Keith Seitz <keiths@redhat.com>
15927
15928 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15929 Remove unused globals.
15930 (test_running_the_program): Likewise.
15931 (test_controlled_execution): Likewise.
15932 (test_controlling_breakpoints): Likewise.
15933 (test_program_termination): Likewise.
15934
15935 2014-04-15 Keith Seitz <keiths@redhat.com>
15936
15937 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15938 unused globals.
15939 (test_rbreak_creation_and_listing): Likewise.
15940 (test_ignore_count): Likewise.
15941 (test_error): Likewise.
15942
15943 2014-04-15 Pedro Alves <palves@redhat.com>
15944
15945 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15946 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15947 sym-file-loader.c.
15948 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15949 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15950 to sym-file-loader.c.
15951 (struct library): Forward declare.
15952 (load_shlib, lookup_function): Change prototypes.
15953 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15954 (translate_offset): Remove declarations.
15955 (get_text_addr): New declaration.
15956 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15957 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15958 sym-file-loader.h.
15959 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15960 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15961 here from sym-file-loader.h.
15962 (struct library): New structure.
15963 (load_shlib, lookup_function): Change prototypes and adjust to
15964 work with a struct library.
15965 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15966 (translate_offset): Make static.
15967 (get_text_addr): New function.
15968 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15969
15970 2014-04-15 Pedro Alves <palves@redhat.com>
15971
15972 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15973
15974 2014-04-15 Pedro Alves <palves@redhat.com>
15975
15976 * gdb.base/sym-file-loader.c: Include <limits.h>.
15977 (SELF_LINK): New define.
15978 (get_origin): New function.
15979 (load_shlib): Use it.
15980 * gdb.base/sym-file.exp: Don't early return if the target is
15981 remote. Use runto_main, and issue fail is that fails. Use
15982 gdb_load_shlibs.
15983 (shlib_name): Delete.
15984 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15985
15986 2014-04-15 Pedro Alves <palves@redhat.com>
15987
15988 * gdb.base/sym-file.exp: Remove regex characters from test
15989 message. Don't refer to breakpoint numbers in test messages.
15990
15991 2014-04-14 Keith Seitz <keiths@redhat.com>
15992
15993 PR c++/16253
15994 * gdb.cp/var-tag.cc: New file.
15995 * gdb.cp/var-tag.exp: New file.
15996 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15997 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15998 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15999 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16000
16001 2014-04-14 Tom Tromey <tromey@redhat.com>
16002
16003 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16004 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16005 type.
16006 * gdb.cp/enum-class.exp: New file.
16007 * gdb.cp/enum-class.cc: New file.
16008
16009 2014-04-14 Tom Tromey <tromey@redhat.com>
16010
16011 * gdb.dwarf2/enum-type.exp: New file.
16012
16013 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16014
16015 * gdb.mi/mi-vla-c99.exp: New file.
16016 * gdb.mi/vla.c: New file.
16017
16018 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16019
16020 * gdb.base/vla-datatypes.c: New file.
16021 * gdb.base/vla-datatypes.exp: New file.
16022
16023 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16024
16025 * gdb.base/vla-ptr.c: New file.
16026 * gdb.base/vla-ptr.exp: New file.
16027
16028 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16029
16030 * gdb.dwarf2/count.exp: New file.
16031
16032 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16033
16034 * gdb.base/vla-sideeffect.c: New file.
16035 * gdb.base/vla-sideeffect.exp: New file.
16036
16037 2014-04-14 David Blaikie <dblaikie@gmail.com>
16038
16039 * gdb.mi/non-stop.c: Add return value for non-void function return
16040 statement.
16041 * gdb.threads/staticthreads.c: Ditto.
16042
16043 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16044 Doug Evans <xdje42@gmail.com>
16045
16046 * gdb.guile/scm-value.c: Improve test case.
16047 * gdb.guile/scm-value.exp: Add new test.
16048
16049 2014-04-11 David Blaikie <dblaikie@gmail.com>
16050
16051 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16052 override Clang's default.
16053
16054 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16055
16056 Revert the following changes (regressions):
16057
16058 * gdb.base/vla-sideeffect.c: New file.
16059 * gdb.base/vla-sideeffect.exp: New file.
16060
16061 * gdb.dwarf2/count.exp: New file.
16062
16063 * gdb.base/vla-multi.c: New file.
16064 * gdb.base/vla-multi.exp: New file.
16065
16066 * gdb.base/vla-ptr.c: New file.
16067 * gdb.base/vla-ptr.exp: New file.
16068
16069 * gdb.base/vla-datatypes.c: New file.
16070 * gdb.base/vla-datatypes.exp: New file.
16071
16072 * gdb.mi/mi-vla-c99.exp: New file.
16073 * gdb.mi/vla.c: New file.
16074
16075 2014-04-11 Keith Seitz <keiths@redhat.com>
16076
16077 PR c++/16675
16078 * gdb.cp/cpsizeof.exp: New file.
16079 * gdb.cp/cpsizeof.cc: New file.
16080
16081 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16082
16083 * gdb.mi/mi-vla-c99.exp: New file.
16084 * gdb.mi/vla.c: New file.
16085
16086 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16087
16088 * gdb.base/vla-datatypes.c: New file.
16089 * gdb.base/vla-datatypes.exp: New file.
16090
16091 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16092
16093 * gdb.base/vla-ptr.c: New file.
16094 * gdb.base/vla-ptr.exp: New file.
16095
16096 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16097
16098 * gdb.base/vla-multi.c: New file.
16099 * gdb.base/vla-multi.exp: New file.
16100
16101 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16102
16103 * gdb.dwarf2/count.exp: New file.
16104
16105 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16106
16107 * gdb.base/vla-sideeffect.c: New file.
16108 * gdb.base/vla-sideeffect.exp: New file.
16109
16110 2014-04-11 Yao Qi <yao@codesourcery.com>
16111
16112 * gdb.base/completion.exp: Check file exists before running tests
16113 on file completion.
16114
16115 2014-04-10 Pedro Alves <palves@redhat.com>
16116
16117 * gdb.base/cond-eval-mode.c: New file.
16118 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16119 prepare_for_testing to build the new file. Check result of
16120 runto_main.
16121 (test_break, test_watch): New procedures.
16122 (top level): Use them.
16123
16124 2014-04-08 Pierre Muller <muller@sourceware.org>
16125
16126 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16127 Ctrl-V use for mingw hosts.
16128
16129 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16130
16131 * gdb.python/py-value.c: Improve test case.
16132 * gdb.python/py-value.exp: Add new test.
16133
16134 2014-04-07 David Blaikie <dblaikie@gmail.com>
16135
16136 * lib/compiler.c: Identify the clang compiler.
16137 * lib/compiler.cc: Ditto.
16138
16139 2014-04-03 Yao Qi <yao@codesourcery.com>
16140
16141 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16142
16143 2014-04-01 Anton Blanchard <anton@samba.org>
16144
16145 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16146 messages unique.
16147
16148 2014-04-01 Anton Blanchard <anton@samba.org>
16149
16150 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16151 prepare_for_testing.
16152
16153 2014-04-01 Anton Blanchard <anton@samba.org>
16154
16155 * gdb.arch/ppc64-atomic-inst.c: Remove.
16156 * gdb.arch/ppc64-atomic-inst.S: New file.
16157 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16158
16159 2014-03-31 Doug Evans <dje@google.com>
16160
16161 * gdb.base/print-symbol-loading-lib.c: New file.
16162 * gdb.base/print-symbol-loading-main.c: New file.
16163 * gdb.base/print-symbol-loading.exp: New file.
16164
16165 2014-03-31 Yao Qi <yao@codesourcery.com>
16166
16167 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16168
16169 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16170
16171 * gdb.ada/mi_dyn_arr: New testcase.
16172
16173 2014-03-27 Doug Evans <dje@google.com>
16174
16175 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16176
16177 2014-03-27 Yao Qi <yao@codesourcery.com>
16178
16179 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16180 if target is nios2-*-*.
16181
16182 2014-03-26 Yao Qi <yao@codesourcery.com>
16183
16184 * lib/gdb.exp (readline_is_used): New proc.
16185 * gdb.base/completion.exp: Move tests on command complete up.
16186 Skip the rest of tests if readline is not used.
16187 * gdb.ada/complete.exp: Skp the test if readline is not
16188 used.
16189 * gdb.base/filesym.exp: Likewise.
16190 * gdb.base/macscp.exp: Likewise.
16191 * gdb.base/readline-ask.exp: Likewise.
16192 * gdb.base/readline.exp: Likewise.
16193 * gdb.python/py-cmd.exp: Likewise.
16194 * gdb.trace/tfile.exp: Likewise.
16195
16196 2014-03-26 Yao Qi <yao@codesourcery.com>
16197
16198 * gdb.base/macscp.exp: Fix code format issues.
16199
16200 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16201
16202 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16203 * gdb.asm/powerpc64le.inc: New file.
16204
16205 2014-03-25 Pedro Alves <palves@redhat.com>
16206 Doug Evans <dje@google.com>
16207
16208 * gdb.base/source-execution.c: New file.
16209 * gdb.base/source-execution.exp: New file.
16210 * gdb.base/source-execution.gdb: New file.
16211
16212 2014-03-24 Doug Evans <dje@google.com>
16213
16214 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16215 using fission.
16216
16217 2014-03-24 Hui Zhu <hui@codesourcery.com>
16218 Pedro Alves <palves@redhat.com>
16219
16220 PR breakpoints/16101
16221 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16222 test pass/fail messages. Detect missing support for dprintf when
16223 breakpoints are actually inserted.
16224 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16225 breakpoints are actually inserted.
16226 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16227 fails.
16228
16229 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16230
16231 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16232
16233 2014-03-22 Doug Evans <xdje42@gmail.com>
16234
16235 * gdb.python/python.exp (python not supported): Verify multi-line
16236 python command issues an error.
16237 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16238 guile command issues an error.
16239
16240 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16241
16242 * gdb.threads/thread-specific.exp: Handle the lack of usable
16243 $this_breakpoint and $this_thread.
16244
16245 2014-03-21 Hui Zhu <hui@codesourcery.com>
16246
16247 * gdb.base/attach.exp (do_command_attach_tests): New.
16248
16249 2014-03-20 Tom Tromey <tromey@redhat.com>
16250 Pedro Alves <palves@redhat.com>
16251
16252 PR cli/15718
16253 * gdb.base/condbreak-call-false.c: New file.
16254 * gdb.base/condbreak-call-false.exp: New file.
16255
16256 2014-03-20 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16259 Delete.
16260 (block_signals, unblock_signals): Delete.
16261 (child_function_2, main): Remove references to deleted variable
16262 and functions.
16263
16264 2014-03-20 Pedro Alves <palves@redhat.com>
16265
16266 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16267 Use pthread_kill to signal thread 2.
16268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16269 Adjust to make the test send itself a signal rather than using the
16270 host's "kill" command.
16271
16272 2014-03-20 Pedro Alves <palves@redhat.com>
16273
16274 * gdb.threads/multiple-step-overs.c: New file.
16275 * gdb.threads/multiple-step-overs.exp: New file.
16276 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16277 Adjust expected infrun debug output.
16278
16279 2014-03-20 Pedro Alves <palves@redhat.com>
16280
16281 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16282 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16283
16284 2014-03-20 Pedro Alves <palves@redhat.com>
16285
16286 PR breakpoints/7143
16287 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16288 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16289 of gdb_test_multiple.
16290 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16291 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16292
16293 2014-03-20 Pedro Alves <palves@redhat.com>
16294
16295 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16296 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16297
16298 2014-03-19 Pedro Alves <palves@redhat.com>
16299
16300 * gdb.base/async.exp: Remove early return.
16301
16302 2014-03-19 Pedro Alves <palves@redhat.com>
16303
16304 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16305
16306 2014-03-19 Pedro Alves <palves@redhat.com>
16307
16308 * gdb.base/async.exp (test_background): Expect \r\n after
16309 "completed." in the fail pattern.
16310
16311 2014-03-19 Pedro Alves <palves@redhat.com>
16312
16313 * gdb.base/async.exp (test_background): New procedure.
16314 Use it for all background execution command tests.
16315
16316 2014-03-19 Pedro Alves <palves@redhat.com>
16317
16318 * gdb.base/async.exp: Use prepare_for_testing.
16319
16320 2014-03-19 Pedro Alves <palves@redhat.com>
16321
16322 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16323 the same line.
16324
16325 2014-03-19 Pedro Alves <palves@redhat.com>
16326
16327 * gdb.base/async.c (main): Add "jump here" and "until here" line
16328 marker comments.
16329 * gdb.base/async.exp (jump_here): New global.
16330 (jump& test): Use it.
16331 (until_here): New global.
16332 (until& test): Use it.
16333
16334 2014-03-19 Pedro Alves <palves@redhat.com>
16335
16336 * gdb.base/async.exp: Don't frob gdb_protocol.
16337
16338 2014-03-18 Doug Evans <xdje42@gmail.com>
16339
16340 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16341 Fix spelling of exec-done-display.
16342
16343 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16344
16345 PR gdb/15358
16346 * gdb.base/gdb-sigterm.c: New file.
16347 * gdb.base/gdb-sigterm.exp: New file.
16348
16349 2014-03-18 Pedro Alves <palves@redhat.com>
16350
16351 PR gdb/13860
16352 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16353 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16354 solib-event.
16355
16356 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16357
16358 * gdb.ada/pckd_arr_ren: New testcase.
16359
16360 2014-03-13 Doug Evans <xdje42@gmail.com>
16361
16362 PR guile/16612
16363 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16364 collect after discarding symbols.
16365
16366 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16367 Doug Evans <xdje42@gmail.com>
16368
16369 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16370 to history survives a gc.
16371
16372 2014-03-13 Pedro Alves <palves@redhat.com>
16373
16374 * gdb.base/default.exp: Don't test "target procfs".
16375
16376 2014-03-13 Pedro Alves <palves@redhat.com>
16377
16378 * gdb.base/default.exp: Update "target child" and "target procfs"
16379 tests to not expect "Unix".
16380
16381 2014-03-12 Tom Tromey <tromey@redhat.com>
16382
16383 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16384 New procs. Add target-async tests.
16385 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16386 Add target-async tests.
16387
16388 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16389
16390 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16391 'func_start' and 'func_end' for the beginning and end of the
16392 function code, respectively.
16393 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16394 'func_end' instead of 'func' and 'main'.
16395
16396 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16397
16398 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16399 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16400 generate the debug info assembler source.
16401
16402 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16403
16404 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16405 * gdb.dwarf2/arr-subrange.exp: Likewise.
16406 * gdb.dwarf2/dwz.exp: Likewise.
16407 * gdb.dwarf2/method-ptr.exp: Likewise.
16408 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16409 * gdb.dwarf2/subrange.exp: Likewise.
16410 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16411 * gdb.dwarf2/implptrpiece.exp: Likewise.
16412 * gdb.dwarf2/nostaticblock.exp: Likewise.
16413
16414 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16415
16416 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16417 directory to absolute path name arguments.
16418
16419 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16420
16421 * gdb.ada/tagged_access: New testcase.
16422
16423 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16424
16425 * gdb.btrace/data.exp: Update expected output.
16426
16427 2014-03-06 Yao Qi <yao@codesourcery.com>
16428
16429 * gdb.trace/pr16508.exp: New file.
16430
16431 2014-03-05 Pedro Alves <palves@redhat.com>
16432
16433 PR gdb/16575
16434 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16435 procedure.
16436 (top level): Adjust to use it. Add tests that exercise breakpoint
16437 interaction with the code-cache.
16438
16439 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16440
16441 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16442 test for 'history-append!'.
16443
16444 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16445
16446 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16447 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16448 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16449 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16450 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16451 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16452
16453 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16454
16455 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16456 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16457 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16458
16459 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16460
16461 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16462
16463 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16464
16465 * gdb.dwarf2/arr-stride.c: New file.
16466 * gdb.dwarf2/arr-stride.exp: New file.
16467
16468 2014-02-26 Pedro Alves <palves@redhat.com>
16469
16470 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16471 that won't ever trigger. Make sure that GDB reports the correct
16472 breakpoint that caused the stop.
16473
16474 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16475
16476 PR gdb/16626
16477 * gdb.base/auto-load-script: New file.
16478 * gdb.base/auto-load.c: New file.
16479 * gdb.base/auto-load.exp: New file.
16480
16481 PR gdb/16626
16482 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16483
16484 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16485
16486 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16487 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16488
16489 2014-02-24 Doug Evans <dje@google.com>
16490
16491 * lib/gdb.exp (run_on_host): Log error output if program fails.
16492
16493 2014-02-21 Pedro Alves <palves@redhat.com>
16494
16495 * gdb.threads/step-after-sr-lock.c: Rename to ...
16496 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16497 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16498 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16499 ... this.
16500
16501 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16502
16503 PR tdep/16397
16504 * gdb.arch/amd64-stap-special-operands.exp: New file.
16505 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16506 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16507 * gdb.arch/amd64-stap-triplet.S: Likewise.
16508 * gdb.arch/amd64-stap-triplet.c: Likewise.
16509
16510 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16511
16512 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16513 in .section pseudo-op.
16514
16515 2014-02-20 lin zuojian <manjian2006@gmail.com>
16516 Joel Brobecker <brobecker@adacore.com>
16517 Doug Evans <xdje42@gmail.com>
16518
16519 PR symtab/16581
16520 * gdb.dwarf2/dw2-icycle.S: New file.
16521 * gdb.dwarf2/dw2-icycle.c: New file.
16522 * gdb.dwarf2/dw2-icycle.exp: New file.
16523
16524 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16525
16526 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16527 operations on gdb.Value objects.
16528 * gdb.python/py-value-cc.exp: Add new test to test operations on
16529 gdb.Value objects.
16530
16531 2014-02-18 Doug Evans <dje@google.com>
16532
16533 * Makefile.in (TESTS): New variable.
16534 (expanded_tests, expanded_tests_or_none): New variables
16535 (check-single): Pass $(expanded_tests_or_none) to runtest.
16536 (check-parallel): Only run tests in $(TESTS) if non-empty.
16537 (check/no-matching-tests-found): New rule.
16538 * README: Document TESTS makefile variable.
16539
16540 2014-02-18 Doug Evans <dje@google.com>
16541
16542 * Makefile.in (check-parallel): rm -rf outputs temp.
16543
16544 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16545
16546 Fix "ERROR: no fileid for" in the testsuite.
16547 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16548
16549 2014-02-12 Doug Evans <dje@google.com>
16550
16551 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16552 (MISCELLANEOUS): New variable.
16553 (clean): rm -rf $(MISCELLANEOUS).
16554 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16555 dwp live in the same directory as symlinks, with each symlink pointed
16556 to a differently named file in a different directory.
16557
16558 2014-02-11 Doug Evans <dje@google.com>
16559
16560 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16561 of Tcl file commands.
16562
16563 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16564
16565 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16566 "kill -SIGUSR1 -1".
16567
16568 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16569
16570 * gdb.ada/tick_length_array_enum_idx: New testcase.
16571
16572 2014-02-10 Doug Evans <xdje42@gmail.com>
16573
16574 * configure.ac (AC_OUTPUT): Add gdb.guile.
16575 * configure: Regenerate.
16576 * lib/gdb-guile.exp: New file.
16577 * lib/gdb.exp (get_target_charset): New function.
16578 * gdb.base/help.exp: Update expected output from "apropos apropos".
16579 * gdb.guile/Makefile.in: New file.
16580 * gdb.guile/guile.exp: New file.
16581 * gdb.guile/scm-arch.c: New file.
16582 * gdb.guile/scm-arch.exp: New file.
16583 * gdb.guile/scm-block.c: New file.
16584 * gdb.guile/scm-block.exp: New file.
16585 * gdb.guile/scm-breakpoint.c: New file.
16586 * gdb.guile/scm-breakpoint.exp: New file.
16587 * gdb.guile/scm-disasm.c: New file.
16588 * gdb.guile/scm-disasm.exp: New file.
16589 * gdb.guile/scm-equal.c: New file.
16590 * gdb.guile/scm-equal.exp: New file.
16591 * gdb.guile/scm-error.exp: New file.
16592 * gdb.guile/scm-error.scm: New file.
16593 * gdb.guile/scm-frame-args.c: New file.
16594 * gdb.guile/scm-frame-args.exp: New file.
16595 * gdb.guile/scm-frame-args.scm: New file.
16596 * gdb.guile/scm-frame-inline.c: New file.
16597 * gdb.guile/scm-frame-inline.exp: New file.
16598 * gdb.guile/scm-frame.c: New file.
16599 * gdb.guile/scm-frame.exp: New file.
16600 * gdb.guile/scm-generics.exp: New file.
16601 * gdb.guile/scm-gsmob.exp: New file.
16602 * gdb.guile/scm-iterator.c: New file.
16603 * gdb.guile/scm-iterator.exp: New file.
16604 * gdb.guile/scm-math.c: New file.
16605 * gdb.guile/scm-math.exp: New file.
16606 * gdb.guile/scm-objfile-script-gdb.in: New file.
16607 * gdb.guile/scm-objfile-script.c: New file.
16608 * gdb.guile/scm-objfile-script.exp: New file.
16609 * gdb.guile/scm-objfile.c: New file.
16610 * gdb.guile/scm-objfile.exp: New file.
16611 * gdb.guile/scm-ports.exp: New file.
16612 * gdb.guile/scm-pretty-print.c: New file.
16613 * gdb.guile/scm-pretty-print.exp: New file.
16614 * gdb.guile/scm-pretty-print.scm: New file.
16615 * gdb.guile/scm-section-script.c: New file.
16616 * gdb.guile/scm-section-script.exp: New file.
16617 * gdb.guile/scm-section-script.scm: New file.
16618 * gdb.guile/scm-symbol.c: New file.
16619 * gdb.guile/scm-symbol.exp: New file.
16620 * gdb.guile/scm-symtab-2.c: New file.
16621 * gdb.guile/scm-symtab.c: New file.
16622 * gdb.guile/scm-symtab.exp: New file.
16623 * gdb.guile/scm-type.c: New file.
16624 * gdb.guile/scm-type.exp: New file.
16625 * gdb.guile/scm-value-cc.cc: New file.
16626 * gdb.guile/scm-value-cc.exp: New file.
16627 * gdb.guile/scm-value.c: New file.
16628 * gdb.guile/scm-value.exp: New file.
16629 * gdb.guile/source2.scm: New file.
16630 * gdb.guile/types-module.cc: New file.
16631 * gdb.guile/types-module.exp: New file.
16632
16633 2014-02-10 Yao Qi <yao@codesourcery.com>
16634
16635 PR testsuite/16543
16636 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16637 * configure: Regenerated.
16638 * Makefile.in: New file.
16639
16640 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16641
16642 * gdb.python/py-framefilter.exp: Fix typo.
16643
16644 2014-02-08 Yao Qi <yao@codesourcery.com>
16645
16646 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16647 that no =breakpoint-modified is emitted when breakpoints are
16648 modified through MI commands.
16649
16650 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16651 Pedro Alves <palves@redhat.com>
16652
16653 * gdb.threads/step-after-sr-lock.c: New file.
16654 * gdb.threads/step-after-sr-lock.exp: New file.
16655
16656 2014-02-07 Pedro Alves <palves@redhat.com>
16657
16658 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16659
16660 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16661
16662 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16663 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16664
16665 2014-02-06 Doug Evans <xdje42@gmail.com>
16666
16667 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16668 output.
16669
16670 * gdb.gdb/python-interrupts.exp: New file.
16671
16672 2014-02-05 Yao Qi <yao@codesourcery.com>
16673
16674 * gdb.trace/report.exp (use_collected_data): Test the output
16675 of "info threads" and "info inferiors".
16676
16677 2014-02-05 Yao Qi <yao@codesourcery.com>
16678
16679 Revert this patch:
16680
16681 2013-05-24 Yao Qi <yao@codesourcery.com>
16682
16683 * gdb.trace/tfile.exp: Test inferior and thread.
16684
16685 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16686
16687 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16688 on a function.
16689 * gdb.base/step-bt.c: Call hello via function pointer to make
16690 sure its first instruction is executed on powerpc64le-linux.
16691
16692 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16693
16694 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16695
16696 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16697
16698 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16699 of the test patterns for use on little-endian systems.
16700
16701 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16702
16703 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16704 (decimal_vector): Fix for little-endian.
16705
16706 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16707
16708 * gdb.arch/sparc-sysstep.exp: New file.
16709 * gdb.arch/sparc-sysstep.c: Likewise.
16710
16711 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16712
16713 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16714
16715 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16716
16717 2014-01-23 Tom Tromey <tromey@redhat.com>
16718
16719 * gdb.ada/array_char_idx: New testcase.
16720
16721 2014-01-23 Tom Tromey <tromey@redhat.com>
16722
16723 PR python/16487:
16724 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16725 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16726 classes.
16727
16728 2014-01-23 Tom Tromey <tromey@redhat.com>
16729
16730 PR python/16491:
16731 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16732 string from an inferior frame.
16733 * gdb.python/py-framefilter-mi.exp: Update.
16734
16735 2014-01-22 Doug Evans <dje@google.com>
16736
16737 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16738
16739 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16740
16741 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16742
16743 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16744
16745 * gdb.trace/entry-values.exp: Remove excess space character from
16746 regex patterns. Handle s390 call instruction.
16747
16748 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16749
16750 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16751 define "*_start" label. Make "name" static.
16752 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16753 ${name} by references to ${name}_start.
16754
16755 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16756
16757 * gdb.base/info-macros.exp: Remove "debug" from the compile
16758 options.
16759
16760 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16761
16762 * gdb.dlang/demangle.exp: New file.
16763
16764 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16765
16766 * gdb.dlang/primitive-types.exp: New file.
16767
16768 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16769
16770 * configure.ac: Create gdb.dlang/Makefile.
16771 * configure: Regenerate.
16772 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16773 * gdb.dlang/Makefile.in: New file.
16774 * lib/d-support.exp: New file.
16775 * lib/gdb.exp (skip_d_tests): New proc.
16776
16777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16778
16779 * gdb.btrace/delta.exp: Check reverse stepi.
16780 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16781 * gdb.btrace/finish.exp: New.
16782 * gdb.btrace/next.exp: New.
16783 * gdb.btrace/nexti.exp: New.
16784 * gdb.btrace/record_goto.c: Add comments.
16785 * gdb.btrace/step.exp: New.
16786 * gdb.btrace/stepi.exp: New.
16787 * gdb.btrace/multi-thread-step.c: New.
16788 * gdb.btrace/multi-thread-step.exp: New.
16789 * gdb.btrace/rn-dl-bind.c: New.
16790 * gdb.btrace/rn-dl-bind.exp: New.
16791 * gdb.btrace/data.c: New.
16792 * gdb.btrace/data.exp: New.
16793 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16794
16795 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16796
16797 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16798 * gdb.btrace/exception.exp: Update.
16799 * gdb.btrace/instruction_history.exp: Update.
16800 * gdb.btrace/record_goto.exp: Update.
16801 * gdb.btrace/tailcall.exp: Update.
16802 * gdb.btrace/unknown_functions.exp: Update.
16803 * gdb.btrace/delta.exp: New.
16804
16805 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16806
16807 * gdb.btrace/record_goto.exp: Add backtrace test.
16808 * gdb.btrace/tailcall.exp: Add backtrace test.
16809
16810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16811
16812 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16813 * gdb.btrace/record_goto.c: New.
16814 * gdb.btrace/record_goto.exp: New.
16815 * gdb.btrace/x86-record_goto.S: New.
16816
16817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16818
16819 * gdb.btrace/function_call_history.exp: Update tests.
16820 * gdb.btrace/instruction_history.exp: Update tests.
16821
16822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16823
16824 * gdb.btrace/function_call_history.exp: Fix expected field
16825 order for "record function-call-history".
16826 Add new tests for "record function-call-history /c".
16827 * gdb.btrace/exception.cc: New.
16828 * gdb.btrace/exception.exp: New.
16829 * gdb.btrace/tailcall.exp: New.
16830 * gdb.btrace/x86-tailcall.S: New.
16831 * gdb.btrace/x86-tailcall.c: New.
16832 * gdb.btrace/unknown_functions.c: New.
16833 * gdb.btrace/unknown_functions.exp: New.
16834 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16835
16836 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16837
16838 * gdb.btrace/instruction_history.exp: Update.
16839 * gdb.btrace/function_call_history.exp: Update.
16840
16841 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16842
16843 * gdb.btrace/function_call_history.exp: Fix expected function
16844 trace.
16845 * gdb.btrace/instruction_history.exp: Initialize traced.
16846 Remove traced_functions.
16847
16848 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16849
16850 * gdb.btrace/function_call_history.exp: Update
16851 * gdb.btrace/instruction_history.exp: Update.
16852
16853 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16854
16855 * gdb.btrace/enable.exp: Update expected text.
16856
16857 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16858
16859 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16860 bytes.
16861
16862 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16863
16864 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16865
16866 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16867
16868 * lib/gdb.exp (supports_process_record): Return true for
16869 arm*-linux*. (supports_reverse): Likewise.
16870
16871 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16872
16873 PR python/15464
16874 PR python/16113
16875 * gdb.python/py-type.c: Enhance test case.
16876 * gdb.python/py-value-cc.cc: Likewise
16877 * gdb.python/py-type.exp: Add new tests.
16878 * gdb.python/py-value-cc.exp: Likewise
16879
16880 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16881 Pedro Alves <palves@redhat.com>
16882
16883 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16884 Make "name" extern.
16885 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16886 references to ${name}_start by references to ${name}.
16887
16888 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16889
16890 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16891
16892 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16893
16894 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16895
16896 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16897 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.mi/mi-info-os.exp: Connect to the target with
16900 mi_gdb_target_load.
16901
16902 2014-01-08 Pedro Alves <palves@redhat.com>
16903
16904 * gdb.threads/reconnect-signal.c: New file.
16905 * gdb.threads/reconnect-signal.exp: New file.
16906
16907 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16908
16909 * gdb.base/source-dir.exp: New file.
16910
16911 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16912
16913 * gdb.ada/mi_interface: New testcase.
16914
16915 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16916
16917 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16918 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16919 gdb.ada/pp-rec-component/pck.ads: New files.
16920
16921 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16922
16923 * gdb.python/py-pp-integral.c: New file.
16924 * gdb.python/py-pp-integral.py: New file.
16925 * gdb.python/py-pp-integral.exp: New file.
16926
16927 For older changes see ChangeLog-1993-2013.
16928 \f
16929 ;; Local Variables:
16930 ;; mode: change-log
16931 ;; left-margin: 8
16932 ;; fill-column: 74
16933 ;; version-control: never
16934 ;; End:
16935
16936 Copyright 2014-2019 Free Software Foundation, Inc.
16937 Copying and distribution of this file, with or without modification,
16938 are permitted provided the copyright notice and this notice are preserved.
This page took 0.398913 seconds and 4 git commands to generate.