Back out earlier Ada exception change
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12019-10-02 Pedro Alves <palves@redhat.com>
2 Andrew Burgess <andrew.burgess@embecosm.com>
3
4 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5 "print-file-var.h".
6 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7 (get_version_1): Print this_version_id and its address.
8 Add extern "C" wrappers around interface functions.
9 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
10 "print-file-var.h".
11 (this_version_id) Use ATTRIBUTE_VISIBILITY.
12 (get_version_2): Print this_version_id and its address.
13 Add extern "C" wrappers around interface functions.
14 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
15 <stddef.h> and "print-file-var.h".
16 Add extern "C" wrappers around interface functions.
17 [VERSION_ID_MAIN] (this_version_id): Define.
18 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
19 * gdb.base/print-file-var.h: Add some #defines to simplify setting
20 up extern "C" blocks.
21 * gdb.base/print-file-var.exp (test): New, factored out from top
22 level.
23 (top level): Test all combinations of attribute hidden or not,
24 dlopen or not, and this_version_id symbol in main file or not.
25 Compile tests as both C++ and C, make test names unique.
26
272019-10-01 Tom Tromey <tom@tromey.com>
28
29 * gdb.base/style.exp: Test "show logging filename".
30
312019-10-01 Tom Tromey <tom@tromey.com>
32
33 * lib/gdb-utils.exp (style): Handle "metadata" argument.
34 * gdb.base/style.exp: Add metadata style test.
35
362019-10-01 Tom Tromey <tom@tromey.com>
37
38 * gdb.base/style.exp: Test "pwd".
39
402019-10-01 Tom Tromey <tom@tromey.com>
41
42 * gdb.base/style.exp: Update tests.
43
442019-10-01 Andreas Arnez <arnez@linux.ibm.com>
45
46 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
47 'six' to unsigned.
48 (s1): Initialize fields 'four' and 'six' instead of 'three' and
49 'five'. Use an all-ones bit pattern for each.
50 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
51 to its changed values.
52
532019-09-30 Tom Tromey <tromey@adacore.com>
54
55 * gdb.rust/traits.rs: Disable all warnings.
56
572019-09-29 Tom de Vries <tdevries@suse.de>
58
59 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
60
612019-09-29 Tom de Vries <tdevries@suse.de>
62
63 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
64
652019-09-27 Tom de Vries <tdevries@suse.de>
66
67 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
68
692019-09-27 Tom de Vries <tdevries@suse.de>
70
71 PR record/23188
72 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
73
742019-09-26 Tom Tromey <tromey@adacore.com>
75
76 * gdb.ada/py_taft.exp: New file.
77 * gdb.ada/py_taft/main.adb: New file.
78 * gdb.ada/py_taft/pkg.adb: New file.
79 * gdb.ada/py_taft/pkg.ads: New file.
80
812019-09-24 Tom de Vries <tdevries@suse.de>
82
83 PR gdb/24598
84 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
85
862019-09-22 Tom de Vries <tdevries@suse.de>
87
88 * gdb.base/restore.exp: Allow register variables to be optimized out at
89 -O0.
90
912019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
92
93 * gdb.arch/spu-info.exp: Remove file.
94 * gdb.arch/spu-info.c: Remove file.
95 * gdb.arch/spu-ls.exp: Remove file.
96 * gdb.arch/spu-ls.c: Remove file.
97
98 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
99 * gdb.asm/spu.inc: Remove file.
100
101 * gdb.base/dump.exp: Remove support for spu*-*-*.
102 * gdb.base/stack-checking.exp: Likewise.
103 * gdb.base/overlays.exp: Likewise.
104 * gdb.base/ovlymgr.c: Likewise.
105 * gdb.base/spu.ld: Remove file.
106
107 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
108 * gdb.cp/cpexprs.exp: Likewise.
109 * gdb.cp/exception.exp: Likewise.
110 * gdb.cp/gdb2495.exp: Likewise.
111 * gdb.cp/mb-templates.exp: Likewise.
112 * gdb.cp/pr9167.exp: Likewise.
113 * gdb.cp/userdef.exp: Likewise.
114
115 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
116
117 * gdb.cell: Remove directory.
118 * lib/cell.exp: Remove file.
119
1202019-09-19 Tom de Vries <tdevries@suse.de>
121
122 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
123
1242019-09-19 Tom de Vries <tdevries@suse.de>
125
126 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
127
1282019-09-19 Tom de Vries <tdevries@suse.de>
129
130 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
131 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
132 (gdb_target_cmd): ... here.
133 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
134 value 2.
135
1362019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * gdb.base/source-dir.exp: Avoid having directory names in test
139 names.
140
1412019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
142
143 * gdb.base/source-dir.exp: Add extra test for mapped compilation
144 directory.
145
1462019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 * gdb.base/list-missing-source.exp: New file.
149
1502019-09-14 Tom de Vries <tdevries@suse.de>
151
152 PR teststuite/24599
153 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
154 * lib/ada.exp (gnatmake_version_at_least): New proc.
155
1562019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
157
158 * gdb.base/maint.exp: Use exec_has_index_section.
159
1602019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * gdb.base/maint.exp: Add test for 'maint info sections'.
163
1642019-09-12 Tom de Vries <tdevries@suse.de>
165
166 * gdb.base/store.exp: Allow register variables to be optimized out at
167 -O0.
168
1692019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
170
171 * gdb.ada/rdv_wait.exp: Update to new task names.
172 * gdb.base/task_switch_in_core.exp: Likewise.
173 * gdb.base/info_sources_base.c: Likewise.
174
1752019-09-10 Tom Tromey <tromey@adacore.com>
176
177 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
178
1792019-09-10 Tom Tromey <tromey@adacore.com>
180
181 * gdb.ada/dgopt.exp: New file.
182 * gdb.ada/dgopt/x.adb: New file.
183
1842019-09-08 Tom Tromey <tom@tromey.com>
185
186 * gdb.tui/resize.exp: Remove setup_xfail.
187 * gdb.tui/regs.exp: Remove setup_xfail.
188 * gdb.tui/basic.exp: Remove setup_xfail.
189
1902019-09-06 David Blaikie <dblaikie@gmail.com>
191
192 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
193 * gdb.cp/cplabel.exp: Ditto.
194 * gdb.linespec/ls-errs.exp: Ditto.
195
1962019-09-05 Tom de Vries <tdevries@suse.de>
197
198 * lib/gdb.exp (cmp_file_string): New proc.
199 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
200 runto_main. Verify save breakpoints output.
201
2022019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
203
204 * gdb.base/info-var.exp: Test info variables without running
205 to main, to avoid expect's buffer overflow.
206
2072019-09-03 Tom Tromey <tromey@adacore.com>
208
209 * gdb.ada/bias.exp: New file.
210 * gdb.ada/bias/bias.adb: New file.
211 * gdb.ada/print_chars.exp: Add regression test.
212 * gdb.ada/print_chars/foo.adb (My_Character): New type.
213 (MC): New variable.
214
2152019-08-29 Sandra Loosemore <sandra@codesourcery.com>
216
217 * gdb.base/argv0-symlink.exp: Run only on native target
218 and local host.
219
2202019-08-29 Tom de Vries <tdevries@suse.de>
221
222 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
223 diverse debug info.
224 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
225
2262019-08-28 Tom de Vries <tdevries@suse.de>
227
228 * gdb.base/info-var.exp: Allow info variables to print info for files
229 other than info-var-f1.c and info-var-f2.c.
230
2312019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.fortran/info-types.exp: Add module.
234 * gdb.fortran/info-types.f90: Update expected results.
235
2362019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.fortran/info-types.exp: New file.
239 * gdb.fortran/info-types.f90: New file.
240 * lib/fortran.exp (fortran_character1): New proc.
241
2422019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
245 functions'. Reindent as needed.
246 * gdb.base/info-var-f1.c: New file.
247 * gdb.base/info-var-f2.c: New file.
248 * gdb.base/info-var.exp: New file.
249 * gdb.base/info-var.h: New file.
250
2512019-08-26 Tom de Vries <tdevries@suse.de>
252
253 PR c++/24852
254 * gdb.cp/no-libstdcxx-probe.exp: New test.
255
2562019-08-26 Tom de Vries <tdevries@suse.de>
257
258 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
259 * tests need to be skipped.
260 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
261 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
262 mi_skip_libstdcxx_probe_tests.
263
2642019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
265
266 * gdb.python/py-xmethods.exp: Use raw strings when passing
267 arguments to SimpleXMethodMatcher.
268
2692019-08-22 Tom de Vries <tdevries@suse.de>
270
271 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
272 more informative.
273
2742019-08-21 Pedro Alves <palves@redhat.com>
275
276 * gdb.base/with.exp: Test "with" with no arguments.
277
2782019-08-21 Tom de Vries <tdevries@suse.de>
279
280 * gdb.base/gdb-caching-proc.exp: Sort files.
281
2822019-08-20 Tom de Vries <tdevries@suse.de>
283
284 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
285 compilation.
286
2872019-08-16 Tom de Vries <tdevries@suse.de>
288
289 * gdb.base/compare-sections.exp ("after run to main"): Allow
290 mismatched read-only sections for PIE executables.
291
2922019-08-16 Tom Tromey <tom@tromey.com>
293
294 * lib/tuiterm.exp (_csi_Z): New proc.
295 * gdb.tui/basic.exp: Update window positions.
296 * gdb.tui/empty.exp: Update window positions.
297
2982019-08-15 Sandra Loosemore <sandra@codesourcery.com>
299
300 * gdb.base/examine-backward.exp: Correct regexp for
301 "examine 3 bytes backward from ${address_zero}".
302
3032019-08-15 Tom Tromey <tom@tromey.com>
304
305 * gdb.tui/empty.exp: Enable resizing tests.
306
3072019-08-15 Tom Tromey <tromey@adacore.com>
308
309 * gdb.ada/char_enum.exp: Add regression tests.
310 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
311 and '0'.
312 (Char, Gchar): Update.
313 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
314
3152019-08-15 Christian Biesinger <cbiesinger@google.com>
316
317 * gdb.python/python.exp: Expect a leading underscore on
318 GdbOutput{,Error}File.
319
3202019-08-15 Sandra Loosemore <sandra@codesourcery.com>
321
322 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
323 Windows host.
324
3252019-08-15 Sandra Loosemore <sandra@codesourcery.com>
326
327 * gdb.base/batch-preserve-term-settings.exp
328 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
329
3302019-08-15 Christian Biesinger <cbiesinger@google.com>
331
332 * lib/gdb.exp: When running on a mingw target, replace
333 /x/ with x:/.
334
3352019-08-14 Alan Hayward <alan.hayward@arm.com>
336
337 * gdb.arch/aarch64-prologue.c: New test.
338 * gdb.arch/aarch64-prologue.exp: New file.
339
3402019-08-13 Tom de Vries <tdevries@suse.de>
341
342 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
343 Thread.
344
3452019-08-13 Sandra Loosemore <sandra@codesourcery.com>
346
347 * gdb.python/py-completion.exp: Download the .py file to the host
348 and use its host pathname. Conditionalize tests that use
349 tab completion and manipulate files on the build machine.
350 * gdb.python/py-events.exp: Download the .py file to the host
351 and use its host pathname.
352 * gdb.python/py-evsignal.exp: Likewise.
353 * gdb.python/py-evthreads.exp: Likewise.
354 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
355 pathname syntax.
356 * gdb.python/py-framefilter.exp: Download the .py file to the right
357 place on the host. Match Windows pathname syntax.
358 * gdb.python/py-mi-var-info-path-expression.exp: Download the
359 .py file to the host and use its host pathname.
360 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
361 * gdb.python/py-objfile.exp: Expect a host pathname, not a
362 build pathname. Skip symlink test on Windows host. Add missing
363 newline at end of file.
364 * gdb.python/py-pp-maint.exp: Download the .py file to the host
365 and use its host pathname.
366 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
367 * gdb.python/py-section-script.exp: Use host location of binfile
368 on safe-path. Use correct path separator on Windows host.
369 Reorder alternatives in gdb_test_multiple to prevent matching
370 the wrong alternative on success.
371 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
372
3732019-08-12 Patrick Palka <patrick@parcs.ath.cx>
374
375 * gdb.gdb/selftest.exp (test_with_self): Update test to now
376 expect the GDB inferior to no longer immediately stop after
377 being resumed with "signal SIGINT".
378
3792019-08-09 Sandra Loosemore <sandra@codesourcery.com>
380
381 * gdb.linespec/break-ask.exp: Generalize regexps to match
382 Windows pathnames too.
383
3842019-08-08 Tom de Vries <tdevries@suse.de>
385
386 PR testsuite/24862
387 * lib/tuiterm.exp (_accept): Fix CSI regexp.
388
3892019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
390
391 * gdb.base/style.exp: Update tests for help doc new invariants.
392 * gdb.base/help.exp: Likewise.
393
3942019-08-06 Tom Tromey <tom@tromey.com>
395
396 * gdb.base/style.exp: Add disassemble test.
397 * gdb.base/style.c (some_called_function): New function.
398 (main): Use it.
399
4002019-08-05 Christian Biesinger <cbiesinger@google.com>
401
402 * gdb.python/py-block.exp: Test dictionary access on blocks.
403
4042019-08-05 Simon Marchi <simon.marchi@efficios.com>
405
406 PR gdb/24863
407 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
408 -list-thread-groups --available test when running under
409 check-read1.
410
4112019-08-05 Tom de Vries <tdevries@suse.de>
412
413 PR testsuite/24863
414 * lib/gdb.exp (with_read1_timeout_factor): New proc.
415 * gdb.base/help.exp: Use with_read1_timeout_factor.
416 * gdb.base/info-macros.exp: Same.
417 * gdb.cp/nested-types.exp: Same.
418
4192019-08-05 Tom de Vries <tdevries@suse.de>
420
421 * lib/gdb.exp (version_at_least): Factor out of ...
422 (tcl_version_at_least): ... here.
423 (gdb_compile): Fail if pie results in non-PIE executable.
424 (readelf_version, readelf_prints_pie): New proc.
425 (exec_is_pie): Return -1 if unknown.
426
4272019-08-05 Tom de Vries <tdevries@suse.de>
428
429 * lib/gdb.exp (tcl_version_at_least): Fix typo.
430
4312019-08-04 Sandra Loosemore <sandra@codesourcery.com>
432
433 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
434
4352019-08-04 Sandra Loosemore <sandra@codesourcery.com>
436
437 * lib/completion-support.exp (test_gdb_complete_none): Skip
438 tab completion tests if no readline support.
439 (test_gdb_complete_unique_re): Likewise.
440 (test_gdb_complete_multiple): Likewise.
441
4422019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
443
444 * gdb.base/info_sources.exp: New file.
445 * gdb.base/info_sources.c: New file.
446 * gdb.base/info_sources_base.c: New file.
447
4482019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
449
450 * gdb.base/batch-exit-status.exp: Call test_exit_status with
451 prefix argument.
452 (test_exit_status): Add prefix argument.
453
4542019-08-01 Tom de Vries <tdevries@suse.de>
455
456 PR testsuite/24863
457 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
458 calling exp_continue for new thread and thread exited messages.
459
4602019-08-01 Tom de Vries <tdevries@suse.de>
461
462 PR testsuite/24863
463 * gdb.base/structs.exp: Fix check-read1 timeout using
464 gdb_test_sequence.
465 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
466
4672019-08-01 Tom de Vries <tdevries@suse.de>
468
469 PR testsuite/24863
470 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
471 line.
472
4732019-08-01 Tom de Vries <tdevries@suse.de>
474
475 PR testsuite/24863
476 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
477
4782019-07-30 Tom Tromey <tromey@adacore.com>
479
480 * gdb.ada/display_nested.exp: New file.
481 * gdb.ada/display_nested/foo.adb: New file.
482 * gdb.ada/display_nested/pack.adb: New file.
483 * gdb.ada/display_nested/pack.ads: New file.
484
4852019-07-30 Christian Biesinger <cbiesinger@google.com>
486
487 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
488 namespace.
489 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
490
4912019-07-30 Tom de Vries <tdevries@suse.de>
492
493 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
494 instead.
495
4962019-07-30 Tom de Vries <tdevries@suse.de>
497
498 PR testsuite/24834
499 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
500 (exec_is_pie): New proc.
501
5022019-07-29 Christian Biesinger <cbiesinger@google.com>
503
504 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
505
5062019-07-29 Christian Biesinger <cbiesinger@google.com>
507
508 * gdb.python/py-objfile.c: Add global and static vars.
509 * gdb.python/py-objfile.exp: Test new functions Objfile.
510 lookup_global_symbol and lookup_static_symbol.
511
5122019-07-29 Tom Tromey <tom@tromey.com>
513
514 * lib/tuiterm.exp (Term::_csi_@): New proc.
515 (Term::_csi_X): Don't move cursor.
516
5172019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
518
519 * gdb.base/options.exp: Update backtrace - completion to
520 new option -frame-info.
521 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
522 Test new 'set print frame-info'. Test backtrace -frame-info
523 overriding 'set print frame-info'.
524 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
525 Test new 'set print frame-info'.
526 Verify consistency of backtrace with and without filters, with and
527 without -no-filters.
528 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
529 default.
530
5312019-07-29 Tom de Vries <tdevries@suse.de>
532
533 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
534 no arguments".
535
5362019-07-29 Tom de Vries <tdevries@suse.de>
537
538 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
539 is a substring of the first for "complete non-unique file name".
540
5412019-07-29 Tom de Vries <tdevries@suse.de>
542
543 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
544 with ".*".
545
5462019-07-29 Tom de Vries <tdevries@suse.de>
547
548 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
549 Pass prompt_regexp parameter to gdb_test_multiple calls.
550
5512019-07-29 Tom de Vries <tdevries@suse.de>
552
553 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
554 print registers" regexps.
555
5562019-07-29 Tom de Vries <tdevries@suse.de>
557
558 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
559
5602019-07-29 Tom de Vries <tdevries@suse.de>
561
562 PR gdb/24855
563 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
564 (skip_python_tests_prompt): Add prompt_regexp argument to
565 gdb_test_multiple calls.
566
5672019-07-27 Tom Tromey <tom@tromey.com>
568
569 * gdb.tui/main.exp: New file.
570
5712019-07-27 Tom Tromey <tom@tromey.com>
572
573 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
574 optional.
575 * gdb.tui/empty.exp: New file.
576
5772019-07-27 Tom Tromey <tom@tromey.com>
578
579 * lib/tuiterm.exp (spawn): New proc.
580 (Term::resize): New proc.
581 * gdb.tui/resize.exp: New file.
582
5832019-07-27 Tom Tromey <tom@tromey.com>
584
585 * gdb.tui/list.exp: New file.
586
5872019-07-27 Tom Tromey <tom@tromey.com>
588
589 * gdb.tui/regs.exp: New file.
590
5912019-07-27 Tom Tromey <tom@tromey.com>
592
593 * gdb.tui/basic.exp: Add "layout split" test.
594
5952019-07-27 Tom Tromey <tom@tromey.com>
596
597 * gdb.tui/basic.exp: Add "layout asm" test.
598
5992019-07-27 Tom Tromey <tom@tromey.com>
600
601 * lib/tuiterm.exp: New file.
602 * gdb.tui/basic.exp: New file.
603
6042019-07-27 Kevin Buettner <kevinb@redhat.com>
605
606 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
607 Enable tests associated with this flag. Adjust regex
608 referencing "foo_low" to now refer to "foo_cold" instead.
609
6102019-07-27 Kevin Buettner <kevinb@redhat.com>
611
612 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
613 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
614 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
615 foo_cold. Revise comments to match.
616 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
617 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
618 were wrapped into this proc; Call do_test in loop from outermost
619 level.
620 (foo_low): Rename all occurrences to "foo_cold".
621 (backtrace from baz): New test.
622 (x2/i foo_cold): New test.
623 (info line *foo_cold): New test.
624
6252019-07-26 Tom de Vries <tdevries@suse.de>
626
627 * gdb.arch/i386-pkru.exp: Fix unterminated string.
628
6292019-07-25 Tom de Vries <tdevries@suse.de>
630
631 PR testsuite/24830
632 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
633 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
634 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
635 (skip_libstdcxx_probe_tests): ... here.
636 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
637
6382019-07-24 Tom de Vries <tdevries@suse.de>
639
640 PR testsuite/24807
641 * gdb.objc/basicclass.m: Include stdio.h.
642 * gdb.objc/nondebug.m: Same.
643 * gdb.objc/objcdecode.m: Same.
644
6452019-07-24 Tom de Vries <tdevries@suse.de>
646
647 PR testsuite/24612
648 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
649 additional_flags.
650
6512019-07-24 Tom de Vries <tdevries@suse.de>
652
653 PR testsuite/24831
654 * gdb.multi/tids.exp: Update error messages for info threads.
655
6562019-07-24 Tom de Vries <tdevries@suse.de>
657
658 * gdb.base/info-types.exp: Allow info types to print info for more than
659 one file.
660
6612019-07-23 Tom de Vries <tdevries@suse.de>
662
663 PR testsuite/24842
664 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
665 gdb_spawn_with_cmdline_opts.
666
6672019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
668
669 * gdb.arch/arm-cmse-sgstubs.c: New test.
670 * gdb.arch/arm-cmse-sgstubs.exp: New file.
671
6722019-07-23 Tom de Vries <tdevries@suse.de>
673
674 PR testsuite/24711
675 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
676 issuing next command.
677
6782019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
679
680 * gdb.ada/info_auto_lang.exp: Update expected results.
681 * gdb.base/info-types.c: Add additional types to check.
682 * gdb.base/info-types.exp: Update expected results.
683
6842019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
685
686 * gdb.base/info-types.c: New file.
687 * gdb.base/info-types.exp: New file.
688
6892019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * gdb.arch/riscv-bp-infcall.c: New file.
692 * gdb.arch/riscv-bp-infcall.exp: New file.
693
6942019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 PR breakpoints/24541
697 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
698
6992019-07-14 Tom de Vries <tdevries@suse.de>
700
701 PR testsuite/24760
702 * gdb.objc/basicclass.exp: Fix unterminated string.
703
7042019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
705 Andrew Burgess <andrew.burgess@embecosm.com>
706
707 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
708 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
709 negative bounds.
710 * gdb.fortran/vla-value.exp: Print elements of an array with
711 negative bounds.
712 * gdb.fortran/vla.f90: Setup an array with negative bounds for
713 testing.
714
7152019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
716
717 * gdb.base/options.exp (expect_string): Dequote strings in
718 results.
719 (test-string): Test strings with different quoting and reindent.
720
7212019-07-10 Tom Tromey <tromey@adacore.com>
722
723 * gdb.ada/mi_ex_cond.exp: Update expected results.
724 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
725 * gdb.ada/mi_catch_ex.exp: Update expected results.
726 * gdb.ada/mi_catch_assert.exp: Update expected results.
727 * gdb.ada/catch_ex.exp (catch_exception_info)
728 (catch_exception_entry, catch_assert_entry)
729 (catch_unhandled_entry): Update.
730 * gdb.ada/catch_assert_if.exp: Update expected results.
731
7322019-07-10 Richard Bunt <richard.bunt@arm.com>
733 Stephen Roberts <stephen.roberts@arm.com>
734
735 * gdb.base/define.exp: Restore original prompt.
736
7372019-07-09 Pedro Alves <palves@redhat.com>
738
739 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
740 breakpoints" output.
741 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
742 * gdb.python/py-breakpoint.exp: No longer expect that "catch
743 throw" creates breakpoint.
744 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
745 'type="catchpoint"'.
746
7472019-07-09 Pedro Alves <palves@redhat.com>
748
749 PR c++/15468
750 * gdb.cp/except-multi-location-lib.cc: New.
751 * gdb.cp/except-multi-location-main.cc: New.
752 * gdb.cp/except-multi-location.exp: New.
753
7542019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
755
756 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
757 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
758 argument and update callers.
759
7602019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 * gdb.arch/amd64-break-on-asm-line.S: New file.
763 * gdb.arch/amd64-break-on-asm-line.exp: New file.
764
7652019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
766
767 * gdb.base/printcmds.exp: Test printing C string and
768 C wide string convenience vars without transiting via the inferior.
769 Also make test names unique.
770
7712019-07-08 Alan Hayward <alan.hayward@arm.com>
772
773 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
774
7752019-07-04 Pedro Alves <palves@redhat.com>
776
777 * lib/gdb.exp (foreach_with_prefix): Don't return early if
778 body returned ok(0), break(3) or continue(4).
779 * gdb.testsuite/foreach_with_prefix.exp: New file.
780
7812019-07-04 Alan Hayward <alan.hayward@arm.com>
782
783 * gdb.server/unittest.exp: Allow 0 unit tests to run.
784
7852019-07-03 Pedro Alves <palves@redhat.com>
786
787 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
788 "return -code".
789
7902019-07-03 Pedro Alves <palves@redhat.com>
791
792 PR cli/24732
793 * gdb.base/shell.exp: Load completion-support.exp.
794 Adjust expected error output. Add completion tests.
795
7962019-07-03 Pedro Alves <palves@redhat.com>
797
798 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
799 string_to_regexp.
800
8012019-07-03 Pedro Alves <palves@redhat.com>
802
803 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
804 (expect_integer): Adjust to expect "-string".
805 (expect_string): New.
806 (all_options): Expect "-string".
807 (test-flag, test-boolean): Adjust to expect "-string".
808 (test-string): New proc.
809 (top level): Call it.
810
8112019-07-03 Pedro Alves <palves@redhat.com>
812
813 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
814 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
815 the expected output in the success.
816
8172019-07-03 Pedro Alves <palves@redhat.com>
818
819 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
820 Split one gdb_test_multiple call in two to avoid a race.
821
8222019-07-03 Pedro Alves <palves@redhat.com>
823
824 * gdb.base/with.c: New file.
825 * gdb.base/with.exp: New file.
826
8272019-07-03 Pedro Alves <palves@redhat.com>
828
829 * gdb.base/settings.exp: Replace all references to "maint
830 test-settings set" with references to "maint set test-settings",
831 and all references to "maint test-settings show" with references
832 to "maint show test-settings".
833
8342019-07-03 Pedro Alves <palves@redhat.com>
835
836 * gdb.base/settings.exp (test-string): Adjust expected out when
837 testing "maint test-settings show filename"
838
8392019-07-02 Pedro Alves <palves@redhat.com>
840
841 * gdb.base/options.exp (test-info-threads): New procedure.
842 (top level): Call it.
843
8442019-06-28 Tom Tromey <tromey@adacore.com>
845
846 * gdb.dwarf2/ada-linkage-name.c: New file.
847 * gdb.dwarf2/ada-linkage-name.exp: New file.
848
8492019-06-27 Tom Tromey <tromey@adacore.com>
850
851 * gdb.cp/constexpr-field.exp: Use setup_xfail.
852
8532019-06-26 Tom de Vries <tdevries@suse.de>
854
855 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
856
8572019-06-26 Tom de Vries <tdevries@suse.de>
858
859 * gdb.base/index-cache.exp: Add back missing debug option.
860
8612019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
862
863 * gdb.base/alias.exp: Test non matching/non existing prefixes.
864
8652019-06-25 Tom de Vries <tdevries@suse.de>
866
867 PR testsuite/24727
868 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
869
8702019-06-24 Tom de Vries <tdevries@suse.de>
871
872 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
873
8742019-06-24 Tom de Vries <tdevries@suse.de>
875
876 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
877 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
878 * gdb.trace/unavailable-dwarf-piece.exp: Same.
879
8802019-06-24 Tom de Vries <tdevries@suse.de>
881
882 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
883
8842019-06-21 Tom de Vries <tdevries@suse.de>
885
886 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
887
8882019-06-21 Tom de Vries <tdevries@suse.de>
889
890 PR testsuite/24518
891 PR ada/24713
892 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
893 index.
894
8952019-06-19 Tom Tromey <tromey@adacore.com>
896
897 * gdb.ada/length_cond.exp: Add intro comment.
898
8992019-06-19 Tom Tromey <tromey@adacore.com>
900
901 * gdb.ada/length_cond.exp: New file.
902 * gdb.ada/length_cond/length_cond.adb: New file.
903 * gdb.ada/length_cond/pck.adb: New file.
904 * gdb.ada/length_cond/pck.ads: New file.
905
9062019-06-18 Tom de Vries <tdevries@suse.de>
907
908 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
909
9102019-06-18 Tom Tromey <tromey@adacore.com>
911
912 * gdb.base/list0.h: Add comment explaining control character.
913
9142019-06-18 Tom de Vries <tdevries@suse.de>
915
916 * boards/fission.exp: Break up long debug_flags line.
917
9182019-06-16 Tom de Vries <tdevries@suse.de>
919
920 PR gdb/24445
921 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
922 generated index.
923
9242019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 PR gdb/24686
927 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
928 improve detection of bug gdb/24541.
929
9302019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
931
932 PR gdb/24669
933 * gdb.base/index-cache.exp (uses_readnow,
934 expecting_index_cache_use): Define global variable.
935 (test_cache_enabled_miss, test_cache_enabled_hit): Use
936 expecting_index_cache_use.
937
9382019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
939 Andrew Burgess <andrew.burgess@embecosm.com>
940
941 * gdb.fortran/pointers.f90: New file.
942 * gdb.fortran/print_type.exp: New file.
943 * gdb.fortran/vla-ptype.exp: Adapt expected results.
944 * gdb.fortran/vla-type.exp: Likewise.
945 * gdb.fortran/vla-value.exp: Likewise.
946 * gdb.mi/mi-vla-fortran.exp: Likewise.
947
9482019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
951 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
952 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
953 as a stop reason.
954
9552019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * gdb.base/annota1.exp: Update expected results.
958 * gdb.cp/annota2.exp: Likewise.
959 * gdb.cp/annota3.exp: Likewise.
960
9612019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * gdb.base/style-logging.exp: Remove path from test name.
964
9652019-06-14 Tom Tromey <tromey@adacore.com>
966
967 PR gdb/24502:
968 * gdb.base/style-logging.exp: New file.
969
9702019-06-14 Tom Tromey <tromey@adacore.com>
971
972 * gdb.base/symfile-warn.exp: New file.
973 * gdb.base/symfile-warn.c: New file.
974
9752019-06-14 Tom Tromey <tromey@adacore.com>
976
977 * gdb.base/annotate-symlink.exp: New file.
978
9792019-06-14 Tom Tromey <tromey@adacore.com>
980
981 * gdb.ada/set_wstr.exp: Add reassignment test.
982
9832019-06-14 Tom Tromey <tromey@adacore.com>
984
985 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
986 'unchecked_access and 'unrestricted_access as well.
987
9882019-06-14 Tom Tromey <tromey@adacore.com>
989
990 PR ada/24539:
991 * gdb.ada/vla.exp: Update tests.
992 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
993 pragma.
994
9952019-06-13 Pedro Alves <palves@redhat.com>
996
997 * gdb.base/settings.exp (test-integer): Test junk after
998 "unlimited".
999
10002019-06-13 Pedro Alves <palves@redhat.com>
1001
1002 * gdb.base/options.exp (test-thread-apply): New.
1003 (top level): Call it.
1004
10052019-06-13 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/options.exp (test-frame-apply): New.
1008 (top level): Test print commands with different "frame apply"
1009 prefixes.
1010
10112019-06-13 Pedro Alves <palves@redhat.com>
1012
1013 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1014 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1015 'max_completions' parameter and handle it.
1016 (test_gdb_completion_offers_commands): New.
1017
10182019-06-13 Pedro Alves <palves@redhat.com>
1019
1020 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1021
10222019-06-13 Pedro Alves <palves@redhat.com>
1023
1024 * gdb.base/options.exp (test-backtrace): New.
1025 (top level): Call it.
1026
10272019-06-13 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.guile/scm-frame-args.exp: Use "set print
1030 raw-frame-arguments" instead of "set print raw frame-arguments".
1031 * gdb.python/py-frame-args.exp: Likewise.
1032
10332019-06-13 Pedro Alves <palves@redhat.com>
1034
1035 * gdb.compile/compile.exp: Adjust expected output to option
1036 processing changes.
1037
10382019-06-13 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.base/options.exp: Build executable.
1041 (test-print): New procedure.
1042 (top level): Call it, once for "print" and another for "compile
1043 print".
1044
10452019-06-13 Pedro Alves <palves@redhat.com>
1046
1047 * gdb.base/options.c: New file.
1048 * gdb.base/options.exp: New file.
1049
10502019-06-13 Pedro Alves <palves@redhat.com>
1051
1052 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1053 that "o" is ambiguous.
1054
10552019-06-13 Pedro Alves <palves@redhat.com>
1056
1057 * gdb.base/settings.c: New file.
1058 * gdb.base/settings.exp: New file.
1059
10602019-06-13 Pedro Alves <palves@redhat.com>
1061
1062 * gdb.base/completion.exp: Fix comment typo.
1063
10642019-06-13 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1067 foo --1" test.
1068
10692019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1070
1071 * gdb.fortran/block-data.f: New.
1072 * gdb.fortran/block-data.exp: New.
1073
10742019-06-11 Tom de Vries <tdevries@suse.de>
1075
1076 PR testsuite/24521
1077 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1078 message.
1079
10802019-06-11 Tom de Vries <tdevries@suse.de>
1081
1082 PR testsuite/24521
1083 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1084
10852019-06-11 Tom de Vries <tdevries@suse.de>
1086
1087 * boards/readnow.exp: New file.
1088
10892019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1090
1091 * gdb.fortran/vla-sizeof.exp: Update expected results.
1092
10932019-06-06 Amos Bird <amosbird@gmail.com>
1094
1095 * gdb.base/annota1.exp (thread_switch): Add test for
1096 thread-exited annotation.
1097
10982019-06-06 Tom Tromey <tromey@adacore.com>
1099
1100 * gdb.base/maint.exp: Expect command started/finished output.
1101
11022019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1103
1104 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1105 comment.
1106 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1107
11082019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1109
1110 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1111 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1112 * gdb.arch/riscv-unwind-long-insn.c: New file.
1113 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1114
11152019-06-04 Christian Biesinger <cbiesinger@google.com>
1116
1117 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1118
11192019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1120
1121 * lib/gdb.exp (help_list_trailer): New regexp variable
1122 factorizing the help trailer message.
1123 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1124 arg to allow to better factorize various tests.
1125 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1126 (test_prefix_command_help): Use help_list_trailer.
1127 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1128 * gdb.guile/scm-cmd.exp: Likewise.
1129 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1130 * gdb.base/help.exp: Use test_user_defined_class_help.
1131 * gdb.base/style.exp: Add tests for styling of help and apropos.
1132 * lib/gdb-utils.exp (style): Add title and highlight styles.
1133
11342019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1135
1136 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1137 $_shell_exitsignal.
1138 * gdb.base/default.exp: Update for new convenience variables.
1139
11402019-05-29 Tom Tromey <tromey@adacore.com>
1141
1142 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1143 to "break complete ada" test case's regexp.
1144
11452019-05-29 Tom Tromey <tromey@adacore.com>
1146
1147 PR c++/20020:
1148 * gdb.cp/constexpr-field.exp: New file.
1149 * gdb.cp/constexpr-field.cc: New file.
1150
11512019-05-29 Tom Tromey <tromey@adacore.com>
1152
1153 * gdb.base/finish.exp (finish_no_print): New proc.
1154 (finish_tests): Call it.
1155
11562019-05-24 Tom de Vries <tdevries@suse.de>
1157
1158 * gdb.dwarf2/gdb-add-index.exp: New file.
1159
11602019-05-22 Tom Tromey <tromey@adacore.com>
1161
1162 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1163 * gdb.base/style.exp: Use "style".
1164 * lib/gdb-utils.exp (style): New proc.
1165
11662019-05-22 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.base/align.exp: Require c++11.
1169
11702019-05-22 Tom de Vries <tdevries@suse.de>
1171
1172 PR testsuite/24586
1173 * gdb.python/py-mi-var-info-path-expression.exp: Call
1174 mi_skip_python_tests to check if python is supported.
1175
11762019-05-22 Alan Hayward <alan.hayward@arm.com>
1177
1178 * gdb.arch/aarch64-pauth.c: New test.
1179 * gdb.arch/aarch64-pauth.exp: New file.
1180
11812019-05-22 Alan Hayward <alan.hayward@arm.com>
1182
1183 * README (Re-running Tests Outside The Testsuite): New section.
1184
11852019-05-21 Tom de Vries <tdevries@suse.de>
1186
1187 * gdb.arch/amd64-eval.exp: Require c++11.
1188 * gdb.base/max-depth.exp: Same.
1189 * gdb.compile/compile-cplus-array-decay.exp: Same.
1190 * gdb.cp/meth-typedefs.exp: Same.
1191 * gdb.cp/subtypes.exp: Same.
1192 * gdb.cp/temargs.exp: Same.
1193
11942019-05-21 Alan Hayward <alan.hayward@arm.com>
1195
1196 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1197
11982019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 PR gdb/18644
1201 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1202 * gdb.fortran/printing-types.exp: Add new test.
1203 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1204 testing.
1205 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1206 setup_kfail call.
1207
12082019-05-17 Alan Hayward <alan.hayward@arm.com>
1209
1210 * README (Running the Testsuite): Change example.
1211 (Testsuite Parameters): Remove TRANSCRIPT.
1212 * lib/gdb.exp: Remove TRANSCRIPT check.
1213
12142019-05-17 Alan Hayward <alan.hayward@arm.com>
1215
1216 * README (Testsuite Parameters): Add replay logging to
1217 GDBSERVER_DEBUG.
1218 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1219 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1220 as a comma separated list.
1221 (gdb_debug_init): Override procedure.
1222
12232019-05-17 Alan Hayward <alan.hayward@arm.com>
1224
1225 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1226 (gdb_write_cmd_file): New procedure.
1227 * lib/gdbserver-support.exp (gdbserver_start): Call
1228 gdbserver_write_cmd_file.
1229 (gdbserver_write_cmd_file): New procedure.
1230
12312019-05-17 Alan Hayward <alan.hayward@arm.com>
1232
1233 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1234 (delete_breakpoints): Likewise.
1235 (gdb_run_cmd): Likewise.
1236 (gdb_start_cmd): Likewise.
1237 (gdb_starti_cmd): Likewise.
1238 (gdb_internal_error_resync): Likewise.
1239 (gdb_test_multiple): Likewise.
1240 (gdb_reinitialize_dir): Likewise.
1241 (default_gdb_exit): Likewise.
1242 (gdb_file_cmd): Mark kill as optional.
1243 (default_gdb_start): Call gdb_stdin_log_init.
1244 (send_gdb): Call gdb_stdin_log_write.
1245 (rerun_to_main): Mark Y as an answer.
1246 (gdb_stdin_log_init): New function.
1247 (gdb_stdin_log_write): Likewise.
1248
12492019-05-17 Alan Hayward <alan.hayward@arm.com>
1250
1251 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1252 * gdb.base/debug-expr.exp: Likewise.
1253 * gdb.base/foll-fork.exp: Likewise.
1254 * gdb.base/foll-vfork.exp: Likewise.
1255 * gdb.base/fork-print-inferior-events.exp: Likewise.
1256 * gdb.base/gdb-sigterm.exp: Likewise.
1257 * gdb.base/gdbinit-history.exp: Likewise.
1258 * gdb.base/osabi.exp: Likewise.
1259 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1260 * gdb.base/ui-redirect.exp: Likewise.
1261 * gdb.gdb/unittest.exp: Likewise.
1262 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1263 * gdb.mi/mi-watch.exp: Likewise.
1264 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1265 * gdb.mi/user-selected-context-sync.exp: Likewise.
1266 * gdb.python/python.exp: Disable debug test when debugging.
1267 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1269 Likewise.
1270 * gdb.threads/stepi-random-signal.exp: Likewise.
1271
12722019-05-17 Alan Hayward <alan.hayward@arm.com>
1273
1274 * Makefile.in: Pass through GDB_DEBUG.
1275 * README (Testsuite Parameters): Add GDB_DEBUG.
1276 (gdb,debug): Add board setting.
1277 * lib/gdb.exp (default_gdb_start): Start debugging.
1278 (gdb_debug_enabled): New procedure.
1279 (gdb_debug_init): Likewise.
1280
12812019-05-17 Alan Hayward <alan.hayward@arm.com>
1282
1283 * Makefile.in: Pass through GDB_DEBUG.
1284 * README (Testsuite Parameters): Add GDB_DEBUG.
1285 (gdb,debug): Add board setting.
1286 * lib/gdb.exp (default_gdb_start): Start debugging.
1287 (gdb_debug_enabled): New procedure.
1288 (gdb_debug_init): Likewise.
1289
12902019-05-17 Alan Hayward <alan.hayward@arm.com>
1291
1292 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1293
12942019-05-17 Alan Hayward <alan.hayward@arm.com>
1295
1296 * gdb.base/ui-redirect.exp: Test redirection.
1297
12982019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1299
1300 * gdb.mi/mi-complete.exp: New file.
1301 * gdb.mi/mi-complete.cc: Likewise.
1302
13032019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1304
1305 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1306 indexed and sliced arrays, and pointers to arrays.
1307
13082019-05-14 Tom Tromey <tromey@adacore.com>
1309
1310 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1311 styling test.
1312
13132019-05-14 Tom de Vries <tdevries@suse.de>
1314
1315 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1316 selection entry encoding.
1317
13182019-05-10 Tom Tromey <tromey@adacore.com>
1319
1320 * gdb.ada/info_exc.exp: Add "complete" test.
1321
13222019-05-09 Tom de Vries <tdevries@suse.de>
1323
1324 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1325 CU-relative.
1326
13272019-05-09 Tom de Vries <tdevries@suse.de>
1328
1329 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1330 CU-relative.
1331
13322019-05-08 Joel Brobecker <brobecker@adacore.com>
1333
1334 * gdb.ada/frame_arg_lang.exp: New testcase.
1335 * gdb.ada/frame_arg_lang/bla.adb: New file.
1336 * gdb.ada/frame_arg_lang/pck.ads: New file.
1337 * gdb.ada/frame_arg_lang/pck.adb: New file.
1338 * gdb.ada/frame_arg_lang/foo.c: New file.
1339
13402019-05-08 Tom Tromey <tromey@adacore.com>
1341
1342 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1343
13442019-05-08 Tom Tromey <tromey@adacore.com>
1345
1346 * gdb.base/ptype-offsets.exp: Update tests.
1347
13482019-05-08 Tom Tromey <tromey@adacore.com>
1349
1350 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1351 cases.
1352 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1353 "short".
1354
13552019-05-08 Tom Tromey <tromey@adacore.com>
1356
1357 * gdb.ada/vla.exp: New file.
1358 * gdb.ada/vla/vla.adb: New file.
1359
13602019-05-07 Tom de Vries <tdevries@suse.de>
1361
1362 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1363
13642019-05-07 Tom de Vries <tdevries@suse.de>
1365
1366 PR testsuite/24522
1367 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1368 section.
1369
13702019-05-07 Tom de Vries <tdevries@suse.de>
1371
1372 PR testsuite/24522
1373 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1374 .debug_aranges section.
1375
13762019-05-07 Tom de Vries <tdevries@suse.de>
1377
1378 PR testsuite/24159
1379 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1380
13812019-05-06 Tom de Vries <tdevries@suse.de>
1382
1383 * lib/gdb.exp (exec_has_index_section): New proc.
1384 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1385 section.
1386
13872019-05-04 Tom de Vries <tdevries@suse.de>
1388
1389 * boards/cc-with-debug-names.exp: New file.
1390
13912019-05-03 Tom Tromey <tromey@adacore.com>
1392
1393 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1394 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1395 * gdb.ada/char_enum.exp: Add test.
1396
13972019-05-03 Tom de Vries <tdevries@suse.de>
1398
1399 * boards/cc-with-gdb-index.exp: New file.
1400
14012019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * gdb.rust/simple.exp: Add new test case.
1404 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1405 (main): Initialise an instance of the new struct.
1406
14072019-05-01 Tom Tromey <tromey@adacore.com>
1408
1409 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1410 record.
1411 (NPR): New variable.
1412 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1413 test.
1414
14152019-05-01 Tom Tromey <tromey@adacore.com>
1416
1417 * gdb.ada/packed_array_assign.exp: Add packed assignment
1418 regression test.
1419
14202019-05-01 Tom de Vries <tdevries@suse.de>
1421
1422 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1423
14242019-05-01 Tom de Vries <tdevries@suse.de>
1425
1426 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1427
14282019-04-30 Ali Tamur <tamur@google.com>
1429
1430 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1431
14322019-04-30 Tom Tromey <tromey@adacore.com>
1433
1434 * lib/ada.exp (find_ada_tool): New proc.
1435 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1436 * gdb.ada/catch_ex_std.exp: New file.
1437 * gdb.ada/catch_ex_std/foo.adb: New file.
1438 * gdb.ada/catch_ex_std/some_package.adb: New file.
1439 * gdb.ada/catch_ex_std/some_package.ads: New file.
1440
14412019-04-30 Tom Tromey <tromey@adacore.com>
1442
1443 PR c++/24470:
1444 * gdb.cp/temargs.cc: Add test code from PR.
1445
14462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.fortran/vla-datatypes.exp: Update expected results.
1449 * gdb.fortran/vla-ptype.exp: Likewise.
1450 * gdb.fortran/vla-type.exp: Likewise.
1451 * gdb.fortran/vla-value.exp: Likewise.
1452
14532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1454
1455 * gdb.fortran/ptr-indentation.exp: Update expected results.
1456 * gdb.fortran/ptype-on-functions.exp: Likewise.
1457 * gdb.fortran/vla-ptr-info.exp: Likewise.
1458 * gdb.fortran/vla-value.exp: Likewise.
1459
14602019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1461
1462 * gdb.fortran/ptype-on-functions.exp: New file.
1463 * gdb.fortran/ptype-on-functions.f90: New file.
1464
14652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1466
1467 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1468 case void string.
1469
14702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1471
1472 * gdb.fortran/complex.exp: Expand.
1473 * gdb.fortran/complex.f: Renamed to...
1474 * gdb.fortran/complex.f90: ...this, and extended to add more
1475 complex values.
1476
14772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1478
1479 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1480 MODULO, CMPLX.
1481
14822019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1483 Richard Bunt <richard.bunt@arm.com>
1484
1485 * gdb.base/max-depth.c: New file.
1486 * gdb.base/max-depth.exp: New file.
1487 * gdb.python/py-nested-maps.c: New file.
1488 * gdb.python/py-nested-maps.exp: New file.
1489 * gdb.python/py-nested-maps.py: New file.
1490 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1491 (test_all_common): Call test_max_depth.
1492 * gdb.fortran/max-depth.exp: New file.
1493 * gdb.fortran/max-depth.f90: New file.
1494 * gdb.go/max-depth.exp: New file.
1495 * gdb.go/max-depth.go: New file.
1496 * gdb.modula2/max-depth.exp: New file.
1497 * gdb.modula2/max-depth.c: New file.
1498 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1499
15002019-04-29 Tom de Vries <tdevries@suse.de>
1501
1502 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1503
15042019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1505
1506 * gdb.base/callexit.exp: Test may-call-functions off.
1507
15082019-04-25 Keith Seitz <keiths@redhat.com>
1509
1510 PR c++/24367
1511 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1512 (another_incomplete_struct, test_incomplete): New definitions.
1513 (main): Use new definitions.
1514 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1515 functions.
1516
15172019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1518
1519 PR corefiles/11608
1520 PR corefiles/18187
1521 * gdb.base/coredump-filter-build-id.exp: New file.
1522
15232019-04-25 Alan Hayward <alan.hayward@arm.com>
1524
1525 * Makefile.in: Pass through GDBSERVER_DEBUG.
1526 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1527 (gdbserver,debug): Add board setting.
1528 * gdb.trace/tspeed.exp: Skip when debugging.
1529 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1530 * lib/gdbserver-support.exp: Likewise
1531
15322019-04-24 Tom Tromey <tromey@adacore.com>
1533
1534 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1535 Rust.
1536
15372019-04-24 Tom Tromey <tromey@adacore.com>
1538
1539 * gdb.arch/amd64-eval.exp: Test bitfield return.
1540 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1541 (class Foo) <return_bitfields>: New method.
1542 (main): Call it.
1543
15442019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1545
1546 * gdb.cp/many-args.cc: New file.
1547 * gdb.cp/many-args.exp: New file.
1548
15492019-04-23 Tom de Vries <tdevries@suse.de>
1550
1551 PR gdb/24433
1552 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1553
15542019-04-23 Alan Hayward <alan.hayward@arm.com>
1555
1556 * gdb.trace/backtrace.exp: Use nopie flag.
1557 * gdb.trace/circ.exp: Likewise.
1558 * gdb.trace/collection.exp: Likewise.
1559 * gdb.trace/ftrace.exp: Likewise.
1560 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1561 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1562 * gdb.trace/qtro.exp: Likewise.
1563 * gdb.trace/read-memory.exp: Likewise.
1564 * gdb.trace/report.exp: Likewise.
1565 * gdb.trace/tfile.exp: Likewise.
1566 * gdb.trace/tfind.exp: Likewise.
1567 * gdb.trace/unavailable.exp: Likewise.
1568
15692019-04-22 Pedro Alves <palves@redhat.com>
1570
1571 * gdb.base/solib-probes-nosharedlibrary.c,
1572 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1573
15742019-04-19 Tom Tromey <tromey@adacore.com>
1575
1576 * gdb.ada/ptype_union.c: New file.
1577 * gdb.ada/ptype_union.exp: New file.
1578
15792019-04-19 Tom Tromey <tromey@adacore.com>
1580
1581 PR symtab/24423:
1582 * gdb.base/list0.h (foo): Add a control-l character.
1583
15842019-04-18 Tom de Vries <tdevries@suse.de>
1585
1586 PR gdb/24433
1587 * boards/local-board.exp: Set sysroot to "".
1588
15892019-04-18 Tom de Vries <tdevries@suse.de>
1590 Pedro Alves <palves@redhat.com>
1591
1592 PR gdb/24454
1593 * gdb.threads/vfork-follow-child-exec.c: New file.
1594 * gdb.threads/vfork-follow-child-exec.exp: New file.
1595 * gdb.threads/vfork-follow-child-exit.c: New file.
1596 * gdb.threads/vfork-follow-child-exit.exp: New file.
1597
15982019-04-15 Leszek Swirski <leszeks@google.com>
1599
1600 * gdb.arch/amd64-eval.cc: New file.
1601 * gdb.arch/amd64-eval.exp: New file.
1602
16032019-04-11 Alan Hayward <alan.hayward@arm.com>
1604
1605 * gdb.server/sysroot.c: New test.
1606 * gdb.server/sysroot.exp: New file.
1607 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1608 matching param.
1609
16102019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1611
1612 * gdb.base/align.exp: Extend test to cover structures containing
1613 only static fields.
1614
16152019-04-11 Tom de Vries <tdevries@suse.de>
1616
1617 * boards/cc-with-dwz-m.exp: New file.
1618 * boards/cc-with-dwz.exp: New file.
1619 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1620
16212019-04-09 Simon Marchi <simon.marchi@efficios.com>
1622
1623 * gdb.base/start-cpp.exp: New file.
1624 * gdb.base/start-cpp.cc: New file.
1625
16262019-04-08 Kevin Buettner <kevinb@redhat.com>
1627
1628 * gdb.python/py-thrhandle.exp: Adjust tests to call
1629 thread_from_handle instead of thread_from_thread_handle.
1630
16312019-04-08 Kevin Buettner <kevinb@redhat.com>
1632
1633 * gdb.python/py-thrhandle.exp: Add tests for
1634 gdb.InferiorThread.handle.
1635
16362019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.python/py-function.exp: Check calling helper function from
1639 all languages.
1640 * lib/gdb.exp (gdb_supported_languages): New proc.
1641
16422019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1643
1644 * gdb.base/complex-parts.c: New file.
1645 * gdb.base/complex-parts.exp: New file.
1646
16472019-04-01 Tom Tromey <tromey@adacore.com>
1648
1649 PR symtab/23331:
1650 * gdb.dwarf2/dw2-ranges-main.c: New file.
1651 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1652 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1653
16542019-03-30 Simon Marchi <simark@simark.ca>
1655
1656 * gdb.base/default.exp: Add values for $_gdb_major and
1657 $_gdb_minor.
1658
16592019-03-29 Tom Tromey <tromey@adacore.com>
1660
1661 * gdb.base/help.exp: Tighten apropos regexp.
1662
16632019-03-29 Keith Seitz <keiths@redhat.com>
1664
1665 * gdb.fortran/array-bounds.exp: New file.
1666 * gdb.fortran/array-bounds.f90: New file.
1667
16682019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1669
1670 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1671
16722019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1673
1674 * gdb.multi/hello.c (main): Increase alarm timer.
1675
16762019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1677
1678 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1679 factor when no hardware watchpoint support.
1680
16812019-03-28 Alan Hayward <alan.hayward@arm.com>
1682 Pedro Alves <palves@redhat.com>
1683
1684 * boards/local-board.exp: set sysroot to /.
1685
16862019-03-27 Alan Hayward <alan.hayward@arm.com>
1687
1688 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1689 in child.
1690
16912019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1692
1693 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1694 field.
1695 (make_container): Initialise new field.
1696 * gdb.python/py-prettyprint.exp: Add new tests.
1697 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1698 <display_hint>: New method.
1699
17002019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1703 gdb_continue_to_breakpoint more throughout this test.
1704 (run_lang_tests) Supply unique test names, and use
1705 gdb_test_no_output.
1706
17072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1708
1709 * gdb.base/finish-pretty.exp: Update expected results.
1710 * gdb.base/pretty-print.c: New file.
1711 * gdb.base/pretty-print.exp: New file.
1712
17132019-03-25 Pedro Alves <palves@redhat.com>
1714
1715 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1716 move comments outside list. Append '-i "" eof' section.
1717
17182019-03-22 Alan Hayward <alan.hayward@arm.com>
1719
1720 * README: Add pie options.
1721 * gdb.base/break-interp.exp: Ensure pie is disabled.
1722 * gdb.base/dump.exp: Likewise.
1723 * lib/gdb.exp (gdb_compile): Add pie option.
1724
17252019-03-19 Tom Tromey <tromey@adacore.com>
1726
1727 * gdb.mi/mi2-cli-display.c: New file.
1728 * gdb.mi/mi2-cli-display.exp: New file.
1729
17302019-03-18 Joel Brobecker <brobecker@adacore.com>
1731 Tom Tromey <tromey@adacore.com>
1732
1733 * gdb.ada/ptype_array/pck.adb: New file.
1734 * gdb.ada/ptype_array/pck.ads: New file.
1735 * gdb.ada/ptype_array/foo.adb: New file.
1736 * gdb.ada/ptype_array.exp: New file.
1737
17382019-03-14 Tom Tromey <tromey@adacore.com>
1739
1740 * gdb.base/style.exp: Add "set style sources" test.
1741
17422019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1743
1744 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1745 * mi-breakpoint-multiple-locations.exp: ... this.
1746 (make_breakpoints_pattern): New proc.
1747 (do_test): Add mi_version parameter, test -break-insert,
1748 -break-info and =breakpoint-created.
1749
17502019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1751
1752 * config/default.exp: Remove 'load_lib gdb.exp'.
1753 * config/monitor.exp: Likewise.
1754 * config/sid.exp: Likewise.
1755 * config/sim.exp: Likewise.
1756 * config/slite.exp: Likewise.
1757 * config/unix.exp: Likewise.
1758 * gdb.base/default.exp: Remove unhelpful comment.
1759
17602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1761
1762 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1763
17642019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1765
1766 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1767
17682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.fortran/type-kinds.exp: Update expected results.
1771
17722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1773
1774 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1775
17762019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1777
1778 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1779 function.
1780 (test_basic_parsing_of_type_kinds): Expand types tested.
1781 (test_parsing_invalid_type_kinds): New function.
1782
17832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1784
1785 * gdb.fortran/intrinsics.exp: New file.
1786 * gdb.fortran/intrinsics.f90: New file.
1787 * gdb.fortran/type-kinds.exp: New file.
1788
17892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1790
1791 * gdb.fortran/dot-ops.exp: New file.
1792
17932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1794
1795 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1796 Check upper and lower case logical literals.
1797
17982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1801 Remove duplicate tests.
1802
18032019-03-06 Alan Hayward <alan.hayward@arm.com>
1804
1805 * lib/gdb.exp (builtin_cd): rename of cd.
1806 (cd): Override builtin.
1807
18082019-03-06 Richard Bunt <richard.bunt@arm.com>
1809
1810 * gdb.fortran/function-calls.exp: New file.
1811 * gdb.fortran/function-calls.f90: New test.
1812
18132019-03-04 Richard Bunt <richard.bunt@arm.com>
1814
1815 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1816 on user program standard output.
1817 * gdb.fortran/short-circuit-argument-list.f90: Record function
1818 calls.
1819
18202019-02-28 Alan Hayward <alan.hayward@arm.com>
1821
1822 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1823 failure.
1824
18252019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1826
1827 PR gdb/8527
1828 * gdb.base/interrupt-daemon-attach.c,
1829 gdb.base/interrupt-daemon-attach.exp: New test.
1830
18312019-02-27 Pedro Alves <palves@redhat.com>
1832
1833 * gdb.base/page.exp: Add tests for "set width/height -1".
1834
18352019-02-27 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.base/page.exp: Add tests for "set/show width/height" with
1838 "infinite" values.
1839
18402019-02-27 Tom Tromey <tromey@adacore.com>
1841
1842 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1843 2.4.
1844 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1845 workaround.
1846
18472019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1848
1849 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1850 tests for structs with static members.
1851
18522019-02-26 Tom Tromey <tromey@adacore.com>
1853
1854 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1855 ValueError, not TypeError.
1856
18572019-02-26 Kevin Buettner <kevinb@redhat.com>
1858
1859 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1860 call from main program.
1861
18622019-02-23 Joel Brobecker <brobecker@adacore.com>
1863
1864 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1865 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1866 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1867 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1868 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1869
18702019-02-22 Keith Seitz <keiths@redhat.com>
1871
1872 PR symtab/23853
1873 * gdb.base/symlink-sourcefile.c: New file.
1874 * gdb.base/symlink-sourcefile.exp: New file.
1875
18762019-02-20 Tom Tromey <tom@tromey.com>
1877
1878 * gdb.base/info_qt.exp: Update.
1879
18802019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1881
1882 * gdb.base/source.exp: Move "error in sourced script" code to
1883 the end.
1884 * gdb.base/source-error.gdb: Move contents to
1885 source-error-1.gdb. Add new code to source source-error-1.gdb.
1886 * gdb.base/source-error-1.gdb: New file, from previous
1887 source-error.gdb.
1888
18892019-02-17 Tom Tromey <tom@tromey.com>
1890
1891 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1892 for macro styling.
1893 * gdb.base/style.c (SOME_MACRO): New macro.
1894
18952019-02-17 Tom Tromey <tom@tromey.com>
1896
1897 * gdb.base/style.exp: Add line-wrapping tests.
1898 * gdb.base/page.exp: Add test for quitting during pagination.
1899
19002019-02-17 Joel Brobecker <brobecker@adacore.com>
1901
1902 * gdb.ada/big_packed_array: New testcase.
1903 * gdb.ada/homonym.exp: Fix incorrect expected output for
1904 "break <homonym__get_value>" test.
1905
19062019-02-13 Weimin Pan <weimin.pan@oracle.com>
1907
1908 PR breakpoints/21870
1909 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1910 and prepare_for_testing. Add comment.
1911 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1912 redundant cleanup call. Clean up comment.
1913
19142019-02-12 Weimin Pan <weimin.pan@oracle.com>
1915
1916 PR breakpoints/21870
1917 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1918 * gdb.arch/aarch64-dbreg-contents.c: New file.
1919
19202019-02-10 Joel Brobecker <brobecker@adacore.com>
1921
1922 * gdb.ada/mi_ref_changeable: New testcase.
1923
19242019-02-07 Alan Hayward <alan.hayward@arm.com>
1925
1926 * gdb.base/attach.exp: Add double attach test.
1927
19282019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 * lib/gdb.exp (default_gdb_start): Don't match pagination
1931 prompt.
1932 (gdb_init): Set stty_init.
1933
19342019-01-27 Tom Tromey <tom@tromey.com>
1935
1936 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1937 skip_python_tests.
1938
19392019-01-24 Alan Hayward <alan.hayward@arm.com>
1940
1941 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1942 New structure.
1943 (struct struct_static_02_02): Likewise.
1944 (struct struct_static_02_03): Likewise.
1945 (struct struct_static_02_04): Likewise.
1946 (struct struct_static_04_01): Likewise.
1947 (struct struct_static_04_02): Likewise.
1948 (struct struct_static_04_03): Likewise.
1949 (struct struct_static_04_04): Likewise.
1950 (struct struct_static_06_01): Likewise.
1951 (struct struct_static_06_02): Likewise.
1952 (struct struct_static_06_03): Likewise.
1953 (struct struct_static_06_04): Likewise.
1954 (cmp_struct_static_02_01): Likewise.
1955 (cmp_struct_static_02_02): Likewise.
1956 (cmp_struct_static_02_03): Likewise.
1957 (cmp_struct_static_02_04): Likewise.
1958 (cmp_struct_static_04_01): Likewise.
1959 (cmp_struct_static_04_02): Likewise.
1960 (cmp_struct_static_04_03): Likewise.
1961 (cmp_struct_static_04_04): Likewise.
1962 (cmp_struct_static_06_01): Likewise.
1963 (cmp_struct_static_06_02): Likewise.
1964 (cmp_struct_static_06_03): Likewise.
1965 (cmp_struct_static_06_04): Likewise.
1966 (call_all): Test new structs.
1967 * gdb.base/infcall-nested-structs.exp: Likewise.
1968
19692019-01-21 Alan Hayward <alan.hayward@arm.com>
1970 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1971
19722019-01-21 Alan Hayward <alan.hayward@arm.com>
1973 * gdb.base/stack-protector.c: New test.
1974 * gdb.base/stack-protector.exp: New file.
1975 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1976 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1977 option.
1978 (gdb_compile): Remove stack protector for GCC and prevent
1979 recursion.
1980
19812019-01-16 Keith Seitz <keiths@redhat.com>
1982
1983 PR gdb/23773
1984 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1985
19862019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1987
1988 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1989 aliases.
1990 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1991 tests.
1992 * gdb.arch/powerpc-vector-regs.c: New file.
1993 * gdb.arch/powerpc-vector-regs.exp: New file.
1994
19952019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1996
1997 * gdb.arch/altivec-regs.exp: Fix the list passed to
1998 gdb_expect_list when testing "info vector".
1999
20002019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2001
2002 * gdb.base/style.exp: Don't include path in testname.
2003
20042019-01-10 Keith Seitz <keiths@redhat.com>
2005
2006 PR gdb/23712
2007 PR symtab/23010
2008 * gdb.dwarf2/multidictionary.exp: New file.
2009
20102019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2011
2012 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2013 (test_gnuv3_style_demangling): ... this.
2014 (test_lucid_style_demangling): Remove.
2015 (test_arm_style_demangling): Remove.
2016 (test_hp_style_demangling): Remove.
2017 (do_tests): Remove calls to the above.
2018
20192019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2020
2021 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2022 case.
2023
20242019-01-06 Tom Tromey <tom@tromey.com>
2025
2026 PR gdb/28155:
2027 * gdb.dwarf2/typedef-void-finish.exp: New file.
2028
20292018-12-28 Tom Tromey <tom@tromey.com>
2030 Simon Marchi <simark@simark.ca>
2031
2032 * gdb.base/jit-exec.exp: New file.
2033 * gdb.base/jit-exec.c: New file.
2034 * gdb.base/jit-execd.c: New file.
2035
20362018-12-28 Tom Tromey <tom@tromey.com>
2037
2038 * gdb.base/style.exp: Update test to check for address styling.
2039
20402018-12-28 Tom Tromey <tom@tromey.com>
2041
2042 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2043 message.
2044
20452018-12-28 Tom Tromey <tom@tromey.com>
2046
2047 * gdb.base/style.exp: Add test for version number styling.
2048
20492018-12-28 Tom Tromey <tom@tromey.com>
2050
2051 * gdb.base/style.exp: Add test for print_address_symbolic.
2052
20532018-12-28 Tom Tromey <tom@tromey.com>
2054
2055 * gdb.base/style.exp: Add test for breakpoint setting.
2056
20572018-12-28 Tom Tromey <tom@tromey.com>
2058
2059 * gdb.base/style.exp: Add test for variable names.
2060
20612018-12-28 Tom Tromey <tom@tromey.com>
2062
2063 * gdb.base/style.exp: New file.
2064 * gdb.base/style.c: New file.
2065
20662018-12-28 Tom Tromey <tom@tromey.com>
2067
2068 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2069 "dumb".
2070 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2071 the TERM environment variable.
2072
20732018-12-27 Tom Tromey <tom@tromey.com>
2074
2075 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2076 pagination test.
2077
20782018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2079
2080 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2081 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2082
20832018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2084
2085 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2086 Filename a.adb changed to bp_fun_addr.adb.
2087 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2088
20892018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2090
2091 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2092 non-PIE executables.
2093 * README: Mention the gdb,nopie_flag board setting.
2094 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2095 non-PIE executable.
2096 * gdb.arch/amd64-entry-value.exp: Likewise.
2097 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2098 * gdb.arch/i386-float.exp: Likewise.
2099 * gdb.arch/i386-signal.exp: Likewise.
2100 * gdb.mi/mi-reg-undefined.exp: Likewise.
2101
21022018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2103
2104 PR gdb/23974
2105 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2106
21072018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2108
2109 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2110 Update order of results accordingly.
2111
21122018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2113
2114 * gdb.base/annota1.exp: Update a test regexp.
2115
21162018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2117
2118 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2119
21202018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2121
2122 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2123 (reuse_time): Initialize to REUSE_TIME_CAP.
2124 (check_rc): New function.
2125 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2126 Check pthread_create rc.
2127 (spawner_thread_func): Check pthread_create and pthread_join rc.
2128
21292018-12-08 Pedro Alves <palves@redhat.com>
2130
2131 * gdb.base/list.exp (test_forward_search): Rename to ...
2132 (test_forward_reverse_search): ... this. Also test reverse-search
2133 and the forward-search alias.
2134
21352018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2136
2137 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2138 local timeout variable before return, and remove all local timeout
2139 variable entirely.
2140 (gdb_load): Likewise.
2141
21422018-12-01 Tom de Vries <tdevries@suse.de>
2143
2144 * gdb.base/gdb-caching-proc.exp: New file.
2145
21462018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2147
2148 * Makefile.in (TIMESTAMP): New variable.
2149 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2150 command.
2151 (check-single-racy): Likewise.
2152 (check/%.exp): Likewise.
2153 (check-racy/%.exp): Likewise.
2154 (workers/%.worker): Likewise.
2155 (build-perf): Likewise.
2156 (check-perf): Likewise.
2157 * README: Describe new "TS" and "TS_FORMAT" variables.
2158 * print-ts.py: New file.
2159
21602018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2161
2162 PR python/23714
2163 * gdb.python/python.exp: Test command repetition after
2164 gdb.execute.
2165
21662018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2167
2168 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2169 is correctly aligned.
2170
21712018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2172
2173 * gdb.ada/info_auto_lang.exp: New testcase.
2174 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2175 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2176 * gdb.ada/info_auto_lang/some_c.c: New file.
2177
21782018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2179
2180 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2181 FUNC_lang language syntax.
2182
21832018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2184
2185 * gdb.base/info_minsym.c: New file.
2186 * gdb.base/info_minsym.exp: New file.
2187
21882018-11-19 Tom Tromey <tom@tromey.com>
2189
2190 PR rust/23625:
2191 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2192 * gdb.rust/expr.exp: Update expected output. Change one test.
2193
21942018-11-19 Tom Tromey <tom@tromey.com>
2195
2196 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2197
21982018-11-19 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2201 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2202 see the expected warning.
2203
22042018-11-16 Alan Hayward <alan.hayward@arm.com>
2205
2206 PR gdb/22736:
2207 * gdb.cp/infcall-nodebug-lib.c: New test.
2208 * gdb.cp/infcall-nodebug-main.c: New test.
2209 * gdb.cp/infcall-nodebug.exp: New file.
2210
22112018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2212
2213 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2214 completer tests.
2215
22162018-11-09 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.base/msym-lang.c: New test.
2219 * gdb.base/msym-lang.exp: New file.
2220 * gdb.base/msym-lang-main.c: New test.
2221
22222018-11-08 Tom Tromey <tom@tromey.com>
2223
2224 PR gdb/23555:
2225 PR gdb/23838:
2226 * gdb.base/warning.exp: New file.
2227
22282018-11-08 Jan Beulich <jbeulich@suse.com>
2229
2230 * testsuite/gdb.arch/i386-avx512.c,
2231 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2232
22332018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2234
2235 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2236 point hardware.
2237
22382018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2239
2240 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2241 * gdb.dwarf2/missing-type-name.exp: New file.
2242
22432018-11-06 Tom de Vries <tdevries@suse.de>
2244
2245 * gdb.base/many-headers.c: New test.
2246 * gdb.base/many-headers.exp: New file.
2247
22482018-11-06 Jim Wilson <jimw@sifive.com>
2249
2250 * gdb.base/code_elim.exp: For riscv, set additional_flags
2251 to include -msmall-data-limit=0.
2252
22532018-11-01 Joel Brobecker <brobecker@adacore.com>
2254
2255 * gdb.ada/watch_minus_l: New testcase.
2256
22572018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2258
2259 * gdb.arch/aix-sighandle.c: New file.
2260 * gdb.arch/aix-sighandle.exp: New file.
2261
22622018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2265 registers being unions.
2266
22672018-10-31 Tom de Vries <tdevries@suse.de>
2268
2269 * lib/valgrind.exp: New file.
2270 (vgdb_start, vgdb_stop): New procs, factored out of ...
2271 * gdb.base/valgrind-bt.exp: ... here, ...
2272 * gdb.base/valgrind-disp-step.exp: ... here and ...
2273 * gdb.base/valgrind-infcall.exp: ... here.
2274
22752018-10-31 Tom de Vries <tdevries@suse.de>
2276
2277 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2278
22792018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2280
2281 * gdb.dwarf2/void-type.c: New file.
2282 * gdb.dwarf2/void-type.exp: New file.
2283
22842018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2285
2286 * gdb.base/info_qt.c: New file.
2287 * gdb.base/info_qt.exp: New file.
2288
22892018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2290
2291 * gdb.arch/powerpc-htm-regs.c: New file.
2292 * gdb.arch/powerpc-htm-regs.exp: New file.
2293
22942018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2295
2296 * gdb.arch/powerpc-tar.c: New file.
2297 * gdb.arch/powerpc-tar.exp: New file.
2298
22992018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2300
2301 * gdb.arch/powerpc-ppr-dscr.c: New file.
2302 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2303
23042018-10-25 Tom de Vries <tdevries@suse.de>
2305
2306 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2307
23082018-10-24 Tom de Vries <tdevries@suse.de>
2309
2310 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2311 longer exists error.
2312
23132018-10-24 Tom de Vries <tdevries@suse.de>
2314
2315 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2316
23172018-10-24 Tom de Vries <tdevries@suse.de>
2318
2319 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2320 --db-attach in valgrind.
2321
23222018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.arch/riscv-reg-aliases.c: New file.
2325 * gdb.arch/riscv-reg-aliases.exp: New file.
2326
23272018-10-19 Alan Hayward <alan.hayward@arm.com>
2328
2329 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2330
23312018-10-19 Alan Hayward <alan.hayward@arm.com>
2332
2333 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2334
23352018-10-19 Alan Hayward <alan.hayward@arm.com>
2336
2337 * gdb.cp/ovldbreak.exp: Fix regexps.
2338
23392018-10-19 Alan Hayward <alan.hayward@arm.com>
2340
2341 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2342
23432018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2344
2345 PR cli/23785
2346 * gdb.base/restore.exp: New test to check if "restore" with an
2347 invalid file doesn't segfault.
2348
23492018-10-18 Tom de Vries <tdevries@suse.de>
2350
2351 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2352 * gdb.ada/excep_handle.exp: Same.
2353 * gdb.ada/mi_string_access.exp: Same.
2354 * gdb.ada/mi_var_union.exp: Same.
2355 * gdb.arch/arc-analyze-prologue.exp: Same.
2356 * gdb.arch/arc-decode-insn.exp: Same.
2357 * gdb.base/readnever.exp: Same.
2358 * gdb.fortran/printing-types.exp: Same.
2359 * gdb.guile/scm-lazy-string.exp: Same.
2360
23612018-10-16 Tom de Vries <tdevries@suse.de>
2362
2363 PR gdb/23730
2364 * gdb.base/catch-follow-exec.c: Add copyright notice.
2365 * gdb.base/catch-follow-exec.exp: Rewrite to use
2366 gdb_spawn_with_cmdline_opts. Require gdb-native.
2367
23682018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2369
2370 * gdb.trace/actions-changed.exp: Check for arch support.
2371 * gdb.trace/actions.exp: Likewise.
2372 * gdb.trace/ax.exp: Likewise.
2373 * gdb.trace/backtrace.exp: Likewise.
2374 * gdb.trace/change-loc.exp: Likewise.
2375 * gdb.trace/deltrace.exp: Likewise.
2376 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2377 * gdb.trace/ftrace.exp: Likewise.
2378 * gdb.trace/infotrace.exp: Check for arch support.
2379 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2380 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2381 * gdb.trace/mi-tsv-changed.exp: Likewise.
2382 * gdb.trace/packetlen.exp: Likewise.
2383 * gdb.trace/passc-dyn.exp: Likewise.
2384 * gdb.trace/passcount.exp: Likewise.
2385 * gdb.trace/pending.exp: Likewise.
2386 * gdb.trace/range-stepping.exp: Check for shlib support.
2387 * gdb.trace/report.exp: Check for arch support.
2388 * gdb.trace/save-trace.exp: Likewise.
2389 * gdb.trace/signal.exp: Check for signal support.
2390 * gdb.trace/tfind.exp: Check for arch support.
2391 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2392 * gdb.trace/trace-common.h: Add comment.
2393 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2394 * gdb.trace/trace-enable-disable.exp: Likewise.
2395 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2396 * gdb.trace/tracecmd.exp: Check for arch support.
2397 * gdb.trace/tspeed.exp: Check for shlib and target support.
2398 * gdb.trace/tstatus.exp: Check for arch support.
2399 * gdb.trace/tsv.exp: Likewise.
2400 * gdb.trace/while-dyn.exp: Likewise.
2401 * gdb.trace/while-stepping.exp: Likewise.
2402 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2403
24042018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2405
2406 * gdb.trace/tspeed.exp: Remove nowarnings.
2407 (prepare_for_trace_test): Declare "global ipalib".
2408 * gdb.trace/tspeed.c: Include unistd.h.
2409 (main): Remove superfluous printf argument.
2410
24112018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2412
2413 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2414 directory prefix on the filename.
2415
24162018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2417
2418 * gdb.gdb/unittest.exp: Update expected message informing that
2419 selftests have been disabled.
2420 * gdb.server/unittest.exp: Likewise.
2421
24222018-10-09 Tom de Vries <tdevries@suse.de>
2423
2424 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2425 with runto_main.
2426
24272018-10-08 Weimin Pan <weimin.pan@oracle.com>
2428
2429 PR c++/16841
2430 * gdb.cp/virtbase2.cc: New file.
2431 * gdb.cp/virtbase2.exp: New file.
2432
24332018-10-06 Tom Tromey <tom@tromey.com>
2434
2435 PR python/19399:
2436 * gdb.python/py-inferior.exp: Add architecture test.
2437
24382018-10-06 Tom Tromey <tom@tromey.com>
2439
2440 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2441 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2442
24432018-10-06 Tom Tromey <tom@tromey.com>
2444
2445 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2446 of a "throw" catchpoint.
2447
24482018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2449
2450 * gdb.base/info-proc.exp: Update string expected from "help info
2451 proc".
2452
24532018-10-04 Tom Tromey <tom@tromey.com>
2454
2455 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2456 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2457 (test_initial_complaints, test_empty_complaints): Update.
2458 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2459
24602018-10-04 Tom Tromey <tom@tromey.com>
2461
2462 PR cli/19551:
2463 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2464 * lib/gdb.exp (gdb_file_cmd): Update.
2465 * gdb.stabs/weird.exp (print_weird_var): Update.
2466 * gdb.server/solib-list.exp: Update.
2467 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2468 * gdb.mi/mi-cli.exp: Update.
2469 * gdb.linespec/linespec.exp: Update.
2470 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2471 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2472 * gdb.cp/cp-relocate.exp: Update.
2473 * gdb.base/sym-file.exp: Update.
2474 * gdb.base/relocate.exp: Update.
2475 * gdb.base/readnever.exp: Update.
2476 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2477 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2478 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2479 * gdb.base/code_elim.exp: Update.
2480 * gdb.base/break-unload-file.exp (test_break): Update.
2481 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2482 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2483 Update.
2484 * gdb.base/attach.exp (do_attach_tests): Update.
2485 * gdb.base/sepdebug.exp: Update.
2486 * gdb.python/py-section-script.exp: Update.
2487
24882018-10-04 Tom Tromey <tom@tromey.com>
2489
2490 PR cli/22234:
2491 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2492 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2493 output.
2494
24952018-10-04 Tom Tromey <tom@tromey.com>
2496
2497 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2498 set width and height to 0.
2499 (test_command_line_attach_run): Use -quiet.
2500
25012018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2502
2503 * lib/gdb.exp (skip_ifunc_tests): New.
2504 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2505 other compile failures.
2506 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2507
25082018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2509
2510 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2511 is_amd64_regs_target.
2512
25132018-10-01 Alan Hayward <alan.hayward@arm.com>
2514
2515 * gdb.arch/aarch64-sighandler-regs.c: New test.
2516 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2517 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2518
25192018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2520
2521 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2522 assembly.
2523
25242018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2525
2526 * gdb.base/frame-selection.exp: New file.
2527 * gdb.base/frame-selection.c: New file.
2528
25292018-09-27 Alan Hayward <alan.hayward@arm.com>
2530
2531 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2532 pthread barrier.
2533 (main): Likewise.
2534
25352018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 * gdb.base/large-frame-1.c: New file.
2538 * gdb.base/large-frame-2.c: New file.
2539 * gdb.base/large-frame.exp: New file.
2540 * gdb.base/large-frame.h: New file.
2541
25422018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2543
2544 PR gdb/20948
2545 * gdb.base/write_mem.exp: New test.
2546 * gdb.base/write_mem.c: Likewise.
2547
25482018-09-23 Tom Tromey <tom@tromey.com>
2549
2550 PR python/18852:
2551 * gdb.python/py-parameter.exp: Add test for parameter that throws
2552 on "set".
2553
25542018-09-23 Tom Tromey <tom@tromey.com>
2555
2556 PR python/17284:
2557 * gdb.python/py-template.exp (test_template_arg): Add test for
2558 negative template argument number.
2559
25602018-09-23 Tom Tromey <tom@tromey.com>
2561
2562 PR python/14062:
2563 * gdb.python/python.exp: Add test for post_event error.
2564
25652018-09-23 Tom Tromey <tom@tromey.com>
2566
2567 PR python/18170:
2568 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2569 convert pointers to int and long.
2570
25712018-09-23 Tom Tromey <tom@tromey.com>
2572
2573 PR python/20126:
2574 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2575 signed-ness conversion tests.
2576
25772018-09-23 Tom Tromey <tom@tromey.com>
2578
2579 PR python/18352;
2580 * gdb.python/py-value.exp (test_float_conversion): New proc.
2581 Use it.
2582
25832018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2584
2585 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2586
25872018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2588
2589 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2590 no readline.
2591 * gdb.base/utf8-identifiers.exp: Likewise.
2592 * gdb.cp/cpcompletion.exp: Likewise.
2593 * gdb.linespec/cpcompletion.exp: Likewise.
2594 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2595 * gdb.linespec/cpls-ops.exp: Likewise.
2596
25972018-09-19 Richard Bunt <richard.bunt@arm.com>
2598 Chris January <chris.january@arm.com>
2599
2600 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2601 * gdb.fortran/short-circuit-argument-list.exp: New file.
2602 * gdb.fortran/short-circuit-argument-list.f90: New test.
2603
26042018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2605
2606 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2607 "arch=" keyword when executing "-stack-list-frames".
2608
26092018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2610
2611 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2612 "arch=" keyword when executing "-stack-list-frames".
2613
26142018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2615
2616 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2617 break ada".
2618
26192018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2620
2621 PR python/23669
2622 * gdb.python/python.exp: Test gdb.execute("show commands").
2623
26242018-09-16 Tom Tromey <tom@tromey.com>
2625
2626 * gdb.base/new-ui.exp (do_execution_tests): Update.
2627 * gdb.base/dbx.exp (test_breakpoints): Update.
2628
26292018-09-14 Alan Hayward <alan.hayward@arm.com>
2630
2631 * lib/gdb.exp (gdb_simple_compile): Add proc.
2632 (is_elf_target): Use gdb_simple_compile.
2633 (skip_altivec_tests): Likewise.
2634 (skip_vsx_tests): Likewise.
2635 (skip_tsx_tests): Likewise.
2636 (skip_btrace_tests): Likewise.
2637 (skip_btrace_pt_tests): Likewise.
2638 (gdb_can_simple_compile): Likewise.
2639 (gdb_has_argv0): Likewise.
2640 (gdb_target_symbol_prefix): Likewise.
2641 (target_supports_scheduler_locking): Likewise.
2642
26432018-09-13 Tom Tromey <tom@tromey.com>
2644
2645 * Makefile.in (TAGS): Recognize proc_with_prefix and
2646 gdb_caching_proc.
2647
26482018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2649
2650 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2651 method.
2652
26532018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2654
2655 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2656 and a few other Inferior properties when the Inferior is no
2657 longer valid.
2658
26592018-09-13 Tom Tromey <tom@tromey.com>
2660
2661 PR rust/23650:
2662 * gdb.rust/simple.exp: Add test for enum field access error.
2663
26642018-09-13 Tom Tromey <tom@tromey.com>
2665
2666 PR rust/23626:
2667 * gdb.rust/simple.rs (EmptyEnum): New type.
2668 (main): Use it.
2669 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2670
26712018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2672
2673 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2674 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2675 * gdb.python/py-symtab.exp: Update test printing an objfile.
2676
26772018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2678
2679 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2680 object.
2681
26822018-09-12 Alan Hayward <alan.hayward@arm.com>
2683
2684 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2685 (support_complex_tests): Use gdb_can_simple_compile.
2686 (is_ilp32_target): Likewise.
2687 (is_lp64_target): Likewise.
2688 (is_64_target): Likewise.
2689 (is_amd64_regs_target): Likewise.
2690 (is_aarch32_target): Likewise.
2691 (gdb_int128_helper): Likewise.
2692
26932018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2694
2695 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2696
26972018-09-10 Jerome Guitton <guitton@adacore.com>
2698
2699 * gdb.ada/same_component_name: Add test for case of tagged record
2700 with variable-length fields.
2701
27022018-09-10 Xavier Roirand <roirand@adacore.com>
2703
2704 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2705 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2706 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2707 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2708
27092018-09-10 Xavier Roirand <roirand@adacore.com>
2710
2711 * gdb.ada/mi_string_access.exp: New testcase.
2712 * gdb.ada/mi_string_access/bar.adb: New file.
2713 * gdb.ada/mi_string_access/pck.adb: New file.
2714 * gdb.ada/mi_string_access/pck.asd: New file.
2715
27162018-09-10 Xavier Roirand <roirand@adacore.com>
2717
2718 * gdb.ada/mi_var_union.exp: New testcase.
2719 * gdb.ada/mi_var_union/bar.adb: New file.
2720 * gdb.ada/mi_var_union/pck.adb: New file.
2721 * gdb.ada/mi_var_union/pck.asd: New file.
2722
27232018-09-08 Tom Tromey <tom@tromey.com>
2724
2725 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2726
27272018-09-08 Tom Tromey <tom@tromey.com>
2728
2729 PR python/16047:
2730 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2731 (register_pretty_printers): Register new printer.
2732 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2733 test.
2734 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2735 (an_int_type3): New global.
2736
27372018-09-08 Joel Brobecker <brobecker@adacore.com>
2738
2739 * gdb.ada/expr_with_funcall: New testcase.
2740
27412018-09-08 Joel Brobecker <brobecker@adacore.com>
2742
2743 * gdb.ada/packed_array_assign: New testcase.
2744
27452018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2746
2747 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2748 names, and add test prefixes to make test names unique.
2749
27502018-09-05 Tom de Vries <tdevries@suse.de>
2751
2752 * gdb.dwarf2/varval.exp: Add test.
2753
27542018-09-04 Gary Benson <gbenson@redhat.com>
2755
2756 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2757 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2758
27592018-08-31 Tom Tromey <tom@tromey.com>
2760
2761 * gdb.rust/simple.rs: Rename second variable "v".
2762
27632018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.base/funcargs.c (use_a): New function.
2766 (recurse): Call use_a.
2767
27682018-08-29 Keith Seitz <keiths@redhat.com>
2769
2770 * gdb.compile/compile-cplus-anonymous.cc: New file.
2771 * gdb.compile/compile-cplus-anonymous.exp: New file.
2772 * gdb.compile/compile-cplus-array-decay.cc: New file.
2773 * gdb.compile/compile-cplus-array-decay.exp: New file.
2774 * gdb.compile/compile-cplus-inherit.cc: New file.
2775 * gdb.compile/compile-cplus-inherit.exp: New file.
2776 * gdb.compile/compile-cplus-member.cc: New file.
2777 * gdb.compile/compile-cplus-member.exp: New file.
2778 * gdb.compile/compile-cplus-method.cc: New file.
2779 * gdb.compile/compile-cplus-method.exp: New file.
2780 * gdb.compile/compile-cplus-mod.c: "New" file.
2781 * gdb.compile/compile-cplus-namespace.cc: New file.
2782 * gdb.compile/compile-cplus-namespace.exp: New file.
2783 * gdb.compile/compile-cplus-nested.cc: New file.
2784 * gdb.compile/compile-cplus-nested.exp: New file.
2785 * gdb.compile/compile-cplus-print.c: "New" file.
2786 * gdb.compile/compile-cplus-print.exp: "New" file.
2787 * gdb.compile/compile-cplus-virtual.cc: New file.
2788 * gdb.compile/compile-cplus-virtual.exp: New file.
2789 * gdb.compile/compile-cplus.c: "New" file.
2790 * gdb.compile/compile-cplus.exp: "New" file.
2791 * lib/compile-support.exp: New file.
2792
27932018-08-16 Gary Benson <gbenson@redhat.com>
2794
2795 PR gdb/13000:
2796 * gdb.base/batch-exit-status.exp: New file.
2797 * gdb.base/batch-exit-status.good-commands: Likewise.
2798 * gdb.base/batch-exit-status.bad-commands: Likewise.
2799
28002018-08-29 Alan Hayward <alan.hayward@arm.com>
2801
2802 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2803 (struct struct02): Likewise.
2804 (struct struct03): Likewise.
2805 (struct struct04): Likewise.
2806 (struct struct_01_01): New struct.
2807 (struct struct_01_02): Likewise.
2808 (struct struct_01_03): Likewise.
2809 (struct struct_01_04): Likewise.
2810 (struct struct_02_01): Likewise.
2811 (struct struct_02_02): Likewise.
2812 (struct struct_02_03): Likewise.
2813 (struct struct_02_04): Likewise.
2814 (struct struct_04_01): Likewise.
2815 (struct struct_04_02): Likewise.
2816 (struct struct_04_03): Likewise.
2817 (struct struct_04_04): Likewise.
2818 (struct struct_05_01): Likewise.
2819 (struct struct_05_02): Likewise.
2820 (struct struct_05_03): Likewise.
2821 (struct struct_05_04): Likewise.
2822 (cmp_struct01): Remove function.
2823 (cmp_struct02): Likewise.
2824 (cmp_struct03): Likewise.
2825 (cmp_struct04): Likewise.
2826 (cmp_struct_01_01): Add Function.
2827 (cmp_struct_01_02): Likewise.
2828 (cmp_struct_01_03): Likewise.
2829 (cmp_struct_01_04): Likewise.
2830 (cmp_struct_02_01): Likewise.
2831 (cmp_struct_02_02): Likewise.
2832 (cmp_struct_02_03): Likewise.
2833 (cmp_struct_02_04): Likewise.
2834 (cmp_struct_04_01): Likewise.
2835 (cmp_struct_04_02): Likewise.
2836 (cmp_struct_04_03): Likewise.
2837 (cmp_struct_04_04): Likewise.
2838 (cmp_struct_05_01): Likewise.
2839 (cmp_struct_05_02): Likewise.
2840 (cmp_struct_05_03): Likewise.
2841 (cmp_struct_05_04): Likewise.
2842 (call_all): Add new structs.
2843 * gdb.base/infcall-nested-structs.exp: Likewise.
2844
28452018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2846
2847 * gdb.python/py-framefilter-mi.exp: Update regexp to
2848 check for "arch" field in frame output.
2849
28502018-08-23 Kevin Buettner <kevinb@redhat.com>
2851
2852 * gdb.dwarf2/dw2-ranges-func.c: New file.
2853 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2854
28552018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2856
2857 * gdb.base/term.exp: Compare terminal settings with values from
2858 the inferior.
2859 * gdb.base/term.c: Get and set terminal settings.
2860
28612018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2862
2863 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2864 accommodate new "arch" field in frame output.
2865 * gdb.mi/mi-return.exp: Likewise.
2866 * gdb.mi/mi-stack.exp: Likewise.
2867 * gdb.mi/mi-syn-frame.exp: Likewise.
2868 * gdb.mi/user-selected-context-sync.exp: Likewise.
2869
28702018-08-19 Michael Spang <spang@google.com>
2871
2872 PR gdb/11786
2873 * gdb.base/gcore-tls-pie.c: New file.
2874 * gdb.base/gcore-tls-pie.exp: New file.
2875
28762018-08-18 Kevin Buettner <kevinb@redhat.com>
2877
2878 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2879 * gdb.dwarf2/varval.c: New file.
2880 * gdb.dwarf2/varval.exp: New file.
2881
28822018-08-17 Alan Hayward <alan.hayward@arm.com>
2883
2884 PR gdb/18931
2885 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2886
28872018-08-16 Keith Seitz <keiths@redhat.com>
2888
2889 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2890 tests expected to pass.
2891
28922018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2893
2894 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2895 -data-disassemble -a.
2896 (test_disassembly_bogus_args): Likewise.
2897
28982018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2899
2900 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2901
29022018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * gdb.base/vla-optimized-out.exp: Add new test.
2905
29062018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.base/vla-optimized-out-o3.exp: Delete.
2909 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2910 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2911 deleted tests.
2912
29132018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2914
2915 PR gdb/18050:
2916 * gdb.server/extended-remote-restart.c: New file.
2917 * gdb.server/extended-remote-restart.exp: New file.
2918
29192018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2920
2921 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2922 "set variable index = 42".
2923
29242018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2925
2926 * boards/index-cache-gdb.exp: New file.
2927 * gdb.dwarf2/index-cache.exp: New file.
2928 * gdb.dwarf2/index-cache.c: New file.
2929 * gdb.base/maint.exp: Check if we are using the index cache.
2930
29312018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2932
2933 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2934 MAKEFLAGS.
2935
29362018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2937
2938 * dg-extract-results.sh: Move to toplevel contrib.
2939 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2940 * Makefile.in (check-parallel-racy): Likewise.
2941
29422018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2943
2944 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2945 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2946 tests if the target supports scheduler locking.
2947
29482018-08-04 Tom de Vries <tdevries@suse.de>
2949
2950 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2951
29522018-08-02 Tom Tromey <tom@tromey.com>
2953
2954 PR symtab/16842.
2955 * gdb.cp/temargs.exp: Test "info address" of a template
2956 parameter.
2957
29582018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2959
2960 * gdb.python/py-mi-var-info-path-expression.c: New file.
2961 * gdb.python/py-mi-var-info-path-expression.py: New file.
2962 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2963
29642018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2965
2966 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2967 error after "cannot resolve name" string.
2968
29692018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2970
2971 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2972 started.
2973 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2974
29752018-07-28 Tom de Vries <tdevries@suse.de>
2976
2977 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2978
29792018-07-26 Tom de Vries <tdevries@suse.de>
2980
2981 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2982
29832018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2984
2985 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2986 is visible.
2987
29882018-07-26 Tom de Vries <tdevries@suse.de>
2989
2990 PR breakpoints/23366
2991 * gdb.base/catch-follow-exec.c: New test.
2992 * gdb.base/catch-follow-exec.exp: New file.
2993
29942018-07-25 Tom de Vries <tdevries@suse.de>
2995
2996 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2997 vla-optimized-out.c.
2998
29992018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3000
3001 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3002 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3003
30042018-07-20 Tom de Vries <tdevries@suse.de>
3005
3006 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3007 NOCLONE macro.
3008 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3009
30102018-07-19 Tom de Vries <tdevries@suse.de>
3011
3012 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3013 regular expression.
3014
30152018-07-18 Tom de Vries <tdevries@suse.de>
3016
3017 * gdb.base/vla-optimized-out.c: New test.
3018 * gdb.base/vla-optimized-out.exp: New file.
3019
30202018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3021
3022 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3023 message "No address associated with hostname" when gdbserver
3024 cannot resolve the hostname.
3025
30262018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3027
3028 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3029 Add some test prefixes to make tests unique.
3030
30312018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3032
3033 * gdb.base/frameapply.c: New file.
3034 * gdb.base/frameapply.exp: New file.
3035
30362018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3037
3038 * gdb.base/skip.exp: Update expected error message.
3039
30402018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3041 Jan Kratochvil <jan.kratochvil@redhat.com>
3042 Paul Fertser <fercerpav@gmail.com>
3043 Tsutomu Seki <sekiriki@gmail.com>
3044
3045 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3046 parameter.
3047 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3048 by default.
3049 * boards/native-gdbserver.exp: Likewise.
3050 * gdb.server/run-without-local-binary.exp: Improve regexp used
3051 for detecting when a remote debugging connection succeeds.
3052 * gdb.server/server-connect.exp: New file.
3053 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3054 Do not prefix the port number with ":".
3055 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3056 support for detecting and using it. Add '$debughost_gdbserver'
3057 to the list of arguments used to start gdbserver. Handle case
3058 when gdbserver cannot resolve a network name.
3059
30602018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3061
3062 PR c++/23373
3063 * gdb.base/ptype-offsets.cc (struct static_member): New
3064 struct.
3065 (main) <stmember>: New variable.
3066 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3067 with a static member in it.
3068
30692018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3070
3071 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3072 watchpoints enabled and disabled.
3073
30742018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3075
3076 * gdb.base/examine-backward.exp: Still run tests around address
3077 0x0, even if address 0x0 is not readable. Update the pattern for
3078 matching address 0x0 in expected output.
3079
30802018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3081
3082 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3083 malloc/free.
3084
30852018-07-04 Tom de Vries <tdevries@suse.de>
3086
3087 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3088
30892018-07-02 Maciej W. Rozycki <macro@mips.com>
3090
3091 PR tdep/8282
3092 * gdb.arch/mips-disassembler-options.exp: New test.
3093 * gdb.arch/mips-disassembler-options.s: New test source.
3094
30952018-06-29 Pedro Alves <palves@redhat.com>
3096
3097 * gdb.threads/names.exp: Adjust expected "info threads" output.
3098
30992018-06-29 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.opt/inline-break.exp (line number, address): Add "info
3102 break" tests.
3103
31042018-06-29 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3107 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3108 number and address and running to them.
3109
31102018-06-29 Richard Bunt <richard.bunt@arm.com>
3111
3112 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3113
31142018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * lib/compiler.c: Remove executable permission flag.
3117
31182018-06-28 Richard Bunt <richard.bunt@arm.com>
3119
3120 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3121 code.
3122 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3123
31242018-06-28 Petr Tesarik <ptesarik@suse.cz>
3125
3126 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3127
31282018-06-28 Petr Tesarik <ptesarik@suse.cz>
3129
3130 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3131 address argument is omitted.
3132
31332018-06-28 Petr Tesarik <ptesarik@suse.cz>
3134
3135 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3136
31372018-06-27 Omair Javaid <omair.javaid@linaro.org>
3138
3139 PR gdb/21695
3140 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3141 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3142
31432018-06-26 Tom Tromey <tom@tromey.com>
3144
3145 PR rust/22574:
3146 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3147 * gdb.rust/simple.rs (struct SimpleLayout): New.
3148
31492018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3150
3151 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3152 "info registers" output.
3153
31542018-06-21 Richard Bunt <richard.bunt@arm.com>
3155
3156 * gdb.base/watchpoint-hw-attach.c: New test.
3157 * gdb.base/watchpoint-hw-attach.exp: New file.
3158
31592018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3160
3161 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3162 through /bin/sh.
3163 * boards/dwarf4-gdb-index.exp: Likewise.
3164 * boards/fission-dwp.exp: Likewise.
3165
31662018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3167
3168 * gdb.base/float128.exp: Add comment and improved fail message
3169 to the failure case of "print large128" test.
3170
31712018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3172
3173 * configure.ac: Remove AC_PREREQ.
3174 * configure: Re-generate.
3175
31762018-06-19 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3179 (func_extern_caller): New.
3180 (main): Call func_extern_caller.
3181 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3182 logic change.
3183
31842018-06-18 Weimin Pan <weimin.pan@oracle.com>
3185
3186 PR gdb/16841
3187 * gdb.cp/typedef-base.cc: New file.
3188 * gdb.cp/typedef-base.exp: New file.
3189
31902018-06-18 Tom de Vries <tdevries@suse.de>
3191
3192 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3193
31942018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3195 Richard Bunt <Richard.Bunt@arm.com>
3196
3197 * gdb.threads/attach-slow-waitpid.c: New file.
3198 * gdb.threads/attach-slow-waitpid.exp: New file.
3199 * gdb.threads/slow-waitpid.c: New file.
3200
32012018-06-14 Pedro Alves <palves@redhat.com>
3202
3203 * gdb.base/fork-running-state.c: Include <errno.h>.
3204 (exit_if_relative_exits): New.
3205 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3206 exits.
3207 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3208 child exits.
3209
32102018-06-14 Tom de Vries <tdevries@suse.de>
3211
3212 PR cli/22573
3213 * gdb.base/finish-pretty.c: New test.
3214 * gdb.base/finish-pretty.exp: New file.
3215
32162018-06-14 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3219 gdb's expected startup output.
3220
32212018-06-14 Pedro Alves <palves@redhat.com>
3222
3223 * lib/selftest-support.exp (selftest_setup): Remove inlined
3224 function handling.
3225
32262018-06-14 Tom de Vries <tdevries@suse.de>
3227
3228 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3229 matching of breakpoint printing.
3230
32312018-06-13 Tom de Vries <tdevries@suse.de>
3232
3233 PR testsuite/23269
3234 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3235 (fork_child): ... here, and ...
3236 (fork_parent): ... here.
3237
32382018-06-12 Tom de Vries <tdevries@suse.de>
3239
3240 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3241
32422018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3243 Stephen Roberts <stephen.roberts@arm.com>
3244
3245 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3246 rewrite test to describe action performed, rather than possible
3247 failure.
3248
32492018-06-08 Gary Benson <gbenson@redhat.com>
3250
3251 * gdb.threads/check-libthread-db.exp: New file.
3252 * gdb.threads/check-libthread-db.c: Likewise.
3253
32542018-06-05 Tom Tromey <tom@tromey.com>
3255
3256 * gdb.base/default.exp: Update expected "show version" output.
3257
32582018-06-05 Tom Tromey <tom@tromey.com>
3259
3260 PR cli/12326:
3261 * gdb.cp/static-print-quit.exp: Update.
3262 * lib/gdb.exp (pagination_prompt): Update.
3263 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3264 * gdb.python/python.exp: Update.
3265
32662018-06-04 Joel Brobecker <brobecker@adacore.com>
3267
3268 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3269
32702018-06-01 Joel Brobecker <brobecker@adacore.com>
3271
3272 * gdb.ada/bp_fun_addr: New testcase.
3273
32742018-06-01 Tom Tromey <tom@tromey.com>
3275
3276 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3277 results.
3278 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3279 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3280 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3281 * gdb.base/maint.exp (maint_pass_if): Update.
3282
32832018-05-31 Maciej W. Rozycki <macro@mips.com>
3284
3285 * gdb.base/endian.exp: New test.
3286 * gdb.base/endian.c: New test source.
3287
32882018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3289
3290 PR gdb/23203
3291 * gdb.base/bt-selected-frame.c: New file.
3292 * gdb.base/bt-selected-frame.exp: New file.
3293 * lib/gdb.exp (get_current_frame_number): New function.
3294
32952018-05-24 Maciej W. Rozycki <macro@mips.com>
3296 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.threads/tls-core.c: Include <stdlib.h>
3299 (thread_proc): Call `abort'.
3300 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3301 (tls_core_test): New procedure, bits factored out from ...
3302 (top level): ... here. Test both native cores and gcore cores.
3303
33042018-05-23 Tom Tromey <tom@tromey.com>
3305
3306 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3307
33082018-05-23 Tom Tromey <tom@tromey.com>
3309
3310 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3311 symfile_complaints.
3312 (test_short_complaints): Likewise.
3313 (test_empty_complaints): Likewise.
3314 (test_initial_complaints): Update.
3315
33162018-05-23 Tom Tromey <tom@tromey.com>
3317
3318 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3319
33202018-05-23 Tom Tromey <tom@tromey.com>
3321
3322 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3323 (test_short_complaints): Update.
3324
33252018-05-22 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.base/remote.exp: Only gdb_start after compiling the
3328 testcase. Issue "disconnect" before testing "set remote" command
3329 defaults. Issue clean_restart before running to main.
3330
33312018-05-22 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.base/remote.exp: Adjust expected output of "show remote
3334 memory-write-packet-size". Add tests for "set remote
3335 memory-write-packet-size 0" and "set remote
3336 memory-write-packet-size fixed/limit".
3337
33382018-05-22 Pedro Alves <palves@redhat.com>
3339
3340 PR gdb/22973
3341 * gdb.base/utf8-identifiers.c: New file.
3342 * gdb.base/utf8-identifiers.exp: New file.
3343
33442018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3345
3346 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3347
33482018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3349
3350 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3351
33522018-05-18 Tom Tromey <tom@tromey.com>
3353
3354 * gdb.base/ptype-offsets.exp: Update.
3355
33562018-05-17 Keith Seitz <keiths@redhat.com>
3357
3358 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3359 in expected breakpoint stop locations.
3360 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3361 move to proper scope to test variable values.
3362 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3363 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3364 New functions.
3365 (main): Call not_inline_func3.
3366 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3367 inline_func1, inline_func2, and inline_func3. Test that when each
3368 breakpoint is hit, GDB properly reports both the stop location
3369 and the backtrace. Repeat tests for temporary breakpoints.
3370
33712018-05-15 Maciej W. Rozycki <macro@mips.com>
3372
3373 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3374 rather then trying to access it in determining whether the PID
3375 of `gdbserver' could have been retrieved.
3376
33772018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * gdb.arch/amd64-init-x87-values.S: New file.
3380 * gdb.arch/amd64-init-x87-values.exp: New file.
3381
33822018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3383
3384 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3385
33862018-05-04 Tom Tromey <tom@tromey.com>
3387
3388 PR python/22730:
3389 * gdb.python/python.exp: Test multi-line execute.
3390
33912018-05-04 Tom Tromey <tom@tromey.com>
3392
3393 PR python/22731:
3394 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3395
33962018-05-04 Tom Tromey <tom@tromey.com>
3397
3398 PR gdb/11750:
3399 * gdb.base/define.exp: Test defining a user command inside a user
3400 command.
3401 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3402
34032018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3404 Pedro Alves <palves@redhat.com>
3405
3406 PR breakpoints/19806 and support for PR external/20207.
3407 * gdb.base/watchpoint-unaligned.c: New file.
3408 * gdb.base/watchpoint-unaligned.exp: New file.
3409
34102018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3411
3412 * gdb.base/maint.exp: Make test names unique, use
3413 test_prefix_command_help to test 'help maint info', and remove
3414 repeated test of 'help maint'.
3415
34162018-05-04 Tom Tromey <tom@tromey.com>
3417
3418 PR gdb/22619:
3419 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3420 behavior.
3421
34222018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.base/maint.exp: Process output from 'maint print registers'
3425 line at a time.
3426
34272018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3430 timeout.
3431
34322018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3433
3434 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3435 filter pattern.
3436
34372018-05-02 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3440 to_log_command renames.
3441 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3442
34432018-05-02 Tom Tromey <tom@tromey.com>
3444
3445 * gdb.python/py-parameter.exp: Set test message.
3446
34472018-05-02 Tom Tromey <tom@tromey.com>
3448
3449 PR python/20084:
3450 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3451 PARAM_ZUINTEGER_UNLIMITED tests.
3452
34532018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3454
3455 PR rust/23124
3456 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3457 when casting.
3458
34592018-04-30 Tom Tromey <tom@tromey.com>
3460
3461 * gdb.python/py-type.exp: Check align attribute.
3462 * gdb.python/py-type.c: New "aligncheck" global.
3463
34642018-04-30 Tom Tromey <tom@tromey.com>
3465
3466 PR exp/17095:
3467 * gdb.dwarf2/dw2-align.exp: New file.
3468 * gdb.cp/align.exp: New file.
3469 * gdb.base/align.exp: New file.
3470 * lib/gdb.exp (gdb_int128_helper): New proc.
3471 (has_int128_c, has_int128_cxx): New caching procs.
3472
34732018-04-27 Tom Tromey <tom@tromey.com>
3474
3475 PR rust/22545:
3476 * gdb.rust/simple.exp: Add inclusive range tests.
3477
34782018-04-26 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3481 ifunc breakpoint locations correctly of ifunc breakpoints set
3482 while the program resolves the ifunc.
3483
34842018-04-26 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.base/gnu-ifunc-final.c: New file.
3487 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3488 * gdb.base/gnu-ifunc.exp (executable): Delete.
3489 (staticexecutable): Adjust.
3490 (lib_opts, exec_opts): Delete.
3491 (make_binsuffix, build, set-break): New procedures.
3492 (misc_tests): New, with tests factored out from the top level.
3493 (top level): Test different combinations of ifunc resolver name,
3494 resolver with and with debug info, and ifunc target with and
3495 without debug info. Wrap static tests with with_target_prefix.
3496
34972018-04-26 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3500 return type" warnings.
3501
35022018-04-25 Pedro Alves <palves@redhat.com>
3503
3504 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3505 killed".
3506 * gdb.base/kill-after-signal.exp: Likewise.
3507 * gdb.threads/kill.exp: Likewise.
3508
35092018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3510 Sergio Durigan Junior <sergiodj@redhat.com>
3511 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3514 regexps to expect for '[Inferior ... detached]' as well.
3515 * gdb.base/attach.exp: Likewise.
3516 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3517 "gdb_continue_to_end".
3518 (test_catch_syscall_with_wrong_args): Likewise.
3519 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3520 ']'. Don't set 'verbose' on.
3521 * gdb.base/foll-vfork.exp: Likewise.
3522 * gdb.base/fork-print-inferior-events.c: New file.
3523 * gdb.base/fork-print-inferior-events.exp: New file.
3524 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3525 '[Inferior ... has been killed]' message.
3526 * gdb.base/kill-after-signal.exp: Likewise.
3527 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3528 detach message.
3529 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3530 message.
3531 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3532 regexps to expect for '[Inferior ... detached]' as well.
3533 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3534
35352018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3536
3537 PR gdb/23104
3538 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3539
35402018-04-19 Richard Bunt <richard.bunt@arm.com>
3541
3542 * gdb.threads/multiple-successive-infcall.c: New test.
3543 * gdb.threads/multiple-successive-infcall.exp: New file.
3544
35452018-04-17 Tom Tromey <tom@tromey.com>
3546
3547 * gdb.rust/simple.rs (Union): New type.
3548 (main): New local "u".
3549 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3550
35512018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3552
3553 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3554 number information in output of "whereis" command.
3555 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3556
35572018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3558
3559 * gdb.ada/info_types.exp: Adjust expected output to the line
3560 numbers now printed by "info var/func/type".
3561 * gdb.base/completion.exp: Likewise.
3562 * gdb.base/included.exp: Likewise.
3563 * gdb.cp/cp-relocate.exp: Likewise.
3564 * gdb.cp/cplusfuncs.exp: Likewise.
3565 * gdb.cp/namespace.exp: Likewise.
3566 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3567
35682018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3569
3570 * gdb.btrace/cpu.exp: New.
3571
35722018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3573
3574 * gdb.base/step-indirect-call-thunk.exp: New.
3575 * gdb.base/step-indirect-call-thunk.c: New.
3576 * gdb.reverse/step-indirect-call-thunk.exp: New.
3577 * gdb.reverse/step-indirect-call-thunk.c: New.
3578
35792018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3580
3581 * gdb.base/pie-fork.c: New file.
3582 * gdb.base/pie-fork.exp: New file.
3583
35842018-04-11 Tom Tromey <tom@tromey.com>
3585
3586 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3587
35882018-04-10 Pedro Alves <palves@redhat.com>
3589
3590 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3591 exits. Instead loop running forever.
3592 (fork_parent): Run forever too.
3593
35942018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3595
3596 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3597 mi_continue_to_line.
3598 * gdb.mi/mi-stack.c (callee4): Add comment.
3599
36002018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3601
3602 * gdb.mi/mi-stack.exp: Fix indentation.
3603
36042018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3605
3606 PR gdb/22979
3607 * gdb.arch/amd64-osabi.exp: New file.
3608
36092018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3610
3611 PR gdb/22980
3612 * gdb.base/osabi.exp: New file.
3613
36142018-04-02 Weimin Pan <weimin.pan@oracle.com>
3615
3616 * gdb.cp/static-typedef-print.exp: New file.
3617 * gdb.cp/static-typedef-print.cc: New file.
3618
36192018-03-27 Joel Brobecker <brobecker@adacore.com>
3620
3621 * gdb.ada/varsize_limit: New testcase.
3622
36232018-03-27 Joel Brobecker <brobecker@adacore.com>
3624
3625 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3626
3627 * gdb.ada/notcplusplus: New testcase.
3628
3629 * gdb.base/c-linkage-name.c: New file.
3630 * gdb.base/c-linkage-name.exp: New testcase.
3631
36322018-03-26 Tom Tromey <tom@tromey.com>
3633
3634 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3635 * gdb.python/py-framefilter.py (name_error): New global.
3636 (ErrorInName.function): Use name_error.
3637
36382018-03-26 Tom Tromey <tom@tromey.com>
3639
3640 PR backtrace/15582:
3641 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3642
36432018-03-23 Keith Seitz <keiths@redhat.com>
3644
3645 PR c++/22968
3646 * gdb.cp/subtypes.exp: New file.
3647 * gdb.cp/subtypes.h: New file.
3648 * gdb.cp/subtypes.cc: New file.
3649 * gdb.cp/subtypes-2.cc: New file.
3650
36512018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3652
3653 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3654 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3655 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3656 -nostartfiles when compiling the test. Confirm that all registers
3657 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3658
36592018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3660
3661 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3662 option, syntax was wrong anyway.
3663 * gdb.arch/arm-disp-step.exp: Likewise.
3664 * gdb.arch/sparc64-regs.exp: Likewise.
3665 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3666 option, syntax was wrong anyway, switch to use
3667 prepare_for_testing.
3668 * gdb.arch/i386-disp-step.exp: Likewise.
3669
36702018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3671
3672 * gdb.ada/exec_changed.exp: Replace "target_info exists
3673 use_gdb_stub" by "use_gdb_stub".
3674 * gdb.ada/start.exp: Likewise.
3675 * gdb.base/async-shell.exp: Likewise.
3676 * gdb.base/attach-pie-misread.exp: Likewise.
3677 * gdb.base/attach-wait-input.exp: Likewise.
3678 * gdb.base/break-entry.exp: Likewise.
3679 * gdb.base/break-interp.exp: Likewise.
3680 * gdb.base/dprintf-detach.exp: Likewise.
3681 * gdb.base/nostdlib.exp: Likewise.
3682 * gdb.base/solib-nodir.exp: Likewise.
3683 * gdb.base/statistics.exp: Likewise.
3684 * gdb.base/testenv.exp: Likewise.
3685 * gdb.mi/mi-exec-run.exp: Likewise.
3686 * gdb.mi/mi-start.exp: Likewise.
3687 * gdb.multi/dummy-frame-restore.exp: Likewise.
3688 * gdb.multi/multi-arch-exec.exp: Likewise.
3689 * gdb.multi/multi-arch.exp: Likewise.
3690 * gdb.multi/tids.exp: Likewise.
3691 * gdb.multi/watchpoint-multi.exp: Likewise.
3692 * gdb.python/py-events.exp: Likewise.
3693 * gdb.threads/attach-into-signal.exp: Likewise.
3694 * gdb.threads/attach-stopped.exp: Likewise.
3695 * gdb.threads/threadapply.exp: Likewise.
3696 * lib/selftest-support.exp: Likewise.
3697
36982018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3699
3700 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3701
37022018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3703
3704 * gdb.perf/template-breakpoints.cc: New file.
3705 * gdb.perf/template-breakpoints.exp: New file.
3706 * gdb.perf/template-breakpoints.py: New file.
3707
37082018-03-19 Tom Tromey <tom@tromey.com>
3709
3710 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3711 y0.
3712 * gdb.rust/simple.exp: Test bare identifier form of struct
3713 initializer.
3714
37152018-03-19 Tom Tromey <tom@tromey.com>
3716
3717 * gdb.gdb/observer.exp: Remove.
3718
37192018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3720
3721 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3722 "qualified" option when setting breakpoints.
3723 * gdb.trace/backtrace.exp: Likewise.
3724 * gdb.trace/circ.exp: Likewise.
3725 * gdb.trace/collection.exp: Likewise.
3726 * gdb.trace/disconnected-tracing.exp: Likewise.
3727 * gdb.trace/ftrace-lock.exp: Likewise.
3728 * gdb.trace/ftrace.exp: Likewise.
3729 * gdb.trace/infotrace.exp: Likewise.
3730 * gdb.trace/packetlen.exp: Likewise.
3731 * gdb.trace/passc-dyn.exp: Likewise.
3732 * gdb.trace/qtro.exp: Likewise.
3733 * gdb.trace/read-memory.exp: Likewise.
3734 * gdb.trace/report.exp: Likewise.
3735 * gdb.trace/signal.exp: Likewise.
3736 * gdb.trace/status-stop.exp: Likewise.
3737 * gdb.trace/strace.exp: Likewise.
3738 * gdb.trace/tfind.exp: Likewise.
3739 * gdb.trace/trace-break.exp: Likewise.
3740 * gdb.trace/trace-condition.exp: Likewise.
3741 * gdb.trace/trace-mt.exp: Likewise.
3742 * gdb.trace/tstatus.exp: Likewise.
3743 * gdb.trace/tsv.exp: Likewise.
3744 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3745 * gdb.trace/unavailable.exp: Likewise.
3746 * gdb.trace/while-dyn.exp: Likewise.
3747
37482018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3749
3750 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3751 that libinproctrace is copied to the target.
3752
37532018-03-14 Tom Tromey <tom@tromey.com>
3754
3755 PR cli/14977:
3756 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3757 a null pointer.
3758 * gdb.base/wchar.exp: Likewise.
3759
37602018-03-14 Tom Tromey <tom@tromey.com>
3761
3762 PR cli/19918:
3763 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3764 flag.
3765
37662018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3767
3768 PR gdb/22841
3769 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3770 "target" to remote_exec.
3771
37722018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3773
3774 PR gdb/22841
3775 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3776 ${board}_upload): Remove.
3777
37782018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3779
3780 * gdb.cp/watch-cp.cc: New test.
3781 * gdb.cp/watch-cp.exp: New file.
3782
37832018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3784
3785 * gdb.base/infcall-nested-structs.exp: New file.
3786 * gdb.base/infcall-nested-structs.c: New file.
3787 * gdb.base/float.exp: Add riscv support.
3788
37892018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3790
3791 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3792 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3793
37942018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3795
3796 * gdb.server/abspath.exp: New file.
3797 * lib/gdb.exp (with_cwd): New procedure.
3798
37992018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3800
3801 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3802 use it.
3803 (gdb_is_target_remote_prompt): New proc.
3804 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3805 (gdb_is_target_native): Pass prompt parameter to
3806 gdb_is_target_1.
3807
38082018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3809
3810 * gdb.base/load-command.c: New file.
3811 * gdb.base/load-command.exp: New file.
3812 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3813 (gdb_is_target_1): ...this, and generalize for other targets
3814 than just remote.
3815 (gdb_is_target_remote): Use gdb_is_target_1.
3816 (gdb_is_target_native): use gdb_is_target_1.
3817
38182018-02-26 Tom Tromey <tom@tromey.com>
3819
3820 PR python/16497:
3821 * gdb.python/py-framefilter.exp: Update test.
3822
38232018-02-26 Tom Tromey <tom@tromey.com>
3824
3825 * gdb.dwarf2/variant.c: New file.
3826 * gdb.dwarf2/variant.exp: New file.
3827
38282018-02-26 Tom Tromey <tom@tromey.com>
3829
3830 * gdb.rust/simple.exp: Accept more possible results in enum test.
3831
38322018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3833
3834 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3835 parentheses.
3836
38372018-02-23 Maciej W. Rozycki <macro@mips.com>
3838
3839 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3840 name of a variable: $actual_linejj -> $actual_line.
3841
38422018-02-21 John Baldwin <jhb@FreeBSD.org>
3843
3844 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3845
38462018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3847
3848 * gdb.btrace/buffer-size.exp: Do not force BTS.
3849
38502018-02-14 Pedro Alves <palves@redhat.com>
3851
3852 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3853 getting a "Quit".
3854
38552018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3856
3857 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3858 Fix test name.
3859
38602018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3861
3862 * gdb.cp/m-static.exp: Check type of optimized out static
3863 member.
3864
38652018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3866
3867 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3868 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3869
38702018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3871 Leszek Swirski <leszeks@google.com>
3872
3873 * gdb.python/py-prettyprint.c
3874 (struct to_string_returns_value_inner,
3875 struct to_string_returns_value_wrapper): New.
3876 (main): Add tsrvw variable.
3877 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3878 ToStringReturnsValueWrapper): New classes.
3879 (register_pretty_printers): Register new pretty-printers.
3880 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3881 recursive pretty printer.
3882 * gdb.python/py-mi.exp: Likewise.
3883
38842018-02-01 Leszek Swirski <leszeks@google.com>
3885
3886 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3887 functions with the same name as an include file are parsed
3888 correctly.
3889
38902018-02-01 Yao Qi <yao.qi@linaro.org>
3891
3892 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3893 "\[^\r\n\]*".
3894
38952018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3896
3897 * gdb.arch/powerpc-prologue-frame.s: New file.
3898 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3899 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3900
39012018-01-31 Joel Brobecker <brobecker@adacore.com>
3902
3903 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3904
39052018-01-30 Pedro Alves <palves@redhat.com>
3906
3907 PR gdb/13211
3908 * gdb.base/interrupt-daemon.c: New.
3909 * gdb.base/interrupt-daemon.exp: New.
3910 * gdb.multi/multi-term-settings.c: New.
3911 * gdb.multi/multi-term-settings.exp: New.
3912
39132018-01-30 Joel Brobecker <brobecker@adacore.com>
3914
3915 * gdb.base/break.exp: Save the location where the breakpoint
3916 on break.c:47 was actually inserted when debugging the version
3917 compiled at -O2 and use it in the expected output of the "info
3918 break" test performed soon after.
3919
39202018-01-22 Pedro Alves <palves@redhat.com>
3921 Sergio Durigan Junior <sergiodj@redhat.com>
3922
3923 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3924 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3925
39262018-01-22 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdb.base/break-include.c, gdb.base/break-include.inc,
3929 gdb.base/break-include.exp: New files.
3930 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3931 line number now being the actual line number where the breakpoint
3932 was inserted.
3933 * gdb.mi/mi-break.exp: Likewise.
3934 * gdb.mi/mi-reverse.exp: Likewise.
3935 * gdb.mi/mi-simplerun.exp: Ditto.
3936
39372018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3938
3939 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3940 varobj.
3941 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3942
39432018-01-21 Don Breazeal <donb@codesourcery.com>
3944 Andrew Burgess <andrew.burgess@embecosm.com>
3945
3946 * gdb.mi/basics.c: Add new global.
3947 * gdb.mi/mi-frame-regs.exp: New file.
3948 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3949 case.
3950
39512018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3954 non-parameter, and on an unknown symbol.
3955
39562018-01-19 Tom Tromey <tom@tromey.com>
3957
3958 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3959 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3960
39612018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3962
3963 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3964 setrlimit and chdir to int.
3965
39662018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3967
3968 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3969 function.
3970 (my_tend): Likewise.
3971 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3972 rationale of avoiding FP- and vector instructions.
3973
39742018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3975
3976 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3977 "info reg" with "\[ \t\]*".
3978 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3979 "\[ \t\]+".
3980 * gdb.arch/s390-multiarch.exp: Ditto.
3981 * gdb.base/pc-fp.exp: Ditto.
3982 * gdb.reverse/i386-precsave.exp: Ditto.
3983 * gdb.reverse/i386-reverse.exp: Ditto.
3984 * gdb.reverse/i387-env-reverse.exp: Ditto.
3985 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3986
39872018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3988
3989 * lib/gdb.exp (gdb_compile): Re-enable use of
3990 universal_compile_options for languages other than Rust.
3991
39922018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3993
3994 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3995
39962018-01-17 Mike Gulick <mgulick@mathworks.com>
3997
3998 PR gdb/16577
3999 * gdb.base/solib-vanish.exp: New.
4000 * gdb.base/solib-vanish-main.c: New.
4001 * gdb.base/solib-vanish-lib1.c: New.
4002 * gdb.base/solib-vanish-lib2.c: New.
4003
40042018-01-17 Yao Qi <yao.qi@linaro.org>
4005
4006 * gdb.compile/compile.exp: Match the address printed for
4007 frame in the output of command "bt".
4008
40092018-01-15 Tom Tromey <tom@tromey.com>
4010
4011 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4012 compute sp_reg.
4013
40142018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4015
4016 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4017 to prepare.
4018 (prepare): Return 0 on error, 1 on success.
4019
40202018-01-12 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.base/continue-after-aborted-step-over.c: New.
4023 * gdb.base/continue-after-aborted-step-over.exp: New.
4024
40252018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4026
4027 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4028 options when not creating an executable.
4029
40302018-01-11 Pedro Alves <palves@redhat.com>
4031
4032 PR remote/22597
4033 * gdb.server/stop-reply-no-thread.c: New file.
4034 * gdb.server/stop-reply-no-thread.exp: New file.
4035
40362018-01-10 Pedro Alves <palves@redhat.com>
4037
4038 PR gdb/22670
4039 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4040 functions too. Test setting breakpoints and printing C functions
4041 with no debug info too.
4042 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4043
40442018-01-10 Pedro Alves <palves@redhat.com>
4045
4046 PR gdb/22670
4047 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4048 a fail.
4049
40502018-01-10 Pedro Alves <palves@redhat.com>
4051
4052 PR gdb/22670
4053 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4054
40552018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4056
4057 * gdb.server/unittest.exp: Match the output in non-development
4058 mode.
4059
40602018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4061
4062 * gdb.gdb/unittest.exp: Match output in non-development mode.
4063
40642018-01-08 Joel Brobecker <brobecker@adacore.com>
4065
4066 * gdb.ada/access_tagged_param.exp: Relax expected output
4067 for value of "ObjL" in "continue" to pck.inspect breakpoint
4068 test.
4069
40702018-01-08 Joel Brobecker <brobecker@adacore.com>
4071
4072 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4073 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4074
40752018-01-05 Pedro Alves <palves@redhat.com>
4076
4077 PR gdb/18653
4078 * gdb.base/libsegfault.exp: New.
4079
40802018-01-05 Joel Brobecker <brobecker@adacore.com>
4081
4082 PR gdb/22670
4083 * gdb.ada/access_tagged_param.exp: New file.
4084 * gdb.ada/access_tagged_param/foo.adb: New file.
4085
40862018-01-05 Pedro Alves <palves@redhat.com>
4087
4088 PR gdb/22670
4089 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4090 exercise lower case too, and to exercise both full matching and
4091 wild matching.
4092
40932018-01-05 Joel Brobecker <brobecker@adacore.com>
4094
4095 * gdb.ada/rename_subscript_param: New testcase.
4096
40972018-01-05 Jerome Guitton <guitton@adacore.com>
4098
4099 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4100
41012018-01-05 Joel Brobecker <brobecker@adacore.com>
4102
4103 * gdb.ada/convvar_comp: New testcase.
4104
41052018-01-05 Xavier Roirand <roirand@adacore.com>
4106
4107 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4108 (My_Table): New global variable.
4109 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4110
41112018-01-04 Joel Brobecker <brobecker@adacore.com>
4112
4113 PR gdb/22670
4114 * gdb.ada/maint_with_ada: New testcase.
4115
41162018-01-04 Joel Brobecker <brobecker@adacore.com>
4117
4118 PR gdb/22670
4119 * gdb.ada/bp_c_mixed_case: New testcase.
4120
41212018-01-04 Joel Brobecker <brobecker@adacore.com>
4122
4123 PR gdb/22670
4124 * gdb.ada/complete.exp: Add "complete break ada" test.
4125
41262018-01-04 Joel Brobecker <brobecker@adacore.com>
4127
4128 PR gdb/22670
4129 * gdb.ada/info_addr_mixed_case: New testcase.
4130
41312018-01-03 Xavier Roirand <roirand@adacore.com>
4132
4133 * gdb.ada/excep_handle.exp: New testcase.
4134 * gdb.ada/excep_handle/foo.adb: New file.
4135 * gdb.ada/excep_handle/pck.ads: New file.
4136
41372018-01-03 Joel Brobecker <brobecker@adacore.com>
4138
4139 * gdb.base/step-line.c: Add extra empty line in copyright header.
4140 * gdb.base/step-line.inp: Likewise.
4141
41422018-01-02 Joel Brobecker <brobecker@adacore.com>
4143
4144 * gdb.ada/dyn_stride.exp: Add slice test.
4145
41462018-01-02 Joel Brobecker <brobecker@adacore.com>
4147
4148 * gdb.ada/dyn_stride: New testcase.
4149
41502017-12-27 Stafford Horne <shorne@gmail.com>
4151
4152 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4153 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4154
41552017-12-27 Stafford Horne <shorne@gmail.com>
4156
4157 * gdb.base/reggroups.c: New file.
4158 * gdb.base/reggroups.exp: New file.
4159
41602017-12-18 Joel Brobecker <brobecker@adacore.com>
4161
4162 * gdb.dwarf2/ada-valprint-error.c: New file.
4163 * gdb.dwarf2/ada-valprint-error.exp: New file.
4164
41652017-12-18 Joel Brobecker <brobecker@adacore.com>
4166
4167 * gdb.ada/assign_arr: New testcase.
4168
41692017-12-18 Xavier Roirand <roirand@adacore.com>
4170
4171 * gdb.ada/funcall_ptr: New testcase.
4172
41732017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4174
4175 PR cli/16224
4176 * gdb.base/ptype-offsets.cc: New file.
4177 * gdb.base/ptype-offsets.exp: New file.
4178
41792017-12-15 Yao Qi <yao.qi@linaro.org>
4180
4181 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4182 if XML is disabled.
4183
41842017-12-15 Xavier Roirand <roirand@adacore.com>
4185
4186 * gdb.ada/same_component_name: New testcase.
4187
41882017-12-14 Joel Brobecker <brobecker@adacore.com>
4189
4190 * gdb.ada/str_binop_equal: New testcase.
4191
41922017-12-14 Joel Brobecker <brobecker@adacore.com>
4193
4194 * gdb.ada/task_switch_in_core: New testcase.
4195
41962017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4197
4198 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4199 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4200 call test_bkpt_qualified.
4201 (test_bkpt_qualified): New proc.
4202
42032017-12-13 Pedro Alves <palves@redhat.com>
4204
4205 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4206 Tighten regexp by matching with an anchor.
4207
42082017-12-13 Pedro Alves <palves@redhat.com>
4209
4210 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4211 ("expression with namespace"): New set of tests.
4212 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4213 (Nested::Test_NS::qux): New.
4214 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4215 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4216
42172017-12-13 Joel Brobecker <brobecker@adacore.com>
4218
4219 * gdb.base/server-del-break.c: New file.
4220 * gdb.base/server-del-break.exp: New file.
4221
42222017-12-12 Stafford Horne <shorne@gmail.com>
4223
4224 * gdb.xml/tdesc-regs.exp: Add or1k support.
4225
42262017-12-12 Stafford Horne <shorne@gmail.com>
4227
4228 * gdb.base/bp-permanent.c: Define nop of or1k.
4229
42302017-12-11 Joel Brobecker <brobecker@adacore.com>
4231
4232 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4233 output with components being reordered.
4234
42352017-12-11 Joel Brobecker <brobecker@adacore.com>
4236
4237 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4238 output with components being reordered.
4239
42402017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4241 Pedro Alves <palves@redhat.com>
4242
4243 * gdb.base/maint.exp (check for .gdb_index): Check also for
4244 .debug_names.
4245 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4246 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4247 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4248 (.gdb_index used after symbol reloading): Support also .debug_names.
4249 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4250
42512017-12-08 Yao Qi <yao.qi@linaro.org>
4252
4253 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4254 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4255
42562017-12-08 Yao Qi <yao.qi@linaro.org>
4257
4258 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4259 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4260
42612017-12-08 Yao Qi <yao.qi@linaro.org>
4262
4263 * gdb.arch/aarch64-tagged-pointer.c: New file.
4264 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4265
42662017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4267
4268 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4269 "int".
4270
42712017-12-07 Keith Seitz <keiths@redhat.com>
4272
4273 PR breakpoints/22569
4274 * gdb.linespec/ls-errs.exp: Change expected result of "break
4275 -source this file has spaces.c -line 3".
4276 Check that an explicit source file followed by whitespace is
4277 identified as an invalid explicit location.
4278
42792017-12-07 Keith Seitz <keiths@redhat.com>
4280
4281 * gdb.cp/nested-types.cc: New file.
4282 * gdb.cp/nested-types.exp: New file.
4283 * lib/cp-support.exp: Load data-structures.exp library.
4284 (debug_cp_test_ptype_class): New global.
4285 (cp_ptype_class_verbose, next_line): New procedures.
4286 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4287 Add and document new return value.
4288 Switch the list of lines to a queue.
4289 Add support for new `type' key for nested type definitions.
4290 Add debugging/troubleshooting messages.
4291 * lib/data-structures.exp: New file.
4292
42932017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4294
4295 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4296 with proc_with_prefix, don't use with_test_prefix.
4297
42982017-12-07 Tom Tromey <tom@tromey.com>
4299
4300 * gdb.base/break.exp: Add test for empty "commands".
4301
43022017-12-07 Yao Qi <yao.qi@linaro.org>
4303
4304 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4305 malloc and catch syscall.
4306
43072017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4308
4309 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4310 tests for explicit locations.
4311
43122017-12-06 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4315 force-disabling XML descriptions.
4316
43172017-12-04 Pedro Alves <palves@redhat.com>
4318
4319 PR gdb/22499
4320 * gdb.arch/amd64-disp-step-avx.S: New file.
4321 * gdb.arch/amd64-disp-step-avx.exp: New file.
4322
43232017-12-03 Pedro Alves <palves@redhat.com>
4324
4325 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4326 and <string.h>.
4327 (parent_function): Print distinct messages when waitpid fails, or
4328 the child exits with a signal, or the child exits for an unhandled
4329 reason.
4330 * gdb.threads/process-dies-while-detaching.exp
4331 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4332 it. Wait for both inferior output and GDB's prompt. Use an
4333 indirect spawn id list.
4334 (do_detach): New parameter 'child_exit'. Use it to compute
4335 expected inferior output.
4336 (test_detach, test_detach_watch, test_detach_killed_outside):
4337 Adjust to pass down the expected child exit kind.
4338
43392017-12-01 Joel Brobecker <brobecker@adacore.com>
4340 Sergio Durigan Junior <sergiodj@redhat.com>
4341 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4344
43452017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4346
4347 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4348 to 'symbol-file' and 'add-symbol-file' can be
4349 position-independent.
4350
43512017-12-01 Yao Qi <yao.qi@linaro.org>
4352
4353 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4354 the URL in copyright header.
4355 * gdb.arch/aarch64-fp.exp: Likewise.
4356 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4357 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4358 * gdb.base/expand-psymtabs.exp: Likewise.
4359 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4360 * gdb.fortran/common-block.exp: Likewise.
4361 * gdb.fortran/common-block.f90: Likewise.
4362 * gdb.fortran/logical.exp: Likewise.
4363 * gdb.fortran/vla-datatypes.f90: Likewise.
4364 * gdb.fortran/vla-sub.f90: Likewise.
4365
43662017-11-30 Joel Brobecker <brobecker@adacore.com>
4367
4368 * gdb.ada/repeat_dyn: New testcase.
4369
43702017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4371
4372 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4373 Update for changed thread numbering.
4374 * gdb.cell/bt.exp: Update for changed GDB output.
4375
43762017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4377
4378 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4379 setting isremote by hand.
4380 * boards/dwarf4-gdb-index.exp: Likewise.
4381 * boards/fission.exp: Likewise.
4382 * boards/stabs.exp: Likewise.
4383
43842017-11-30 Pedro Alves <palves@redhat.com>
4385
4386 * gdb.linespec/cpls-ops.exp
4387 (check_explicit_skips_function_argument): Extract the underlying
4388 type of size_t instead of hardcoding it.
4389
43902017-11-29 Pedro Alves <palves@redhat.com>
4391
4392 PR c++/19436
4393 * gdb.linespec/cpls-abi-tag.cc: New file.
4394 * gdb.linespec/cpls-abi-tag.exp: New file.
4395
43962017-11-29 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.base/langs.exp: Use -qualified.
4399 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4400 it.
4401 * gdb.cp/namespace.exp: Use -qualified.
4402 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4403 (overload-3, template-overload, template-ret-type, const-overload)
4404 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4405 procedures.
4406 (test_driver): Call them.
4407 * gdb.cp/save-bp-qualified.cc: New.
4408 * gdb.cp/save-bp-qualified.exp: New.
4409 * gdb.linespec/explicit.exp: Test -qualified.
4410 * lib/completion-support.exp (completion::explicit_opts_list): Add
4411 "-qualified".
4412 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4413
44142017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4415
4416 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4417
44182017-11-29 Tom Tromey <tom@tromey.com>
4419
4420 * gdb.base/relocate.exp: Update invalid argument test.
4421 Add new tests for invalid arguments.
4422
44232017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4424
4425 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4426 Return 0 as a long.
4427 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4428
44292017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4430
4431 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4432 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4433 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4434 func ().
4435 * gdb.cp/shadow.cc (B.func): Return 0.
4436
44372017-11-27 Joel Brobecker <brobecker@adacore.com>
4438
4439 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4440 expected output in gdb_expect call to allow the exception
4441 message to be present as well. Fix syntax confusion to avoid
4442 TCL thinking that exception_name is an array.
4443
44442017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4445
4446 * gdb.arch/spu-info.c: Include <unistd.h>.
4447 (do_signal_test): Fix broken calls to write.
4448 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4449 Fix checks for empty mailboxes. Update signal tests for corrected
4450 do_signal_test routine. Allow nonzero event status.
4451 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4452 * gdb.cell/arch.exp: Use standard_output_file.
4453 * gdb.cell/break.exp: Likewise.
4454 * gdb.cell/bt.exp: Likewise.
4455 * gdb.cell/core.exp: Likewise.
4456 * gdb.cell/dwarfaddr.exp: Likewise.
4457 * gdb.cell/ea-cache.exp: Likewise.
4458 * gdb.cell/ea-standalone.exp: Likewise.
4459 * gdb.cell/f-regs.exp: Likewise.
4460 * gdb.cell/fork.exp: Likewise.
4461 * gdb.cell/gcore.exp: Likewise.
4462 * gdb.cell/mem-access.exp: Likewise.
4463 * gdb.cell/ptype.exp: Likewise.
4464 * gdb.cell/registers.exp: Likewise.
4465 * gdb.cell/sizeof.exp: Likewise.
4466 * gdb.cell/solib-symbol.exp: Likewise.
4467 * gdb.cell/solib.exp: Likewise.
4468
44692017-11-25 Pedro Alves <palves@redhat.com>
4470
4471 * gdb.base/complete-empty.exp: New file.
4472 * gdb.base/completion.exp: Adjust.
4473
44742017-11-25 Pedro Alves <palves@redhat.com>
4475
4476 * gdb.linespec/cpls-ops.cc: New file.
4477 * gdb.linespec/cpls-ops.exp: New file.
4478 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4479 factored out from ...
4480 (test_complete_prefix_range): ... this.
4481
44822017-11-24 Pedro Alves <palves@redhat.com>
4483
4484 * gdb.linespec/cpcompletion.exp: New file.
4485 * gdb.linespec/cpls-hyphen.cc: New file.
4486 * gdb.linespec/cpls.cc: New file.
4487 * gdb.linespec/cpls2.cc: New file.
4488 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4489 test to use test_gdb_complete_unique. Add label completion,
4490 keyword completion and explicit location completion tests.
4491 * lib/completion-support.exp: New file.
4492
44932017-11-24 Joel Brobecker <brobecker@adacore.com>
4494
4495 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4496 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4497 when hitting an exception catchpoint.
4498
44992017-11-22 Yao Qi <yao.qi@linaro.org>
4500
4501 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4502
45032017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4504
4505 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4506 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4507 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4508
45092017-11-22 Yao Qi <yao.qi@linaro.org>
4510
4511 * gdb.base/info-os.exp: Pass pthreads.
4512 * gdb.multi/multi-attach.exp: Likewise.
4513
45142017-11-22 Yao Qi <yao.qi@linaro.org>
4515
4516 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4517 compiler.
4518
45192017-11-22 Yao Qi <yao.qi@linaro.org>
4520
4521 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4522 * gdb.base/break-interp.exp: Likewise.
4523 * gdb.base/jit-attach-pie.exp: Likewise.
4524
45252017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4526
4527 * gdb.base/float128.c (large128): New variable.
4528 * gdb.base/float128.exp: Add test to print largest __float128 value.
4529
45302017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4531
4532 * gdb.arch/vsx-regs.exp: Update register content checks.
4533
45342017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4535
4536 * gdb.arch/ppc-longdouble.exp: New file.
4537 * gdb.arch/ppc-longdouble.c: Likewise.
4538
45392017-11-21 Pedro Alves <palves@redhat.com>
4540
4541 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4542
45432017-11-20 Pedro Alves <palves@redhat.com>
4544
4545 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4546 (long_double_typedef): New typedefs.
4547 Use DEF on double and long double.
4548 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4549 cases.
4550 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4551 and 'long_double_ptr_same_size' locals. Use them to decide
4552 whether cast from array/function to float is valid/invalid.
4553
45542017-11-17 Tom Tromey <tom@tromey.com>
4555
4556 * gdb.rust/traits.rs: New file.
4557 * gdb.rust/traits.exp: New file.
4558
45592017-11-17 Joel Brobecker <brobecker@adacore.com>
4560
4561 * gdb.ada/minsyms: New testcase.
4562
45632017-11-16 Pedro Alves <palves@redhat.com>
4564
4565 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4566 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4567
45682017-11-16 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4571 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4572
45732017-11-16 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.server/reconnect-ctrl-c.c: New file.
4576 * gdb.server/reconnect-ctrl-c.exp: New file.
4577
45782017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4579
4580 * gdb.python/py-rbreak.exp: New file.
4581 * gdb.python/py-rbreak.c: New file.
4582 * gdb.python/py-rbreak-func2.c: New file.
4583
45842017-11-16 Pedro Alves <palves@redhat.com>
4585
4586 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4587 pattern.
4588 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4589 GDB.
4590
45912017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4592
4593 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4594 regex.
4595
45962017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4597
4598 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4599 test names.
4600
46012017-11-09 Pedro Alves <palves@redhat.com>
4602
4603 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4604 factored out from ...
4605 (top level): ... here, and adjusted to avoid expecting beyond the
4606 prompt in a single gdb_test_multiple.
4607
46082017-11-09 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4611 output.
4612 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4613 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4614 * gdb.server/ext-run.exp ("kill" test): Likewise.
4615 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4616
46172017-11-09 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4620 match till end of line.
4621
46222017-11-09 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4625
46262017-11-09 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4629 New procedures, factored out from ...
4630 (top level): ... here, and adjusted to avoid expecting beyond the
4631 prompt in one go.
4632
46332017-11-09 Pedro Alves <palves@redhat.com>
4634
4635 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4636 output. Fix '?' match.
4637
46382017-11-08 Joel Brobecker <brobecker@adacore.com>
4639
4640 * gdb.ada/scoped_watch: New testcase.
4641 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4642 which is actually correct.
4643 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4644 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4645
46462017-11-08 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.gdb/complaints.exp (test_initial_complaints)
4649 (test_serial_complaints, test_short_complaints): Call
4650 complaint_internal instead of complaint.
4651
46522017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4653
4654 * gdb.threads/tls-core.c: New file.
4655 * gdb.threads/tls-core.exp: Likewise.
4656
46572017-11-08 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4660 (p Exported_Capitalized): New test.
4661 (p exported_capitalized): New test.
4662
46632017-11-07 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4666
46672017-11-07 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4670 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4671 (disable_invalid, disable_inverted, disable_negative): New
4672 procedures.
4673 ("bad numbers"): New set of tests.
4674
46752017-11-07 Pedro Alves <palves@redhat.com>
4676
4677 * gdb.cp/ena-dis-br-range.exp: Add tests.
4678
46792017-11-07 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4682
46832017-11-07 Xavier Roirand <roirand@adacore.com>
4684 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.base/ena-dis-br.exp: Add reference to
4687 gdb.cp/ena-dis-br-range.exp.
4688 * gdb.cp/ena-dis-br-range.exp: New file.
4689 * gdb.cp/ena-dis-br-range.cc: New file.
4690
46912017-11-06 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.base/attach-non-pgrp-leader.c: New.
4694 * gdb.base/attach-non-pgrp-leader.exp: New.
4695
46962017-11-06 Pedro Alves <palves@redhat.com>
4697
4698 * configure.ac: No longer check for termio.h and sgtty.h.
4699 * configure: Regenerate.
4700 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4701 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4702 Remove termio and sgtty code.
4703
47042017-11-03 Yao Qi <yao.qi@linaro.org>
4705
4706 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4707 in GDB is disabled.
4708
47092017-11-03 Yao Qi <yao.qi@linaro.org>
4710
4711 * gdb.python/py-thrhandle.exp: Skip it if python is not
4712 enabled.
4713
47142017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4715
4716 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4717 as a breakpoint command.
4718
47192017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4720
4721 PR python/21213
4722 * gdb.python/py-infthread.exp: Test calling
4723 InferiorThread.inferior () multiple times in a row.
4724
47252017-10-27 Keith Seitz <keiths@redhat.com>
4726
4727 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4728 Test "info break" for every inlined function breakpoint.
4729
47302017-10-27 Yao Qi <yao.qi@linaro.org>
4731
4732 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4733
47342017-10-26 Patrick Frants <osscontribute@gmail.com>
4735
4736 * gdb.cp/classes.exp (test_static_members): Test printing
4737 Outer::instance.
4738 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4739 (Inner::instance, Outer::instance): New.
4740
47412017-10-24 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4744 extra console" test in two stages.
4745
47462017-10-24 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4749
47502017-10-24 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4753 loop.
4754
47552017-10-24 Pedro Alves <palves@redhat.com>
4756
4757 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4758 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4759
47602017-10-24 Pedro Alves <palves@redhat.com>
4761
4762 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4763 parameter and handle it. Don't output read value in test name.
4764
47652017-10-24 Pedro Alves <palves@redhat.com>
4766
4767 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4768 custom test name.
4769
47702017-10-24 Pedro Alves <palves@redhat.com>
4771
4772 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4773 include the unstable output directory name in the test's name.
4774 (initial_setup_simple) <'set args'>: Use custom test name.
4775
47762017-10-24 Pedro Alves <palves@redhat.com>
4777
4778 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4779 with explicit test name.
4780
47812017-10-20 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4784 'wait -i'. Use gdb_assert and remote_close.
4785
47862017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4787
4788 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4789 number from variable rather than hard-coded.
4790
47912017-10-19 Pedro Alves <palves@redhat.com>
4792
4793 * gdb.base/long-inferior-output.c: New file.
4794 * gdb.base/long-inferior-output.exp: New file.
4795
47962017-11-18 Keith Seitz <keiths@redhat.com>
4797
4798 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4799 method.
4800 (main): Call it.
4801 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4802 Add additional user-defined conversion operator tests.
4803
48042017-10-17 Pedro Alves <palves@redhat.com>
4805
4806 * boards/native-stdio-gdbserver.exp: Load "local-board".
4807
48082017-10-17 Pedro Alves <palves@redhat.com>
4809
4810 * gdb.base/quit-live.c: New file.
4811 * gdb.base/quit-live.exp: New file.
4812
48132017-10-16 Keith Seitz <keiths@redhat.com>
4814
4815 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4816 (class_with_protected_typedef, class_with_private_typedef)
4817 (struct_with_public_typedef, struct_with_protected_typedef)
4818 (struct_with_private_typedef): New classes/structs.
4819 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4820 typedefs and access specifiers.
4821
48222017-10-16 Pedro Alves <palves@redhat.com>
4823 Simon Marchi <simon.marchi@polymtl.ca>
4824
4825 * README (Local vs Remote vs Native): New section.
4826 * boards/local-board.exp: New file, with bits factored out from
4827 ...
4828 * boards/native-extended-gdbserver.exp: ... here. Load
4829 "local-board".
4830 * boards/native-gdbserver.exp: Load "local-board".
4831 (${board}_spawn, ${board}_exec): Delete.
4832 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4833 ...
4834 * boards/stdio-gdbserver-base.exp: ... this new file.
4835 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4836 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4837 procedure.
4838 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4839 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4840 stdio_gdbserver_command.
4841 (${board}_get_remote_address, ${board}_get_comm_port)
4842 (${board}_download, ${board}_upload): Delete.
4843 (get_target_remote_pipe_cmd): New.
4844
48452017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4846
4847 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4848 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4849 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4850 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4851 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4852 remove with_test_prefix.
4853
48542017-10-13 Pedro Alves <palves@redhat.com>
4855
4856 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4857 * gdb.base/annota1.exp: Use it instead of is_remote.
4858 * gdb.base/annota3.exp: Use it instead of is_remote.
4859 * gdb.cp/annota2.exp: Use it instead of is_remote.
4860 * gdb.cp/annota3.exp: Use it instead of is_remote.
4861 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4862
48632017-10-13 Pedro Alves <palves@redhat.com>
4864
4865 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4866 (test_num_test_vars, run_and_count_vars, find_env)
4867 (test_set_unset_env, test_inherit_env_var): New procedures.
4868 (top level): Use them.
4869
48702017-10-13 Pedro Alves <palves@redhat.com>
4871
4872 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4873 also skip on stub-like targets.
4874
48752017-10-13 Pedro Alves <palves@redhat.com>
4876
4877 PR gdb/22293
4878 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4879 (top level): Move some tests to ...
4880 (test_not_found): ... this new procedure.
4881 (top level): Call it.
4882
48832017-10-13 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4886 expect different "info terminal" output if testing with a
4887 non-native target.
4888
48892017-10-13 Pedro Alves <palves@redhat.com>
4890 Simon Marchi <simon.marchi@polymtl.ca>
4891
4892 PR python/12966
4893 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4894
48952017-10-13 Pedro Alves <palves@redhat.com>
4896
4897 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4898 already.
4899
49002017-10-13 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4903 is_remote.
4904
49052017-10-13 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4908 is_remote.
4909
49102017-10-13 Pedro Alves <palves@redhat.com>
4911
4912 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4913 is set.
4914 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4915 instead of is_remote.
4916
49172017-10-13 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4920 (top level): Add comment.
4921
49222017-10-13 Pedro Alves <palves@redhat.com>
4923
4924 * gdb.base/remote.exp (top level): Fix comment typo and add
4925 missing return.
4926
49272017-10-13 Pedro Alves <palves@redhat.com>
4928 Simon Marchi <simon.marchi@polymtl.ca>
4929
4930 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4931 calls and add comments. Skip test if use_gdb_stub is set.
4932 (top level): Use "set cwd" command instead of "cd" command.
4933
49342017-10-13 Pedro Alves <palves@redhat.com>
4935
4936 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4937 is_remote target check.
4938
49392017-10-13 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.base/scope.exp: Use build_executable + clean_restart +
4942 gdb_file_cmd instead of prepare_for_testing and no longer skip
4943 "before run" tests on is_remote target boards. Update comments.
4944 * boards/native-extended-gdbserver.exp
4945 (extended_gdbserver_load_last_file): New, factored out from ...
4946 (gdb_load): ... this. Move further below and add comment.
4947 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4948
49492017-10-12 Pedro Alves <palves@redhat.com>
4950
4951 * gdb.base/attach.exp: Remove references to gdb64.
4952 * gdb.base/dbx.exp: Remove references to gdb64.
4953
49542017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4955 Pedro Alves <palves@redhat.com>
4956
4957 * gdb.base/label.exp: Remove is_remote target check.
4958
49592017-10-12 Pedro Alves <palves@redhat.com>
4960
4961 * gdb.base/auvx.exp (coredir): Update comment.
4962 (top level) <core_works>: Use "set cwd" command instead of "cd"
4963 command.
4964
49652017-10-12 Pedro Alves <palves@redhat.com>
4966 Simon Marchi <simon.marchi@polymtl.ca>
4967
4968 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4969 target boards.
4970
49712017-10-12 Pedro Alves <palves@redhat.com>
4972 Simon Marchi <simon.marchi@polymtl.ca>
4973
4974 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4975 Instead skip if there's any gdb_protocol set.
4976
49772017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4978 Pedro Alves <palves@redhat.com>
4979
4980 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4981
49822017-10-12 Pedro Alves <palves@redhat.com>
4983 Simon Marchi <simon.marchi@polymtl.ca>
4984
4985 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4986 instead of on dejagnu remote boards.
4987
49882017-10-12 Pedro Alves <palves@redhat.com>
4989 Simon Marchi <simon.marchi@polymtl.ca>
4990
4991 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4992 checks. Use build_executable + clean_restart instead of
4993 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4994 of enabling non-stop after starting gdb.
4995
49962017-10-12 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4999 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5000 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5001 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5002
50032017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5004
5005 * gdb.arch/arc-tdesc-cpu.exp: New file.
5006 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5007
50082017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5009
5010 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5011
50122017-10-10 Pedro Alves <palves@redhat.com>
5013
5014 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5015 expect CLI output.
5016
50172017-10-10 Pedro Alves <palves@redhat.com>
5018
5019 * lib/selftest-support.exp (selftest_setup): Update for
5020 captured_command_loop's prototype change.
5021
50222017-10-09 Pedro Alves <palves@redhat.com>
5023
5024 Test both arch1=>arch2 and arch2=>arch1.
5025
5026 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5027 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5028 factored out to...
5029 (append_arch1_options, append_arch2_options, append_arch_options)
5030 (build_executables): New procedures.
5031 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5032 local.
5033 (top level): Add new 'first_arch' testing axis.
5034
50352017-10-09 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5038 (barrier): New.
5039 (thread_start, all_started): New functions.
5040 (main): Spawn new thread and wait until it is scheduled.
5041 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5042 option.
5043 (do_test): Add 'selected_thread' parameter. Run to all_started
5044 instead of main. Explicitly set the breakpoint at main. Switch
5045 to the SELECTED_THREAD thread.
5046 (top level): Test handling the exec event with either the main
5047 thread or the second thread selected.
5048
50492017-10-09 Pedro Alves <palves@redhat.com>
5050
5051 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5052 logic. Move STOP marker after the value checks.
5053 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5054 regexp.
5055
50562017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5057
5058 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5059
50602017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5061
5062 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5063 integer-to-dfp conversion.
5064 * gdb.base/dfp-test.exp: Likewise.
5065
50662017-10-04 Pedro Alves <palves@redhat.com>
5067
5068 * gdb.multi/hangout.c: Include <unistd.h>.
5069 (hangout_loop): New function.
5070 (main): Call alarm. Call hangout_loop in a loop.
5071 * gdb.multi/hello.c: Include <unistd.h>.
5072 (hello_loop): New function.
5073 (main): Call alarm. Call hangout_loop in a loop.
5074 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5075 inferior with the other selected.
5076
50772017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5078
5079 * gdb.mi/list-thread-groups-available.exp: New file.
5080 * gdb.mi/list-thread-groups-available.c: New file.
5081
50822017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5083
5084 * gdb.base/set-cwd.exp: Make it available on
5085 native-extended-gdbserver.
5086
50872017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5088
5089 * gdb.base/set-cwd.c: New file.
5090 * gdb.base/set-cwd.exp: Likewise.
5091
50922017-10-02 Tom Tromey <tom@tromey.com>
5093
5094 PR rust/22236:
5095 * gdb.rust/simple.rs (main): New variable "fslice".
5096 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5097
50982017-10-02 Tom Tromey <tom@tromey.com>
5099
5100 * gdb.rust/simple.exp: Test ptype of a slice.
5101
51022017-10-02 Tom Tromey <tom@tromey.com>
5103
5104 * gdb.rust/simple.exp: Test index of slice.
5105
51062017-09-27 Tom Tromey <tom@tromey.com>
5107
5108 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5109
51102017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5111 Pedro Alves <palves@redhat.com>
5112
5113 * gdb.base/compare-sections.exp (get value of read-only section): Read
5114 as unsigned value.
5115 (corrupt read-only section): Likewise and don't set written if patching
5116 failed.
5117
51182017-09-21 Kevin Buettner <kevinb@redhat.com>
5119
5120 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5121 files.
5122
51232017-09-20 Pedro Alves <palves@redhat.com>
5124
5125 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5126 symbol names in gdb's output.
5127 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5128
51292017-09-20 Pedro Alves <palves@redhat.com>
5130
5131 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5132 Rename to ...
5133 (test_list_ambiguous_symbol): ... this and add a symbol name
5134 parameter. Adjust.
5135 (test_list_ambiguous_function): Reimplement on top of
5136 test_list_ambiguous_symbol and also test listing ambiguous
5137 variables.
5138 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5139 (ambiguous_fun): ... this.
5140 (ambiguous_var): New.
5141 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5142 (ambiguous_fun): ... this.
5143 (ambiguous_var): New.
5144
51452017-09-19 John Baldwin <jhb@FreeBSD.org>
5146
5147 * gdb.base/starti.c: New file.
5148 * gdb.base/starti.exp: New file.
5149 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5150
51512017-09-14 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5154 (top level): Use it instead of runto.
5155
51562017-09-11 Tom Tromey <tom@tromey.com>
5157
5158 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5159
51602017-09-11 Tom Tromey <tom@tromey.com>
5161
5162 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5163 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5164
51652017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5166
5167 * gdb.fortran/printing-types.exp: New file.
5168 * gdb.fortran/printing-types.exp: New file.
5169
51702017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5171
5172 * gdb.fortran/vla-ptype.exp: Fix typos.
5173 * gdb.fortran/vla-value.exp: Same.
5174
51752017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5176
5177 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5178 * gdb.mi/mi-var-child-f.exp: Likewise.
5179 * gdb.mi/mi-vla-fortran.exp: Likewise.
5180
51812017-09-08 Frank Penczek <frank.penczek@intel.com>
5182 Christoph Weinmann <christoph.t.weinmann@intel.com>
5183 Bernhard Heckel <bernhard.heckel@intel.com>
5184
5185 * gdb.fortran/ptr-indentation.f90: New file.
5186 * gdb.fortran/ptr-indentation.exp: New file.
5187
51882017-09-05 Tom Tromey <tom@tromey.com>
5189
5190 PR gdb/22010:
5191 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5192
51932017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5194
5195 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5196
51972017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5198
5199 * gdb.threads/tls-nodebug-pie.c: New file.
5200 * gdb.threads/tls-nodebug-pie.exp: New file.
5201
52022017-09-05 Tom Tromey <tom@tromey.com>
5203
5204 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5205 for rust.
5206
52072017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5208
5209 * gdb.multi/multi-arch-exec.exp: Test with different
5210 "follow-exec-mode" settings.
5211 (do_test): New procedure.
5212
52132017-09-04 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/func-static.c (S::method const, S::method volatile)
5216 (S::method volatile const): New methods.
5217 (c_s, v_s, cv_s): New instances.
5218 (main): Call method() on them.
5219 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5220 (cannot_resolve): New procedure.
5221 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5222 print-quote-unquoted columns.
5223 (do_test): Test printing each scope too.
5224
52252017-09-04 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.base/local-static.exp: Also test with
5228 class::method::variable wholly quoted.
5229 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5230
52312017-09-04 Pedro Alves <palves@redhat.com>
5232
5233 * gdb.base/local-static.c: New.
5234 * gdb.base/local-static.cc: New.
5235 * gdb.base/local-static.exp: New.
5236
52372017-09-04 Pedro Alves <palves@redhat.com>
5238
5239 * gdb.asm/asm-source.exp: Add casts to int.
5240 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5241 (dataglobal64_1, dataglobal64_2): New globals.
5242 * gdb.base/nodebug.exp: Test different expressions involving the
5243 new globals, with print, whatis and ptype. Add casts to int.
5244 * gdb.base/solib-display.exp: Add casts to int.
5245 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5246 * gdb.cp/m-static.exp: Add cast to int.
5247 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5248 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5249 tls variable with no debug info without a cast. Test with a cast
5250 to int too.
5251 * gdb.trace/entry-values.exp: Add casts.
5252
52532017-09-04 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.base/nodebug.exp: Test that ptype's error about functions
5256 with unknown return type includes the function name too.
5257
52582017-09-04 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5261 return type of munmap in infcall.
5262 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5263 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5264 type of ftell in infcall.
5265 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5266 type of getpid in infcall.
5267 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5268 infcall.
5269 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5270 Bail on failure to extract the pid.
5271 * gdb.base/nodebug.c: #include <stdint.h>.
5272 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5273 New functions.
5274 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5275 Change expected output of print/whatis/ptype with functions with
5276 no debug info. Test all supported languages. Call
5277 test_call_promotion.
5278 * gdb.compile/compile.exp: Adjust expected output to expect
5279 warning.
5280 * gdb.threads/siginfo-threads.exp: Likewise.
5281
52822017-09-04 Pedro Alves <palves@redhat.com>
5283
5284 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5285 "prototypes". Test calling float functions via prototyped and
5286 unprototyped function pointers.
5287 (perform_all_tests): New parameter "prototypes". Pass it down.
5288 (top level): Pass down "prototypes" parameter to
5289 perform_all_tests.
5290
52912017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5292
5293 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5294 Test with nested loops.
5295
52962017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5297
5298 * gdb.base/commands.exp: Call the new procedures.
5299 (loop_break_test, loop_continue_test): New procedures.
5300
53012017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * gdb.base/commands.exp: Call new procedure.
5304 (define_if_without_arg_test): New procedure.
5305
53062017-09-04 Pedro Alves <palves@redhat.com>
5307
5308 * gdb.base/list-ambiguous.exp: New file.
5309 * gdb.base/list-ambiguous0.c: New file.
5310 * gdb.base/list-ambiguous1.c: New file.
5311 * gdb.base/list.exp (test_list_range): Adjust expected output.
5312
53132017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5314
5315 * gdb.base/share-env-with-gdbserver.c: New file.
5316 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5317
53182017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 * gdb.base/commands.exp (gdbvar_simple_if_test,
5321 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5322 progvar_simple_if_test, progvar_simple_while_test,
5323 progvar_complex_if_while_test, user_defined_command_test,
5324 user_defined_command_args_eval,
5325 user_defined_command_args_stack_test,
5326 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5327 temporary_breakpoint_commands,
5328 gdb_test_no_prompt, redefine_hook_test,
5329 redefine_backtrace_test): Remove "global gdb_prompt".
5330
53312017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5332
5333 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5334 New proc, call it from toplevel.
5335
53362017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5337
5338 PR remote/21852
5339 * gdb.server/normal.c: New file, copied from gdb.base.
5340 * gdb.server/run-without-local-binary.exp: New file.
5341
53422017-08-07 Weimin Pan <weimin.pan@oracle.com>
5343
5344 * gdb.arch/sparc64-adi.exp: New file.
5345 * gdb.arch/sparc64-adi.c: New file.
5346
53472017-08-22 Pedro Alves <palves@redhat.com>
5348
5349 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5350 (top level): Add "list all overloads" tests.
5351
53522017-08-22 Tom Tromey <tom@tromey.com>
5353
5354 * gdb.gdb/xfullpath.exp: Remove.
5355
53562017-08-21 Pedro Alves <palves@redhat.com>
5357
5358 PR gdb/19487
5359 * gdb.base/symbol-alias.c: New.
5360 * gdb.base/symbol-alias2.c: New.
5361 * gdb.base/symbol-alias.exp: New.
5362
53632017-08-21 Pedro Alves <palves@redhat.com>
5364
5365 * gdb.base/dfp-test.c
5366 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5367 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5368 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5369 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5370 * gdb.base/whatis-ptype-typedefs.c: New.
5371 * gdb.base/whatis-ptype-typedefs.exp: New.
5372 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5373 (an_int, an_int_type, an_int_type2): New globals.
5374 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5375 involving typedefs and cast expressions.
5376 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5377 (lookup_typedefs_function): New.
5378 (typedefs_pretty_printers_dict): New.
5379 (top level): Register lookup_typedefs_function in
5380 gdb.pretty_printers.
5381
53822017-08-18 Yao Qi <yao.qi@linaro.org>
5383
5384 * gdb.server/unittest.exp: New.
5385
53862017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5387
5388 PR gdb/21954
5389 * gdb.base/environ.exp: Add test to check if 'unset environment'
5390 works.
5391
53922017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5393
5394 * lib/gdb.exp (universal_compile_options): New caching proc.
5395 (gdb_compile): Suppress GCC's coloring of messages.
5396
53972017-08-14 Tom Tromey <tom@tromey.com>
5398
5399 PR gdb/21675:
5400 * gdb.base/printcmds.exp (test_radices): New function.
5401 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5402 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5403 * lib/gdb.exp (get_integer_valueof): Use p/d.
5404
54052017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5406
5407 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5408 characters.
5409
54102017-08-05 Tom Tromey <tom@tromey.com>
5411
5412 * gdb.rust/simple.exp: Allow String to appear in a different
5413 namespace.
5414
54152017-07-26 Yao Qi <yao.qi@linaro.org>
5416
5417 * gdb.gdb/unittest.exp: Invoke command
5418 "maintenance check xml-descriptions".
5419
54202017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5421
5422 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5423 calling context.
5424 (hex128): Drop erroneous calculation of parameters.
5425
54262017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5427
5428 * gdb.python/py-unwind.exp: Disable stack protection when
5429 building test file.
5430
54312017-07-20 Pedro Alves <palves@redhat.com>
5432
5433 * gdb.base/default.exp (set language): Adjust expected output.
5434
54352017-07-20 Pedro Alves <palves@redhat.com>
5436
5437 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5438 (test_minsym): ... this, and make static.
5439 (get_pck__foo__bar__minsym): Rename to ...
5440 (get_test_minsym): ... this.
5441 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5442 symbol names and comments.
5443 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5444 (get_test_minsym): ... this.
5445 (pck__foo__bar__minsym__2): Rename to ...
5446 (test_minsym): ... this.
5447 (main): Adjust.
5448
54492017-07-17 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/completion.exp: Adjust expected output.
5452 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5453 the completer works.
5454
54552017-07-17 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5458
54592017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5460
5461 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5462
54632017-07-14 Tom Tromey <tom@tromey.com>
5464
5465 PR rust/21764:
5466 * gdb.rust/simple.exp: Add tests.
5467
54682017-07-14 Tom Tromey <tom@tromey.com>
5469
5470 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5471
54722017-07-14 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.linespec/base/one/thefile.cc (z1): New function.
5475 * gdb.linespec/base/two/thefile.cc (z2): New function.
5476 * gdb.linespec/linespec.exp: Add tests.
5477
54782017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5479
5480 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5481 to mi_create_breakpoint.
5482
54832017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5484
5485 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5486 mi_create_breakpoint.
5487
54882017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5489
5490 * gdb.dlang/demangle.exp: Update for demangling changes.
5491
54922017-07-09 Tom Tromey <tom@tromey.com>
5493
5494 * gdb.dwarf2/shortpiece.exp: New file.
5495
54962017-07-06 David Blaikie <dblaikie@gmail.com>
5497
5498 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5499 built from fissiont-multi-cu{1,2}.c.
5500 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5501 except putting 'main' and 'func' in separate CUs in the same DWO file.
5502 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5503 test.
5504 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5505 test.
5506
55072017-07-06 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.python/py-unwind.exp: Test flushregs.
5510
55112017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5512
5513 PR cli/21688
5514 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5515 tests for alias commands and trailing whitespace.
5516
55172017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5518
5519 PR cli/21688
5520 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5521 procedure. Call it.
5522
55232017-06-29 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/printcmds.exp: Add tests.
5526
55272017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5528
5529 PR gdb/21337
5530 * gdb.base/reread-readsym.exp: New file.
5531 * gdb.base/reread-readsym.c: New file.
5532
55332017-06-21 Kevin Buettner <kevinb@redhat.com>
5534
5535 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5536 subpattern.
5537
55382017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5539
5540 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5541 extended mnemonic.
5542 * gdb.arch/powerpc-power9.s: Likewise.
5543
55442017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5545
5546 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5547 on 32-bit x86 targets. Exploit is_*_target macros where
5548 appropriate.
5549
55502017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5551
5552 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5553 register pieces.
5554
55552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5556
5557 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5558 located in one or more DWARF pieces.
5559
55602017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5561
5562 * lib/gdb.exp (get_endianness): New proc.
5563 * gdb.arch/aarch64-fp.exp: Use it.
5564 * gdb.arch/altivec-regs.exp: Likewise.
5565 * gdb.arch/e500-regs.exp: Likewise.
5566 * gdb.arch/vsx-regs.exp: Likewise.
5567 * gdb.base/dump.exp: Likewise.
5568 * gdb.base/funcargs.exp: Likewise.
5569 * gdb.base/gnu_vector.exp: Likewise.
5570 * gdb.dwarf2/formdata16.exp: Likewise.
5571 * gdb.dwarf2/implptrpiece.exp: Likewise.
5572 * gdb.dwarf2/nonvar-access.exp: Likewise.
5573 * gdb.python/py-inferior.exp: Likewise.
5574 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5575
55762017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5577
5578 PR gdb/21226
5579 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5580 stack value pieces are taken from the LSB end.
5581
55822017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5583
5584 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5585 variable at nonzero offset.
5586
55872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588
5589 * gdb.dwarf2/var-access.c: New file.
5590 * gdb.dwarf2/var-access.exp: New test.
5591 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5592
55932017-06-12 Tom Tromey <tom@tromey.com>
5594
5595 * gdb.dwarf2/formdata16.exp: Add tests.
5596
55972017-06-12 Tom Tromey <tom@tromey.com>
5598
5599 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5600
56012017-06-12 Tom Tromey <tom@tromey.com>
5602
5603 PR exp/16225:
5604 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5605 * gdb.arch/vsx-regs.exp: Update tests.
5606 * gdb.arch/s390-vregs.exp (hex128): New proc.
5607 Update test.
5608 * gdb.arch/altivec-regs.exp: Update tests.
5609
56102017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5611
5612 * gdb.base/startup-with-shell.c: New file.
5613 * gdb.base/startup-with-shell.exp: Likewise.
5614
56152017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5616
5617 * gdb.server/non-existing-program.exp: Update regex in order to
5618 reflect the fact that gdbserver is now using fork_inferior (with a
5619 shell) to startup the inferior.
5620
56212017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5622
5623 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5624 support function calls from GDB.
5625
56262017-05-21 Tom Tromey <tom@tromey.com>
5627
5628 PR rust/21466:
5629 * gdb.rust/unsized.exp: New file.
5630 * gdb.rust/unsized.rs: New file.
5631
56322017-05-19 Tom Tromey <tom@tromey.com>
5633
5634 PR rust/21484:
5635 * gdb.rust/watch.exp: New file.
5636 * gdb.rust/watch.rs: New file.
5637
56382017-05-18 Tom Tromey <tom@tromey.com>
5639
5640 * gdb.rust/simple.exp: Allow Box to be qualified.
5641
56422017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5643
5644 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5645
56462017-05-18 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.base/fileio.c (test_write, test_read, test_close)
5649 (test_fstat): Don't print 'ret' in the fail path.
5650
56512017-05-18 Pedro Alves <palves@redhat.com>
5652
5653 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5654 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5655 (test_system, test_rename, test_unlink, test_time): Change
5656 prototypes.
5657 * gdb.base/fileio.exp (stop_msg): Adjust.
5658
56592017-05-18 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.base/fileio.c (null_str): New global.
5662 (test_stat): Use it.
5663 * gdb.base/fileio.exp: Remove nowarnings.
5664
56652017-05-17 Yao Qi <yao.qi@linaro.org>
5666
5667 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5668
56692017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5670
5671 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5672 argument command.
5673 (top-level): Invoke test_set_inferior_tty.
5674
56752017-05-04 Pedro Alves <palves@redhat.com>
5676
5677 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5678 Add parens to print call for Python 3.
5679
56802017-05-03 Keith Seitz <keiths@redhat.com>
5681
5682 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5683 (main): Call it.
5684
56852017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5686
5687 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5688 to prev and next.
5689
56902017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5691
5692 * gdb.python/py-record-btrace.exp: Remove test for
5693 gdb.BtraceInstruction.error.
5694
56952017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5696
5697 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5698
56992017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5700
5701 * gdb.python/py-record-btrace-threads.c: New file.
5702 * gdb.python/py-record-btrace-threads.exp: New file.
5703
57042017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5705
5706 PR testsuite/8595
5707 * gdb.base/environ.exp: Make test available in all architectures.
5708 Move bits related to "info program" testing to
5709 gdb.base/info-program.exp. Rewrite tests to use the two new
5710 procedures mentione below.
5711 (test_set_show_env_var) New procedure.
5712 (test_set_show_env_var_equal): Likewise.
5713 * gdb.base/info-program.exp: New file.
5714
57152017-04-27 Keith Seitz <keiths@redhat.com>
5716
5717 * gdb.cp/oranking.cc (test15): New function.
5718 (main): Call test15 and declare additional variables for testing.
5719 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5720 "p foo101('abc')" tests.
5721 Add tests for cv qualifier overloads.
5722 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5723 "lvalue reference overload" test.
5724 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5725 "print value of f1 on Child&& in f2" test.
5726
57272017-04-19 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5730 procedure.
5731 (top level): Call it.
5732 * lib/gdb.exp (gdb_define_cmd): New procedure.
5733
57342017-04-12 Pedro Alves <palves@redhat.com>
5735
5736 PR gdb/21323
5737 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5738 (wchar): New global.
5739 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5740 (do_test_wide_char, wide_char_types_no_program, top level): Add
5741 wchar_t testing.
5742
57432017-04-12 Pedro Alves <palves@redhat.com>
5744
5745 PR c++/21323
5746 * gdb.cp/wide_char_types.c: New file.
5747 * gdb.cp/wide_char_types.exp: New file.
5748
57492017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5750
5751 PR gdb/21352
5752 * gdb.trace/tsv.exp: Add test for "tsave -r".
5753
57542017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5755
5756 * gdb.dlang/watch-loc.c: New file.
5757 * gdb.dlang/watch-loc.exp: New file.
5758
57592017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5760
5761 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5762
57632017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5764
5765 * gdb.arch/arc-analyze-prologue.S: New file.
5766 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5767
57682017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5769
5770 * gdb.arch/arc-decode-insn.S: New file.
5771 * gdb.arch/arc-decode-insn.exp: Likewise.
5772
57732017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5774
5775 PR tdep/20928
5776 * gdb.arch/sparc64-regs.exp: New file.
5777 * gdb.arch/sparc64-regs.S: Likewise.
5778
57792017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5780
5781 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5782 and memory view on Python 3.
5783
57842017-03-20 Artemiy Volkov <artemiyv@acm.org>
5785 Keith Seitz <keiths@redhat.com>
5786
5787 PR gdb/14441
5788 * gdb.cp/demangle.exp: Add rvalue reference tests.
5789 * gdb.cp/rvalue-ref-casts.cc: New file.
5790 * gdb.cp/rvalue-ref-casts.exp: New file.
5791 * gdb.cp/rvalue-ref-overload.cc: New file.
5792 * gdb.cp/rvalue-ref-overload.exp: New file.
5793 * gdb.cp/rvalue-ref-params.cc: New file.
5794 * gdb.cp/rvalue-ref-params.exp: New file.
5795 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5796 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5797 * gdb.cp/rvalue-ref-types.cc: New file.
5798 * gdb.cp/rvalue-ref-types.exp: New file.
5799 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5800 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5801
58022017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5803
5804 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5805 New procedure.
5806
58072017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5808
5809 * lib/mi-support.exp (mi_gdb_test): Add additional message
5810 for unexpected output.
5811
58122017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5813
5814 * gdb.base/examine-backward.c (Barrier): New character array
5815 constant, to ensure that TestStrings is preceded by a string
5816 terminator.
5817
58182017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5819
5820 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5821 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5822 and implicit pointer into such a location.
5823
58242017-03-16 Doug Evans <dje@google.com>
5825
5826 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5827
58282017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5829
5830 * gdb.cp/m-static.exp: Fix expectation for prototype of
5831 test5.single_constructor and single_constructor::single_constructor.
5832
58332017-03-16 Doug Evans <dje@google.com>
5834
5835 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5836 * gdb.guile/scm-lazy-string.c: New file.
5837 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5838 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5839 for pointer, array, typedef lazy strings.
5840
58412017-03-16 Doug Evans <dje@google.com>
5842
5843 PR python/17728, python/18439, python/18779
5844 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5845 * gdb.python/py-lazy-string.c (pointer): New typedef.
5846 (main): New locals ptr, array, typedef_ptr.
5847 * gdb.python/py-value.exp: Move lazy string tests to ...
5848 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5849 array, typedef lazy strings.
5850
58512017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5852
5853 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5854 Add optional 'test' parameter.
5855
58562017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5857
5858 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5859 Skip for versions of DejaGnu < 1.5.
5860
58612017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5862
5863 * lib/gdb.exp (dejagnu_version): New proc.
5864 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5865 Use dejagnu_version.
5866
58672017-03-10 Keith Seitz <keiths@redhat.com>
5868
5869 PR c++/8128
5870 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5871 type from destructor regexps.
5872 Add a branch which actually passes the test.
5873 Adjust "ptype t5i" test names.
5874
58752017-03-08 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/step-over-exit.exp: Add explicit test message.
5878
58792017-03-08 Pedro Alves <palves@redhat.com>
5880
5881 PR gdb/18360
5882 * gdb.threads/interrupt-while-step-over.c: New file.
5883 * gdb.threads/interrupt-while-step-over.exp: New file.
5884
58852017-03-08 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5888 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5889
58902017-03-08 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5893 PKRU as not supported as a PASS.
5894
58952017-03-08 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5898 prefix instead of $binfile1/$binfile2.
5899 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5900 in test message.
5901 * gdb.python/py-completion.exp: Use "load python file" as test
5902 messages instead of unstable path names.
5903
59042017-03-08 Pedro Alves <palves@redhat.com>
5905 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 PR cli/21218
5908 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5909 New proc.
5910 (top level): Call it.
5911
59122017-03-08 Pedro Alves <palves@redhat.com>
5913
5914 PR tui/21216
5915 * gdb.tui/tui-nl-filtered-output.exp: New file.
5916
59172017-03-08 Pedro Alves <palves@redhat.com>
5918
5919 * gdb.base/completion.exp: Move TUI completion tests to ...
5920 * gdb.tui/completion.exp: ... this new file.
5921
59222017-03-08 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/tui-disasm-long-lines.c,
5925 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5926 gdb.base/tui-layout.exp: Move to ...
5927 * gdb.tui/: ... this new directory.
5928
59292017-03-07 Pedro Alves <palves@redhat.com>
5930
5931 * gdb.base/tui-layout.c: New file.
5932 * gdb.base/tui-layout.exp: New file.
5933
59342017-03-07 Pedro Alves <palves@redhat.com>
5935
5936 * gdb.base/tui-layout.c: Rename to ...
5937 * gdb.base/tui-disasm-long-lines.c: ... this.
5938 * gdb.base/tui-layout.exp: Rename to ...
5939 * gdb.base/tui-disasm-long-lines.exp: ... this.
5940
59412017-03-07 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5944
59452017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5946
5947 * i386-mpx-call.c: New file.
5948 * i386-mpx-call.exp: New file.
5949
59502017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5951
5952 * gdb.arch/powerpc-power.exp: Delete test.
5953 * gdb.arch/powerpc-power.s: Likewise.
5954 * gdb.disasm/disassembler-options.exp: New test.
5955 * gdb.arch/powerpc-altivec.exp: Likewise.
5956 * gdb.arch/powerpc-altivec.s: Likewise.
5957 * gdb.arch/powerpc-altivec2.exp: Likewise.
5958 * gdb.arch/powerpc-altivec2.s: Likewise.
5959 * gdb.arch/powerpc-altivec3.exp: Likewise.
5960 * gdb.arch/powerpc-altivec3.s: Likewise.
5961 * gdb.arch/powerpc-power7.exp: Likewise.
5962 * gdb.arch/powerpc-power7.s: Likewise.
5963 * gdb.arch/powerpc-power8.exp: Likewise.
5964 * gdb.arch/powerpc-power8.s: Likewise.
5965 * gdb.arch/powerpc-power9.exp: Likewise.
5966 * gdb.arch/powerpc-power9.s: Likewise.
5967 * gdb.arch/powerpc-vsx.exp: Likewise.
5968 * gdb.arch/powerpc-vsx.s: Likewise.
5969 * gdb.arch/powerpc-vsx2.exp: Likewise.
5970 * gdb.arch/powerpc-vsx2.s: Likewise.
5971 * gdb.arch/powerpc-vsx3.exp: Likewise.
5972 * gdb.arch/powerpc-vsx3.s: Likewise.
5973 * gdb.arch/arm-disassembler-options.exp: Likewise.
5974 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5975 * gdb.arch/s390-disassembler-options.exp: Likewise.
5976
59772017-02-23 Luis Machado <lgustavo@codesourcery.com>
5978
5979 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5980 (check_supported_features): ... this. Changed return type to void.
5981 (supports_rdseed): New static global.
5982 (rdseed): Check supports_rdseed.
5983 (initialize): Call check_supported_features.
5984
59852017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5986
5987 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5988 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5989 and lqarx/stqcx.
5990 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5991 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5992
59932017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5994
5995 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5996 uppercase.
5997
59982017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5999
6000 * gdb.dwarf2/formdata16.c: New file.
6001 * gdb.dwarf2/formdata16.exp: New file.
6002 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6003
60042017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6005
6006 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6007 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6008 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6009 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6010 DW_AT_GNU_*.
6011
60122017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6013
6014 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6015
60162017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6017
6018 PR gdb/21164
6019 * gdb.base/maint.exp: Add testcases for when the commands do
6020 not have arguments.
6021
60222017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6023
6024 * gdb.cp/chained-calls.exp: Use p instead of P.
6025
60262017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6027
6028 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6029 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6030
60312017-02-14 Tom Tromey <tom@tromey.com>
6032
6033 PR python/13598:
6034 * gdb.python/py-events.exp: Add before_prompt event tests.
6035
60362017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6037
6038 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6039
60402017-02-13 Luis Machado <lgustavo@codesourcery.com>
6041
6042 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6043 (main): Call my_unique_function_name.
6044 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6045 completion of patterns with a single match.
6046 Add missing -re switches to gdb_test_multiple calls.
6047
60482017-02-13 Luis Machado <lgustavo@codesourcery.com>
6049
6050 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6051 return if core file is not recognized.
6052
60532017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6054
6055 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6056 and extra UIs.
6057
60582017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6059
6060 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6061 proc_with_prefix.
6062
60632017-02-10 Tom Tromey <tom@tromey.com>
6064
6065 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6066
60672017-02-10 Martin Galvan <martingalvan@sourceware.org>
6068
6069 PR gdb/21122
6070 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6071
60722017-02-08 Jerome Guitton <guitton@adacore.com>
6073
6074 * gdb.base/define.exp: Add test for command abbreviations
6075 in define.
6076
60772017-02-06 Luis Machado <lgustavo@codesourcery.com>
6078
6079 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6080 * gdb.reverse/insn-reverse-x86.c: New file.
6081
60822017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6083
6084 PR tdep/20936
6085 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6086
60872017-02-03 Tom Tromey <tom@tromey.com>
6088
6089 PR rust/21097:
6090 * gdb.rust/simple.exp: Add new tests.
6091
60922017-02-02 Pedro Alves <palves@redhat.com>
6093
6094 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6095 tests.
6096
60972017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098
6099 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6100 taking a 2-byte value out of a 4-byte DWARF implicit value on
6101 big-endian targets.
6102 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6103 logic. Add test cases for DW_OP_implicit.
6104
61052017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6106
6107 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6108
61092017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6110
6111 * gdb.btrace/enable.exp: Call gdb_exit before
6112 skip_gdbserver_tests.
6113
61142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6115
6116 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6117 GDBFLAGS.
6118
61192017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6120
6121 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6122 the test is skipped.
6123 * gdb.btrace/data.exp: Likewise.
6124 * gdb.btrace/delta.exp: Likewise.
6125 * gdb.btrace/dlopen.exp: Likewise.
6126 * gdb.btrace/enable-running.exp: Likewise.
6127 * gdb.btrace/enable.exp: Likewise.
6128 * gdb.btrace/exception.exp: Likewise.
6129 * gdb.btrace/function_call_history.exp: Likewise.
6130 * gdb.btrace/gcore.exp: Likewise.
6131 * gdb.btrace/instruction_history.exp: Likewise.
6132 * gdb.btrace/multi-thread-step.exp: Likewise.
6133 * gdb.btrace/nohist.exp: Likewise.
6134 * gdb.btrace/non-stop.exp: Likewise.
6135 * gdb.btrace/reconnect.exp: Likewise.
6136 * gdb.btrace/record_goto-step.exp: Likewise.
6137 * gdb.btrace/record_goto.exp: Likewise.
6138 * gdb.btrace/rn-dl-bind.exp: Likewise.
6139 * gdb.btrace/segv.exp: Likewise.
6140 * gdb.btrace/step.exp: Likewise.
6141 * gdb.btrace/stepi.exp: Likewise.
6142 * gdb.btrace/tailcall-only.exp: Likewise.
6143 * gdb.btrace/tailcall.exp: Likewise.
6144 * gdb.btrace/tsx.exp: Likewise.
6145 * gdb.btrace/unknown_functions.exp: Likewise.
6146 * gdb.btrace/vdso.exp: Likewise.
6147
61482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6149
6150 * gdb.btrace/enable-running.c: New.
6151 * gdb.btrace/enable-running.exp: New.
6152
61532017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6154
6155 * gdb.arch/amd64-gs_base.c: New file.
6156 * gdb.arch/amd64-gs_base.exp: New file.
6157
61582017-01-26 Luis Machado <lgustavo@codesourcery.com>
6159
6160 * lib/memory.exp: Remove spurious empty newlines.
6161
61622017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6163
6164 * gdb.python/py-bad-printers.exp: Load python file using "source".
6165 * gdb.python/py-events.exp: Likewise.
6166 * gdb.python/py-evsignal.exp: Likewise.
6167 * gdb.python/py-evthreads.exp: Likewise.
6168 * gdb.python/py-frame-args.exp: Likewise.
6169 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6170 * gdb.python/py-framefilter-mi.exp: Likewise.
6171 * gdb.python/py-framefilter.exp: Likewise.
6172 * gdb.python/py-mi.exp: Likewise.
6173 * gdb.python/py-pp-maint.exp: Likewise.
6174 * gdb.python/py-pp-registration.exp: Likewise.
6175 * gdb.python/py-prettyprint.exp: Likewise.
6176 (run_lang_tests): Likewise.
6177 * gdb.python/py-typeprint.exp: Likewise.
6178
61792017-01-26 Luis Machado <lgustavo@codesourcery.com>
6180
6181 * lib/memory.exp: New file.
6182 * lib/gdb.exp: Load memory.exp.
6183 * gdb.base/memattr.exp (delete_memory): Move proc to
6184 lib/memory.exp and rename to delete_memory_regions.
6185 Replace delete_memory with delete_memory_regions.
6186 Cleanup memory regions before tests.
6187 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6188 before tests.
6189
61902017-01-26 Luis Machado <lgustavo@codesourcery.com>
6191
6192 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6193 files.
6194 (initialize): New function conditionally defined.
6195 (testcases): Move within conditional block.
6196 (main): Call initialize.
6197 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6198 of gdb.reverse/insn-reverse.c.
6199 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6200 gdb.reverse/insn-reverse.c.
6201
62022017-01-26 Yao Qi <yao.qi@linaro.org>
6203
6204 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6205 disassemble on address 0.
6206
62072017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6208 Yao Qi <yao.qi@linaro.org>
6209
6210 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6211 * gdb.dwarf2/implptr-64bit.S: Remove.
6212 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6213 variables in caller's context. Add DW_OP_implicit_value.
6214
62152017-01-25 Yao Qi <yao.qi@linaro.org>
6216
6217 * lib/dwarf.exp (Dwarf::_location): Handle
6218 DW_OP_GNU_implicit_pointer with proper size.
6219
62202017-01-20 Luis Machado <lgustavo@codesourcery.com>
6221
6222 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6223 and add untested calls.
6224
62252017-01-20 Luis Machado <lgustavo@codesourcery.com>
6226
6227 * gdb.python/python.exp: Check line number against what GDB thinks
6228 the line number is for func1.
6229
62302017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6231
6232 * gdb.dlang/debug-expr.exp: New file.
6233
62342016-12-23 Luis Machado <lgustavo@codesourcery.com>
6235
6236 Fix test names for the following files:
6237
6238 * gdb.ada/exec_changed.exp
6239 * gdb.ada/info_types.exp
6240 * gdb.arch/aarch64-atomic-inst.exp
6241 * gdb.arch/aarch64-fp.exp
6242 * gdb.arch/altivec-abi.exp
6243 * gdb.arch/altivec-regs.exp
6244 * gdb.arch/amd64-byte.exp
6245 * gdb.arch/amd64-disp-step.exp
6246 * gdb.arch/amd64-dword.exp
6247 * gdb.arch/amd64-entry-value-inline.exp
6248 * gdb.arch/amd64-entry-value-param.exp
6249 * gdb.arch/amd64-entry-value-paramref.exp
6250 * gdb.arch/amd64-entry-value.exp
6251 * gdb.arch/amd64-i386-address.exp
6252 * gdb.arch/amd64-invalid-stack-middle.exp
6253 * gdb.arch/amd64-invalid-stack-top.exp
6254 * gdb.arch/amd64-optimout-repeat.exp
6255 * gdb.arch/amd64-prologue-skip.exp
6256 * gdb.arch/amd64-prologue-xmm.exp
6257 * gdb.arch/amd64-stap-special-operands.exp
6258 * gdb.arch/amd64-stap-wrong-subexp.exp
6259 * gdb.arch/amd64-tailcall-cxx.exp
6260 * gdb.arch/amd64-tailcall-noret.exp
6261 * gdb.arch/amd64-tailcall-ret.exp
6262 * gdb.arch/amd64-tailcall-self.exp
6263 * gdb.arch/amd64-word.exp
6264 * gdb.arch/arm-bl-branch-dest.exp
6265 * gdb.arch/arm-disp-step.exp
6266 * gdb.arch/arm-neon.exp
6267 * gdb.arch/arm-single-step-kernel-helper.exp
6268 * gdb.arch/avr-flash-qualifier.exp
6269 * gdb.arch/disp-step-insn-reloc.exp
6270 * gdb.arch/e500-abi.exp
6271 * gdb.arch/e500-regs.exp
6272 * gdb.arch/ftrace-insn-reloc.exp
6273 * gdb.arch/i386-avx512.exp
6274 * gdb.arch/i386-bp_permanent.exp
6275 * gdb.arch/i386-byte.exp
6276 * gdb.arch/i386-cfi-notcurrent.exp
6277 * gdb.arch/i386-disp-step.exp
6278 * gdb.arch/i386-dr3-watch.exp
6279 * gdb.arch/i386-float.exp
6280 * gdb.arch/i386-gnu-cfi.exp
6281 * gdb.arch/i386-mpx-map.exp
6282 * gdb.arch/i386-mpx-sigsegv.exp
6283 * gdb.arch/i386-mpx-simple_segv.exp
6284 * gdb.arch/i386-mpx.exp
6285 * gdb.arch/i386-permbkpt.exp
6286 * gdb.arch/i386-prologue.exp
6287 * gdb.arch/i386-signal.exp
6288 * gdb.arch/i386-size-overlap.exp
6289 * gdb.arch/i386-unwind.exp
6290 * gdb.arch/i386-word.exp
6291 * gdb.arch/mips-fcr.exp
6292 * gdb.arch/powerpc-d128-regs.exp
6293 * gdb.arch/powerpc-stackless.exp
6294 * gdb.arch/ppc64-atomic-inst.exp
6295 * gdb.arch/s390-stackless.exp
6296 * gdb.arch/s390-tdbregs.exp
6297 * gdb.arch/s390-vregs.exp
6298 * gdb.arch/sparc-sysstep.exp
6299 * gdb.arch/thumb-bx-pc.exp
6300 * gdb.arch/thumb-singlestep.exp
6301 * gdb.arch/thumb2-it.exp
6302 * gdb.arch/vsx-regs.exp
6303 * gdb.asm/asm-source.exp
6304 * gdb.base/a2-run.exp
6305 * gdb.base/advance.exp
6306 * gdb.base/all-bin.exp
6307 * gdb.base/anon.exp
6308 * gdb.base/args.exp
6309 * gdb.base/arithmet.exp
6310 * gdb.base/async-shell.exp
6311 * gdb.base/async.exp
6312 * gdb.base/attach-pie-noexec.exp
6313 * gdb.base/attach-twice.exp
6314 * gdb.base/auto-load.exp
6315 * gdb.base/bang.exp
6316 * gdb.base/bitfields.exp
6317 * gdb.base/break-always.exp
6318 * gdb.base/break-caller-line.exp
6319 * gdb.base/break-entry.exp
6320 * gdb.base/break-inline.exp
6321 * gdb.base/break-on-linker-gcd-function.exp
6322 * gdb.base/break-probes.exp
6323 * gdb.base/break.exp
6324 * gdb.base/breakpoint-shadow.exp
6325 * gdb.base/call-ar-st.exp
6326 * gdb.base/call-sc.exp
6327 * gdb.base/call-signal-resume.exp
6328 * gdb.base/call-strs.exp
6329 * gdb.base/callfuncs.exp
6330 * gdb.base/catch-fork-static.exp
6331 * gdb.base/catch-gdb-caused-signals.exp
6332 * gdb.base/catch-load.exp
6333 * gdb.base/catch-signal-fork.exp
6334 * gdb.base/catch-signal.exp
6335 * gdb.base/catch-syscall.exp
6336 * gdb.base/charset.exp
6337 * gdb.base/checkpoint.exp
6338 * gdb.base/chng-syms.exp
6339 * gdb.base/code-expr.exp
6340 * gdb.base/code_elim.exp
6341 * gdb.base/commands.exp
6342 * gdb.base/completion.exp
6343 * gdb.base/complex.exp
6344 * gdb.base/cond-expr.exp
6345 * gdb.base/condbreak.exp
6346 * gdb.base/consecutive.exp
6347 * gdb.base/continue-all-already-running.exp
6348 * gdb.base/coredump-filter.exp
6349 * gdb.base/corefile.exp
6350 * gdb.base/dbx.exp
6351 * gdb.base/debug-expr.exp
6352 * gdb.base/define.exp
6353 * gdb.base/del.exp
6354 * gdb.base/disabled-location.exp
6355 * gdb.base/disasm-end-cu.exp
6356 * gdb.base/disasm-optim.exp
6357 * gdb.base/display.exp
6358 * gdb.base/duplicate-bp.exp
6359 * gdb.base/ena-dis-br.exp
6360 * gdb.base/ending-run.exp
6361 * gdb.base/enumval.exp
6362 * gdb.base/environ.exp
6363 * gdb.base/eu-strip-infcall.exp
6364 * gdb.base/eval-avoid-side-effects.exp
6365 * gdb.base/eval-skip.exp
6366 * gdb.base/exitsignal.exp
6367 * gdb.base/expand-psymtabs.exp
6368 * gdb.base/filesym.exp
6369 * gdb.base/find-unmapped.exp
6370 * gdb.base/finish.exp
6371 * gdb.base/float.exp
6372 * gdb.base/foll-exec-mode.exp
6373 * gdb.base/foll-exec.exp
6374 * gdb.base/foll-fork.exp
6375 * gdb.base/fortran-sym-case.exp
6376 * gdb.base/freebpcmd.exp
6377 * gdb.base/func-ptr.exp
6378 * gdb.base/func-ptrs.exp
6379 * gdb.base/funcargs.exp
6380 * gdb.base/gcore-buffer-overflow.exp
6381 * gdb.base/gcore-relro-pie.exp
6382 * gdb.base/gcore-relro.exp
6383 * gdb.base/gcore.exp
6384 * gdb.base/gdb1090.exp
6385 * gdb.base/gdb11530.exp
6386 * gdb.base/gdb11531.exp
6387 * gdb.base/gdb1821.exp
6388 * gdb.base/gdbindex-stabs.exp
6389 * gdb.base/gdbvars.exp
6390 * gdb.base/hbreak.exp
6391 * gdb.base/hbreak2.exp
6392 * gdb.base/included.exp
6393 * gdb.base/infcall-input.exp
6394 * gdb.base/inferior-died.exp
6395 * gdb.base/infnan.exp
6396 * gdb.base/info-macros.exp
6397 * gdb.base/info-os.exp
6398 * gdb.base/info-proc.exp
6399 * gdb.base/info-shared.exp
6400 * gdb.base/info-target.exp
6401 * gdb.base/infoline.exp
6402 * gdb.base/interp.exp
6403 * gdb.base/interrupt.exp
6404 * gdb.base/jit-reader.exp
6405 * gdb.base/jit-simple.exp
6406 * gdb.base/kill-after-signal.exp
6407 * gdb.base/kill-detach-inferiors-cmd.exp
6408 * gdb.base/label.exp
6409 * gdb.base/langs.exp
6410 * gdb.base/ldbl_e308.exp
6411 * gdb.base/line-symtabs.exp
6412 * gdb.base/linespecs.exp
6413 * gdb.base/list.exp
6414 * gdb.base/long_long.exp
6415 * gdb.base/longest-types.exp
6416 * gdb.base/maint.exp
6417 * gdb.base/max-value-size.exp
6418 * gdb.base/memattr.exp
6419 * gdb.base/mips_pro.exp
6420 * gdb.base/morestack.exp
6421 * gdb.base/moribund-step.exp
6422 * gdb.base/multi-forks.exp
6423 * gdb.base/nested-addr.exp
6424 * gdb.base/nextoverexit.exp
6425 * gdb.base/noreturn-finish.exp
6426 * gdb.base/noreturn-return.exp
6427 * gdb.base/nostdlib.exp
6428 * gdb.base/offsets.exp
6429 * gdb.base/opaque.exp
6430 * gdb.base/pc-fp.exp
6431 * gdb.base/permissions.exp
6432 * gdb.base/print-symbol-loading.exp
6433 * gdb.base/prologue-include.exp
6434 * gdb.base/psymtab.exp
6435 * gdb.base/ptype.exp
6436 * gdb.base/random-signal.exp
6437 * gdb.base/randomize.exp
6438 * gdb.base/range-stepping.exp
6439 * gdb.base/readline-ask.exp
6440 * gdb.base/recpar.exp
6441 * gdb.base/recurse.exp
6442 * gdb.base/relational.exp
6443 * gdb.base/restore.exp
6444 * gdb.base/return-nodebug.exp
6445 * gdb.base/return.exp
6446 * gdb.base/run-after-attach.exp
6447 * gdb.base/save-bp.exp
6448 * gdb.base/scope.exp
6449 * gdb.base/sect-cmd.exp
6450 * gdb.base/set-lang-auto.exp
6451 * gdb.base/set-noassign.exp
6452 * gdb.base/setvar.exp
6453 * gdb.base/sigall.exp
6454 * gdb.base/sigbpt.exp
6455 * gdb.base/siginfo-addr.exp
6456 * gdb.base/siginfo-infcall.exp
6457 * gdb.base/siginfo-obj.exp
6458 * gdb.base/siginfo.exp
6459 * gdb.base/signals-state-child.exp
6460 * gdb.base/signest.exp
6461 * gdb.base/sigstep.exp
6462 * gdb.base/sizeof.exp
6463 * gdb.base/skip.exp
6464 * gdb.base/solib-corrupted.exp
6465 * gdb.base/solib-nodir.exp
6466 * gdb.base/solib-search.exp
6467 * gdb.base/stack-checking.exp
6468 * gdb.base/stale-infcall.exp
6469 * gdb.base/stap-probe.exp
6470 * gdb.base/start.exp
6471 * gdb.base/step-break.exp
6472 * gdb.base/step-bt.exp
6473 * gdb.base/step-line.exp
6474 * gdb.base/step-over-exit.exp
6475 * gdb.base/step-over-syscall.exp
6476 * gdb.base/step-resume-infcall.exp
6477 * gdb.base/step-test.exp
6478 * gdb.base/store.exp
6479 * gdb.base/structs3.exp
6480 * gdb.base/sym-file.exp
6481 * gdb.base/symbol-without-target_section.exp
6482 * gdb.base/term.exp
6483 * gdb.base/testenv.exp
6484 * gdb.base/ui-redirect.exp
6485 * gdb.base/until.exp
6486 * gdb.base/unwindonsignal.exp
6487 * gdb.base/value-double-free.exp
6488 * gdb.base/vla-datatypes.exp
6489 * gdb.base/vla-ptr.exp
6490 * gdb.base/vla-sideeffect.exp
6491 * gdb.base/volatile.exp
6492 * gdb.base/watch-cond-infcall.exp
6493 * gdb.base/watch-cond.exp
6494 * gdb.base/watch-non-mem.exp
6495 * gdb.base/watch-read.exp
6496 * gdb.base/watch-vfork.exp
6497 * gdb.base/watchpoint-cond-gone.exp
6498 * gdb.base/watchpoint-delete.exp
6499 * gdb.base/watchpoint-hw-hit-once.exp
6500 * gdb.base/watchpoint-hw.exp
6501 * gdb.base/watchpoint-stops-at-right-insn.exp
6502 * gdb.base/watchpoints.exp
6503 * gdb.base/wchar.exp
6504 * gdb.base/whatis-exp.exp
6505 * gdb.btrace/buffer-size.exp
6506 * gdb.btrace/data.exp
6507 * gdb.btrace/delta.exp
6508 * gdb.btrace/dlopen.exp
6509 * gdb.btrace/enable.exp
6510 * gdb.btrace/exception.exp
6511 * gdb.btrace/function_call_history.exp
6512 * gdb.btrace/gcore.exp
6513 * gdb.btrace/instruction_history.exp
6514 * gdb.btrace/nohist.exp
6515 * gdb.btrace/reconnect.exp
6516 * gdb.btrace/record_goto-step.exp
6517 * gdb.btrace/record_goto.exp
6518 * gdb.btrace/rn-dl-bind.exp
6519 * gdb.btrace/segv.exp
6520 * gdb.btrace/step.exp
6521 * gdb.btrace/stepi.exp
6522 * gdb.btrace/tailcall-only.exp
6523 * gdb.btrace/tailcall.exp
6524 * gdb.btrace/tsx.exp
6525 * gdb.btrace/unknown_functions.exp
6526 * gdb.btrace/vdso.exp
6527 * gdb.compile/compile-ifunc.exp
6528 * gdb.compile/compile-ops.exp
6529 * gdb.compile/compile-print.exp
6530 * gdb.compile/compile-setjmp.exp
6531 * gdb.cp/abstract-origin.exp
6532 * gdb.cp/ambiguous.exp
6533 * gdb.cp/annota2.exp
6534 * gdb.cp/annota3.exp
6535 * gdb.cp/anon-ns.exp
6536 * gdb.cp/anon-struct.exp
6537 * gdb.cp/anon-union.exp
6538 * gdb.cp/arg-reference.exp
6539 * gdb.cp/baseenum.exp
6540 * gdb.cp/bool.exp
6541 * gdb.cp/breakpoint.exp
6542 * gdb.cp/bs15503.exp
6543 * gdb.cp/call-c.exp
6544 * gdb.cp/casts.exp
6545 * gdb.cp/chained-calls.exp
6546 * gdb.cp/class2.exp
6547 * gdb.cp/classes.exp
6548 * gdb.cp/cmpd-minsyms.exp
6549 * gdb.cp/converts.exp
6550 * gdb.cp/cp-relocate.exp
6551 * gdb.cp/cpcompletion.exp
6552 * gdb.cp/cpexprs.exp
6553 * gdb.cp/cplabel.exp
6554 * gdb.cp/cplusfuncs.exp
6555 * gdb.cp/cpsizeof.exp
6556 * gdb.cp/ctti.exp
6557 * gdb.cp/derivation.exp
6558 * gdb.cp/destrprint.exp
6559 * gdb.cp/dispcxx.exp
6560 * gdb.cp/enum-class.exp
6561 * gdb.cp/exception.exp
6562 * gdb.cp/exceptprint.exp
6563 * gdb.cp/expand-psymtabs-cxx.exp
6564 * gdb.cp/expand-sals.exp
6565 * gdb.cp/extern-c.exp
6566 * gdb.cp/filename.exp
6567 * gdb.cp/formatted-ref.exp
6568 * gdb.cp/fpointer.exp
6569 * gdb.cp/gdb1355.exp
6570 * gdb.cp/gdb2495.exp
6571 * gdb.cp/hang.exp
6572 * gdb.cp/impl-this.exp
6573 * gdb.cp/infcall-dlopen.exp
6574 * gdb.cp/inherit.exp
6575 * gdb.cp/iostream.exp
6576 * gdb.cp/koenig.exp
6577 * gdb.cp/local.exp
6578 * gdb.cp/m-data.exp
6579 * gdb.cp/m-static.exp
6580 * gdb.cp/mb-ctor.exp
6581 * gdb.cp/mb-inline.exp
6582 * gdb.cp/mb-templates.exp
6583 * gdb.cp/member-name.exp
6584 * gdb.cp/member-ptr.exp
6585 * gdb.cp/meth-typedefs.exp
6586 * gdb.cp/method.exp
6587 * gdb.cp/method2.exp
6588 * gdb.cp/minsym-fallback.exp
6589 * gdb.cp/misc.exp
6590 * gdb.cp/namelessclass.exp
6591 * gdb.cp/namespace-enum.exp
6592 * gdb.cp/namespace-nested-import.exp
6593 * gdb.cp/namespace.exp
6594 * gdb.cp/nextoverthrow.exp
6595 * gdb.cp/no-dmgl-verbose.exp
6596 * gdb.cp/non-trivial-retval.exp
6597 * gdb.cp/noparam.exp
6598 * gdb.cp/nsdecl.exp
6599 * gdb.cp/nsimport.exp
6600 * gdb.cp/nsnested.exp
6601 * gdb.cp/nsnoimports.exp
6602 * gdb.cp/nsrecurs.exp
6603 * gdb.cp/nsstress.exp
6604 * gdb.cp/nsusing.exp
6605 * gdb.cp/operator.exp
6606 * gdb.cp/oranking.exp
6607 * gdb.cp/overload-const.exp
6608 * gdb.cp/overload.exp
6609 * gdb.cp/ovldbreak.exp
6610 * gdb.cp/ovsrch.exp
6611 * gdb.cp/paren-type.exp
6612 * gdb.cp/parse-lang.exp
6613 * gdb.cp/pass-by-ref.exp
6614 * gdb.cp/pr-1023.exp
6615 * gdb.cp/pr-1210.exp
6616 * gdb.cp/pr-574.exp
6617 * gdb.cp/pr10687.exp
6618 * gdb.cp/pr12028.exp
6619 * gdb.cp/pr17132.exp
6620 * gdb.cp/pr17494.exp
6621 * gdb.cp/pr9067.exp
6622 * gdb.cp/pr9167.exp
6623 * gdb.cp/pr9631.exp
6624 * gdb.cp/printmethod.exp
6625 * gdb.cp/psmang.exp
6626 * gdb.cp/psymtab-parameter.exp
6627 * gdb.cp/ptype-cv-cp.exp
6628 * gdb.cp/ptype-flags.exp
6629 * gdb.cp/re-set-overloaded.exp
6630 * gdb.cp/ref-types.exp
6631 * gdb.cp/rtti.exp
6632 * gdb.cp/scope-err.exp
6633 * gdb.cp/shadow.exp
6634 * gdb.cp/smartp.exp
6635 * gdb.cp/static-method.exp
6636 * gdb.cp/static-print-quit.exp
6637 * gdb.cp/temargs.exp
6638 * gdb.cp/templates.exp
6639 * gdb.cp/try_catch.exp
6640 * gdb.cp/typedef-operator.exp
6641 * gdb.cp/typeid.exp
6642 * gdb.cp/userdef.exp
6643 * gdb.cp/using-crash.exp
6644 * gdb.cp/var-tag.exp
6645 * gdb.cp/virtbase.exp
6646 * gdb.cp/virtfunc.exp
6647 * gdb.cp/virtfunc2.exp
6648 * gdb.cp/vla-cxx.exp
6649 * gdb.disasm/t01_mov.exp
6650 * gdb.disasm/t02_mova.exp
6651 * gdb.disasm/t03_add.exp
6652 * gdb.disasm/t04_sub.exp
6653 * gdb.disasm/t05_cmp.exp
6654 * gdb.disasm/t06_ari2.exp
6655 * gdb.disasm/t07_ari3.exp
6656 * gdb.disasm/t08_or.exp
6657 * gdb.disasm/t09_xor.exp
6658 * gdb.disasm/t10_and.exp
6659 * gdb.disasm/t11_logs.exp
6660 * gdb.disasm/t12_bit.exp
6661 * gdb.disasm/t13_otr.exp
6662 * gdb.dlang/circular.exp
6663 * gdb.dwarf2/arr-stride.exp
6664 * gdb.dwarf2/arr-subrange.exp
6665 * gdb.dwarf2/atomic-type.exp
6666 * gdb.dwarf2/bad-regnum.exp
6667 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6668 * gdb.dwarf2/callframecfa.exp
6669 * gdb.dwarf2/clztest.exp
6670 * gdb.dwarf2/corrupt.exp
6671 * gdb.dwarf2/data-loc.exp
6672 * gdb.dwarf2/dup-psym.exp
6673 * gdb.dwarf2/dw2-anon-mptr.exp
6674 * gdb.dwarf2/dw2-anonymous-func.exp
6675 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6676 * gdb.dwarf2/dw2-bad-unresolved.exp
6677 * gdb.dwarf2/dw2-basic.exp
6678 * gdb.dwarf2/dw2-canonicalize-type.exp
6679 * gdb.dwarf2/dw2-case-insensitive.exp
6680 * gdb.dwarf2/dw2-common-block.exp
6681 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6682 * gdb.dwarf2/dw2-compressed.exp
6683 * gdb.dwarf2/dw2-const.exp
6684 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6685 * gdb.dwarf2/dw2-cu-size.exp
6686 * gdb.dwarf2/dw2-dup-frame.exp
6687 * gdb.dwarf2/dw2-entry-value.exp
6688 * gdb.dwarf2/dw2-icycle.exp
6689 * gdb.dwarf2/dw2-ifort-parameter.exp
6690 * gdb.dwarf2/dw2-inline-break.exp
6691 * gdb.dwarf2/dw2-inline-param.exp
6692 * gdb.dwarf2/dw2-intercu.exp
6693 * gdb.dwarf2/dw2-intermix.exp
6694 * gdb.dwarf2/dw2-lexical-block-bare.exp
6695 * gdb.dwarf2/dw2-linkage-name-trust.exp
6696 * gdb.dwarf2/dw2-minsym-in-cu.exp
6697 * gdb.dwarf2/dw2-noloc.exp
6698 * gdb.dwarf2/dw2-op-call.exp
6699 * gdb.dwarf2/dw2-op-out-param.exp
6700 * gdb.dwarf2/dw2-opt-structptr.exp
6701 * gdb.dwarf2/dw2-param-error.exp
6702 * gdb.dwarf2/dw2-producer.exp
6703 * gdb.dwarf2/dw2-ranges-base.exp
6704 * gdb.dwarf2/dw2-ref-missing-frame.exp
6705 * gdb.dwarf2/dw2-reg-undefined.exp
6706 * gdb.dwarf2/dw2-regno-invalid.exp
6707 * gdb.dwarf2/dw2-restore.exp
6708 * gdb.dwarf2/dw2-restrict.exp
6709 * gdb.dwarf2/dw2-single-line-discriminators.exp
6710 * gdb.dwarf2/dw2-strp.exp
6711 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6712 * gdb.dwarf2/dw2-unresolved.exp
6713 * gdb.dwarf2/dw2-var-zero-addr.exp
6714 * gdb.dwarf2/dw4-sig-types.exp
6715 * gdb.dwarf2/dwz.exp
6716 * gdb.dwarf2/dynarr-ptr.exp
6717 * gdb.dwarf2/enum-type.exp
6718 * gdb.dwarf2/gdb-index.exp
6719 * gdb.dwarf2/implptr-64bit.exp
6720 * gdb.dwarf2/implptr-optimized-out.exp
6721 * gdb.dwarf2/implptr.exp
6722 * gdb.dwarf2/implref-array.exp
6723 * gdb.dwarf2/implref-const.exp
6724 * gdb.dwarf2/implref-global.exp
6725 * gdb.dwarf2/implref-struct.exp
6726 * gdb.dwarf2/mac-fileno.exp
6727 * gdb.dwarf2/main-subprogram.exp
6728 * gdb.dwarf2/member-ptr-forwardref.exp
6729 * gdb.dwarf2/method-ptr.exp
6730 * gdb.dwarf2/missing-sig-type.exp
6731 * gdb.dwarf2/nonvar-access.exp
6732 * gdb.dwarf2/opaque-type-lookup.exp
6733 * gdb.dwarf2/pieces-optimized-out.exp
6734 * gdb.dwarf2/pieces.exp
6735 * gdb.dwarf2/pr10770.exp
6736 * gdb.dwarf2/pr13961.exp
6737 * gdb.dwarf2/staticvirtual.exp
6738 * gdb.dwarf2/subrange.exp
6739 * gdb.dwarf2/symtab-producer.exp
6740 * gdb.dwarf2/trace-crash.exp
6741 * gdb.dwarf2/typeddwarf.exp
6742 * gdb.dwarf2/valop.exp
6743 * gdb.dwarf2/watch-notconst.exp
6744 * gdb.fortran/array-element.exp
6745 * gdb.fortran/charset.exp
6746 * gdb.fortran/common-block.exp
6747 * gdb.fortran/complex.exp
6748 * gdb.fortran/derived-type-function.exp
6749 * gdb.fortran/derived-type.exp
6750 * gdb.fortran/logical.exp
6751 * gdb.fortran/module.exp
6752 * gdb.fortran/multi-dim.exp
6753 * gdb.fortran/nested-funcs.exp
6754 * gdb.fortran/print-formatted.exp
6755 * gdb.fortran/subarray.exp
6756 * gdb.fortran/vla-alloc-assoc.exp
6757 * gdb.fortran/vla-datatypes.exp
6758 * gdb.fortran/vla-history.exp
6759 * gdb.fortran/vla-ptr-info.exp
6760 * gdb.fortran/vla-ptype-sub.exp
6761 * gdb.fortran/vla-ptype.exp
6762 * gdb.fortran/vla-sizeof.exp
6763 * gdb.fortran/vla-type.exp
6764 * gdb.fortran/vla-value-sub-arbitrary.exp
6765 * gdb.fortran/vla-value-sub-finish.exp
6766 * gdb.fortran/vla-value-sub.exp
6767 * gdb.fortran/vla-value.exp
6768 * gdb.fortran/whatis_type.exp
6769 * gdb.go/chan.exp
6770 * gdb.go/handcall.exp
6771 * gdb.go/hello.exp
6772 * gdb.go/integers.exp
6773 * gdb.go/methods.exp
6774 * gdb.go/package.exp
6775 * gdb.go/strings.exp
6776 * gdb.go/types.exp
6777 * gdb.go/unsafe.exp
6778 * gdb.guile/scm-arch.exp
6779 * gdb.guile/scm-block.exp
6780 * gdb.guile/scm-breakpoint.exp
6781 * gdb.guile/scm-cmd.exp
6782 * gdb.guile/scm-disasm.exp
6783 * gdb.guile/scm-equal.exp
6784 * gdb.guile/scm-frame-args.exp
6785 * gdb.guile/scm-frame-inline.exp
6786 * gdb.guile/scm-frame.exp
6787 * gdb.guile/scm-iterator.exp
6788 * gdb.guile/scm-math.exp
6789 * gdb.guile/scm-objfile.exp
6790 * gdb.guile/scm-ports.exp
6791 * gdb.guile/scm-symbol.exp
6792 * gdb.guile/scm-symtab.exp
6793 * gdb.guile/scm-value-cc.exp
6794 * gdb.guile/types-module.exp
6795 * gdb.linespec/break-ask.exp
6796 * gdb.linespec/cpexplicit.exp
6797 * gdb.linespec/explicit.exp
6798 * gdb.linespec/keywords.exp
6799 * gdb.linespec/linespec.exp
6800 * gdb.linespec/ls-dollar.exp
6801 * gdb.linespec/ls-errs.exp
6802 * gdb.linespec/skip-two.exp
6803 * gdb.linespec/thread.exp
6804 * gdb.mi/mi-async.exp
6805 * gdb.mi/mi-basics.exp
6806 * gdb.mi/mi-break.exp
6807 * gdb.mi/mi-catch-load.exp
6808 * gdb.mi/mi-cli.exp
6809 * gdb.mi/mi-cmd-param-changed.exp
6810 * gdb.mi/mi-console.exp
6811 * gdb.mi/mi-detach.exp
6812 * gdb.mi/mi-disassemble.exp
6813 * gdb.mi/mi-eval.exp
6814 * gdb.mi/mi-file-transfer.exp
6815 * gdb.mi/mi-file.exp
6816 * gdb.mi/mi-fill-memory.exp
6817 * gdb.mi/mi-inheritance-syntax-error.exp
6818 * gdb.mi/mi-linespec-err-cp.exp
6819 * gdb.mi/mi-logging.exp
6820 * gdb.mi/mi-memory-changed.exp
6821 * gdb.mi/mi-read-memory.exp
6822 * gdb.mi/mi-record-changed.exp
6823 * gdb.mi/mi-reg-undefined.exp
6824 * gdb.mi/mi-regs.exp
6825 * gdb.mi/mi-return.exp
6826 * gdb.mi/mi-reverse.exp
6827 * gdb.mi/mi-simplerun.exp
6828 * gdb.mi/mi-solib.exp
6829 * gdb.mi/mi-stack.exp
6830 * gdb.mi/mi-stepi.exp
6831 * gdb.mi/mi-syn-frame.exp
6832 * gdb.mi/mi-until.exp
6833 * gdb.mi/mi-var-block.exp
6834 * gdb.mi/mi-var-child.exp
6835 * gdb.mi/mi-var-cmd.exp
6836 * gdb.mi/mi-var-cp.exp
6837 * gdb.mi/mi-var-display.exp
6838 * gdb.mi/mi-var-invalidate.exp
6839 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6840 * gdb.mi/mi-vla-fortran.exp
6841 * gdb.mi/mi-watch.exp
6842 * gdb.mi/mi2-var-child.exp
6843 * gdb.mi/user-selected-context-sync.exp
6844 * gdb.modula2/unbounded-array.exp
6845 * gdb.multi/dummy-frame-restore.exp
6846 * gdb.multi/multi-arch-exec.exp
6847 * gdb.multi/multi-arch.exp
6848 * gdb.multi/tids.exp
6849 * gdb.multi/watchpoint-multi.exp
6850 * gdb.opencl/callfuncs.exp
6851 * gdb.opencl/convs_casts.exp
6852 * gdb.opencl/datatypes.exp
6853 * gdb.opencl/operators.exp
6854 * gdb.opencl/vec_comps.exp
6855 * gdb.opt/clobbered-registers-O2.exp
6856 * gdb.opt/inline-break.exp
6857 * gdb.opt/inline-bt.exp
6858 * gdb.opt/inline-cmds.exp
6859 * gdb.opt/inline-locals.exp
6860 * gdb.pascal/case-insensitive-symbols.exp
6861 * gdb.pascal/floats.exp
6862 * gdb.pascal/gdb11492.exp
6863 * gdb.python/lib-types.exp
6864 * gdb.python/py-arch.exp
6865 * gdb.python/py-as-string.exp
6866 * gdb.python/py-bad-printers.exp
6867 * gdb.python/py-block.exp
6868 * gdb.python/py-breakpoint-create-fail.exp
6869 * gdb.python/py-breakpoint.exp
6870 * gdb.python/py-caller-is.exp
6871 * gdb.python/py-cmd.exp
6872 * gdb.python/py-explore-cc.exp
6873 * gdb.python/py-explore.exp
6874 * gdb.python/py-finish-breakpoint.exp
6875 * gdb.python/py-finish-breakpoint2.exp
6876 * gdb.python/py-frame-args.exp
6877 * gdb.python/py-frame-inline.exp
6878 * gdb.python/py-frame.exp
6879 * gdb.python/py-framefilter-mi.exp
6880 * gdb.python/py-infthread.exp
6881 * gdb.python/py-lazy-string.exp
6882 * gdb.python/py-linetable.exp
6883 * gdb.python/py-mi-events.exp
6884 * gdb.python/py-mi-objfile.exp
6885 * gdb.python/py-mi.exp
6886 * gdb.python/py-objfile.exp
6887 * gdb.python/py-pp-integral.exp
6888 * gdb.python/py-pp-maint.exp
6889 * gdb.python/py-pp-re-notag.exp
6890 * gdb.python/py-pp-registration.exp
6891 * gdb.python/py-recurse-unwind.exp
6892 * gdb.python/py-strfns.exp
6893 * gdb.python/py-symbol.exp
6894 * gdb.python/py-symtab.exp
6895 * gdb.python/py-sync-interp.exp
6896 * gdb.python/py-typeprint.exp
6897 * gdb.python/py-unwind-maint.exp
6898 * gdb.python/py-unwind.exp
6899 * gdb.python/py-value-cc.exp
6900 * gdb.python/py-xmethods.exp
6901 * gdb.reverse/amd64-tailcall-reverse.exp
6902 * gdb.reverse/break-precsave.exp
6903 * gdb.reverse/break-reverse.exp
6904 * gdb.reverse/consecutive-precsave.exp
6905 * gdb.reverse/consecutive-reverse.exp
6906 * gdb.reverse/finish-precsave.exp
6907 * gdb.reverse/finish-reverse-bkpt.exp
6908 * gdb.reverse/finish-reverse.exp
6909 * gdb.reverse/fstatat-reverse.exp
6910 * gdb.reverse/getresuid-reverse.exp
6911 * gdb.reverse/i386-precsave.exp
6912 * gdb.reverse/i386-reverse.exp
6913 * gdb.reverse/i386-sse-reverse.exp
6914 * gdb.reverse/i387-env-reverse.exp
6915 * gdb.reverse/i387-stack-reverse.exp
6916 * gdb.reverse/insn-reverse.exp
6917 * gdb.reverse/machinestate-precsave.exp
6918 * gdb.reverse/machinestate.exp
6919 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6920 * gdb.reverse/pipe-reverse.exp
6921 * gdb.reverse/readv-reverse.exp
6922 * gdb.reverse/recvmsg-reverse.exp
6923 * gdb.reverse/rerun-prec.exp
6924 * gdb.reverse/s390-mvcle.exp
6925 * gdb.reverse/step-precsave.exp
6926 * gdb.reverse/step-reverse.exp
6927 * gdb.reverse/time-reverse.exp
6928 * gdb.reverse/until-precsave.exp
6929 * gdb.reverse/until-reverse.exp
6930 * gdb.reverse/waitpid-reverse.exp
6931 * gdb.reverse/watch-precsave.exp
6932 * gdb.reverse/watch-reverse.exp
6933 * gdb.rust/generics.exp
6934 * gdb.rust/methods.exp
6935 * gdb.rust/modules.exp
6936 * gdb.rust/simple.exp
6937 * gdb.server/connect-with-no-symbol-file.exp
6938 * gdb.server/ext-attach.exp
6939 * gdb.server/ext-restart.exp
6940 * gdb.server/ext-wrapper.exp
6941 * gdb.server/file-transfer.exp
6942 * gdb.server/server-exec-info.exp
6943 * gdb.server/server-kill.exp
6944 * gdb.server/server-mon.exp
6945 * gdb.server/wrapper.exp
6946 * gdb.stabs/exclfwd.exp
6947 * gdb.stabs/gdb11479.exp
6948 * gdb.threads/clone-new-thread-event.exp
6949 * gdb.threads/corethreads.exp
6950 * gdb.threads/current-lwp-dead.exp
6951 * gdb.threads/dlopen-libpthread.exp
6952 * gdb.threads/gcore-thread.exp
6953 * gdb.threads/sigstep-threads.exp
6954 * gdb.threads/watchpoint-fork.exp
6955 * gdb.trace/actions-changed.exp
6956 * gdb.trace/backtrace.exp
6957 * gdb.trace/change-loc.exp
6958 * gdb.trace/circ.exp
6959 * gdb.trace/collection.exp
6960 * gdb.trace/disconnected-tracing.exp
6961 * gdb.trace/ftrace.exp
6962 * gdb.trace/mi-trace-frame-collected.exp
6963 * gdb.trace/mi-trace-unavailable.exp
6964 * gdb.trace/mi-traceframe-changed.exp
6965 * gdb.trace/mi-tsv-changed.exp
6966 * gdb.trace/no-attach-trace.exp
6967 * gdb.trace/passc-dyn.exp
6968 * gdb.trace/qtro.exp
6969 * gdb.trace/range-stepping.exp
6970 * gdb.trace/read-memory.exp
6971 * gdb.trace/save-trace.exp
6972 * gdb.trace/signal.exp
6973 * gdb.trace/status-stop.exp
6974 * gdb.trace/tfile.exp
6975 * gdb.trace/trace-break.exp
6976 * gdb.trace/trace-buffer-size.exp
6977 * gdb.trace/trace-condition.exp
6978 * gdb.trace/tracefile-pseudo-reg.exp
6979 * gdb.trace/tstatus.exp
6980 * gdb.trace/unavailable.exp
6981 * gdb.trace/while-dyn.exp
6982 * gdb.trace/while-stepping.exp
6983
69842016-12-22 Doug Evans <xdje42@gmail.com>
6985
6986 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6987 and msymbols.
6988
69892016-12-19 Yao Qi <yao.qi@linaro.org>
6990
6991 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6992 (test_with_self): Don't call do_steps_and_nexts, and remove
6993 code about stepping into xmalloc.
6994
69952016-12-09 Yao Qi <yao.qi@linaro.org>
6996
6997 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6998
69992016-12-09 Yao Qi <yao.qi@linaro.org>
7000
7001 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7002
70032016-12-09 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.base/all-architectures-0.exp: New file.
7006 * gdb.base/all-architectures-1.exp: New file.
7007 * gdb.base/all-architectures-2.exp: New file.
7008 * gdb.base/all-architectures-3.exp: New file.
7009 * gdb.base/all-architectures-4.exp: New file.
7010 * gdb.base/all-architectures-5.exp: New file.
7011 * gdb.base/all-architectures-6.exp: New file.
7012 * gdb.base/all-architectures-7.exp: New file.
7013 * gdb.base/all-architectures.exp.in: New file.
7014
70152016-12-09 Yao Qi <yao.qi@linaro.org>
7016
7017 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7018
70192016-12-02 Luis Machado <lgustavo@codesourcery.com>
7020
7021 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7022 possible.
7023 Remove useless pattern-matching code.
7024
70252016-12-02 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7028 procedure.
7029 (top level): Call it.
7030
70312016-12-02 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7034 New procedure.
7035 (top level): Call it.
7036
70372016-12-02 Pedro Alves <palves@redhat.com>
7038
7039 PR cli/20559
7040 * gdb.base/commands.exp (user_defined_command_args_eval): New
7041 procedure.
7042 (top level): Call it.
7043
70442016-12-02 Luis Machado <lgustavo@codesourcery.com>
7045
7046 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7047 timeout handling.
7048
70492016-12-02 Tom Tromey <tom@tromey.com>
7050
7051 * gdb.dwarf2/main-subprogram.c: New file.
7052 * gdb.dwarf2/main-subprogram.exp: New file.
7053
70542016-12-01 Luis Machado <lgustavo@codesourcery.com>
7055
7056 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7057 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7058 gdb_test_no_output for a couple of cases.
7059 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7060
70612016-12-01 Luis Machado <lgustavo@codesourcery.com>
7062
7063 Fix test names and standardize compilation error messages throughout
7064 the following files:
7065
7066 * gdb.ada/start.exp
7067 * gdb.arch/alpha-step.exp
7068 * gdb.arch/e500-prologue.exp
7069 * gdb.arch/ftrace-insn-reloc.exp
7070 * gdb.arch/gdb1291.exp
7071 * gdb.arch/gdb1431.exp
7072 * gdb.arch/gdb1558.exp
7073 * gdb.arch/i386-dr3-watch.exp
7074 * gdb.arch/i386-sse-stack-align.exp
7075 * gdb.arch/ia64-breakpoint-shadow.exp
7076 * gdb.arch/pa-nullify.exp
7077 * gdb.arch/powerpc-aix-prologue.exp
7078 * gdb.arch/thumb-bx-pc.exp
7079 * gdb.base/annota1.exp
7080 * gdb.base/annota3.exp
7081 * gdb.base/arrayidx.exp
7082 * gdb.base/assign.exp
7083 * gdb.base/attach.exp
7084 * gdb.base/auxv.exp
7085 * gdb.base/bang.exp
7086 * gdb.base/bfp-test.exp
7087 * gdb.base/bigcore.exp
7088 * gdb.base/bitfields2.exp
7089 * gdb.base/break-fun-addr.exp
7090 * gdb.base/break-probes.exp
7091 * gdb.base/call-rt-st.exp
7092 * gdb.base/callexit.exp
7093 * gdb.base/catch-fork-kill.exp
7094 * gdb.base/charset.exp
7095 * gdb.base/checkpoint.exp
7096 * gdb.base/comprdebug.exp
7097 * gdb.base/constvars.exp
7098 * gdb.base/coredump-filter.exp
7099 * gdb.base/cursal.exp
7100 * gdb.base/cvexpr.exp
7101 * gdb.base/detach.exp
7102 * gdb.base/display.exp
7103 * gdb.base/dmsym.exp
7104 * gdb.base/dprintf-pending.exp
7105 * gdb.base/dso2dso.exp
7106 * gdb.base/dtrace-probe.exp
7107 * gdb.base/dump.exp
7108 * gdb.base/enum_cond.exp
7109 * gdb.base/exe-lock.exp
7110 * gdb.base/exec-invalid-sysroot.exp
7111 * gdb.base/execl-update-breakpoints.exp
7112 * gdb.base/exprs.exp
7113 * gdb.base/fileio.exp
7114 * gdb.base/find.exp
7115 * gdb.base/finish.exp
7116 * gdb.base/fixsection.exp
7117 * gdb.base/foll-vfork.exp
7118 * gdb.base/frame-args.exp
7119 * gdb.base/gcore.exp
7120 * gdb.base/gdb1250.exp
7121 * gdb.base/global-var-nested-by-dso.exp
7122 * gdb.base/gnu-ifunc.exp
7123 * gdb.base/hashline1.exp
7124 * gdb.base/hashline2.exp
7125 * gdb.base/hashline3.exp
7126 * gdb.base/hbreak-in-shr-unsupported.exp
7127 * gdb.base/huge.exp
7128 * gdb.base/infcall-input.exp
7129 * gdb.base/info-fun.exp
7130 * gdb.base/info-shared.exp
7131 * gdb.base/jit-simple.exp
7132 * gdb.base/jit-so.exp
7133 * gdb.base/jit.exp
7134 * gdb.base/jump.exp
7135 * gdb.base/label.exp
7136 * gdb.base/lineinc.exp
7137 * gdb.base/logical.exp
7138 * gdb.base/longjmp.exp
7139 * gdb.base/macscp.exp
7140 * gdb.base/miscexprs.exp
7141 * gdb.base/new-ui-echo.exp
7142 * gdb.base/new-ui-pending-input.exp
7143 * gdb.base/new-ui.exp
7144 * gdb.base/nodebug.exp
7145 * gdb.base/nofield.exp
7146 * gdb.base/offsets.exp
7147 * gdb.base/overlays.exp
7148 * gdb.base/pending.exp
7149 * gdb.base/pointers.exp
7150 * gdb.base/pr11022.exp
7151 * gdb.base/printcmds.exp
7152 * gdb.base/prologue.exp
7153 * gdb.base/ptr-typedef.exp
7154 * gdb.base/realname-expand.exp
7155 * gdb.base/relativedebug.exp
7156 * gdb.base/relocate.exp
7157 * gdb.base/remote.exp
7158 * gdb.base/reread.exp
7159 * gdb.base/return2.exp
7160 * gdb.base/savedregs.exp
7161 * gdb.base/sep.exp
7162 * gdb.base/sepdebug.exp
7163 * gdb.base/sepsymtab.exp
7164 * gdb.base/set-inferior-tty.exp
7165 * gdb.base/setshow.exp
7166 * gdb.base/shlib-call.exp
7167 * gdb.base/sigaltstack.exp
7168 * gdb.base/siginfo-addr.exp
7169 * gdb.base/signals.exp
7170 * gdb.base/signull.exp
7171 * gdb.base/sigrepeat.exp
7172 * gdb.base/so-impl-ld.exp
7173 * gdb.base/solib-display.exp
7174 * gdb.base/solib-overlap.exp
7175 * gdb.base/solib-search.exp
7176 * gdb.base/solib-symbol.exp
7177 * gdb.base/structs.exp
7178 * gdb.base/structs2.exp
7179 * gdb.base/symtab-search-order.exp
7180 * gdb.base/twice.exp
7181 * gdb.base/unload.exp
7182 * gdb.base/varargs.exp
7183 * gdb.base/watchpoint-solib.exp
7184 * gdb.base/watchpoint.exp
7185 * gdb.base/whatis.exp
7186 * gdb.base/wrong_frame_bt_full.exp
7187 * gdb.btrace/dlopen.exp
7188 * gdb.cell/ea-standalone.exp
7189 * gdb.cell/ea-test.exp
7190 * gdb.cp/dispcxx.exp
7191 * gdb.cp/gdb2384.exp
7192 * gdb.cp/method2.exp
7193 * gdb.cp/nextoverthrow.exp
7194 * gdb.cp/pr10728.exp
7195 * gdb.disasm/am33.exp
7196 * gdb.disasm/h8300s.exp
7197 * gdb.disasm/mn10300.exp
7198 * gdb.disasm/sh3.exp
7199 * gdb.dwarf2/dw2-dir-file-name.exp
7200 * gdb.fortran/complex.exp
7201 * gdb.fortran/library-module.exp
7202 * gdb.guile/scm-pretty-print.exp
7203 * gdb.guile/scm-symbol.exp
7204 * gdb.guile/scm-type.exp
7205 * gdb.guile/scm-value.exp
7206 * gdb.linespec/linespec.exp
7207 * gdb.mi/gdb701.exp
7208 * gdb.mi/gdb792.exp
7209 * gdb.mi/mi-breakpoint-changed.exp
7210 * gdb.mi/mi-dprintf-pending.exp
7211 * gdb.mi/mi-dprintf.exp
7212 * gdb.mi/mi-exit-code.exp
7213 * gdb.mi/mi-pending.exp
7214 * gdb.mi/mi-solib.exp
7215 * gdb.mi/new-ui-mi-sync.exp
7216 * gdb.mi/pr11022.exp
7217 * gdb.mi/user-selected-context-sync.exp
7218 * gdb.opt/solib-intra-step.exp
7219 * gdb.python/py-events.exp
7220 * gdb.python/py-finish-breakpoint.exp
7221 * gdb.python/py-mi.exp
7222 * gdb.python/py-prettyprint.exp
7223 * gdb.python/py-shared.exp
7224 * gdb.python/py-symbol.exp
7225 * gdb.python/py-template.exp
7226 * gdb.python/py-type.exp
7227 * gdb.python/py-value.exp
7228 * gdb.reverse/solib-precsave.exp
7229 * gdb.reverse/solib-reverse.exp
7230 * gdb.server/solib-list.exp
7231 * gdb.stabs/weird.exp
7232 * gdb.threads/reconnect-signal.exp
7233 * gdb.threads/stepi-random-signal.exp
7234 * gdb.trace/actions.exp
7235 * gdb.trace/ax.exp
7236 * gdb.trace/backtrace.exp
7237 * gdb.trace/change-loc.exp
7238 * gdb.trace/deltrace.exp
7239 * gdb.trace/ftrace-lock.exp
7240 * gdb.trace/ftrace.exp
7241 * gdb.trace/infotrace.exp
7242 * gdb.trace/mi-tracepoint-changed.exp
7243 * gdb.trace/packetlen.exp
7244 * gdb.trace/passcount.exp
7245 * gdb.trace/pending.exp
7246 * gdb.trace/range-stepping.exp
7247 * gdb.trace/report.exp
7248 * gdb.trace/stap-trace.exp
7249 * gdb.trace/tfind.exp
7250 * gdb.trace/trace-break.exp
7251 * gdb.trace/trace-condition.exp
7252 * gdb.trace/trace-enable-disable.exp
7253 * gdb.trace/trace-mt.exp
7254 * gdb.trace/tracecmd.exp
7255 * gdb.trace/tspeed.exp
7256 * gdb.trace/tsv.exp
7257 * lib/perftest.exp
7258
72592016-12-01 Luis Machado <lgustavo@codesourcery.com>
7260
7261 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7262 with gdb_test_no_output.
7263 Use command as test name.
7264
72652016-12-01 Luis Machado <lgustavo@codesourcery.com>
7266
7267 Fix test names starting with uppercase throughout the files.
7268
7269 * gdb.ada/assign_1.exp
7270 * gdb.ada/boolean_expr.exp
7271 * gdb.base/arrayidx.exp
7272 * gdb.base/del.exp
7273 * gdb.base/gcore-buffer-overflow.exp
7274 * gdb.base/testenv.exp
7275 * gdb.compile/compile.exp
7276 * gdb.python/py-framefilter-invalidarg.exp
7277 * gdb.python/py-framefilter.exp
7278
72792016-12-01 Luis Machado <lgustavo@codesourcery.com>
7280
7281 Fix test names starting with uppercase throughout the files.
7282
7283 * gdb.ada/array_return.exp
7284 * gdb.ada/expr_delims.exp
7285 * gdb.ada/mi_dyn_arr.exp
7286 * gdb.ada/mi_interface.exp
7287 * gdb.ada/mi_var_array.exp
7288 * gdb.ada/watch_arg.exp
7289 * gdb.arch/alpha-step.exp
7290 * gdb.arch/altivec-regs.exp
7291 * gdb.arch/e500-regs.exp
7292 * gdb.arch/powerpc-d128-regs.exp
7293 * gdb.base/arrayidx.exp
7294 * gdb.base/break.exp
7295 * gdb.base/checkpoint.exp
7296 * gdb.base/debug-expr.exp
7297 * gdb.base/dmsym.exp
7298 * gdb.base/radix.exp
7299 * gdb.base/sepdebug.exp
7300 * gdb.base/testenv.exp
7301 * gdb.base/watch_thread_num.exp
7302 * gdb.base/watchpoint-cond-gone.exp
7303 * gdb.cell/break.exp
7304 * gdb.cell/ea-cache.exp
7305 * gdb.compile/compile.exp
7306 * gdb.cp/gdb2495.exp
7307 * gdb.gdb/selftest.exp
7308 * gdb.gdb/xfullpath.exp
7309 * gdb.go/hello.exp
7310 * gdb.go/integers.exp
7311 * gdb.objc/basicclass.exp
7312 * gdb.pascal/hello.exp
7313 * gdb.pascal/integers.exp
7314 * gdb.python/py-breakpoint.exp
7315 * gdb.python/py-cmd.exp
7316 * gdb.python/py-linetable.exp
7317 * gdb.python/py-xmethods.exp
7318 * gdb.python/python.exp
7319 * gdb.reverse/consecutive-precsave.exp
7320 * gdb.reverse/finish-precsave.exp
7321 * gdb.reverse/i386-precsave.exp
7322 * gdb.reverse/machinestate-precsave.exp
7323 * gdb.reverse/sigall-precsave.exp
7324 * gdb.reverse/solib-precsave.exp
7325 * gdb.reverse/step-precsave.exp
7326 * gdb.reverse/until-precsave.exp
7327 * gdb.reverse/watch-precsave.exp
7328 * gdb.threads/leader-exit.exp
7329 * gdb.threads/pthreads.exp
7330 * gdb.threads/wp-replication.exp
7331 * gdb.trace/actions.exp
7332 * gdb.trace/mi-tsv-changed.exp
7333 * gdb.trace/tsv.exp
7334
73352016-12-01 Luis Machado <lgustavo@codesourcery.com>
7336
7337 Fix test names starting with uppercase throughout the files.
7338
7339 * gdb.arch/i386-bp_permanent.exp
7340 * gdb.arch/i386-gnu-cfi.exp
7341 * gdb.base/disasm-end-cu.exp
7342 * gdb.base/macscp.exp
7343 * gdb.base/pending.exp
7344 * gdb.base/watch_thread_num.exp
7345 * gdb.cp/exception.exp
7346 * gdb.cp/gdb2495.exp
7347 * gdb.cp/local.exp
7348 * gdb.python/py-evsignal.exp
7349 * gdb.python/python.exp
7350 * gdb.trace/tracecmd.exp
7351
73522016-12-01 Luis Machado <lgustavo@codesourcery.com>
7353
7354 Fix test names starting with uppercase throughout the files.
7355
7356 * gdb.base/charset.exp
7357 * gdb.base/eval.exp
7358 * gdb.base/multi-forks.exp
7359 * gdb.guile/scm-progspace.exp
7360 * gdb.opencl/datatypes.exp
7361 * gdb.python/py-block.exp
7362 * gdb.python/py-function.exp
7363 * gdb.python/py-symbol.exp
7364 * gdb.python/py-symtab.exp
7365 * gdb.python/py-xmethods.exp
7366 * gdb.reverse/break-precsave.exp
7367 * gdb.reverse/break-reverse.exp
7368 * gdb.reverse/consecutive-precsave.exp
7369 * gdb.reverse/consecutive-reverse.exp
7370 * gdb.reverse/finish-precsave.exp
7371 * gdb.reverse/finish-reverse-bkpt.exp
7372 * gdb.reverse/finish-reverse.exp
7373 * gdb.reverse/fstatat-reverse.exp
7374 * gdb.reverse/getresuid-reverse.exp
7375 * gdb.reverse/i386-precsave.exp
7376 * gdb.reverse/i386-reverse.exp
7377 * gdb.reverse/i386-sse-reverse.exp
7378 * gdb.reverse/i387-stack-reverse.exp
7379 * gdb.reverse/insn-reverse.exp
7380 * gdb.reverse/machinestate-precsave.exp
7381 * gdb.reverse/machinestate.exp
7382 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7383 * gdb.reverse/pipe-reverse.exp
7384 * gdb.reverse/readv-reverse.exp
7385 * gdb.reverse/recvmsg-reverse.exp
7386 * gdb.reverse/rerun-prec.exp
7387 * gdb.reverse/s390-mvcle.exp
7388 * gdb.reverse/sigall-precsave.exp
7389 * gdb.reverse/sigall-reverse.exp
7390 * gdb.reverse/solib-precsave.exp
7391 * gdb.reverse/solib-reverse.exp
7392 * gdb.reverse/step-precsave.exp
7393 * gdb.reverse/step-reverse.exp
7394 * gdb.reverse/time-reverse.exp
7395 * gdb.reverse/until-precsave.exp
7396 * gdb.reverse/until-reverse.exp
7397 * gdb.reverse/waitpid-reverse.exp
7398 * gdb.reverse/watch-precsave.exp
7399 * gdb.reverse/watch-reverse.exp
7400
74012016-12-01 Luis Machado <lgustavo@codesourcery.com>
7402
7403 Fix test names starting with uppercase throughout the files.
7404
7405 * gdb.arch/i386-mpx-simple_segv.exp
7406 * gdb.arch/i386-mpx.exp
7407 * gdb.arch/i386-permbkpt.exp
7408 * gdb.arch/pa-nullify.exp
7409 * gdb.arch/powerpc-d128-regs.exp
7410 * gdb.arch/vsx-regs.exp
7411 * gdb.base/bfp-test.exp
7412 * gdb.base/break.exp
7413 * gdb.base/breakpoint-shadow.exp
7414 * gdb.base/callfuncs.exp
7415 * gdb.base/charset.exp
7416 * gdb.base/commands.exp
7417 * gdb.base/completion.exp
7418 * gdb.base/dfp-test.exp
7419 * gdb.base/echo.exp
7420 * gdb.base/ending-run.exp
7421 * gdb.base/eval.exp
7422 * gdb.base/expand-psymtabs.exp
7423 * gdb.base/float128.exp
7424 * gdb.base/floatn.exp
7425 * gdb.base/foll-exec-mode.exp
7426 * gdb.base/gdb1056.exp
7427 * gdb.base/gdb11531.exp
7428 * gdb.base/kill-after-signal.exp
7429 * gdb.base/multi-forks.exp
7430 * gdb.base/overlays.exp
7431 * gdb.base/pending.exp
7432 * gdb.base/sepdebug.exp
7433 * gdb.base/testenv.exp
7434 * gdb.base/valgrind-db-attach.exp
7435 * gdb.base/watch_thread_num.exp
7436 * gdb.base/watchpoint-cond-gone.exp
7437 * gdb.base/watchpoint.exp
7438 * gdb.base/watchpoints.exp
7439 * gdb.cp/arg-reference.exp
7440 * gdb.cp/baseenum.exp
7441 * gdb.cp/operator.exp
7442 * gdb.cp/shadow.exp
7443 * gdb.dwarf2/dw2-op-out-param.exp
7444 * gdb.dwarf2/dw2-reg-undefined.exp
7445 * gdb.go/chan.exp
7446 * gdb.go/hello.exp
7447 * gdb.go/integers.exp
7448 * gdb.go/methods.exp
7449 * gdb.go/package.exp
7450 * gdb.guile/scm-parameter.exp
7451 * gdb.guile/scm-progspace.exp
7452 * gdb.guile/scm-value.exp
7453 * gdb.mi/mi-pending.exp
7454 * gdb.mi/user-selected-context-sync.exp
7455 * gdb.multi/multi-attach.exp
7456 * gdb.multi/tids.exp
7457 * gdb.opt/clobbered-registers-O2.exp
7458 * gdb.pascal/floats.exp
7459 * gdb.pascal/integers.exp
7460 * gdb.python/py-block.exp
7461 * gdb.python/py-events.exp
7462 * gdb.python/py-parameter.exp
7463 * gdb.python/py-symbol.exp
7464 * gdb.python/py-symtab.exp
7465 * gdb.python/py-type.exp
7466 * gdb.python/py-value.exp
7467 * gdb.python/py-xmethods.exp
7468 * gdb.python/python.exp
7469 * gdb.reverse/break-precsave.exp
7470 * gdb.reverse/consecutive-precsave.exp
7471 * gdb.reverse/finish-precsave.exp
7472 * gdb.reverse/i386-precsave.exp
7473 * gdb.reverse/machinestate-precsave.exp
7474 * gdb.reverse/sigall-precsave.exp
7475 * gdb.reverse/solib-precsave.exp
7476 * gdb.reverse/step-precsave.exp
7477 * gdb.reverse/until-precsave.exp
7478 * gdb.reverse/watch-precsave.exp
7479 * gdb.server/ext-attach.exp
7480 * gdb.server/ext-restart.exp
7481 * gdb.server/ext-run.exp
7482 * gdb.server/ext-wrapper.exp
7483 * gdb.stabs/gdb11479.exp
7484 * gdb.stabs/weird.exp
7485 * gdb.threads/attach-many-short-lived-threads.exp
7486 * gdb.threads/kill.exp
7487 * gdb.threads/watchpoint-fork.exp
7488
74892016-12-01 Luis Machado <lgustavo@codesourcery.com>
7490
7491 Fix test names starting with uppercase throughout all the files below.
7492
7493 * gdb.ada/array_return.exp
7494 * gdb.ada/catch_ex.exp
7495 * gdb.ada/info_exc.exp
7496 * gdb.ada/mi_catch_ex.exp
7497 * gdb.ada/mi_dyn_arr.exp
7498 * gdb.ada/mi_ex_cond.exp
7499 * gdb.ada/mi_exc_info.exp
7500 * gdb.ada/mi_interface.exp
7501 * gdb.ada/mi_task_arg.exp
7502 * gdb.ada/mi_task_info.exp
7503 * gdb.ada/mi_var_array.exp
7504 * gdb.arch/alpha-step.exp
7505 * gdb.arch/amd64-disp-step.exp
7506 * gdb.arch/arm-disp-step.exp
7507 * gdb.arch/disp-step-insn-reloc.exp
7508 * gdb.arch/e500-prologue.exp
7509 * gdb.arch/ftrace-insn-reloc.exp
7510 * gdb.arch/gdb1558.exp
7511 * gdb.arch/i386-bp_permanent.exp
7512 * gdb.arch/i386-disp-step.exp
7513 * gdb.arch/i386-float.exp
7514 * gdb.arch/i386-gnu-cfi.exp
7515 * gdb.arch/ia64-breakpoint-shadow.exp
7516 * gdb.arch/mips16-thunks.exp
7517 * gdb.arch/pa-nullify.exp
7518 * gdb.arch/powerpc-aix-prologue.exp
7519 * gdb.arch/powerpc-power.exp
7520 * gdb.arch/ppc-dfp.exp
7521 * gdb.arch/s390-tdbregs.exp
7522 * gdb.arch/spu-info.exp
7523 * gdb.arch/spu-ls.exp
7524 * gdb.arch/thumb-bx-pc.exp
7525 * gdb.base/advance.exp
7526 * gdb.base/annota-input-while-running.exp
7527 * gdb.base/arrayidx.exp
7528 * gdb.base/asmlabel.exp
7529 * gdb.base/async.exp
7530 * gdb.base/attach-wait-input.exp
7531 * gdb.base/auto-connect-native-target.exp
7532 * gdb.base/batch-preserve-term-settings.exp
7533 * gdb.base/bfp-test.exp
7534 * gdb.base/bigcore.exp
7535 * gdb.base/bp-permanent.exp
7536 * gdb.base/break-always.exp
7537 * gdb.base/break-fun-addr.exp
7538 * gdb.base/break-idempotent.exp
7539 * gdb.base/break-main-file-remove-fail.exp
7540 * gdb.base/break-probes.exp
7541 * gdb.base/break-unload-file.exp
7542 * gdb.base/break.exp
7543 * gdb.base/call-ar-st.exp
7544 * gdb.base/call-rt-st.exp
7545 * gdb.base/call-sc.exp
7546 * gdb.base/call-signal-resume.exp
7547 * gdb.base/call-strs.exp
7548 * gdb.base/callexit.exp
7549 * gdb.base/callfuncs.exp
7550 * gdb.base/catch-gdb-caused-signals.exp
7551 * gdb.base/catch-signal-siginfo-cond.exp
7552 * gdb.base/catch-syscall.exp
7553 * gdb.base/compare-sections.exp
7554 * gdb.base/cond-eval-mode.exp
7555 * gdb.base/condbreak-call-false.exp
7556 * gdb.base/consecutive-step-over.exp
7557 * gdb.base/cursal.exp
7558 * gdb.base/disabled-location.exp
7559 * gdb.base/disasm-end-cu.exp
7560 * gdb.base/display.exp
7561 * gdb.base/double-prompt-target-event-error.exp
7562 * gdb.base/dprintf-bp-same-addr.exp
7563 * gdb.base/dprintf-detach.exp
7564 * gdb.base/dprintf-next.exp
7565 * gdb.base/dprintf-non-stop.exp
7566 * gdb.base/dprintf-pending.exp
7567 * gdb.base/dso2dso.exp
7568 * gdb.base/ending-run.exp
7569 * gdb.base/enum_cond.exp
7570 * gdb.base/examine-backward.exp
7571 * gdb.base/exe-lock.exp
7572 * gdb.base/exec-invalid-sysroot.exp
7573 * gdb.base/execl-update-breakpoints.exp
7574 * gdb.base/execution-termios.exp
7575 * gdb.base/fileio.exp
7576 * gdb.base/fixsection.exp
7577 * gdb.base/foll-exec-mode.exp
7578 * gdb.base/foll-exec.exp
7579 * gdb.base/fork-running-state.exp
7580 * gdb.base/frame-args.exp
7581 * gdb.base/fullpath-expand.exp
7582 * gdb.base/func-ptr.exp
7583 * gdb.base/gcore-relro-pie.exp
7584 * gdb.base/gdb1090.exp
7585 * gdb.base/gdb1555.exp
7586 * gdb.base/global-var-nested-by-dso.exp
7587 * gdb.base/gnu-ifunc.exp
7588 * gdb.base/hbreak-in-shr-unsupported.exp
7589 * gdb.base/hbreak-unmapped.exp
7590 * gdb.base/hook-stop.exp
7591 * gdb.base/infcall-input.exp
7592 * gdb.base/info-fun.exp
7593 * gdb.base/info-shared.exp
7594 * gdb.base/interrupt-noterm.exp
7595 * gdb.base/jit-so.exp
7596 * gdb.base/jit.exp
7597 * gdb.base/line-symtabs.exp
7598 * gdb.base/list.exp
7599 * gdb.base/longjmp.exp
7600 * gdb.base/macscp.exp
7601 * gdb.base/max-value-size.exp
7602 * gdb.base/nodebug.exp
7603 * gdb.base/nofield.exp
7604 * gdb.base/overlays.exp
7605 * gdb.base/paginate-after-ctrl-c-running.exp
7606 * gdb.base/paginate-bg-execution.exp
7607 * gdb.base/paginate-inferior-exit.exp
7608 * gdb.base/pending.exp
7609 * gdb.base/pr11022.exp
7610 * gdb.base/printcmds.exp
7611 * gdb.base/ptr-typedef.exp
7612 * gdb.base/ptype.exp
7613 * gdb.base/randomize.exp
7614 * gdb.base/range-stepping.exp
7615 * gdb.base/realname-expand.exp
7616 * gdb.base/relativedebug.exp
7617 * gdb.base/remote.exp
7618 * gdb.base/savedregs.exp
7619 * gdb.base/sepdebug.exp
7620 * gdb.base/set-noassign.exp
7621 * gdb.base/shlib-call.exp
7622 * gdb.base/shreloc.exp
7623 * gdb.base/sigaltstack.exp
7624 * gdb.base/sigbpt.exp
7625 * gdb.base/siginfo-addr.exp
7626 * gdb.base/siginfo-obj.exp
7627 * gdb.base/siginfo-thread.exp
7628 * gdb.base/signest.exp
7629 * gdb.base/signull.exp
7630 * gdb.base/sigrepeat.exp
7631 * gdb.base/skip.exp
7632 * gdb.base/so-impl-ld.exp
7633 * gdb.base/solib-corrupted.exp
7634 * gdb.base/solib-disc.exp
7635 * gdb.base/solib-display.exp
7636 * gdb.base/solib-overlap.exp
7637 * gdb.base/solib-search.exp
7638 * gdb.base/solib-symbol.exp
7639 * gdb.base/source-execution.exp
7640 * gdb.base/sss-bp-on-user-bp-2.exp
7641 * gdb.base/sss-bp-on-user-bp.exp
7642 * gdb.base/stack-checking.exp
7643 * gdb.base/stale-infcall.exp
7644 * gdb.base/step-break.exp
7645 * gdb.base/step-line.exp
7646 * gdb.base/step-over-exit.exp
7647 * gdb.base/step-test.exp
7648 * gdb.base/structs.exp
7649 * gdb.base/sym-file.exp
7650 * gdb.base/symtab-search-order.exp
7651 * gdb.base/term.exp
7652 * gdb.base/type-opaque.exp
7653 * gdb.base/unload.exp
7654 * gdb.base/until-nodebug.exp
7655 * gdb.base/until.exp
7656 * gdb.base/unwindonsignal.exp
7657 * gdb.base/watch-cond.exp
7658 * gdb.base/watch-non-mem.exp
7659 * gdb.base/watch_thread_num.exp
7660 * gdb.base/watchpoint-reuse-slot.exp
7661 * gdb.base/watchpoint-solib.exp
7662 * gdb.base/watchpoint.exp
7663 * gdb.btrace/dlopen.exp
7664 * gdb.cell/arch.exp
7665 * gdb.cell/break.exp
7666 * gdb.cell/bt.exp
7667 * gdb.cell/core.exp
7668 * gdb.cell/data.exp
7669 * gdb.cell/dwarfaddr.exp
7670 * gdb.cell/ea-cache.exp
7671 * gdb.cell/ea-standalone.exp
7672 * gdb.cell/ea-test.exp
7673 * gdb.cell/f-regs.exp
7674 * gdb.cell/fork.exp
7675 * gdb.cell/gcore.exp
7676 * gdb.cell/mem-access.exp
7677 * gdb.cell/ptype.exp
7678 * gdb.cell/registers.exp
7679 * gdb.cell/sizeof.exp
7680 * gdb.cell/solib-symbol.exp
7681 * gdb.cell/solib.exp
7682 * gdb.compile/compile-tls.exp
7683 * gdb.cp/exception.exp
7684 * gdb.cp/gdb2495.exp
7685 * gdb.cp/local.exp
7686 * gdb.cp/mb-inline.exp
7687 * gdb.cp/mb-templates.exp
7688 * gdb.cp/pr10687.exp
7689 * gdb.cp/pr9167.exp
7690 * gdb.cp/scope-err.exp
7691 * gdb.cp/templates.exp
7692 * gdb.cp/virtfunc.exp
7693 * gdb.dwarf2/dw2-dir-file-name.exp
7694 * gdb.dwarf2/dw2-single-line-discriminators.exp
7695 * gdb.fortran/complex.exp
7696 * gdb.fortran/library-module.exp
7697 * gdb.guile/guile.exp
7698 * gdb.guile/scm-cmd.exp
7699 * gdb.guile/scm-frame-inline.exp
7700 * gdb.guile/scm-objfile.exp
7701 * gdb.guile/scm-pretty-print.exp
7702 * gdb.guile/scm-symbol.exp
7703 * gdb.guile/scm-type.exp
7704 * gdb.guile/scm-value.exp
7705 * gdb.linespec/keywords.exp
7706 * gdb.linespec/ls-errs.exp
7707 * gdb.linespec/macro-relative.exp
7708 * gdb.linespec/thread.exp
7709 * gdb.mi/mi-breakpoint-changed.exp
7710 * gdb.mi/mi-dprintf-pending.exp
7711 * gdb.mi/mi-fullname-deleted.exp
7712 * gdb.mi/mi-logging.exp
7713 * gdb.mi/mi-pending.exp
7714 * gdb.mi/mi-solib.exp
7715 * gdb.mi/new-ui-mi-sync.exp
7716 * gdb.mi/user-selected-context-sync.exp
7717 * gdb.multi/dummy-frame-restore.exp
7718 * gdb.multi/multi-arch-exec.exp
7719 * gdb.multi/remove-inferiors.exp
7720 * gdb.multi/watchpoint-multi-exit.exp
7721 * gdb.opt/solib-intra-step.exp
7722 * gdb.perf/backtrace.exp
7723 * gdb.perf/single-step.exp
7724 * gdb.perf/skip-command.exp
7725 * gdb.perf/skip-prologue.exp
7726 * gdb.perf/solib.exp
7727 * gdb.python/lib-types.exp
7728 * gdb.python/py-as-string.exp
7729 * gdb.python/py-bad-printers.exp
7730 * gdb.python/py-block.exp
7731 * gdb.python/py-breakpoint.exp
7732 * gdb.python/py-cmd.exp
7733 * gdb.python/py-events.exp
7734 * gdb.python/py-evthreads.exp
7735 * gdb.python/py-finish-breakpoint.exp
7736 * gdb.python/py-finish-breakpoint2.exp
7737 * gdb.python/py-frame-inline.exp
7738 * gdb.python/py-frame.exp
7739 * gdb.python/py-inferior.exp
7740 * gdb.python/py-infthread.exp
7741 * gdb.python/py-mi.exp
7742 * gdb.python/py-objfile.exp
7743 * gdb.python/py-pp-maint.exp
7744 * gdb.python/py-pp-registration.exp
7745 * gdb.python/py-prettyprint.exp
7746 * gdb.python/py-recurse-unwind.exp
7747 * gdb.python/py-shared.exp
7748 * gdb.python/py-symbol.exp
7749 * gdb.python/py-symtab.exp
7750 * gdb.python/py-template.exp
7751 * gdb.python/py-type.exp
7752 * gdb.python/py-unwind-maint.exp
7753 * gdb.python/py-unwind.exp
7754 * gdb.python/py-value.exp
7755 * gdb.python/python.exp
7756 * gdb.reverse/finish-reverse-bkpt.exp
7757 * gdb.reverse/insn-reverse.exp
7758 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7759 * gdb.reverse/solib-precsave.exp
7760 * gdb.reverse/solib-reverse.exp
7761 * gdb.stabs/gdb11479.exp
7762 * gdb.stabs/weird.exp
7763 * gdb.threads/fork-child-threads.exp
7764 * gdb.threads/fork-plus-threads.exp
7765 * gdb.threads/fork-thread-pending.exp
7766 * gdb.threads/forking-threads-plus-breakpoint.exp
7767 * gdb.threads/hand-call-in-threads.exp
7768 * gdb.threads/interrupted-hand-call.exp
7769 * gdb.threads/linux-dp.exp
7770 * gdb.threads/local-watch-wrong-thread.exp
7771 * gdb.threads/next-while-other-thread-longjmps.exp
7772 * gdb.threads/non-ldr-exit.exp
7773 * gdb.threads/pending-step.exp
7774 * gdb.threads/print-threads.exp
7775 * gdb.threads/process-dies-while-detaching.exp
7776 * gdb.threads/process-dies-while-handling-bp.exp
7777 * gdb.threads/pthreads.exp
7778 * gdb.threads/queue-signal.exp
7779 * gdb.threads/reconnect-signal.exp
7780 * gdb.threads/signal-command-handle-nopass.exp
7781 * gdb.threads/signal-command-multiple-signals-pending.exp
7782 * gdb.threads/signal-delivered-right-thread.exp
7783 * gdb.threads/signal-sigtrap.exp
7784 * gdb.threads/sigthread.exp
7785 * gdb.threads/staticthreads.exp
7786 * gdb.threads/stepi-random-signal.exp
7787 * gdb.threads/thread-unwindonsignal.exp
7788 * gdb.threads/thread_check.exp
7789 * gdb.threads/thread_events.exp
7790 * gdb.threads/tid-reuse.exp
7791 * gdb.threads/tls-nodebug.exp
7792 * gdb.threads/tls-shared.exp
7793 * gdb.threads/tls-so_extern.exp
7794 * gdb.threads/tls.exp
7795 * gdb.threads/wp-replication.exp
7796 * gdb.trace/actions-changed.exp
7797 * gdb.trace/actions.exp
7798 * gdb.trace/backtrace.exp
7799 * gdb.trace/change-loc.exp
7800 * gdb.trace/collection.exp
7801 * gdb.trace/deltrace.exp
7802 * gdb.trace/disconnected-tracing.exp
7803 * gdb.trace/entry-values.exp
7804 * gdb.trace/ftrace-lock.exp
7805 * gdb.trace/ftrace.exp
7806 * gdb.trace/infotrace.exp
7807 * gdb.trace/mi-trace-frame-collected.exp
7808 * gdb.trace/mi-trace-unavailable.exp
7809 * gdb.trace/mi-traceframe-changed.exp
7810 * gdb.trace/mi-tracepoint-changed.exp
7811 * gdb.trace/mi-tsv-changed.exp
7812 * gdb.trace/no-attach-trace.exp
7813 * gdb.trace/packetlen.exp
7814 * gdb.trace/passc-dyn.exp
7815 * gdb.trace/passcount.exp
7816 * gdb.trace/pending.exp
7817 * gdb.trace/pr16508.exp
7818 * gdb.trace/qtro.exp
7819 * gdb.trace/range-stepping.exp
7820 * gdb.trace/read-memory.exp
7821 * gdb.trace/report.exp
7822 * gdb.trace/save-trace.exp
7823 * gdb.trace/signal.exp
7824 * gdb.trace/stap-trace.exp
7825 * gdb.trace/status-stop.exp
7826 * gdb.trace/strace.exp
7827 * gdb.trace/tfile.exp
7828 * gdb.trace/tfind.exp
7829 * gdb.trace/trace-break.exp
7830 * gdb.trace/trace-condition.exp
7831 * gdb.trace/trace-enable-disable.exp
7832 * gdb.trace/trace-mt.exp
7833 * gdb.trace/tracecmd.exp
7834 * gdb.trace/tracefile-pseudo-reg.exp
7835 * gdb.trace/tspeed.exp
7836 * gdb.trace/tstatus.exp
7837 * gdb.trace/tsv.exp
7838 * gdb.trace/unavailable.exp
7839 * gdb.trace/while-dyn.exp
7840 * gdb.trace/while-stepping.exp
7841 * lib/gdb-guile.exp
7842 * lib/gdb.exp
7843 * lib/mi-support.exp
7844 * lib/pascal.exp
7845 * lib/perftest.exp
7846 * lib/prelink-support.exp
7847 * lib/selftest-support.exp
7848
78492016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7850
7851 * Makefile.in: Include disable-implicit-rules.mk.
7852
78532016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7854
7855 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7856 non-byte-aligned bit fields.
7857
78582016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7859
7860 PR gdb/12616
7861 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7862 respects the DW_AT_data_bit_offset attribute.
7863
78642016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7865
7866 * gdb.base/default.exp: Fix output of "set language".
7867
78682016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7869
7870 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7871 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7872 make.
7873 * configure.ac: Remove checks for the make program.
7874 * configure: Re-generate.
7875
78762016-11-16 Kevin Buettner <kevinb@redhat.com>
7877
7878 * gdb.python/py-recurse-unwind.c (main): Add loop.
7879 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7880 to read_register() and gdb.parse_and_eval(). Make each code
7881 call a separate case that can be individually tested.
7882 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7883 proc. Call cont_and_backtrace for each of the code paths that
7884 we want to test in the unwinder.
7885
78862016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7887
7888 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7889 the definition of struct S.
7890
78912016-11-11 Catherine Moore <clm@codesourcery.com>
7892
7893 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7894
78952016-11-09 Pedro Alves <palves@redhat.com>
7896
7897 * gdb.base/commands.exp (runto_or_return): New procedure.
7898 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7899 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7900 (progvar_simple_while_test, progvar_complex_if_while_test)
7901 (if_while_breakpoint_command_test)
7902 (infrun_breakpoint_command_test, breakpoint_command_test)
7903 (user_defined_command_test, watchpoint_command_test)
7904 (test_command_prompt_position, redefine_hook_test)
7905 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7906 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7907 multi_line_input and multi_line. Remove gdb_expect and
7908 gdb_stop_suppressing_tests uses.
7909 * lib/gdb.exp (valnum_re): New global.
7910 (multi_line_input): New procedure.
7911
79122016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7913
7914 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7915 Remove.
7916 (test_setup): Define with proc_with_prefix.
7917 (test_cli_inferior): Likewise.
7918 (test_cli_thread): Likewise.
7919 (test_cli_frame): Likewise.
7920 (test_cli_select_frame): Likewise.
7921 (test_cli_up_down): Likewise.
7922 (test_mi_thread_select): Likewise.
7923 (test_mi_stack_select_frame): Likewise.
7924 (test_cli_in_mi_inferior): Likewise.
7925 (test_cli_in_mi_thread): Likewise.
7926 (test_cli_in_mi_frame): Likewise.
7927 (top level): Do not use with_test_prefix_procname.
7928
79292016-11-09 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.base/commands.exp (gdbvar_simple_if_test)
7932 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7933 (progvar_simple_if_test, progvar_simple_while_test)
7934 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7935 (infrun_breakpoint_command_test, breakpoint_command_test)
7936 (user_defined_command_test, watchpoint_command_test)
7937 (test_command_prompt_position, deprecated_command_test)
7938 (bp_deleted_in_command, temporary_breakpoint_commands)
7939 (stray_arg0_test, source_file_with_indented_comment)
7940 (recursive_source_test, if_commands_test)
7941 (error_clears_commands_left, redefine_hook_test)
7942 (redefine_backtrace_test): Use proc_with_prefix.
7943 * lib/gdb.exp (proc_with_prefix): New proc.
7944
79452016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7946
7947 * gdb.base/tui-layout.c: New file.
7948 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7949 disassembly window contains very long lines.
7950
79512016-11-08 Tom Tromey <tom@tromey.com>
7952
7953 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7954 depend on Python 2.
7955
79562016-11-08 Tom Tromey <tom@tromey.com>
7957
7958 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7959 New method.
7960
79612016-10-29 Manish Goregaokar <manish@mozilla.com>
7962
7963 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7964
79652016-10-27 Manish Goregaokar <manish@mozilla.com>
7966
7967 * gdb.rust/simple.rs: Add test for univariant enums without
7968 discriminants and for encoded struct-like enums.
7969
79702016-10-28 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7973 gdb_test_multiple, tighten regexps and match symtabs and line
7974 tables incrementally.
7975
79762016-10-28 Luis Machado <lgustavo@codesourcery.com>
7977
7978 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7979 general.
7980
79812016-10-25 Luis Machado <lgustavo@codesourcery.com>
7982
7983 * gdb.base/exec-invalid-sysroot.exp: New file.
7984
79852016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7986
7987 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7988
79892016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7990
7991 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7992
79932016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7994
7995 * gdb.base/killed-outside.exp: Remove $options from a call to
7996 `prepare_for_testing'.
7997
79982016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7999
8000 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8001 Change test message.
8002
80032016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8004
8005 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8006 Update comment.
8007
80082016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8009
8010 * gdb.trace/mi-trace-save.exp: New file.
8011
80122016-10-13 Yao Qi <yao.qi@linaro.org>
8013
8014 * gdb.base/code_elim.exp (get_var_address): Remove.
8015 * gdb.base/relocate.exp: Likewise.
8016 * gdb.base/shreloc.exp: Likewise.
8017 * lib/gdb.exp (get_var_address): New.
8018
80192016-10-13 Yao Qi <yao.qi@linaro.org>
8020
8021 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8022 floating point tests if $skip_float_test is false.
8023
80242016-10-12 Luis Machado <lgustavo@codesourcery.com>
8025
8026 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8027 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8028 argc values.
8029 Add 1 to argc so we guarantee distinct initial/modified argc values.
8030
80312016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8032
8033 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8034
80352016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8036
8037 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8038 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8039 * gdb.arch/vsx-regs.exp: Likewise.
8040
80412016-10-07 Yao Qi <yao.qi@linaro.org>
8042
8043 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8044
80452016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8046
8047 * gdb.python/python.exp: Test decode_line("*0").
8048
80492016-10-06 Doug Evans <dje@google.com>
8050
8051 * gdb.python/py-value.exp (test_value_creation): Add test for large
8052 unsigned 64-bit value.
8053
80542016-10-06 Tom Tromey <tom@tromey.com>
8055
8056 * gdb.compile/compile.exp: Change java tests to rust.
8057 * gdb.base/setshow.exp: Change java tests to rust.
8058 * gdb.base/default.exp: Remove java from language list.
8059 * README (Examples): Update language example.
8060 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8061 test.
8062 * lib/gdb.exp (skip_java_tests): Remove.
8063 * lib/java.exp: Remove.
8064 * gdb.java: Remove.
8065
80662016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8067
8068 * gdb.arch/mips-fcr.exp: New test.
8069 * gdb.arch/mips-fcr.c: Source for the new test.
8070
80712016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8072
8073 * gdb.base/solib-disc.exp: Use `standard_output_file'
8074 throughout.
8075
80762016-10-06 Pedro Alves <palves@redhat.com>
8077
8078 * gdb.base/jit-simple-dl.c: New file.
8079 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8080 * gdb.base/jit-simple.c: ... this.
8081 * gdb.base/jit-simple.exp (jit_run): Delete.
8082 (build_jit): New proc.
8083 (jit_test_reread): Recompile either the main program or the shared
8084 library, depending on what is being tested. Skip changing address
8085 if caller wants to. Compare before/after addresses. If testing
8086 standalone, explicitly load the binary. Test "maint info
8087 breakpoints".
8088 (top level): Add "standalone vs shared lib" and "change address"
8089 vs "same address" axes.
8090
80912016-10-06 Pedro Alves <palves@redhat.com>
8092
8093 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8094 call.
8095 (jit_run): Delete.
8096 (jit_test_reread): Use with_test_prefix. Reload the main binary
8097 explicitly. Compare the before/after addresses of the JIT
8098 descriptor.
8099
81002016-08-15 Doug Evans <dje@google.com>
8101
8102 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8103 for single bitfields is bool.
8104 * gdb.xml/tdesc-regs.exp: Ditto.
8105
81062016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8107
8108 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8109
81102016-10-05 Yao Qi <yao.qi@linaro.org>
8111
8112 * lib/gdb.exp (support_complex_tests): Return zero if
8113 gdb_skip_float_test return true.
8114
81152016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8116 Simon Marchi <simon.marchi@ericsson.com>
8117
8118 PR gdb/20487
8119 * gdb.mi/user-selected-context-sync.exp: New file.
8120 * gdb.mi/user-selected-context-sync.c: New file.
8121
81222016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8123 Simon Marchi <simon.marchi@ericsson.com>
8124
8125 PR gdb/20487
8126 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8127 =thread-select-event check.
8128
81292016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8130
8131 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8132 the compulsory L operand changes.
8133 * gdb.arch/powerpc-power.s: Likewise.
8134
81352016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8136
8137 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8138 * gdb.base/jit-attach-pie.c: New file.
8139 * gdb.base/jit-attach-pie.exp: New file.
8140
81412016-09-28 Pedro Alves <palves@redhat.com>
8142
8143 * gdb.base/infcall-input.c: New file.
8144 * gdb.base/infcall-input.exp: New file.
8145
81462016-09-22 Yao Qi <yao.qi@linaro.org>
8147
8148 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8149 (gdb_exit): Rename it to ...
8150 (gdbserver_gdb_exit): ... Close GDBserver.
8151 (gdb_exit): New proc, call gdbserver_gdb_exit.
8152 (mi_gdb_exit): Likewise.
8153
81542016-09-22 Yao Qi <yao.qi@linaro.org>
8155
8156 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8157 path.
8158 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8159 Remove duplication.
8160
81612016-09-22 Yao Qi <yao.qi@linaro.org>
8162
8163 * lib/gdbserver-support.exp: Check the existence of
8164 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8165
81662016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8167
8168 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8169
81702016-09-21 Tom Tromey <tom@tromey.com>
8171
8172 PR gdb/20604:
8173 * gdb.base/quit.exp: New file.
8174
81752016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8176
8177 * .gitignore: New file.
8178
81792016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8180
8181 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8182 throughout.
8183
81842016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8185
8186 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8187
81882016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8189
8190 * gdb.cp/casts.cc (decltype): Move it ...
8191 (main): ... with its call to ...
8192 * gdb.cp/casts03.cc: ... a new file.
8193 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8194
81952016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8196
8197 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8198
81992016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8200
8201 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8202 and sync up the test with tests in gas/testsuite/gas/ppc.
8203 * gdb.arch/powerpc-power.exp: Likewise.
8204
82052016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8206
8207 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8208
82092016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8210 Jan Kratochvil <jan.kratochvil@redhat.com>
8211
8212 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8213 make m1's definition to be different from m2's. Use 'dummy' as an
8214 argument for probe 'two'.
8215
82162016-09-10 Jon Beniston <jon@beniston.com>
8217
8218 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8219 for sim target.
8220
82212016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8222
8223 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8224 variable declaration.
8225 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8226 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8227 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8228 received HWCAP as its argument.
8229
82302016-09-06 Pedro Alves <palves@redhat.com>
8231
8232 * gdb.base/new-ui-pending-input.c: New file.
8233 * gdb.base/new-ui-pending-input.exp: New file.
8234 * gdb.exp (clear_gdb_spawn_id): New procedure.
8235 (with_spawn_id): Check whether gdb_spawn_id exists before
8236 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8237 on exit.
8238
82392016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8240
8241 * gdb.base/float128.c: New file.
8242 * gdb.base/float128.exp: Likewise.
8243 * gdb.base/floatn.c: Likewise.
8244 * gdb.base/floatn.exp: Likewise.
8245
82462016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8247
8248 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8249
82502016-09-05 Pedro Alves <palves@redhat.com>
8251
8252 PR backtrace/19927
8253 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8254 unwinders are immediately called as side effect of "source" or
8255 "disable unwinder" commands.
8256 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8257
82582016-09-02 Yao Qi <yao.qi@linaro.org>
8259
8260 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8261 is true and $type is "float" or "double".
8262
82632016-09-02 Yao Qi <yao.qi@linaro.org>
8264
8265 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8266 true.
8267 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8268 * gdb.base/call-rt-st.exp: Likewise.
8269 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8270 return value instead of gdb,skip_float_test.
8271 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8272 (do_function_calls): Use its return value instead of
8273 gdb,skip_float_test.
8274 * gdb.base/finish.exp: Likewise.
8275 * gdb.base/funcargs.exp: Likewise.
8276 * gdb.base/return.exp: Likewise.
8277 * gdb.base/return2.exp: Likewise.
8278 * gdb.base/varargs.exp: Likewise.
8279 * lib/gdb.exp (gdb_skip_float_test): Change it to
8280 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8281
82822016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8283
8284 * gdb.multi/tids.exp: Test "thread apply all".
8285
82862016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8287
8288 * gdb.base/default.exp (tty): Remove.
8289
82902016-08-24 Kevin Buettner <kevinb@redhat.com>
8291
8292 * gdb.python/py-recurse-unwind.c: New file.
8293 * gdb.python/py-recurse-unwind.py: New file.
8294 * gdb.python/py-recurse-unwind.exp: New file.
8295
82962016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8297
8298 * gdb.base/set-inferior-tty.exp: New file.
8299 * gdb.base/set-inferior-tty.c: New file.
8300
83012016-08-23 Pedro Alves <palves@redhat.com>
8302
8303 PR gdb/20494
8304 * gdb.base/new-ui-echo.c: New file.
8305 * gdb.base/new-ui-echo.exp: New file.
8306
83072016-08-23 Yao Qi <yao.qi@linaro.org>
8308
8309 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8310 gdbserver_spawn.
8311 * gdb.server/connect-without-multi-process.exp (do_test):
8312 Likewise.
8313
83142016-08-23 Yao Qi <yao.qi@linaro.org>
8315
8316 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8317 standalone_txt. Delete gdb_txt and standalone_txt on host
8318 and target. Spawn the binary on target. Copy files from
8319 target to host.
8320
83212016-08-22 Pedro Alves <palves@redhat.com>
8322
8323 PR gdb/20505
8324 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8325 with_test_prefix. Factor out bits to ...
8326 (test_no_vdso): ... this new procedure.
8327
83282016-08-19 Carl Love <cel@us.ibm.com>
8329
8330 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8331 maintaining separate logic for constructing the output path.
8332 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8333 * gdb.arch/ppc-dfp.exp: Likewise.
8334 * gdb.arch/ppc-fp.exp: Likewise.
8335 * gdb.arch/vsx-regs.exp: Likewise.
8336 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8337 binprefix for generating the additional binary files.
8338
83392016-08-19 Pedro Alves <palves@redhat.com>
8340
8341 * gdb.trace/mi-trace-frame-collected.exp
8342 (test_trace_frame_collected): On x32, expect two registers.
8343
83442016-08-18 Carl Love <cel@us.ibm.com>
8345
8346 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8347 and sync up the test with tests in gas/testsuite/gas/ppc.
8348 * gdb.arch/powerpc-power.exp: Likewise.
8349
83502016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8351
8352 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8353 expected error message.
8354
83552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8356
8357 * gdb.multi/remove-inferiors.exp: New file.
8358 * gdb.multi/remove-inferiors.c: New file.
8359
83602016-08-12 Yao Qi <yao.qi@linaro.org>
8361
8362 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8363 argument list.
8364
83652016-08-10 Pedro Alves <palves@redhat.com>
8366
8367 PR gdb/19187
8368 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8369 setup_kfails.
8370
83712016-08-09 Pedro Alves <palves@redhat.com>
8372 Simon Marchi <simon.marchi@ericsson.com>
8373
8374 PR gdb/20418
8375 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8376 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8377
83782016-08-09 Pedro Alves <palves@redhat.com>
8379
8380 PR mi/20431
8381 * gdb.mi/mi-cmd-error.exp: New file.
8382
83832016-08-09 Pedro Alves <palves@redhat.com>
8384
8385 PR gdb/18653
8386 * gdb.base/signals-state-child.c: New file.
8387 * gdb.base/signals-state-child.exp: New file.
8388 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8389
83902016-08-09 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8393
83942016-08-03 Tom Tromey <tom@tromey.com>
8395
8396 PR python/18565:
8397 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8398
83992016-08-01 Yao Qi <yao.qi@linaro.org>
8400
8401 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8402 variable mode to "multi-process" if $multi_process is 1, otherwise
8403 set it to "single-process".
8404
84052016-08-01 Yao Qi <yao.qi@linaro.org>
8406
8407 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8408 * gdb.cp/cpexprs.exp: Likewise.
8409 * gdb.cp/m-static.exp: Likewise.
8410
84112016-07-26 Tom Tromey <tom@tromey.com>
8412
8413 PR python/20190:
8414 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8415 test.
8416
84172016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8418
8419 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8420 selecting assembly source files.
8421 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8422 assembly source files.
8423 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8424 assembly source files.
8425 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8426 selecting assembly source files.
8427
84282016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8429
8430 * gdb.base/new-ui.exp (do_test_invalid_args): New
8431 procedure.
8432
84332016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8434
8435 * gdb.btrace/reconnect.c: New file.
8436 * gdb.btrace/reconnect.exp: New file.
8437
84382016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8439
8440 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8441 to test_catch_syscall_group.
8442 (test_catch_syscall_group): New.
8443
84442016-07-21 Tom Tromey <tom@tromey.com>
8445
8446 * gdb.rust/simple.rs (main): Use empty struct expression.
8447 * gdb.rust/simple.exp: Add tests for empty struct expression.
8448
84492016-07-21 Yao Qi <yao.qi@linaro.org>
8450
8451 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8452 if gdb_skip_xml_test is true on some targets.
8453
84542016-07-21 Yao Qi <yao.qi@linaro.org>
8455
8456 * gdb.server/solib-list.exp: Unset last_loaded_file.
8457
84582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8459
8460 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8461 "step into captured_main (args)".
8462
84632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8466
84672016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8468
8469 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8470
84712016-07-19 Pedro Alves <palves@redhat.com>
8472
8473 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8474 * gdb.opt/inline-bt.exp: Likewise.
8475 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8476 additional_flags=-Winline.
8477 * gdb.opt/inline-locals.exp: Likewise.
8478 * gdb.opt/inline-markers.c (ATTR): Define.
8479 (inlined_fn): Use it.
8480
84812016-07-19 Yao Qi <yao.qi@linaro.org>
8482
8483 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8484 (test_with_self): Remove some code. Remove argument executable.
8485 (top-level): Use do_self_tests.
8486
84872016-07-15 Zachary Welch <zwelch@codesourcery.com>
8488 Don Breazeal <donb@codesourcery.com>
8489
8490 * gdb.base/maint.exp: Escape paths used in regular expressions.
8491 * gdb.stabs/weird.exp: Likewise.
8492
84932016-07-13 Tom Tromey <tom@tromey.com>
8494
8495 PR python/15620, PR python/18620:
8496 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8497 (test_bkpt_events): New procs.
8498
84992016-07-13 Tom Tromey <tom@tromey.com>
8500
8501 PR python/17698:
8502 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8503 test.
8504 (test_watchpoints): Likewise.
8505 (test_bkpt_pending): New proc.
8506
85072016-07-13 Tom Tromey <tom@tromey.com>
8508
8509 PR cli/18053:
8510 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8511 completion test.
8512
85132016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8514
8515 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8516 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8517 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8518 f_label.
8519 (g): Rename g_end_lbl to g_label.
8520 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8521 low_pc and high_pc.
8522 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8523
85242016-07-12 Tom Tromey <tom@tromey.com>
8525
8526 PR python/19293:
8527 * gdb.python/py-unwind-maint.exp: Update tests.
8528
85292016-07-12 Yao Qi <yao.qi@linaro.org>
8530
8531 * lib/selftest-support.exp (selftest_setup): Match the output
8532 when captured_main is inlined.
8533
85342016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8535
8536 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8537 New variables.
8538 (print this%a, print this%b, print this): New tests.
8539 * gdb.fortran/derived-types.f90 (this): New object and
8540 initialization.
8541
85422016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8543
8544 * gdb.ada/arraydim.exp: Remove extra directory level in build
8545 directory.
8546
85472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8548
8549 * lib/ada.exp: Remove extra directory level in build directory.
8550 * gdb.ada/cond_lang.exp: Likewise.
8551 * gdb.ada/exec_changed.exp: Likewise.
8552 * gdb.ada/lang_switch.exp: Likewise.
8553
85542016-07-06 Manish Goregaokar <manish@mozilla.com>
8555
8556 * simple.rs: Add test for raw pointer subscripting.
8557 * simple.exp: Add test expectations.
8558
85592016-07-05 Yao Qi <yao.qi@linaro.org>
8560
8561 * gdb.mi/mi-reverse.exp: Match =record-started output.
8562
85632016-07-01 Pedro Alves <palves@redhat.com>
8564
8565 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8566 procedure.
8567 (jit_reader_test): Test the jit reader's unwinder.
8568 * gdb.base/jithost.c (jit_function_00_code): New global.
8569 (main): Use memcpy to fill in the mmapped code, instead of poking
8570 bytes manually here.
8571 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8572 value.
8573 (read_debug_info): Save the function's range.
8574 (read_sp): New function.
8575 (unwind_frame): Use it. Also unwind RBP.
8576 (get_frame_id): Use read_sp.
8577 (gdb_init_reader): Use calloc instead of malloc.
8578 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8579 parameter. Use gdb_test_multiple.
8580
85812016-07-01 Pedro Alves <palves@redhat.com>
8582 Antoine Tremblay <antoine.tremblay@ericsson.com>
8583
8584 * gdb.threads/process-dies-while-detaching.c: New file.
8585 * gdb.threads/process-dies-while-detaching.exp: New file.
8586
85872016-07-01 Pedro Alves <palves@redhat.com>
8588
8589 * gdb.multi/watchpoint-multi-exit.c: New file.
8590 * gdb.multi/watchpoint-multi-exit.exp: New file.
8591
85922016-06-30 Pedro Alves <palves@redhat.com>
8593
8594 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8595 unset inferior_spawn_id.
8596
85972016-06-30 Pedro Alves <palves@redhat.com>
8598
8599 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8600 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8601
86022016-06-29 Yao Qi <yao.qi@linaro.org>
8603
8604 * gdb.base/return.c: Add copyright header.
8605
86062016-06-29 Tom Tromey <tom@tromey.com>
8607
8608 PR python/20129:
8609 * gdb.python/py-framefilter.exp: Add tests for setting priority
8610 and disabling of non-existent frame filter.
8611
86122016-06-29 Yao Qi <yao.qi@linaro.org>
8613
8614 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8615 0x0f07ff.
8616
86172016-06-28 Yao Qi <yao.qi@linaro.org>
8618
8619 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8620 triplets. Start gdb, execute catch syscall, and continue. Check
8621 gdb's output to determine catch syscall is supported.
8622
86232016-06-27 Manish Goregaokar <manish@mozilla.com>
8624
8625 * gdb.rust/simple.rs: Add test for returning unit in a function.
8626 * gdb.rust/simple.exp: Add expectation for functions returning
8627 unit.
8628
86292016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8630
8631 * gdb.python/py-breakpoint-create-fail.c,
8632 gdb.python/py-breakpoint-create-fail.exp,
8633 gdb.python/py-breakpoint-create-fail.py: New testcase.
8634
86352016-06-25 Manish Goregaokar <manish@mozilla.com>
8636
8637 PR gdb/20239
8638 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8639 * gdb.rust/simple.exp: Add test expectations for new NonZero
8640 tests.
8641
86422016-06-24 David Taylor <dtaylor@emc.com>
8643
8644 * gdb.base/offsets.exp: New file.
8645 * gdb.base/offsets.c: New file.
8646
86472016-06-23 Tom Tromey <tom@tromey.com>
8648
8649 PR gdb/16483:
8650 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8651 before any filters are loaded.
8652
86532016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8654
8655 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8656 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8657 structs.
8658 * gdb.fortran/derived-type-function.exp: New file.
8659 * gdb.fortran/derived-type-function.f90: New file.
8660
8661
86622016-06-21 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.base/new-ui.exp: New file.
8665 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8666 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8667 (with_spawn_id): New procedure.
8668
86692016-06-21 Pedro Alves <palves@redhat.com>
8670
8671 * gdb.mi/mi-exec-run.exp: New file.
8672
86732016-06-21 Pedro Alves <palves@redhat.com>
8674
8675 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8676 breakpoint command's output on the main UI.
8677 (test_break): New procedure, factored out from calls in the top
8678 level.
8679 (top level): Use foreach_with_prefix to test MI as main UI and as
8680 separate UI.
8681
86822016-06-21 Pedro Alves <palves@redhat.com>
8683
8684 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8685 (test_awatch_creation_and_listing)
8686 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8687 Remove 'type' parameter.
8688 (test_watchpoint_all): New parameter mi_mode. Remove
8689 with_test_prefix.
8690 (top level): Use foreach_with_prefix, and add main/separate UI MI
8691 testing axis.
8692
86932016-06-21 Pedro Alves <palves@redhat.com>
8694
8695 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8696 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8697 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8698 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8699 (gdb_main_spawn_id, mi_spawn_id): Declare and
8700 comment.
8701 (mi_create_inferior_pty): New procedure,
8702 factored out from default_mi_gdb_start.
8703 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8704 procedures.
8705 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8706 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8707 Use mi_create_inferior_pty.
8708 (mi_gdb_start): Use eval to pass down args list.
8709
87102016-06-21 Pedro Alves <palves@redhat.com>
8711
8712 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8713 * gdb.opt/inline-cmds.exp: Add MI tests.
8714
87152016-06-21 Pedro Alves <palves@redhat.com>
8716
8717 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8718
87192016-06-21 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8722 (top level): Use it instead of mi_execute_to.
8723
87242016-06-21 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8727 (cont_handler_str): New.
8728 (signal_stop_handler): Set stop_handler_str instead of printing to
8729 stdout.
8730 (continue_handler): Set cont_handler_str instead of printing to
8731 stdout.
8732 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8733 mi_send_resuming_command. Print stop_handler_str and
8734 cont_handler_str instead of expecting the python events print
8735 directly.
8736
87372016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8738
8739 * gdb.base/jit-reader.exp: New file.
8740 * gdb.base/jithost.c: New file.
8741 * gdb.base/jithost.h: New file.
8742 * gdb.base/jitreader.c : New file.
8743 * gdb.base/jit-protocol.h: New file.
8744
87452016-06-17 Yao Qi <yao.qi@linaro.org>
8746
8747 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8748 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8749 and detach-on-fork. Adjust tests.
8750 (top level): Invoke break_cond_on_syscall with combinations of
8751 syscall, follow-fork-mode and detach-on-fork.
8752
87532016-06-17 Yao Qi <yao.qi@linaro.org>
8754
8755 * gdb.base/step-over-exit.c: New.
8756 * gdb.base/step-over-exit.exp: New.
8757
87582016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8759
8760 * gdb.base/float.exp: Add target check for nds32*-*-*.
8761 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8762
87632016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8764
8765 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8766 for unsupported target features.
8767 * gdb.base/call-rt-st.exp: Likewise.
8768 * gdb.base/call-sc.exp: Likewise.
8769 * gdb.base/call-signal-resume.exp: Likewise.
8770 * gdb.base/call-strs.exp: Likewise.
8771 * gdb.base/callexit.exp: Likewise.
8772 * gdb.base/callfuncs.exp: Likewise.
8773 * gdb.base/nodebug.exp: Likewise.
8774 * gdb.base/printcmds.exp: Likewise.
8775 * gdb.base/ptype.exp: Likewise.
8776 * gdb.base/structs.exp: Likewise.
8777 * gdb.base/unwindonsignal.exp: Likewise.
8778 * gdb.cp/gdb2495.exp: Likewise.
8779 * gdb.cp/templates.exp: Likewise.
8780 * gdb.cp/virtfunc.exp: Likewise.
8781 * gdb.threads/hand-call-in-threads.exp: Likewise.
8782 * gdb.threads/interrupted-hand-call.exp: Likewise.
8783 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8784
87852016-06-10 Tom Tromey <tom@tromey.com>
8786
8787 PR rust/20110:
8788 * gdb.rust/expr.exp: Add test for integer constant larger than
8789 i32.
8790
87912016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8792
8793 * gdb.fortran/nested-funcs.exp: New.
8794 * gdb.fortran/nested-funcs.f90: New.
8795
87962016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8797
8798 * gdb.base/examine-backward.c: New file.
8799 * gdb.base/examine-backward.exp: New file.
8800
88012016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8802
8803 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8804 matching.
8805
88062016-06-02 Tom Tromey <tom@tromey.com>
8807
8808 PR python/18984:
8809 * gdb.python/py-shared.exp: Add solib_name test.
8810
88112016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8812
8813 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8814
88152016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8816
8817 PR c++/19893
8818 * gdb.dwarf2/implref.exp: Rename to...
8819 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8820 * gdb.dwarf2/implref-array.c: New file.
8821 * gdb.dwarf2/implref-array.exp: Likewise.
8822 * gdb.dwarf2/implref-global.c: Likewise.
8823 * gdb.dwarf2/implref-global.exp: Likewise.
8824 * gdb.dwarf2/implref-struct.c: Likewise.
8825 * gdb.dwarf2/implref-struct.exp: Likewise.
8826
88272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8828
8829 * gdb.trace/trace-condition.exp: Add 64bit tests.
8830
88312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8832
8833 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8834 bits types.
8835 (main): Adapt to 8 to 64 bits types.
8836 * gdb.trace/trace-condition.exp: Add new tests.
8837
88382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8839
8840 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8841
88422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8843
8844 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8845 Move condition tests...
8846 * gdb.trace/trace-condition.exp: Here.
8847
88482016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8849
8850 * gdb.trace/trace-condition.exp: Add counter-case tests.
8851
88522016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8853
8854 PR c++/15231
8855 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8856 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8857
88582016-05-27 Pedro Alves <palves@redhat.com>
8859
8860 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8861 New procedure.
8862 (top level): Call it, and bail out of DejaGnu is known to be bad.
8863
88642016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8865
8866 * gdb.base/whatis.c: Extend the test case.
8867 * gdb.base/whatis.exp: Add additional tests.
8868
88692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8870
8871* gdb.fortran/type.f90: Add pointer variable.
8872* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8873
88742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8875
8876 * gdb.fortran/vla-type.exp: Fix testcase name.
8877
88782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8879
8880 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8881
88822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8883
8884 * gdb.fortran/type.f90: Add nested structures.
8885 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8886 * gdb.fortran/derived-type.exp: Adapt expected output.
8887 * gdb.fortran/vla-type.exp: Adapt expected output.
8888
88892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8890
8891 * gdb.fortran/whatis_type.exp: Adapt expected output.
8892
88932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8894
8895 * gdb.fortran/print_type.exp: Fix expected output.
8896 * gdb.fortran/whatis_type.exp: Fix expected output.
8897
88982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8899
8900 * gdb.fortran/whatis_type.exp: Use multi_line.
8901
89022016-05-24 Tom Tromey <tom@tromey.com>
8903
8904 PR python/17386:
8905 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8906 use value as an index.
8907
89082016-05-23 Tom Tromey <tom@tromey.com>
8909
8910 PR python/17981:
8911 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8912 no-breakpoint case.
8913
89142016-05-24 Pedro Alves <palves@redhat.com>
8915
8916 PR gdb/19828
8917 * gdb.threads/clone-attach-detach.c: New file.
8918 * gdb.threads/clone-attach-detach.exp: New file.
8919
89202016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8921
8922 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8923
89242016-05-23 Tom Tromey <tom@tromey.com>
8925
8926 PR python/19438, PR python/18393:
8927 * gdb.python/py-progspace.exp: Add "dir" test.
8928 * gdb.python/py-objfile.exp: Add "dir" test.
8929
89302016-05-23 Yao Qi <yao.qi@linaro.org>
8931
8932 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8933 * gdb.arch/thumb2-it.exp: Likewise.
8934
89352016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8936
8937 * gdb.mi/mi-threads-interrupt.c: New file.
8938 * gdb.mi/mi-threads-interrupt.exp: New file.
8939
89402016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8941
8942 PR gdb/18077
8943 * gdb.mi/mi-async-run.exp: New file.
8944 * gdb.mi/mi-async-run.c: New file.
8945
89462016-05-17 Tom Tromey <tom@tromey.com>
8947 Manish Goregaokar <manishsmail@gmail.com>
8948
8949 * lib/rust-support.exp: New file.
8950 * lib/gdb.exp (skip_rust_tests): New proc.
8951 (build_executable_from_specs): Handle rust.
8952 * lib/future.exp (gdb_find_rustc): New proc.
8953 (gdb_default_target_compile): Handle rust.
8954 * gdb.rust/expr.exp: New file.
8955 * gdb.rust/generics.exp: New file.
8956 * gdb.rust/generics.rs: New file.
8957 * gdb.rust/methods.exp: New file.
8958 * gdb.rust/methods.rs: New file.
8959 * gdb.rust/modules.exp: New file.
8960 * gdb.rust/modules.rs: New file.
8961 * gdb.rust/simple.exp: New file.
8962 * gdb.rust/simple.rs: New file.
8963
89642016-05-17 Tom Tromey <tom@tromey.com>
8965
8966 * gdb.base/default.exp (set language): Add rust.
8967
89682016-05-17 Tom Tromey <tom@tromey.com>
8969
8970 * gdb.gdb/unittest.exp: New file.
8971
89722016-05-16 Yao Qi <yao.qi@linaro.org>
8973
8974 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8975 shell_prompt. Update shell_prompt_re.
8976
89772016-05-12 Doug Evans <dje@google.com>
8978
8979 PR symtab/19999
8980 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8981 $options when building executable.
8982 * gdb.dwarf2/fission-loclists-pie.S: New file.
8983 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8984
89852016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8986
8987 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8988 of [is_remote target],
8989
89902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8991
8992 * lib/gdb.exp (use_gdb_stub): New procedure.
8993
89942016-05-03 Yunlian Jiang <yunlian@google.com>
8995 Doug Evans <dje@google.com>
8996
8997 PR symtab/19914
8998 * gdb.dwarf2/dwp-sepdebug.c: New file.
8999 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9000
90012016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9002
9003 * gdb.base/detach.exp: Remove is_remote check.
9004
90052016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9006
9007 * gdb.base/annota-input-while-running.exp: Don't check for
9008 [is_remote target]. Enable annotations after running to main.
9009 Remove unused "set test..." line.
9010
90112016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9012
9013 * gdb.trace/trace-enable-disable.exp: New file.
9014 * gdb.trace/trace-enable-disable.c: New file.
9015
90162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9017
9018 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9019 use it in info sharedlibrary test.
9020 * gdb.trace/ftrace-lock.exp: Likewise.
9021 * gdb.trace/ftrace.exp: Likewise.
9022 * gdb.trace/range-stepping.exp: Likewise.
9023 * gdb.trace/trace-break.exp: Likewise.
9024 * gdb.trace/trace-condition.exp: Likewise.
9025 * gdb.trace/trace-mt.exp: Likewise.
9026
90272016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9028
9029 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9030 (gdb_load_shlib): ... this.
9031 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9032 gdb_load_shlib.
9033 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9034 * gdb.base/ctxobj.exp: Likewise.
9035 * gdb.base/dprintf-pending.exp: Likewise.
9036 * gdb.base/dso2dso.exp: Likewise.
9037 * gdb.base/fixsection.exp: Likewise.
9038 * gdb.base/gcore-relro.exp: Likewise.
9039 * gdb.base/gdb1555.exp: Likewise.
9040 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9041 * gdb.base/gnu-ifunc.exp: Likewise.
9042 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9043 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9044 * gdb.base/pending.exp: Likewise.
9045 * gdb.base/print-file-var.exp: Likewise.
9046 * gdb.base/print-symbol-loading.exp: Likewise.
9047 * gdb.base/shlib-call.exp: Likewise.
9048 * gdb.base/shreloc.exp: Likewise.
9049 * gdb.base/so-impl-ld.exp: Likewise.
9050 * gdb.base/solib-disc.exp: Likewise.
9051 * gdb.base/solib-nodir.exp: Likewise.
9052 * gdb.base/solib-overlap.exp: Likewise.
9053 * gdb.base/solib-symbol.exp: Likewise.
9054 * gdb.base/solib-weak.exp (do_test): Likewise.
9055 * gdb.base/sym-file.exp: Likewise.
9056 * gdb.base/symtab-search-order.exp: Likewise.
9057 * gdb.base/type-opaque.exp: Likewise.
9058 * gdb.base/unload.exp: Likewise.
9059 * gdb.base/watchpoint-solib.exp: Likewise.
9060 * gdb.compile/compile.exp: Likewise.
9061 * gdb.cp/gdb2384.exp: Likewise.
9062 * gdb.cp/infcall-dlopen.exp: Likewise.
9063 * gdb.cp/re-set-overloaded.exp: Likewise.
9064 * gdb.fortran/library-module.exp: Likewise.
9065 * gdb.opt/solib-intra-step.exp: Likewise.
9066 * gdb.python/py-finish-breakpoint.exp: Likewise.
9067 * gdb.python/py-shared.exp: Likewise.
9068 * gdb.reverse/solib-precsave.exp: Likewise.
9069 * gdb.reverse/solib-reverse.exp: Likewise.
9070 * gdb.server/solib-list.exp: Likewise.
9071 * gdb.threads/dlopen-libpthread.exp: Likewise.
9072 * gdb.threads/tls-shared.exp: Likewise.
9073 * gdb.threads/tls-so_extern.exp: Likewise.
9074 * gdb.trace/change-loc.exp: Likewise.
9075 * gdb.trace/ftrace-lock.exp: Likewise.
9076 * gdb.trace/ftrace.exp: Likewise.
9077 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9078 * gdb.trace/pending.exp: Likewise.
9079 * gdb.trace/range-stepping.exp: Likewise.
9080 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9081 (strace_info_marker): Likewise.
9082 (strace_probe_marker): Likewise.
9083 (strace_trace_on_same_addr): Likewise.
9084 (strace_trace_on_diff_addr): Likewise.
9085 * gdb.trace/trace-break.exp: Likewise.
9086 * gdb.trace/trace-condition.exp: Likewise.
9087 * gdb.trace/trace-mt.exp: Likewise.
9088
90892016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9090
9091 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9092 result of gdb_remote_download.
9093 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9094 * gdb.base/dso2dso.exp: Likewise.
9095 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9096 * gdb.base/print-file-var.exp: Likewise.
9097 * gdb.base/shlib-call.exp: Likewise.
9098 * gdb.base/shreloc.exp: Likewise.
9099 * gdb.base/solib-overlap.exp: Likewise.
9100 * gdb.base/solib-weak.exp (do_test): Likewise.
9101 * gdb.base/unload.exp: Likewise.
9102
91032016-04-27 Yao Qi <yao.qi@linaro.org>
9104
9105 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9106 exists.
9107
91082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9109
9110 * vla-type.exp: Print structure from toplevel.
9111
91122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9113
9114 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9115 of dynamic types.
9116 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9117 of dynamic types.
9118
91192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9120
9121 * gdb.fortran/vla-type.f90: New file.
9122 * gdb.fortran/vla-type.exp: New file.
9123
91242016-04-25 Yao Qi <yao.qi@linaro.org>
9125
9126 * gdb.base/branch-to-self.c: New file.
9127 * gdb.base/branch-to-self.exp: New file.
9128
91292016-04-22 Yao Qi <yao.qi@linaro.org>
9130
9131 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9132 more after $hex.
9133
91342016-04-22 Yao Qi <yao.qi@linaro.org>
9135
9136 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9137 * gdb.base/annota3.exp: Likewise.
9138
91392016-04-22 Yao Qi <yao.qi@linaro.org>
9140
9141 * gdb.reverse/step-precsave.exp: Do one step and test program
9142 stops in "callee" and do multiple steps until program goes out
9143 of "callee".
9144 * gdb.reverse/step-reverse.exp: Likewise.
9145
91462016-04-22 Yao Qi <yao.qi@linaro.org>
9147
9148 * gdb.trace/signal.exp: Also pass if
9149 $tracepoint_hits($i) > $iterations.
9150
91512016-04-22 Yao Qi <yao.qi@linaro.org>
9152
9153 * gdb.trace/signal.c: New file.
9154 * gdb.trace/signal.exp: New file.
9155
91562016-04-19 Doug Evans <xdje42@gmail.com>
9157
9158 * gdb.base/bad-file.exp: New file.
9159
91602016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9161
9162 * gdb.dwarf2/implref.exp: New file.
9163
91642016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9165
9166 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9167 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9168 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9169 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9170 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9171 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9172 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9173 * lib/fortran.exp (fortran_int4): New procedure.
9174 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9175 (fortran_logical4): Likewise.
9176
91772016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9178
9179 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9180
91812016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9182
9183 * lib/compiler.c: Add Intel specific preprocessor macros.
9184 * lib/compiler.cc: Likewise.
9185
91862016-04-13 Luis Machado <lgustavo@codesourcery.com>
9187
9188 * gdb.server/connect-with-no-symbol-file.c: New file.
9189 * gdb.server/connect-with-no-symbol-file.exp: New file.
9190
91912016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9192
9193 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9194
91952016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9196
9197 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9198 standard output directory.
9199
92002016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9201
9202 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9203
92042016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9205
9206 * gdb.btrace/instruction_history.c (loop): Add declaration.
9207
92082016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9209
9210 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9211
92122016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9213
9214 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9215 parentheses to print.
9216 (continue_handler): Likewise.
9217
92182016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9219
9220 * gdb.server/solib-list.exp: Remove is_remote check.
9221 Pass shlib= to gdb_compile. Don't link shared library with
9222 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9223 Run binary filename through "readlink -f" on the target.
9224
92252016-04-08 Pedro Alves <palves@redhat.com>
9226
9227 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9228 interpreter filename as argument to gdbserver_spawn.
9229 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9230 Return empty if $last_loaded_file does not exist.
9231
92322016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9233
9234 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9235 * gdb.base/jit-main.c: Use exit after usage.
9236
92372016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9238
9239 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9240 GDBHISTSIZE prior to the tests.
9241 * gdb.base/gdbinit-history.exp: Likewise.
9242
92432016-04-07 Pedro Alves <palves@redhat.com>
9244
9245 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9246 instead of build_executable. Use gdb_load_shlibs.
9247
92482016-04-07 Yao Qi <yao.qi@linaro.org>
9249
9250 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9251 Execute "si" command.
9252
92532016-04-07 Yao Qi <yao.qi@linaro.org>
9254
9255 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9256 number instead of the comments on some line.
9257
92582016-04-06 Don Breazeal <donb@codesourcery.com>
9259
9260 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9261 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9262
92632016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9264
9265 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9266 standard_output_file. Remove unused binfile variable.
9267
92682016-04-05 Catalin Udma <catalin.udma@freescale.com>
9269
9270 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9271 * gdb.python/py-mi-objfile.exp: Match "list main" output
9272 in console format.
9273
92742016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9275
9276 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9277 absolute.
9278
92792016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9280
9281 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9282 absolute.
9283 * gdb.trace/ftrace.exp: Likewise.
9284 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9285 targets as well.
9286 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9287 (gdb_load_shlibs): Copy libraries to test directory when testing
9288 natively. Only set solib-search-path if testing remotely.
9289 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9290
92912016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9292
9293 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9294 gdb_download. Use it even if the target is not remote.
9295 * gdb.base/jit.exp (compile_jit_test): Likewise.
9296 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9297 output directory if the destination board is local, otherwise use
9298 the standard remote_download from DejaGnu.
9299 (gdb_download): Remove.
9300 (gdb_load_shlibs): Use gdb_remote_download instead of
9301 gdb_download.
9302 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9303 Use gdb_remote_download instead of gdb_download. Use it even if
9304 the target is not remote.
9305 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9306 instead of gdb_download.
9307
93082016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9309
9310 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9311 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9312 run.
9313
93142016-04-01 Artemiy Volkov <artemiyv@acm.org>
9315
9316 PR gdb/19820
9317 * gdb.base/printcmds.exp: Add artificial arrays tests.
9318
93192016-03-31 Pedro Alves <palves@redhat.com>
9320
9321 PR gdb/19858
9322 * gdb.base/jit-main.c: Include unistd.h.
9323 (ATTACH): Define to 0 if not already defined.
9324 (wait_for_gdb, mypid): New globals.
9325 (WAIT_FOR_GDB): New macro.
9326 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9327 some breakpoint locations.
9328 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9329 New procedures.
9330 (one_jit_test): Add REATTACH parameter, and handle it. Use
9331 continue_to_test_location.
9332 (top level): Test attach, and adjusts calls to one_jit_test.
9333
93342016-03-31 Pedro Alves <palves@redhat.com>
9335
9336 PR gdb/19858
9337 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9338 BINSUFFIX parameter, and handle it.
9339 (top level): Adjust calls compile_jit_test.
9340
93412016-03-31 Catalin Udma <catalin.udma@freescale.com>
9342
9343 PR python/19743
9344 * gdb.python/py-mi-events-gdb.py: New file.
9345 * gdb.python/py-mi-events.c: New file.
9346 * gdb.python/py-mi-events.exp: New file.
9347
93482016-03-30 Yao Qi <yao.qi@linaro.org>
9349
9350 * gdb.reverse/until-precsave.exp: Match function name only.
9351 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9352 Move malloc to a condition block.
9353 * gdb.reverse/until-reverse.exp: Match function name only.
9354
93552016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9356
9357 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9358 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9359 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9360 variable for GPR 0 instead of assuming it is register 0.
9361 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9362 * lib/trace-support.exp: Add s390 registers.
9363
93642016-03-29 Yao Qi <yao.qi@linaro.org>
9365
9366 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9367
93682016-03-24 Yao Qi <yao.qi@linaro.org>
9369
9370 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9371 test message.
9372
93732016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9374
9375 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9376 maintaining separate logic for constructing the output path.
9377
93782016-03-16 Don Breazeal <donb@codesourcery.com>
9379
9380 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9381 Retry fork and waitpid on interrupted system call errors.
9382 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9383 Use with_timeout_factor to increase timeout by factor of 10.
9384
93852016-03-15 Don Breazeal <donb@codesourcery.com>
9386
9387 * gdb.cp/scope-err.cc: New test program.
9388 * gdb.cp/scope-err.exp: New test script.
9389 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9390 lines and "set breakpoint here" comment.
9391 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9392 Fixed some whitespace and format issues.
9393 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9394 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9395
93962016-03-15 Doug Evans <dje@google.com>
9397
9398 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9399 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9400 All callers updated. Add tests for enums, mixed flags register.
9401
94022016-03-15 Doug Evans <dje@google.com>
9403
9404 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9405 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9406
94072016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9408
9409 * gdb.base/default.exp: Add $_as_string to the list of expected
9410 convenience functions.
9411
94122016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9413
9414 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9415
94162016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9417
9418 * gdb.python/py-as-string.exp: New file.
9419 * gdb.python/py-as-string.c: New file.
9420
94212016-03-09 Pedro Alves <palves@redhat.com>
9422
9423 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9424 signal" -> "Thread NN received signal" output change.
9425 * gdb.threads/ia64-sigill.exp: Likewise.
9426 * gdb.threads/linux-dp.exp: Likewise.
9427 * gdb.threads/manythreads.exp: Likewise.
9428 * gdb.threads/pending-step.exp: Likewise.
9429 * gdb.threads/print-threads.exp: Likewise.
9430 * gdb.threads/sigstep-threads.exp: Likewise.
9431 * gdb.threads/staticthreads.exp: Likewise.
9432 * gdb.threads/tls.exp: Likewise.
9433
94342016-03-09 Pedro Alves <palves@redhat.com>
9435
9436 * gdb.base/command-line-input.exp: New file.
9437
94382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9439
9440 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9441 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9442 * gdb.trace/pending.exp: Accept leading dot before function name.
9443 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9444 * lib/trace-support.exp: Set registers for ppc.
9445
94462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9447
9448 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9449 use it for disassembly; accept .main in addition to main in backtrace.
9450
94512016-03-09 Wei-cheng Wang <cole945@gmail.com>
9452 Marcin Kościelnicki <koriakin@0x04.net>
9453
9454 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9455 (gdb_recursion_test_ptr): New global variable.
9456 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9457 gdb_recursion_test.
9458 (gdb_c_test): Ditto.
9459
94602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9461
9462 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9463 ordering.
9464
94652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9466
9467 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9468 (bar): Add bar_start_lbl label.
9469 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9470 of foo/bar for emitting DWARF and tracing.
9471
94722016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9473
9474 * analyze-racy-logs.py: Set executable bit.
9475
94762016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9477
9478 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9479 (CHECK_TARGET_TMP): Likewise.
9480 (check-single-racy): New rule.
9481 (check-parallel-racy): Likewise.
9482 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9483 (do-check-parallel-racy): New rule.
9484 (check-racy/%.exp): Likewise.
9485 * README (Racy testcases): New section.
9486 * analyze-racy-logs.py: New file.
9487
94882016-03-03 Doug Evans <dje@google.com>
9489
9490 * gdb.base/skip.exp: Use with_test_prefix.
9491
94922016-03-03 Yao Qi <yao.qi@linaro.org>
9493
9494 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9495 Invoke step_over_syscall "clone" and break_cond_on_syscall
9496 "clone".
9497 * gdb.base/step-over-clone.c: New file.
9498
94992016-03-03 Yao Qi <yao.qi@linaro.org>
9500
9501 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9502 code format.
9503
95042016-03-03 Yao Qi <yao.qi@linaro.org>
9505
9506 * gdb.base/disp-step-fork.c: Rename to ...
9507 * gdb.base/step-over-fork.c: ... it. New file.
9508 * gdb.base/disp-step-vfork.c: Rename to ...
9509 * gdb.base/step-over-vfork.c: ... it. New file.
9510 * gdb.base/disp-step-syscall.exp: Rename to ...
9511 * gdb.base/step-over-syscall.exp: ... it. New file.
9512 (disp_step_cross_syscall): Rename to ...
9513 (step_over_syscall): ... it.
9514
95152016-03-03 Yao Qi <yao.qi@linaro.org>
9516
9517 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9518 If target supports condition evaluation on target, invoke
9519 break_cond_on_syscall for fork and vfork.
9520
95212016-03-03 Yao Qi <yao.qi@linaro.org>
9522
9523 * gdb.base/disp-step-syscall.exp: Don't invoke
9524 support_displaced_stepping.
9525 (disp_step_cross_syscall): Test with displaced stepping off and
9526 on if supported.
9527
95282016-03-03 Yao Qi <yao.qi@linaro.org>
9529
9530 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9531 proc.
9532 (setup): New proc.
9533 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9534 and setup.
9535
95362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9537
9538 * gdb.fortran/vla-history.exp: Remove breakpoint.
9539
95402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9541
9542 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9543 exceeds timeout.
9544
95452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9546
9547 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9548 breakpoint.
9549
95502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9551
9552 * gdb.mi/vla.f90: Nullify pointer after declaration.
9553
95542016-03-01 Pedro Alves <palves@redhat.com>
9555
9556 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9557
95582016-03-01 Pedro Alves <palves@redhat.com>
9559
9560 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9561 before anything else.
9562 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9563 _GNU_SOURCE here.
9564 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9565 before anything else.
9566 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9567
95682016-03-01 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9571
95722016-03-01 Yao Qi <yao.qi@linaro.org>
9573
9574 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9575 prepare_for_testing.
9576
95772016-03-01 Yao Qi <yao.qi@linaro.org>
9578
9579 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9580
95812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9582
9583 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9584 manually constructing the output path.
9585
95862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9587
9588 * gdb.arch/s390-stackless.S: New.
9589 * gdb.arch/s390-stackless.exp: New.
9590
95912016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9592
9593 * gdb.dlang/circular.c: New file.
9594 * gdb.dlang/circular.exp: New file.
9595
95962016-02-26 Yao Qi <yao.qi@linaro.org>
9597
9598 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9599 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9600 (testcases): Update.
9601
96022016-02-26 Yao Qi <yao.qi@linaro.org>
9603
9604 * gdb.reverse/aarch64.c: Rename to ...
9605 * gdb.reverse/insn-reverse.c: ... it.
9606 * gdb.reverse/aarch64.exp: Rename to ...
9607 * gdb.reverse/insn-reverse.exp: ... it.
9608
96092016-02-26 Yao Qi <yao.qi@linaro.org>
9610
9611 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9612 (testcase_ftype): New.
9613 (testcases): New array.
9614 (n_testcases): New.
9615 (main): Call each element in testcases.
9616 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9617 (read_testcase): New.
9618 Do the tests in a loop.
9619
96202016-02-25 Yao Qi <yao.qi@linaro.org>
9621
9622 * gdb.base/branches.c: Remove.
9623
96242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9625
9626 PR gdb/13808
9627 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9628
96292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9630
9631 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9632
96332016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9634
9635 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9636 change x86_64 call_insn to 'callq'.
9637
96382016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9639
9640 * gdb.trace/tfile-avx.c: Move to...
9641 * gdb.trace/tracefile-pseudo-reg.c: Here.
9642 * gdb.trace/tfile-avx.exp: Move to...
9643 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9644
96452016-02-24 Gary Benson <gbenson@redhat.com>
9646
9647 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9648 message on attach.
9649
96502016-02-23 Doug Evans <dje@google.com>
9651
9652 * gdb.base/skip.c (test_skip): New function.
9653 (end_test_skip_file_and_function): New function.
9654 (test_skip_file_and_function): New function.
9655 * gdb.base/skip1.c (test_skip): New function.
9656 (skip1_test_skip_file_and_function): New function.
9657 * gdb.base/skip.exp: Add tests for new skip options.
9658 * gdb.base/skip-solib.exp: Update expected output.
9659 * gdb.perf/skip-command.cc: New file.
9660 * gdb.perf/skip-command.exp: New file.
9661 * gdb.perf/skip-command.py: New file.
9662
96632016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9664
9665 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9666 info registers pattern.
9667
96682016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9669
9670 * lib/future.exp: Add D support.
9671 (gdb_find_gdc): New proc.
9672 (gdb_default_target_compile): Add D support.
9673
96742016-02-18 Wei-cheng Wang <cole945@gmail.com>
9675
9676 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9677 user+system time.
9678 (trace_speed_test): Determine the iteration count for a time
9679 between 15..30 seconds.
9680
96812016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9682
9683 * gdb.arch/i386-mpx-sigsegv.c: New file.
9684 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9685 * gdb.arch/i386-mpx-simple_segv.c: New file.
9686 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9687
96882016-02-18 Yao Qi <yao.qi@linaro.org>
9689
9690 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9691 Don't call setup_kfail.
9692
96932016-02-18 Yao Qi <yao.qi@linaro.org>
9694
9695 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9696 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9697
96982016-02-16 Doug Evans <dje@google.com>
9699
9700 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9701 * gdb.base/skip1.c: Ditto.
9702 * gdb.base/skip.exp: Whitespace cleanup.
9703
97042016-02-16 Don Breazeal <donb@codesourcery.com>
9705
9706 PR remote/19496
9707 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9708 Remove kfail for PR remote/19496.
9709
97102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9711
9712 * lib/gdb.exp (standard_temp_file): Return a path specific to
9713 the runtest invocation.
9714
97152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9716
9717 * gdb.trace/save-trace.exp: Change relative path to be in the
9718 standard output directory.
9719
97202016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9721
9722 * gdb.arch/i386-prologue.c: Add missing prototypes.
9723
97242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9725
9726 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9727 * gdb.arch/i386-prologue.exp: Likewise.
9728 * gdb.arch/i386-size.exp: Likewise.
9729
97302016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9731
9732 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9733 define object file path.
9734 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9735 file path.
9736 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9737 standard_output_file to define binfile.
9738
97392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 Fix compatibility with recent gfortran-5.3.1.
9742 * gdb.fortran/vla-history.exp (print vla1 allocated)
9743 (print vla2 allocated, print $2, print $3): Remove
9744 (print $4): Rename to ...
9745 (print $2): ... here.
9746 (print $9): Rename to ...
9747 (print $5): ... here.
9748 (print $10): Rename to ...
9749 (print $6): ... here.
9750 * gdb.fortran/vla.f90: Add pvla initialization.
9751
97522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9753
9754 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9755 New test.
9756 * gdb.fortran/vla-value-sub.exp: Likewise.
9757
97582016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9759
9760 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9761
97622016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9763
9764 * i386-biarch-core.exp: Define corefile using
9765 standard_output_file.
9766
97672016-02-12 Yao Qi <yao.qi@linaro.org>
9768
9769 * gdb.arch/arm-single-step-kernel-helper.c: New.
9770 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9771
97722016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9773
9774 * gdb.btrace/tailcall-only.exp: New.
9775 * gdb.btrace/tailcall-only.c: New.
9776 * gdb.btrace/x86_64-tailcall-only.S: New.
9777 * gdb.btrace/i686-tailcall-only.S: New.
9778
97792016-02-11 Pedro Alves <palves@redhat.com>
9780
9781 * README (Parallel testing): Add missing double quotes.
9782
97832016-02-11 Pedro Alves <palves@redhat.com>
9784
9785 * README (Parallel testing): New section.
9786 (GDB_PARALLEL): Rewrite.
9787 (FORCE_PARALLEL): Document.
9788
97892016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9790
9791 * gdb.trace/tfile-avx.c: New test.
9792 * gdb.trace/tfile-avx.exp: New test.
9793
97942016-02-09 Keith Seitz <keiths@redhat.com>
9795
9796 PR breakpoints/19546
9797 * gdb.base/infcall-exec.c: New file.
9798 * gdb.base/infcall-exec2.c: New file.
9799 * gdb.base/infcall-exec.exp: New file.
9800
98012016-02-09 Keith Seitz <keiths@redhat.com>
9802
9803 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9804 (toplevel): Call test_bkpt_address.
9805
98062016-02-09 Keith Seitz <keiths@redhat.com>
9807
9808 PR python/19506
9809 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9810 (toplevel): Call test_bkpt_address.
9811
98122016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9813
9814 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9815 to AC_OUTPUT.
9816 * configure: Regenerate.
9817
98182016-02-09 Pedro Alves <palves@redhat.com>
9819
9820 PR breakpoints/19548
9821 * gdb.base/execl-update-breakpoints.c (some_function): New
9822 function.
9823 (main): Call it.
9824 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9825 Tighten expected GDB output.
9826
98272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9828
9829 * Makefile.in (ALL_SUBDIRS): Remove.
9830 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9831 (distclean maintainer-clean realclean): Likewise.
9832 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9833 * configure: Regenerate.
9834 * gdb.ada/Makefile.in: Delete.
9835 * gdb.arch/Makefile.in: Likewise.
9836 * gdb.asm/Makefile.in: Likewise.
9837 * gdb.base/Makefile.in: Likewise.
9838 * gdb.btrace/Makefile.in: Likewise.
9839 * gdb.cell/Makefile.in: Likewise.
9840 * gdb.compile/Makefile.in: Likewise.
9841 * gdb.cp/Makefile.in: Likewise.
9842 * gdb.disasm/Makefile.in: Likewise.
9843 * gdb.dlang/Makefile.in: Likewise.
9844 * gdb.dwarf2/Makefile.in: Likewise.
9845 * gdb.fortran/Makefile.in: Likewise.
9846 * gdb.gdb/Makefile.in: Likewise.
9847 * gdb.go/Makefile.in: Likewise.
9848 * gdb.guile/Makefile.in: Likewise.
9849 * gdb.java/Makefile.in: Likewise.
9850 * gdb.linespec/Makefile.in: Likewise.
9851 * gdb.mi/Makefile.in: Likewise.
9852 * gdb.modula2/Makefile.in: Likewise.
9853 * gdb.multi/Makefile.in: Likewise.
9854 * gdb.objc/Makefile.in: Likewise.
9855 * gdb.opencl/Makefile.in: Likewise.
9856 * gdb.opt/Makefile.in: Likewise.
9857 * gdb.pascal/Makefile.in: Likewise.
9858 * gdb.perf/Makefile.in: Likewise.
9859 * gdb.python/Makefile.in: Likewise.
9860 * gdb.reverse/Makefile.in: Likewise.
9861 * gdb.server/Makefile.in: Likewise.
9862 * gdb.stabs/Makefile.in: Likewise.
9863 * gdb.threads/Makefile.in: Likewise.
9864 * gdb.trace/Makefile.in: Likewise.
9865 * gdb.xml/Makefile.in: Likewise.
9866 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9867 GDB_PARALLEL.
9868 (standard_output_file): Remove check for GDB_PARALLEL, always
9869 return path in outputs/$subdir/$testname.
9870
98712016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9872
9873 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9874 (site.exp): Assign abs_srcdir to tcl's srcdir.
9875
98762016-02-04 Yao Qi <yao.qi@linaro.org>
9877
9878 * gdb.base/foll-exec-mode.c: Include limits.h.
9879 (main): Add parameters argc and argv. Get directory from
9880 argv[0].
9881 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9882 compilation.
9883 * gdb.base/foll-exec.c: Include limits.h.
9884 (main): Add parameters argc and argv.
9885 Get directory from argv[0].
9886 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9887 Adjust tests on the number of lines as source code changed.
9888 * gdb.base/foll-vfork-exit.c: Include limits.h.
9889 (main): Add one line of statement before vfork.
9890 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9891 (main): Add parameters argc and argv. Get directory from
9892 argv[0].
9893 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9894 (setup_gdb): Set tbreak to skip some source lines.
9895 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9896 (main): Add parameters argc and argv. Get directory from
9897 argv[0].
9898 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9899 compilation.
9900 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9901 (main): Add parameters argc and argv. Get directory from
9902 argv[0].
9903 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9904 compilation.
9905
99062016-02-01 Doug Evans <dje@google.com>
9907
9908 * gdb.base/skip.exp: Clean up multiple references to same test name.
9909
99102016-02-01 Pedro Alves <palves@redhat.com>
9911
9912 PR remote/19496
9913 * gdb.threads/forking-threads-plus-breakpoint.exp
9914 (displaced_stepping_supported): New global.
9915 (probe_displaced_stepping_support): New procedure.
9916 (do_test): Add 'displaced' parameter, and use it.
9917 (top level): Check for displaced stepping support. Add displaced
9918 stepping on/off testing axis.
9919
99202016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9921
9922 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9923 pointer. Don't perform further tests on the unassociated pointer
9924 if the first test fails.
9925
99262016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9927
9928 * gdb.base/max-value-size.c: New file.
9929 * gdb.base/max-value-size.exp: New file.
9930 * gdb.base/huge.exp: Disable max-value-size for this test.
9931
99322016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9933
9934 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9935
99362016-01-28 Yao Qi <yao.qi@linaro.org>
9937
9938 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9939
99402016-01-25 Pedro Alves <palves@redhat.com>
9941
9942 PR threads/19461
9943 * gdb.base/fork-running-state.c: New file.
9944 * gdb.base/fork-running-state.exp: New file.
9945
99462016-01-25 Pedro Alves <palves@redhat.com>
9947
9948 PR gdb/19494
9949 * gdb.base/catch-fork-kill.c: New file.
9950 * gdb.base/catch-fork-kill.exp: New file.
9951
99522016-01-25 Pedro Alves <palves@redhat.com>
9953
9954 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9955 Delete, moved to lib/gdb.exp.
9956 * gdb.threads/forking-threads-plus-breakpoint.exp
9957 (foreach_with_prefix): Likewise.
9958 * gdb.threads/process-dies-while-handling-bp.exp
9959 (foreach_with_prefix): Likewise.
9960 * lib/gdb.exp (foreach_with_prefix): New procedure.
9961
99622016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9963
9964 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9965 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9966
99672016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9968
9969 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9970 endian targets.
9971
99722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9973 Pedro Alves <palves@redhat.com>
9974
9975 Fix testsuite compatibility with Guile.
9976 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9977 number.
9978
99792016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9980
9981 Fix testsuite compatibility with Guile.
9982 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9983 (thread 1): New test for backtrace through signal handler.
9984
99852016-01-22 Yao Qi <yao.qi@linaro.org>
9986
9987 PR testsuite/19491
9988 * gdb.base/multi-forks.c: Include
9989 ../lib/unbuffer_output.c
9990 (main): Call gdb_unbuffer_output.
9991
99922016-01-21 Doug Evans <dje@google.com>
9993
9994 * lib/ada.exp (gdb_compile_ada): Fix typo.
9995
99962016-01-21 Joel Brobecker <brobecker@adacore.com>
9997
9998 * gdb.base/break-fun-addr.exp: New file.
9999 * gdb.base/break-fun-addr1.c: New file.
10000 * gdb.base/break-fun-addr2.c: New file.
10001
100022016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10003
10004 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10005 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10006 enum flag values.
10007
100082016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10009
10010 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10011 when GDB can not set the vector return value. Add more comments
10012 for clarification.
10013
100142016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10015
10016 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10017 command.
10018
100192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10020
10021 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10022
100232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10024
10025 * Makefile.in (check-single): Pass --status to runtest.
10026 (check/%.exp): Likewise.
10027
100282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10029
10030 * Makefile.in (check-parallel): Propagate return code from make
10031 do-check-parallel.
10032
100332016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10034
10035 * gdb.trace/ftrace.exp: Fix expected message on continue.
10036 * gdb.trace/pending.exp: Fix expected message on continue.
10037 * gdb.trace/trace-break.exp: Fix expected message on continue.
10038
100392016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10040
10041 * lib/gdb.exp (gdb_test): Remove unused global references.
10042
100432016-01-18 Pedro Alves <palves@redhat.com>
10044
10045 * gdb.base/async-shell.exp: Adjust expected output.
10046 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10047 * gdb.base/siginfo-thread.exp: Adjust expected output.
10048 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10049 * gdb.java/jnpe.exp: Adjust expected output.
10050 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10051 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10052 * gdb.threads/leader-exit.exp: Adjust expected output.
10053 * gdb.threads/manythreads.exp: Adjust expected output.
10054 * gdb.threads/pthreads.exp: Adjust expected output.
10055 * gdb.threads/schedlock.exp: Adjust expected output.
10056 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10057 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10058 expected output.
10059 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10060 output.
10061 * gdb.threads/sigthread.exp: Adjust expected output.
10062 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10063
100642016-01-18 Yao Qi <yao.qi@linaro.org>
10065
10066 * gdb.guile/scm-section-script.c: Replace @progbits with
10067 %progbits.
10068 * gdb.python/py-section-script.c: Likewise.
10069
100702016-01-15 Pedro Alves <palves@redhat.com>
10071
10072 * gdb.multi/tids.exp: Test star wildcard ranges.
10073
100742016-01-15 Pedro Alves <palves@redhat.com>
10075
10076 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10077 command from "thread apply" invocation.
10078 (thr_apply_info_thr_invalid): Default the expected output to the
10079 input tid list.
10080 (top level): Add tests that use convenience variables. Add tests
10081 for "thread apply" with a valid TID list, but missing the command.
10082
100832016-01-13 Pedro Alves <palves@redhat.com>
10084
10085 * gdb.base/default.exp: Expect $_gthread as well.
10086 * gdb.multi/tids.exp: Test $_gthread.
10087 * gdb.threads/thread-specific.exp: Test $_gthread.
10088
100892016-01-13 Pedro Alves <palves@redhat.com>
10090
10091 * gdb.multi/tids.exp: Test "info threads -gid".
10092
100932016-01-13 Pedro Alves <palves@redhat.com>
10094
10095 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10096 Breakpoint.thread.
10097 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10098
100992016-01-07 Pedro Alves <palves@redhat.com>
10100
10101 * gdb.base/break.exp: Adjust to output changes.
10102 * gdb.base/hbreak2.exp: Likewise.
10103 * gdb.base/sepdebug.exp: Likewise.
10104 * gdb.base/watch_thread_num.exp: Likewise.
10105 * gdb.linespec/keywords.exp: Likewise.
10106 * gdb.multi/info-threads.exp: Likewise.
10107 * gdb.threads/thread-find.exp: Likewise.
10108 * gdb.multi/tids.c: New file.
10109 * gdb.multi/tids.exp: New file.
10110
101112016-01-13 Pedro Alves <palves@redhat.com>
10112
10113 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10114
101152016-01-13 Pedro Alves <palves@redhat.com>
10116
10117 * gdb.base/default.exp: Expect $_inferior as well.
10118 * gdb.multi/base.exp: Test $_inferior.
10119
101202016-01-13 Pedro Alves <palves@redhat.com>
10121
10122 PR breakpoints/19388
10123 * gdb.base/catch-signal-siginfo-cond.c: New file.
10124 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10125
101262016-01-12 Josh Stone <jistone@redhat.com>
10127 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10128
10129 * gdb.base/catch-syscall.c (do_execve): New variable.
10130 (main): Conditionally trigger an execve.
10131 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10132 (test_catch_syscall_execve): New, check entry/return across execve.
10133 (do_syscall_tests): Call test_catch_syscall_execve.
10134
101352016-01-12 Pedro Alves <palves@redhat.com>
10136
10137 * gdb.base/random-signal.exp (do_test): New procedure, with body
10138 of testcase moved in.
10139
101402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10141 Pedro Alves <palves@redhat.com>
10142
10143 * gdb.base/funcargs.exp (finish from indirectly called function):
10144 Reintroduce the case for 'First'.
10145
101462016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10147 Pedro Alves <palves@redhat.com>
10148
10149 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10150 (tcatch_vfork_then_child_follow_exec)
10151 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10152 identification.
10153
101542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10155
10156 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10157 and repeats to unlimited.
10158 * gdb.python/py-value.exp: Likewise.
10159 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10160 and repeats to unlimited.
10161
101622016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10163
10164 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10165 and reordering the functions.
10166 * gdb.multi/hangout.c: Likewise.
10167 * gdb.multi/hello.c: Likewise.
10168
101692016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10170
10171 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10172 absolute.
10173 (SingleStatisticTestResult.report): Use dict.keys instead of
10174 dict.iterkeys.
10175
101762016-01-06 Pedro Alves <palves@redhat.com>
10177
10178 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10179
101802016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10181
10182 * gdb.btrace/dlopen.exp: New.
10183 * gdb.btrace/dlopen.c: New.
10184 * gdb.btrace/dlopen-dso.c: New.
10185
101862015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10187
10188 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10189 PATTERN argument is optional.
10190
101912015-12-24 Joel Brobecker <brobecker@adacore.com>
10192
10193 * lib/ada.exp (target_compile_ada_from_dir): New function.
10194 (gdb_compile_ada): Reimplement avoiding the use of project files.
10195 * gdb.ada/gnat_ada.gpr: Delete.
10196 * gdb.ada/cond_lang.exp: Adjust test to make path before
10197 filename optional.
10198 * gdb.ada/small_reg_param.exp: Likewise.
10199
102002015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10201
10202 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10203
102042015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10205
10206 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10207 case.
10208
102092015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10210
10211 * gdb.base/break.exp: Remove dead code.
10212 * gdb.base/sepdebug.exp: Likewise.
10213
102142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10215
10216 * gdb.asm/asm-source.exp: Remove HP-UX references.
10217 * gdb.base/annota1.exp: Likewise.
10218 * gdb.base/annota3.exp: Likewise.
10219 * gdb.base/attach.exp: Likewise.
10220 * gdb.base/bigcore.exp: Likewise.
10221 * gdb.base/break.exp: Likewise.
10222 * gdb.base/call-ar-st.exp: Likewise.
10223 * gdb.base/callfuncs.exp: Likewise.
10224 * gdb.base/catch-fork-static.exp: Likewise.
10225 * gdb.base/display.exp: Likewise.
10226 * gdb.base/foll-exec-mode.exp: Likewise.
10227 * gdb.base/foll-exec.exp: Likewise.
10228 * gdb.base/foll-fork.exp: Likewise.
10229 * gdb.base/foll-vfork.exp: Likewise.
10230 * gdb.base/funcargs.exp: Likewise.
10231 * gdb.base/hbreak2.exp: Likewise.
10232 * gdb.base/inferior-died.exp: Likewise.
10233 * gdb.base/interrupt.exp: Likewise.
10234 * gdb.base/multi-forks.exp: Likewise.
10235 * gdb.base/nodebug.exp: Likewise.
10236 * gdb.base/sepdebug.exp: Likewise.
10237 * gdb.base/solib1.c: Likewise.
10238 * gdb.base/step-test.exp: Likewise.
10239 * gdb.mi/non-stop.c: Likewise.
10240 * gdb.mi/pthreads.c: Likewise.
10241 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10242 * gdb.threads/pthreads.c: Likewise.
10243 * gdb.threads/staticthreads.exp: Likewise.
10244 * lib/future.exp: Likewise.
10245 * lib/gdb.exp: Likewise.
10246 * gdb.base/so-indr-cl.c: Remove.
10247 * gdb.base/so-indr-cl.exp: Likewise.
10248 * gdb.base/solib.c: Likewise.
10249 * gdb.base/solib.exp: Likewise.
10250 * gdb.base/solib2.c: Likewise.
10251
102522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10253
10254 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10255 * gdb.base/call-ar-st.exp: Likewise.
10256 * gdb.base/callfuncs.exp: Likewise.
10257 * gdb.base/condbreak.exp: Likewise.
10258 * gdb.base/constvars.exp: Likewise.
10259 * gdb.base/hbreak2.exp: Likewise.
10260 * gdb.base/langs.exp: Likewise.
10261 * gdb.base/list.exp: Likewise.
10262 * gdb.base/long_long.exp: Likewise.
10263 * gdb.base/ptype.exp: Likewise.
10264 * gdb.base/scope.exp: Likewise.
10265 * gdb.base/signals.exp: Likewise.
10266 * gdb.base/so-impl-ld.exp: Likewise.
10267 * gdb.base/varargs.exp: Likewise.
10268 * gdb.base/volatile.exp: Likewise.
10269 * gdb.base/whatis.exp: Likewise.
10270 * gdb.cp/cplusfuncs.exp: Likewise.
10271 * gdb.cp/inherit.exp: Likewise.
10272 * gdb.cp/local.exp: Likewise.
10273 * gdb.cp/member-ptr.exp: Likewise.
10274 * gdb.cp/method.exp: Likewise.
10275 * gdb.cp/overload.exp: Likewise.
10276 * gdb.cp/templates.exp: Likewise.
10277 * gdb.stabs/weird.exp: Likewise.
10278 * lib/compiler.c: Likewise.
10279 * lib/compiler.cc: Likewise.
10280 * lib/cp-support.exp: Likewise.
10281 * lib/gdb.exp: Likewise.
10282
102832015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10284
10285 * configure.ac: Remove HP-UX case.
10286 * configure: Regenerate.
10287
102882015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10289
10290 * lib/gdb.exp (gdb_compile): Add function doc.
10291
102922015-12-17 Pedro Alves <palves@redhat.com>
10293
10294 PR threads/19354
10295 * gdb.multi/info-threads.exp: New file.
10296
102972015-12-15 Yao Qi <yao.qi@linaro.org>
10298
10299 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10300 is aarch64*-*-*.
10301
103022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10303
10304 * gdb.base/history-duplicates.exp: Skip if no readline support.
10305
103062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10307
10308 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10309
103102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10311
10312 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10313
103142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10315
10316 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10317 ctrl-C if nointerrupts target property is set.
10318 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10319 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10320 * gdb.base/paginate-bg-execution.exp: Likewise.
10321 * gdb.base/paginate-execution-startup.exp: Likewise.
10322 * gdb.base/random-signal.exp: Likewise.
10323 * gdb.base/range-stepping.exp: Likewise.
10324 * gdb.cp/annota2.exp: Likewise.
10325 * gdb.cp/annota3.exp: Likewise.
10326 * gdb.gdb/selftest.exp: Likewise.
10327 * gdb.threads/continue-pending-status.exp: Likewise.
10328 * gdb.threads/leader-exit.exp: Likewise.
10329 * gdb.threads/manythreads.exp: Likewise.
10330 * gdb.threads/pthreads.exp: Likewise.
10331 * gdb.threads/schedlock.exp: Likewise.
10332 * gdb.threads/sigthread.exp: Likewise.
10333
103342015-12-11 Don Breazeal <donb@codesourcery.com>
10335
10336 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10337 remote.
10338 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10339 * gdb.base/foll-exec.exp (main): Enable for target remote.
10340 * gdb.base/foll-fork.exp (main): Likewise.
10341 * gdb.base/foll-vfork.exp (main): Likewise.
10342 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10343 (proc continue_to_exit_bp_loc): Use clean_restart.
10344 * gdb.base/pie-execl.exp (main): Disable for target remote.
10345 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10346 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10347 * gdb.threads/execl.exp (main): Likewise.
10348 * gdb.threads/fork-child-threads.exp (main): Likewise.
10349 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10350 remote.
10351 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10352 remote.
10353 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10354 pid.tid style ptids, instead of just tid.
10355 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10356 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10357 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10358 ptids, instead of just tid.
10359
103602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10361
10362 * gdb.base/list.exp (test_list_forward): Add end of file error
10363 test.
10364 (test_repeat_list_command): Add end of file error test.
10365 (test_list_backwards): Add beginning of file error test.
10366
103672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10368
10369 * gdb.base/list.exp (test_list_invalid_args): New function,
10370 defined, and called.
10371
103722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10373
10374 * gdb.base/list.exp (test_list): Make test names unique.
10375
103762015-12-11 Yao Qi <yao.qi@linaro.org>
10377
10378 * gdb.base/coremaker2.c: Remove.
10379
103802015-12-10 Pedro Alves <palves@redhat.com>
10381
10382 * gdb.multi/base.exp: Remove stale "spaces" references.
10383
103842015-12-10 Pedro Alves <palves@redhat.com>
10385
10386 * gdb.multi/base.exp: Don't use nowarnings.
10387 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10388 * gdb.multi/hangout.c: Include stdio.h.
10389 * gdb.multi/hello.c: Include stdlib.h.
10390 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10391 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10392 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10393
103942015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10395
10396 * gdb.dwarf2/dw2-ranges-base.c: New file.
10397 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10398 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10399 support additional line table, and debug ranges generation.
10400 (Dwarf::ranges): New function, generate .debug_ranges.
10401 (Dwarf::lines): Support generating simple line table programs.
10402 (Dwarf::assemble): Initialise new namespace variables.
10403
104042015-12-09 Kevin Buettner <kevinb@redhat.com>
10405
10406 * gdb.base/async.exp (proc test_background): Add case for
10407 asynchronous execution not supported.
10408
104092015-12-09 Luis Machado <lgustavo@codesourcery.com>
10410
10411 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10412 format and change test names to make them unique.
10413
104142015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10415 Pedro Alves <pedro@redhat.com>
10416
10417 PR gdb/18702
10418 Add checking of floatformats setup on x86_64 hosts.
10419 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10420 (smallval, bigval): New labels/constants.
10421 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10422 float" after loading bigval and smallval.
10423
104242015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10425
10426 * gdb.ada/fun_overload_menu.exp: New testcase.
10427 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10428
104292015-12-04 Josh Stone <jistone@redhat.com>
10430
10431 * gdb.base/catch-fork-static.exp: New.
10432
104332015-12-03 Yao Qi <yao.qi@linaro.org>
10434
10435 * gdb.base/sizeof.c: Don't include stdio.h and
10436 ../lib/unbuffer_output.c.
10437 (main): New variable 'size' and 'value'. Remove printf and
10438 gdb_unbuffer_output. Assign return value to size and value.
10439 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10440 at the beginning.
10441 (check_sizeof): Check the result by printing variable 'size'.
10442 (check_valueof): Check the result by printing variable 'value'.
10443
104442015-12-01 Yao Qi <yao.qi@linaro.org>
10445
10446 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10447 for aarch64*-*-linux* target.
10448
104492015-11-30 Pedro Alves <palves@redhat.com>
10450
10451 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10452
104532015-11-30 Pedro Alves <palves@redhat.com>
10454
10455 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10456 Handle non-stop mode vCont replies.
10457
104582015-11-30 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10461 prepare_for_testing. Start gdb with "set non-stop on" appended to
10462 GDBFLAGS. Lax expected stop output.
10463
104642015-11-27 Yao Qi <yao.qi@linaro.org>
10465
10466 * gdb.arch/arm-neon.exp: New.
10467 * gdb.arch/arm-neon.c: New.
10468
104692015-11-27 Yao Qi <yao.qi@linaro.org>
10470
10471 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10472
104732015-11-27 Yao Qi <yao.qi@linaro.org>
10474
10475 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10476 frames-invalid annotation.
10477
104782015-11-27 Yao Qi <yao.qi@linaro.org>
10479
10480 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10481
104822015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10483
10484 * gdb.threads/names.exp: New file.
10485 * gdb.threads/names.c: New file.
10486 * README: Mention gdb,no_thread_names.
10487
104882015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10489
10490 PR 19297
10491 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10492 support" error.
10493
104942015-11-24 Pedro Alves <palves@redhat.com>
10495
10496 PR 17539
10497 * gdb.base/display.exp: Expect displays to be sorted in ascending
10498 order. Use multi_line.
10499 * gdb.base/solib-display.exp: Likewise.
10500
105012015-11-24 Pedro Alves <palves@redhat.com>
10502
10503 PR 17539
10504 * gdb.base/display.exp: Expect displays to be sorted in ascending
10505 order. Use multi_line.
10506 * gdb.base/solib-display.exp: Likewise.
10507
105082015-11-24 Pedro Alves <palves@redhat.com>
10509
10510 PR 17539
10511 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10512 threads in ascending order.
10513 * gdb.base/foll-fork.exp: Likewise.
10514 * gdb.base/foll-vfork.exp: Likewise.
10515 * gdb.base/multi-forks.exp: Likewise.
10516 * gdb.mi/mi-nonstop.exp: Likewise.
10517 * gdb.mi/mi-nsintrall.exp: Likewise.
10518 * gdb.multi/base.exp: Likewise.
10519 * gdb.multi/multi-arch.exp: Likewise.
10520 * gdb.python/py-inferior.exp: Likewise.
10521 * gdb.threads/break-while-running.exp: Likewise.
10522 * gdb.threads/execl.exp: Likewise.
10523 * gdb.threads/gcore-thread.exp: Likewise.
10524 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10525 * gdb.threads/kill.exp: Likewise.
10526 * gdb.threads/linux-dp.exp: Likewise.
10527 * gdb.threads/multiple-step-overs.exp: Likewise.
10528 * gdb.threads/next-bp-other-thread.exp: Likewise.
10529 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10530 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10531 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10532 * gdb.threads/thread-find.exp: Likewise.
10533 * gdb.threads/tls.exp: Likewise.
10534 * lib/mi-support.exp (mi_reverse_list): Delete.
10535 (mi_check_thread_states): No longer reverse list.
10536
105372015-11-24 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10540 use lowercase.
10541
105422015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10543
10544 * gdb.trace/actions.c: Include trace-common.h.
10545 (main): Add a location for a fast tracepoint.
10546 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10547 the normal tracepoints.
10548 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10549
105502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10551
10552 * save-trace.exp: Factor out code to these...
10553 (gdb_save_tracepoints): New.
10554 (gdb_load_tracepoints): New.
10555 (do_save_load_test): New.
10556
105572015-11-23 Kevin Buettner <kevinb@redhat.com>
10558
10559 * gdb.base/asmlabel.exp: New test.
10560 * gdb.base/asmlabel.c: New test case.
10561
105622015-11-23 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.base/wrong_frame_bt_full-main.c: New file.
10565 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10566 * gdb.base/wrong_frame_bt_full.exp: New file.
10567
105682015-11-23 Joel Brobecker <brobecker@adacore.com>
10569
10570 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10571
105722015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10573
10574 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10575 pstate register when comparing registers values in
10576 sparc64-*-linux-gnu targets to avoid spurious differences.
10577
105782015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10579
10580 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10581
105822015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10583
10584 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10585 as type argument to gdb_compile.
10586 * gdb.base/nested-subp2.exp: Likewise.
10587 * gdb.base/nested-subp3.exp: Likewise.
10588
105892015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10590
10591 * lib/dwarf.exp (_note): Fix left shift of negative value.
10592 * gdb.trace/trace-condition.exp: Likewise.
10593
105942015-11-13 Yao Qi <yao.qi@linaro.org>
10595
10596 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10597 comments about d10v.
10598 (test_scalar_returns): Likewise.
10599 * gdb.base/d10v.ld: Remove.
10600 * gdb.base/overlays.exp: Remove the target triplet checking for
10601 d10v-*-*.
10602 * gdb.base/structs.exp (test_struct_returns): Remove the
10603 comments about d10v.
10604 (test_struct_calls): Likewise.
10605
106062015-11-13 Yao Qi <yao.qi@linaro.org>
10607
10608 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10609 * gdb.base/gnu_vector.c: Don't include stdio.h.
10610 (main): Don't print res and call add_some_intvecs.
10611
106122015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10613
10614 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10615 macro.
10616 (func5): Removed.
10617 (func4): Use FAST_TRACEPOINT_LABEL.
10618 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10619 macro.
10620 (func): Removed.
10621 (thread_function): Use FAST_TRACEPOINT_LABEL.
10622 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10623 (func): Remove.
10624 (marker): Use FAST_TRACEPOINT_LABEL.
10625 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10626 (pendfunc1): Remove.
10627 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10628 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10629 (foo): Remove.
10630 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10631 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10632 macro.
10633 (func): Remove.
10634 (marker): Use FAST_TRACEPOINT_LABEL.
10635 * gdb.trace/trace-common.h: New header.
10636 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10637 macro.
10638 (func): Remove.
10639 (marker): Use FAST_TRACEPOINT_LABEL.
10640 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10641 (func): Remove.
10642 (thread_function): Use FAST_TRACEPOINT_LABEL.
10643
106442015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10645
10646 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10647 in front.
10648 * gdb.trace/change-loc.exp: Use global pcreg definition.
10649 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10650 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10651 in front.
10652 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10653 * gdb.trace/pending.exp: Likewise.
10654 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10655 * gdb.trace/trace-break.exp: Likewise.
10656 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10657 in front.
10658 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10659 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10660 in front.
10661 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10662
106632015-11-09 Joel Brobecker <brobecker@adacore.com>
10664
10665 * gdb.ada/fin_fun_out: New testcase.
10666
106672015-11-07 Kevin Buettner <kevinb@redhat.com>
10668
10669 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10670 value associated with DW_AT_byte_size.
10671 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10672 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10673 DW_AT_upper_bound.
10674
106752015-11-07 Kevin Buettner <kevinb@redhat.com>
10676
10677 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10678 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10679 version.
10680 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10681 gdb.dwarf2/dw2-canonicalize-type.exp,
10682 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10683 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10684 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10685 provided by gdb_target_symbol_prefix_flags_asm.
10686 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10687 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10688 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10689 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10690 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10691 macros where needed). Use this macro for symbols which require
10692 the prefix provided by SYMBOL_PREFIX.
10693
106942015-11-05 Kevin Buettner <kevinb@redhat.com>
10695
10696 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10697 New procs.
10698 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10699 representing expressions, of more than one list element.
10700 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10701 to prepend linker symbol prefix to f.
10702 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10703 table_1 and table_2.
10704 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10705 Likewise, for f and g.
10706 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10707 for ptr.
10708 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10709 for main.
10710 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10711 table_1_ptr and table_2_ptr.
10712
107132015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10714 Joel Brobecker <brobecker@adacore.com>
10715
10716 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10717
107182015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10719
10720 * gdb.reverse/s390-mvcle.c: New test.
10721 * gdb.reverse/s390-mvcle.exp: New file.
10722 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10723
107242015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10725
10726 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10727
107282015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10729
10730 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10731 reaching marker2.
10732 * gdb.reverse/getresuid-reverse.exp: Likewise.
10733 * gdb.reverse/pipe-reverse.exp: Likewise.
10734 * gdb.reverse/readv-reverse.exp: Likewise.
10735 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10736 * gdb.reverse/time-reverse.exp: Likewise.
10737 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10738
107392015-10-30 Yao Qi <yao.qi@linaro.org>
10740
10741 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10742 (empty_cycle): Remove.
10743 (main): Don't call empty_cycle. Don't use watch_count_done.
10744 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10745 empty_cycle. Rewrite the code counting HW watchpoints.
10746
107472015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10748
10749 * gdb.reverse/fstatat-reverse.c: New test.
10750 * gdb.reverse/fstatat-reverse.exp: New file.
10751 * gdb.reverse/getresuid-reverse.c: New test.
10752 * gdb.reverse/getresuid-reverse.exp: New file.
10753 * gdb.reverse/pipe-reverse.c: New test.
10754 * gdb.reverse/pipe-reverse.exp: New file.
10755 * gdb.reverse/readv-reverse.c: New test.
10756 * gdb.reverse/readv-reverse.exp: New file.
10757 * gdb.reverse/recvmsg-reverse.c: New test.
10758 * gdb.reverse/recvmsg-reverse.exp: New file.
10759 * gdb.reverse/time-reverse.c: New test.
10760 * gdb.reverse/time-reverse.exp: New file.
10761 * gdb.reverse/waitpid-reverse.c: New test.
10762 * gdb.reverse/waitpid-reverse.exp: New file.
10763
107642015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10765
10766 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10767
107682015-10-26 Doug Evans <dje@google.com>
10769
10770 PR symtab/17391
10771 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10772 * gdb.dwarf2/bad-regnum.c: New file.
10773 * gdb.dwarf2/bad-regnum.exp: New file.
10774
107752015-10-26 Doug Evans <dje@google.com>
10776
10777 PR python/18938
10778 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10779 file.
10780
107812015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10782
10783 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10784 for a change by "Mention language in compile error message".
10785
107862015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10787
10788 PR python/18073
10789 * gdb.python/py-type.c (C::a_method): New.
10790 (C::a_const_method): New.
10791 (C::a_static_method): New.
10792 (a_function): New.
10793 * gdb.python/py-type.exp (test_fields): Test getting fields
10794 from function and method.
10795
107962015-10-21 Keven Boell <keven.boell@intel.com>
10797
10798 * gdb.fortran/vla-alloc-assoc.exp: New file.
10799 * gdb.fortran/vla-datatypes.exp: New file.
10800 * gdb.fortran/vla-datatypes.f90: New file.
10801 * gdb.fortran/vla-history.exp: New file.
10802 * gdb.fortran/vla-ptype-sub.exp: New file.
10803 * gdb.fortran/vla-ptype.exp: New file.
10804 * gdb.fortran/vla-sizeof.exp: New file.
10805 * gdb.fortran/vla-sub.f90: New file.
10806 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10807 * gdb.fortran/vla-value-sub-finish.exp: New file.
10808 * gdb.fortran/vla-value-sub.exp: New file.
10809 * gdb.fortran/vla-value.exp: New file.
10810 * gdb.fortran/vla-ptr-info.exp: New file.
10811 * gdb.mi/mi-vla-fortran.exp: New file.
10812 * gdb.mi/vla.f90: New file.
10813
108142015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10815
10816 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10817 of hardwired timeout value.
10818
108192015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10820 Pedro Alves <palves@redhat.com>
10821
10822 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10823 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10824
108252015-10-19 Josh Stone <jistone@redhat.com>
10826
10827 * gdb.base/catch-syscall.c: Include <sched.h>.
10828 (unknown_syscall): New variable.
10829 (main): Trigger a vfork and an unknown syscall.
10830 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10831 (unknown_syscall_number): Likewise.
10832 (check_call_to_syscall): Accept an optional syscall pattern.
10833 (check_return_from_syscall): Likewise.
10834 (check_continue): Likewise.
10835 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10836 (test_catch_syscall_skipping_return): New test toggling off 'catch
10837 syscall' to step over the syscall return, then toggling back on.
10838 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10839 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10840 (do_syscall_tests): Call test_catch_syscall_without_args and
10841 test_catch_syscall_mid_vfork.
10842 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10843 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10844
108452015-10-19 Andrew Stubbs <ams@codesourcery.com>
10846
10847 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10848 print g_vE): Add new pass patterns.
10849 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10850 print various symbol names for vptr fields.
10851
108522015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10853
10854 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10855 results.
10856
108572015-10-12 Yao Qi <yao.qi@linaro.org>
10858
10859 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10860
108612015-10-12 Yao Qi <yao.qi@linaro.org>
10862
10863 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10864 is aarch64*-*-linux*.
10865
108662015-10-12 Yao Qi <yao.qi@linaro.org>
10867
10868 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10869 (can_relocate_bcond_true): ... it.
10870 (can_relocate_bcond_false): New function.
10871 (foo): Likewise.
10872 (can_relocate_bl): Likewise.
10873 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10874 can_relocate_bl.
10875
108762015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10877
10878 * gdb.base/nested-addr.c: New file.
10879 * gdb.base/nested-addr.exp: New testcase.
10880
108812015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10882
10883 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10884 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10885 its output. Ignore the output of "record goto begin" and instead
10886 check that GDB is replaying.
10887
108882015-10-09 Pedro Alves <palves@redhat.com>
10889
10890 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10891 (top level): Use it in the run with no args test.
10892
108932015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10894
10895 * gdb.dlang/properties.exp: New file.
10896
108972015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10898
10899 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10900 whether or not address 0x1000 is mapped on the target.
10901
109022015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10903
10904 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10905 build.
10906
109072015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10908
10909 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10910 instruction-history test.
10911
109122015-09-28 Doug Evans <dje@google.com>
10913
10914 * gdb.base/gcore.c (array_func): Add reference to static_array.
10915
109162015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10917
10918 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10919 source line.
10920
109212015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10922
10923 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10924 short or char as base type.
10925
109262015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10927
10928 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10929 to allow any size enum.
10930
109312015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10932
10933 * gdb.ada/array_ptr_renaming.exp: New testcase.
10934 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10935 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10936
109372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10938
10939 * gdb.trace/ftrace-lock.c: New file.
10940 * gdb.trace/ftrace-lock.exp: New file.
10941
109422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10943
10944 * gdb.arch/insn-reloc.c: New file.
10945 * gdb.arch/ftrace-insn-reloc.exp: New file.
10946
109472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10948
10949 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10950 instruction.
10951 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10952 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10953 * gdb.trace/range-stepping.c: Likewise.
10954 * gdb.trace/trace-break.c: Likewise.
10955 * gdb.trace/trace-mt.c (thread_function): Likewise.
10956 * gdb.trace/ftrace.c (marker): Likewise.
10957 * gdb.trace/trace-condition.c (marker): Likewise.
10958 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10959 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10960 is_aarch64_target.
10961
109622015-09-18 Doug Evans <xdje42@gmail.com>
10963
10964 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10965 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10966
109672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10968
10969 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10970 the breakpoint.
10971
109722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10973
10974 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10975 the pending breakpoint. Remove timeout override for "Run till
10976 MI pending breakpoint on pendfunc3 on thread 2" test.
10977
109782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10979
10980 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10981 filename pattern.
10982
109832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10984
10985 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10986 in breakpoint filename pattern.
10987
109882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10989
10990 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10991
109922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10993
10994 * gdb.linespec/explicit.exp: Check for readline support for
10995 tab-completion tests. Fix obvious typo.
10996
109972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10998
10999 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11000 and replay.
11001
110022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11003
11004 * gdb.btrace/non-stop.c: New.
11005 * gdb.btrace/non-stop.exp: New.
11006
110072015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11008 Yao Qi <yao.qi@linaro.org>
11009
11010 * gdb.trace/trace-condition.c: New file.
11011 * gdb.trace/trace-condition.exp: New file.
11012
110132015-09-16 Wei-cheng Wang <cole945@gmail.com>
11014
11015 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11016 for testing bytecode compilation.
11017
110182015-09-16 Pedro Alves <palves@redhat.com>
11019 Sandra Loosemore <sandra@codesourcery.com>
11020
11021 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11022 (SECONDS): Redefine.
11023 (main): Call pthread_kill and alarm early.
11024 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11025 support.
11026 (test): If the target can't hardware step and doesn't support
11027 displaced stepping, increase the timeout.
11028
110292015-09-16 Pedro Alves <palves@redhat.com>
11030
11031 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11032 (enable_debug): New procedures.
11033 (test): Use them. Bail out if waiting for threads fails.
11034 (top level): Bail out if a test fails.
11035
110362015-09-16 Yao Qi <yao.qi@linaro.org>
11037
11038 * gdb.asm/asm-source.exp: Set asm-arch for
11039 aarch64*-*-* target.
11040 * gdb.asm/aarch64.inc: New file.
11041
110422015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11043
11044 * gdb.ada/array_of_variable_length.exp: New testcase.
11045 * gdb.ada/array_of_variable_length/foo.adb: New file.
11046 * gdb.ada/array_of_variable_length/pck.adb: New file.
11047 * gdb.ada/array_of_variable_length/pck.ads: New file.
11048
110492015-09-15 Doug Evans <dje@google.com>
11050
11051 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11052 of function static local variable.
11053
110542015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11055
11056 * gdb.threads/tls-so_extern.exp: New test file.
11057 * gdb.threads/tls-so_extern.c: New test file.
11058 * gdb.threads/tls-so_extern_main.c: New test file.
11059
110602015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11061
11062 * gdb.opt/solib-intra-step-lib.c: New file.
11063 * gdb.opt/solib-intra-step-main.c: New file.
11064 * gdb.opt/solib-intra-step.exp: New file.
11065
110662015-09-15 Pedro Alves <palves@redhat.com>
11067
11068 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11069 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11070
110712015-09-14 Pedro Alves <palves@redhat.com>
11072
11073 * gdb.base/hook-stop-continue.c: Delete.
11074 * gdb.base/hook-stop-continue.exp: Delete.
11075 * gdb.base/hook-stop-frame.c: Delete.
11076 * gdb.base/hook-stop-frame.exp: Delete.
11077 * gdb.base/hook-stop.c: New file.
11078 * gdb.base/hook-stop.exp: New file.
11079
110802015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11081
11082 * gdb.ada/access_to_packed_array.exp: New testcase.
11083 * gdb.ada/access_to_packed_array/foo.adb: New file.
11084 * gdb.ada/access_to_packed_array/pack.adb: New file.
11085 * gdb.ada/access_to_packed_array/pack.ads: New file.
11086
110872015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11088
11089 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11090 buffer size test.
11091
110922015-09-11 Don Breazeal <donb@codesourcery.com>
11093
11094 * gdb.base/foll-exec.c: Add copyright header. Fix
11095 formatting issues.
11096 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11097 (do_exec_tests): Use clean_restart in place of zap_session,
11098 and for test initialization. Fix formatting issues. Use
11099 fail in place of perror.
11100 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11101 an expect statement to match an expression with output from
11102 the program under debug.
11103 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11104 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11105 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11106 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11107 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11108
111092015-09-09 Doug Evans <dje@google.com>
11110
11111 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11112
111132015-09-09 Doug Evans <dje@google.com>
11114
11115 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11116
111172015-09-09 Doug Evans <dje@google.com>
11118
11119 * gdb.base/savedregs.exp: Fix typo.
11120
111212015-09-09 Pedro Alves <palves@redhat.com>
11122
11123 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11124
111252015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11126
11127 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11128 command actually switches threads. Give up on remaining
11129 tests if target fails to stop at breakpoint.
11130
111312015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11132
11133 * gdb.ada/funcall_char.exp: New testcase.
11134 * gdb.ada/funcall_char/foo.adb: New file.
11135
111362015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11137
11138 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11139 expected outputs. Add two testcases for completing ambiguous
11140 functions.
11141 * gdb.ada/complete/aux_pck.adb: New file.
11142 * gdb.ada/complete/aux_pck.ads: New file.
11143 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11144 Ambiguous_Func functions.
11145 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11146 * gdb.ada/complete/pck.adb: Likewise.
11147
111482015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11149
11150 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11151 failures to run the test program under GDB.
11152
111532015-08-26 Luis Machado <lgustavo@codesourcery.com>
11154
11155 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11156 to C.
11157
111582015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11159
11160 * gdb.base/run-after-attach.exp: New test file.
11161 * gdb.base/run-after-attach.c: New test file.
11162
111632015-08-26 Don Breazeal <donb@codesourcery.com>
11164
11165 * gdb.base/foll-exec-2.c: New test program.
11166 * gdb.base/foll-exec-2.exp: New test.
11167
111682015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11169
11170 * gdb.base/nested-subp1.exp: New file.
11171 * gdb.base/nested-subp1.c: New file.
11172 * gdb.base/nested-subp2.exp: New file.
11173 * gdb.base/nested-subp2.c: New file.
11174 * gdb.base/nested-subp3.exp: New file.
11175 * gdb.base/nested-subp3.c: New file.
11176
111772015-08-24 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.server/connect-without-multi-process.c: New file.
11180 * gdb.server/connect-without-multi-process.exp: New file.
11181
111822015-08-24 Luis Machado <lgustavo@codesourcery.com>
11183
11184 * gdb.opt/inline-markers.c: Make z int.
11185
111862015-08-24 Luis Machado <lgustavo@codesourcery.com>
11187
11188 * gdb.opt/inline-markers.c: Make z volatile.
11189
111902015-08-24 Luis Machado <lgustavo@codesourcery.com>
11191
11192 * gdb.opt/inline-bt.c: New volatile global z.
11193 * gdb.opt/inline-cmds.c: Likewise.
11194 * gdb.opt/inline-locals.c: Likewise.
11195 * gdb.opt/inline-markers.c: New extern global z.
11196 (marker): Use z.
11197 (inline_fn): Likewise.
11198
111992015-08-24 Pedro Alves <palves@redhat.com>
11200
11201 * config/m32r-stub.exp: Remove file.
11202 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11203 * gdb.base/call-rt-st.exp: Likewise.
11204 * gdb.base/call-strs.exp: Likewise.
11205 * gdb.base/default.exp: Remove references to h8300-*-hms and
11206 *-*-udi*.
11207 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11208
112092015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11210
11211 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11212 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11213 and "return" use KFAIL when GDB can not read/write the vector
11214 return value.
11215
112162015-08-21 Gary Benson <gbenson@redhat.com>
11217
11218 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11219
112202015-08-20 Pedro Alves <palves@redhat.com>
11221
11222 * gdb.server/solib-list.exp: No longer expect an interior stop in
11223 non-stop mode.
11224
112252015-08-20 Pedro Alves <palves@redhat.com>
11226
11227 * gdb.server/connect-stopped-target.c: New file.
11228 * gdb.server/connect-stopped-target.exp: New file.
11229
112302015-08-20 Pedro Alves <palves@redhat.com>
11231
11232 * gdb.dwarf2/comp-unit-lang.exp: New file.
11233 * gdb.dwarf2/comp-unit-lang.c: New file.
11234
112352015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11236
11237 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11238 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11239
112402015-08-19 Kevin Buettner <kevinb@redhat.com>
11241
11242 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11243 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11244
112452015-08-18 Doug Evans <dje@google.com>
11246 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11247
11248 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11249 skip_python_tests. New arg prompt_regexp.
11250 (skip_python_tests): New function.
11251 * lib/mi-support.exp (mi_skip_python_tests): New function.
11252 * gdb.python/py-mi-objfile-gdb.py: New file.
11253 * gdb.python/py-mi-objfile.c: New file.
11254 * gdb.python/py-mi-objfile.exp: New file.
11255
112562015-08-17 Keith Seitz <keiths@redhat.com>
11257
11258 * gdb.linespec/explicit.exp: Move strace test from here ...
11259 * gdb.trace/strace.exp: ... to here.
11260
112612015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11262
11263 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11264 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11265
112662015-08-14 Doug Evans <xdje42@gmail.com>
11267
11268 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11269 inferior before selecting a new file.
11270
112712015-08-14 Doug Evans <xdje42@gmail.com>
11272
11273 * gdb.mi/mi-disassemble.exp: Update.
11274 * gdb.base/disasm-optim.S: New file.
11275 * gdb.base/disasm-optim.c: New file.
11276 * gdb.base/disasm-optim.h: New file.
11277 * gdb.base/disasm-optim.exp: New file.
11278
112792015-08-14 Keith Seitz <keiths@redhat.com>
11280
11281 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11282 "evaluated-by".
11283
112842015-08-13 Joel Brobecker <brobecker@adacore.com>
11285
11286 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11287
112882015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11289
11290 * gdb.ada/fun_renaming.exp: New testcase.
11291 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11292 * gdb.ada/fun_renaming/pack.adb: New file.
11293 * gdb.ada/fun_renaming/pack.ads: New file.
11294
112952015-08-12 Keith Seitz <keiths@redhat.com>
11296
11297 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11298 gdb_get_line_number.
11299
113002015-08-12 Joel Brobecker <brobecker@adacore.com>
11301
11302 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11303 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11304 gdb.base/dso2dso.exp: New files.
11305
113062015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11307 Pedro Alves <palves@redhat.com>
11308 Keith Seitz <keiths@redhat.com>
11309
11310 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11311 GDBFLAGS.
11312
113132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11314
11315 * gdb.base/gdbhistsize-history.exp
11316 (test_histsize_history_setting): Use save_vars.
11317 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11318 Use save_vars.
11319 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11320 * gdb.base/readline.exp: Use save_vars.
11321
113222015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11323
11324 * lib/gdb.exp (save_vars): New proc.
11325
113262015-08-11 Keith Seitz <keiths@redhat.com>
11327
11328 * gdb.base/help.exp: Update help_breakpoint_text.
11329
113302015-08-11 Keith Seitz <keiths@redhat.com>
11331
11332 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11333 (at toplevel): Call test_explicit_breakpoints.
11334 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11335 breakpoints.
11336 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11337 breakpoint conditions, "-cond".
11338
113392015-08-11 Keith Seitz <keiths@redhat.com>
11340
11341 * gdb.linespec/3explicit.c: New file.
11342 * gdb.linespec/cpexplicit.cc: New file.
11343 * gdb.linespec/cpexplicit.exp: New file.
11344 * gdb.linespec/explicit.c: New file.
11345 * gdb.linespec/explicit.exp: New file.
11346 * gdb.linespec/explicit2.c: New file.
11347 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11348 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11349 before using in the matching pattern.
11350 Clarify that `prefix' is a regular expression.
11351
113522015-08-11 Keith Seitz <keiths@redhat.com>
11353
11354 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11355 test.
11356 Add tests for missing ",FMT" and ",".
11357
113582015-08-10 Doug Evans <dje@google.com>
11359 Keith Seitz <keiths@redhat.com>
11360
11361 PR gdb/17960
11362 * gdb.base/completion.exp: Add location completer tests.
11363
113642015-08-07 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11367 tests here.
11368 (top level): Run do_test with and without displaced stepping.
11369
113702015-08-07 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.base/valgrind-disp-step.c: New file.
11373 * gdb.base/valgrind-disp-step.exp: New file.
11374
113752015-08-07 Pedro Alves <palves@redhat.com>
11376
11377 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11378 Delete function.
11379 (main): Add alarm. Run an infinite loop instead of calling
11380 wait_threads.
11381 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11382 comment.
11383 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11384 Delete function.
11385 (main): Add alarm. Run an infinite loop instead of calling
11386 wait_threads.
11387 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11388 comment.
11389
113902015-08-07 Pedro Alves <palves@redhat.com>
11391
11392 * gdb.base/checkpoint-ns.exp: New file.
11393 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11394 standard_testfile.
11395
113962015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11397
11398 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11399 * gdb.btrace/instruction_history.exp: Update.
11400 * gdb.btrace/tsx.exp: New.
11401 * gdb.btrace/tsx.c: New.
11402
114032015-08-06 Pedro Alves <palves@redhat.com>
11404
11405 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11406 increase timeout.
11407 * gdb.reverse/until-precsave.exp: Bump timeouts.
11408
114092015-08-06 Pedro Alves <palves@redhat.com>
11410
11411 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11412
114132015-08-06 Pedro Alves <palves@redhat.com>
11414
11415 PR gdb/18749
11416 * gdb.threads/process-dies-while-handling-bp.c: New file.
11417 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11418
114192015-08-06 Pedro Alves <palves@redhat.com>
11420
11421 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11422 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11423
114242015-08-05 Pedro Alves <palves@redhat.com>
11425
11426 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11427 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11428
114292015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11430
11431 * gdb.base/bp-permanent.exp: Report test as unsupported if
11432 the target cannot stop at the permanent breakpoint.
11433
114342015-08-03 Doug Evans <dje@google.com>
11435
11436 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11437 10000.
11438
114392015-08-03 Doug Evans <dje@google.com>
11440
11441 * Makefile.in (workers/%.worker, build-perf): New rule.
11442 (GDB_PERFTEST_MODE): New variable.
11443 (check-perf): Use it.
11444 (clean): Clean up gdb.perf parallel build subdirs.
11445 * lib/build-piece.exp: New file.
11446 * lib/gdb.exp (make_gdb_parallel_path): New function
11447 (standard_output_file, standard_temp_file): Call it.
11448 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11449 of $GDB_PARALLEL.
11450 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11451
114522015-08-03 Doug Evans <dje@google.com>
11453
11454 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11455 (LOG_FILE_NAME): New global.
11456 (TextReporter.__init__): Initialize self.txt_sum.
11457 (TextReporter.report): Add support for multiple data-points.
11458 Move report to perftest.sum, put raw data in perftest.log.
11459 (TextReporter.start): Open sum and log files.
11460 (TextReporter.end): Close sum and log files.
11461 * gdb.perf/lib/perftest/testresult.py
11462 (SingleStatisticTestResult.record): Handle multiple data-points.
11463
114642015-07-31 Pedro Alves <palves@redhat.com>
11465
11466 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11467 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11468 kill_wait_spawned_process instead of explicit "kill -9".
11469 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11470 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11471 kill_wait_spawned_process.
11472 * gdb.base/attach-twice.exp: Likewise.
11473 * gdb.base/attach.exp: Likewise.
11474 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11475 gdb_test_multiple.
11476 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11477 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11478 kill_wait_spawned_process.
11479 * gdb.base/valgrind-infcall.exp: Likewise.
11480 * gdb.multi/multi-attach.exp: Likewise.
11481 * gdb.python/py-prompt.exp: Likewise.
11482 * gdb.python/py-sync-interp.exp: Likewise.
11483 * gdb.server/ext-attach.exp: Likewise.
11484 * gdb.threads/attach-into-signal.exp (corefunc): Use
11485 spawn_wait_for_attach, spawn_id_get_pid and
11486 kill_wait_spawned_process.
11487 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11488 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11489 spawn_id_get_pid and kill_wait_spawned_process.
11490 * gdb.threads/attach-stopped.exp (corefunc): Use
11491 spawn_wait_for_attach, spawn_id_get_pid and
11492 kill_wait_spawned_process.
11493 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11494 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11495 kill_wait_spawned_process instead of explicit "kill -9".
11496 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11497 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11498 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11499 processes. Don't map cygwin/windows pids here. Now returns a
11500 spawn id list.
11501
115022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11503
11504 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11505 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11506 correct patch.
11507
115082015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11509
11510 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11511
115122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11513
11514 Reapply:
11515 2014-05-21 Mark Wielaard <mjw@redhat.com>
11516
11517 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11518
115192015-07-30 Pedro Alves <palves@redhat.com>
11520
11521 * linux-low.c (handle_extended_wait): Set the child's last
11522 reported status to TARGET_WAITKIND_STOPPED.
11523
115242015-07-30 Pedro Alves <palves@redhat.com>
11525
11526 PR threads/18600
11527 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11528 only shows inferior 1.
11529
115302015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11531 Pedro Alves <palves@redhat.com>
11532
11533 PR threads/18600
11534 * gdb.threads/fork-plus-threads.c: New file.
11535 * gdb.threads/fork-plus-threads.exp: New file.
11536
115372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11538
11539 * gdb.base/batch-preserve-term-settings.exp
11540 (test_terminal_settings_preserved_after_cli_exit): Use
11541 send_quit_command.
11542
115432015-07-29 Pedro Alves <palves@redhat.com>
11544 Don Breazeal <donb@codesourcery.com>
11545
11546 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11547 output from both inferior_spawn_id and gdb_spawn_id.
11548
115492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11550
11551 * gdb.threads/attach-into-signal.exp (corefunc): Use
11552 with_test_prefix on nested loops, uniquefying the test messages.
11553
115542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11555
11556 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11557 commit.
11558
115592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11560
11561 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11562 New proc.
11563 (test_terminal_settings_preserved_after_sigterm): New test.
11564
115652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11566
11567 * gdb.base/batch-preserve-term-settings.exp
11568 (test_terminal_settings_preserved_after_cli_exit): New test.
11569
115702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11571
11572 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11573 manipulation of saved_gdbflags.
11574 (test_terminal_settings_preserved): Remove global declaration of
11575 the unused variable pagination_prompt. Remove manipulation of
11576 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11577 GDBFLAGS.
11578
115792015-07-29 Pedro Alves <palves@redhat.com>
11580
11581 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11582
115832015-07-29 Pedro Alves <palves@redhat.com>
11584
11585 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11586 at the top.
11587
115882015-07-29 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11591 (main): Call gdb_unbuffer_output.
11592 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11593 (main): Call gdb_unbuffer_output.
11594 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11595 (main): Call gdb_unbuffer_output.
11596 * gdb.base/call-strs.exp: Adjust to step over the
11597 gdb_unbuffer_output call.
11598 * gdb.base/catch-gdb-caused-signals.c: Include
11599 "../lib/unbuffer_output.c".
11600 (main): Call gdb_unbuffer_output.
11601 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11602 (main): Call gdb_unbuffer_output.
11603 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11604 (main): Call gdb_unbuffer_output.
11605 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11606 (main): Call gdb_unbuffer_output.
11607 * gdb.base/shlib-call.exp: Adjust to step over the
11608 gdb_unbuffer_output call.
11609 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11610 (main): Call gdb_unbuffer_output.
11611 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11612 (main): Call gdb_unbuffer_output.
11613 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11614 (main): Rename to ...
11615 (test): ... this.
11616 (main): Reimplement.
11617 * gdb.base/varargs.exp: Run to test instead of to main.
11618 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11619 (main): Call gdb_unbuffer_output.
11620
116212015-07-29 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11624 factore out from mi_continue_dprintf. For call-style dprintfs,
11625 expect dprintf output out of $inferior_spawn_id.
11626 (mi_continue_dprintf): Use mi_expect_dprintf.
11627 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11628 (main): Call gdb_unbuffer_output.
11629
116302015-07-29 Pedro Alves <palves@redhat.com>
11631
11632 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11633 (default_mi_gdb_start): Set inferior_spawn_id instead of
11634 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11635 gdb_spawn_id.
11636 (mi_gdb_test): Always expect inferior output from both
11637 $inferior_spawn_id and $gdb_spawn_id.
11638
116392015-07-29 Pedro Alves <palves@redhat.com>
11640
11641 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11642 send_inferior and $inferior_spawn_id.
11643
116442015-07-29 Pedro Alves <palves@redhat.com>
11645
11646 * gdb.gdb/complaints.exp (test_initial_complaints)
11647 (test_serial_complaints, test_short_complaints): Use
11648 gdb_test_stdio.
11649 (test_empty_complaint): Handle $inferior_spawn_id !=
11650 $gdb_spawn_id.
11651
116522015-07-29 Pedro Alves <palves@redhat.com>
11653
11654 * gdb.base/varargs.exp: Use gdb_test_stdio.
11655
116562015-07-29 Pedro Alves <palves@redhat.com>
11657
11658 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11659
116602015-07-29 Pedro Alves <palves@redhat.com>
11661
11662 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11663
116642015-07-29 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11667 parameter into two new parameters, "inf_result" and "gdb_result".
11668 Expect inferior output and gdb output from $inferior_spawn_id and
11669 $gdb_spawn_id, respectively. Adjust all callers.
11670
116712015-07-29 Pedro Alves <palves@redhat.com>
11672
11673 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11674 of gdb_test_sequence.
11675
116762015-07-29 Pedro Alves <palves@redhat.com>
11677
11678 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11679 (saw_spurious_output): Expect inferior output from
11680 $inferior_spawn_id. Use gdb_test_stdio.
11681
116822015-07-29 Pedro Alves <palves@redhat.com>
11683
11684 * gdb.base/dprintf.exp: Use standard_testfile. Change
11685 prepare_for_testing call.
11686 (srcfile): Don't set.
11687 (restart): New procedure.
11688 (test_dprintf): New procecure, use to continue over dprintfs.
11689 (test_call, test_agent): New procedures, tests moved here.
11690 Restart gdb and recreate dprintfs. Adjust expected output.
11691
116922015-07-29 Pedro Alves <palves@redhat.com>
11693
11694 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11695
116962015-07-29 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11699
117002015-07-29 Pedro Alves <palves@redhat.com>
11701
11702 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11703 gdb_test_stdio.
11704
117052015-07-29 Pedro Alves <palves@redhat.com>
11706
11707 * lib/gdb.exp (gdb_test_stdio): New procedure.
11708
117092015-07-29 Pedro Alves <palves@redhat.com>
11710
11711 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11712
117132015-07-29 Pedro Alves <palves@redhat.com>
11714
11715 * gdb.base/call-signal-resume.exp: Remove check for
11716 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11717 * gdb.base/unwindonsignal.exp: Likewise.
11718 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11719 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11720
117212015-07-29 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.base/siginfo-addr.c (pass): New function.
11724 (handler): Call it iff si_addr is correct.
11725 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11726 Set a breakpoint at "pass" and continue to it.
11727
117282015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11729
11730 * gdb.python/py-objfile.exp: Make some tests have unique names.
11731 * gdb.python/py-pp-registration.exp: Likewise.
11732
117332015-07-28 Pedro Alves <palves@redhat.com>
11734
11735 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11736
117372015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11738
11739 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11740
117412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11742
11743 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11744
117452015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11746
11747 * gdb.base/gdb-sigterm-2.exp: New test.
11748
117492015-07-25 Doug Evans <xdje42@gmail.com>
11750
11751 Revert:
11752 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11753 (workers/%.worker, build-perf): New rule.
11754 (GDB_PERFTEST_MODE): New variable.
11755 (check-perf): Use it.
11756 (clean): Clean up gdb.perf parallel build subdirs.
11757 * lib/build-piece.exp: New file.
11758 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11759 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11760 name.
11761 (standard_temp_file): Ditto.
11762 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11763 of $GDB_PARALLEL.
11764
117652015-07-24 Doug Evans <dje@google.com>
11766
11767 * gdb.perf/lib/perftest/utils.py: New file.
11768 * gdb.perf/gm-hello.cc: New file.
11769 * gdb.perf/gm-pervasive-typedef.cc: New file.
11770 * gdb.perf/gm-pervasive-typedef.h: New file.
11771 * gdb.perf/gm-std.cc: New file.
11772 * gdb.perf/gm-std.h: New file.
11773 * gdb.perf/gm-use-cerr.cc: New file.
11774 * gdb.perf/gm-utils.h: New file.
11775 * gdb.perf/gmonster-null-lookup.py: New file.
11776 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11777 * gdb.perf/gmonster-print-cerr.py: New file.
11778 * gdb.perf/gmonster-ptype-string.py: New file.
11779 * gdb.perf/gmonster-runto-main.py: New file.
11780 * gdb.perf/gmonster-select-file.py: New file.
11781 * gdb.perf/gmonster1-null-lookup.exp: New file.
11782 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11783 * gdb.perf/gmonster1-print-cerr.exp: New file.
11784 * gdb.perf/gmonster1-ptype-string.exp: New file.
11785 * gdb.perf/gmonster1-runto-main.exp: New file.
11786 * gdb.perf/gmonster1-select-file.exp: New file.
11787 * gdb.perf/gmonster1.cc: New file.
11788 * gdb.perf/gmonster1.exp: New file.
11789 * gdb.perf/gmonster2-null-lookup.exp: New file.
11790 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11791 * gdb.perf/gmonster2-print-cerr.exp: New file.
11792 * gdb.perf/gmonster2-ptype-string.exp: New file.
11793 * gdb.perf/gmonster2-runto-main.exp: New file.
11794 * gdb.perf/gmonster2-select-file.exp: New file.
11795 * gdb.perf/gmonster2.cc: New file.
11796 * gdb.perf/gmonster2.exp: New file.
11797
117982015-07-24 Doug Evans <dje@google.com>
11799
11800 * gdb.perf/README: New file.
11801 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11802 * lib/gen-perf-test.exp: New file.
11803
118042015-07-24 Doug Evans <dje@google.com>
11805
11806 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11807 (PerfTest::startup): New function.
11808 (PerfTest::run): Return result of calling body.
11809 (PerfTest::assemble): Rewrite.
11810 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11811 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11812 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11813 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11814 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11815
118162015-07-24 Doug Evans <dje@google.com>
11817
11818 * lib/gdb.exp (clean_restart): Make executable optional.
11819
118202015-07-24 Doug Evans <dje@google.com>
11821
11822 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11823 compiler_info references.
11824 * gdb.cp/temargs.exp: Ditto.
11825 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11826 (get_compiler_info): Early exit if already computed. Set compiler_info
11827 to "unknown" if there was a problem.
11828 (test_compiler_info): Add function comment. Call get_compiler_info.
11829
118302015-07-24 Doug Evans <dje@google.com>
11831
11832 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11833 (workers/%.worker, build-perf): New rule.
11834 (GDB_PERFTEST_MODE): New variable.
11835 (check-perf): Use it.
11836 (clean): Clean up gdb.perf parallel build subdirs.
11837 * lib/build-piece.exp: New file.
11838 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11839 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11840 name.
11841 (standard_temp_file): Ditto.
11842 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11843 of $GDB_PARALLEL.
11844
118452015-07-24 Doug Evans <dje@google.com>
11846
11847 * lib/future.exp (gdb_default_target_compile): New option
11848 "early_flags".
11849 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11850 --as-needed.
11851
118522015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11853
11854 * gdb.base/catch-syscall.exp: Call gdb_exit before
11855 gdb_skip_xml_test.
11856
118572015-07-24 Pedro Alves <palves@redhat.com>
11858
11859 * gdb.python/py-events.exp: Accept output between the stop event
11860 and the prompt.
11861 * gdb.python/py-evsignal.exp: Likewise.
11862 * gdb.python/py-evthreads.exp: Likewise.
11863
118642015-07-24 Pedro Alves <palves@redhat.com>
11865
11866 PR gdb/18717
11867 * gdb.threads/non-ldr-exit.c: New file.
11868 * gdb.threads/non-ldr-exit.exp: New file.
11869
118702015-07-24 Yao Qi <yao.qi@linaro.org>
11871
11872 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11873 restarting process.
11874
118752015-07-24 Yao Qi <yao.qi@linaro.org>
11876
11877 * gdb.server/ext-restart.exp: New file.
11878
118792015-07-24 Yao Qi <yao.qi@linaro.org>
11880
11881 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11882 argument options.
11883 * gdb.server/ext-wrapper.exp: New file.
11884
118852015-07-23 Doug Evans <dje@google.com>
11886
11887 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11888 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11889
118902015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11891
11892 * gdb.ada/var_arr_typedef.exp: New testcase.
11893 * gdb.ada/var_arr_typedef/pack.adb: New file.
11894 * gdb.ada/var_arr_typedef/pack.ads: New file.
11895 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11896
118972015-07-20 Joel Brobecker <brobecker@adacore.com>
11898
11899 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11900
119012015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11902
11903 * gdb.arch/i386-biarch-core.exp: Replace istarget
11904 by "complete set gnutarget". Remove expectation for the "core-file"
11905 command.
11906
119072015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11908
11909 Revert the previous commit:
11910 Tests for validate symbol file using build-id.
11911
119122015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11913
11914 Tests for validate symbol file using build-id.
11915 * gdb.base/solib-mismatch-lib.c: New file.
11916 * gdb.base/solib-mismatch-libmod.c: New file.
11917 * gdb.base/solib-mismatch.c: New file.
11918 * gdb.base/solib-mismatch.exp: New file.
11919
119202015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11921
11922 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11923 nios2-*-linux*.
11924 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11925 * gdb.base/siginfo.exp: Likewise.
11926 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11927
119282015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11929
11930 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11931 Move it to ...
11932 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11933 ... here.
11934 * gdb.trace/range-stepping.exp: Check that the target supports
11935 range stepping.
11936
119372015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11938
11939 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11940
119412015-07-14 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.base/killed-outside.exp: New file.
11944 * gdb.base/killed-outside.c: New file.
11945
119462015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11947
11948 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11949 (n at main): New.
11950 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11951
119522015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11953
11954 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11955 infcall tests instead of setting up for KFAIL.
11956
119572015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11958
11959 * gdb.btrace/record_goto-step.exp: New.
11960
119612015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11962
11963 PR compile/18484
11964 * gdb.compile/compile.c (struct struct_type): Add volatile to
11965 selffield's type.
11966 * gdb.compile/compile.exp
11967 (compile code struct_object.selffield = &struct_object): Skip further
11968 struct_object tests if this one xfails.
11969
119702015-07-08 Robert O'Callahan <robert@ocallahan.org>
11971
11972 PR exp/18617
11973 * gdb.trace/ax.exp: Add test.
11974
119752015-07-07 Yao Qi <yao.qi@linaro.org>
11976
11977 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11978 instead of istarget "aarch64*-*-*".
11979 * gdb.arch/aarch64-fp.exp: Likewise.
11980 * gdb.base/float.exp: Likewise.
11981 * gdb.reverse/aarch64.exp: Likewise.
11982 * lib/gdb.exp (is_aarch64_target): New proc.
11983
119842015-07-07 Yao Qi <yao.qi@linaro.org>
11985
11986 * lib/gdb.exp (is_aarch32_target): New proc.
11987 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11988 instead of "istarget "arm*-*-*"".
11989 * gdb.arch/arm-disp-step.exp: Likewise.
11990 * gdb.arch/thumb-bx-pc.exp: Likewise.
11991 * gdb.arch/thumb-prologue.exp: Likewise.
11992 * gdb.arch/thumb-singlestep.exp: Likewise.
11993 * gdb.base/disp-step-syscall.exp: Likewise.
11994 * gdb.base/float.exp: Likewise.
11995
119962015-07-07 Yao Qi <yao.qi@linaro.org>
11997
11998 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11999 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12000
120012015-07-07 Yao Qi <yao.qi@linaro.org>
12002
12003 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12004 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12005 if it exists.
12006 * gdb.multi/multi-arch.exp: Likewise.
12007
120082015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12009
12010 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12011 print.
12012
120132015-07-07 Yao Qi <yao.qi@linaro.org>
12014
12015 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12016
120172015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12018
12019 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12020 '[' and ']' characters.
12021
120222015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12023
12024 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12025
120262015-06-29 Pedro Alves <palves@redhat.com>
12027
12028 PR threads/18127
12029 * gdb.threads/hand-call-new-thread.c: New file.
12030 * gdb.threads/hand-call-new-thread.c: New file.
12031
120322015-06-26 Keith Seitz <keiths@redhat.com>
12033 Doug Evans <dje@google.com>
12034
12035 PR 16253
12036 * gdb.cp/var-tag-2.cc: New file.
12037 * gdb.cp/var-tag-3.cc: New file.
12038 * gdb.cp/var-tag-4.cc: New file.
12039 * gdb.cp/var-tag.cc: New file.
12040 * gdb.cp/var-tag.exp: New file.
12041
120422015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12043
12044 * gdb.base/history-duplicates.exp: New test.
12045
120462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12047
12048 * gdb.base/completion.exp: Test the completion of the "focus"
12049 command.
12050
120512015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12052
12053 * gdb.arch/amd64-prologue-skip.S: New file.
12054 * gdb.arch/amd64-prologue-skip.exp: New file.
12055
120562015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12059 is_address_zero_readable check.
12060
120612015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12062
12063 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12064 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12065
120662015-06-24 Yao Qi <yao.qi@linaro.org>
12067
12068 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12069 linux targets.
12070
120712015-06-24 Yao Qi <yao.qi@linaro.org>
12072
12073 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12074 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12075 * gdb.base/siginfo-thread.exp: Likewise.
12076
120772015-06-22 Yao Qi <yao.qi@linaro.org>
12078
12079 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12080
120812015-06-22 Yao Qi <yao.qi@linaro.org>
12082
12083 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12084 aarch64*-*-*.
12085 (skip_hw_watchpoint_tests): Likewise.
12086
120872015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12088
12089 * gdb.base/gdbinit-history.exp: Test the interaction between
12090 setting GDBHISTSIZE and setting the history size via .gdbinit.
12091
120922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12093
12094 PR gdb/16999
12095 * gdb.base/gdbhistsize-history.exp: New test.
12096
120972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12098
12099 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12100 with GDBHISTSIZE.
12101 * gdb.base/readline.exp: Likewise.
12102
121032015-06-17 Yao Qi <yao.qi@linaro.org>
12104
12105 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12106 line.
12107
121082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12109
12110 * gdb.base/gdbinit-history.exp: Add test case to check that
12111 an unlimited history file does not get truncated on exit.
12112
121132015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12114
12115 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12116 (VECTOR): New macro. Use it...
12117 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12118 ...for these typedefs.
12119 (int8, char1, int1, double1): New typedefs.
12120 (struct just_int2, struct two_int2): New structures.
12121 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12122 (add_structvecs, add_singlevecs): New functions.
12123 (main): Call add_some_intvecs twice.
12124 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12125 the compile and exit upon failure. Try compiling for the "native"
12126 architecture. Test inferior function calls with vector arguments
12127 and vector return value handling with "finish" and "return".
12128
121292015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12130
12131 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12132 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12133 PE file.
12134 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12135
121362015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12137
12138 PR breakpoints/16465
12139 * gdb.mi/mi-dprintf-pending.c: New file.
12140 * gdb.mi/mi-dprintf-pending.exp: New test.
12141 * gdb.mi/mi-dprintf-pendshr.c: New file.
12142
121432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12144 Mircea Gherzan <mircea.gherzan@intel.com>
12145
12146 * gdb.arch/i386-mpx-map.c: New file.
12147 * gdb.arch/i386-mpx-map.exp: New File.
12148
121492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12150
12151 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12152 * gdb.arch/i386-mpx.exp: Indentation fixed.
12153
121542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12155
12156 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12157 function and improved indentation.
12158 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12159 gdb_test_multiple. Added additional tests to skip the test.
12160
121612015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12162
12163 * gdb.arch/i386-avx512.c: Change path in include file.
12164 * gdb.arch/i386-avx512.exp: Change include dir path
12165 compilation flag.
12166 * gdb.arch/i386-mpx.c: Change path in include file.
12167 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12168 flag.
12169
121702015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12171
12172 * gdb.compile/compile-print.exp (compile print *vararray@3)
12173 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12174
121752015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12176
12177 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12178 (do not keep jit in memory): ... this.
12179 (expect 5): Change it to ...
12180 (expect no 5): ... this.
12181
121822015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12183
12184 PR gdb/15564
12185 * gdb.mi/mi-detach.exp: New file.
12186
121872015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12188
12189 PR symtab/18392
12190 * gdb.arch/amd64-tailcall-self.S: New file.
12191 * gdb.arch/amd64-tailcall-self.c: New file.
12192 * gdb.arch/amd64-tailcall-self.exp: New file.
12193
121942015-05-28 Don Breazeal <donb@codesourcery.com>
12195
12196 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12197 tests for remote targets by checking is_target_gdbserver.
12198
121992015-05-27 Doug Evans <dje@google.com>
12200
12201 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12202 * gdb.dwarf2/opaque-type-lookup.c: New file.
12203 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12204
122052015-05-26 Doug Evans <dje@google.com>
12206
12207 * gdb.cp/iostream.cc: New file.
12208 * gdb.cp/iostream.exp: New file.
12209
122102015-05-26 Doug Evans <dje@google.com>
12211
12212 * gdb.dwarf2/dw2-op-call.exp: Update.
12213 * gdb.dwarf2/dw4-sig-types.exp: Update.
12214 * gdb.dwarf2/implptr.exp: Update.
12215 * gdb.mi/mi-cmd-param-changed.exp: Update.
12216
122172015-05-26 Doug Evans <dje@google.com>
12218
12219 * gdb.python/py-lazy-string.c: New file.
12220 * gdb.python/py-lazy-string.exp: New file.
12221 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12222 (main): Update. Add estring3.
12223 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12224 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12225
122262015-05-26 Omair Javaid <omair.javaid@linaro.org>
12227 Yao Qi <yao.qi@linaro.org>
12228
12229 * gdb.reverse/aarch64.c: New.
12230 * gdb.reverse/aarch64.exp: New.
12231
122322015-05-26 Omair Javaid <omair.javaid@linaro.org>
12233
12234 * lib/gdb.exp (supports_process_record): Return true for
12235 aarch64*-linux*.
12236 (supports_reverse): Likewise.
12237
122382015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12239
12240 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12241 Use with_test_prefix.
12242
122432015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12244
12245 * gdb.base/completion.exp: Add test for completion of layout
12246 names.
12247
122482015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12249
12250 * lib/gdb.exp (skip_tui_tests): New proc.
12251 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12252
122532015-05-19 Pedro Alves <palves@redhat.com>
12254
12255 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12256 Save the whole env array instead of just HOME. Unset HISTSIZE in
12257 the environment while testing. Restore whole environment
12258 afterwards.
12259
122602015-05-16 Doug Evans <xdje42@gmail.com>
12261
12262 * gdb.guile/scm-ports.c: New file.
12263 * gdb.guile/scm-ports.exp: Add memory port tests.
12264
122652015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12266
12267 * gdb.compile/compile-print.c: New file.
12268 * gdb.compile/compile-print.exp: New file.
12269
122702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12271
12272 * gdb.compile/compile-ops.exp: Cast param to void.
12273 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12274 (compile code struct_object.selffield = &struct_object): Add xfail.
12275
122762015-05-15 Joel Brobecker <brobecker@adacore.com>
12277
12278 * gdb.ada/arr_enum_with_gap: New testcase.
12279
122802015-05-15 Joel Brobecker <brobecker@adacore.com>
12281
12282 * gdb.ada/byte_packed_arr: New testcase.
12283
122842015-05-15 Joel Brobecker <brobecker@adacore.com>
12285
12286 * gdb.ada/pckd_neg: New testcase.
12287
122882015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12289
12290 PR gdb/17820
12291 * gdb.base/gdbinit-history.exp: New test.
12292 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12293 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12294
122952015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12296
12297 * gdb.python/py-xmethods.cc: Enhance test case.
12298 * gdb.python/py-xmethods.exp: New tests.
12299 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12300 function.
12301 (B_indexoper): Likewise.
12302 (global_dm_list) : Add new xmethod worker functions.
12303
123042015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12305
12306 * gdb.base/coredump-filter.exp: Correctly unset
12307 "coredump_var_addr" array.
12308
123092015-05-08 Pedro Alves <palves@redhat.com>
12310
12311 * gdb.server/non-existing-program.exp: Unset spawn_id.
12312
123132015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12314
12315 PR python/18291
12316 * gdb.python/py-xmethods.exp: Add tests.
12317
123182015-05-08 Yao Qi <yao.qi@linaro.org>
12319
12320 PR gdb/18208
12321 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12322 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12323 function set_coredump_filter, and remove remote_exec call.
12324 Remove argument ipid. Callers update.
12325 (top level): Don't get inferior's PID.
12326
123272015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12328
12329 * gdb.base/watch_thread_num.exp: Skip test on targets without
12330 access watchpoints.
12331
123322015-05-06 Pedro Alves <palves@redhat.com>
12333
12334 PR server/18081
12335 * gdb.server/non-existing-program.exp: New file.
12336
123372015-05-05 Joel Brobecker <brobecker@adacore.com>
12338
12339 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12340
123412015-05-05 Joel Brobecker <brobecker@adacore.com>
12342
12343 * gdb.ada/out_of_line_in_inlined: New testcase.
12344
123452015-05-05 Joel Brobecker <brobecker@adacore.com>
12346
12347 * gdb.ada/var_rec_arr: New testcase.
12348
123492015-04-30 Yao Qi <yao.qi@linaro.org>
12350
12351 * gdb.base/break-idempotent.exp: If
12352 skip_hw_watchpoint_multi_tests returns true, skip the tests
12353 on "rwatch" and "awatch".
12354
123552015-04-30 Yao Qi <yao.qi@linaro.org>
12356
12357 * gdb.base/relativedebug.exp: Invoke gdb command
12358 "info sharedlibrary", and if libc.so doesn't have debug info,
12359 skip the test.
12360
123612015-04-29 Doug Evans <dje@google.com>
12362
12363 * gdb.python/py-xmethods.exp: Add ptype tests.
12364 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12365 get_result_type method.
12366
123672015-04-29 Luis Machado <lgustavo@codesourcery.com>
12368
12369 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12370 the target does not support hardware watchpoints.
12371
123722015-04-29 Luis Machado <lgustavo@codesourcery.com>
12373
12374 * gdb.base/break-always.exp: Abort testing if writing to memory
12375 causes an error.
12376
123772015-04-28 Doug Evans <dje@google.com>
12378
12379 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12380 * gdb.python/py-pp-registration.exp: ... here. New file.
12381 * gdb.python/py-pp-registration.c: New file.
12382 * gdb.python/py-pp-registration.py: New file.
12383
123842015-04-28 Doug Evans <dje@google.com>
12385
12386 * gdb.python/py-bad-printers.c: New file.
12387 * gdb.python/py-bad-printers.py: New file.
12388 * gdb.python/py-bad-printers.exp: New file.
12389
123902015-04-28 Sasha Smundak <asmundak@google.com>
12391
12392 * gdb.python/py-type.exp: New test.
12393
123942015-04-28 Andy Wingo <wingo@igalia.com>
12395
12396 * gdb.python/py-parameter.exp:
12397 * gdb.guile/scm-parameter.exp: Escape the path that we are
12398 matching against, as it might contain characters that are special
12399 to regular expressions.
12400
124012015-04-27 Joel Brobecker <brobecker@adacore.com>
12402
12403 * gdb.ada/rec_comp: New testcase.
12404
124052015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12406
12407 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12408 before using it.
12409
124102015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12411
12412 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12413 new tests for verilog output.
12414
124152015-04-24 Yao Qi <yao.qi@linaro.org>
12416
12417 * boards/remote-gdbserver-on-localhost.exp: New file.
12418
124192015-04-23 Pedro Alves <palves@redhat.com>
12420
12421 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12422 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12423 "end of file", remove $inferior_spawn_id from the indirect list.
12424
124252015-04-23 Pedro Alves <palves@redhat.com>
12426
12427 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12428
124292015-04-23 Pedro Alves <palves@redhat.com>
12430
12431 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12432 on $any_spawn_id instead of only on $gdb_spawn_id.
12433
124342015-04-21 Pierre Muller <muller@sourceware.org>
12435
12436 PR pascal/17815
12437 * lib/pascal.exp (gpc_compile): Add new option "class".
12438 (fpc_compile): Likewise.
12439 * gdb.pascal/case-insensitive-symbols.pas: New file.
12440 * gdb.pascal/case-insensitive-symbols.exp: New file.
12441
124422015-04-20 Gary Benson <gbenson@redhat.com>
12443
12444 * gdb.base/attach.exp: Fix three extended remote failures.
12445
124462015-04-17 Gary Benson <gbenson@redhat.com>
12447
12448 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12449 the main executable over the remote protocol.
12450
124512015-04-16 Pedro Alves <palves@redhat.com>
12452
12453 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12454 a new gdbserver if gdbserver_reconnect_p is set.
12455
124562015-04-16 Pedro Alves <palves@redhat.com>
12457
12458 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12459 is set, don't exit gdbserver.
12460
124612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12462
12463 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12464 appropriate .insn, such that an older assembler can be used.
12465 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12466 the z/Architecture instruction set on 31-bit targets as well.
12467
124682015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12469
12470 * gdb.go/handcall.exp: Remove all logic related to the first
12471 breakpoint and rely on go_runto_main instead.
12472 * gdb.go/strings.exp: Likewise.
12473 * gdb.go/unsafe.exp: Likewise.
12474 * gdb.go/hello.exp: Likewise. Also rename the remaining
12475 breakpoint marker to "breakpoint 1".
12476 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12477 * gdb.go/strings.go: Likewise.
12478 * gdb.go/unsafe.go: Likewise.
12479 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12480 "set breakpoint 2 here" and rename the remaining breakpoint marker
12481 to "breakpoint 1".
12482
124832015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12484
12485 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12486 if itertools.imap is not present.
12487 * gdb.python/py-objfile.exp: Add parentheses.
12488 * gdb.python/py-type.exp: Same.
12489 * gdb.python/py-unwind-maint.py: Same.
12490
124912015-04-15 Yao Qi <yao.qi@linaro.org>
12492
12493 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12494 of ":$ptr_size" and set its form explicitly.
12495
124962015-04-15 Pedro Alves <palves@redhat.com>
12497 Yao Qi <yao.qi@linaro.org>
12498
12499 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12500 timeout by factor of 4.
12501 (test_regular_watch): Likewise.
12502 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12503 * gdb.reverse/sigall-reverse.exp: Likewise.
12504 * gdb.reverse/until-precsave.exp: Likewise.
12505 * lib/gdb.exp (with_timeout_factor): New proc.
12506 (gdb_expect): Move some code to ...
12507 (get_largest_timeout): ... here. New procedure.
12508
125092015-04-14 Luis Machado <lgustavo@codesourcery.com>
12510
12511 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12512
125132015-04-13 Luis Machado <lgustavo@codesourcery.com>
12514
12515 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12516 to write to the .text section.
12517
125182015-04-13 Luis Machado <lgustavo@codesourcery.com>
12519
12520 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12521 Handle the case of targets that do not provide PID information.
12522
125232015-04-13 Yao Qi <yao.qi@linaro.org>
12524
12525 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12526 and use expect instead of gdb_expect.
12527
125282015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12529
12530 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12531 "coredump_var_addr" to avoid naming conflict with other testcases.
12532
125332015-04-10 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12536 gdb_test_sequence and gdb_assert.
12537
125382015-04-10 Pedro Alves <palves@redhat.com>
12539
12540 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12541 test messages that don't include the breakpoint address.
12542
125432015-04-10 Yao Qi <yao.qi@linaro.org>
12544
12545 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12546 false for some offset and width combinations which aren't
12547 supported by linux kernel.
12548
125492015-04-10 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12552 procedure, factored out from ...
12553 (top level): ... here. Add "set displaced-stepping" testing axis.
12554 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12555 parameter "displaced". Use it.
12556 (top level): Use foreach and add "set displaced-stepping" testing
12557 axis.
12558
125592015-04-10 Pedro Alves <palves@redhat.com>
12560
12561 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12562 Remove comment.
12563 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12564 both the address of the instruction that triggers the watchpoint
12565 and the address of the instruction immediately after, and use
12566 those addresses for the test. Fix comment.
12567
125682015-04-10 Pedro Alves <palves@redhat.com>
12569
12570 * gdb.base/sigstep.exp (breakpoint_to_handler)
12571 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12572 Test "backtrace" in handler.
12573 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12574 (top level): Add new "displaced" test axis to
12575 breakpoint_to_handler, breakpoint_to_handler_entry and
12576 breakpoint_over_handler.
12577
125782015-04-10 Pedro Alves <palves@redhat.com>
12579
12580 PR gdb/18216
12581 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12582
125832015-04-10 Yao Qi <yao.qi@linaro.org>
12584
12585 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12586 (test_add_rn_pc): New function.
12587 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12588 (top level): Invoke test_add_rn_pc.
12589
125902015-04-10 Pedro Alves <palves@redhat.com>
12591
12592 PR gdb/13858
12593 * gdb.base/step-over-no-symbols.exp: New file.
12594
125952015-04-09 Andy Wingo <wingo@igalia.com>
12596
12597 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12598 after the Python tests.
12599
126002015-04-08 Keith Seitz <keiths@redhat.com>
12601
12602 PR python/16699
12603 * gdb.python/py-completion.exp: New tests for completion.
12604 * gdb.python/py-completion.py (CompleteLimit1): New class.
12605 (CompleteLimit2): Likewise.
12606 (CompleteLimit3): Likewise.
12607 (CompleteLimit4): Likewise.
12608 (CompleteLimit5): Likewise.
12609 (CompleteLimit6): Likewise.
12610 (CompleteLimit7): Likewise.
12611
126122015-04-08 Pedro Alves <palves@redhat.com>
12613
12614 PR gdb/18214
12615 PR gdb/18216
12616 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12617 function.
12618 (main): Install it as SIGUSR1 handler.
12619 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12620 parameter. Always use "setup" as prefix. Toggle "set
12621 displaced-stepping" off/on depending on global. Don't switch to
12622 thread 1 here.
12623 (top level): Add displaced stepping "off/on" test axis. Update
12624 "setup" calls. Wrap each subtest with with_test_prefix. Test
12625 continuing with a queued signal in each thread.
12626
126272015-04-08 Pedro Alves <palves@redhat.com>
12628
12629 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12630 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12631 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12632 Return early if running to main fails.
12633 * gdb.trace/while-stepping.exp: Likewise.
12634
126352015-04-07 Pedro Alves <palves@redhat.com>
12636
12637 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12638 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12639 interact with inferior program.
12640
126412015-04-07 Pedro Alves <palves@redhat.com>
12642
12643 * lib/gdb.exp (inferior_spawn_id): New global.
12644 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12645 spawn id after processing the user code.
12646 (default_gdb_start): Set inferior_spawn_id.
12647 (send_inferior): New procedure.
12648 * lib/gdbserver-support.exp (gdbserver_start): Set
12649 inferior_spawn_id.
12650 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12651
126522015-04-07 Pedro Alves <palves@redhat.com>
12653
12654 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12655 * lib/gdbserver-support.exp (gdbserver_start): Make
12656 $server_spawn_id global.
12657 (gdbserver_start): Don't wait for gdbserver's spawn id with
12658 expect_background.
12659 (close_gdbserver): New procedure.
12660 (gdb_exit): Rename the default version and reimplement.
12661
126622015-04-07 Pedro Alves <palves@redhat.com>
12663
12664 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12665 append the substituted item, not the original item.
12666
126672015-04-07 Pedro Alves <palves@redhat.com>
12668
12669 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12670 gdb_expect.
12671
126722015-04-07 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12675 output appearing once only.
12676
126772015-04-07 Pedro Alves <palves@redhat.com>
12678
12679 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12680 that doesn't expect anything. Return early if running to main
12681 fails.
12682
126832015-04-07 Yao Qi <yao.qi@linaro.org>
12684
12685 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12686 (child_function): Call alarm.
12687 (main): Move call to alarm into the loop.
12688 * gdb.threads/non-stop-fair-events.exp: Build program with
12689 -DTIMEOUT=$timeout.
12690
126912015-04-06 Doug Evans <xdje42@gmail.com>
12692
12693 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12694 Fix dest parameter to board_info.
12695 (fpc_compile): Ditto.
12696 (gdb_compile_pascal): Rename dest arg to destfile.
12697
126982015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12699
12700 * gdb.ada/funcall_ref.exp: New file.
12701 * gdb.ada/funcall_ref/foo.adb: New file.
12702
127032015-04-02 Yao Qi <yao.qi@linaro.org>
12704
12705 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12706 is remote.
12707
127082015-04-02 Gary Benson <gbenson@redhat.com>
12709
12710 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12711
127122015-04-01 Sasha Smundak <asmundak@google.com>
12713
12714 * gdb.python/py-unwind-maint.c: New file.
12715 * gdb.python/py-unwind-maint.exp: New test.
12716 * gdb.python/py-unwind-maint.py: New file.
12717 * gdb.python/py-unwind.c: New file.
12718 * gdb.python/py-unwind.exp: New test.
12719 * gdb.python/py-unwind.py: New test.
12720
127212015-04-01 Pedro Alves <palves@redhat.com>
12722
12723 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12724 to fail instead of non-existent $test.
12725
127262015-04-01 Pedro Alves <palves@redhat.com>
12727
12728 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12729 GDBFLAGS if not empty.
12730
127312015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12732
12733 * gdb.ada/complete.exp: Remove "multi_line".
12734 * gdb.ada/info_exc.exp: Remove "multi_line".
12735 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12736 * gdb.ada/ptype_field.exp: Remove "multi_line".
12737 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12738 * gdb.ada/tagged.exp: Remove "multi_line".
12739 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12740 [multi_line ...]
12741 * gdb.btrace/delta.exp: Likewise.
12742 * gdb.btrace/exception.exp: Likewise.
12743 * gdb.btrace/function_call_history.exp: Likewise.
12744 * gdb.btrace/instruction_history.exp: Likewise.
12745 * gdb.btrace/nohist.exp: Likewise.
12746 * gdb.btrace/record_goto.exp: Likewise.
12747 * gdb.btrace/segv.exp: Likewise.
12748 * gdb.btrace/stepi.exp: Likewise.
12749 * gdb.btrace/tailcall.exp: Likewise.
12750 * gdb.btrace/unknown_functions.exp: Likewise.
12751 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12752 * lib/gdb.exp: Add the "multi_line" helper.
12753
127542015-04-01 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.threads/tid-reuse.c: New file.
12757 * gdb.threads/tid-reuse.exp: New file.
12758
127592015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12760
12761 PR corefiles/16092
12762 * gdb.base/coredump-filter.c: New file.
12763 * gdb.base/coredump-filter.exp: Likewise.
12764
127652015-03-27 Petr Machata <pmachata@redhat.com>
12766
12767 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12768 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12769 (Dwarf::assemble): Initialize them.
12770 (Dwarf::lines): New function.
12771
127722015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12773
12774 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12775 SYMBOL_PREFIX for x86_64-*-cygwin.
12776
127772015-03-26 Andy Wingo <wingo@igalia.com>
12778
12779 PR symtab/18148
12780 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12781 const_value but not a location.
12782 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12783 location defined in non-main CUs are visible.
12784
127852015-03-26 Yao Qi <yao.qi@linaro.org>
12786
12787 PR testsuite/18139
12788 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12789 Add a line number entry for the same line.
12790 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12791 Add a line number entry for the same line.
12792
127932015-03-26 Yao Qi <yao.qi@linaro.org>
12794
12795 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12796 .int 0.
12797 (func): Likewise. Add .Lfunc_1 label.
12798 Use .Lfunc_1 label.
12799 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12800 .int 0.
12801 (func): Likewise.
12802 Use .Lfunc_1 label.
12803
128042015-03-26 Yao Qi <yao.qi@linaro.org>
12805
12806 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12807 Call gdb_compile instead to compile each .s files without debug
12808 information.
12809
128102015-03-26 Yao Qi <yao.qi@linaro.org>
12811
12812 * gdb.base/savedregs.exp (process_saved_regs): Make
12813 "Saved registers:" optional in the pattern.
12814
128152015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12816
12817 * gdb.btrace/next.exp: Merged into step.exp.
12818 * gdb.btrace/finish.exp: Merged into step.exp.
12819 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12820 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12821 "record goto" and checking the exact replay position.
12822 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12823 check for "Recording format" in "info record" output.
12824 * gdb.btrace/record_goto.exp: Choose test file based on target.
12825 * gdb.btrace/x86-record_goto.S: Renamed into ...
12826 * gdb.btrace/x86_64-record_goto.S: ... this.
12827 * gdb.btrace/i686-record_goto.S: New.
12828 * gdb.btrace/x86-tailcall.S: Renamed into ...
12829 * gdb.btrace/x86_64-tailcall.S: ... this.
12830 * gdb.btrace/i686-tailcall.S: New.
12831 * gdb.btrace/x86-tailcall.c: Renamed into ...
12832 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12833 separate statements. Update test.
12834 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12835 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12836 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12837 * gdb.btrace/tailcall.exp: Choose test file based on target.
12838 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12839
128402015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12841
12842 * gdb.btrace/exception.exp: Increase BTS buffer size.
12843
128442015-03-24 Pedro Alves <palves@redhat.com>
12845
12846 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12847
128482015-03-24 Pedro Alves <palves@redhat.com>
12849
12850 * gdb.threads/schedlock.exp (test_step): No longer expect that
12851 "set scheduler-locking step" with "next" over a function call runs
12852 threads unlocked.
12853
128542015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12855
12856 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12857
128582015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12859
12860 PR breakpoints/16466
12861 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12862 * gdb.mi/mi-pending.c (thread_func): New function.
12863 (int main): Add threading support required.
12864 * gdb.mi/mi-pending.exp: Add tests for this issue.
12865 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12866 (pendfunc2): Remove stdio dependency.
12867 * gdb.mi/mi-pendshr2.c: New file.
12868
128692015-03-23 Keith Seitz <keiths@redhat.com>
12870
12871 * gdb.linespec/keywords.c: New file.
12872 * gdb.linespec/keywords.exp: New file.
12873
128742015-03-23 Keith Seitz <keiths@redhat.com>
12875
12876 PR gdb/18021
12877 * gdb.dwarf2/staticvirtual.exp: New test.
12878
128792015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12880
12881 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12882 * README: Remove HP-UX and gdb.hp.
12883 (configuration):
12884 * configure: Regenerate.
12885 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12886 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12887 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12888 gdb.hp/gdb.defects/Makefile.
12889 * gdb.hp/Makefile.in: File deleted.
12890 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12891 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12892 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12893 * gdb.hp/gdb.aCC/run.c: File deleted.
12894 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12895 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12896 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12897 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12898 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12899 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12900 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12901 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12902 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12903 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12904 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12905 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12906 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12907 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12908 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12909 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12910 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12911 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12912 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12913 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12914 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12915 * gdb.hp/gdb.compat/average.c: File deleted.
12916 * gdb.hp/gdb.compat/sum.c: File deleted.
12917 * gdb.hp/gdb.compat/xdb.c: File deleted.
12918 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12919 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12920 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12921 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12922 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12923 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12924 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12925 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12926 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12927 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12928 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12929 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12930 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12931 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12932 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12933 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12934 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12935 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12936 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12937 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12938 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12939 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12940 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12941 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12942 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12943 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12944 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12945 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12946 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12947 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12948 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12949 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12950 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12951 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12952 * gdb.hp/tools/odump: File deleted.
12953
129542015-03-19 Pedro Alves <palves@redhat.com>
12955
12956 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12957 (saw_thread_3): New globals.
12958 (top level): Increment them when an event for the corresponding
12959 thread is seen.
12960 (no thread starvation): New test.
12961
129622015-03-19 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.threads/continue-pending-status.c: New file.
12965 * gdb.threads/continue-pending-status.exp: New file.
12966
129672015-03-18 Pedro Alves <palves@redhat.com>
12968
12969 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12970 Use gdb_is_target_remote instead of is_remote. Use
12971 gdb_test_multiple instead of gdb_expect. Exit early if
12972 gdb_test_multiple hits its internal matches. Tighten stepi tests
12973 expected output. Fail on exit with any signal, instead of just
12974 SIGILL.
12975
129762015-03-18 Yao Qi <yao.qi@linaro.org>
12977
12978 PR tdep/18107
12979 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12980 variable.
12981 * gdb.base/catch-syscall.exp: Don't skip it on
12982 aarch64*-*-linux* target. Remove elements in all_syscalls.
12983 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12984 target.
12985 (setup_all_syscalls): New proc.
12986
129872015-03-16 Yao Qi <yao.qi@linaro.org>
12988
12989 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12990 (top level): Skip tests if valid_addr_p returns false for
12991 $cmd1 or $cmd2.
12992
129932015-03-11 Andy Wingo <wingo@igalia.com>
12994
12995 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12996
129972015-03-11 Yao Qi <yao.qi@linaro.org>
12998
12999 * gdb.base/catch-syscall.exp: Fix typo in comments.
13000
130012015-03-11 Yao Qi <yao.qi@linaro.org>
13002
13003 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13004
130052015-03-09 Pedro Alves <palves@redhat.com>
13006
13007 * dg-extract-results.py: Delete.
13008
130092015-03-09 Pedro Alves <palves@redhat.com>
13010
13011 Merge dg-extract-results.sh from GCC upstream (r218843).
13012
13013 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13014 * dg-extract-results.sh: Use --text with grep to avoid issues with
13015 binary files. Fall back to cat -v, if that doesn't work.
13016
130172015-03-05 Pedro Alves <palves@redhat.com>
13018
13019 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13020
130212015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13022
13023 * lib/mi-support.exp (mi_expect_interrupt): Accept
13024 alternative event for when in all-stop mode.
13025
130262015-03-04 Pedro Alves <palves@redhat.com>
13027
13028 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13029
130302015-03-04 Mark Kettenis <kettenis@gnu.org>
13031
13032 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13033
130342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13035
13036 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13037 regexps for GDB's current line display, accept a hex address
13038 preceding the line number.
13039
130402015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13041
13042 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13043 the 'arch1' variable for "s390*-linux*" targets.
13044
130452015-03-04 Pedro Alves <palves@redhat.com>
13046
13047 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13048 (main): Pass missing retval argument to pthread_join call.
13049
130502015-03-02 Pedro Alves <palves@redhat.com>
13051
13052 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13053 (top level): Call do_test with non-stop as well.
13054
130552015-03-02 Pedro Alves <palves@redhat.com>
13056
13057 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13058 -1.
13059
130602015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13061
13062 * gdb.arch/s390-vregs.exp: New test.
13063 * gdb.arch/s390-vregs.S: New file.
13064
130652015-02-27 Pedro Alves <palves@redhat.com>
13066
13067 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13068 call to catch_command_errors.
13069 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13070 catch_command_errors.
13071
130722015-02-27 Pedro Alves <palves@redhat.com>
13073
13074 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13075 "true" for boolean result.
13076 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13077 prototype of main.
13078
130792015-02-27 Pedro Alves <palves@redhat.com>
13080
13081 * lib/unbuffer_output.c: New file.
13082 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13083 (main): Call gdb_unbuffer_output.
13084
130852015-02-27 Yao Qi <yao.qi@linaro.org>
13086
13087 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13088 target.
13089
130902015-02-26 Doug Evans <dje@google.com>
13091
13092 * gdb.cp/class2.cc (Dbase, D): New classes.
13093 (main): New local delta.
13094 * gdb.cp/class2.exp: Test printing delta.
13095 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13096 (dynbar): New global.
13097 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13098
130992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13100
13101 * gdb.compile/compile-ifunc.c: New file.
13102 * gdb.compile/compile-ifunc.exp: New file.
13103
131042015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13105
13106 * gdb.base/structs.exp: Check for correct struct on finish.
13107
131082015-02-26 Yao Qi <yao.qi@linaro.org>
13109
13110 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13111 is zero.
13112
131132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13114
13115 * gdb.arch/cordic.ko.bz2: New file.
13116 * gdb.arch/cordic.ko.debug.bz2: New file.
13117 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13118
131192015-02-25 Yao Qi <yao.qi@linaro.org>
13120
13121 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13122 aarch64*-*-* target.
13123
131242015-02-23 Pedro Alves <palves@redhat.com>
13125
13126 * lib/gdb.exp (delete_breakpoints): Rewrite using
13127 gdb_test_multiple.
13128
131292015-02-23 Pedro Alves <palves@redhat.com>
13130
13131 * gdb.base/info-os.c: Include stdlib.h.
13132
131332015-02-22 Doug Evans <xdje42@gmail.com>
13134
13135 PR symtab/17855
13136 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13137 is read after symbols have been re-read.
13138 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13139 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13140
131412015-02-21 Doug Evans <dje@google.com>
13142
13143 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13144
131452015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13146
13147 PR corefiles/17808
13148 * gdb.arch/i386-biarch-core.core.bz2: New file.
13149 * gdb.arch/i386-biarch-core.exp: New file.
13150
131512015-02-21 Pedro Alves <palves@redhat.com>
13152
13153 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13154 runto_main fails.
13155
131562015-02-20 Pedro Alves <palves@redhat.com>
13157
13158 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13159 info probes.
13160
131612015-02-20 Pedro Alves <palves@redhat.com>
13162
13163 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13164
131652015-02-20 Pedro Alves <palves@redhat.com>
13166
13167 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13168 clean_restart before gdb_target_supports_trace.
13169
131702015-02-20 Pedro Alves <palves@redhat.com>
13171
13172 PR threads/18006
13173 * gdb.threads/clone-thread_db.c: New file.
13174 * gdb.threads/clone-thread_db.exp: New file.
13175
131762015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13177
13178 PR breakpoints/16812
13179 * gdb.base/catch-gdb-caused-signals.c: New file.
13180 * gdb.base/catch-gdb-caused-signals.exp: New file.
13181
131822015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13183
13184 * configure: Regenerated.
13185 * configure.ac: Use GDB_AC_TRANSFORM.
13186 * aclocal.m4: sinclude ../transform.m4.
13187
131882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13189
13190 * lib/dtrace.exp: New file.
13191 * gdb.base/dtrace-probe.exp: Likewise.
13192 * gdb.base/dtrace-probe.d: Likewise.
13193 * gdb.base/dtrace-probe.c: Likewise.
13194 * lib/pdtrace.in: Likewise.
13195 * configure.ac: Output variables with the transformed names of
13196 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13197 * configure: Regenerated.
13198
131992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13200
13201 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13202 expected message when trying to access $_probe_* convenience
13203 variables while not on a probe.
13204
132052015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13206
13207 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13208
132092015-02-11 Pedro Alves <pedro@codesourcery.com>
13210
13211 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13212 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13213
132142015-02-10 Doug Evans <xdje42@gmail.com>
13215
13216 * lib/gdb.exp (gdb_load): Always return a result.
13217
132182015-02-10 Pedro Alves <palves@redhat.com>
13219
13220 * gdb.threads/signal-sigtrap.c: New file.
13221 * gdb.threads/signal-sigtrap.exp: New file.
13222
132232015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13224
13225 * gdb.trace/no-attach-trace.c: New file.
13226 * gdb.trace/no-attach-trace.exp: New file.
13227
132282015-02-09 Mark Wielaard <mjw@redhat.com>
13229
13230 * gdb.dwarf2/atomic.c: New file.
13231 * gdb.dwarf2/atomic-type.exp: Likewise.
13232
132332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13234
13235 * gdb.btrace/buffer-size.exp: Update "info record" output.
13236 * gdb.btrace/delta.exp: Update "info record" output.
13237 * gdb.btrace/enable.exp: Update "info record" output.
13238 * gdb.btrace/finish.exp: Update "info record" output.
13239 * gdb.btrace/instruction_history.exp: Update "info record" output.
13240 * gdb.btrace/next.exp: Update "info record" output.
13241 * gdb.btrace/nexti.exp: Update "info record" output.
13242 * gdb.btrace/step.exp: Update "info record" output.
13243 * gdb.btrace/stepi.exp: Update "info record" output.
13244 * gdb.btrace/nohist.exp: Update "info record" output.
13245
132462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13247
13248 * gdb.btrace/buffer-size: New.
13249
132502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13251
13252 * gdb.btrace/delta.exp: Update "info record" output.
13253 * gdb.btrace/enable.exp: Update "info record" output.
13254 * gdb.btrace/finish.exp: Update "info record" output.
13255 * gdb.btrace/instruction_history.exp: Update "info record" output.
13256 * gdb.btrace/next.exp: Update "info record" output.
13257 * gdb.btrace/nexti.exp: Update "info record" output.
13258 * gdb.btrace/step.exp: Update "info record" output.
13259 * gdb.btrace/stepi.exp: Update "info record" output.
13260 * gdb.btrace/nohist.exp: Update "info record" output.
13261
132622015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13263
13264 PR gdb/15678
13265 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13266
132672015-02-06 Pedro Alves <palves@redhat.com>
13268
13269 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13270 macro.
13271 (seconds_left, again): New globals.
13272 (main): Wait seconds_left in a 1-second sleep loop instead of
13273 sleeping 180 seconds. If 'again' is set, reset the seconds
13274 counter.
13275 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13276 'again' in the inferior before detaching. Print the seconds left.
13277 (options): New global.
13278 (top level): Build program with -DTIMEOUT=$timeout.
13279
132802015-02-06 Pedro Alves <palves@redhat.com>
13281
13282 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13283 determine how many seconds to pass to 'alarm'.
13284 * gdb.base/gdb-sigterm.exp (top level): Build program with
13285 -DTIMEOUT=$timeout.
13286 (do_test): Return success/failure indication. Add more verbose
13287 logging. Don't fail if 200 single steps are seen. Instead, fail
13288 when the test times out.
13289 (passes): New global.
13290 (top level): Break the testing loop if testing fails on any
13291 iteration. Use gdb_assert.
13292
132932015-02-04 Don Breazeal <donb@codesourcery.com>
13294
13295 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13296 and initialize them.
13297 (ipc_cleanup): New function.
13298 (main): Don't declare shmid, semid, and msqid. Add a call to
13299 atexit so that we call ipc_cleanup on exit.
13300
133012015-02-04 Pedro Alves <palves@redhat.com>
13302
13303 * boards/native-extended-gdbserver.exp: Remove any target variant
13304 specifications from the board name before clearing the isremote
13305 flag from board_info.
13306
133072015-01-31 Doug Evans <xdje42@gmail.com>
13308
13309 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13310
133112015-01-31 Gary Benson <gbenson@redhat.com>
13312
13313 * gdb.base/completion.exp: Disable completion limiting for
13314 existing tests. Add new tests to check completion limiting.
13315 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13316
133172015-01-31 Doug Evans <xdje42@gmail.com>
13318
13319 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13320
133212015-01-31 Doug Evans <xdje42@gmail.com>
13322
13323 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13324 entries. Duplicate file section script entries.
13325 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13326 inlined entries. Add test for safe-path rejection.
13327 * gdb.python/py-section-script.c: Add duplicate inlined section script
13328 entries. Duplicate file section script entries.
13329 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13330 inlined entries. Add test for safe-path rejection.
13331
133322015-01-29 Joel Brobecker <brobecker@adacore.com>
13333
13334 * gdb.ada/disc_arr_bound: New testcase.
13335
133362015-01-29 Joel Brobecker <brobecker@adacore.com>
13337
13338 * gdb.ada/mi_var_array: New testcase.
13339
133402015-01-27 Doug Evans <dje@google.com>
13341
13342 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13343 Add test for objfile.filename, objfile.username after objfile
13344 has been unloaded.
13345
133462015-01-26 Joel Brobecker <brobecker@adacore.com>
13347
13348 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13349 the second test to print the name attribute of value
13350 returned by the call to gdb.lookup_type, and adjust
13351 the expected output accordingly.
13352
133532015-01-25 Mark Wielaard <mjw@redhat.com>
13354
13355 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13356 * gdb.base/disp-step-fork.c: Include unistd.h.
13357 * gdb.base/siginfo-obj.c: Include stdio.h.
13358 * gdb.base/siginfo-thread.c: Likewise.
13359 * gdb.mi/non-stop.c: Include unistd.h.
13360 * gdb.mi/nsthrexec.c: Include stdio.h.
13361 * gdb.mi/pthreads.c: Include unistd.h.
13362 * gdb.modula2/unbounded1.c (main): Declare returns int.
13363 * gdb.reverse/consecutive-reverse.c: Likewise.
13364 * gdb.threads/create-fail.c: Include unistd.h.
13365 * gdb.threads/killed.c: Likewise.
13366 * gdb.threads/linux-dp.c: Likewise.
13367 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13368 * gdb.threads/non-ldr-exc-2.c: Likewise.
13369 * gdb.threads/non-ldr-exc-3.c: Likewise.
13370 * gdb.threads/non-ldr-exc-4.c: Likewise.
13371 * gdb.threads/pthreads.c: Include unistd.h.
13372 (main): Declare returns int.
13373 * gdb.threads/tls-main.c (foo): New declaration.
13374 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13375
133762015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13377
13378 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13379 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13380
133812015-01-15 Mark Wielaard <mjw@redhat.com>
13382
13383 * gdb.base/noreturn-return.c: New file.
13384 * gdb.base/noreturn-return.exp: New file.
13385 * gdb.base/noreturn-finish.c: New file.
13386 * gdb.base/noreturn-finish.exp: New file.
13387
133882015-01-23 Pedro Alves <palves@redhat.com>
13389
13390 * gdb.threads/continue-pending-after-query.c: New file.
13391 * gdb.threads/continue-pending-after-query.exp: New file.
13392
133932015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13394 Simon Marchi <simon.marchi@ericsson.com>
13395
13396 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13397 * gdb.base/valgrind-db-attach.exp: Same.
13398 * gdb.base/valgrind-infcall.exp: Same.
13399 * lib/mi-support.exp (default_mi_gdb_start): Same.
13400 * lib/prompt.exp (default_prompt_gdb_start): Same.
13401 * lib/gdb.exp (default_gdb_spawn): Same.
13402 (gdb_interact): New.
13403
13404
134052015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13406
13407 * gdb.compile/compile.exp (pointer to jit function): New test.
13408
134092015-01-17 Wei-cheng Wang <cole945@gmail.com>
13410
13411 * lib/gdb.exp (supports_process_record): Return true for
13412 powerpc*-*-linux*.
13413 (supports_reverse): Likewise.
13414
134152015-01-15 Don Breazeal <donb@codesourcery.com>
13416
13417 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13418 instead of checking whether the target board is remote and
13419 use spawn_wait_for_attach instead of exec/sleep.
13420 * gdb.base/attach-twice.exp: Likewise.
13421
134222015-01-15 Joel Brobecker <brobecker@adacore.com>
13423
13424 * gdb.ada/var_arr_attrs: New testcase.
13425
134262015-01-14 Pedro Alves <palves@redhat.com>
13427 Joel Brobecker <brobecker@adacore.com>
13428
13429 PR gdb/17525
13430 * gdb.base/bp-cmds-execution-x-script.c: New file.
13431 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13432 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13433
134342015-01-14 Pedro Alves <palves@redhat.com>
13435
13436 PR cli/17828
13437 * gdb.base/batch-preserve-term-settings.c: New file.
13438 * gdb.base/batch-preserve-term-settings.exp: New file.
13439
134402015-01-13 Doug Evans <dje@google.com>
13441
13442 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13443 binary.
13444
134452015-01-13 Joel Brobecker <brobecker@adacore.com>
13446
13447 * Makefile.in (clean mostlyclean): Do not delete *.py.
13448
134492015-01-13 Joel Brobecker <brobecker@adacore.com>
13450
13451 * gdb.python/py-lookup-type.exp: New file.
13452
134532015-01-12 Pedro Alves <palves@redhat.com>
13454
13455 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13456 restore GDBFLAGS before returning.
13457
134582015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13459
13460 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13461 is_amd64_regs_target and is_x86_like_target.
13462
134632015-01-11 Doug Evans <xdje42@gmail.com>
13464
13465 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13466 is given without an explicit form.
13467 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13468 attributes.
13469 * gdb.dwarf/corrupt.exp: Ditto.
13470 * gdb.dwarf2/enum-type.exp: Ditto.
13471 * gdb.trace/entry-values.exp: Ditto.
13472 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13473
134742015-01-11 Doug Evans <xdje42@gmail.com>
13475
13476 PR gdb/15830
13477 * gdb.base/maint.exp: Remove references to "maint demangle".
13478 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13479 Add tests for explicitly specifying language to demangle.
13480 * gdb.dlang/demangle.exp: Ditto.
13481
134822015-01-09 Pedro Alves <palves@redhat.com>
13483
13484 * gdb.threads/non-stop-fair-events.c: New file.
13485 * gdb.threads/non-stop-fair-events.exp: New file.
13486
134872015-01-09 Pedro Alves <palves@redhat.com>
13488
13489 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13490 the global scope. Set a breakpoint after all threads are started
13491 rather than stepping over two source lines. Expect the prompt.
13492 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13493 global.
13494 (NUM): Now 15.
13495 (main): Use threads_started_barrier to wait for all threads to
13496 start. Main thread no longer calls thread_function. Exit after
13497 180 seconds.
13498 (loop): New function.
13499 (thread_function): Wait on threads_started_barrier barrier. Call
13500 'loop' at each iteration.
13501 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13502 threads have started, instead of hardcoding number of "next"
13503 steps. Use an access watchpoint instead of a write watchpoint.
13504
135052015-01-09 Pedro Alves <palves@redhat.com>
13506
13507 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13508 (thread_func): Wait on barrier.
13509 (main): Wait for all threads to start before stopping GDB.
13510 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13511 global.
13512 (thread1_func, thread2_func): Wait on barrier.
13513 (main): Wait for all threads to start before stopping GDB.
13514 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13515 New global.
13516 (thread1_func, thread2_func): Wait on barrier.
13517 (main): Wait for all threads to start before stopping GDB.
13518
135192015-01-09 Pedro Alves <palves@redhat.com>
13520
13521 * gdb.threads/attach-many-short-lived-threads.c: New file.
13522 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13523
135242014-01-09 Pedro Alves <palves@redhat.com>
13525
13526 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13527 instead of to thread 2.
13528 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13529 Add barrier around each pthread_create call instead of around all
13530 calls.
13531 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13532 Set a break on thread_function and have the child threads hit it
13533 one at at a time.
13534
135352015-01-09 Pedro Alves <palves@redhat.com>
13536
13537 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13538 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13539 false.
13540 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13541 checking whether the target board is remote.
13542 * gdb.multi/multi-attach.exp: Likewise.
13543 * gdb.python/py-sync-interp.exp: Likewise.
13544 * gdb.server/ext-attach.exp: Likewise.
13545 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13546 tests that need to attach, instead of checking whether the target
13547 board is remote at the top of the file.
13548
135492015-01-08 Yao Qi <yao@codesourcery.com>
13550
13551 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13552
135532015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13554
13555 Fix testcase compilation.
13556 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13557
135582015-01-06 Joel Brobecker <brobecker@adacore.com>
13559
13560 * gdb.python/py-type.exp: Add a couple test about empty
13561 array creation, and negative-length array creation.
13562
135632015-01-02 Doug Evans <xdje42@gmail.com>
13564
13565 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13566
135672015-01-02 Doug Evans <dje@google.com>
13568
13569 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13570
135712014-12-29 Yao Qi <yao@codesourcery.com>
13572
13573 * gdb.trace/entry-values.exp: Update comments. Rename variable
13574 bar_call_foo to returned_from_foo.
13575
135762014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13577
13578 PR gdb/17394
13579 * gdb.linespec/break-asm-file.c: New file.
13580 * gdb.linespec/break-asm-file.exp: New file.
13581 * gdb.linespec/break-asm-file0.s: New file.
13582 * gdb.linespec/break-asm-file1.s: New file.
13583
135842014-12-18 Nigel Stephens <nigel@mips.com>
13585 Maciej W. Rozycki <macro@codesourcery.com>
13586
13587 * gdb.base/float.exp: Handle the new output from "info float" on
13588 MIPS targets.
13589
135902014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13591
13592 Fix MinGW compilation.
13593 * gdb.compile/compile-ops.exp: Update untested message if
13594 !skip_compile_feature_tests.
13595 * gdb.compile/compile-setjmp.exp: Likewise.
13596 * gdb.compile/compile-tls.exp: Likewise.
13597 * gdb.compile/compile.exp: Likewise.
13598 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13599 supported on this host".
13600
136012014-12-16 Doug Evans <xdje42@gmail.com>
13602
13603 * boards/stabs.exp: New file.
13604
136052014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13606
13607 * gdb.base/completion.exp: Adjust to format changes of "maint
13608 print user-registers".
13609
136102014-12-16 Catalin Udma <catalin.udma@freescale.com>
13611
13612 PR server/17457
13613 * gdb.arch/aarch64-fp.c: New file.
13614 * gdb.arch/aarch64-fp.exp: New file.
13615
136162014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13617
13618 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13619 r210637, r210913, r211666, r215400, r215817).
13620
13621 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13622 * dg-extract-results.py: New file.
13623 * dg-extract-results.sh: Use it if the environment seems
13624 suitable.
13625
13626 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13627
13628 * dg-extract-results.py (parse_run): Handle warnings that
13629 are printed before a test harness is run.
13630
13631 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13632
13633 * dg-extract-results.py (Named): Remove __cmp__ method.
13634 (output_variation): Use a key to sort variation.harnesses.
13635
13636 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13637
13638 * dg-extract-results.py: For Python 3, force sys.stdout to
13639 handle surrogate escape sequences.
13640 (safe_open): New function.
13641 (output_segment, main): Use it.
13642
13643 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13644
13645 * dg-extract-results.py (Prog.result_re): Include options
13646 in test name.
13647
13648 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13649
13650 * dg-extract-results.py (output_variation): Always sort if
13651 do_sum.
13652
136532014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13654
13655 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13656 as long as we get pagination notifications.
13657
136582014-12-15 Jason Merrill <jason@redhat.com>
13659
13660 * Makefile.in (check-gdb.%): Restore.
13661 * README: Mention it.
13662
136632014-12-13 Joel Brobecker <brobecker@adacore.com>
13664
13665 * gdb.ada/str_uninit: New testcase.
13666
136672014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13668
13669 PR symtab/17642
13670 * gdb.base/vla-stub-define.c: New file.
13671 * gdb.base/vla-stub.c: New file.
13672 * gdb.base/vla-stub.exp: New file.
13673
136742014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13675 Jan Kratochvil <jan.kratochvil@redhat.com>
13676 Tom Tromey <tromey@redhat.com>
13677
13678 * configure.ac: Add gdb.compile/.
13679 * configure: Regenerate.
13680 * gdb.compile/Makefile.in: New file.
13681 * gdb.compile/compile-ops.exp: New file.
13682 * gdb.compile/compile-ops.c: New file.
13683 * gdb.compile/compile-tls.c: New file.
13684 * gdb.compile/compile-tls.exp: New file.
13685 * gdb.compile/compile-constvar.S: New file.
13686 * gdb.compile/compile-constvar.c: New file.
13687 * gdb.compile/compile-mod.c: New file.
13688 * gdb.compile/compile-nodebug.c: New file.
13689 * gdb.compile/compile-setjmp-mod.c: New file.
13690 * gdb.compile/compile-setjmp.c: New file.
13691 * gdb.compile/compile-setjmp.exp: New file.
13692 * gdb.compile/compile-shlib.c: New file.
13693 * gdb.compile/compile.c: New file.
13694 * gdb.compile/compile.exp: New file.
13695 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13696
136972014-12-12 Tom Tromey <tromey@redhat.com>
13698
13699 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13700 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13701
137022014-12-12 Doug Evans <dje@google.com>
13703
13704 * lib/gdb-python.exp (get_python_valueof): New function.
13705 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13706
137072014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13708
13709 * gdb.base/completion.exp: Add test for completion of "info
13710 registers ".
13711
137122014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13713
13714 * gdb.base/func-ptrs.c: New file.
13715 * gdb.base/func-ptrs.exp: New file.
13716
137172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13718
13719 PR breakpoints/17012
13720 * gdb.base/dprintf-detach.c: New file.
13721 * gdb.base/dprintf-detach.exp: New file.
13722
137232014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13724
13725 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13726 * lib/gdb.exp (target_is_gdbserver): New procedure.
13727
137282014-12-08 Doug Evans <dje@google.com>
13729
13730 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13731
137322014-12-05 Yao Qi <yao@codesourcery.com>
13733
13734 * gdb.guile/scm-error.exp: Remove the third argument to
13735 gdb_remote_download.
13736 * gdb.guile/scm-frame-args.exp: Likewise.
13737 * gdb.guile/scm-section-script.exp: Likewise.
13738
137392014-12-05 Yao Qi <yao@codesourcery.com>
13740
13741 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13742
137432014-12-04 Doug Evans <dje@google.com>
13744
13745 * gdb.python/py-objfile.exp: Add tests for
13746 objfile.add_separate_debug_file.
13747
137482014-12-04 Doug Evans <dje@google.com>
13749
13750 * lib/gdb.exp (get_build_id): New function.
13751 (build_id_debug_filename_get): Rewrite to use it.
13752 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13753
137542014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13755
13756 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13757 `method(long)', not just 0x0.
13758 * gdb.cp/nsalias.exp: Align code labels to 4.
13759 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13760 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13761 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13762 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13763 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13764 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13765
137662014-12-02 Doug Evans <dje@google.com>
13767
13768 PR symtab/17602
13769 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13770 * gdb.cp/anon-ns2.cc: ... here. New file.
13771 * gdb.cp/anon-ns.exp: Update.
13772
137732014-12-02 Nick Bull <nicholaspbull@gmail.com>
13774
13775 * gdb.python/py-events.py (inferior_call_handler): New.
13776 (register_changed_handler, memory_changed_handler): New.
13777 (test_events.invoke): Register new handlers.
13778 * gdb.python/py-events.exp: Add tests for inferior call,
13779 memory_changed and register_changed events.
13780
137812014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13782
13783 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13784 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13785 if the linker doesn't understand this.
13786
137872014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13788
13789 * gdb.python/python.exp: Change expected reply to help().
13790
137912014-12-01 Yao Qi <yao@codesourcery.com>
13792
13793 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13794 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13795 * configure: Re-generated.
13796
137972014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13798
13799 * gdb.cp/chained-calls.cc: New file.
13800 * gdb.cp/chained-calls.exp: New file.
13801 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13802
138032014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13804
13805 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13806 * gdb.dwarf2/symtab-producer.exp: Same.
13807 * gdb.gdb/python-interrupts.exp: Same.
13808 * gdb.gdb/python-selftest.exp: Same.
13809 * gdb.python/py-linetable.exp: Same.
13810 * gdb.python/py-type.exp: Same.
13811 * gdb.python/py-value-cc.exp: Same.
13812 * gdb.python/py-value.exp: Same.
13813
138142014-11-28 Yao Qi <yao@codesourcery.com>
13815
13816 * gdb.base/break-probes.exp: Match library name prefixed with
13817 sysroot.
13818
138192014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13820
13821 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13822 test expected output. Add parentheses for the call to print.
13823 Remove L suffix from integers.
13824
138252014-11-26 Doug Evans <dje@google.com>
13826
13827 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13828
138292014-11-22 Yao Qi <yao@codesourcery.com>
13830
13831 * gdb.trace/entry-values.c: Remove asms.
13832 (foo): Add foo_label.
13833 (bar): Add bar_label.
13834 * gdb.trace/entry-values.exp: Remove code computing foo's
13835 length and bar's length.
13836 (Dwarf::assemble): Invoke function_range for bar and use
13837 MACRO_AT_func for foo.
13838
138392014-11-22 Yao Qi <yao@codesourcery.com>
13840
13841 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13842 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13843 Use .Lgcc43_procstart instead of gcc43.
13844
138452014-11-21 Joel Brobecker <brobecker@adacore.com>
13846
13847 * gdb.ada/n_arr_bound: New testcase.
13848
138492014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13850
13851 PR breakpoints/10737
13852 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13853 test_catch_syscall_multi_arch.
13854 (test_catch_syscall_multi_arch): New function.
13855
138562014-11-20 Doug Evans <xdje42@gmail.com>
13857
13858 * gdb.base/maint.exp: Update expected output.
13859
138602014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13861
13862 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13863 4-byte instruction on S390.
13864
138652014-11-19 Joel Brobecker <brobecker@adacore.com>
13866
13867 * gdb.ada/arr_arr: New testcase.
13868
138692014-11-19 Joel Brobecker <brobecker@adacore.com>
13870
13871 * gdb.ada/pkd_arr_elem: New Testcase.
13872
138732014-11-18 Luis Machado <lgustavo@codesourcery.com>
13874
13875 * gdb.reverse/break-precsave: Expect completion message for
13876 core file reads.
13877 * gdb.reverse/consecutive-precsave.exp: Likewise.
13878 * gdb.reverse/finish-precsave.exp: Likewise.
13879 * gdb.reverse/i386-precsave.exp: Likewise.
13880 * gdb.reverse/machinestate-precsave.exp: Likewise.
13881 * gdb.reverse/sigall-precsave.exp: Likewise.
13882 * gdb.reverse/solib-precsave.exp: Likewise.
13883 * gdb.reverse/step-precsave.exp: Likewise.
13884 * gdb.reverse/until-precsave.exp: Likewise.
13885 * gdb.reverse/watch-precsave.exp: Likewise.
13886
138872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13888
13889 * gdb.base/bp-permanent.c: Include unistd.h.
13890 * gdb.python/py-framefilter-mi.c (main): Add return type.
13891 * gdb.python/py-framefilter.c (main): Likewise.
13892 * gdb.trace/actions-changed.c (main): Likewise.
13893
138942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13895
13896 * gdb.mi/until.c: Add eye-catchers.
13897 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13898 line numbers.
13899
139002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13901
13902 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13903 function header variants in break1.c.
13904 * gdb.base/ena-dis-br.exp: Likewise.
13905 * gdb.base/hbreak2.exp: Likewise.
13906 * gdb.reverse/until-precsave.exp: Drop references to removed
13907 non-prototype function header variants in ur1.c.
13908 * gdb.reverse/until-reverse.exp: Likewise.
13909
139102014-11-17 Petr Machata <pmachata@redhat.com>
13911
13912 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13913 ${_cu_offset_size} bytes abbrev offset.
13914
139152014-11-15 Doug Evans <xdje42@gmail.com>
13916
13917 PR symtab/17559
13918 * gdb.base/line-symtabs.exp: New file.
13919 * gdb.base/line-symtabs.c: New file.
13920 * gdb.base/line-symtabs.h: New file.
13921
139222014-11-14 Yao Qi <yao@codesourcery.com>
13923
13924 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13925 (func): Add label func_label.
13926 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13927 Replace low_pc and high_pc with MACRO_AT_range.
13928 Replace name, low_pc and high_pc with MACRO_AT_func.
13929
139302014-11-14 Yao Qi <yao@codesourcery.com>
13931
13932 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13933 Replace name, low_pc and high_pc with MACRO_AT_func.
13934
139352014-11-14 Yao Qi <yao@codesourcery.com>
13936
13937 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13938 produce debug information.
13939 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13940
139412014-11-14 Yao Qi <yao@codesourcery.com>
13942
13943 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13944 object and get function length.
13945 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13946 with MACRO_AT_func.
13947 (top-level): Replace gdb_compile and clean_restart with
13948 prepare_for_testing.
13949 * gdb.dwarf2/main.c (main): Add label main_label.
13950
139512014-11-14 Yao Qi <yao@codesourcery.com>
13952
13953 * lib/dwarf.exp (function_range): New procedure.
13954 (Dwarf::_handle_macro_at_func): New procedure.
13955 (Dwarf::_handle_macro_at_range): New procedure.
13956 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13957
139582014-11-14 Yao Qi <yao@codesourcery.com>
13959
13960 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13961 (_handle_attribute): New procedure.
13962
139632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13964
13965 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13966 * gdb.base/call-sc.c (zed): Likewise.
13967 * gdb.base/checkpoint.c (main): Likewise.
13968 * gdb.base/dump.c (main): Likewise.
13969 * gdb.base/gcore.c (main): Likewise.
13970 * gdb.base/huge.c (main): Likewise.
13971 * gdb.base/multi-forks.c (main): Likewise.
13972 * gdb.base/pr10179-a.c (main): Likewise.
13973 * gdb.base/savedregs.c (main): Likewise.
13974 * gdb.base/sigaltstack.c (main): Likewise.
13975 * gdb.base/siginfo.c (main): Likewise.
13976 * gdb.base/structs.c (zed): Likewise.
13977 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13978 * gdb.mi/mi-syn-frame.c (main): Likewise.
13979 * gdb.mi/until.c (foo, main): Likewise.
13980 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13981 * gdb.base/solib-weak.c (foo): Declare.
13982 * gdb.base/attach-twice.c: Include stdio.h.
13983 * gdb.base/weaklib1.c: Likewise.
13984 * gdb.base/weaklib2.c: Likewise.
13985 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13986 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13987 unistd.h.
13988 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13989 * gdb.mi/mi-exit-code.c: Likewise.
13990 * gdb.base/break-interp-lib.c: Include string.h.
13991 * gdb.base/coremaker.c: Likewise.
13992 * gdb.base/testenv.c: Likewise.
13993 * gdb.python/py-finish-breakpoint.c: Likewise.
13994 * gdb.base/inferior-died.c: Include sys/wait.h.
13995 * gdb.base/fileio.c: Include time.h.
13996 * gdb.base/async-shell.c: Include unistd.h.
13997 * gdb.base/dprintf-non-stop.c: Likewise.
13998 * gdb.base/info-os.c: Likewise.
13999 * gdb.mi/mi-console.c: Likewise.
14000 * gdb.mi/watch-nonstop.c: Likewise.
14001 * gdb.python/py-events.c: Likewise.
14002 * gdb.base/async.c (baz): Move up before its invocation.
14003 * gdb.base/code_elim2.c (my_global_func): Likewise.
14004 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14005 * gdb.base/advance.c (func2): Likewise.
14006
140072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14008
14009 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14010 variant.
14011 * gdb.base/annota3.c: Likewise.
14012 * gdb.base/async.c: Likewise.
14013 * gdb.base/average.c: Likewise.
14014 * gdb.base/call-ar-st.c: Likewise.
14015 * gdb.base/call-rt-st.c: Likewise.
14016 * gdb.base/call-sc.c: Likewise.
14017 * gdb.base/call-strs.c: Likewise.
14018 * gdb.base/ending-run.c: Likewise.
14019 * gdb.base/execd-prog.c: Likewise.
14020 * gdb.base/exprs.c: Likewise.
14021 * gdb.base/foll-exec.c: Likewise.
14022 * gdb.base/foll-fork.c: Likewise.
14023 * gdb.base/foll-vfork.c: Likewise.
14024 * gdb.base/funcargs.c: Likewise.
14025 * gdb.base/gcore.c: Likewise.
14026 * gdb.base/jump.c: Likewise.
14027 * gdb.base/langs0.c: Likewise.
14028 * gdb.base/langs1.c: Likewise.
14029 * gdb.base/langs2.c: Likewise.
14030 * gdb.base/mips_pro.c: Likewise.
14031 * gdb.base/nodebug.c: Likewise.
14032 * gdb.base/opaque0.c: Likewise.
14033 * gdb.base/opaque1.c: Likewise.
14034 * gdb.base/recurse.c: Likewise.
14035 * gdb.base/run.c: Likewise.
14036 * gdb.base/scope0.c: Likewise.
14037 * gdb.base/scope1.c: Likewise.
14038 * gdb.base/setshow.c: Likewise.
14039 * gdb.base/setvar.c: Likewise.
14040 * gdb.base/shmain.c: Likewise.
14041 * gdb.base/shr1.c: Likewise.
14042 * gdb.base/shr2.c: Likewise.
14043 * gdb.base/sigall.c: Likewise.
14044 * gdb.base/signals.c: Likewise.
14045 * gdb.base/so-indr-cl.c: Likewise.
14046 * gdb.base/solib2.c: Likewise.
14047 * gdb.base/structs.c: Likewise.
14048 * gdb.base/sum.c: Likewise.
14049 * gdb.base/vforked-prog.c: Likewise.
14050 * gdb.base/watchpoint.c: Likewise.
14051 * gdb.reverse/shr2.c: Likewise.
14052 * gdb.reverse/until-reverse.c: Likewise.
14053 * gdb.reverse/ur1.c: Likewise.
14054 * gdb.reverse/watch-reverse.c: Likewise.
14055
140562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14057
14058 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14059 variant.
14060 * gdb.base/sepdebug.exp: Drop references to removed code.
14061
140622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14063
14064 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14065 variant. Preserve original line numbering.
14066 * gdb.base/list1.c: Likewise.
14067
140682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14069
14070 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14071 variant.
14072 * gdb.base/break1.c: Likewise.
14073 * gdb.base/break.exp: Drop references to removed code.
14074
140752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14076
14077 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14078 variant.
14079
140802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14081
14082 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14083
140842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14085
14086 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14087 logic into perform_all_tests() and invoke it with and without
14088 function header prototypes.
14089 (do_function_calls): Remove conditional XFAIL for PR 5318.
14090 (rerun_and_prepare): Remove duplicate code.
14091 (perform_all_tests): New. Main logic moved here.
14092
140932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14094
14095 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14096 code guarded by #ifdef NO_PROTOTYPES.
14097 (t_double_many_args): Likewise.
14098 (DEF_FUNC_MANY_ARGS_1): Likewise.
14099 (DEF_FUNC_VALUES_1): Likewise.
14100 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14101 guarded by #ifdef PROTOTYPES.
14102
141032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14104
14105 * gdb.mi/mi-console.c: Add eye-catcher.
14106 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14107 instead of literal line number.
14108
141092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14110
14111 * gdb.base/shr2.c: Add eye-catcher.
14112 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14113 line number.
14114
141152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14116
14117 * gdb.base/jump.c: Add eye-catchers.
14118 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14119 numbers.
14120
141212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14122
14123 * gdb.base/execd-prog.c: Add eye-catchers.
14124 * gdb.base/foll-exec.c: Likewise.
14125 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14126 line numbers.
14127
141282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14129
14130 * gdb.base/ending-run.c: Add eye-catchers.
14131 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14132 literal line numbers.
14133
141342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14135
14136 * gdb.base/call-rt-st.c: Add eye-catchers.
14137 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14138 literal line numbers.
14139
141402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14141
14142 * gdb.base/call-ar-st.c: Add eye-catchers.
14143 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14144 literal line numbers.
14145
141462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14147
14148 * gdb.base/average.c: Add eye-catchers.
14149 * gdb.base/sum.c: Likewise.
14150 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14151 regexps dynamically.
14152
141532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14154
14155 * gdb.base/solib1.c: Add eye-catchers.
14156 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14157 literal line numbers.
14158
141592014-11-12 Pedro Alves <palves@redhat.com>
14160
14161 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14162 leader has exited.
14163
141642014-11-12 Pedro Alves <palves@redhat.com>
14165
14166 * gdb.arch/i386-bp_permanent.c: New file.
14167 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14168 (srcfile): Set to i386-bp_permanent.c.
14169 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14170 that stepi does not execute the 'leave' instruction, instead of
14171 testing it does execute.
14172 * gdb.base/bp-permanent.c: New file.
14173 * gdb.base/bp-permanent.exp: New file.
14174
141752014-11-10 Doug Evans <xdje42@gmail.com>
14176
14177 PR symtab/17564
14178 * gdb.base/symtab-search-order.exp: New file.
14179 * gdb.base/symtab-search-order.c: New file.
14180 * gdb.base/symtab-search-order-1.c: New file.
14181 * gdb.base/symtab-search-order-shlib-1.c: New file.
14182
141832014-11-07 Pedro Alves <palves@redhat.com>
14184
14185 PR gdb/17511
14186 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14187 i?86-*-linux*.
14188
141892014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14190
14191 PR c++/17494
14192 * gdb.cp/pr17494.cc: New file.
14193 * gdb.cp/pr17494.exp: New file.
14194
141952014-11-02 Yao Qi <yao@codesourcery.com>
14196
14197 * gdb.python/python.exp: Get working directory and match the
14198 output of "set extended-prompt \\w " with it.
14199
142002014-10-30 Doug Evans <dje@google.com>
14201
14202 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14203 in objfiles.
14204 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14205 in progspaces.
14206
142072014-10-30 Janis Johnson <janisjo@codesourcery.com>
14208
14209 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14210 * gdb.base/realname-expand.exp: Likewise.
14211 * gdb.linespec/macro-relative.exp: Likewise.
14212
142132014-10-29 Pedro Alves <palves@redhat.com>
14214
14215 PR gdb/17408
14216 * gdb.threads/schedlock.c (some_function): New function.
14217 (call_function): New global.
14218 (MAYBE_CALL_SOME_FUNCTION): New macro.
14219 (thread_function): Call it.
14220 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14221 and use it instead of a global counter. Adjust all callers.
14222 (get_current_thread): Use "find current thread" for test message
14223 here rather than having all callers pass down the same string.
14224 (goto_loop): New procedure, factored out from ...
14225 (my_continue): ... this.
14226 (step_ten_loops): Change parameter from test message to command to
14227 use. Adjust.
14228 (list_count): Delete global.
14229 (check_result): New procedure, factored out from duplicate top
14230 level code.
14231 (continue tests): Wrap in with_test_prefix.
14232 (test_step): New procedure, factored out from duplicate top level
14233 code.
14234 (top level): Test "step" in combination with all scheduler-locking
14235 modes. Test "next" in combination with all scheduler-locking
14236 modes, and in combination with stepping over a function call or
14237 not.
14238 * gdb.threads/next-bp-other-thread.c: New file.
14239 * gdb.threads/next-bp-other-thread.exp: New file.
14240
142412014-10-29 Pedro Alves <palves@redhat.com>
14242
14243 PR python/17372
14244 * gdb.python/python.exp: Test a multi-line command that spawns
14245 interactive Python.
14246 * gdb.base/multi-line-starts-subshell.exp: New file.
14247
142482014-10-29 Yao Qi <yao@codesourcery.com>
14249
14250 * gdb.base/fileio.exp: Make directories on host.
14251
142522014-10-29 Yao Qi <yao@codesourcery.com>
14253
14254 * gdb.base/fileio.c (test_write): Close the file.
14255
142562014-10-28 Pedro Alves <palves@redhat.com>
14257
14258 PR gdb/12623
14259 * gdb.base/sigstep.c (no_handler): New global.
14260 (main): If 'no_handler is true, set the signal handlers to
14261 SIG_IGN.
14262 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14263 with_sw_watch and no_handler parameters. Handle them.
14264 (top level) <stepping over handler when stopped at a breakpoint
14265 test>: Add a test axis for testing with a software watchpoint, and
14266 another for testing with the signal handler set to SIG_IGN.
14267 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14268 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14269
142702014-10-28 Pedro Alves <palves@redhat.com>
14271
14272 PR gdb/17511
14273 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14274 * gdb.base/sigstep.exp (other_handler_location): New global.
14275 (advance): Support stepping into the signal handler, and running
14276 commands while in the handler.
14277 (in_handler_map): New global.
14278 (top level): In the advance test, add combinations for getting
14279 into the handler with stepping commands, and for running commands
14280 in the handler. Add comment descripting the advancei tests.
14281
142822014-10-28 Pedro Alves <palves@redhat.com>
14283
14284 * gdb.base/sigstep.exp: Use build_executable instead of
14285 prepare_for_testing.
14286 (top level): Move code that starts GDB, runs to main and creates a
14287 display to ...
14288 (restart): ... this new procedure.
14289 (top level): Move backtrace from signal handler test to ...
14290 (validate_backtrace): ... this new procedure.
14291 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14292 with_test_prefix. Always restart GDB.
14293 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14294 with_test_prefix. Always restart GDB. No need to delete
14295 breakpoints after the test.
14296 (test_skip_handler): Remove prefix parameter.
14297 (skip_over_handler, breakpoint_to_handler)
14298 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14299 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14300 restart GDB. No need to delete breakpoints after the test.
14301 (top level): Use foreach to call the test procedures with
14302 different commands.
14303
143042014-10-28 Pedro Alves <palves@redhat.com>
14305
14306 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14307 instead of GNATS numbers.
14308 * gdb.base/sigbpt.exp: Likewise.
14309 * gdb.base/siginfo.exp: Likewise.
14310 * gdb.base/sigstep.exp: Likewise.
14311
143122014-10-27 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.base/sigstep.c (dummy): New global.
14315 (main): Issue a couple writes to the new global.
14316 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14317 procedures.
14318 (skip_over_handler): Use test_skip_handler.
14319 (top level): Call skip_over_handler for stepi and nexti too.
14320 (breakpoint_over_handler): Use test_skip_handler.
14321 (top level): Call breakpoint_over_handler for stepi and nexti too.
14322
143232014-10-27 Yao Qi <yao@codesourcery.com>
14324
14325 * gdb.trace/tfile.c (adjust_function_address)
14326 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14327 function descriptor.
14328
143292014-10-24 Don Breazeal <donb@codesourcery.com>
14330
14331 * gdb.base/foll-fork.exp (test_follow_fork,
14332 catch_fork_child_follow): Check for updated fork messages emitted
14333 from infrun.c.
14334 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14335 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14336 vfork_and_exec_child_follow_through_step): Check for updated vfork
14337 messages emitted from infrun.c.
14338
143392014-10-24 Pedro Alves <palves@redhat.com>
14340
14341 * gdb.base/corefile.exp: Remove references to ultrix.
14342 * gdb.base/interrupt.exp: Likewise.
14343 * gdb.base/whatis.exp: Likewise.
14344 * gdb.gdb/selftest.exp: Likewise.
14345 * gdb.threads/manythreads.exp: Likewise.
14346 * gdb.threads/print-threads.exp: Likewise.
14347 * gdb.threads/pthreads.exp:: Likewise.
14348 * gdb.threads/schedlock.exp: Likewise.
14349
143502014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14351
14352 * gdb.cp/non-trivial-retval.cc: Add a test case.
14353 * gdb.cp/non-trivial-retval.exp: Add a test.
14354
143552014-10-20 Yao Qi <yao@codesourcery.com>
14356
14357 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14358 * gdb.python/py-objfile-script-gdb.py: New file.
14359 * gdb.python/py-objfile-script.exp: Update reference to
14360 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14361 of remote_download. Remove the dest file.
14362
143632014-10-20 Yao Qi <yao@codesourcery.com>
14364
14365 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14366 * gdb.base/step-line.exp: Likewise.
14367 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14368 * gdb.dwarf2/dw2-basic.exp: Likewise.
14369 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14370 * gdb.dwarf2/dw2-filename.exp: Likewise.
14371 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14372 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14373 * gdb.dwarf2/dw2-producer.exp: Likewise.
14374 * gdb.dwarf2/mac-fileno.exp: Likewise.
14375 * gdb.python/py-frame-args.exp: Likewise.
14376 * gdb.python/py-framefilter.exp: Likewise.
14377 * gdb.python/py-mi.exp: Likewise.
14378 * gdb.python/py-objfile-script.exp: Likewise
14379 * gdb.python/py-pp-integral.exp: Likewise.
14380 * gdb.python/py-pp-re-notag.exp: Likewise.
14381 * gdb.python/py-prettyprint.exp: Likewise.
14382 * gdb.python/py-section-script.exp: Likewise.
14383 * gdb.python/py-typeprint.exp: Likewise.
14384 * gdb.python/py-xmethods.exp: Likewise.
14385 * gdb.stabs/weird.exp: Likewise.
14386 * gdb.xml/tdesc-regs.exp: Likewise.
14387
143882014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14389
14390 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14391 (out_cu): Use addr_len for the size of addresses.
14392 (out_line): Likewise. Size DW_LNE_set_address instruction
14393 according to addr_len.
14394 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14395 (FUNC): Add START_INSNS to definition.
14396
143972014-10-18 Yao Qi <yao@codesourcery.com>
14398
14399 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14400 gdb_has_argv0 return true.
14401 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14402 check [target_info exists noargs], check [gdb_has_argv0]
14403 instead.
14404 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14405 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14406 procedures.
14407
144082014-10-17 Doug Evans <dje@google.com>
14409
14410 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14411 event.
14412 * gdb.python/py-events.py: Add clear_objfiles event.
14413
144142014-10-17 Doug Evans <dje@google.com>
14415
14416 * gdb.python/py-objfile.exp: Test progspace attribute.
14417
144182014-10-17 Luis Machado <lgustavo@codesourcery.com>
14419
14420 * gdb.guile/scm-breakpoint.exp: Do not assume any
14421 directory separators when matching source file paths.
14422 * gdb.python/py-breakpoint.exp: Likewise.
14423 * gdb.reverse/break-precsave.exp: Likewise.
14424 * gdb.reverse/break-reverse.exp: Likewise.
14425 * gdb.reverse/consecutive-precsave.exp: Likewise.
14426 * gdb.reverse/finish-precsave.exp: Likewise.
14427 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14428 * gdb.reverse/finish-reverse.exp: Likewise.
14429 * gdb.reverse/i386-precsave.exp: Likewise.
14430 * gdb.reverse/i387-env-reverse.exp: Likewise.
14431 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14432 * gdb.reverse/machinestate-precsave.exp: Likewise.
14433 * gdb.reverse/machinestate.exp: Likewise.
14434 * gdb.reverse/sigall-precsave.exp: Likewise.
14435 * gdb.reverse/solib-precsave.exp: Likewise.
14436 * gdb.reverse/step-precsave.exp: Likewise.
14437 * gdb.reverse/until-precsave.exp: Likewise.
14438 * gdb.reverse/watch-precsave.exp: Likewise.
14439 * gdb.reverse/watch-reverse.exp: Likewise.
14440
144412014-10-17 Yao Qi <yao@codesourcery.com>
14442
14443 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14444 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14445
144462014-10-17 Pedro Alves <palves@redhat.com>
14447
14448 PR gdb/17471
14449 * gdb.base/bg-execution-repeat.c: New file.
14450 * gdb.base/bg-execution-repeat.exp: New file.
14451
144522014-10-17 Pedro Alves <palves@redhat.com>
14453
14454 PR gdb/17300
14455 * gdb.base/continue-all-already-running.c: New file.
14456 * gdb.base/continue-all-already-running.exp: New file.
14457
144582014-10-17 Pedro Alves <palves@redhat.com>
14459
14460 PR gdb/17472
14461 * gdb.base/annota-input-while-running.c: New file.
14462 * gdb.base/annota-input-while-running.exp: New file.
14463
144642014-10-17 Pedro Alves <palves@redhat.com>
14465
14466 * gdb.base/callfuncs.exp: emove references to osf.
14467 * gdb.base/sigall.exp: Likewise.
14468 * gdb.gdb/selftest.exp: Likewise.
14469 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14470 * gdb.mi/non-stop.c: Likewise.
14471 * gdb.mi/pthreads.c: Likewise.
14472 * gdb.reverse/sigall-precsave.exp: Likewise.
14473 * gdb.reverse/sigall-reverse.exp: Likewise.
14474 * gdb.threads/pthreads.c: Likewise.
14475 * gdb.threads/pthreads.exp: Likewise.
14476
144772014-10-17 Yao Qi <yao@codesourcery.com>
14478
14479 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14480 check 'target_info exists noargs'.
14481 (test_command_prompt_position): Likewise.
14482 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14483 Remove "set args".
14484 (progvar_simple_while_test): Likewise.
14485 (progvar_complex_if_while_test): Likewise.
14486 (if_while_breakpoint_command_test): Likewise.
14487 (infrun_breakpoint_command_test): Likewise.
14488 (breakpoint_command_test): Likewise.
14489 (watchpoint_command_test): Likewise.
14490 (bp_deleted_in_command_test): Likewise.
14491 (temporary_breakpoint_commands): Likewise.
14492
144932014-10-16 Yao Qi <yao@codesourcery.com>
14494
14495 * gdb.base/remotetimeout.exp: Remove noargs checking.
14496
144972014-10-15 Pedro Alves <palves@redhat.com>
14498
14499 PR breakpoints/9649
14500 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14501 * gdb.base/breakpoint-in-ro-region.exp
14502 (probe_target_hardware_step): New procedure.
14503 (top level): Probe hardware stepping and hardware breakpoint
14504 support. Test stepping through a read-only region, with both
14505 "breakpoint auto-hw" on and off and both "always-inserted" on and
14506 off.
14507
145082014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14509
14510 * gdb.dlang/demangle.exp: Update for demangling changes.
14511
145122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14513
14514 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14515 * gdb.cp/non-trivial-retval.exp: Add new tests.
14516
145172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14518
14519 PR c++/13403
14520 PR c++/15154
14521 * gdb.cp/non-trivial-retval.cc: New file.
14522 * gdb.cp/non-trivial-retval.exp: New file.
14523
145242014-10-15 Yao Qi <yao@codesourcery.com>
14525
14526 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14527 remote host.
14528
145292014-10-15 Yao Qi <yao@codesourcery.com>
14530
14531 * gdb.python/py-symbol.exp: Match file base name if host is
14532 remote, otherwise match file name with dir name.
14533 * gdb.python/py-symtab.exp: Likewise.
14534 * gdb.python/python.exp: Likewise.
14535
145362014-10-15 Yao Qi <yao@codesourcery.com>
14537
14538 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14539 pattern.
14540 * gdb.python/py-symtab.exp: Likewise.
14541 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14542 locationn.
14543
145442014-10-14 Joel Brobecker <brobecker@adacore.com>
14545
14546 * gdb.ada/addr_arith: New testcase.
14547
145482014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14549
14550 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14551 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14552 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14553 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14554
145552014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14556
14557 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14558 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14559 * gdb.arch/stap-eval-lang-ada.exp: New file.
14560
145612014-10-14 Yao Qi <yao@codesourcery.com>
14562
14563 * gdb.mi/mi-var-child.c (nothing1): New function.
14564 (nothing2): New function.
14565 (do_children_tests): Set function pointers by nothing1 and
14566 nothing2.
14567 * gdb.mi/mi-var-child.exp: Step over new added statements.
14568 Update test to match the new output.
14569 * gdb.mi/var-cmd.c (nothing1): New function.
14570 (nothing2): New function.
14571 (do_children_tests): Set function pointers by nothing1 and
14572 nothing2.
14573 * gdb.mi/mi-var-display.exp: Update test to match output.
14574 Step to the line specified by $line_dct_nothing.
14575 Increase the number of lines to step.
14576
145772014-10-14 Yao Qi <yao@codesourcery.com>
14578
14579 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14580 tests.
14581 * gdb.mi/mi2-var-child.exp: Likewise.
14582
145832014-10-13 Doug Evans <dje@google.com>
14584
14585 * gdb.python/py-objfile.exp: Change name of file name test.
14586
145872014-10-13 Doug Evans <dje@google.com>
14588
14589 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14590 from the start of the CU.
14591
145922014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14593 Yao Qi <yao@codesourcery.com>
14594
14595 Fix "save breakpoints" for "catch" command.
14596 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14597 Remove -nonewline. Match also the added "main" line.
14598
145992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14600
14601 Fix "save breakpoints" for "disable $bpnum" command.
14602 * gdb.base/save-bp.c (main): Add label.
14603 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14604
146052014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14606
14607 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14608
146092014-10-11 Yao Qi <yao@codesourcery.com>
14610
14611 * gdb.server/server-kill.exp: Execute command
14612 "set remote trace-status-packet on" before "tstatus".
14613
146142014-10-11 Yao Qi <yao@codesourcery.com>
14615
14616 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14617 (main): Call getppid.
14618 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14619 and continue to it. Read variable "server_pid".
14620
146212014-10-11 Yao Qi <yao@codesourcery.com>
14622
14623 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14624
146252014-10-11 Yao Qi <yao@codesourcery.com>
14626
14627 * gdb.threads/thread-find.exp: Don't execute command
14628 "info threads".
14629 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14630 * gdb.threads/linux-dp.exp: Don't check the condition
14631 $threads_created equals to zero.
14632
146332014-10-10 Pedro Alves <palves@redhat.com>
14634
14635 * gdb.base/bigcore.exp: Remove references to IRIX.
14636 * gdb.base/funcargs.exp: Likewise.
14637 * gdb.base/interrupt.exp: Likewise.
14638 * gdb.base/mips_pro.exp: Likewise.
14639 * gdb.base/nodebug.exp: Likewise.
14640 * gdb.base/setvar.exp: Likewise.
14641 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14642
146432014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14644 Pedro Alves <palves@redhat.com>
14645
14646 PR symtab/14466
14647 * gdb.base/vdso-warning.c: New file.
14648 * gdb.base/vdso-warning.exp: New file.
14649
146502014-10-02 Doug Evans <dje@google.com>
14651
14652 * gdb.base/structs.c (main): Don't run forever.
14653
146542014-10-02 Pedro Alves <palves@redhat.com>
14655
14656 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14657 (top level) <stop threads 1, stop threads 2>: Use it.
14658
146592014-10-02 Pedro Alves <palves@redhat.com>
14660
14661 * gdb.threads/break-while-running.exp (test): Add new
14662 'update_thread_list' argument. Skip "info threads" if false.
14663 (top level): Add new 'update_thread_list' axis.
14664
146652014-10-02 Pedro Alves <palves@redhat.com>
14666
14667 PR breakpoints/17431
14668 * gdb.base/execl-update-breakpoints.c: New file.
14669 * gdb.base/execl-update-breakpoints.exp: New file.
14670
146712014-10-01 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.base/breakpoint-in-ro-region.c: New file.
14674 * gdb.base/breakpoint-in-ro-region.exp: New file.
14675
146762014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14677
14678 * gdb.mi/mi-exit-code.exp: New file.
14679 * gdb.mi/mi-exit-code.c: New file.
14680
146812014-09-30 Yao Qi <yao@codesourcery.com>
14682
14683 * lib/prelink-support.exp (build_executable_own_libs): Error if
14684 the target isn't native.
14685
146862014-09-30 Yao Qi <yao@codesourcery.com>
14687
14688 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14689 false.
14690
146912014-09-22 Pedro Alves <palves@redhat.com>
14692
14693 * gdb.threads/break-while-running.exp: New file.
14694 * gdb.threads/break-while-running.c: New file.
14695
146962014-09-19 Yao Qi <yao@codesourcery.com>
14697
14698 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14699 Invoke test. Restart GDB with --readnow and invoke test again.
14700
147012014-09-19 Yao Qi <yao@codesourcery.com>
14702
14703 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14704 proc set_breakpoint_on_gcd_function. Invoke
14705 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14706 invoke set_breakpoint_on_gcd_function again.
14707
147082014-09-18 Doug Evans <dje@google.com>
14709
14710 * gdb.dwarf2/symtab-producer.exp: New file.
14711
147122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14713
14714 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14715 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14716 * gdb.base/global-var-nested-by-dso.c: Likewise.
14717 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14718
147192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14720 Pedro Alves <palves@redhat.com>
14721
14722 * gdb.base/watch-bitfields.exp: Pass string other than test file
14723 name to prepare_for_testing.
14724 (watch): New procedure.
14725 (expect_watchpoint): Use with_test_prefix.
14726 (top level): Factor out tests to ...
14727 (test_watch_location, test_regular_watch): ... these new
14728 procedures, and use with_test_prefix and gdb_continue_to_end.
14729
147302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14731
14732 PR breakpoints/12526
14733 * gdb.base/watch-bitfields.exp: New file.
14734 * gdb.base/watch-bitfields.c: New file.
14735
147362014-09-16 Pedro Alves <palves@redhat.com>
14737
14738 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14739 software and hardware addresses, not software address against
14740 itself.
14741
147422014-09-16 Pedro Alves <palves@redhat.com>
14743
14744 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14745 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14746
147472014-09-16 Pedro Alves <palves@redhat.com>
14748
14749 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14750 files.
14751 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14752 "*-*-vxworks*" throughout.
14753 * gdb.base/break.exp: Likewise.
14754 * gdb.base/default.exp: Likewise.
14755 * gdb.base/scope.exp: Likewise.
14756 * gdb.base/sepdebug.exp: Likewise.
14757 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14758 throughout.
14759 * gdb.base/run.c: Likewise.
14760 * gdb.base/sepdebug.c: Likewise.
14761 * gdb.hp/gdb.aCC/run.c: Likewise.
14762 * gdb.reverse/until-reverse.c: Likewise.
14763 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14764
147652014-09-16 Yao Qi <yao@codesourcery.com>
14766
14767 * boards/local-remote-host-native.exp: New file.
14768
147692014-09-14 Doug Evans <xdje42@gmail.com>
14770
14771 * gdb.threads/queue-signal.c (thread_count): New variable.
14772 (thread_count_mutex, thread_count_condvar): New variables.
14773 (incr_thread_count, wait_all_threads_running): New functions.
14774 (main): Wait for all threads to be in their thread functions.
14775
147762014-09-13 Doug Evans <xdje42@gmail.com>
14777
14778 * gdb.threads/queue-signal.c: New file.
14779 * gdb.threads/queue-signal.exp: New file.
14780
147812014-09-13 Doug Evans <xdje42@gmail.com>
14782
14783 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14784 be consistent with what default_gdb_init uses.
14785 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14786 the plain text of the prompt. Add some logging printfs.
14787 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14788
147892014-09-12 Pedro Alves <palves@redhat.com>
14790
14791 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14792 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14793 * gdb.arch/i386-size-overlap.exp: Likewise.
14794 * gdb.arch/i386-size.exp: Likewise.
14795 * gdb.arch/i386-unwind.exp: Likewise.
14796 * gdb.base/a2-run.exp: Likewise.
14797 * gdb.base/break.exp: Likewise.
14798 * gdb.base/charset.exp: Likewise.
14799 * gdb.base/chng-syms.exp: Likewise.
14800 * gdb.base/commands.exp: Likewise.
14801 * gdb.base/dbx.exp: Likewise.
14802 * gdb.base/find.exp: Likewise.
14803 * gdb.base/funcargs.exp: Likewise.
14804 * gdb.base/jit-simple.exp: Likewise.
14805 * gdb.base/reread.exp: Likewise.
14806 * gdb.base/sepdebug.exp: Likewise.
14807 * gdb.base/step-bt.exp: Likewise.
14808 * gdb.cp/mb-inline.exp: Likewise.
14809 * gdb.cp/mb-templates.exp: Likewise.
14810 * gdb.objc/basicclass.exp: Likewise.
14811 * gdb.threads/killed.exp: Likewise.
14812
148132014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14814
14815 PR tdep/17379
14816 * gdb.arch/powerpc-stackless.S: New file.
14817 * gdb.arch/powerpc-stackless.exp: New file.
14818
148192014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14820
14821 * gdb.base/attach.c: Include unistd.h.
14822 (main): Call alarm. Add label postloop.
14823 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14824 gdb_breakpoint, gdb_continue_to_breakpoint.
14825 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14826
148272014-09-11 Pedro Alves <palves@redhat.com>
14828
14829 PR gdb/17347
14830 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14831 * gdb.base/attach.exp (test_command_line_attach_run): New
14832 procedure.
14833 (top level): Call it.
14834
148352014-09-11 Pedro Alves <palves@redhat.com>
14836
14837 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14838 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14839 (do_command_attach_tests): Use spawn_wait_for_attach.
14840 * gdb.base/solib-overlap.exp: Likewise.
14841 * gdb.multi/multi-attach.exp: Likewise.
14842 * gdb.python/py-prompt.exp: Likewise.
14843 * gdb.python/py-sync-interp.exp: Likewise.
14844 * gdb.server/ext-attach.exp: Likewise.
14845
148462014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14847
14848 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14849 command in testcase. Simplify testcase.
14850
148512014-09-10 Joel Brobecker <brobecker@adacore.com>
14852
14853 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14854
148552014-09-10 Joel Brobecker <brobecker@adacore.com>
14856
14857 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14858
148592014-09-10 Joel Brobecker <brobecker@adacore.com>
14860
14861 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14862
148632014-09-10 Joel Brobecker <brobecker@adacore.com>
14864
14865 * gdb.dwarf2/dynarr-ptr.c: New file.
14866 * gdb.dwarf2/dynarr-ptr.exp: New file.
14867
148682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14869
14870 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14871 of 30 rather than hardcoding 120 for a slow test case. Take the
14872 `gdb,timeout' target setting into account for this calculation.
14873 Don't extend the timeout for the test cases that don't need it.
14874
148752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14876
14877 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14878 a factor of 2 for a slow test case. Take the `gdb,timeout'
14879 target setting into account for this calculation.
14880 * gdb.reverse/until-precsave.exp: Increase the timeout by
14881 a factor of 15 and 3 respectively rather than adding 120
14882 for a pair of slow test cases. Take the `gdb,timeout'
14883 target setting into account for this calculation.
14884
148852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14886
14887 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14888 timeout, don't pass one down to gdb_expect.
14889 (gdb_expect): Rework timeout selection.
14890
148912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14892
14893 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14894 exception on timeout.
14895 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14896 (gdbserver_start_extended): Catch any `gdbserver_start' error
14897 exceptions.
14898 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14899 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14900 `gdbserver_gdb_load' error exceptions.
14901
149022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14903
14904 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14905 120 on waiting for the TCP socket to open.
14906
149072014-09-09 Doug Evans <xdje42@gmail.com>
14908
14909 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14910 _caller_matches, _any_caller_is, _any_caller_matches.
14911
149122014-09-09 Doug Evans <xdje42@gmail.com>
14913
14914 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14915
149162014-09-09 Yao Qi <yao@codesourcery.com>
14917
14918 * gdb.mi/mi-var-display.exp: Set print symbol off.
14919
149202014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14921
14922 PR gdb/17035
14923 * gdb.base/commands.exp: Add tests to verify user-defined
14924 commands with empty bodies.
14925 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14926 python commands in `show user command`.
14927 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14928 scheme commands in `show user command`.
14929
149302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14931
14932 PR python/17355
14933 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14934 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14935 * gdb.python/py-framefilter-invalidarg.exp: New file.
14936 * gdb.python/py-framefilter-invalidarg.py: New file.
14937
149382014-09-06 Doug Evans <xdje42@gmail.com>
14939
14940 PR 15276
14941 * gdb.python/py-caller-is.c: New file.
14942 * gdb.python/py-caller-is.exp: New file.
14943
149442014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14945
14946 PR gdb/17235
14947 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14948 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14949
149502014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14951
14952 PR fortran/17237
14953 * gdb.fortran/print-formatted.exp: New file.
14954 * gdb.fortran/print-formatted.f90: Likewise.
14955
149562014-09-03 Sasha Smundak <asmundak@google.com>
14957
14958 * gdb.python/py-frame.exp: Test Frame.read_register.
14959
149602014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14961
14962 PR python/16699
14963 * gdb.python/py-completion.exp: New file.
14964 * gdb.python/py-completion.py: Likewise.
14965
149662014-08-28 Doug Evans <dje@google.com>
14967
14968 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14969 eax,etc. are live with values set by gdb and thus the compiler can't
14970 use them.
14971 * gdb.arch/i386-pseudo.c (main): Ditto.
14972
149732014-08-27 Doug Evans <dje@google.com>
14974
14975 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14976
149772014-08-25 Doug Evans <dje@google.com>
14978
14979 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14980 (main): Ditto.
14981
149822014-08-25 Doug Evans <dje@google.com>
14983
14984 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14985
149862014-08-24 Yao Qi <yao@codesourcery.com>
14987
14988 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14989 symbol off.
14990 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14991
149922014-08-22 Doug Evans <dje@google.com>
14993
14994 PR 17276
14995 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14996 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14997 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14998
149992014-08-22 Yao Qi <yao@codesourcery.com>
15000
15001 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15002 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15003 * gdb.python/python.exp: Likewise. Use .py file on the host
15004 instead of the build.
15005
150062014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15007
15008 * gdb.threads/gcore-stale-thread.c: New file.
15009 * gdb.threads/gcore-stale-thread.exp: New file.
15010
150112014-08-21 Pedro Alves <palves@redhat.com>
15012
15013 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15014 * gdb.base/gcore-relro-pie.exp: Likewise.
15015 * gdb.base/gcore-relro.exp: Likewise.
15016 * gdb.base/gcore.exp: Likewise.
15017 * gdb.base/print-symbol-loading.exp: Likewise.
15018 * gdb.threads/gcore-thread.exp: Likewise.
15019 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15020
150212014-08-20 Pedro Alves <palves@redhat.com>
15022 Jan Kratochvil <jan.kratochvil@redhat.com>
15023
15024 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15025 configure.
15026 (EXPECT): Handle READ1 being set.
15027 (all): Depend on EXTRA_RULES.
15028 (check-read1, expect-read1, read1.so, read1): New rules.
15029 * README (Testsuite Parameters): Document the READ1 make variable.
15030 (Race detection): New section.
15031 * configure: Regenerate.
15032 * configure.ac: If build==host==target, and running under a
15033 GNU/glibc system, add read1 to the extra Makefile rules.
15034 (EXTRA_RULES): AC_SUBST it.
15035 * lib/read1.c: New file.
15036
150372014-08-20 Joel Brobecker <brobecker@adacore.com>
15038
15039 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15040 the handling of variables declared as a typedef to an array
15041 which a DW_AT_data_location attribute.
15042
150432014-08-19 Andrew Burgess <aburgess@broadcom.com>
15044 Pedro Alves <palves@redhat.com>
15045
15046 PR symtab/14604
15047 PR symtab/14605
15048 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15049 gdb_test.
15050
150512014-08-19 Pedro Alves <palves@redhat.com>
15052
15053 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15054
150552014-08-19 Yao Qi <yao@codesourcery.com>
15056
15057 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15058 right line.
15059
150602014-08-18 David Blaikie <dblaikie@gmail.com>
15061
15062 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15063
150642014-08-18 Joel Brobecker <brobecker@adacore.com>
15065
15066 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15067 attribute in array range.
15068
150692014-08-18 Joel Brobecker <brobecker@adacore.com>
15070
15071 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15072
150732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15074
15075 PR c++/17132
15076 * gdb.cp/pr17132.cc: New file.
15077 * gdb.cp/pr17132.exp: New file.
15078
150792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15080
15081 * gdb.python/py-xmethods.py (A_getarrayind)
15082 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15083 Use 'print' with function call syntax.
15084 (E_method_matcher.match): Fix tab vs space indentation mixup.
15085
150862014-08-15 Yao Qi <yao@codesourcery.com>
15087
15088 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15089 false.
15090
150912014-08-15 Yao Qi <yao@codesourcery.com>
15092
15093 * gdb.cp/casts.exp: Set print symbol off.
15094 * gdb.cp/class2.exp: Likewise.
15095 * gdb.cp/overload.exp: Likewise.
15096 * gdb.cp/templates.exp: Likewise.
15097
150982014-08-11 Doug Evans <dje@google.com>
15099
15100 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15101 (test_load_shlib): Update.
15102
151032014-08-09 Yao Qi <yao@codesourcery.com>
15104
15105 * gdb.base/display.exp: Invoke is_address_zero_readable.
15106 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15107 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15108 * gdb.base/hbreak-unmapped.exp: Return if
15109 is_address_zero_readable returns true.
15110 * gdb.base/signest.exp: Likewise.
15111 * gdb.base/signull.exp: Likewise.
15112 * gdb.base/sigbpt.exp: Likewise.
15113 * gdb.guile/scm-disasm.exp: Do the test if
15114 is_address_zero_readable returns false.
15115 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15116 * gdb.python/py-arch.exp: Likewise.
15117 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15118 * lib/gdb.exp (is_address_zero_readable): New proc.
15119
151202014-08-09 Yao Qi <yao@codesourcery.com>
15121
15122 PR testsuite/13443
15123 * gdb.mi/mi-var-display.exp: Make test messages unique.
15124
151252014-08-04 Tom Tromey <tromey@redhat.com>
15126
15127 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15128 target 0".
15129
151302014-08-04 Tom Tromey <tromey@redhat.com>
15131
15132 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15133 "target_resume".
15134
151352014-08-01 Joel Brobecker <brobecker@adacore.com>
15136
15137 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15138 inner_vla_struct_object_size.
15139 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15140 as xfail.
15141
151422014-07-30 Pedro Alves <palves@redhat.com>
15143
15144 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15145 comment.
15146
151472014-07-29 Yao Qi <yao@codesourcery.com>
15148
15149 PR gdb/17206
15150 * gdb.base/until-nodebug.exp: New.
15151
151522014-07-28 Doug Evans <xdje42@gmail.com>
15153
15154 PR guile/17203
15155 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15156 previously existing parameter, and previously ambiguously spelled
15157 parameter.
15158
151592014-07-28 Will Newton <will.newton@linaro.org>
15160
15161 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15162
151632014-07-26 Ludovic Courtès <ludo@gnu.org>
15164 Doug Evans <xdje42@gmail.com>
15165
15166 PR guile/17146
15167 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15168
151692014-07-25 Pedro Alves <palves@redhat.com>
15170
15171 * gdb.threads/signal-command-handle-nopass.c: New file.
15172 * gdb.threads/signal-command-handle-nopass.exp: New file.
15173 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15174 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15175 * gdb.threads/signal-delivered-right-thread.c: New file.
15176 * gdb.threads/signal-delivered-right-thread.exp: New file.
15177
151782014-07-25 Pedro Alves <palves@redhat.com>
15179
15180 * gdb.base/double-prompt-target-event-error.exp
15181 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15182 match.
15183 (cancel_pagination_in_target_event): Rework double prompt
15184 detection.
15185 * gdb.base/paginate-after-ctrl-c-running.exp
15186 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15187 <return>' match.
15188 * gdb.base/paginate-bg-execution.exp
15189 (test_bg_execution_pagination_return)
15190 (test_bg_execution_pagination_cancel): Remove '-notransfer
15191 <return>' matches.
15192 * gdb.base/paginate-execution-startup.exp
15193 (test_fg_execution_pagination_return)
15194 (test_fg_execution_pagination_cancel): Remove '-notransfer
15195 <return>' matches.
15196 * gdb.base/paginate-inferior-exit.exp
15197 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15198 match.
15199 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15200 * lib/gdb.exp (pagination_prompt): Run text through
15201 string_to_regexp.
15202 (gdb_test_multiple): Match $pagination_prompt instead of
15203 "<return>".
15204 (string_to_regexp): Move to lib/gdb-utils.exp.
15205
152062014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15207
15208 * gdb.arch/amd64-entry-value-paramref.S: New file.
15209 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15210 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15211 * gdb.arch/amd64-optimout-repeat.S: New file.
15212 * gdb.arch/amd64-optimout-repeat.c: New file.
15213 * gdb.arch/amd64-optimout-repeat.exp: New file.
15214
152152014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15216
15217 PR gdb/17170
15218 * gdb.base/statistics.exp: New file.
15219
152202014-07-17 Doug Evans <dje@google.com>
15221
15222 PR gdb/17170
15223 * gdb.base/maint.exp: Update testing of per-command stats.
15224
152252014-07-16 Pedro Alves <palves@redhat.com>
15226
15227 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15228 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15229 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15230 (tfile_write_buf): New functions.
15231 (add_memory_block): Rewrite using the above.
15232 (adjust_function_address): New function.
15233 (FUNCTION_ADDRESS): New macro.
15234 (write_basic_trace_file): Remove short_x local, and use
15235 tfile_write_16. Change type of func_addr local to unsigned long
15236 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15237 here. Cast argument of add_memory_block to char pointer.
15238 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15239 (main): Remove parameters.
15240 * gdb.trace/tfile.exp: Remove nowarnings.
15241
152422014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15243
15244 * gdb.base/debug-expr.exp: Test string evaluation with
15245 "debug expression" on.
15246
152472014-07-15 Pedro Alves <palves@redhat.com>
15248
15249 * gdb.base/reread.exp: Use clean_restart.
15250
152512014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15252
15253 * gdb.arch/avr-flash-qualifer.c: New.
15254 * gdb.arch/avr-flash-qualifer.exp: New.
15255
152562014-07-14 Pedro Alves <palves@redhat.com>
15257
15258 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15259 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15260
152612014-07-14 Pedro Alves <palves@redhat.com>
15262
15263 * gdb.base/double-prompt-target-event-error.c: New file.
15264 * gdb.base/double-prompt-target-event-error.exp: New file.
15265
152662014-07-14 Pedro Alves <palves@redhat.com>
15267
15268 PR gdb/17072
15269 * gdb.base/paginate-inferior-exit.c: New file.
15270 * gdb.base/paginate-inferior-exit.exp: New file.
15271
152722014-07-14 Pedro Alves <palves@redhat.com>
15273
15274 PR gdb/17072
15275 * gdb.base/paginate-bg-execution.c: New file.
15276 * gdb.base/paginate-bg-execution.exp: New file.
15277
152782014-07-14 Pedro Alves <palves@redhat.com>
15279
15280 PR gdb/17072
15281 * gdb.base/paginate-execution-startup.c: New file.
15282 * gdb.base/paginate-execution-startup.exp: New file.
15283 * lib/gdb.exp (pagination_prompt): New global.
15284 (default_gdb_spawn): New procedure, factored out from
15285 default_gdb_spawn.
15286 (default_gdb_start): Adjust to call default_gdb_spawn.
15287 (gdb_spawn): New procedure.
15288
152892014-07-14 Pedro Alves <palves@redhat.com>
15290
15291 * lib/gdb.exp (gdb_assert): New procedure.
15292 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15293
152942014-07-14 Pedro Alves <palves@redhat.com>
15295
15296 * gdb.base/execution-termios.c: New file.
15297 * gdb.base/execution-termios.exp: New file.
15298
152992014-07-14 Tom Tromey <tromey@redhat.com>
15300
15301 * gdb.cp/vla-cxx.cc: New file.
15302 * gdb.cp/vla-cxx.exp: New file.
15303
153042014-07-14 Tom Tromey <tromey@redhat.com>
15305
15306 * gdb.reverse/rerun-prec.c: New file.
15307 * gdb.reverse/rerun-prec.exp: New file.
15308
153092014-07-12 Maciej W. Rozycki <macro@mips.com>
15310 Maciej W. Rozycki <macro@codesourcery.com>
15311
15312 * lib/gdb-utils.exp: New file.
15313 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15314 inline `gdb_init_command' processing.
15315 (gdb_start_cmd): Likewise.
15316 * lib/mi-support.exp (mi_run_cmd): Likewise.
15317 * README: Document `gdb_init_command' and `gdb_init_commands'.
15318
153192014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15320
15321 Fix false FAIL running under a very long directory name.
15322 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15323 and "set print elements 10000". Twice.
15324
153252014-07-11 Yao Qi <yao@codesourcery.com>
15326
15327 * gdb.base/exprs.exp: "set print symbol off".
15328
153292014-07-11 Pedro Alves <palves@redhat.com>
15330
15331 * gdb.threads/kill.c: New file.
15332 * gdb.threads/kill.exp: New file.
15333
153342014-07-10 Yao Qi <yao@codesourcery.com>
15335
15336 * gdb.trace/tfile.c (write_basic_trace_file)
15337 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15338 address written to trace file.
15339
153402014-07-09 Pedro Alves <palves@redhat.com>
15341
15342 * gdb.base/attach-wait-input.exp: New file.
15343 * gdb.base/attach-wait-input.c: New file.
15344
153452014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15346
15347 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15348 setting up test structures.
15349 (main): Call new test function.
15350 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15351 test function, continue into test function and walk test
15352 structures.
15353
153542014-07-02 Yao Qi <yao@codesourcery.com>
15355
15356 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15357 'bar_start' at the beginning of functions 'foo' and 'bar'
15358 respectively.
15359 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15360 instead of 'foo' and 'bar'.
15361
153622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15363
15364 * gdb.btrace/segv.exp: New.
15365 * gdb.btrace/segv.c: New.
15366
153672014-07-02 Luis Machado <lgustavo@codesourcery.com>
15368
15369 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15370 instruction.
15371
153722014-06-30 Mark Wielaard <mjw@redhat.com>
15373
15374 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15375 vulture, vilify, villar): New volatile array constants.
15376 (vindictive, vegetation): New const volatile array constants.
15377 * gdb.base/volatile.exp: Test volatile and const volatile array
15378 types.
15379
153802014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15381
15382 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15383 target lacks support for awatch, rwatch, or hbreak.
15384
153852014-06-27 Yao Qi <yao@codesourcery.com>
15386
15387 * gdb.multi/dummy-frame-restore.exp: New.
15388 * gdb.multi/dummy-frame-restore.c: New.
15389
153902014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15391
15392 * gdb.btrace/gcore.exp: New.
15393
153942014-06-23 Pedro Alves <palves@redhat.com>
15395
15396 * gdb.base/watchpoint-reuse-slot.c: New file.
15397 * gdb.base/watchpoint-reuse-slot.exp: New file.
15398
153992014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15400
15401 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15402 progspace's filename in 'info', 'enable' and 'disable' command
15403 tests.
15404
154052014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15406
15407 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15408 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15409 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15410
154112014-06-20 Gary Benson <gbenson@redhat.com>
15412
15413 * gdb.arch/i386-avx.exp: Fix include file location.
15414 * gdb.arch/i386-sse.exp: Likewise.
15415
154162014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15417
15418 * gdb.dlang/expression.exp: New file.
15419
154202014-06-19 Pedro Alves <palves@redhat.com>
15421
15422 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15423 out from ...
15424 (top level): ... here. Iterate running tests under different
15425 scheduler-locking settings.
15426
154272014-06-18 Luis Machado <lgustavo@codesourcery.com>
15428
15429 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15430 to DW_FORM_addr and use non-zero addresses.
15431
154322014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15433
15434 PR gdb/17017
15435 * gdb.python/py-xmethods.cc: Add global function call counters and
15436 increment them in their respective functions. Remove "cout"
15437 statements.
15438 * gdb.python/py-xmethods.exp: Make tests check the global function
15439 call counters instead of depending on inferior IO.
15440
154412014-06-18 Don Breazeal <donb@codesourcery.com>
15442
15443 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15444 Deleted procedure.
15445 (explicit_fork_parent_follow): Deleted procedure.
15446 (explicit_fork_child_follow): Deleted procedure.
15447 (test_follow_fork): New procedure.
15448 (do_fork_tests): Replace calls to deleted procedures with
15449 calls to test_follow_fork and reset GDB for subsequent
15450 procedure calls.
15451
154522014-06-17 Yao Qi <yao@codesourcery.com>
15453
15454 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15455 CP1252.
15456
154572014-06-17 Luis Machado <lgustavo@codesourcery.com>
15458
15459 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15460 Initialize ptr and S explicitly.
15461 (skip_type_update_when_not_use_rtti_test): Likewise.
15462
154632014-06-16 Keith Seitz <keiths@redhat.com>
15464
15465 PR mi/15863
15466 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15467 the inferior is started.
15468
154692014-06-16 Pedro Alves <palves@redhat.com>
15470
15471 * gdb.base/break-main-file-remove-fail.c: New file.
15472 * gdb.base/break-main-file-remove-fail.exp: New file.
15473 * gdb.base/break-unload-file.exp: Use build_executable instead of
15474 prepare_for_testing.
15475 (test_break): New parameter "initial_load". Handle it.
15476 (top level): Add initial_load cmdline/file axis.
15477
154782014-06-12 Tom Tromey <tromey@redhat.com>
15479
15480 * gdb.base/completion.exp: Don't use directory name in test.
15481
154822014-06-09 Gary Benson <gbenson@redhat.com>
15483
15484 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15485 separate the always-available ANSI-standard signals from the
15486 signals that require checking.
15487 (main): Likewise.
15488 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15489 Likewise.
15490 (main): Likewise.
15491
154922014-06-07 Keith Seitz <keiths@redhat.com>
15493
15494 Revert:
15495 PR c++/16253
15496 * gdb.cp/var-tag.cc: New file.
15497 * gdb.cp/var-tag.exp: New file.
15498 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15499 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15500 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15501 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15502
155032014-06-06 Doug Evans <xdje42@gmail.com>
15504
15505 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15506
155072014-06-06 Pedro Alves <palves@redhat.com>
15508
15509 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15510 in target debug output instead of looking at RSP packets,
15511 disabling the test on any target that uses hardware stepping.
15512 Update comments.
15513
155142014-06-06 Pedro Alves <palves@redhat.com>
15515
15516 * gdb.base/break-unload-file.exp: Fix typo.
15517
155182014-06-06 Yao Qi <yao@codesourcery.com>
15519
15520 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15521 from "jit_function" to "^jit_function".
15522
155232014-06-06 Yao Qi <yao@codesourcery.com>
15524
15525 * gdb.base/async.c (foo): Add one statement.
15526 * gdb.base/async.exp: Get the next instruction address and
15527 match the output of "nexti" by instruction address. Match
15528 the hex address in the output of "finish".
15529
155302014-06-06 Gary Benson <gbenson@redhat.com>
15531
15532 * gdb.base/call-signals.c: Remove preprocessor conditionals
15533 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15534 SIGSEGV and SIGTERM.
15535 * gdb.base/sigall.c: Likewise.
15536 * gdb.base/unwindonsignal.c: Likewise.
15537 * gdb.reverse/sigall-reverse.c: Likewise.
15538
155392014-06-06 Yao Qi <yao@codesourcery.com>
15540
15541 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15542 readable, skip the test.
15543
155442014-06-06 Yao Qi <yao@codesourcery.com>
15545
15546 * gdb.threads/staticthreads.c (thread_function): Move the line
15547 setting breakpoint on forward.
15548 * gdb.threads/staticthreads.exp: Update comments.
15549
155502014-06-05 Ludovic Courtès <ludo@gnu.org>
15551
15552 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15553 "history-append! type error".
15554
155552014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15556
15557 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15558 erroneous dprintf expected input.
15559
155602014-06-04 Doug Evans <xdje42@gmail.com>
15561
15562 * gdb.guile/scm-generics.exp: Delete.
15563
155642014-06-04 Doug Evans <xdje42@gmail.com>
15565
15566 * gdb.guile/scm-breakpoint.exp: Update.
15567 Add tests for breakpoint registration.
15568
155692014-06-04 Tom Tromey <tromey@redhat.com>
15570
15571 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15572 VLA-in-union.
15573 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15574 inner_vla_struct, vla_union types. Initialize objects of those
15575 types and compute their sizes.
15576
155772014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15578 Hui Zhu <hui@codesourcery.com>
15579
15580 * gdb.base/fileio.exp: Add test for shell not available as well as
15581 available.
15582 * gdb.base/fileio.c (test_system): Check for shell twice.
15583
155842014-06-04 Yao Qi <yao@codesourcery.com>
15585
15586 * gdb.base/auto-connect-native-target.exp: Remove redundant
15587 space from the regexp pattern.
15588
155892014-06-04 Yao Qi <yao@codesourcery.com>
15590
15591 * gdb.base/default.exp: Replace "child" with "native" in
15592 regexp pattern.
15593
155942014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15595
15596 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15597 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15598 * gdb.python/py-xmethods.py: Python script supporting the
15599 new testcase and tests.
15600
156012014-06-03 Joel Brobecker <brobecker@adacore.com>
15602 Pedro Alves <palves@redhat.com>
15603
15604 PR breakpoints/17000
15605 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15606 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15607
156082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15609
15610 * gdb.base/subst.exp: Add tests to verify partial path matching
15611 output.
15612
156132014-06-03 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15616 target that doesn't use software single-stepping.
15617
156182014-06-03 Pedro Alves <palves@redhat.com>
15619
15620 PR breakpoints/17000
15621 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15622 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15623
156242014-06-02 Doug Evans <xdje42@gmail.com>
15625
15626 * gdb.guile/scm-parameter.exp: New file.
15627
156282014-06-02 Doug Evans <xdje42@gmail.com>
15629
15630 * gdb.guile/scm-cmd.c: New file.
15631 * gdb.guile/scm-cmd.exp: New file.
15632
156332014-06-02 Doug Evans <xdje42@gmail.com>
15634
15635 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15636 pretty-printer lookup.
15637 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15638 (make-pp_s-printer): Call it.
15639 (make-pretty-printer-from-dict): New function.
15640 (lookup-pretty-printer-maker-from-dict): New function.
15641 (*pretty-printer*): Simplify.
15642 (make-objfile-pp_s-printer): New function.
15643 (install-objfile-pretty-printers!): New function.
15644 (make-progspace-pp_s-printer): New function.
15645 (install-progspace-pretty-printers!): New function.
15646 * gdb.guile/scm-progspace.c: New file.
15647 * gdb.guile/scm-progspace.exp: New file.
15648
156492014-06-02 Pedro Alves <palves@redhat.com>
15650
15651 * gdb.base/dprintf-bp-same-addr.c: New file.
15652 * gdb.base/dprintf-bp-same-addr.exp: New file.
15653
156542014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15655
15656 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15657 * gdb.arch/powerpc-power.s: Likewise.
15658
156592014-06-02 Joel Brobecker <brobecker@adacore.com>
15660
15661 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15662
156632014-06-01 Yao Qi <yao@codesourcery.com>
15664
15665 * gdb.base/watchpoint.exp (test_watch_location): Check null
15666 pointer can be dereferenced. If not, do the test, otherwise
15667 skip it.
15668
156692014-05-30 Andrew Burgess <aburgess@broadcom.com>
15670
15671 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15672 results.
15673 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15674
156752014-05-30 Andrew Burgess <aburgess@broadcom.com>
15676
15677 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15678 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15679 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15680 * gdb.arch/amd64-invalid-stack-top.c: New file.
15681 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15682
156832014-05-30 Pedro Alves <palves@redhat.com>
15684
15685 PR breakpoints/17000
15686 * gdb.base/sss-bp-on-user-bp.c: New file.
15687 * gdb.base/sss-bp-on-user-bp.exp: New file.
15688
156892014-05-30 David Blaikie <dblaikie@gmail.com>
15690
15691 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15692 gnu_inline semantics via attribute.
15693 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15694 source explicitly specifies the required semantics.
15695
156962014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15697
15698 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15699
157002014-05-29 Pedro Alves <palves@redhat.com>
15701 Tom Tromey <tromey@redhat.com>
15702
15703 * gdb.base/async-shell.exp: Don't enable target-async.
15704 * gdb.base/async.exp
15705 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15706 parameter. Adjust.
15707 (top level): Don't test with "target-async".
15708 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15709 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15710 * gdb.base/inferior-died.exp: Don't enable target-async.
15711 * gdb.base/interrupt-noterm.exp: Likewise.
15712 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15713 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15714 * gdb.mi/mi-nonstop.exp: Likewise.
15715 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15716 * gdb.mi/mi-nsintrall.exp: Likewise.
15717 * gdb.mi/mi-nsmoribund.exp: Likewise.
15718 * gdb.mi/mi-nsthrexec.exp: Likewise.
15719 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15720 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15721 * gdb.python/py-evsignal.exp: Don't enable target-async.
15722 * gdb.python/py-evthreads.exp: Likewise.
15723 * gdb.python/py-prompt.exp: Likewise.
15724 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15725 * gdb.server/solib-list.exp: Don't enable target-async.
15726 * gdb.threads/thread-specific-bp.exp: Likewise.
15727 * lib/mi-support.exp: Adjust to use mi-async.
15728
157292014-05-29 Pedro Alves <palves@redhat.com>
15730
15731 PR gdb/13860
15732 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15733 reason, even in sync mode.
15734
157352014-05-29 Pedro Alves <palves@redhat.com>
15736 Hui Zhu <hui@codesourcery.com>
15737
15738 PR PR15693
15739 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15740 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15741 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15742 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15743
157442014-05-28 Joel Brobecker <brobecker@adacore.com>
15745
15746 * config/monitor.exp (gdb_target_monitor): Replace use of
15747 "set remotebaud" by "set serial baud".
15748
157492014-05-26 Andy Wingo <wingo@igalia.com>
15750
15751 * gdb.guile/scm-breakpoint.exp:
15752 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15753 properties instead of gdb-object-properties.
15754
157552014-05-26 Yao Qi <yao@codesourcery.com>
15756
15757 * gdb.server/no-thread-db.exp: Specify source file name
15758 explicitly when setting a breakpoint.
15759
157602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15761
15762 * gdb.btrace/vdso.c: New.
15763 * gdb.btrace/vdso.exp: New.
15764
157652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15766
15767 * gdb.base/gcore.exp (capture_command_output): Move ...
15768 * lib/gdb.exp (capture_command_output): ... here.
15769
157702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15771
15772 * gdb.btrace/data.exp: Test memory access during btrace replay.
15773
157742014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15775
15776 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15777
157782014-05-21 Pedro Alves <palves@redhat.com>
15779
15780 PR gdb/13860
15781 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15782 (top level): Test that output related to execution commands is
15783 sent to the console with CLI commands, but not with MI commands.
15784 Test that breakpoint events are always mirrored to the console.
15785 Also expect the new source line to be output after a "next" in
15786 async mode too. Make it a pass/fail test.
15787 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15788 output.
15789 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15790
157912014-05-21 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15794 Use them to test variations of "list" after reaching a breakpoint.
15795 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15796 Test "list" with listsize 10 after reaching a breakpoint.
15797 * gdb.python/python.exp (decode_line current location line
15798 number): Adjust expected line number.
15799
158002014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15801
15802 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15803 behavior for $args, pass it directly to "run".
15804
158052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15806
15807 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15808 30000 to 65536.
15809
158102014-05-21 Pedro Alves <palves@redhat.com>
15811
15812 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15813 auto-connect-native-target off".
15814 * gdb.base/auto-connect-native-target.c: New file.
15815 * gdb.base/auto-connect-native-target.exp: New file.
15816
158172014-05-21 Pedro Alves <palves@redhat.com>
15818
15819 * gdb.base/default.exp: Test "target native" instead of "target
15820 child".
15821
158222014-05-21 Mark Wielaard <mjw@redhat.com>
15823
15824 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15825
158262014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15827
15828 Fix TLS access for -static -pthread.
15829 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15830 <HAVE_TLS> (thread_function, main): Initialize it.
15831 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15832 Add clean_restart.
15833 <$have_tls != "">: Check TLSVAR.
15834
158352014-05-21 Pedro Alves <palves@redhat.com>
15836
15837 * gdb.base/dcache-line-read-error.c: New.
15838 * gdb.base/dcache-line-read-error.exp: New.
15839
158402014-05-20 Pedro Alves <palves@redhat.com>
15841
15842 * gdb.base/compare-sections.c: New file.
15843 * gdb.base/compare-sections.exp: New file.
15844
158452014-05-20 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.base/break-idempotent.c: New file.
15848 * gdb.base/break-idempotent.exp: New file.
15849
158502014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15851
15852 * gdb.btrace/nohist.exp: New.
15853
158542014-05-20 Yao Qi <yao@codesourcery.com>
15855
15856 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15857 gdb.reverse directory and gdb_reverse_timeout exists in board
15858 setting.
15859 * README: Document gdb_reverse_timeout.
15860
158612014-05-20 Yao Qi <yao@codesourcery.com>
15862
15863 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15864 'test_file_name'. Treat args as a string instead of a list.
15865 (gdb_init): Rename argument 'args' by 'test_file_name'.
15866
158672014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15868
15869 * gdb.arch/powerpc-power.exp: New file.
15870 * gdb.arch/powerpc-power.s: New file.
15871
158722014-05-16 Doug Evans <dje@google.com>
15873
15874 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15875 * gdb.base/completion.exp: Check that all expected files exist
15876 before doing file completion.
15877
158782014-05-16 Doug Evans <dje@google.com>
15879
15880 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15881 Update.
15882 (do_syscall_tests_without_xml): Update.
15883
158842014-05-16 Pedro Alves <palves@redhat.com>
15885
15886 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15887 instead of "unknown output after running".
15888
158892014-05-16 Yao Qi <yao@codesourcery.com>
15890
15891 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15892 file1.txt from host at the end.
15893 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15894
158952014-05-15 Doug Evans <dje@google.com>
15896
15897 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15898 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15899 loading file. Add test for TU lookup.
15900
159012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15902
15903 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15904 calling "-exec-arguments" or "set args" before running the
15905 inferior.
15906
159072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15908
15909 * lib/mi-support.exp (mi_expect_stop): Expect message for
15910 inferiors that exit with non-zero exit code.
15911
159122014-05-14 Yao Qi <yao@codesourcery.com>
15913
15914 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15915 match absolute path on remote host.
15916 (test_file_list_exec_source_files): Remove "/" from the
15917 pattern.
15918
159192014-05-14 Yao Qi <yao@codesourcery.com>
15920
15921 * boards/local-remote-host-notty.exp (${board}_file): New
15922 proc.
15923
159242014-05-07 Kyle McMartin <kyle@redhat.com>
15925
15926 Pushed by Joel Brobecker <brobecker@adacore.com>.
15927 * gdb.arch/aarch64-atomic-inst.c: New file.
15928 * gdb.arch/aarch64-atomic-inst.exp: New file.
15929
159302014-05-07 Yao Qi <yao@codesourcery.com>
15931
15932 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15933 in current context" too.
15934
159352014-05-05 Keith Seitz <keiths@redhat.com>
15936
15937 * gdb.linespec/ls-dollar.exp: Add test for linespec
15938 file:convenience_variable.
15939
159402014-05-05 Yao Qi <yao@codesourcery.com>
15941
15942 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15943 traceframes into tfile and ctf trace files. Read data from
15944 trace file and test collected data.
15945 (gdb_collect_locals_test): Likewise.
15946 (gdb_unavailable_registers_test): Likewise.
15947 (gdb_unavailable_floats): Likewise.
15948 (gdb_collect_globals_test): Likewise.
15949 (top-level): Append "ctf" to trace_file_targets if GDB
15950 supports.
15951
159522014-05-05 Yao Qi <yao@codesourcery.com>
15953
15954 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15955 code to ...
15956 (gdb_collect_args_test_1): ... it. New proc.
15957 (gdb_collect_locals_test): Move some code to ...
15958 (gdb_collect_locals_test_1): ... it. New proc.
15959 (gdb_unavailable_registers_test): Move some code to ...
15960 (gdb_unavailable_registers_test_1): ... it. New proc.
15961 (gdb_unavailable_floats): Move some code to ...
15962 (gdb_unavailable_floats_1): ... it. New proc.
15963
159642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15965
15966 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15967 probes to test for bitness recognition.
15968 * gdb.arch/amd64-stap-optional-prefix.exp
15969 (test_probe_value_without_reg): New procedure.
15970 Add code to test for different kinds of bitness.
15971
159722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15973
15974 PR breakpoints/16889
15975 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15976 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15977
159782014-05-01 Pedro Alves <palves@redhat.com>
15979
15980 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15981 gdb_file_cmd if no file is specified.
15982 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15983 last_loaded_file to set the remote exec-file.
15984
159852014-05-01 Pedro Alves <palves@redhat.com>
15986
15987 * boards/local-remote-host.exp: New file.
15988
159892014-05-01 Pedro Alves <palves@redhat.com>
15990
15991 * boards/local-remote-host.exp: Rename to ...
15992 * boards/local-remote-host-notty.exp: ... this.
15993
159942014-04-28 Joel Brobecker <brobecker@adacore.com>
15995
15996 * gdb.ada/dyn_arrayidx: New testcase.
15997
159982014-04-26 Yao Qi <yao@codesourcery.com>
15999
16000 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16001 and compute the length of function main. Save it in
16002 $main_length.
16003 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16004 (top-level): Use gdb_compile to compile objects into
16005 executable and restart GDB. Remove invocation to
16006 prepare_for_testing.
16007
160082014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16009 Pedro Alves <palves@redhat.com>
16010
16011 PR server/16255
16012 * gdb.multi/multi-attach.c: New file.
16013 * gdb.multi/multi-attach.exp: New file.
16014
160152014-04-25 Pedro Alves <palves@redhat.com>
16016
16017 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16018 user.
16019 (top level): Test that "set remote conditional-breakpoints-packet
16020 off" works as intended.
16021 * gdb.base/dprintf.exp: Test that "set remote
16022 breakpoint-commands-packet off" works as intended.
16023 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16024 New function.
16025 (top level): Call it.
16026 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16027 remote fast-tracepoints-packet off" works as intended.
16028 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16029 * lib/gdb.exp (gdb_is_target_remote): ... here.
16030
160312014-04-24 David Blaikie <dblaikie@gmail.com>
16032
16033 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16034 ensure clang would not discard them.
16035 * gdb.base/gdbvars.c: Ditto.
16036 * gdb.base/memattr.c: Ditto.
16037 * gdb.base/whatis.c: Ditto.
16038 * gdb.python/py-prettyprint.c: Ditto.
16039 * gdb.trace/actions.c: Ditto.
16040 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16041 ensure clang would not discard it.
16042
160432014-04-24 David Blaikie <dblaikie@gmail.com>
16044
16045 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16046 clang to emit the full definition of type required by the test
16047 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16048
160492014-04-24 David Blaikie <dblaikie@gmail.com>
16050
16051 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16052 coax Clang into emitting the definition of the type.
16053 * gdb.cp/pr10728-x.h (y): Ditto.
16054 * gdb.cp/pr10728-y.cc (y): Ditto.
16055
160562014-04-24 David Blaikie <dblaikie@gmail.com>
16057
16058 * gdb.base/label.exp: XFAIL label related tests under Clang.
16059 * gdb.cp/cplabel.exp: Ditto.
16060 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16061 under Clang those using labels.
16062
160632014-04-25 Yao Qi <yao@codesourcery.com>
16064
16065 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16066 double_label.
16067 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16068 partial_label and double_label.
16069
160702014-04-24 David Blaikie <dblaikie@gmail.com>
16071
16072 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16073
160742014-04-24 David Blaikie <dblaikie@gmail.com>
16075
16076 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16077 of the function to work across GCC and Clang.
16078 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16079 pointer types (const void ** const V void **).
16080
160812014-04-24 Michael Sturm <michael.sturm@mintel.com>
16082 Walfred Tedeschi <walfred.tedeschi@intel.com>
16083
16084 * Makefile.in (EXECUTABLES): Added i386-avx512.
16085 * gdb.arch/i386-avx512.c: New file.
16086 * gdb.arch/i386-avx512.exp: Likewise.
16087
160882014-04-23 Keith Seitz <keiths@redhat.com>
16089
16090 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16091 (mi_make_breakpoint_table): New procedure.
16092 (mi_create_breakpoint): Use mi_make_breakpoint
16093 and return the result.
16094 (mi_make_breakpoint): New procedure.
16095 (mi_build_kv_pairs): New procedure.
16096
16097 * gdb.mi/mi-break.exp: Remove unused globals,
16098 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16099 All callers updated.
16100 * gdb.mi/mi-dprintf.exp: Use variable to track command
16101 number.
16102 Update all callers of mi_create_breakpoint and use
16103 mi_make_breakpoint_table.
16104 Remove any unused global variables.
16105 * gdb.mi/mi-nonstop.exp: Likewise.
16106 * gdb.mi/mi-nsintrall.exp: Likewise.
16107 * gdb.mi/mi-nsmoribund.exp: Likewise.
16108 * gdb.mi/mi-nsthrexec.exp: Likewise.
16109 * gdb.mi/mi-reverse.exp: Likewise.
16110 * gdb.mi/mi-simplerun.exp: Likewise.
16111 * gdb.mi/mi-stepn.exp: Likewise.
16112 * gdb.mi/mi-syn-frame.exp: Likewise.
16113 * gdb.mi/mi-until.exp: Likewise.
16114 * gdb.mi/mi-var-cp.exp: Likewise.
16115 * gdb.mi/mi-var-display.exp: Likewise.
16116 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16117 * gdb.mi/mi2-var-child.exp: Likewise.
16118 * gdb.mi/mi-vla-c99.exp: Likewise.
16119 * lib/mi-support.exp: Likewise.
16120
16121 From Ian Lance Taylor <iant@cygnus.com>:
16122 * lib/gdb.exp (parse_args): New procedure.
16123
161242014-04-23 Pedro Alves <palves@redhat.com>
16125
16126 * gdb.base/break-unload-file.c: New file.
16127 * gdb.base/break-unload-file.exp: New file.
16128 * gdb.base/sym-file-lib.c (baz): New function.
16129 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16130 field.
16131 (load): Store the segment's mapped size.
16132 (unload): New function.
16133 (unload_shlib): New function.
16134 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16135 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16136 set a breakpoint at baz, and call it.
16137 * gdb.base/sym-file.exp: New tests for stale breakpoint
16138 instructions.
16139
161402014-04-23 Pedro Alves <palves@redhat.com>
16141
16142 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16143 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16144 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16145 * gdb.base/hbreak-unmapped.c: New file.
16146 * gdb.base/hbreak-unmapped.exp: New file.
16147 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16148 * lib/gdb.exp (gdb_is_target_remote): ... here.
16149
161502014-04-22 Pedro Alves <palves@redhat.com>
16151
16152 * gdb.base/consecutive-step-over.c: New file.
16153 * gdb.base/consecutive-step-over.exp: New file.
16154
161552014-04-22 Pedro Alves <palves@redhat.com>
16156
16157 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16158 instead of send_gdb/gdb_expect.
16159
161602014-04-22 Yao Qi <yao@codesourcery.com>
16161
16162 * lib/trace-support.exp (generate_tracefile): New procedure.
16163 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16164 return 0.
16165 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16166 if generate_tracefile returns 1.
16167
161682014-04-18 Tom Tromey <palves@redhat.com>
16169 Pedro alves <tromey@redhat.com>
16170
16171 PR backtrace/15558
16172 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16173 with a backtrace limit.
16174 * gdb.python/py-frame-inline.exp: Test running to an inline
16175 function with a backtrace limit, and printing the newest frame.
16176 * gdb.python/py-frame-inline.c (main): Call f.
16177
161782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16179
16180 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16181
161822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16183
16184 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16185 Drop prefix from unsupported source file path.
16186
161872014-04-17 Yao Qi <yao@codesourcery.com>
16188
16189 * lib/gdb.exp (with_target_charset): New proc.
16190 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16191 with_target_charset.
16192 (test_print_strings): Likewise.
16193 (test_repeat_bytes): Likewise.
16194 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16195 for some tests.
16196
161972014-04-16 Keith Seitz <keiths@redhat.com>
16198
16199 PR gdb/15827
16200 * gdb.dwarf2/corrupt.c: New file.
16201 * gdb.dwarf2/corrupt.exp: New file.
16202
162032014-04-16 Keith Seitz <keiths@redhat.com>
16204
16205 PR c++/16597
16206 * gdb.cp/namelessclass.cc: New file.
16207 * gdb.cp/namelessclass.exp: New file.
16208 * gdb.cp/namelessclass.S: New file.
16209
162102014-04-16 Doug Evans <dje@google.com>
16211
16212 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16213 Add comment.
16214 (gdbserver_default_get_comm_port): New function.
16215 (gdbserver_start): Check if board file provided
16216 "gdbserver,get_comm_port" and use it if so.
16217 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16218 (gdb,socketport): Set to "stdio".
16219 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16220 (stdio_gdbserver_template): Delete.
16221 (${board}_get_remote_address): Update.
16222 (${board}_build_remote_cmd): Delete.
16223 (${board}_get_comm_port): New function.
16224 (${board}_spawn): Update.
16225 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16226 Delete.
16227 (${board}_get_remote_address): Update.
16228 (${board}_get_comm_port): New function.
16229
162302014-04-16 Andrew Burgess <aburgess@broadcom.com>
16231
16232 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16233 appearing in any order.
16234
162352014-04-15 Doug Evans <dje@google.com>
16236
16237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16238 uninitialized value of "description".
16239
162402014-04-15 Keith Seitz <keiths@redhat.com>
16241
16242 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16243 Remove unused globals.
16244 (test_running_the_program): Likewise.
16245 (test_controlled_execution): Likewise.
16246 (test_controlling_breakpoints): Likewise.
16247 (test_program_termination): Likewise.
16248
162492014-04-15 Keith Seitz <keiths@redhat.com>
16250
16251 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16252 unused globals.
16253 (test_rbreak_creation_and_listing): Likewise.
16254 (test_ignore_count): Likewise.
16255 (test_error): Likewise.
16256
162572014-04-15 Pedro Alves <palves@redhat.com>
16258
16259 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16260 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16261 sym-file-loader.c.
16262 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16263 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16264 to sym-file-loader.c.
16265 (struct library): Forward declare.
16266 (load_shlib, lookup_function): Change prototypes.
16267 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16268 (translate_offset): Remove declarations.
16269 (get_text_addr): New declaration.
16270 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16271 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16272 sym-file-loader.h.
16273 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16274 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16275 here from sym-file-loader.h.
16276 (struct library): New structure.
16277 (load_shlib, lookup_function): Change prototypes and adjust to
16278 work with a struct library.
16279 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16280 (translate_offset): Make static.
16281 (get_text_addr): New function.
16282 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16283
162842014-04-15 Pedro Alves <palves@redhat.com>
16285
16286 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16287
162882014-04-15 Pedro Alves <palves@redhat.com>
16289
16290 * gdb.base/sym-file-loader.c: Include <limits.h>.
16291 (SELF_LINK): New define.
16292 (get_origin): New function.
16293 (load_shlib): Use it.
16294 * gdb.base/sym-file.exp: Don't early return if the target is
16295 remote. Use runto_main, and issue fail is that fails. Use
16296 gdb_load_shlibs.
16297 (shlib_name): Delete.
16298 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16299
163002014-04-15 Pedro Alves <palves@redhat.com>
16301
16302 * gdb.base/sym-file.exp: Remove regex characters from test
16303 message. Don't refer to breakpoint numbers in test messages.
16304
163052014-04-14 Keith Seitz <keiths@redhat.com>
16306
16307 PR c++/16253
16308 * gdb.cp/var-tag.cc: New file.
16309 * gdb.cp/var-tag.exp: New file.
16310 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16311 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16312 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16313 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16314
163152014-04-14 Tom Tromey <tromey@redhat.com>
16316
16317 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16318 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16319 type.
16320 * gdb.cp/enum-class.exp: New file.
16321 * gdb.cp/enum-class.cc: New file.
16322
163232014-04-14 Tom Tromey <tromey@redhat.com>
16324
16325 * gdb.dwarf2/enum-type.exp: New file.
16326
163272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16328
16329 * gdb.mi/mi-vla-c99.exp: New file.
16330 * gdb.mi/vla.c: New file.
16331
163322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16333
16334 * gdb.base/vla-datatypes.c: New file.
16335 * gdb.base/vla-datatypes.exp: New file.
16336
163372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16338
16339 * gdb.base/vla-ptr.c: New file.
16340 * gdb.base/vla-ptr.exp: New file.
16341
163422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16343
16344 * gdb.dwarf2/count.exp: New file.
16345
163462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16347
16348 * gdb.base/vla-sideeffect.c: New file.
16349 * gdb.base/vla-sideeffect.exp: New file.
16350
163512014-04-14 David Blaikie <dblaikie@gmail.com>
16352
16353 * gdb.mi/non-stop.c: Add return value for non-void function return
16354 statement.
16355 * gdb.threads/staticthreads.c: Ditto.
16356
163572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16358 Doug Evans <xdje42@gmail.com>
16359
16360 * gdb.guile/scm-value.c: Improve test case.
16361 * gdb.guile/scm-value.exp: Add new test.
16362
163632014-04-11 David Blaikie <dblaikie@gmail.com>
16364
16365 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16366 override Clang's default.
16367
163682014-04-11 Joel Brobecker <brobecker@adacore.com>
16369
16370 Revert the following changes (regressions):
16371
16372 * gdb.base/vla-sideeffect.c: New file.
16373 * gdb.base/vla-sideeffect.exp: New file.
16374
16375 * gdb.dwarf2/count.exp: New file.
16376
16377 * gdb.base/vla-multi.c: New file.
16378 * gdb.base/vla-multi.exp: New file.
16379
16380 * gdb.base/vla-ptr.c: New file.
16381 * gdb.base/vla-ptr.exp: New file.
16382
16383 * gdb.base/vla-datatypes.c: New file.
16384 * gdb.base/vla-datatypes.exp: New file.
16385
16386 * gdb.mi/mi-vla-c99.exp: New file.
16387 * gdb.mi/vla.c: New file.
16388
163892014-04-11 Keith Seitz <keiths@redhat.com>
16390
16391 PR c++/16675
16392 * gdb.cp/cpsizeof.exp: New file.
16393 * gdb.cp/cpsizeof.cc: New file.
16394
163952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16396
16397 * gdb.mi/mi-vla-c99.exp: New file.
16398 * gdb.mi/vla.c: New file.
16399
164002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16401
16402 * gdb.base/vla-datatypes.c: New file.
16403 * gdb.base/vla-datatypes.exp: New file.
16404
164052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16406
16407 * gdb.base/vla-ptr.c: New file.
16408 * gdb.base/vla-ptr.exp: New file.
16409
164102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16411
16412 * gdb.base/vla-multi.c: New file.
16413 * gdb.base/vla-multi.exp: New file.
16414
164152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16416
16417 * gdb.dwarf2/count.exp: New file.
16418
164192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16420
16421 * gdb.base/vla-sideeffect.c: New file.
16422 * gdb.base/vla-sideeffect.exp: New file.
16423
164242014-04-11 Yao Qi <yao@codesourcery.com>
16425
16426 * gdb.base/completion.exp: Check file exists before running tests
16427 on file completion.
16428
164292014-04-10 Pedro Alves <palves@redhat.com>
16430
16431 * gdb.base/cond-eval-mode.c: New file.
16432 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16433 prepare_for_testing to build the new file. Check result of
16434 runto_main.
16435 (test_break, test_watch): New procedures.
16436 (top level): Use them.
16437
164382014-04-08 Pierre Muller <muller@sourceware.org>
16439
16440 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16441 Ctrl-V use for mingw hosts.
16442
164432014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16444
16445 * gdb.python/py-value.c: Improve test case.
16446 * gdb.python/py-value.exp: Add new test.
16447
164482014-04-07 David Blaikie <dblaikie@gmail.com>
16449
16450 * lib/compiler.c: Identify the clang compiler.
16451 * lib/compiler.cc: Ditto.
16452
164532014-04-03 Yao Qi <yao@codesourcery.com>
16454
16455 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16456
164572014-04-01 Anton Blanchard <anton@samba.org>
16458
16459 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16460 messages unique.
16461
164622014-04-01 Anton Blanchard <anton@samba.org>
16463
16464 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16465 prepare_for_testing.
16466
164672014-04-01 Anton Blanchard <anton@samba.org>
16468
16469 * gdb.arch/ppc64-atomic-inst.c: Remove.
16470 * gdb.arch/ppc64-atomic-inst.S: New file.
16471 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16472
164732014-03-31 Doug Evans <dje@google.com>
16474
16475 * gdb.base/print-symbol-loading-lib.c: New file.
16476 * gdb.base/print-symbol-loading-main.c: New file.
16477 * gdb.base/print-symbol-loading.exp: New file.
16478
164792014-03-31 Yao Qi <yao@codesourcery.com>
16480
16481 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16482
164832014-03-28 Joel Brobecker <brobecker@adacore.com>
16484
16485 * gdb.ada/mi_dyn_arr: New testcase.
16486
164872014-03-27 Doug Evans <dje@google.com>
16488
16489 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16490
164912014-03-27 Yao Qi <yao@codesourcery.com>
16492
16493 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16494 if target is nios2-*-*.
16495
164962014-03-26 Yao Qi <yao@codesourcery.com>
16497
16498 * lib/gdb.exp (readline_is_used): New proc.
16499 * gdb.base/completion.exp: Move tests on command complete up.
16500 Skip the rest of tests if readline is not used.
16501 * gdb.ada/complete.exp: Skp the test if readline is not
16502 used.
16503 * gdb.base/filesym.exp: Likewise.
16504 * gdb.base/macscp.exp: Likewise.
16505 * gdb.base/readline-ask.exp: Likewise.
16506 * gdb.base/readline.exp: Likewise.
16507 * gdb.python/py-cmd.exp: Likewise.
16508 * gdb.trace/tfile.exp: Likewise.
16509
165102014-03-26 Yao Qi <yao@codesourcery.com>
16511
16512 * gdb.base/macscp.exp: Fix code format issues.
16513
165142014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16515
16516 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16517 * gdb.asm/powerpc64le.inc: New file.
16518
165192014-03-25 Pedro Alves <palves@redhat.com>
16520 Doug Evans <dje@google.com>
16521
16522 * gdb.base/source-execution.c: New file.
16523 * gdb.base/source-execution.exp: New file.
16524 * gdb.base/source-execution.gdb: New file.
16525
165262014-03-24 Doug Evans <dje@google.com>
16527
16528 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16529 using fission.
16530
165312014-03-24 Hui Zhu <hui@codesourcery.com>
16532 Pedro Alves <palves@redhat.com>
16533
16534 PR breakpoints/16101
16535 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16536 test pass/fail messages. Detect missing support for dprintf when
16537 breakpoints are actually inserted.
16538 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16539 breakpoints are actually inserted.
16540 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16541 fails.
16542
165432014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16544
16545 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16546
165472014-03-22 Doug Evans <xdje42@gmail.com>
16548
16549 * gdb.python/python.exp (python not supported): Verify multi-line
16550 python command issues an error.
16551 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16552 guile command issues an error.
16553
165542014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16555
16556 * gdb.threads/thread-specific.exp: Handle the lack of usable
16557 $this_breakpoint and $this_thread.
16558
165592014-03-21 Hui Zhu <hui@codesourcery.com>
16560
16561 * gdb.base/attach.exp (do_command_attach_tests): New.
16562
165632014-03-20 Tom Tromey <tromey@redhat.com>
16564 Pedro Alves <palves@redhat.com>
16565
16566 PR cli/15718
16567 * gdb.base/condbreak-call-false.c: New file.
16568 * gdb.base/condbreak-call-false.exp: New file.
16569
165702014-03-20 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16573 Delete.
16574 (block_signals, unblock_signals): Delete.
16575 (child_function_2, main): Remove references to deleted variable
16576 and functions.
16577
165782014-03-20 Pedro Alves <palves@redhat.com>
16579
16580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16581 Use pthread_kill to signal thread 2.
16582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16583 Adjust to make the test send itself a signal rather than using the
16584 host's "kill" command.
16585
165862014-03-20 Pedro Alves <palves@redhat.com>
16587
16588 * gdb.threads/multiple-step-overs.c: New file.
16589 * gdb.threads/multiple-step-overs.exp: New file.
16590 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16591 Adjust expected infrun debug output.
16592
165932014-03-20 Pedro Alves <palves@redhat.com>
16594
16595 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16596 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16597
165982014-03-20 Pedro Alves <palves@redhat.com>
16599
16600 PR breakpoints/7143
16601 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16602 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16603 of gdb_test_multiple.
16604 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16605 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16606
166072014-03-20 Pedro Alves <palves@redhat.com>
16608
16609 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16610 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16611
166122014-03-19 Pedro Alves <palves@redhat.com>
16613
16614 * gdb.base/async.exp: Remove early return.
16615
166162014-03-19 Pedro Alves <palves@redhat.com>
16617
16618 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16619
166202014-03-19 Pedro Alves <palves@redhat.com>
16621
16622 * gdb.base/async.exp (test_background): Expect \r\n after
16623 "completed." in the fail pattern.
16624
166252014-03-19 Pedro Alves <palves@redhat.com>
16626
16627 * gdb.base/async.exp (test_background): New procedure.
16628 Use it for all background execution command tests.
16629
166302014-03-19 Pedro Alves <palves@redhat.com>
16631
16632 * gdb.base/async.exp: Use prepare_for_testing.
16633
166342014-03-19 Pedro Alves <palves@redhat.com>
16635
16636 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16637 the same line.
16638
166392014-03-19 Pedro Alves <palves@redhat.com>
16640
16641 * gdb.base/async.c (main): Add "jump here" and "until here" line
16642 marker comments.
16643 * gdb.base/async.exp (jump_here): New global.
16644 (jump& test): Use it.
16645 (until_here): New global.
16646 (until& test): Use it.
16647
166482014-03-19 Pedro Alves <palves@redhat.com>
16649
16650 * gdb.base/async.exp: Don't frob gdb_protocol.
16651
166522014-03-18 Doug Evans <xdje42@gmail.com>
16653
16654 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16655 Fix spelling of exec-done-display.
16656
166572014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16658
16659 PR gdb/15358
16660 * gdb.base/gdb-sigterm.c: New file.
16661 * gdb.base/gdb-sigterm.exp: New file.
16662
166632014-03-18 Pedro Alves <palves@redhat.com>
16664
16665 PR gdb/13860
16666 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16667 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16668 solib-event.
16669
166702014-03-17 Joel Brobecker <brobecker@adacore.com>
16671
16672 * gdb.ada/pckd_arr_ren: New testcase.
16673
166742014-03-13 Doug Evans <xdje42@gmail.com>
16675
16676 PR guile/16612
16677 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16678 collect after discarding symbols.
16679
166802014-03-13 Ludovic Courtès <ludo@gnu.org>
16681 Doug Evans <xdje42@gmail.com>
16682
16683 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16684 to history survives a gc.
16685
166862014-03-13 Pedro Alves <palves@redhat.com>
16687
16688 * gdb.base/default.exp: Don't test "target procfs".
16689
166902014-03-13 Pedro Alves <palves@redhat.com>
16691
16692 * gdb.base/default.exp: Update "target child" and "target procfs"
16693 tests to not expect "Unix".
16694
166952014-03-12 Tom Tromey <tromey@redhat.com>
16696
16697 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16698 New procs. Add target-async tests.
16699 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16700 Add target-async tests.
16701
167022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16703
16704 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16705 'func_start' and 'func_end' for the beginning and end of the
16706 function code, respectively.
16707 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16708 'func_end' instead of 'func' and 'main'.
16709
167102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16711
16712 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16713 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16714 generate the debug info assembler source.
16715
167162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16717
16718 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16719 * gdb.dwarf2/arr-subrange.exp: Likewise.
16720 * gdb.dwarf2/dwz.exp: Likewise.
16721 * gdb.dwarf2/method-ptr.exp: Likewise.
16722 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16723 * gdb.dwarf2/subrange.exp: Likewise.
16724 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16725 * gdb.dwarf2/implptrpiece.exp: Likewise.
16726 * gdb.dwarf2/nostaticblock.exp: Likewise.
16727
167282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16729
16730 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16731 directory to absolute path name arguments.
16732
167332014-03-10 Joel Brobecker <brobecker@adacore.com>
16734
16735 * gdb.ada/tagged_access: New testcase.
16736
167372014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16738
16739 * gdb.btrace/data.exp: Update expected output.
16740
167412014-03-06 Yao Qi <yao@codesourcery.com>
16742
16743 * gdb.trace/pr16508.exp: New file.
16744
167452014-03-05 Pedro Alves <palves@redhat.com>
16746
16747 PR gdb/16575
16748 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16749 procedure.
16750 (top level): Adjust to use it. Add tests that exercise breakpoint
16751 interaction with the code-cache.
16752
167532014-02-26 Ludovic Courtès <ludo@gnu.org>
16754
16755 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16756 test for 'history-append!'.
16757
167582014-02-26 Joel Brobecker <brobecker@adacore.com>
16759
16760 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16761 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16762 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16763 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16764 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16765 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16766
167672014-02-26 Joel Brobecker <brobecker@adacore.com>
16768
16769 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16770 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16771 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16772
167732014-02-26 Joel Brobecker <brobecker@adacore.com>
16774
16775 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16776
167772014-02-26 Joel Brobecker <brobecker@adacore.com>
16778
16779 * gdb.dwarf2/arr-stride.c: New file.
16780 * gdb.dwarf2/arr-stride.exp: New file.
16781
167822014-02-26 Pedro Alves <palves@redhat.com>
16783
16784 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16785 that won't ever trigger. Make sure that GDB reports the correct
16786 breakpoint that caused the stop.
16787
167882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16789
16790 PR gdb/16626
16791 * gdb.base/auto-load-script: New file.
16792 * gdb.base/auto-load.c: New file.
16793 * gdb.base/auto-load.exp: New file.
16794
16795 PR gdb/16626
16796 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16797
167982014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16799
16800 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16801 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16802
168032014-02-24 Doug Evans <dje@google.com>
16804
16805 * lib/gdb.exp (run_on_host): Log error output if program fails.
16806
168072014-02-21 Pedro Alves <palves@redhat.com>
16808
16809 * gdb.threads/step-after-sr-lock.c: Rename to ...
16810 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16811 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16812 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16813 ... this.
16814
168152014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16816
16817 PR tdep/16397
16818 * gdb.arch/amd64-stap-special-operands.exp: New file.
16819 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16820 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16821 * gdb.arch/amd64-stap-triplet.S: Likewise.
16822 * gdb.arch/amd64-stap-triplet.c: Likewise.
16823
168242014-02-20 Joel Brobecker <brobecker@adacore.com>
16825
16826 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16827 in .section pseudo-op.
16828
168292014-02-20 lin zuojian <manjian2006@gmail.com>
16830 Joel Brobecker <brobecker@adacore.com>
16831 Doug Evans <xdje42@gmail.com>
16832
16833 PR symtab/16581
16834 * gdb.dwarf2/dw2-icycle.S: New file.
16835 * gdb.dwarf2/dw2-icycle.c: New file.
16836 * gdb.dwarf2/dw2-icycle.exp: New file.
16837
168382014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16839
16840 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16841 operations on gdb.Value objects.
16842 * gdb.python/py-value-cc.exp: Add new test to test operations on
16843 gdb.Value objects.
16844
168452014-02-18 Doug Evans <dje@google.com>
16846
16847 * Makefile.in (TESTS): New variable.
16848 (expanded_tests, expanded_tests_or_none): New variables
16849 (check-single): Pass $(expanded_tests_or_none) to runtest.
16850 (check-parallel): Only run tests in $(TESTS) if non-empty.
16851 (check/no-matching-tests-found): New rule.
16852 * README: Document TESTS makefile variable.
16853
168542014-02-18 Doug Evans <dje@google.com>
16855
16856 * Makefile.in (check-parallel): rm -rf outputs temp.
16857
168582014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16859
16860 Fix "ERROR: no fileid for" in the testsuite.
16861 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16862
168632014-02-12 Doug Evans <dje@google.com>
16864
16865 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16866 (MISCELLANEOUS): New variable.
16867 (clean): rm -rf $(MISCELLANEOUS).
16868 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16869 dwp live in the same directory as symlinks, with each symlink pointed
16870 to a differently named file in a different directory.
16871
168722014-02-11 Doug Evans <dje@google.com>
16873
16874 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16875 of Tcl file commands.
16876
168772014-02-10 Mark Kettenis <kettenis@gnu.org>
16878
16879 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16880 "kill -SIGUSR1 -1".
16881
168822014-02-10 Joel Brobecker <brobecker@adacore.com>
16883
16884 * gdb.ada/tick_length_array_enum_idx: New testcase.
16885
168862014-02-10 Doug Evans <xdje42@gmail.com>
16887
16888 * configure.ac (AC_OUTPUT): Add gdb.guile.
16889 * configure: Regenerate.
16890 * lib/gdb-guile.exp: New file.
16891 * lib/gdb.exp (get_target_charset): New function.
16892 * gdb.base/help.exp: Update expected output from "apropos apropos".
16893 * gdb.guile/Makefile.in: New file.
16894 * gdb.guile/guile.exp: New file.
16895 * gdb.guile/scm-arch.c: New file.
16896 * gdb.guile/scm-arch.exp: New file.
16897 * gdb.guile/scm-block.c: New file.
16898 * gdb.guile/scm-block.exp: New file.
16899 * gdb.guile/scm-breakpoint.c: New file.
16900 * gdb.guile/scm-breakpoint.exp: New file.
16901 * gdb.guile/scm-disasm.c: New file.
16902 * gdb.guile/scm-disasm.exp: New file.
16903 * gdb.guile/scm-equal.c: New file.
16904 * gdb.guile/scm-equal.exp: New file.
16905 * gdb.guile/scm-error.exp: New file.
16906 * gdb.guile/scm-error.scm: New file.
16907 * gdb.guile/scm-frame-args.c: New file.
16908 * gdb.guile/scm-frame-args.exp: New file.
16909 * gdb.guile/scm-frame-args.scm: New file.
16910 * gdb.guile/scm-frame-inline.c: New file.
16911 * gdb.guile/scm-frame-inline.exp: New file.
16912 * gdb.guile/scm-frame.c: New file.
16913 * gdb.guile/scm-frame.exp: New file.
16914 * gdb.guile/scm-generics.exp: New file.
16915 * gdb.guile/scm-gsmob.exp: New file.
16916 * gdb.guile/scm-iterator.c: New file.
16917 * gdb.guile/scm-iterator.exp: New file.
16918 * gdb.guile/scm-math.c: New file.
16919 * gdb.guile/scm-math.exp: New file.
16920 * gdb.guile/scm-objfile-script-gdb.in: New file.
16921 * gdb.guile/scm-objfile-script.c: New file.
16922 * gdb.guile/scm-objfile-script.exp: New file.
16923 * gdb.guile/scm-objfile.c: New file.
16924 * gdb.guile/scm-objfile.exp: New file.
16925 * gdb.guile/scm-ports.exp: New file.
16926 * gdb.guile/scm-pretty-print.c: New file.
16927 * gdb.guile/scm-pretty-print.exp: New file.
16928 * gdb.guile/scm-pretty-print.scm: New file.
16929 * gdb.guile/scm-section-script.c: New file.
16930 * gdb.guile/scm-section-script.exp: New file.
16931 * gdb.guile/scm-section-script.scm: New file.
16932 * gdb.guile/scm-symbol.c: New file.
16933 * gdb.guile/scm-symbol.exp: New file.
16934 * gdb.guile/scm-symtab-2.c: New file.
16935 * gdb.guile/scm-symtab.c: New file.
16936 * gdb.guile/scm-symtab.exp: New file.
16937 * gdb.guile/scm-type.c: New file.
16938 * gdb.guile/scm-type.exp: New file.
16939 * gdb.guile/scm-value-cc.cc: New file.
16940 * gdb.guile/scm-value-cc.exp: New file.
16941 * gdb.guile/scm-value.c: New file.
16942 * gdb.guile/scm-value.exp: New file.
16943 * gdb.guile/source2.scm: New file.
16944 * gdb.guile/types-module.cc: New file.
16945 * gdb.guile/types-module.exp: New file.
16946
169472014-02-10 Yao Qi <yao@codesourcery.com>
16948
16949 PR testsuite/16543
16950 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16951 * configure: Regenerated.
16952 * Makefile.in: New file.
16953
169542014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16955
16956 * gdb.python/py-framefilter.exp: Fix typo.
16957
169582014-02-08 Yao Qi <yao@codesourcery.com>
16959
16960 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16961 that no =breakpoint-modified is emitted when breakpoints are
16962 modified through MI commands.
16963
169642014-02-07 Pedro Alves <pedro@codesourcery.com>
16965 Pedro Alves <palves@redhat.com>
16966
16967 * gdb.threads/step-after-sr-lock.c: New file.
16968 * gdb.threads/step-after-sr-lock.exp: New file.
16969
169702014-02-07 Pedro Alves <palves@redhat.com>
16971
16972 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16973
169742014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16975
16976 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16977 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16978
169792014-02-06 Doug Evans <xdje42@gmail.com>
16980
16981 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16982 output.
16983
16984 * gdb.gdb/python-interrupts.exp: New file.
16985
169862014-02-05 Yao Qi <yao@codesourcery.com>
16987
16988 * gdb.trace/report.exp (use_collected_data): Test the output
16989 of "info threads" and "info inferiors".
16990
169912014-02-05 Yao Qi <yao@codesourcery.com>
16992
16993 Revert this patch:
16994
16995 2013-05-24 Yao Qi <yao@codesourcery.com>
16996
16997 * gdb.trace/tfile.exp: Test inferior and thread.
16998
169992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17000
17001 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17002 on a function.
17003 * gdb.base/step-bt.c: Call hello via function pointer to make
17004 sure its first instruction is executed on powerpc64le-linux.
17005
170062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17007
17008 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17009
170102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17011
17012 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17013 of the test patterns for use on little-endian systems.
17014
170152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17016
17017 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17018 (decimal_vector): Fix for little-endian.
17019
170202014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17021
17022 * gdb.arch/sparc-sysstep.exp: New file.
17023 * gdb.arch/sparc-sysstep.c: Likewise.
17024
17025 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17026
170272014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17028
17029 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17030
170312014-01-23 Tom Tromey <tromey@redhat.com>
17032
17033 * gdb.ada/array_char_idx: New testcase.
17034
170352014-01-23 Tom Tromey <tromey@redhat.com>
17036
17037 PR python/16487:
17038 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17039 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17040 classes.
17041
170422014-01-23 Tom Tromey <tromey@redhat.com>
17043
17044 PR python/16491:
17045 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17046 string from an inferior frame.
17047 * gdb.python/py-framefilter-mi.exp: Update.
17048
170492014-01-22 Doug Evans <dje@google.com>
17050
17051 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17052
170532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17054
17055 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17056
170572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17058
17059 * gdb.trace/entry-values.exp: Remove excess space character from
17060 regex patterns. Handle s390 call instruction.
17061
170622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17063
17064 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17065 define "*_start" label. Make "name" static.
17066 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17067 ${name} by references to ${name}_start.
17068
170692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17070
17071 * gdb.base/info-macros.exp: Remove "debug" from the compile
17072 options.
17073
170742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17075
17076 * gdb.dlang/demangle.exp: New file.
17077
170782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17079
17080 * gdb.dlang/primitive-types.exp: New file.
17081
170822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17083
17084 * configure.ac: Create gdb.dlang/Makefile.
17085 * configure: Regenerate.
17086 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17087 * gdb.dlang/Makefile.in: New file.
17088 * lib/d-support.exp: New file.
17089 * lib/gdb.exp (skip_d_tests): New proc.
17090
170912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17092
17093 * gdb.btrace/delta.exp: Check reverse stepi.
17094 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17095 * gdb.btrace/finish.exp: New.
17096 * gdb.btrace/next.exp: New.
17097 * gdb.btrace/nexti.exp: New.
17098 * gdb.btrace/record_goto.c: Add comments.
17099 * gdb.btrace/step.exp: New.
17100 * gdb.btrace/stepi.exp: New.
17101 * gdb.btrace/multi-thread-step.c: New.
17102 * gdb.btrace/multi-thread-step.exp: New.
17103 * gdb.btrace/rn-dl-bind.c: New.
17104 * gdb.btrace/rn-dl-bind.exp: New.
17105 * gdb.btrace/data.c: New.
17106 * gdb.btrace/data.exp: New.
17107 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17108
171092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17110
17111 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17112 * gdb.btrace/exception.exp: Update.
17113 * gdb.btrace/instruction_history.exp: Update.
17114 * gdb.btrace/record_goto.exp: Update.
17115 * gdb.btrace/tailcall.exp: Update.
17116 * gdb.btrace/unknown_functions.exp: Update.
17117 * gdb.btrace/delta.exp: New.
17118
171192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17120
17121 * gdb.btrace/record_goto.exp: Add backtrace test.
17122 * gdb.btrace/tailcall.exp: Add backtrace test.
17123
171242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17125
17126 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17127 * gdb.btrace/record_goto.c: New.
17128 * gdb.btrace/record_goto.exp: New.
17129 * gdb.btrace/x86-record_goto.S: New.
17130
171312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17132
17133 * gdb.btrace/function_call_history.exp: Update tests.
17134 * gdb.btrace/instruction_history.exp: Update tests.
17135
171362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17137
17138 * gdb.btrace/function_call_history.exp: Fix expected field
17139 order for "record function-call-history".
17140 Add new tests for "record function-call-history /c".
17141 * gdb.btrace/exception.cc: New.
17142 * gdb.btrace/exception.exp: New.
17143 * gdb.btrace/tailcall.exp: New.
17144 * gdb.btrace/x86-tailcall.S: New.
17145 * gdb.btrace/x86-tailcall.c: New.
17146 * gdb.btrace/unknown_functions.c: New.
17147 * gdb.btrace/unknown_functions.exp: New.
17148 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17149
171502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17151
17152 * gdb.btrace/instruction_history.exp: Update.
17153 * gdb.btrace/function_call_history.exp: Update.
17154
171552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17156
17157 * gdb.btrace/function_call_history.exp: Fix expected function
17158 trace.
17159 * gdb.btrace/instruction_history.exp: Initialize traced.
17160 Remove traced_functions.
17161
171622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17163
17164 * gdb.btrace/function_call_history.exp: Update
17165 * gdb.btrace/instruction_history.exp: Update.
17166
171672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17168
17169 * gdb.btrace/enable.exp: Update expected text.
17170
171712014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17172
17173 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17174 bytes.
17175
171762014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17177
17178 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17179
171802014-01-15 Omair Javaid <omair.javaid@linaro.org>
17181
17182 * lib/gdb.exp (supports_process_record): Return true for
17183 arm*-linux*. (supports_reverse): Likewise.
17184
171852014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17186
17187 PR python/15464
17188 PR python/16113
17189 * gdb.python/py-type.c: Enhance test case.
17190 * gdb.python/py-value-cc.cc: Likewise
17191 * gdb.python/py-type.exp: Add new tests.
17192 * gdb.python/py-value-cc.exp: Likewise
17193
171942014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17195 Pedro Alves <palves@redhat.com>
17196
17197 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17198 Make "name" extern.
17199 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17200 references to ${name}_start by references to ${name}.
17201
172022014-01-10 Joel Brobecker <brobecker@adacore.com>
17203
17204 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17205
172062014-01-10 Joel Brobecker <brobecker@adacore.com>
17207
17208 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17209
172102014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17211 Pedro Alves <palves@redhat.com>
17212
17213 * gdb.mi/mi-info-os.exp: Connect to the target with
17214 mi_gdb_target_load.
17215
172162014-01-08 Pedro Alves <palves@redhat.com>
17217
17218 * gdb.threads/reconnect-signal.c: New file.
17219 * gdb.threads/reconnect-signal.exp: New file.
17220
172212014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17222
17223 * gdb.base/source-dir.exp: New file.
17224
172252014-01-07 Joel Brobecker <brobecker@adacore.com>
17226
17227 * gdb.ada/mi_interface: New testcase.
17228
172292014-01-07 Joel Brobecker <brobecker@adacore.com>
17230
17231 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17232 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17233 gdb.ada/pp-rec-component/pck.ads: New files.
17234
172352014-01-07 Joel Brobecker <brobecker@adacore.com>
17236
17237 * gdb.python/py-pp-integral.c: New file.
17238 * gdb.python/py-pp-integral.py: New file.
17239 * gdb.python/py-pp-integral.exp: New file.
17240
17241For older changes see ChangeLog-1993-2013.
17242\f
17243;; Local Variables:
17244;; mode: change-log
17245;; left-margin: 8
17246;; fill-column: 74
17247;; version-control: never
17248;; End:
17249
17250 Copyright 2014-2019 Free Software Foundation, Inc.
17251 Copying and distribution of this file, with or without modification,
17252 are permitted provided the copyright notice and this notice are preserved.
This page took 0.094893 seconds and 4 git commands to generate.