gdb/fortran: Allow for matching symbols with missing scope
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4 nested function prefix.
5
6 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7 Richard Bunt <richard.bunt@arm.com>
8 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
11 nested functions.
12 * gdb.fortran/nested-funcs.f90: Update expected results.
13 * gdb.fortran/nested-funcs-2.exp: New file.
14 * gdb.fortran/nested-funcs-2.f90: New file.
15
16 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
17
18 * gdb.python/py-parameter.exp: Make test names unique.
19 * gdb.python/py-template.exp: Likewise.
20 * gdb.python/py-value.exp: Likewise.
21
22 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
23
24 * gdb.base/break-interp.exp: Reduce test name duplication.
25 * gdb.base/call-sc.exp: Likewise.
26 * gdb.base/callfuncs.exp: Likewise.
27 * gdb.base/charset.exp: Likewise.
28 * gdb.base/dump.exp: Likewise.
29 * gdb.base/ena-dis-br.exp: Likewise.
30 * gdb.base/relational.exp: Likewise.
31 * gdb.base/step-over-syscall.exp: Likewise.
32 * gdb.base/structs.exp: Likewise.
33
34 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.linespec/explicit.exp: Make test names unique.
37 * gdb.linespec/ls-errs.exp: Likewise.
38
39 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
40
41 * gdb.reverse/break-precsave.exp: Make test names unique.
42 * gdb.reverse/break-reverse.exp: Likewise.
43 * gdb.reverse/finish-precsave.exp: Likewise.
44 * gdb.reverse/finish-reverse.exp: Likewise.
45 * gdb.reverse/machinestate-precsave.exp: Likewise.
46 * gdb.reverse/machinestate.exp: Likewise.
47 * gdb.reverse/readv-reverse.exp: Likewise.
48 * gdb.reverse/recvmsg-reverse.exp: Likewise.
49 * gdb.reverse/sigall-precsave.exp: Likewise.
50 * gdb.reverse/sigall-reverse.exp: Likewise.
51 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
52 * gdb.reverse/watch-precsave.exp: Likewise.
53 * gdb.reverse/watch-reverse.exp: Likewise.
54
55 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
56
57 * gdb.threads/stop-with-handle.c: New file.
58 * gdb.threads/stop-with-handle.exp: New file.
59
60 2019-10-03 Tom de Vries <tdevries@suse.de>
61
62 PR testsuite/25059
63 * gdb.base/list-missing-source.exp: Allowing the "Compilation
64 directory" line to be missing.
65
66 2019-10-03 Tom de Vries <tdevries@suse.de>
67
68 PR testsuite/25059
69 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
70 type optional.
71
72 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
73
74 * gdb.python/py-format-string.c (string.h): New include.
75 (main): Fill a_struct_with_union.the_union.an_int with bytes of
76 the same value, for endianness-independence.
77 * gdb.python/py-format-string.exp (default_regexp_dict)
78 (test_pretty_structs, test_format): Adjust expected output to the
79 changed initialization.
80
81 2019-10-02 Tom Tromey <tromey@adacore.com>
82
83 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
84
85 2019-10-02 Pedro Alves <palves@redhat.com>
86 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
89 "print-file-var.h".
90 (this_version_id) Use ATTRIBUTE_VISIBILITY.
91 (get_version_1): Print this_version_id and its address.
92 Add extern "C" wrappers around interface functions.
93 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
94 "print-file-var.h".
95 (this_version_id) Use ATTRIBUTE_VISIBILITY.
96 (get_version_2): Print this_version_id and its address.
97 Add extern "C" wrappers around interface functions.
98 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
99 <stddef.h> and "print-file-var.h".
100 Add extern "C" wrappers around interface functions.
101 [VERSION_ID_MAIN] (this_version_id): Define.
102 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
103 * gdb.base/print-file-var.h: Add some #defines to simplify setting
104 up extern "C" blocks.
105 * gdb.base/print-file-var.exp (test): New, factored out from top
106 level.
107 (top level): Test all combinations of attribute hidden or not,
108 dlopen or not, and this_version_id symbol in main file or not.
109 Compile tests as both C++ and C, make test names unique.
110
111 2019-10-01 Tom Tromey <tom@tromey.com>
112
113 * gdb.base/style.exp: Test "show logging filename".
114
115 2019-10-01 Tom Tromey <tom@tromey.com>
116
117 * lib/gdb-utils.exp (style): Handle "metadata" argument.
118 * gdb.base/style.exp: Add metadata style test.
119
120 2019-10-01 Tom Tromey <tom@tromey.com>
121
122 * gdb.base/style.exp: Test "pwd".
123
124 2019-10-01 Tom Tromey <tom@tromey.com>
125
126 * gdb.base/style.exp: Update tests.
127
128 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
129
130 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
131 'six' to unsigned.
132 (s1): Initialize fields 'four' and 'six' instead of 'three' and
133 'five'. Use an all-ones bit pattern for each.
134 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
135 to its changed values.
136
137 2019-09-30 Tom Tromey <tromey@adacore.com>
138
139 * gdb.rust/traits.rs: Disable all warnings.
140
141 2019-09-29 Tom de Vries <tdevries@suse.de>
142
143 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
144
145 2019-09-29 Tom de Vries <tdevries@suse.de>
146
147 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
148
149 2019-09-27 Tom de Vries <tdevries@suse.de>
150
151 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
152
153 2019-09-27 Tom de Vries <tdevries@suse.de>
154
155 PR record/23188
156 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
157
158 2019-09-26 Tom Tromey <tromey@adacore.com>
159
160 * gdb.ada/py_taft.exp: New file.
161 * gdb.ada/py_taft/main.adb: New file.
162 * gdb.ada/py_taft/pkg.adb: New file.
163 * gdb.ada/py_taft/pkg.ads: New file.
164
165 2019-09-24 Tom de Vries <tdevries@suse.de>
166
167 PR gdb/24598
168 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
169
170 2019-09-22 Tom de Vries <tdevries@suse.de>
171
172 * gdb.base/restore.exp: Allow register variables to be optimized out at
173 -O0.
174
175 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
176
177 * gdb.arch/spu-info.exp: Remove file.
178 * gdb.arch/spu-info.c: Remove file.
179 * gdb.arch/spu-ls.exp: Remove file.
180 * gdb.arch/spu-ls.c: Remove file.
181
182 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
183 * gdb.asm/spu.inc: Remove file.
184
185 * gdb.base/dump.exp: Remove support for spu*-*-*.
186 * gdb.base/stack-checking.exp: Likewise.
187 * gdb.base/overlays.exp: Likewise.
188 * gdb.base/ovlymgr.c: Likewise.
189 * gdb.base/spu.ld: Remove file.
190
191 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
192 * gdb.cp/cpexprs.exp: Likewise.
193 * gdb.cp/exception.exp: Likewise.
194 * gdb.cp/gdb2495.exp: Likewise.
195 * gdb.cp/mb-templates.exp: Likewise.
196 * gdb.cp/pr9167.exp: Likewise.
197 * gdb.cp/userdef.exp: Likewise.
198
199 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
200
201 * gdb.cell: Remove directory.
202 * lib/cell.exp: Remove file.
203
204 2019-09-19 Tom de Vries <tdevries@suse.de>
205
206 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
207
208 2019-09-19 Tom de Vries <tdevries@suse.de>
209
210 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
211
212 2019-09-19 Tom de Vries <tdevries@suse.de>
213
214 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
215 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
216 (gdb_target_cmd): ... here.
217 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
218 value 2.
219
220 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
221
222 * gdb.base/source-dir.exp: Avoid having directory names in test
223 names.
224
225 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * gdb.base/source-dir.exp: Add extra test for mapped compilation
228 directory.
229
230 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.base/list-missing-source.exp: New file.
233
234 2019-09-14 Tom de Vries <tdevries@suse.de>
235
236 PR teststuite/24599
237 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
238 * lib/ada.exp (gnatmake_version_at_least): New proc.
239
240 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.base/maint.exp: Use exec_has_index_section.
243
244 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * gdb.base/maint.exp: Add test for 'maint info sections'.
247
248 2019-09-12 Tom de Vries <tdevries@suse.de>
249
250 * gdb.base/store.exp: Allow register variables to be optimized out at
251 -O0.
252
253 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
254
255 * gdb.ada/rdv_wait.exp: Update to new task names.
256 * gdb.base/task_switch_in_core.exp: Likewise.
257 * gdb.base/info_sources_base.c: Likewise.
258
259 2019-09-10 Tom Tromey <tromey@adacore.com>
260
261 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
262
263 2019-09-10 Tom Tromey <tromey@adacore.com>
264
265 * gdb.ada/dgopt.exp: New file.
266 * gdb.ada/dgopt/x.adb: New file.
267
268 2019-09-08 Tom Tromey <tom@tromey.com>
269
270 * gdb.tui/resize.exp: Remove setup_xfail.
271 * gdb.tui/regs.exp: Remove setup_xfail.
272 * gdb.tui/basic.exp: Remove setup_xfail.
273
274 2019-09-06 David Blaikie <dblaikie@gmail.com>
275
276 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
277 * gdb.cp/cplabel.exp: Ditto.
278 * gdb.linespec/ls-errs.exp: Ditto.
279
280 2019-09-05 Tom de Vries <tdevries@suse.de>
281
282 * lib/gdb.exp (cmp_file_string): New proc.
283 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
284 runto_main. Verify save breakpoints output.
285
286 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
287
288 * gdb.base/info-var.exp: Test info variables without running
289 to main, to avoid expect's buffer overflow.
290
291 2019-09-03 Tom Tromey <tromey@adacore.com>
292
293 * gdb.ada/bias.exp: New file.
294 * gdb.ada/bias/bias.adb: New file.
295 * gdb.ada/print_chars.exp: Add regression test.
296 * gdb.ada/print_chars/foo.adb (My_Character): New type.
297 (MC): New variable.
298
299 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
300
301 * gdb.base/argv0-symlink.exp: Run only on native target
302 and local host.
303
304 2019-08-29 Tom de Vries <tdevries@suse.de>
305
306 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
307 diverse debug info.
308 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
309
310 2019-08-28 Tom de Vries <tdevries@suse.de>
311
312 * gdb.base/info-var.exp: Allow info variables to print info for files
313 other than info-var-f1.c and info-var-f2.c.
314
315 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * gdb.fortran/info-types.exp: Add module.
318 * gdb.fortran/info-types.f90: Update expected results.
319
320 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
321
322 * gdb.fortran/info-types.exp: New file.
323 * gdb.fortran/info-types.f90: New file.
324 * lib/fortran.exp (fortran_character1): New proc.
325
326 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
329 functions'. Reindent as needed.
330 * gdb.base/info-var-f1.c: New file.
331 * gdb.base/info-var-f2.c: New file.
332 * gdb.base/info-var.exp: New file.
333 * gdb.base/info-var.h: New file.
334
335 2019-08-26 Tom de Vries <tdevries@suse.de>
336
337 PR c++/24852
338 * gdb.cp/no-libstdcxx-probe.exp: New test.
339
340 2019-08-26 Tom de Vries <tdevries@suse.de>
341
342 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
343 * tests need to be skipped.
344 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
345 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
346 mi_skip_libstdcxx_probe_tests.
347
348 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
349
350 * gdb.python/py-xmethods.exp: Use raw strings when passing
351 arguments to SimpleXMethodMatcher.
352
353 2019-08-22 Tom de Vries <tdevries@suse.de>
354
355 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
356 more informative.
357
358 2019-08-21 Pedro Alves <palves@redhat.com>
359
360 * gdb.base/with.exp: Test "with" with no arguments.
361
362 2019-08-21 Tom de Vries <tdevries@suse.de>
363
364 * gdb.base/gdb-caching-proc.exp: Sort files.
365
366 2019-08-20 Tom de Vries <tdevries@suse.de>
367
368 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
369 compilation.
370
371 2019-08-16 Tom de Vries <tdevries@suse.de>
372
373 * gdb.base/compare-sections.exp ("after run to main"): Allow
374 mismatched read-only sections for PIE executables.
375
376 2019-08-16 Tom Tromey <tom@tromey.com>
377
378 * lib/tuiterm.exp (_csi_Z): New proc.
379 * gdb.tui/basic.exp: Update window positions.
380 * gdb.tui/empty.exp: Update window positions.
381
382 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
383
384 * gdb.base/examine-backward.exp: Correct regexp for
385 "examine 3 bytes backward from ${address_zero}".
386
387 2019-08-15 Tom Tromey <tom@tromey.com>
388
389 * gdb.tui/empty.exp: Enable resizing tests.
390
391 2019-08-15 Tom Tromey <tromey@adacore.com>
392
393 * gdb.ada/char_enum.exp: Add regression tests.
394 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
395 and '0'.
396 (Char, Gchar): Update.
397 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
398
399 2019-08-15 Christian Biesinger <cbiesinger@google.com>
400
401 * gdb.python/python.exp: Expect a leading underscore on
402 GdbOutput{,Error}File.
403
404 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
405
406 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
407 Windows host.
408
409 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
410
411 * gdb.base/batch-preserve-term-settings.exp
412 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
413
414 2019-08-15 Christian Biesinger <cbiesinger@google.com>
415
416 * lib/gdb.exp: When running on a mingw target, replace
417 /x/ with x:/.
418
419 2019-08-14 Alan Hayward <alan.hayward@arm.com>
420
421 * gdb.arch/aarch64-prologue.c: New test.
422 * gdb.arch/aarch64-prologue.exp: New file.
423
424 2019-08-13 Tom de Vries <tdevries@suse.de>
425
426 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
427 Thread.
428
429 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
430
431 * gdb.python/py-completion.exp: Download the .py file to the host
432 and use its host pathname. Conditionalize tests that use
433 tab completion and manipulate files on the build machine.
434 * gdb.python/py-events.exp: Download the .py file to the host
435 and use its host pathname.
436 * gdb.python/py-evsignal.exp: Likewise.
437 * gdb.python/py-evthreads.exp: Likewise.
438 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
439 pathname syntax.
440 * gdb.python/py-framefilter.exp: Download the .py file to the right
441 place on the host. Match Windows pathname syntax.
442 * gdb.python/py-mi-var-info-path-expression.exp: Download the
443 .py file to the host and use its host pathname.
444 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
445 * gdb.python/py-objfile.exp: Expect a host pathname, not a
446 build pathname. Skip symlink test on Windows host. Add missing
447 newline at end of file.
448 * gdb.python/py-pp-maint.exp: Download the .py file to the host
449 and use its host pathname.
450 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
451 * gdb.python/py-section-script.exp: Use host location of binfile
452 on safe-path. Use correct path separator on Windows host.
453 Reorder alternatives in gdb_test_multiple to prevent matching
454 the wrong alternative on success.
455 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
456
457 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
458
459 * gdb.gdb/selftest.exp (test_with_self): Update test to now
460 expect the GDB inferior to no longer immediately stop after
461 being resumed with "signal SIGINT".
462
463 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
464
465 * gdb.linespec/break-ask.exp: Generalize regexps to match
466 Windows pathnames too.
467
468 2019-08-08 Tom de Vries <tdevries@suse.de>
469
470 PR testsuite/24862
471 * lib/tuiterm.exp (_accept): Fix CSI regexp.
472
473 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
474
475 * gdb.base/style.exp: Update tests for help doc new invariants.
476 * gdb.base/help.exp: Likewise.
477
478 2019-08-06 Tom Tromey <tom@tromey.com>
479
480 * gdb.base/style.exp: Add disassemble test.
481 * gdb.base/style.c (some_called_function): New function.
482 (main): Use it.
483
484 2019-08-05 Christian Biesinger <cbiesinger@google.com>
485
486 * gdb.python/py-block.exp: Test dictionary access on blocks.
487
488 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
489
490 PR gdb/24863
491 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
492 -list-thread-groups --available test when running under
493 check-read1.
494
495 2019-08-05 Tom de Vries <tdevries@suse.de>
496
497 PR testsuite/24863
498 * lib/gdb.exp (with_read1_timeout_factor): New proc.
499 * gdb.base/help.exp: Use with_read1_timeout_factor.
500 * gdb.base/info-macros.exp: Same.
501 * gdb.cp/nested-types.exp: Same.
502
503 2019-08-05 Tom de Vries <tdevries@suse.de>
504
505 * lib/gdb.exp (version_at_least): Factor out of ...
506 (tcl_version_at_least): ... here.
507 (gdb_compile): Fail if pie results in non-PIE executable.
508 (readelf_version, readelf_prints_pie): New proc.
509 (exec_is_pie): Return -1 if unknown.
510
511 2019-08-05 Tom de Vries <tdevries@suse.de>
512
513 * lib/gdb.exp (tcl_version_at_least): Fix typo.
514
515 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
516
517 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
518
519 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
520
521 * lib/completion-support.exp (test_gdb_complete_none): Skip
522 tab completion tests if no readline support.
523 (test_gdb_complete_unique_re): Likewise.
524 (test_gdb_complete_multiple): Likewise.
525
526 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
527
528 * gdb.base/info_sources.exp: New file.
529 * gdb.base/info_sources.c: New file.
530 * gdb.base/info_sources_base.c: New file.
531
532 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
533
534 * gdb.base/batch-exit-status.exp: Call test_exit_status with
535 prefix argument.
536 (test_exit_status): Add prefix argument.
537
538 2019-08-01 Tom de Vries <tdevries@suse.de>
539
540 PR testsuite/24863
541 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
542 calling exp_continue for new thread and thread exited messages.
543
544 2019-08-01 Tom de Vries <tdevries@suse.de>
545
546 PR testsuite/24863
547 * gdb.base/structs.exp: Fix check-read1 timeout using
548 gdb_test_sequence.
549 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
550
551 2019-08-01 Tom de Vries <tdevries@suse.de>
552
553 PR testsuite/24863
554 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
555 line.
556
557 2019-08-01 Tom de Vries <tdevries@suse.de>
558
559 PR testsuite/24863
560 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
561
562 2019-07-30 Tom Tromey <tromey@adacore.com>
563
564 * gdb.ada/display_nested.exp: New file.
565 * gdb.ada/display_nested/foo.adb: New file.
566 * gdb.ada/display_nested/pack.adb: New file.
567 * gdb.ada/display_nested/pack.ads: New file.
568
569 2019-07-30 Christian Biesinger <cbiesinger@google.com>
570
571 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
572 namespace.
573 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
574
575 2019-07-30 Tom de Vries <tdevries@suse.de>
576
577 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
578 instead.
579
580 2019-07-30 Tom de Vries <tdevries@suse.de>
581
582 PR testsuite/24834
583 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
584 (exec_is_pie): New proc.
585
586 2019-07-29 Christian Biesinger <cbiesinger@google.com>
587
588 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
589
590 2019-07-29 Christian Biesinger <cbiesinger@google.com>
591
592 * gdb.python/py-objfile.c: Add global and static vars.
593 * gdb.python/py-objfile.exp: Test new functions Objfile.
594 lookup_global_symbol and lookup_static_symbol.
595
596 2019-07-29 Tom Tromey <tom@tromey.com>
597
598 * lib/tuiterm.exp (Term::_csi_@): New proc.
599 (Term::_csi_X): Don't move cursor.
600
601 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
602
603 * gdb.base/options.exp: Update backtrace - completion to
604 new option -frame-info.
605 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
606 Test new 'set print frame-info'. Test backtrace -frame-info
607 overriding 'set print frame-info'.
608 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
609 Test new 'set print frame-info'.
610 Verify consistency of backtrace with and without filters, with and
611 without -no-filters.
612 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
613 default.
614
615 2019-07-29 Tom de Vries <tdevries@suse.de>
616
617 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
618 no arguments".
619
620 2019-07-29 Tom de Vries <tdevries@suse.de>
621
622 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
623 is a substring of the first for "complete non-unique file name".
624
625 2019-07-29 Tom de Vries <tdevries@suse.de>
626
627 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
628 with ".*".
629
630 2019-07-29 Tom de Vries <tdevries@suse.de>
631
632 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
633 Pass prompt_regexp parameter to gdb_test_multiple calls.
634
635 2019-07-29 Tom de Vries <tdevries@suse.de>
636
637 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
638 print registers" regexps.
639
640 2019-07-29 Tom de Vries <tdevries@suse.de>
641
642 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
643
644 2019-07-29 Tom de Vries <tdevries@suse.de>
645
646 PR gdb/24855
647 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
648 (skip_python_tests_prompt): Add prompt_regexp argument to
649 gdb_test_multiple calls.
650
651 2019-07-27 Tom Tromey <tom@tromey.com>
652
653 * gdb.tui/main.exp: New file.
654
655 2019-07-27 Tom Tromey <tom@tromey.com>
656
657 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
658 optional.
659 * gdb.tui/empty.exp: New file.
660
661 2019-07-27 Tom Tromey <tom@tromey.com>
662
663 * lib/tuiterm.exp (spawn): New proc.
664 (Term::resize): New proc.
665 * gdb.tui/resize.exp: New file.
666
667 2019-07-27 Tom Tromey <tom@tromey.com>
668
669 * gdb.tui/list.exp: New file.
670
671 2019-07-27 Tom Tromey <tom@tromey.com>
672
673 * gdb.tui/regs.exp: New file.
674
675 2019-07-27 Tom Tromey <tom@tromey.com>
676
677 * gdb.tui/basic.exp: Add "layout split" test.
678
679 2019-07-27 Tom Tromey <tom@tromey.com>
680
681 * gdb.tui/basic.exp: Add "layout asm" test.
682
683 2019-07-27 Tom Tromey <tom@tromey.com>
684
685 * lib/tuiterm.exp: New file.
686 * gdb.tui/basic.exp: New file.
687
688 2019-07-27 Kevin Buettner <kevinb@redhat.com>
689
690 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
691 Enable tests associated with this flag. Adjust regex
692 referencing "foo_low" to now refer to "foo_cold" instead.
693
694 2019-07-27 Kevin Buettner <kevinb@redhat.com>
695
696 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
697 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
698 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
699 foo_cold. Revise comments to match.
700 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
701 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
702 were wrapped into this proc; Call do_test in loop from outermost
703 level.
704 (foo_low): Rename all occurrences to "foo_cold".
705 (backtrace from baz): New test.
706 (x2/i foo_cold): New test.
707 (info line *foo_cold): New test.
708
709 2019-07-26 Tom de Vries <tdevries@suse.de>
710
711 * gdb.arch/i386-pkru.exp: Fix unterminated string.
712
713 2019-07-25 Tom de Vries <tdevries@suse.de>
714
715 PR testsuite/24830
716 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
717 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
718 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
719 (skip_libstdcxx_probe_tests): ... here.
720 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
721
722 2019-07-24 Tom de Vries <tdevries@suse.de>
723
724 PR testsuite/24807
725 * gdb.objc/basicclass.m: Include stdio.h.
726 * gdb.objc/nondebug.m: Same.
727 * gdb.objc/objcdecode.m: Same.
728
729 2019-07-24 Tom de Vries <tdevries@suse.de>
730
731 PR testsuite/24612
732 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
733 additional_flags.
734
735 2019-07-24 Tom de Vries <tdevries@suse.de>
736
737 PR testsuite/24831
738 * gdb.multi/tids.exp: Update error messages for info threads.
739
740 2019-07-24 Tom de Vries <tdevries@suse.de>
741
742 * gdb.base/info-types.exp: Allow info types to print info for more than
743 one file.
744
745 2019-07-23 Tom de Vries <tdevries@suse.de>
746
747 PR testsuite/24842
748 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
749 gdb_spawn_with_cmdline_opts.
750
751 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
752
753 * gdb.arch/arm-cmse-sgstubs.c: New test.
754 * gdb.arch/arm-cmse-sgstubs.exp: New file.
755
756 2019-07-23 Tom de Vries <tdevries@suse.de>
757
758 PR testsuite/24711
759 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
760 issuing next command.
761
762 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
763
764 * gdb.ada/info_auto_lang.exp: Update expected results.
765 * gdb.base/info-types.c: Add additional types to check.
766 * gdb.base/info-types.exp: Update expected results.
767
768 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
769
770 * gdb.base/info-types.c: New file.
771 * gdb.base/info-types.exp: New file.
772
773 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
774
775 * gdb.arch/riscv-bp-infcall.c: New file.
776 * gdb.arch/riscv-bp-infcall.exp: New file.
777
778 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
779
780 PR breakpoints/24541
781 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
782
783 2019-07-14 Tom de Vries <tdevries@suse.de>
784
785 PR testsuite/24760
786 * gdb.objc/basicclass.exp: Fix unterminated string.
787
788 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
789 Andrew Burgess <andrew.burgess@embecosm.com>
790
791 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
792 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
793 negative bounds.
794 * gdb.fortran/vla-value.exp: Print elements of an array with
795 negative bounds.
796 * gdb.fortran/vla.f90: Setup an array with negative bounds for
797 testing.
798
799 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
800
801 * gdb.base/options.exp (expect_string): Dequote strings in
802 results.
803 (test-string): Test strings with different quoting and reindent.
804
805 2019-07-10 Tom Tromey <tromey@adacore.com>
806
807 * gdb.ada/mi_ex_cond.exp: Update expected results.
808 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
809 * gdb.ada/mi_catch_ex.exp: Update expected results.
810 * gdb.ada/mi_catch_assert.exp: Update expected results.
811 * gdb.ada/catch_ex.exp (catch_exception_info)
812 (catch_exception_entry, catch_assert_entry)
813 (catch_unhandled_entry): Update.
814 * gdb.ada/catch_assert_if.exp: Update expected results.
815
816 2019-07-10 Richard Bunt <richard.bunt@arm.com>
817 Stephen Roberts <stephen.roberts@arm.com>
818
819 * gdb.base/define.exp: Restore original prompt.
820
821 2019-07-09 Pedro Alves <palves@redhat.com>
822
823 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
824 breakpoints" output.
825 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
826 * gdb.python/py-breakpoint.exp: No longer expect that "catch
827 throw" creates breakpoint.
828 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
829 'type="catchpoint"'.
830
831 2019-07-09 Pedro Alves <palves@redhat.com>
832
833 PR c++/15468
834 * gdb.cp/except-multi-location-lib.cc: New.
835 * gdb.cp/except-multi-location-main.cc: New.
836 * gdb.cp/except-multi-location.exp: New.
837
838 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
839
840 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
841 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
842 argument and update callers.
843
844 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
845
846 * gdb.arch/amd64-break-on-asm-line.S: New file.
847 * gdb.arch/amd64-break-on-asm-line.exp: New file.
848
849 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
850
851 * gdb.base/printcmds.exp: Test printing C string and
852 C wide string convenience vars without transiting via the inferior.
853 Also make test names unique.
854
855 2019-07-08 Alan Hayward <alan.hayward@arm.com>
856
857 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
858
859 2019-07-04 Pedro Alves <palves@redhat.com>
860
861 * lib/gdb.exp (foreach_with_prefix): Don't return early if
862 body returned ok(0), break(3) or continue(4).
863 * gdb.testsuite/foreach_with_prefix.exp: New file.
864
865 2019-07-04 Alan Hayward <alan.hayward@arm.com>
866
867 * gdb.server/unittest.exp: Allow 0 unit tests to run.
868
869 2019-07-03 Pedro Alves <palves@redhat.com>
870
871 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
872 "return -code".
873
874 2019-07-03 Pedro Alves <palves@redhat.com>
875
876 PR cli/24732
877 * gdb.base/shell.exp: Load completion-support.exp.
878 Adjust expected error output. Add completion tests.
879
880 2019-07-03 Pedro Alves <palves@redhat.com>
881
882 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
883 string_to_regexp.
884
885 2019-07-03 Pedro Alves <palves@redhat.com>
886
887 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
888 (expect_integer): Adjust to expect "-string".
889 (expect_string): New.
890 (all_options): Expect "-string".
891 (test-flag, test-boolean): Adjust to expect "-string".
892 (test-string): New proc.
893 (top level): Call it.
894
895 2019-07-03 Pedro Alves <palves@redhat.com>
896
897 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
898 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
899 the expected output in the success.
900
901 2019-07-03 Pedro Alves <palves@redhat.com>
902
903 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
904 Split one gdb_test_multiple call in two to avoid a race.
905
906 2019-07-03 Pedro Alves <palves@redhat.com>
907
908 * gdb.base/with.c: New file.
909 * gdb.base/with.exp: New file.
910
911 2019-07-03 Pedro Alves <palves@redhat.com>
912
913 * gdb.base/settings.exp: Replace all references to "maint
914 test-settings set" with references to "maint set test-settings",
915 and all references to "maint test-settings show" with references
916 to "maint show test-settings".
917
918 2019-07-03 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/settings.exp (test-string): Adjust expected out when
921 testing "maint test-settings show filename"
922
923 2019-07-02 Pedro Alves <palves@redhat.com>
924
925 * gdb.base/options.exp (test-info-threads): New procedure.
926 (top level): Call it.
927
928 2019-06-28 Tom Tromey <tromey@adacore.com>
929
930 * gdb.dwarf2/ada-linkage-name.c: New file.
931 * gdb.dwarf2/ada-linkage-name.exp: New file.
932
933 2019-06-27 Tom Tromey <tromey@adacore.com>
934
935 * gdb.cp/constexpr-field.exp: Use setup_xfail.
936
937 2019-06-26 Tom de Vries <tdevries@suse.de>
938
939 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
940
941 2019-06-26 Tom de Vries <tdevries@suse.de>
942
943 * gdb.base/index-cache.exp: Add back missing debug option.
944
945 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
946
947 * gdb.base/alias.exp: Test non matching/non existing prefixes.
948
949 2019-06-25 Tom de Vries <tdevries@suse.de>
950
951 PR testsuite/24727
952 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
953
954 2019-06-24 Tom de Vries <tdevries@suse.de>
955
956 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
957
958 2019-06-24 Tom de Vries <tdevries@suse.de>
959
960 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
961 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
962 * gdb.trace/unavailable-dwarf-piece.exp: Same.
963
964 2019-06-24 Tom de Vries <tdevries@suse.de>
965
966 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
967
968 2019-06-21 Tom de Vries <tdevries@suse.de>
969
970 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
971
972 2019-06-21 Tom de Vries <tdevries@suse.de>
973
974 PR testsuite/24518
975 PR ada/24713
976 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
977 index.
978
979 2019-06-19 Tom Tromey <tromey@adacore.com>
980
981 * gdb.ada/length_cond.exp: Add intro comment.
982
983 2019-06-19 Tom Tromey <tromey@adacore.com>
984
985 * gdb.ada/length_cond.exp: New file.
986 * gdb.ada/length_cond/length_cond.adb: New file.
987 * gdb.ada/length_cond/pck.adb: New file.
988 * gdb.ada/length_cond/pck.ads: New file.
989
990 2019-06-18 Tom de Vries <tdevries@suse.de>
991
992 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
993
994 2019-06-18 Tom Tromey <tromey@adacore.com>
995
996 * gdb.base/list0.h: Add comment explaining control character.
997
998 2019-06-18 Tom de Vries <tdevries@suse.de>
999
1000 * boards/fission.exp: Break up long debug_flags line.
1001
1002 2019-06-16 Tom de Vries <tdevries@suse.de>
1003
1004 PR gdb/24445
1005 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1006 generated index.
1007
1008 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 PR gdb/24686
1011 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1012 improve detection of bug gdb/24541.
1013
1014 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1015
1016 PR gdb/24669
1017 * gdb.base/index-cache.exp (uses_readnow,
1018 expecting_index_cache_use): Define global variable.
1019 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1020 expecting_index_cache_use.
1021
1022 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1023 Andrew Burgess <andrew.burgess@embecosm.com>
1024
1025 * gdb.fortran/pointers.f90: New file.
1026 * gdb.fortran/print_type.exp: New file.
1027 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1028 * gdb.fortran/vla-type.exp: Likewise.
1029 * gdb.fortran/vla-value.exp: Likewise.
1030 * gdb.mi/mi-vla-fortran.exp: Likewise.
1031
1032 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1033
1034 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1035 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1036 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1037 as a stop reason.
1038
1039 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1040
1041 * gdb.base/annota1.exp: Update expected results.
1042 * gdb.cp/annota2.exp: Likewise.
1043 * gdb.cp/annota3.exp: Likewise.
1044
1045 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1046
1047 * gdb.base/style-logging.exp: Remove path from test name.
1048
1049 2019-06-14 Tom Tromey <tromey@adacore.com>
1050
1051 PR gdb/24502:
1052 * gdb.base/style-logging.exp: New file.
1053
1054 2019-06-14 Tom Tromey <tromey@adacore.com>
1055
1056 * gdb.base/symfile-warn.exp: New file.
1057 * gdb.base/symfile-warn.c: New file.
1058
1059 2019-06-14 Tom Tromey <tromey@adacore.com>
1060
1061 * gdb.base/annotate-symlink.exp: New file.
1062
1063 2019-06-14 Tom Tromey <tromey@adacore.com>
1064
1065 * gdb.ada/set_wstr.exp: Add reassignment test.
1066
1067 2019-06-14 Tom Tromey <tromey@adacore.com>
1068
1069 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1070 'unchecked_access and 'unrestricted_access as well.
1071
1072 2019-06-14 Tom Tromey <tromey@adacore.com>
1073
1074 PR ada/24539:
1075 * gdb.ada/vla.exp: Update tests.
1076 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1077 pragma.
1078
1079 2019-06-13 Pedro Alves <palves@redhat.com>
1080
1081 * gdb.base/settings.exp (test-integer): Test junk after
1082 "unlimited".
1083
1084 2019-06-13 Pedro Alves <palves@redhat.com>
1085
1086 * gdb.base/options.exp (test-thread-apply): New.
1087 (top level): Call it.
1088
1089 2019-06-13 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/options.exp (test-frame-apply): New.
1092 (top level): Test print commands with different "frame apply"
1093 prefixes.
1094
1095 2019-06-13 Pedro Alves <palves@redhat.com>
1096
1097 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1098 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1099 'max_completions' parameter and handle it.
1100 (test_gdb_completion_offers_commands): New.
1101
1102 2019-06-13 Pedro Alves <palves@redhat.com>
1103
1104 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1105
1106 2019-06-13 Pedro Alves <palves@redhat.com>
1107
1108 * gdb.base/options.exp (test-backtrace): New.
1109 (top level): Call it.
1110
1111 2019-06-13 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.guile/scm-frame-args.exp: Use "set print
1114 raw-frame-arguments" instead of "set print raw frame-arguments".
1115 * gdb.python/py-frame-args.exp: Likewise.
1116
1117 2019-06-13 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.compile/compile.exp: Adjust expected output to option
1120 processing changes.
1121
1122 2019-06-13 Pedro Alves <palves@redhat.com>
1123
1124 * gdb.base/options.exp: Build executable.
1125 (test-print): New procedure.
1126 (top level): Call it, once for "print" and another for "compile
1127 print".
1128
1129 2019-06-13 Pedro Alves <palves@redhat.com>
1130
1131 * gdb.base/options.c: New file.
1132 * gdb.base/options.exp: New file.
1133
1134 2019-06-13 Pedro Alves <palves@redhat.com>
1135
1136 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1137 that "o" is ambiguous.
1138
1139 2019-06-13 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.base/settings.c: New file.
1142 * gdb.base/settings.exp: New file.
1143
1144 2019-06-13 Pedro Alves <palves@redhat.com>
1145
1146 * gdb.base/completion.exp: Fix comment typo.
1147
1148 2019-06-13 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1151 foo --1" test.
1152
1153 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1154
1155 * gdb.fortran/block-data.f: New.
1156 * gdb.fortran/block-data.exp: New.
1157
1158 2019-06-11 Tom de Vries <tdevries@suse.de>
1159
1160 PR testsuite/24521
1161 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1162 message.
1163
1164 2019-06-11 Tom de Vries <tdevries@suse.de>
1165
1166 PR testsuite/24521
1167 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1168
1169 2019-06-11 Tom de Vries <tdevries@suse.de>
1170
1171 * boards/readnow.exp: New file.
1172
1173 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * gdb.fortran/vla-sizeof.exp: Update expected results.
1176
1177 2019-06-06 Amos Bird <amosbird@gmail.com>
1178
1179 * gdb.base/annota1.exp (thread_switch): Add test for
1180 thread-exited annotation.
1181
1182 2019-06-06 Tom Tromey <tromey@adacore.com>
1183
1184 * gdb.base/maint.exp: Expect command started/finished output.
1185
1186 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1189 comment.
1190 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1191
1192 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1193
1194 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1195 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1196 * gdb.arch/riscv-unwind-long-insn.c: New file.
1197 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1198
1199 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1200
1201 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1202
1203 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1204
1205 * lib/gdb.exp (help_list_trailer): New regexp variable
1206 factorizing the help trailer message.
1207 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1208 arg to allow to better factorize various tests.
1209 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1210 (test_prefix_command_help): Use help_list_trailer.
1211 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1212 * gdb.guile/scm-cmd.exp: Likewise.
1213 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1214 * gdb.base/help.exp: Use test_user_defined_class_help.
1215 * gdb.base/style.exp: Add tests for styling of help and apropos.
1216 * lib/gdb-utils.exp (style): Add title and highlight styles.
1217
1218 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1219
1220 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1221 $_shell_exitsignal.
1222 * gdb.base/default.exp: Update for new convenience variables.
1223
1224 2019-05-29 Tom Tromey <tromey@adacore.com>
1225
1226 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1227 to "break complete ada" test case's regexp.
1228
1229 2019-05-29 Tom Tromey <tromey@adacore.com>
1230
1231 PR c++/20020:
1232 * gdb.cp/constexpr-field.exp: New file.
1233 * gdb.cp/constexpr-field.cc: New file.
1234
1235 2019-05-29 Tom Tromey <tromey@adacore.com>
1236
1237 * gdb.base/finish.exp (finish_no_print): New proc.
1238 (finish_tests): Call it.
1239
1240 2019-05-24 Tom de Vries <tdevries@suse.de>
1241
1242 * gdb.dwarf2/gdb-add-index.exp: New file.
1243
1244 2019-05-22 Tom Tromey <tromey@adacore.com>
1245
1246 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1247 * gdb.base/style.exp: Use "style".
1248 * lib/gdb-utils.exp (style): New proc.
1249
1250 2019-05-22 Tom de Vries <tdevries@suse.de>
1251
1252 * gdb.base/align.exp: Require c++11.
1253
1254 2019-05-22 Tom de Vries <tdevries@suse.de>
1255
1256 PR testsuite/24586
1257 * gdb.python/py-mi-var-info-path-expression.exp: Call
1258 mi_skip_python_tests to check if python is supported.
1259
1260 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1261
1262 * gdb.arch/aarch64-pauth.c: New test.
1263 * gdb.arch/aarch64-pauth.exp: New file.
1264
1265 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1266
1267 * README (Re-running Tests Outside The Testsuite): New section.
1268
1269 2019-05-21 Tom de Vries <tdevries@suse.de>
1270
1271 * gdb.arch/amd64-eval.exp: Require c++11.
1272 * gdb.base/max-depth.exp: Same.
1273 * gdb.compile/compile-cplus-array-decay.exp: Same.
1274 * gdb.cp/meth-typedefs.exp: Same.
1275 * gdb.cp/subtypes.exp: Same.
1276 * gdb.cp/temargs.exp: Same.
1277
1278 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1279
1280 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1281
1282 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1283
1284 PR gdb/18644
1285 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1286 * gdb.fortran/printing-types.exp: Add new test.
1287 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1288 testing.
1289 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1290 setup_kfail call.
1291
1292 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1293
1294 * README (Running the Testsuite): Change example.
1295 (Testsuite Parameters): Remove TRANSCRIPT.
1296 * lib/gdb.exp: Remove TRANSCRIPT check.
1297
1298 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1299
1300 * README (Testsuite Parameters): Add replay logging to
1301 GDBSERVER_DEBUG.
1302 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1303 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1304 as a comma separated list.
1305 (gdb_debug_init): Override procedure.
1306
1307 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1308
1309 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1310 (gdb_write_cmd_file): New procedure.
1311 * lib/gdbserver-support.exp (gdbserver_start): Call
1312 gdbserver_write_cmd_file.
1313 (gdbserver_write_cmd_file): New procedure.
1314
1315 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1316
1317 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1318 (delete_breakpoints): Likewise.
1319 (gdb_run_cmd): Likewise.
1320 (gdb_start_cmd): Likewise.
1321 (gdb_starti_cmd): Likewise.
1322 (gdb_internal_error_resync): Likewise.
1323 (gdb_test_multiple): Likewise.
1324 (gdb_reinitialize_dir): Likewise.
1325 (default_gdb_exit): Likewise.
1326 (gdb_file_cmd): Mark kill as optional.
1327 (default_gdb_start): Call gdb_stdin_log_init.
1328 (send_gdb): Call gdb_stdin_log_write.
1329 (rerun_to_main): Mark Y as an answer.
1330 (gdb_stdin_log_init): New function.
1331 (gdb_stdin_log_write): Likewise.
1332
1333 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1334
1335 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1336 * gdb.base/debug-expr.exp: Likewise.
1337 * gdb.base/foll-fork.exp: Likewise.
1338 * gdb.base/foll-vfork.exp: Likewise.
1339 * gdb.base/fork-print-inferior-events.exp: Likewise.
1340 * gdb.base/gdb-sigterm.exp: Likewise.
1341 * gdb.base/gdbinit-history.exp: Likewise.
1342 * gdb.base/osabi.exp: Likewise.
1343 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1344 * gdb.base/ui-redirect.exp: Likewise.
1345 * gdb.gdb/unittest.exp: Likewise.
1346 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1347 * gdb.mi/mi-watch.exp: Likewise.
1348 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1349 * gdb.mi/user-selected-context-sync.exp: Likewise.
1350 * gdb.python/python.exp: Disable debug test when debugging.
1351 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1352 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1353 Likewise.
1354 * gdb.threads/stepi-random-signal.exp: Likewise.
1355
1356 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1357
1358 * Makefile.in: Pass through GDB_DEBUG.
1359 * README (Testsuite Parameters): Add GDB_DEBUG.
1360 (gdb,debug): Add board setting.
1361 * lib/gdb.exp (default_gdb_start): Start debugging.
1362 (gdb_debug_enabled): New procedure.
1363 (gdb_debug_init): Likewise.
1364
1365 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1366
1367 * Makefile.in: Pass through GDB_DEBUG.
1368 * README (Testsuite Parameters): Add GDB_DEBUG.
1369 (gdb,debug): Add board setting.
1370 * lib/gdb.exp (default_gdb_start): Start debugging.
1371 (gdb_debug_enabled): New procedure.
1372 (gdb_debug_init): Likewise.
1373
1374 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1375
1376 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1377
1378 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1379
1380 * gdb.base/ui-redirect.exp: Test redirection.
1381
1382 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1383
1384 * gdb.mi/mi-complete.exp: New file.
1385 * gdb.mi/mi-complete.cc: Likewise.
1386
1387 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1388
1389 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1390 indexed and sliced arrays, and pointers to arrays.
1391
1392 2019-05-14 Tom Tromey <tromey@adacore.com>
1393
1394 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1395 styling test.
1396
1397 2019-05-14 Tom de Vries <tdevries@suse.de>
1398
1399 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1400 selection entry encoding.
1401
1402 2019-05-10 Tom Tromey <tromey@adacore.com>
1403
1404 * gdb.ada/info_exc.exp: Add "complete" test.
1405
1406 2019-05-09 Tom de Vries <tdevries@suse.de>
1407
1408 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1409 CU-relative.
1410
1411 2019-05-09 Tom de Vries <tdevries@suse.de>
1412
1413 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1414 CU-relative.
1415
1416 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1417
1418 * gdb.ada/frame_arg_lang.exp: New testcase.
1419 * gdb.ada/frame_arg_lang/bla.adb: New file.
1420 * gdb.ada/frame_arg_lang/pck.ads: New file.
1421 * gdb.ada/frame_arg_lang/pck.adb: New file.
1422 * gdb.ada/frame_arg_lang/foo.c: New file.
1423
1424 2019-05-08 Tom Tromey <tromey@adacore.com>
1425
1426 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1427
1428 2019-05-08 Tom Tromey <tromey@adacore.com>
1429
1430 * gdb.base/ptype-offsets.exp: Update tests.
1431
1432 2019-05-08 Tom Tromey <tromey@adacore.com>
1433
1434 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1435 cases.
1436 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1437 "short".
1438
1439 2019-05-08 Tom Tromey <tromey@adacore.com>
1440
1441 * gdb.ada/vla.exp: New file.
1442 * gdb.ada/vla/vla.adb: New file.
1443
1444 2019-05-07 Tom de Vries <tdevries@suse.de>
1445
1446 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1447
1448 2019-05-07 Tom de Vries <tdevries@suse.de>
1449
1450 PR testsuite/24522
1451 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1452 section.
1453
1454 2019-05-07 Tom de Vries <tdevries@suse.de>
1455
1456 PR testsuite/24522
1457 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1458 .debug_aranges section.
1459
1460 2019-05-07 Tom de Vries <tdevries@suse.de>
1461
1462 PR testsuite/24159
1463 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1464
1465 2019-05-06 Tom de Vries <tdevries@suse.de>
1466
1467 * lib/gdb.exp (exec_has_index_section): New proc.
1468 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1469 section.
1470
1471 2019-05-04 Tom de Vries <tdevries@suse.de>
1472
1473 * boards/cc-with-debug-names.exp: New file.
1474
1475 2019-05-03 Tom Tromey <tromey@adacore.com>
1476
1477 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1478 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1479 * gdb.ada/char_enum.exp: Add test.
1480
1481 2019-05-03 Tom de Vries <tdevries@suse.de>
1482
1483 * boards/cc-with-gdb-index.exp: New file.
1484
1485 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1486
1487 * gdb.rust/simple.exp: Add new test case.
1488 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1489 (main): Initialise an instance of the new struct.
1490
1491 2019-05-01 Tom Tromey <tromey@adacore.com>
1492
1493 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1494 record.
1495 (NPR): New variable.
1496 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1497 test.
1498
1499 2019-05-01 Tom Tromey <tromey@adacore.com>
1500
1501 * gdb.ada/packed_array_assign.exp: Add packed assignment
1502 regression test.
1503
1504 2019-05-01 Tom de Vries <tdevries@suse.de>
1505
1506 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1507
1508 2019-05-01 Tom de Vries <tdevries@suse.de>
1509
1510 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1511
1512 2019-04-30 Ali Tamur <tamur@google.com>
1513
1514 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1515
1516 2019-04-30 Tom Tromey <tromey@adacore.com>
1517
1518 * lib/ada.exp (find_ada_tool): New proc.
1519 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1520 * gdb.ada/catch_ex_std.exp: New file.
1521 * gdb.ada/catch_ex_std/foo.adb: New file.
1522 * gdb.ada/catch_ex_std/some_package.adb: New file.
1523 * gdb.ada/catch_ex_std/some_package.ads: New file.
1524
1525 2019-04-30 Tom Tromey <tromey@adacore.com>
1526
1527 PR c++/24470:
1528 * gdb.cp/temargs.cc: Add test code from PR.
1529
1530 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1531
1532 * gdb.fortran/vla-datatypes.exp: Update expected results.
1533 * gdb.fortran/vla-ptype.exp: Likewise.
1534 * gdb.fortran/vla-type.exp: Likewise.
1535 * gdb.fortran/vla-value.exp: Likewise.
1536
1537 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1538
1539 * gdb.fortran/ptr-indentation.exp: Update expected results.
1540 * gdb.fortran/ptype-on-functions.exp: Likewise.
1541 * gdb.fortran/vla-ptr-info.exp: Likewise.
1542 * gdb.fortran/vla-value.exp: Likewise.
1543
1544 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1545
1546 * gdb.fortran/ptype-on-functions.exp: New file.
1547 * gdb.fortran/ptype-on-functions.f90: New file.
1548
1549 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1552 case void string.
1553
1554 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1555
1556 * gdb.fortran/complex.exp: Expand.
1557 * gdb.fortran/complex.f: Renamed to...
1558 * gdb.fortran/complex.f90: ...this, and extended to add more
1559 complex values.
1560
1561 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1562
1563 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1564 MODULO, CMPLX.
1565
1566 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1567 Richard Bunt <richard.bunt@arm.com>
1568
1569 * gdb.base/max-depth.c: New file.
1570 * gdb.base/max-depth.exp: New file.
1571 * gdb.python/py-nested-maps.c: New file.
1572 * gdb.python/py-nested-maps.exp: New file.
1573 * gdb.python/py-nested-maps.py: New file.
1574 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1575 (test_all_common): Call test_max_depth.
1576 * gdb.fortran/max-depth.exp: New file.
1577 * gdb.fortran/max-depth.f90: New file.
1578 * gdb.go/max-depth.exp: New file.
1579 * gdb.go/max-depth.go: New file.
1580 * gdb.modula2/max-depth.exp: New file.
1581 * gdb.modula2/max-depth.c: New file.
1582 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1583
1584 2019-04-29 Tom de Vries <tdevries@suse.de>
1585
1586 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1587
1588 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1589
1590 * gdb.base/callexit.exp: Test may-call-functions off.
1591
1592 2019-04-25 Keith Seitz <keiths@redhat.com>
1593
1594 PR c++/24367
1595 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1596 (another_incomplete_struct, test_incomplete): New definitions.
1597 (main): Use new definitions.
1598 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1599 functions.
1600
1601 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1602
1603 PR corefiles/11608
1604 PR corefiles/18187
1605 * gdb.base/coredump-filter-build-id.exp: New file.
1606
1607 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1608
1609 * Makefile.in: Pass through GDBSERVER_DEBUG.
1610 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1611 (gdbserver,debug): Add board setting.
1612 * gdb.trace/tspeed.exp: Skip when debugging.
1613 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1614 * lib/gdbserver-support.exp: Likewise
1615
1616 2019-04-24 Tom Tromey <tromey@adacore.com>
1617
1618 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1619 Rust.
1620
1621 2019-04-24 Tom Tromey <tromey@adacore.com>
1622
1623 * gdb.arch/amd64-eval.exp: Test bitfield return.
1624 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1625 (class Foo) <return_bitfields>: New method.
1626 (main): Call it.
1627
1628 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.cp/many-args.cc: New file.
1631 * gdb.cp/many-args.exp: New file.
1632
1633 2019-04-23 Tom de Vries <tdevries@suse.de>
1634
1635 PR gdb/24433
1636 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1637
1638 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1639
1640 * gdb.trace/backtrace.exp: Use nopie flag.
1641 * gdb.trace/circ.exp: Likewise.
1642 * gdb.trace/collection.exp: Likewise.
1643 * gdb.trace/ftrace.exp: Likewise.
1644 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1645 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1646 * gdb.trace/qtro.exp: Likewise.
1647 * gdb.trace/read-memory.exp: Likewise.
1648 * gdb.trace/report.exp: Likewise.
1649 * gdb.trace/tfile.exp: Likewise.
1650 * gdb.trace/tfind.exp: Likewise.
1651 * gdb.trace/unavailable.exp: Likewise.
1652
1653 2019-04-22 Pedro Alves <palves@redhat.com>
1654
1655 * gdb.base/solib-probes-nosharedlibrary.c,
1656 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1657
1658 2019-04-19 Tom Tromey <tromey@adacore.com>
1659
1660 * gdb.ada/ptype_union.c: New file.
1661 * gdb.ada/ptype_union.exp: New file.
1662
1663 2019-04-19 Tom Tromey <tromey@adacore.com>
1664
1665 PR symtab/24423:
1666 * gdb.base/list0.h (foo): Add a control-l character.
1667
1668 2019-04-18 Tom de Vries <tdevries@suse.de>
1669
1670 PR gdb/24433
1671 * boards/local-board.exp: Set sysroot to "".
1672
1673 2019-04-18 Tom de Vries <tdevries@suse.de>
1674 Pedro Alves <palves@redhat.com>
1675
1676 PR gdb/24454
1677 * gdb.threads/vfork-follow-child-exec.c: New file.
1678 * gdb.threads/vfork-follow-child-exec.exp: New file.
1679 * gdb.threads/vfork-follow-child-exit.c: New file.
1680 * gdb.threads/vfork-follow-child-exit.exp: New file.
1681
1682 2019-04-15 Leszek Swirski <leszeks@google.com>
1683
1684 * gdb.arch/amd64-eval.cc: New file.
1685 * gdb.arch/amd64-eval.exp: New file.
1686
1687 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1688
1689 * gdb.server/sysroot.c: New test.
1690 * gdb.server/sysroot.exp: New file.
1691 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1692 matching param.
1693
1694 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1695
1696 * gdb.base/align.exp: Extend test to cover structures containing
1697 only static fields.
1698
1699 2019-04-11 Tom de Vries <tdevries@suse.de>
1700
1701 * boards/cc-with-dwz-m.exp: New file.
1702 * boards/cc-with-dwz.exp: New file.
1703 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1704
1705 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1706
1707 * gdb.base/start-cpp.exp: New file.
1708 * gdb.base/start-cpp.cc: New file.
1709
1710 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1711
1712 * gdb.python/py-thrhandle.exp: Adjust tests to call
1713 thread_from_handle instead of thread_from_thread_handle.
1714
1715 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1716
1717 * gdb.python/py-thrhandle.exp: Add tests for
1718 gdb.InferiorThread.handle.
1719
1720 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1721
1722 * gdb.python/py-function.exp: Check calling helper function from
1723 all languages.
1724 * lib/gdb.exp (gdb_supported_languages): New proc.
1725
1726 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1727
1728 * gdb.base/complex-parts.c: New file.
1729 * gdb.base/complex-parts.exp: New file.
1730
1731 2019-04-01 Tom Tromey <tromey@adacore.com>
1732
1733 PR symtab/23331:
1734 * gdb.dwarf2/dw2-ranges-main.c: New file.
1735 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1736 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1737
1738 2019-03-30 Simon Marchi <simark@simark.ca>
1739
1740 * gdb.base/default.exp: Add values for $_gdb_major and
1741 $_gdb_minor.
1742
1743 2019-03-29 Tom Tromey <tromey@adacore.com>
1744
1745 * gdb.base/help.exp: Tighten apropos regexp.
1746
1747 2019-03-29 Keith Seitz <keiths@redhat.com>
1748
1749 * gdb.fortran/array-bounds.exp: New file.
1750 * gdb.fortran/array-bounds.f90: New file.
1751
1752 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1753
1754 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1755
1756 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1757
1758 * gdb.multi/hello.c (main): Increase alarm timer.
1759
1760 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1761
1762 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1763 factor when no hardware watchpoint support.
1764
1765 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1766 Pedro Alves <palves@redhat.com>
1767
1768 * boards/local-board.exp: set sysroot to /.
1769
1770 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1771
1772 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1773 in child.
1774
1775 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1776
1777 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1778 field.
1779 (make_container): Initialise new field.
1780 * gdb.python/py-prettyprint.exp: Add new tests.
1781 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1782 <display_hint>: New method.
1783
1784 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1785
1786 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1787 gdb_continue_to_breakpoint more throughout this test.
1788 (run_lang_tests) Supply unique test names, and use
1789 gdb_test_no_output.
1790
1791 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1792
1793 * gdb.base/finish-pretty.exp: Update expected results.
1794 * gdb.base/pretty-print.c: New file.
1795 * gdb.base/pretty-print.exp: New file.
1796
1797 2019-03-25 Pedro Alves <palves@redhat.com>
1798
1799 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1800 move comments outside list. Append '-i "" eof' section.
1801
1802 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1803
1804 * README: Add pie options.
1805 * gdb.base/break-interp.exp: Ensure pie is disabled.
1806 * gdb.base/dump.exp: Likewise.
1807 * lib/gdb.exp (gdb_compile): Add pie option.
1808
1809 2019-03-19 Tom Tromey <tromey@adacore.com>
1810
1811 * gdb.mi/mi2-cli-display.c: New file.
1812 * gdb.mi/mi2-cli-display.exp: New file.
1813
1814 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1815 Tom Tromey <tromey@adacore.com>
1816
1817 * gdb.ada/ptype_array/pck.adb: New file.
1818 * gdb.ada/ptype_array/pck.ads: New file.
1819 * gdb.ada/ptype_array/foo.adb: New file.
1820 * gdb.ada/ptype_array.exp: New file.
1821
1822 2019-03-14 Tom Tromey <tromey@adacore.com>
1823
1824 * gdb.base/style.exp: Add "set style sources" test.
1825
1826 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1827
1828 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1829 * mi-breakpoint-multiple-locations.exp: ... this.
1830 (make_breakpoints_pattern): New proc.
1831 (do_test): Add mi_version parameter, test -break-insert,
1832 -break-info and =breakpoint-created.
1833
1834 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1835
1836 * config/default.exp: Remove 'load_lib gdb.exp'.
1837 * config/monitor.exp: Likewise.
1838 * config/sid.exp: Likewise.
1839 * config/sim.exp: Likewise.
1840 * config/slite.exp: Likewise.
1841 * config/unix.exp: Likewise.
1842 * gdb.base/default.exp: Remove unhelpful comment.
1843
1844 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1845
1846 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1847
1848 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1849
1850 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1851
1852 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1853
1854 * gdb.fortran/type-kinds.exp: Update expected results.
1855
1856 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1859
1860 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1863 function.
1864 (test_basic_parsing_of_type_kinds): Expand types tested.
1865 (test_parsing_invalid_type_kinds): New function.
1866
1867 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1868
1869 * gdb.fortran/intrinsics.exp: New file.
1870 * gdb.fortran/intrinsics.f90: New file.
1871 * gdb.fortran/type-kinds.exp: New file.
1872
1873 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1874
1875 * gdb.fortran/dot-ops.exp: New file.
1876
1877 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1878
1879 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1880 Check upper and lower case logical literals.
1881
1882 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1883
1884 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1885 Remove duplicate tests.
1886
1887 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1888
1889 * lib/gdb.exp (builtin_cd): rename of cd.
1890 (cd): Override builtin.
1891
1892 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1893
1894 * gdb.fortran/function-calls.exp: New file.
1895 * gdb.fortran/function-calls.f90: New test.
1896
1897 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1898
1899 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1900 on user program standard output.
1901 * gdb.fortran/short-circuit-argument-list.f90: Record function
1902 calls.
1903
1904 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1905
1906 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1907 failure.
1908
1909 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1910
1911 PR gdb/8527
1912 * gdb.base/interrupt-daemon-attach.c,
1913 gdb.base/interrupt-daemon-attach.exp: New test.
1914
1915 2019-02-27 Pedro Alves <palves@redhat.com>
1916
1917 * gdb.base/page.exp: Add tests for "set width/height -1".
1918
1919 2019-02-27 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.base/page.exp: Add tests for "set/show width/height" with
1922 "infinite" values.
1923
1924 2019-02-27 Tom Tromey <tromey@adacore.com>
1925
1926 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1927 2.4.
1928 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1929 workaround.
1930
1931 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1932
1933 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1934 tests for structs with static members.
1935
1936 2019-02-26 Tom Tromey <tromey@adacore.com>
1937
1938 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1939 ValueError, not TypeError.
1940
1941 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1942
1943 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1944 call from main program.
1945
1946 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1947
1948 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1949 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1950 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1951 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1952 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1953
1954 2019-02-22 Keith Seitz <keiths@redhat.com>
1955
1956 PR symtab/23853
1957 * gdb.base/symlink-sourcefile.c: New file.
1958 * gdb.base/symlink-sourcefile.exp: New file.
1959
1960 2019-02-20 Tom Tromey <tom@tromey.com>
1961
1962 * gdb.base/info_qt.exp: Update.
1963
1964 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1965
1966 * gdb.base/source.exp: Move "error in sourced script" code to
1967 the end.
1968 * gdb.base/source-error.gdb: Move contents to
1969 source-error-1.gdb. Add new code to source source-error-1.gdb.
1970 * gdb.base/source-error-1.gdb: New file, from previous
1971 source-error.gdb.
1972
1973 2019-02-17 Tom Tromey <tom@tromey.com>
1974
1975 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1976 for macro styling.
1977 * gdb.base/style.c (SOME_MACRO): New macro.
1978
1979 2019-02-17 Tom Tromey <tom@tromey.com>
1980
1981 * gdb.base/style.exp: Add line-wrapping tests.
1982 * gdb.base/page.exp: Add test for quitting during pagination.
1983
1984 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1985
1986 * gdb.ada/big_packed_array: New testcase.
1987 * gdb.ada/homonym.exp: Fix incorrect expected output for
1988 "break <homonym__get_value>" test.
1989
1990 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1991
1992 PR breakpoints/21870
1993 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1994 and prepare_for_testing. Add comment.
1995 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1996 redundant cleanup call. Clean up comment.
1997
1998 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1999
2000 PR breakpoints/21870
2001 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2002 * gdb.arch/aarch64-dbreg-contents.c: New file.
2003
2004 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2005
2006 * gdb.ada/mi_ref_changeable: New testcase.
2007
2008 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2009
2010 * gdb.base/attach.exp: Add double attach test.
2011
2012 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2013
2014 * lib/gdb.exp (default_gdb_start): Don't match pagination
2015 prompt.
2016 (gdb_init): Set stty_init.
2017
2018 2019-01-27 Tom Tromey <tom@tromey.com>
2019
2020 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2021 skip_python_tests.
2022
2023 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2024
2025 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2026 New structure.
2027 (struct struct_static_02_02): Likewise.
2028 (struct struct_static_02_03): Likewise.
2029 (struct struct_static_02_04): Likewise.
2030 (struct struct_static_04_01): Likewise.
2031 (struct struct_static_04_02): Likewise.
2032 (struct struct_static_04_03): Likewise.
2033 (struct struct_static_04_04): Likewise.
2034 (struct struct_static_06_01): Likewise.
2035 (struct struct_static_06_02): Likewise.
2036 (struct struct_static_06_03): Likewise.
2037 (struct struct_static_06_04): Likewise.
2038 (cmp_struct_static_02_01): Likewise.
2039 (cmp_struct_static_02_02): Likewise.
2040 (cmp_struct_static_02_03): Likewise.
2041 (cmp_struct_static_02_04): Likewise.
2042 (cmp_struct_static_04_01): Likewise.
2043 (cmp_struct_static_04_02): Likewise.
2044 (cmp_struct_static_04_03): Likewise.
2045 (cmp_struct_static_04_04): Likewise.
2046 (cmp_struct_static_06_01): Likewise.
2047 (cmp_struct_static_06_02): Likewise.
2048 (cmp_struct_static_06_03): Likewise.
2049 (cmp_struct_static_06_04): Likewise.
2050 (call_all): Test new structs.
2051 * gdb.base/infcall-nested-structs.exp: Likewise.
2052
2053 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2054 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2055
2056 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2057 * gdb.base/stack-protector.c: New test.
2058 * gdb.base/stack-protector.exp: New file.
2059 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2060 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2061 option.
2062 (gdb_compile): Remove stack protector for GCC and prevent
2063 recursion.
2064
2065 2019-01-16 Keith Seitz <keiths@redhat.com>
2066
2067 PR gdb/23773
2068 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2069
2070 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2071
2072 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2073 aliases.
2074 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2075 tests.
2076 * gdb.arch/powerpc-vector-regs.c: New file.
2077 * gdb.arch/powerpc-vector-regs.exp: New file.
2078
2079 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2080
2081 * gdb.arch/altivec-regs.exp: Fix the list passed to
2082 gdb_expect_list when testing "info vector".
2083
2084 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2085
2086 * gdb.base/style.exp: Don't include path in testname.
2087
2088 2019-01-10 Keith Seitz <keiths@redhat.com>
2089
2090 PR gdb/23712
2091 PR symtab/23010
2092 * gdb.dwarf2/multidictionary.exp: New file.
2093
2094 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2095
2096 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2097 (test_gnuv3_style_demangling): ... this.
2098 (test_lucid_style_demangling): Remove.
2099 (test_arm_style_demangling): Remove.
2100 (test_hp_style_demangling): Remove.
2101 (do_tests): Remove calls to the above.
2102
2103 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2104
2105 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2106 case.
2107
2108 2019-01-06 Tom Tromey <tom@tromey.com>
2109
2110 PR gdb/28155:
2111 * gdb.dwarf2/typedef-void-finish.exp: New file.
2112
2113 2018-12-28 Tom Tromey <tom@tromey.com>
2114 Simon Marchi <simark@simark.ca>
2115
2116 * gdb.base/jit-exec.exp: New file.
2117 * gdb.base/jit-exec.c: New file.
2118 * gdb.base/jit-execd.c: New file.
2119
2120 2018-12-28 Tom Tromey <tom@tromey.com>
2121
2122 * gdb.base/style.exp: Update test to check for address styling.
2123
2124 2018-12-28 Tom Tromey <tom@tromey.com>
2125
2126 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2127 message.
2128
2129 2018-12-28 Tom Tromey <tom@tromey.com>
2130
2131 * gdb.base/style.exp: Add test for version number styling.
2132
2133 2018-12-28 Tom Tromey <tom@tromey.com>
2134
2135 * gdb.base/style.exp: Add test for print_address_symbolic.
2136
2137 2018-12-28 Tom Tromey <tom@tromey.com>
2138
2139 * gdb.base/style.exp: Add test for breakpoint setting.
2140
2141 2018-12-28 Tom Tromey <tom@tromey.com>
2142
2143 * gdb.base/style.exp: Add test for variable names.
2144
2145 2018-12-28 Tom Tromey <tom@tromey.com>
2146
2147 * gdb.base/style.exp: New file.
2148 * gdb.base/style.c: New file.
2149
2150 2018-12-28 Tom Tromey <tom@tromey.com>
2151
2152 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2153 "dumb".
2154 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2155 the TERM environment variable.
2156
2157 2018-12-27 Tom Tromey <tom@tromey.com>
2158
2159 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2160 pagination test.
2161
2162 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2163
2164 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2165 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2166
2167 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2168
2169 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2170 Filename a.adb changed to bp_fun_addr.adb.
2171 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2172
2173 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2174
2175 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2176 non-PIE executables.
2177 * README: Mention the gdb,nopie_flag board setting.
2178 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2179 non-PIE executable.
2180 * gdb.arch/amd64-entry-value.exp: Likewise.
2181 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2182 * gdb.arch/i386-float.exp: Likewise.
2183 * gdb.arch/i386-signal.exp: Likewise.
2184 * gdb.mi/mi-reg-undefined.exp: Likewise.
2185
2186 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2187
2188 PR gdb/23974
2189 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2190
2191 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2192
2193 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2194 Update order of results accordingly.
2195
2196 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2197
2198 * gdb.base/annota1.exp: Update a test regexp.
2199
2200 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2201
2202 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2203
2204 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2205
2206 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2207 (reuse_time): Initialize to REUSE_TIME_CAP.
2208 (check_rc): New function.
2209 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2210 Check pthread_create rc.
2211 (spawner_thread_func): Check pthread_create and pthread_join rc.
2212
2213 2018-12-08 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/list.exp (test_forward_search): Rename to ...
2216 (test_forward_reverse_search): ... this. Also test reverse-search
2217 and the forward-search alias.
2218
2219 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2220
2221 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2222 local timeout variable before return, and remove all local timeout
2223 variable entirely.
2224 (gdb_load): Likewise.
2225
2226 2018-12-01 Tom de Vries <tdevries@suse.de>
2227
2228 * gdb.base/gdb-caching-proc.exp: New file.
2229
2230 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2231
2232 * Makefile.in (TIMESTAMP): New variable.
2233 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2234 command.
2235 (check-single-racy): Likewise.
2236 (check/%.exp): Likewise.
2237 (check-racy/%.exp): Likewise.
2238 (workers/%.worker): Likewise.
2239 (build-perf): Likewise.
2240 (check-perf): Likewise.
2241 * README: Describe new "TS" and "TS_FORMAT" variables.
2242 * print-ts.py: New file.
2243
2244 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2245
2246 PR python/23714
2247 * gdb.python/python.exp: Test command repetition after
2248 gdb.execute.
2249
2250 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2253 is correctly aligned.
2254
2255 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2256
2257 * gdb.ada/info_auto_lang.exp: New testcase.
2258 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2259 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2260 * gdb.ada/info_auto_lang/some_c.c: New file.
2261
2262 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2263
2264 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2265 FUNC_lang language syntax.
2266
2267 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2268
2269 * gdb.base/info_minsym.c: New file.
2270 * gdb.base/info_minsym.exp: New file.
2271
2272 2018-11-19 Tom Tromey <tom@tromey.com>
2273
2274 PR rust/23625:
2275 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2276 * gdb.rust/expr.exp: Update expected output. Change one test.
2277
2278 2018-11-19 Tom Tromey <tom@tromey.com>
2279
2280 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2281
2282 2018-11-19 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2285 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2286 see the expected warning.
2287
2288 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2289
2290 PR gdb/22736:
2291 * gdb.cp/infcall-nodebug-lib.c: New test.
2292 * gdb.cp/infcall-nodebug-main.c: New test.
2293 * gdb.cp/infcall-nodebug.exp: New file.
2294
2295 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2296
2297 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2298 completer tests.
2299
2300 2018-11-09 Tom de Vries <tdevries@suse.de>
2301
2302 * gdb.base/msym-lang.c: New test.
2303 * gdb.base/msym-lang.exp: New file.
2304 * gdb.base/msym-lang-main.c: New test.
2305
2306 2018-11-08 Tom Tromey <tom@tromey.com>
2307
2308 PR gdb/23555:
2309 PR gdb/23838:
2310 * gdb.base/warning.exp: New file.
2311
2312 2018-11-08 Jan Beulich <jbeulich@suse.com>
2313
2314 * testsuite/gdb.arch/i386-avx512.c,
2315 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2316
2317 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2318
2319 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2320 point hardware.
2321
2322 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2325 * gdb.dwarf2/missing-type-name.exp: New file.
2326
2327 2018-11-06 Tom de Vries <tdevries@suse.de>
2328
2329 * gdb.base/many-headers.c: New test.
2330 * gdb.base/many-headers.exp: New file.
2331
2332 2018-11-06 Jim Wilson <jimw@sifive.com>
2333
2334 * gdb.base/code_elim.exp: For riscv, set additional_flags
2335 to include -msmall-data-limit=0.
2336
2337 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2338
2339 * gdb.ada/watch_minus_l: New testcase.
2340
2341 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2342
2343 * gdb.arch/aix-sighandle.c: New file.
2344 * gdb.arch/aix-sighandle.exp: New file.
2345
2346 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2349 registers being unions.
2350
2351 2018-10-31 Tom de Vries <tdevries@suse.de>
2352
2353 * lib/valgrind.exp: New file.
2354 (vgdb_start, vgdb_stop): New procs, factored out of ...
2355 * gdb.base/valgrind-bt.exp: ... here, ...
2356 * gdb.base/valgrind-disp-step.exp: ... here and ...
2357 * gdb.base/valgrind-infcall.exp: ... here.
2358
2359 2018-10-31 Tom de Vries <tdevries@suse.de>
2360
2361 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2362
2363 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.dwarf2/void-type.c: New file.
2366 * gdb.dwarf2/void-type.exp: New file.
2367
2368 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2369
2370 * gdb.base/info_qt.c: New file.
2371 * gdb.base/info_qt.exp: New file.
2372
2373 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2374
2375 * gdb.arch/powerpc-htm-regs.c: New file.
2376 * gdb.arch/powerpc-htm-regs.exp: New file.
2377
2378 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2379
2380 * gdb.arch/powerpc-tar.c: New file.
2381 * gdb.arch/powerpc-tar.exp: New file.
2382
2383 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2384
2385 * gdb.arch/powerpc-ppr-dscr.c: New file.
2386 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2387
2388 2018-10-25 Tom de Vries <tdevries@suse.de>
2389
2390 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2391
2392 2018-10-24 Tom de Vries <tdevries@suse.de>
2393
2394 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2395 longer exists error.
2396
2397 2018-10-24 Tom de Vries <tdevries@suse.de>
2398
2399 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2400
2401 2018-10-24 Tom de Vries <tdevries@suse.de>
2402
2403 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2404 --db-attach in valgrind.
2405
2406 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2407
2408 * gdb.arch/riscv-reg-aliases.c: New file.
2409 * gdb.arch/riscv-reg-aliases.exp: New file.
2410
2411 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2412
2413 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2414
2415 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2416
2417 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2418
2419 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2420
2421 * gdb.cp/ovldbreak.exp: Fix regexps.
2422
2423 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2424
2425 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2426
2427 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2428
2429 PR cli/23785
2430 * gdb.base/restore.exp: New test to check if "restore" with an
2431 invalid file doesn't segfault.
2432
2433 2018-10-18 Tom de Vries <tdevries@suse.de>
2434
2435 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2436 * gdb.ada/excep_handle.exp: Same.
2437 * gdb.ada/mi_string_access.exp: Same.
2438 * gdb.ada/mi_var_union.exp: Same.
2439 * gdb.arch/arc-analyze-prologue.exp: Same.
2440 * gdb.arch/arc-decode-insn.exp: Same.
2441 * gdb.base/readnever.exp: Same.
2442 * gdb.fortran/printing-types.exp: Same.
2443 * gdb.guile/scm-lazy-string.exp: Same.
2444
2445 2018-10-16 Tom de Vries <tdevries@suse.de>
2446
2447 PR gdb/23730
2448 * gdb.base/catch-follow-exec.c: Add copyright notice.
2449 * gdb.base/catch-follow-exec.exp: Rewrite to use
2450 gdb_spawn_with_cmdline_opts. Require gdb-native.
2451
2452 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2453
2454 * gdb.trace/actions-changed.exp: Check for arch support.
2455 * gdb.trace/actions.exp: Likewise.
2456 * gdb.trace/ax.exp: Likewise.
2457 * gdb.trace/backtrace.exp: Likewise.
2458 * gdb.trace/change-loc.exp: Likewise.
2459 * gdb.trace/deltrace.exp: Likewise.
2460 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2461 * gdb.trace/ftrace.exp: Likewise.
2462 * gdb.trace/infotrace.exp: Check for arch support.
2463 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2464 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2465 * gdb.trace/mi-tsv-changed.exp: Likewise.
2466 * gdb.trace/packetlen.exp: Likewise.
2467 * gdb.trace/passc-dyn.exp: Likewise.
2468 * gdb.trace/passcount.exp: Likewise.
2469 * gdb.trace/pending.exp: Likewise.
2470 * gdb.trace/range-stepping.exp: Check for shlib support.
2471 * gdb.trace/report.exp: Check for arch support.
2472 * gdb.trace/save-trace.exp: Likewise.
2473 * gdb.trace/signal.exp: Check for signal support.
2474 * gdb.trace/tfind.exp: Check for arch support.
2475 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2476 * gdb.trace/trace-common.h: Add comment.
2477 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2478 * gdb.trace/trace-enable-disable.exp: Likewise.
2479 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2480 * gdb.trace/tracecmd.exp: Check for arch support.
2481 * gdb.trace/tspeed.exp: Check for shlib and target support.
2482 * gdb.trace/tstatus.exp: Check for arch support.
2483 * gdb.trace/tsv.exp: Likewise.
2484 * gdb.trace/while-dyn.exp: Likewise.
2485 * gdb.trace/while-stepping.exp: Likewise.
2486 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2487
2488 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2489
2490 * gdb.trace/tspeed.exp: Remove nowarnings.
2491 (prepare_for_trace_test): Declare "global ipalib".
2492 * gdb.trace/tspeed.c: Include unistd.h.
2493 (main): Remove superfluous printf argument.
2494
2495 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2496
2497 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2498 directory prefix on the filename.
2499
2500 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2501
2502 * gdb.gdb/unittest.exp: Update expected message informing that
2503 selftests have been disabled.
2504 * gdb.server/unittest.exp: Likewise.
2505
2506 2018-10-09 Tom de Vries <tdevries@suse.de>
2507
2508 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2509 with runto_main.
2510
2511 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2512
2513 PR c++/16841
2514 * gdb.cp/virtbase2.cc: New file.
2515 * gdb.cp/virtbase2.exp: New file.
2516
2517 2018-10-06 Tom Tromey <tom@tromey.com>
2518
2519 PR python/19399:
2520 * gdb.python/py-inferior.exp: Add architecture test.
2521
2522 2018-10-06 Tom Tromey <tom@tromey.com>
2523
2524 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2525 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2526
2527 2018-10-06 Tom Tromey <tom@tromey.com>
2528
2529 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2530 of a "throw" catchpoint.
2531
2532 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2533
2534 * gdb.base/info-proc.exp: Update string expected from "help info
2535 proc".
2536
2537 2018-10-04 Tom Tromey <tom@tromey.com>
2538
2539 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2540 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2541 (test_initial_complaints, test_empty_complaints): Update.
2542 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2543
2544 2018-10-04 Tom Tromey <tom@tromey.com>
2545
2546 PR cli/19551:
2547 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2548 * lib/gdb.exp (gdb_file_cmd): Update.
2549 * gdb.stabs/weird.exp (print_weird_var): Update.
2550 * gdb.server/solib-list.exp: Update.
2551 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2552 * gdb.mi/mi-cli.exp: Update.
2553 * gdb.linespec/linespec.exp: Update.
2554 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2555 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2556 * gdb.cp/cp-relocate.exp: Update.
2557 * gdb.base/sym-file.exp: Update.
2558 * gdb.base/relocate.exp: Update.
2559 * gdb.base/readnever.exp: Update.
2560 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2561 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2562 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2563 * gdb.base/code_elim.exp: Update.
2564 * gdb.base/break-unload-file.exp (test_break): Update.
2565 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2566 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2567 Update.
2568 * gdb.base/attach.exp (do_attach_tests): Update.
2569 * gdb.base/sepdebug.exp: Update.
2570 * gdb.python/py-section-script.exp: Update.
2571
2572 2018-10-04 Tom Tromey <tom@tromey.com>
2573
2574 PR cli/22234:
2575 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2576 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2577 output.
2578
2579 2018-10-04 Tom Tromey <tom@tromey.com>
2580
2581 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2582 set width and height to 0.
2583 (test_command_line_attach_run): Use -quiet.
2584
2585 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2586
2587 * lib/gdb.exp (skip_ifunc_tests): New.
2588 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2589 other compile failures.
2590 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2591
2592 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2593
2594 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2595 is_amd64_regs_target.
2596
2597 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2598
2599 * gdb.arch/aarch64-sighandler-regs.c: New test.
2600 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2601 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2602
2603 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2604
2605 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2606 assembly.
2607
2608 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2609
2610 * gdb.base/frame-selection.exp: New file.
2611 * gdb.base/frame-selection.c: New file.
2612
2613 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2614
2615 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2616 pthread barrier.
2617 (main): Likewise.
2618
2619 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2620
2621 * gdb.base/large-frame-1.c: New file.
2622 * gdb.base/large-frame-2.c: New file.
2623 * gdb.base/large-frame.exp: New file.
2624 * gdb.base/large-frame.h: New file.
2625
2626 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2627
2628 PR gdb/20948
2629 * gdb.base/write_mem.exp: New test.
2630 * gdb.base/write_mem.c: Likewise.
2631
2632 2018-09-23 Tom Tromey <tom@tromey.com>
2633
2634 PR python/18852:
2635 * gdb.python/py-parameter.exp: Add test for parameter that throws
2636 on "set".
2637
2638 2018-09-23 Tom Tromey <tom@tromey.com>
2639
2640 PR python/17284:
2641 * gdb.python/py-template.exp (test_template_arg): Add test for
2642 negative template argument number.
2643
2644 2018-09-23 Tom Tromey <tom@tromey.com>
2645
2646 PR python/14062:
2647 * gdb.python/python.exp: Add test for post_event error.
2648
2649 2018-09-23 Tom Tromey <tom@tromey.com>
2650
2651 PR python/18170:
2652 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2653 convert pointers to int and long.
2654
2655 2018-09-23 Tom Tromey <tom@tromey.com>
2656
2657 PR python/20126:
2658 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2659 signed-ness conversion tests.
2660
2661 2018-09-23 Tom Tromey <tom@tromey.com>
2662
2663 PR python/18352;
2664 * gdb.python/py-value.exp (test_float_conversion): New proc.
2665 Use it.
2666
2667 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2668
2669 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2670
2671 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2672
2673 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2674 no readline.
2675 * gdb.base/utf8-identifiers.exp: Likewise.
2676 * gdb.cp/cpcompletion.exp: Likewise.
2677 * gdb.linespec/cpcompletion.exp: Likewise.
2678 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2679 * gdb.linespec/cpls-ops.exp: Likewise.
2680
2681 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2682 Chris January <chris.january@arm.com>
2683
2684 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2685 * gdb.fortran/short-circuit-argument-list.exp: New file.
2686 * gdb.fortran/short-circuit-argument-list.f90: New test.
2687
2688 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2689
2690 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2691 "arch=" keyword when executing "-stack-list-frames".
2692
2693 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2694
2695 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2696 "arch=" keyword when executing "-stack-list-frames".
2697
2698 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2699
2700 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2701 break ada".
2702
2703 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2704
2705 PR python/23669
2706 * gdb.python/python.exp: Test gdb.execute("show commands").
2707
2708 2018-09-16 Tom Tromey <tom@tromey.com>
2709
2710 * gdb.base/new-ui.exp (do_execution_tests): Update.
2711 * gdb.base/dbx.exp (test_breakpoints): Update.
2712
2713 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2714
2715 * lib/gdb.exp (gdb_simple_compile): Add proc.
2716 (is_elf_target): Use gdb_simple_compile.
2717 (skip_altivec_tests): Likewise.
2718 (skip_vsx_tests): Likewise.
2719 (skip_tsx_tests): Likewise.
2720 (skip_btrace_tests): Likewise.
2721 (skip_btrace_pt_tests): Likewise.
2722 (gdb_can_simple_compile): Likewise.
2723 (gdb_has_argv0): Likewise.
2724 (gdb_target_symbol_prefix): Likewise.
2725 (target_supports_scheduler_locking): Likewise.
2726
2727 2018-09-13 Tom Tromey <tom@tromey.com>
2728
2729 * Makefile.in (TAGS): Recognize proc_with_prefix and
2730 gdb_caching_proc.
2731
2732 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2733
2734 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2735 method.
2736
2737 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2738
2739 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2740 and a few other Inferior properties when the Inferior is no
2741 longer valid.
2742
2743 2018-09-13 Tom Tromey <tom@tromey.com>
2744
2745 PR rust/23650:
2746 * gdb.rust/simple.exp: Add test for enum field access error.
2747
2748 2018-09-13 Tom Tromey <tom@tromey.com>
2749
2750 PR rust/23626:
2751 * gdb.rust/simple.rs (EmptyEnum): New type.
2752 (main): Use it.
2753 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2754
2755 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2756
2757 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2758 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2759 * gdb.python/py-symtab.exp: Update test printing an objfile.
2760
2761 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2762
2763 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2764 object.
2765
2766 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2767
2768 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2769 (support_complex_tests): Use gdb_can_simple_compile.
2770 (is_ilp32_target): Likewise.
2771 (is_lp64_target): Likewise.
2772 (is_64_target): Likewise.
2773 (is_amd64_regs_target): Likewise.
2774 (is_aarch32_target): Likewise.
2775 (gdb_int128_helper): Likewise.
2776
2777 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2778
2779 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2780
2781 2018-09-10 Jerome Guitton <guitton@adacore.com>
2782
2783 * gdb.ada/same_component_name: Add test for case of tagged record
2784 with variable-length fields.
2785
2786 2018-09-10 Xavier Roirand <roirand@adacore.com>
2787
2788 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2789 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2790 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2791 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2792
2793 2018-09-10 Xavier Roirand <roirand@adacore.com>
2794
2795 * gdb.ada/mi_string_access.exp: New testcase.
2796 * gdb.ada/mi_string_access/bar.adb: New file.
2797 * gdb.ada/mi_string_access/pck.adb: New file.
2798 * gdb.ada/mi_string_access/pck.asd: New file.
2799
2800 2018-09-10 Xavier Roirand <roirand@adacore.com>
2801
2802 * gdb.ada/mi_var_union.exp: New testcase.
2803 * gdb.ada/mi_var_union/bar.adb: New file.
2804 * gdb.ada/mi_var_union/pck.adb: New file.
2805 * gdb.ada/mi_var_union/pck.asd: New file.
2806
2807 2018-09-08 Tom Tromey <tom@tromey.com>
2808
2809 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2810
2811 2018-09-08 Tom Tromey <tom@tromey.com>
2812
2813 PR python/16047:
2814 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2815 (register_pretty_printers): Register new printer.
2816 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2817 test.
2818 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2819 (an_int_type3): New global.
2820
2821 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2822
2823 * gdb.ada/expr_with_funcall: New testcase.
2824
2825 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2826
2827 * gdb.ada/packed_array_assign: New testcase.
2828
2829 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2830
2831 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2832 names, and add test prefixes to make test names unique.
2833
2834 2018-09-05 Tom de Vries <tdevries@suse.de>
2835
2836 * gdb.dwarf2/varval.exp: Add test.
2837
2838 2018-09-04 Gary Benson <gbenson@redhat.com>
2839
2840 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2841 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2842
2843 2018-08-31 Tom Tromey <tom@tromey.com>
2844
2845 * gdb.rust/simple.rs: Rename second variable "v".
2846
2847 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.base/funcargs.c (use_a): New function.
2850 (recurse): Call use_a.
2851
2852 2018-08-29 Keith Seitz <keiths@redhat.com>
2853
2854 * gdb.compile/compile-cplus-anonymous.cc: New file.
2855 * gdb.compile/compile-cplus-anonymous.exp: New file.
2856 * gdb.compile/compile-cplus-array-decay.cc: New file.
2857 * gdb.compile/compile-cplus-array-decay.exp: New file.
2858 * gdb.compile/compile-cplus-inherit.cc: New file.
2859 * gdb.compile/compile-cplus-inherit.exp: New file.
2860 * gdb.compile/compile-cplus-member.cc: New file.
2861 * gdb.compile/compile-cplus-member.exp: New file.
2862 * gdb.compile/compile-cplus-method.cc: New file.
2863 * gdb.compile/compile-cplus-method.exp: New file.
2864 * gdb.compile/compile-cplus-mod.c: "New" file.
2865 * gdb.compile/compile-cplus-namespace.cc: New file.
2866 * gdb.compile/compile-cplus-namespace.exp: New file.
2867 * gdb.compile/compile-cplus-nested.cc: New file.
2868 * gdb.compile/compile-cplus-nested.exp: New file.
2869 * gdb.compile/compile-cplus-print.c: "New" file.
2870 * gdb.compile/compile-cplus-print.exp: "New" file.
2871 * gdb.compile/compile-cplus-virtual.cc: New file.
2872 * gdb.compile/compile-cplus-virtual.exp: New file.
2873 * gdb.compile/compile-cplus.c: "New" file.
2874 * gdb.compile/compile-cplus.exp: "New" file.
2875 * lib/compile-support.exp: New file.
2876
2877 2018-08-16 Gary Benson <gbenson@redhat.com>
2878
2879 PR gdb/13000:
2880 * gdb.base/batch-exit-status.exp: New file.
2881 * gdb.base/batch-exit-status.good-commands: Likewise.
2882 * gdb.base/batch-exit-status.bad-commands: Likewise.
2883
2884 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2885
2886 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2887 (struct struct02): Likewise.
2888 (struct struct03): Likewise.
2889 (struct struct04): Likewise.
2890 (struct struct_01_01): New struct.
2891 (struct struct_01_02): Likewise.
2892 (struct struct_01_03): Likewise.
2893 (struct struct_01_04): Likewise.
2894 (struct struct_02_01): Likewise.
2895 (struct struct_02_02): Likewise.
2896 (struct struct_02_03): Likewise.
2897 (struct struct_02_04): Likewise.
2898 (struct struct_04_01): Likewise.
2899 (struct struct_04_02): Likewise.
2900 (struct struct_04_03): Likewise.
2901 (struct struct_04_04): Likewise.
2902 (struct struct_05_01): Likewise.
2903 (struct struct_05_02): Likewise.
2904 (struct struct_05_03): Likewise.
2905 (struct struct_05_04): Likewise.
2906 (cmp_struct01): Remove function.
2907 (cmp_struct02): Likewise.
2908 (cmp_struct03): Likewise.
2909 (cmp_struct04): Likewise.
2910 (cmp_struct_01_01): Add Function.
2911 (cmp_struct_01_02): Likewise.
2912 (cmp_struct_01_03): Likewise.
2913 (cmp_struct_01_04): Likewise.
2914 (cmp_struct_02_01): Likewise.
2915 (cmp_struct_02_02): Likewise.
2916 (cmp_struct_02_03): Likewise.
2917 (cmp_struct_02_04): Likewise.
2918 (cmp_struct_04_01): Likewise.
2919 (cmp_struct_04_02): Likewise.
2920 (cmp_struct_04_03): Likewise.
2921 (cmp_struct_04_04): Likewise.
2922 (cmp_struct_05_01): Likewise.
2923 (cmp_struct_05_02): Likewise.
2924 (cmp_struct_05_03): Likewise.
2925 (cmp_struct_05_04): Likewise.
2926 (call_all): Add new structs.
2927 * gdb.base/infcall-nested-structs.exp: Likewise.
2928
2929 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2930
2931 * gdb.python/py-framefilter-mi.exp: Update regexp to
2932 check for "arch" field in frame output.
2933
2934 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2935
2936 * gdb.dwarf2/dw2-ranges-func.c: New file.
2937 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2938
2939 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2940
2941 * gdb.base/term.exp: Compare terminal settings with values from
2942 the inferior.
2943 * gdb.base/term.c: Get and set terminal settings.
2944
2945 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2946
2947 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2948 accommodate new "arch" field in frame output.
2949 * gdb.mi/mi-return.exp: Likewise.
2950 * gdb.mi/mi-stack.exp: Likewise.
2951 * gdb.mi/mi-syn-frame.exp: Likewise.
2952 * gdb.mi/user-selected-context-sync.exp: Likewise.
2953
2954 2018-08-19 Michael Spang <spang@google.com>
2955
2956 PR gdb/11786
2957 * gdb.base/gcore-tls-pie.c: New file.
2958 * gdb.base/gcore-tls-pie.exp: New file.
2959
2960 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2961
2962 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2963 * gdb.dwarf2/varval.c: New file.
2964 * gdb.dwarf2/varval.exp: New file.
2965
2966 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2967
2968 PR gdb/18931
2969 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2970
2971 2018-08-16 Keith Seitz <keiths@redhat.com>
2972
2973 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2974 tests expected to pass.
2975
2976 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2977
2978 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2979 -data-disassemble -a.
2980 (test_disassembly_bogus_args): Likewise.
2981
2982 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2983
2984 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2985
2986 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.base/vla-optimized-out.exp: Add new test.
2989
2990 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2991
2992 * gdb.base/vla-optimized-out-o3.exp: Delete.
2993 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2994 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2995 deleted tests.
2996
2997 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2998
2999 PR gdb/18050:
3000 * gdb.server/extended-remote-restart.c: New file.
3001 * gdb.server/extended-remote-restart.exp: New file.
3002
3003 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3004
3005 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3006 "set variable index = 42".
3007
3008 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3009
3010 * boards/index-cache-gdb.exp: New file.
3011 * gdb.dwarf2/index-cache.exp: New file.
3012 * gdb.dwarf2/index-cache.c: New file.
3013 * gdb.base/maint.exp: Check if we are using the index cache.
3014
3015 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3016
3017 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3018 MAKEFLAGS.
3019
3020 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3021
3022 * dg-extract-results.sh: Move to toplevel contrib.
3023 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3024 * Makefile.in (check-parallel-racy): Likewise.
3025
3026 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3027
3028 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3029 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3030 tests if the target supports scheduler locking.
3031
3032 2018-08-04 Tom de Vries <tdevries@suse.de>
3033
3034 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3035
3036 2018-08-02 Tom Tromey <tom@tromey.com>
3037
3038 PR symtab/16842.
3039 * gdb.cp/temargs.exp: Test "info address" of a template
3040 parameter.
3041
3042 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3043
3044 * gdb.python/py-mi-var-info-path-expression.c: New file.
3045 * gdb.python/py-mi-var-info-path-expression.py: New file.
3046 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3047
3048 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3049
3050 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3051 error after "cannot resolve name" string.
3052
3053 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3054
3055 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3056 started.
3057 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3058
3059 2018-07-28 Tom de Vries <tdevries@suse.de>
3060
3061 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3062
3063 2018-07-26 Tom de Vries <tdevries@suse.de>
3064
3065 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3066
3067 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3068
3069 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3070 is visible.
3071
3072 2018-07-26 Tom de Vries <tdevries@suse.de>
3073
3074 PR breakpoints/23366
3075 * gdb.base/catch-follow-exec.c: New test.
3076 * gdb.base/catch-follow-exec.exp: New file.
3077
3078 2018-07-25 Tom de Vries <tdevries@suse.de>
3079
3080 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3081 vla-optimized-out.c.
3082
3083 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3084
3085 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3086 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3087
3088 2018-07-20 Tom de Vries <tdevries@suse.de>
3089
3090 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3091 NOCLONE macro.
3092 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3093
3094 2018-07-19 Tom de Vries <tdevries@suse.de>
3095
3096 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3097 regular expression.
3098
3099 2018-07-18 Tom de Vries <tdevries@suse.de>
3100
3101 * gdb.base/vla-optimized-out.c: New test.
3102 * gdb.base/vla-optimized-out.exp: New file.
3103
3104 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3105
3106 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3107 message "No address associated with hostname" when gdbserver
3108 cannot resolve the hostname.
3109
3110 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3111
3112 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3113 Add some test prefixes to make tests unique.
3114
3115 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3116
3117 * gdb.base/frameapply.c: New file.
3118 * gdb.base/frameapply.exp: New file.
3119
3120 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3121
3122 * gdb.base/skip.exp: Update expected error message.
3123
3124 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3125 Jan Kratochvil <jan.kratochvil@redhat.com>
3126 Paul Fertser <fercerpav@gmail.com>
3127 Tsutomu Seki <sekiriki@gmail.com>
3128
3129 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3130 parameter.
3131 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3132 by default.
3133 * boards/native-gdbserver.exp: Likewise.
3134 * gdb.server/run-without-local-binary.exp: Improve regexp used
3135 for detecting when a remote debugging connection succeeds.
3136 * gdb.server/server-connect.exp: New file.
3137 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3138 Do not prefix the port number with ":".
3139 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3140 support for detecting and using it. Add '$debughost_gdbserver'
3141 to the list of arguments used to start gdbserver. Handle case
3142 when gdbserver cannot resolve a network name.
3143
3144 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3145
3146 PR c++/23373
3147 * gdb.base/ptype-offsets.cc (struct static_member): New
3148 struct.
3149 (main) <stmember>: New variable.
3150 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3151 with a static member in it.
3152
3153 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3156 watchpoints enabled and disabled.
3157
3158 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3159
3160 * gdb.base/examine-backward.exp: Still run tests around address
3161 0x0, even if address 0x0 is not readable. Update the pattern for
3162 matching address 0x0 in expected output.
3163
3164 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3165
3166 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3167 malloc/free.
3168
3169 2018-07-04 Tom de Vries <tdevries@suse.de>
3170
3171 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3172
3173 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3174
3175 PR tdep/8282
3176 * gdb.arch/mips-disassembler-options.exp: New test.
3177 * gdb.arch/mips-disassembler-options.s: New test source.
3178
3179 2018-06-29 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.threads/names.exp: Adjust expected "info threads" output.
3182
3183 2018-06-29 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.opt/inline-break.exp (line number, address): Add "info
3186 break" tests.
3187
3188 2018-06-29 Pedro Alves <palves@redhat.com>
3189
3190 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3191 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3192 number and address and running to them.
3193
3194 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3195
3196 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3197
3198 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3199
3200 * lib/compiler.c: Remove executable permission flag.
3201
3202 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3203
3204 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3205 code.
3206 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3207
3208 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3209
3210 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3211
3212 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3213
3214 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3215 address argument is omitted.
3216
3217 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3218
3219 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3220
3221 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3222
3223 PR gdb/21695
3224 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3225 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3226
3227 2018-06-26 Tom Tromey <tom@tromey.com>
3228
3229 PR rust/22574:
3230 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3231 * gdb.rust/simple.rs (struct SimpleLayout): New.
3232
3233 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3234
3235 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3236 "info registers" output.
3237
3238 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3239
3240 * gdb.base/watchpoint-hw-attach.c: New test.
3241 * gdb.base/watchpoint-hw-attach.exp: New file.
3242
3243 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3244
3245 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3246 through /bin/sh.
3247 * boards/dwarf4-gdb-index.exp: Likewise.
3248 * boards/fission-dwp.exp: Likewise.
3249
3250 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3251
3252 * gdb.base/float128.exp: Add comment and improved fail message
3253 to the failure case of "print large128" test.
3254
3255 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3256
3257 * configure.ac: Remove AC_PREREQ.
3258 * configure: Re-generate.
3259
3260 2018-06-19 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3263 (func_extern_caller): New.
3264 (main): Call func_extern_caller.
3265 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3266 logic change.
3267
3268 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3269
3270 PR gdb/16841
3271 * gdb.cp/typedef-base.cc: New file.
3272 * gdb.cp/typedef-base.exp: New file.
3273
3274 2018-06-18 Tom de Vries <tdevries@suse.de>
3275
3276 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3277
3278 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3279 Richard Bunt <Richard.Bunt@arm.com>
3280
3281 * gdb.threads/attach-slow-waitpid.c: New file.
3282 * gdb.threads/attach-slow-waitpid.exp: New file.
3283 * gdb.threads/slow-waitpid.c: New file.
3284
3285 2018-06-14 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.base/fork-running-state.c: Include <errno.h>.
3288 (exit_if_relative_exits): New.
3289 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3290 exits.
3291 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3292 child exits.
3293
3294 2018-06-14 Tom de Vries <tdevries@suse.de>
3295
3296 PR cli/22573
3297 * gdb.base/finish-pretty.c: New test.
3298 * gdb.base/finish-pretty.exp: New file.
3299
3300 2018-06-14 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3303 gdb's expected startup output.
3304
3305 2018-06-14 Pedro Alves <palves@redhat.com>
3306
3307 * lib/selftest-support.exp (selftest_setup): Remove inlined
3308 function handling.
3309
3310 2018-06-14 Tom de Vries <tdevries@suse.de>
3311
3312 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3313 matching of breakpoint printing.
3314
3315 2018-06-13 Tom de Vries <tdevries@suse.de>
3316
3317 PR testsuite/23269
3318 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3319 (fork_child): ... here, and ...
3320 (fork_parent): ... here.
3321
3322 2018-06-12 Tom de Vries <tdevries@suse.de>
3323
3324 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3325
3326 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3327 Stephen Roberts <stephen.roberts@arm.com>
3328
3329 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3330 rewrite test to describe action performed, rather than possible
3331 failure.
3332
3333 2018-06-08 Gary Benson <gbenson@redhat.com>
3334
3335 * gdb.threads/check-libthread-db.exp: New file.
3336 * gdb.threads/check-libthread-db.c: Likewise.
3337
3338 2018-06-05 Tom Tromey <tom@tromey.com>
3339
3340 * gdb.base/default.exp: Update expected "show version" output.
3341
3342 2018-06-05 Tom Tromey <tom@tromey.com>
3343
3344 PR cli/12326:
3345 * gdb.cp/static-print-quit.exp: Update.
3346 * lib/gdb.exp (pagination_prompt): Update.
3347 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3348 * gdb.python/python.exp: Update.
3349
3350 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3351
3352 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3353
3354 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3355
3356 * gdb.ada/bp_fun_addr: New testcase.
3357
3358 2018-06-01 Tom Tromey <tom@tromey.com>
3359
3360 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3361 results.
3362 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3363 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3364 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3365 * gdb.base/maint.exp (maint_pass_if): Update.
3366
3367 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3368
3369 * gdb.base/endian.exp: New test.
3370 * gdb.base/endian.c: New test source.
3371
3372 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 PR gdb/23203
3375 * gdb.base/bt-selected-frame.c: New file.
3376 * gdb.base/bt-selected-frame.exp: New file.
3377 * lib/gdb.exp (get_current_frame_number): New function.
3378
3379 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3380 Pedro Alves <palves@redhat.com>
3381
3382 * gdb.threads/tls-core.c: Include <stdlib.h>
3383 (thread_proc): Call `abort'.
3384 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3385 (tls_core_test): New procedure, bits factored out from ...
3386 (top level): ... here. Test both native cores and gcore cores.
3387
3388 2018-05-23 Tom Tromey <tom@tromey.com>
3389
3390 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3391
3392 2018-05-23 Tom Tromey <tom@tromey.com>
3393
3394 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3395 symfile_complaints.
3396 (test_short_complaints): Likewise.
3397 (test_empty_complaints): Likewise.
3398 (test_initial_complaints): Update.
3399
3400 2018-05-23 Tom Tromey <tom@tromey.com>
3401
3402 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3403
3404 2018-05-23 Tom Tromey <tom@tromey.com>
3405
3406 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3407 (test_short_complaints): Update.
3408
3409 2018-05-22 Pedro Alves <palves@redhat.com>
3410
3411 * gdb.base/remote.exp: Only gdb_start after compiling the
3412 testcase. Issue "disconnect" before testing "set remote" command
3413 defaults. Issue clean_restart before running to main.
3414
3415 2018-05-22 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/remote.exp: Adjust expected output of "show remote
3418 memory-write-packet-size". Add tests for "set remote
3419 memory-write-packet-size 0" and "set remote
3420 memory-write-packet-size fixed/limit".
3421
3422 2018-05-22 Pedro Alves <palves@redhat.com>
3423
3424 PR gdb/22973
3425 * gdb.base/utf8-identifiers.c: New file.
3426 * gdb.base/utf8-identifiers.exp: New file.
3427
3428 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3429
3430 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3431
3432 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3433
3434 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3435
3436 2018-05-18 Tom Tromey <tom@tromey.com>
3437
3438 * gdb.base/ptype-offsets.exp: Update.
3439
3440 2018-05-17 Keith Seitz <keiths@redhat.com>
3441
3442 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3443 in expected breakpoint stop locations.
3444 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3445 move to proper scope to test variable values.
3446 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3447 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3448 New functions.
3449 (main): Call not_inline_func3.
3450 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3451 inline_func1, inline_func2, and inline_func3. Test that when each
3452 breakpoint is hit, GDB properly reports both the stop location
3453 and the backtrace. Repeat tests for temporary breakpoints.
3454
3455 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3456
3457 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3458 rather then trying to access it in determining whether the PID
3459 of `gdbserver' could have been retrieved.
3460
3461 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3462
3463 * gdb.arch/amd64-init-x87-values.S: New file.
3464 * gdb.arch/amd64-init-x87-values.exp: New file.
3465
3466 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3467
3468 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3469
3470 2018-05-04 Tom Tromey <tom@tromey.com>
3471
3472 PR python/22730:
3473 * gdb.python/python.exp: Test multi-line execute.
3474
3475 2018-05-04 Tom Tromey <tom@tromey.com>
3476
3477 PR python/22731:
3478 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3479
3480 2018-05-04 Tom Tromey <tom@tromey.com>
3481
3482 PR gdb/11750:
3483 * gdb.base/define.exp: Test defining a user command inside a user
3484 command.
3485 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3486
3487 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3488 Pedro Alves <palves@redhat.com>
3489
3490 PR breakpoints/19806 and support for PR external/20207.
3491 * gdb.base/watchpoint-unaligned.c: New file.
3492 * gdb.base/watchpoint-unaligned.exp: New file.
3493
3494 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3495
3496 * gdb.base/maint.exp: Make test names unique, use
3497 test_prefix_command_help to test 'help maint info', and remove
3498 repeated test of 'help maint'.
3499
3500 2018-05-04 Tom Tromey <tom@tromey.com>
3501
3502 PR gdb/22619:
3503 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3504 behavior.
3505
3506 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3507
3508 * gdb.base/maint.exp: Process output from 'maint print registers'
3509 line at a time.
3510
3511 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3512
3513 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3514 timeout.
3515
3516 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3517
3518 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3519 filter pattern.
3520
3521 2018-05-02 Pedro Alves <palves@redhat.com>
3522
3523 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3524 to_log_command renames.
3525 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3526
3527 2018-05-02 Tom Tromey <tom@tromey.com>
3528
3529 * gdb.python/py-parameter.exp: Set test message.
3530
3531 2018-05-02 Tom Tromey <tom@tromey.com>
3532
3533 PR python/20084:
3534 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3535 PARAM_ZUINTEGER_UNLIMITED tests.
3536
3537 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3538
3539 PR rust/23124
3540 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3541 when casting.
3542
3543 2018-04-30 Tom Tromey <tom@tromey.com>
3544
3545 * gdb.python/py-type.exp: Check align attribute.
3546 * gdb.python/py-type.c: New "aligncheck" global.
3547
3548 2018-04-30 Tom Tromey <tom@tromey.com>
3549
3550 PR exp/17095:
3551 * gdb.dwarf2/dw2-align.exp: New file.
3552 * gdb.cp/align.exp: New file.
3553 * gdb.base/align.exp: New file.
3554 * lib/gdb.exp (gdb_int128_helper): New proc.
3555 (has_int128_c, has_int128_cxx): New caching procs.
3556
3557 2018-04-27 Tom Tromey <tom@tromey.com>
3558
3559 PR rust/22545:
3560 * gdb.rust/simple.exp: Add inclusive range tests.
3561
3562 2018-04-26 Pedro Alves <palves@redhat.com>
3563
3564 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3565 ifunc breakpoint locations correctly of ifunc breakpoints set
3566 while the program resolves the ifunc.
3567
3568 2018-04-26 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.base/gnu-ifunc-final.c: New file.
3571 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3572 * gdb.base/gnu-ifunc.exp (executable): Delete.
3573 (staticexecutable): Adjust.
3574 (lib_opts, exec_opts): Delete.
3575 (make_binsuffix, build, set-break): New procedures.
3576 (misc_tests): New, with tests factored out from the top level.
3577 (top level): Test different combinations of ifunc resolver name,
3578 resolver with and with debug info, and ifunc target with and
3579 without debug info. Wrap static tests with with_target_prefix.
3580
3581 2018-04-26 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3584 return type" warnings.
3585
3586 2018-04-25 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3589 killed".
3590 * gdb.base/kill-after-signal.exp: Likewise.
3591 * gdb.threads/kill.exp: Likewise.
3592
3593 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3594 Sergio Durigan Junior <sergiodj@redhat.com>
3595 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3598 regexps to expect for '[Inferior ... detached]' as well.
3599 * gdb.base/attach.exp: Likewise.
3600 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3601 "gdb_continue_to_end".
3602 (test_catch_syscall_with_wrong_args): Likewise.
3603 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3604 ']'. Don't set 'verbose' on.
3605 * gdb.base/foll-vfork.exp: Likewise.
3606 * gdb.base/fork-print-inferior-events.c: New file.
3607 * gdb.base/fork-print-inferior-events.exp: New file.
3608 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3609 '[Inferior ... has been killed]' message.
3610 * gdb.base/kill-after-signal.exp: Likewise.
3611 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3612 detach message.
3613 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3614 message.
3615 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3616 regexps to expect for '[Inferior ... detached]' as well.
3617 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3618
3619 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3620
3621 PR gdb/23104
3622 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3623
3624 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3625
3626 * gdb.threads/multiple-successive-infcall.c: New test.
3627 * gdb.threads/multiple-successive-infcall.exp: New file.
3628
3629 2018-04-17 Tom Tromey <tom@tromey.com>
3630
3631 * gdb.rust/simple.rs (Union): New type.
3632 (main): New local "u".
3633 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3634
3635 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3636
3637 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3638 number information in output of "whereis" command.
3639 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3640
3641 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3642
3643 * gdb.ada/info_types.exp: Adjust expected output to the line
3644 numbers now printed by "info var/func/type".
3645 * gdb.base/completion.exp: Likewise.
3646 * gdb.base/included.exp: Likewise.
3647 * gdb.cp/cp-relocate.exp: Likewise.
3648 * gdb.cp/cplusfuncs.exp: Likewise.
3649 * gdb.cp/namespace.exp: Likewise.
3650 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3651
3652 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3653
3654 * gdb.btrace/cpu.exp: New.
3655
3656 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3657
3658 * gdb.base/step-indirect-call-thunk.exp: New.
3659 * gdb.base/step-indirect-call-thunk.c: New.
3660 * gdb.reverse/step-indirect-call-thunk.exp: New.
3661 * gdb.reverse/step-indirect-call-thunk.c: New.
3662
3663 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3664
3665 * gdb.base/pie-fork.c: New file.
3666 * gdb.base/pie-fork.exp: New file.
3667
3668 2018-04-11 Tom Tromey <tom@tromey.com>
3669
3670 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3671
3672 2018-04-10 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3675 exits. Instead loop running forever.
3676 (fork_parent): Run forever too.
3677
3678 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3679
3680 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3681 mi_continue_to_line.
3682 * gdb.mi/mi-stack.c (callee4): Add comment.
3683
3684 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3685
3686 * gdb.mi/mi-stack.exp: Fix indentation.
3687
3688 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3689
3690 PR gdb/22979
3691 * gdb.arch/amd64-osabi.exp: New file.
3692
3693 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3694
3695 PR gdb/22980
3696 * gdb.base/osabi.exp: New file.
3697
3698 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3699
3700 * gdb.cp/static-typedef-print.exp: New file.
3701 * gdb.cp/static-typedef-print.cc: New file.
3702
3703 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3704
3705 * gdb.ada/varsize_limit: New testcase.
3706
3707 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3708
3709 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3710
3711 * gdb.ada/notcplusplus: New testcase.
3712
3713 * gdb.base/c-linkage-name.c: New file.
3714 * gdb.base/c-linkage-name.exp: New testcase.
3715
3716 2018-03-26 Tom Tromey <tom@tromey.com>
3717
3718 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3719 * gdb.python/py-framefilter.py (name_error): New global.
3720 (ErrorInName.function): Use name_error.
3721
3722 2018-03-26 Tom Tromey <tom@tromey.com>
3723
3724 PR backtrace/15582:
3725 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3726
3727 2018-03-23 Keith Seitz <keiths@redhat.com>
3728
3729 PR c++/22968
3730 * gdb.cp/subtypes.exp: New file.
3731 * gdb.cp/subtypes.h: New file.
3732 * gdb.cp/subtypes.cc: New file.
3733 * gdb.cp/subtypes-2.cc: New file.
3734
3735 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3736
3737 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3738 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3739 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3740 -nostartfiles when compiling the test. Confirm that all registers
3741 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3742
3743 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3744
3745 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3746 option, syntax was wrong anyway.
3747 * gdb.arch/arm-disp-step.exp: Likewise.
3748 * gdb.arch/sparc64-regs.exp: Likewise.
3749 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3750 option, syntax was wrong anyway, switch to use
3751 prepare_for_testing.
3752 * gdb.arch/i386-disp-step.exp: Likewise.
3753
3754 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3755
3756 * gdb.ada/exec_changed.exp: Replace "target_info exists
3757 use_gdb_stub" by "use_gdb_stub".
3758 * gdb.ada/start.exp: Likewise.
3759 * gdb.base/async-shell.exp: Likewise.
3760 * gdb.base/attach-pie-misread.exp: Likewise.
3761 * gdb.base/attach-wait-input.exp: Likewise.
3762 * gdb.base/break-entry.exp: Likewise.
3763 * gdb.base/break-interp.exp: Likewise.
3764 * gdb.base/dprintf-detach.exp: Likewise.
3765 * gdb.base/nostdlib.exp: Likewise.
3766 * gdb.base/solib-nodir.exp: Likewise.
3767 * gdb.base/statistics.exp: Likewise.
3768 * gdb.base/testenv.exp: Likewise.
3769 * gdb.mi/mi-exec-run.exp: Likewise.
3770 * gdb.mi/mi-start.exp: Likewise.
3771 * gdb.multi/dummy-frame-restore.exp: Likewise.
3772 * gdb.multi/multi-arch-exec.exp: Likewise.
3773 * gdb.multi/multi-arch.exp: Likewise.
3774 * gdb.multi/tids.exp: Likewise.
3775 * gdb.multi/watchpoint-multi.exp: Likewise.
3776 * gdb.python/py-events.exp: Likewise.
3777 * gdb.threads/attach-into-signal.exp: Likewise.
3778 * gdb.threads/attach-stopped.exp: Likewise.
3779 * gdb.threads/threadapply.exp: Likewise.
3780 * lib/selftest-support.exp: Likewise.
3781
3782 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3783
3784 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3785
3786 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3787
3788 * gdb.perf/template-breakpoints.cc: New file.
3789 * gdb.perf/template-breakpoints.exp: New file.
3790 * gdb.perf/template-breakpoints.py: New file.
3791
3792 2018-03-19 Tom Tromey <tom@tromey.com>
3793
3794 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3795 y0.
3796 * gdb.rust/simple.exp: Test bare identifier form of struct
3797 initializer.
3798
3799 2018-03-19 Tom Tromey <tom@tromey.com>
3800
3801 * gdb.gdb/observer.exp: Remove.
3802
3803 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3804
3805 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3806 "qualified" option when setting breakpoints.
3807 * gdb.trace/backtrace.exp: Likewise.
3808 * gdb.trace/circ.exp: Likewise.
3809 * gdb.trace/collection.exp: Likewise.
3810 * gdb.trace/disconnected-tracing.exp: Likewise.
3811 * gdb.trace/ftrace-lock.exp: Likewise.
3812 * gdb.trace/ftrace.exp: Likewise.
3813 * gdb.trace/infotrace.exp: Likewise.
3814 * gdb.trace/packetlen.exp: Likewise.
3815 * gdb.trace/passc-dyn.exp: Likewise.
3816 * gdb.trace/qtro.exp: Likewise.
3817 * gdb.trace/read-memory.exp: Likewise.
3818 * gdb.trace/report.exp: Likewise.
3819 * gdb.trace/signal.exp: Likewise.
3820 * gdb.trace/status-stop.exp: Likewise.
3821 * gdb.trace/strace.exp: Likewise.
3822 * gdb.trace/tfind.exp: Likewise.
3823 * gdb.trace/trace-break.exp: Likewise.
3824 * gdb.trace/trace-condition.exp: Likewise.
3825 * gdb.trace/trace-mt.exp: Likewise.
3826 * gdb.trace/tstatus.exp: Likewise.
3827 * gdb.trace/tsv.exp: Likewise.
3828 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3829 * gdb.trace/unavailable.exp: Likewise.
3830 * gdb.trace/while-dyn.exp: Likewise.
3831
3832 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3833
3834 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3835 that libinproctrace is copied to the target.
3836
3837 2018-03-14 Tom Tromey <tom@tromey.com>
3838
3839 PR cli/14977:
3840 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3841 a null pointer.
3842 * gdb.base/wchar.exp: Likewise.
3843
3844 2018-03-14 Tom Tromey <tom@tromey.com>
3845
3846 PR cli/19918:
3847 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3848 flag.
3849
3850 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3851
3852 PR gdb/22841
3853 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3854 "target" to remote_exec.
3855
3856 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3857
3858 PR gdb/22841
3859 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3860 ${board}_upload): Remove.
3861
3862 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3863
3864 * gdb.cp/watch-cp.cc: New test.
3865 * gdb.cp/watch-cp.exp: New file.
3866
3867 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3868
3869 * gdb.base/infcall-nested-structs.exp: New file.
3870 * gdb.base/infcall-nested-structs.c: New file.
3871 * gdb.base/float.exp: Add riscv support.
3872
3873 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3874
3875 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3876 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3877
3878 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3879
3880 * gdb.server/abspath.exp: New file.
3881 * lib/gdb.exp (with_cwd): New procedure.
3882
3883 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3884
3885 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3886 use it.
3887 (gdb_is_target_remote_prompt): New proc.
3888 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3889 (gdb_is_target_native): Pass prompt parameter to
3890 gdb_is_target_1.
3891
3892 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3893
3894 * gdb.base/load-command.c: New file.
3895 * gdb.base/load-command.exp: New file.
3896 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3897 (gdb_is_target_1): ...this, and generalize for other targets
3898 than just remote.
3899 (gdb_is_target_remote): Use gdb_is_target_1.
3900 (gdb_is_target_native): use gdb_is_target_1.
3901
3902 2018-02-26 Tom Tromey <tom@tromey.com>
3903
3904 PR python/16497:
3905 * gdb.python/py-framefilter.exp: Update test.
3906
3907 2018-02-26 Tom Tromey <tom@tromey.com>
3908
3909 * gdb.dwarf2/variant.c: New file.
3910 * gdb.dwarf2/variant.exp: New file.
3911
3912 2018-02-26 Tom Tromey <tom@tromey.com>
3913
3914 * gdb.rust/simple.exp: Accept more possible results in enum test.
3915
3916 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3917
3918 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3919 parentheses.
3920
3921 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3922
3923 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3924 name of a variable: $actual_linejj -> $actual_line.
3925
3926 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3927
3928 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3929
3930 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3931
3932 * gdb.btrace/buffer-size.exp: Do not force BTS.
3933
3934 2018-02-14 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3937 getting a "Quit".
3938
3939 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3940
3941 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3942 Fix test name.
3943
3944 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3945
3946 * gdb.cp/m-static.exp: Check type of optimized out static
3947 member.
3948
3949 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3950
3951 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3952 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3953
3954 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3955 Leszek Swirski <leszeks@google.com>
3956
3957 * gdb.python/py-prettyprint.c
3958 (struct to_string_returns_value_inner,
3959 struct to_string_returns_value_wrapper): New.
3960 (main): Add tsrvw variable.
3961 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3962 ToStringReturnsValueWrapper): New classes.
3963 (register_pretty_printers): Register new pretty-printers.
3964 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3965 recursive pretty printer.
3966 * gdb.python/py-mi.exp: Likewise.
3967
3968 2018-02-01 Leszek Swirski <leszeks@google.com>
3969
3970 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3971 functions with the same name as an include file are parsed
3972 correctly.
3973
3974 2018-02-01 Yao Qi <yao.qi@linaro.org>
3975
3976 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3977 "\[^\r\n\]*".
3978
3979 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3980
3981 * gdb.arch/powerpc-prologue-frame.s: New file.
3982 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3983 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3984
3985 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3986
3987 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3988
3989 2018-01-30 Pedro Alves <palves@redhat.com>
3990
3991 PR gdb/13211
3992 * gdb.base/interrupt-daemon.c: New.
3993 * gdb.base/interrupt-daemon.exp: New.
3994 * gdb.multi/multi-term-settings.c: New.
3995 * gdb.multi/multi-term-settings.exp: New.
3996
3997 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3998
3999 * gdb.base/break.exp: Save the location where the breakpoint
4000 on break.c:47 was actually inserted when debugging the version
4001 compiled at -O2 and use it in the expected output of the "info
4002 break" test performed soon after.
4003
4004 2018-01-22 Pedro Alves <palves@redhat.com>
4005 Sergio Durigan Junior <sergiodj@redhat.com>
4006
4007 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4008 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4009
4010 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.base/break-include.c, gdb.base/break-include.inc,
4013 gdb.base/break-include.exp: New files.
4014 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4015 line number now being the actual line number where the breakpoint
4016 was inserted.
4017 * gdb.mi/mi-break.exp: Likewise.
4018 * gdb.mi/mi-reverse.exp: Likewise.
4019 * gdb.mi/mi-simplerun.exp: Ditto.
4020
4021 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4022
4023 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4024 varobj.
4025 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4026
4027 2018-01-21 Don Breazeal <donb@codesourcery.com>
4028 Andrew Burgess <andrew.burgess@embecosm.com>
4029
4030 * gdb.mi/basics.c: Add new global.
4031 * gdb.mi/mi-frame-regs.exp: New file.
4032 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4033 case.
4034
4035 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4036
4037 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4038 non-parameter, and on an unknown symbol.
4039
4040 2018-01-19 Tom Tromey <tom@tromey.com>
4041
4042 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4043 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4044
4045 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4046
4047 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4048 setrlimit and chdir to int.
4049
4050 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4051
4052 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4053 function.
4054 (my_tend): Likewise.
4055 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4056 rationale of avoiding FP- and vector instructions.
4057
4058 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4059
4060 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4061 "info reg" with "\[ \t\]*".
4062 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4063 "\[ \t\]+".
4064 * gdb.arch/s390-multiarch.exp: Ditto.
4065 * gdb.base/pc-fp.exp: Ditto.
4066 * gdb.reverse/i386-precsave.exp: Ditto.
4067 * gdb.reverse/i386-reverse.exp: Ditto.
4068 * gdb.reverse/i387-env-reverse.exp: Ditto.
4069 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4070
4071 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4072
4073 * lib/gdb.exp (gdb_compile): Re-enable use of
4074 universal_compile_options for languages other than Rust.
4075
4076 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4077
4078 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4079
4080 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4081
4082 PR gdb/16577
4083 * gdb.base/solib-vanish.exp: New.
4084 * gdb.base/solib-vanish-main.c: New.
4085 * gdb.base/solib-vanish-lib1.c: New.
4086 * gdb.base/solib-vanish-lib2.c: New.
4087
4088 2018-01-17 Yao Qi <yao.qi@linaro.org>
4089
4090 * gdb.compile/compile.exp: Match the address printed for
4091 frame in the output of command "bt".
4092
4093 2018-01-15 Tom Tromey <tom@tromey.com>
4094
4095 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4096 compute sp_reg.
4097
4098 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4099
4100 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4101 to prepare.
4102 (prepare): Return 0 on error, 1 on success.
4103
4104 2018-01-12 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.base/continue-after-aborted-step-over.c: New.
4107 * gdb.base/continue-after-aborted-step-over.exp: New.
4108
4109 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4110
4111 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4112 options when not creating an executable.
4113
4114 2018-01-11 Pedro Alves <palves@redhat.com>
4115
4116 PR remote/22597
4117 * gdb.server/stop-reply-no-thread.c: New file.
4118 * gdb.server/stop-reply-no-thread.exp: New file.
4119
4120 2018-01-10 Pedro Alves <palves@redhat.com>
4121
4122 PR gdb/22670
4123 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4124 functions too. Test setting breakpoints and printing C functions
4125 with no debug info too.
4126 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4127
4128 2018-01-10 Pedro Alves <palves@redhat.com>
4129
4130 PR gdb/22670
4131 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4132 a fail.
4133
4134 2018-01-10 Pedro Alves <palves@redhat.com>
4135
4136 PR gdb/22670
4137 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4138
4139 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4140
4141 * gdb.server/unittest.exp: Match the output in non-development
4142 mode.
4143
4144 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4145
4146 * gdb.gdb/unittest.exp: Match output in non-development mode.
4147
4148 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4149
4150 * gdb.ada/access_tagged_param.exp: Relax expected output
4151 for value of "ObjL" in "continue" to pck.inspect breakpoint
4152 test.
4153
4154 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4155
4156 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4157 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4158
4159 2018-01-05 Pedro Alves <palves@redhat.com>
4160
4161 PR gdb/18653
4162 * gdb.base/libsegfault.exp: New.
4163
4164 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4165
4166 PR gdb/22670
4167 * gdb.ada/access_tagged_param.exp: New file.
4168 * gdb.ada/access_tagged_param/foo.adb: New file.
4169
4170 2018-01-05 Pedro Alves <palves@redhat.com>
4171
4172 PR gdb/22670
4173 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4174 exercise lower case too, and to exercise both full matching and
4175 wild matching.
4176
4177 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4178
4179 * gdb.ada/rename_subscript_param: New testcase.
4180
4181 2018-01-05 Jerome Guitton <guitton@adacore.com>
4182
4183 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4184
4185 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4186
4187 * gdb.ada/convvar_comp: New testcase.
4188
4189 2018-01-05 Xavier Roirand <roirand@adacore.com>
4190
4191 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4192 (My_Table): New global variable.
4193 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4194
4195 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4196
4197 PR gdb/22670
4198 * gdb.ada/maint_with_ada: New testcase.
4199
4200 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4201
4202 PR gdb/22670
4203 * gdb.ada/bp_c_mixed_case: New testcase.
4204
4205 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4206
4207 PR gdb/22670
4208 * gdb.ada/complete.exp: Add "complete break ada" test.
4209
4210 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4211
4212 PR gdb/22670
4213 * gdb.ada/info_addr_mixed_case: New testcase.
4214
4215 2018-01-03 Xavier Roirand <roirand@adacore.com>
4216
4217 * gdb.ada/excep_handle.exp: New testcase.
4218 * gdb.ada/excep_handle/foo.adb: New file.
4219 * gdb.ada/excep_handle/pck.ads: New file.
4220
4221 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4222
4223 * gdb.base/step-line.c: Add extra empty line in copyright header.
4224 * gdb.base/step-line.inp: Likewise.
4225
4226 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4227
4228 * gdb.ada/dyn_stride.exp: Add slice test.
4229
4230 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4231
4232 * gdb.ada/dyn_stride: New testcase.
4233
4234 2017-12-27 Stafford Horne <shorne@gmail.com>
4235
4236 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4237 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4238
4239 2017-12-27 Stafford Horne <shorne@gmail.com>
4240
4241 * gdb.base/reggroups.c: New file.
4242 * gdb.base/reggroups.exp: New file.
4243
4244 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4245
4246 * gdb.dwarf2/ada-valprint-error.c: New file.
4247 * gdb.dwarf2/ada-valprint-error.exp: New file.
4248
4249 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4250
4251 * gdb.ada/assign_arr: New testcase.
4252
4253 2017-12-18 Xavier Roirand <roirand@adacore.com>
4254
4255 * gdb.ada/funcall_ptr: New testcase.
4256
4257 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4258
4259 PR cli/16224
4260 * gdb.base/ptype-offsets.cc: New file.
4261 * gdb.base/ptype-offsets.exp: New file.
4262
4263 2017-12-15 Yao Qi <yao.qi@linaro.org>
4264
4265 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4266 if XML is disabled.
4267
4268 2017-12-15 Xavier Roirand <roirand@adacore.com>
4269
4270 * gdb.ada/same_component_name: New testcase.
4271
4272 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4273
4274 * gdb.ada/str_binop_equal: New testcase.
4275
4276 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4277
4278 * gdb.ada/task_switch_in_core: New testcase.
4279
4280 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4281
4282 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4283 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4284 call test_bkpt_qualified.
4285 (test_bkpt_qualified): New proc.
4286
4287 2017-12-13 Pedro Alves <palves@redhat.com>
4288
4289 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4290 Tighten regexp by matching with an anchor.
4291
4292 2017-12-13 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4295 ("expression with namespace"): New set of tests.
4296 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4297 (Nested::Test_NS::qux): New.
4298 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4299 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4300
4301 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4302
4303 * gdb.base/server-del-break.c: New file.
4304 * gdb.base/server-del-break.exp: New file.
4305
4306 2017-12-12 Stafford Horne <shorne@gmail.com>
4307
4308 * gdb.xml/tdesc-regs.exp: Add or1k support.
4309
4310 2017-12-12 Stafford Horne <shorne@gmail.com>
4311
4312 * gdb.base/bp-permanent.c: Define nop of or1k.
4313
4314 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4315
4316 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4317 output with components being reordered.
4318
4319 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4320
4321 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4322 output with components being reordered.
4323
4324 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4325 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.base/maint.exp (check for .gdb_index): Check also for
4328 .debug_names.
4329 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4330 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4331 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4332 (.gdb_index used after symbol reloading): Support also .debug_names.
4333 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4334
4335 2017-12-08 Yao Qi <yao.qi@linaro.org>
4336
4337 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4338 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4339
4340 2017-12-08 Yao Qi <yao.qi@linaro.org>
4341
4342 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4343 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4344
4345 2017-12-08 Yao Qi <yao.qi@linaro.org>
4346
4347 * gdb.arch/aarch64-tagged-pointer.c: New file.
4348 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4349
4350 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4351
4352 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4353 "int".
4354
4355 2017-12-07 Keith Seitz <keiths@redhat.com>
4356
4357 PR breakpoints/22569
4358 * gdb.linespec/ls-errs.exp: Change expected result of "break
4359 -source this file has spaces.c -line 3".
4360 Check that an explicit source file followed by whitespace is
4361 identified as an invalid explicit location.
4362
4363 2017-12-07 Keith Seitz <keiths@redhat.com>
4364
4365 * gdb.cp/nested-types.cc: New file.
4366 * gdb.cp/nested-types.exp: New file.
4367 * lib/cp-support.exp: Load data-structures.exp library.
4368 (debug_cp_test_ptype_class): New global.
4369 (cp_ptype_class_verbose, next_line): New procedures.
4370 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4371 Add and document new return value.
4372 Switch the list of lines to a queue.
4373 Add support for new `type' key for nested type definitions.
4374 Add debugging/troubleshooting messages.
4375 * lib/data-structures.exp: New file.
4376
4377 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4378
4379 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4380 with proc_with_prefix, don't use with_test_prefix.
4381
4382 2017-12-07 Tom Tromey <tom@tromey.com>
4383
4384 * gdb.base/break.exp: Add test for empty "commands".
4385
4386 2017-12-07 Yao Qi <yao.qi@linaro.org>
4387
4388 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4389 malloc and catch syscall.
4390
4391 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4392
4393 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4394 tests for explicit locations.
4395
4396 2017-12-06 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4399 force-disabling XML descriptions.
4400
4401 2017-12-04 Pedro Alves <palves@redhat.com>
4402
4403 PR gdb/22499
4404 * gdb.arch/amd64-disp-step-avx.S: New file.
4405 * gdb.arch/amd64-disp-step-avx.exp: New file.
4406
4407 2017-12-03 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4410 and <string.h>.
4411 (parent_function): Print distinct messages when waitpid fails, or
4412 the child exits with a signal, or the child exits for an unhandled
4413 reason.
4414 * gdb.threads/process-dies-while-detaching.exp
4415 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4416 it. Wait for both inferior output and GDB's prompt. Use an
4417 indirect spawn id list.
4418 (do_detach): New parameter 'child_exit'. Use it to compute
4419 expected inferior output.
4420 (test_detach, test_detach_watch, test_detach_killed_outside):
4421 Adjust to pass down the expected child exit kind.
4422
4423 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4424 Sergio Durigan Junior <sergiodj@redhat.com>
4425 Pedro Alves <palves@redhat.com>
4426
4427 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4428
4429 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4430
4431 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4432 to 'symbol-file' and 'add-symbol-file' can be
4433 position-independent.
4434
4435 2017-12-01 Yao Qi <yao.qi@linaro.org>
4436
4437 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4438 the URL in copyright header.
4439 * gdb.arch/aarch64-fp.exp: Likewise.
4440 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4441 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4442 * gdb.base/expand-psymtabs.exp: Likewise.
4443 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4444 * gdb.fortran/common-block.exp: Likewise.
4445 * gdb.fortran/common-block.f90: Likewise.
4446 * gdb.fortran/logical.exp: Likewise.
4447 * gdb.fortran/vla-datatypes.f90: Likewise.
4448 * gdb.fortran/vla-sub.f90: Likewise.
4449
4450 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4451
4452 * gdb.ada/repeat_dyn: New testcase.
4453
4454 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4455
4456 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4457 Update for changed thread numbering.
4458 * gdb.cell/bt.exp: Update for changed GDB output.
4459
4460 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4461
4462 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4463 setting isremote by hand.
4464 * boards/dwarf4-gdb-index.exp: Likewise.
4465 * boards/fission.exp: Likewise.
4466 * boards/stabs.exp: Likewise.
4467
4468 2017-11-30 Pedro Alves <palves@redhat.com>
4469
4470 * gdb.linespec/cpls-ops.exp
4471 (check_explicit_skips_function_argument): Extract the underlying
4472 type of size_t instead of hardcoding it.
4473
4474 2017-11-29 Pedro Alves <palves@redhat.com>
4475
4476 PR c++/19436
4477 * gdb.linespec/cpls-abi-tag.cc: New file.
4478 * gdb.linespec/cpls-abi-tag.exp: New file.
4479
4480 2017-11-29 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.base/langs.exp: Use -qualified.
4483 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4484 it.
4485 * gdb.cp/namespace.exp: Use -qualified.
4486 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4487 (overload-3, template-overload, template-ret-type, const-overload)
4488 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4489 procedures.
4490 (test_driver): Call them.
4491 * gdb.cp/save-bp-qualified.cc: New.
4492 * gdb.cp/save-bp-qualified.exp: New.
4493 * gdb.linespec/explicit.exp: Test -qualified.
4494 * lib/completion-support.exp (completion::explicit_opts_list): Add
4495 "-qualified".
4496 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4497
4498 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4499
4500 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4501
4502 2017-11-29 Tom Tromey <tom@tromey.com>
4503
4504 * gdb.base/relocate.exp: Update invalid argument test.
4505 Add new tests for invalid arguments.
4506
4507 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4508
4509 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4510 Return 0 as a long.
4511 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4512
4513 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4514
4515 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4516 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4517 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4518 func ().
4519 * gdb.cp/shadow.cc (B.func): Return 0.
4520
4521 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4522
4523 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4524 expected output in gdb_expect call to allow the exception
4525 message to be present as well. Fix syntax confusion to avoid
4526 TCL thinking that exception_name is an array.
4527
4528 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4529
4530 * gdb.arch/spu-info.c: Include <unistd.h>.
4531 (do_signal_test): Fix broken calls to write.
4532 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4533 Fix checks for empty mailboxes. Update signal tests for corrected
4534 do_signal_test routine. Allow nonzero event status.
4535 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4536 * gdb.cell/arch.exp: Use standard_output_file.
4537 * gdb.cell/break.exp: Likewise.
4538 * gdb.cell/bt.exp: Likewise.
4539 * gdb.cell/core.exp: Likewise.
4540 * gdb.cell/dwarfaddr.exp: Likewise.
4541 * gdb.cell/ea-cache.exp: Likewise.
4542 * gdb.cell/ea-standalone.exp: Likewise.
4543 * gdb.cell/f-regs.exp: Likewise.
4544 * gdb.cell/fork.exp: Likewise.
4545 * gdb.cell/gcore.exp: Likewise.
4546 * gdb.cell/mem-access.exp: Likewise.
4547 * gdb.cell/ptype.exp: Likewise.
4548 * gdb.cell/registers.exp: Likewise.
4549 * gdb.cell/sizeof.exp: Likewise.
4550 * gdb.cell/solib-symbol.exp: Likewise.
4551 * gdb.cell/solib.exp: Likewise.
4552
4553 2017-11-25 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/complete-empty.exp: New file.
4556 * gdb.base/completion.exp: Adjust.
4557
4558 2017-11-25 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.linespec/cpls-ops.cc: New file.
4561 * gdb.linespec/cpls-ops.exp: New file.
4562 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4563 factored out from ...
4564 (test_complete_prefix_range): ... this.
4565
4566 2017-11-24 Pedro Alves <palves@redhat.com>
4567
4568 * gdb.linespec/cpcompletion.exp: New file.
4569 * gdb.linespec/cpls-hyphen.cc: New file.
4570 * gdb.linespec/cpls.cc: New file.
4571 * gdb.linespec/cpls2.cc: New file.
4572 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4573 test to use test_gdb_complete_unique. Add label completion,
4574 keyword completion and explicit location completion tests.
4575 * lib/completion-support.exp: New file.
4576
4577 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4578
4579 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4580 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4581 when hitting an exception catchpoint.
4582
4583 2017-11-22 Yao Qi <yao.qi@linaro.org>
4584
4585 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4586
4587 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4588
4589 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4590 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4591 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4592
4593 2017-11-22 Yao Qi <yao.qi@linaro.org>
4594
4595 * gdb.base/info-os.exp: Pass pthreads.
4596 * gdb.multi/multi-attach.exp: Likewise.
4597
4598 2017-11-22 Yao Qi <yao.qi@linaro.org>
4599
4600 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4601 compiler.
4602
4603 2017-11-22 Yao Qi <yao.qi@linaro.org>
4604
4605 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4606 * gdb.base/break-interp.exp: Likewise.
4607 * gdb.base/jit-attach-pie.exp: Likewise.
4608
4609 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4610
4611 * gdb.base/float128.c (large128): New variable.
4612 * gdb.base/float128.exp: Add test to print largest __float128 value.
4613
4614 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4615
4616 * gdb.arch/vsx-regs.exp: Update register content checks.
4617
4618 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4619
4620 * gdb.arch/ppc-longdouble.exp: New file.
4621 * gdb.arch/ppc-longdouble.c: Likewise.
4622
4623 2017-11-21 Pedro Alves <palves@redhat.com>
4624
4625 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4626
4627 2017-11-20 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4630 (long_double_typedef): New typedefs.
4631 Use DEF on double and long double.
4632 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4633 cases.
4634 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4635 and 'long_double_ptr_same_size' locals. Use them to decide
4636 whether cast from array/function to float is valid/invalid.
4637
4638 2017-11-17 Tom Tromey <tom@tromey.com>
4639
4640 * gdb.rust/traits.rs: New file.
4641 * gdb.rust/traits.exp: New file.
4642
4643 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4644
4645 * gdb.ada/minsyms: New testcase.
4646
4647 2017-11-16 Pedro Alves <palves@redhat.com>
4648
4649 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4650 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4651
4652 2017-11-16 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4655 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4656
4657 2017-11-16 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.server/reconnect-ctrl-c.c: New file.
4660 * gdb.server/reconnect-ctrl-c.exp: New file.
4661
4662 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4663
4664 * gdb.python/py-rbreak.exp: New file.
4665 * gdb.python/py-rbreak.c: New file.
4666 * gdb.python/py-rbreak-func2.c: New file.
4667
4668 2017-11-16 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4671 pattern.
4672 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4673 GDB.
4674
4675 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4676
4677 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4678 regex.
4679
4680 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4681
4682 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4683 test names.
4684
4685 2017-11-09 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4688 factored out from ...
4689 (top level): ... here, and adjusted to avoid expecting beyond the
4690 prompt in a single gdb_test_multiple.
4691
4692 2017-11-09 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4695 output.
4696 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4697 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4698 * gdb.server/ext-run.exp ("kill" test): Likewise.
4699 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4700
4701 2017-11-09 Pedro Alves <palves@redhat.com>
4702
4703 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4704 match till end of line.
4705
4706 2017-11-09 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4709
4710 2017-11-09 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4713 New procedures, factored out from ...
4714 (top level): ... here, and adjusted to avoid expecting beyond the
4715 prompt in one go.
4716
4717 2017-11-09 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4720 output. Fix '?' match.
4721
4722 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4723
4724 * gdb.ada/scoped_watch: New testcase.
4725 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4726 which is actually correct.
4727 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4728 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4729
4730 2017-11-08 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.gdb/complaints.exp (test_initial_complaints)
4733 (test_serial_complaints, test_short_complaints): Call
4734 complaint_internal instead of complaint.
4735
4736 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4737
4738 * gdb.threads/tls-core.c: New file.
4739 * gdb.threads/tls-core.exp: Likewise.
4740
4741 2017-11-08 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4744 (p Exported_Capitalized): New test.
4745 (p exported_capitalized): New test.
4746
4747 2017-11-07 Pedro Alves <palves@redhat.com>
4748
4749 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4750
4751 2017-11-07 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4754 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4755 (disable_invalid, disable_inverted, disable_negative): New
4756 procedures.
4757 ("bad numbers"): New set of tests.
4758
4759 2017-11-07 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.cp/ena-dis-br-range.exp: Add tests.
4762
4763 2017-11-07 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4766
4767 2017-11-07 Xavier Roirand <roirand@adacore.com>
4768 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.base/ena-dis-br.exp: Add reference to
4771 gdb.cp/ena-dis-br-range.exp.
4772 * gdb.cp/ena-dis-br-range.exp: New file.
4773 * gdb.cp/ena-dis-br-range.cc: New file.
4774
4775 2017-11-06 Pedro Alves <palves@redhat.com>
4776
4777 * gdb.base/attach-non-pgrp-leader.c: New.
4778 * gdb.base/attach-non-pgrp-leader.exp: New.
4779
4780 2017-11-06 Pedro Alves <palves@redhat.com>
4781
4782 * configure.ac: No longer check for termio.h and sgtty.h.
4783 * configure: Regenerate.
4784 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4785 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4786 Remove termio and sgtty code.
4787
4788 2017-11-03 Yao Qi <yao.qi@linaro.org>
4789
4790 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4791 in GDB is disabled.
4792
4793 2017-11-03 Yao Qi <yao.qi@linaro.org>
4794
4795 * gdb.python/py-thrhandle.exp: Skip it if python is not
4796 enabled.
4797
4798 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4799
4800 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4801 as a breakpoint command.
4802
4803 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4804
4805 PR python/21213
4806 * gdb.python/py-infthread.exp: Test calling
4807 InferiorThread.inferior () multiple times in a row.
4808
4809 2017-10-27 Keith Seitz <keiths@redhat.com>
4810
4811 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4812 Test "info break" for every inlined function breakpoint.
4813
4814 2017-10-27 Yao Qi <yao.qi@linaro.org>
4815
4816 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4817
4818 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4819
4820 * gdb.cp/classes.exp (test_static_members): Test printing
4821 Outer::instance.
4822 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4823 (Inner::instance, Outer::instance): New.
4824
4825 2017-10-24 Pedro Alves <palves@redhat.com>
4826
4827 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4828 extra console" test in two stages.
4829
4830 2017-10-24 Pedro Alves <palves@redhat.com>
4831
4832 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4833
4834 2017-10-24 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4837 loop.
4838
4839 2017-10-24 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4842 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4843
4844 2017-10-24 Pedro Alves <palves@redhat.com>
4845
4846 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4847 parameter and handle it. Don't output read value in test name.
4848
4849 2017-10-24 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4852 custom test name.
4853
4854 2017-10-24 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4857 include the unstable output directory name in the test's name.
4858 (initial_setup_simple) <'set args'>: Use custom test name.
4859
4860 2017-10-24 Pedro Alves <palves@redhat.com>
4861
4862 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4863 with explicit test name.
4864
4865 2017-10-20 Pedro Alves <palves@redhat.com>
4866
4867 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4868 'wait -i'. Use gdb_assert and remote_close.
4869
4870 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4873 number from variable rather than hard-coded.
4874
4875 2017-10-19 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.base/long-inferior-output.c: New file.
4878 * gdb.base/long-inferior-output.exp: New file.
4879
4880 2017-11-18 Keith Seitz <keiths@redhat.com>
4881
4882 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4883 method.
4884 (main): Call it.
4885 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4886 Add additional user-defined conversion operator tests.
4887
4888 2017-10-17 Pedro Alves <palves@redhat.com>
4889
4890 * boards/native-stdio-gdbserver.exp: Load "local-board".
4891
4892 2017-10-17 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.base/quit-live.c: New file.
4895 * gdb.base/quit-live.exp: New file.
4896
4897 2017-10-16 Keith Seitz <keiths@redhat.com>
4898
4899 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4900 (class_with_protected_typedef, class_with_private_typedef)
4901 (struct_with_public_typedef, struct_with_protected_typedef)
4902 (struct_with_private_typedef): New classes/structs.
4903 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4904 typedefs and access specifiers.
4905
4906 2017-10-16 Pedro Alves <palves@redhat.com>
4907 Simon Marchi <simon.marchi@polymtl.ca>
4908
4909 * README (Local vs Remote vs Native): New section.
4910 * boards/local-board.exp: New file, with bits factored out from
4911 ...
4912 * boards/native-extended-gdbserver.exp: ... here. Load
4913 "local-board".
4914 * boards/native-gdbserver.exp: Load "local-board".
4915 (${board}_spawn, ${board}_exec): Delete.
4916 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4917 ...
4918 * boards/stdio-gdbserver-base.exp: ... this new file.
4919 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4920 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4921 procedure.
4922 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4923 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4924 stdio_gdbserver_command.
4925 (${board}_get_remote_address, ${board}_get_comm_port)
4926 (${board}_download, ${board}_upload): Delete.
4927 (get_target_remote_pipe_cmd): New.
4928
4929 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4930
4931 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4932 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4933 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4934 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4935 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4936 remove with_test_prefix.
4937
4938 2017-10-13 Pedro Alves <palves@redhat.com>
4939
4940 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4941 * gdb.base/annota1.exp: Use it instead of is_remote.
4942 * gdb.base/annota3.exp: Use it instead of is_remote.
4943 * gdb.cp/annota2.exp: Use it instead of is_remote.
4944 * gdb.cp/annota3.exp: Use it instead of is_remote.
4945 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4946
4947 2017-10-13 Pedro Alves <palves@redhat.com>
4948
4949 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4950 (test_num_test_vars, run_and_count_vars, find_env)
4951 (test_set_unset_env, test_inherit_env_var): New procedures.
4952 (top level): Use them.
4953
4954 2017-10-13 Pedro Alves <palves@redhat.com>
4955
4956 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4957 also skip on stub-like targets.
4958
4959 2017-10-13 Pedro Alves <palves@redhat.com>
4960
4961 PR gdb/22293
4962 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4963 (top level): Move some tests to ...
4964 (test_not_found): ... this new procedure.
4965 (top level): Call it.
4966
4967 2017-10-13 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4970 expect different "info terminal" output if testing with a
4971 non-native target.
4972
4973 2017-10-13 Pedro Alves <palves@redhat.com>
4974 Simon Marchi <simon.marchi@polymtl.ca>
4975
4976 PR python/12966
4977 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4978
4979 2017-10-13 Pedro Alves <palves@redhat.com>
4980
4981 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4982 already.
4983
4984 2017-10-13 Pedro Alves <palves@redhat.com>
4985
4986 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4987 is_remote.
4988
4989 2017-10-13 Pedro Alves <palves@redhat.com>
4990
4991 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4992 is_remote.
4993
4994 2017-10-13 Pedro Alves <palves@redhat.com>
4995
4996 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4997 is set.
4998 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4999 instead of is_remote.
5000
5001 2017-10-13 Pedro Alves <palves@redhat.com>
5002
5003 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5004 (top level): Add comment.
5005
5006 2017-10-13 Pedro Alves <palves@redhat.com>
5007
5008 * gdb.base/remote.exp (top level): Fix comment typo and add
5009 missing return.
5010
5011 2017-10-13 Pedro Alves <palves@redhat.com>
5012 Simon Marchi <simon.marchi@polymtl.ca>
5013
5014 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5015 calls and add comments. Skip test if use_gdb_stub is set.
5016 (top level): Use "set cwd" command instead of "cd" command.
5017
5018 2017-10-13 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5021 is_remote target check.
5022
5023 2017-10-13 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/scope.exp: Use build_executable + clean_restart +
5026 gdb_file_cmd instead of prepare_for_testing and no longer skip
5027 "before run" tests on is_remote target boards. Update comments.
5028 * boards/native-extended-gdbserver.exp
5029 (extended_gdbserver_load_last_file): New, factored out from ...
5030 (gdb_load): ... this. Move further below and add comment.
5031 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5032
5033 2017-10-12 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.base/attach.exp: Remove references to gdb64.
5036 * gdb.base/dbx.exp: Remove references to gdb64.
5037
5038 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5039 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.base/label.exp: Remove is_remote target check.
5042
5043 2017-10-12 Pedro Alves <palves@redhat.com>
5044
5045 * gdb.base/auvx.exp (coredir): Update comment.
5046 (top level) <core_works>: Use "set cwd" command instead of "cd"
5047 command.
5048
5049 2017-10-12 Pedro Alves <palves@redhat.com>
5050 Simon Marchi <simon.marchi@polymtl.ca>
5051
5052 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5053 target boards.
5054
5055 2017-10-12 Pedro Alves <palves@redhat.com>
5056 Simon Marchi <simon.marchi@polymtl.ca>
5057
5058 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5059 Instead skip if there's any gdb_protocol set.
5060
5061 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5062 Pedro Alves <palves@redhat.com>
5063
5064 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5065
5066 2017-10-12 Pedro Alves <palves@redhat.com>
5067 Simon Marchi <simon.marchi@polymtl.ca>
5068
5069 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5070 instead of on dejagnu remote boards.
5071
5072 2017-10-12 Pedro Alves <palves@redhat.com>
5073 Simon Marchi <simon.marchi@polymtl.ca>
5074
5075 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5076 checks. Use build_executable + clean_restart instead of
5077 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5078 of enabling non-stop after starting gdb.
5079
5080 2017-10-12 Pedro Alves <palves@redhat.com>
5081
5082 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5083 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5084 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5085 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5086
5087 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5088
5089 * gdb.arch/arc-tdesc-cpu.exp: New file.
5090 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5091
5092 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5093
5094 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5095
5096 2017-10-10 Pedro Alves <palves@redhat.com>
5097
5098 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5099 expect CLI output.
5100
5101 2017-10-10 Pedro Alves <palves@redhat.com>
5102
5103 * lib/selftest-support.exp (selftest_setup): Update for
5104 captured_command_loop's prototype change.
5105
5106 2017-10-09 Pedro Alves <palves@redhat.com>
5107
5108 Test both arch1=>arch2 and arch2=>arch1.
5109
5110 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5111 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5112 factored out to...
5113 (append_arch1_options, append_arch2_options, append_arch_options)
5114 (build_executables): New procedures.
5115 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5116 local.
5117 (top level): Add new 'first_arch' testing axis.
5118
5119 2017-10-09 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5122 (barrier): New.
5123 (thread_start, all_started): New functions.
5124 (main): Spawn new thread and wait until it is scheduled.
5125 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5126 option.
5127 (do_test): Add 'selected_thread' parameter. Run to all_started
5128 instead of main. Explicitly set the breakpoint at main. Switch
5129 to the SELECTED_THREAD thread.
5130 (top level): Test handling the exec event with either the main
5131 thread or the second thread selected.
5132
5133 2017-10-09 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5136 logic. Move STOP marker after the value checks.
5137 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5138 regexp.
5139
5140 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5141
5142 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5143
5144 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5145
5146 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5147 integer-to-dfp conversion.
5148 * gdb.base/dfp-test.exp: Likewise.
5149
5150 2017-10-04 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.multi/hangout.c: Include <unistd.h>.
5153 (hangout_loop): New function.
5154 (main): Call alarm. Call hangout_loop in a loop.
5155 * gdb.multi/hello.c: Include <unistd.h>.
5156 (hello_loop): New function.
5157 (main): Call alarm. Call hangout_loop in a loop.
5158 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5159 inferior with the other selected.
5160
5161 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5162
5163 * gdb.mi/list-thread-groups-available.exp: New file.
5164 * gdb.mi/list-thread-groups-available.c: New file.
5165
5166 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5167
5168 * gdb.base/set-cwd.exp: Make it available on
5169 native-extended-gdbserver.
5170
5171 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5172
5173 * gdb.base/set-cwd.c: New file.
5174 * gdb.base/set-cwd.exp: Likewise.
5175
5176 2017-10-02 Tom Tromey <tom@tromey.com>
5177
5178 PR rust/22236:
5179 * gdb.rust/simple.rs (main): New variable "fslice".
5180 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5181
5182 2017-10-02 Tom Tromey <tom@tromey.com>
5183
5184 * gdb.rust/simple.exp: Test ptype of a slice.
5185
5186 2017-10-02 Tom Tromey <tom@tromey.com>
5187
5188 * gdb.rust/simple.exp: Test index of slice.
5189
5190 2017-09-27 Tom Tromey <tom@tromey.com>
5191
5192 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5193
5194 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5195 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.base/compare-sections.exp (get value of read-only section): Read
5198 as unsigned value.
5199 (corrupt read-only section): Likewise and don't set written if patching
5200 failed.
5201
5202 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5203
5204 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5205 files.
5206
5207 2017-09-20 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5210 symbol names in gdb's output.
5211 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5212
5213 2017-09-20 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5216 Rename to ...
5217 (test_list_ambiguous_symbol): ... this and add a symbol name
5218 parameter. Adjust.
5219 (test_list_ambiguous_function): Reimplement on top of
5220 test_list_ambiguous_symbol and also test listing ambiguous
5221 variables.
5222 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5223 (ambiguous_fun): ... this.
5224 (ambiguous_var): New.
5225 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5226 (ambiguous_fun): ... this.
5227 (ambiguous_var): New.
5228
5229 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5230
5231 * gdb.base/starti.c: New file.
5232 * gdb.base/starti.exp: New file.
5233 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5234
5235 2017-09-14 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5238 (top level): Use it instead of runto.
5239
5240 2017-09-11 Tom Tromey <tom@tromey.com>
5241
5242 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5243
5244 2017-09-11 Tom Tromey <tom@tromey.com>
5245
5246 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5247 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5248
5249 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5250
5251 * gdb.fortran/printing-types.exp: New file.
5252 * gdb.fortran/printing-types.exp: New file.
5253
5254 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5255
5256 * gdb.fortran/vla-ptype.exp: Fix typos.
5257 * gdb.fortran/vla-value.exp: Same.
5258
5259 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5260
5261 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5262 * gdb.mi/mi-var-child-f.exp: Likewise.
5263 * gdb.mi/mi-vla-fortran.exp: Likewise.
5264
5265 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5266 Christoph Weinmann <christoph.t.weinmann@intel.com>
5267 Bernhard Heckel <bernhard.heckel@intel.com>
5268
5269 * gdb.fortran/ptr-indentation.f90: New file.
5270 * gdb.fortran/ptr-indentation.exp: New file.
5271
5272 2017-09-05 Tom Tromey <tom@tromey.com>
5273
5274 PR gdb/22010:
5275 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5276
5277 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5278
5279 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5280
5281 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5282
5283 * gdb.threads/tls-nodebug-pie.c: New file.
5284 * gdb.threads/tls-nodebug-pie.exp: New file.
5285
5286 2017-09-05 Tom Tromey <tom@tromey.com>
5287
5288 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5289 for rust.
5290
5291 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5292
5293 * gdb.multi/multi-arch-exec.exp: Test with different
5294 "follow-exec-mode" settings.
5295 (do_test): New procedure.
5296
5297 2017-09-04 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.base/func-static.c (S::method const, S::method volatile)
5300 (S::method volatile const): New methods.
5301 (c_s, v_s, cv_s): New instances.
5302 (main): Call method() on them.
5303 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5304 (cannot_resolve): New procedure.
5305 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5306 print-quote-unquoted columns.
5307 (do_test): Test printing each scope too.
5308
5309 2017-09-04 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.base/local-static.exp: Also test with
5312 class::method::variable wholly quoted.
5313 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5314
5315 2017-09-04 Pedro Alves <palves@redhat.com>
5316
5317 * gdb.base/local-static.c: New.
5318 * gdb.base/local-static.cc: New.
5319 * gdb.base/local-static.exp: New.
5320
5321 2017-09-04 Pedro Alves <palves@redhat.com>
5322
5323 * gdb.asm/asm-source.exp: Add casts to int.
5324 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5325 (dataglobal64_1, dataglobal64_2): New globals.
5326 * gdb.base/nodebug.exp: Test different expressions involving the
5327 new globals, with print, whatis and ptype. Add casts to int.
5328 * gdb.base/solib-display.exp: Add casts to int.
5329 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5330 * gdb.cp/m-static.exp: Add cast to int.
5331 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5332 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5333 tls variable with no debug info without a cast. Test with a cast
5334 to int too.
5335 * gdb.trace/entry-values.exp: Add casts.
5336
5337 2017-09-04 Pedro Alves <palves@redhat.com>
5338
5339 * gdb.base/nodebug.exp: Test that ptype's error about functions
5340 with unknown return type includes the function name too.
5341
5342 2017-09-04 Pedro Alves <palves@redhat.com>
5343
5344 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5345 return type of munmap in infcall.
5346 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5347 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5348 type of ftell in infcall.
5349 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5350 type of getpid in infcall.
5351 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5352 infcall.
5353 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5354 Bail on failure to extract the pid.
5355 * gdb.base/nodebug.c: #include <stdint.h>.
5356 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5357 New functions.
5358 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5359 Change expected output of print/whatis/ptype with functions with
5360 no debug info. Test all supported languages. Call
5361 test_call_promotion.
5362 * gdb.compile/compile.exp: Adjust expected output to expect
5363 warning.
5364 * gdb.threads/siginfo-threads.exp: Likewise.
5365
5366 2017-09-04 Pedro Alves <palves@redhat.com>
5367
5368 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5369 "prototypes". Test calling float functions via prototyped and
5370 unprototyped function pointers.
5371 (perform_all_tests): New parameter "prototypes". Pass it down.
5372 (top level): Pass down "prototypes" parameter to
5373 perform_all_tests.
5374
5375 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5376
5377 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5378 Test with nested loops.
5379
5380 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5381
5382 * gdb.base/commands.exp: Call the new procedures.
5383 (loop_break_test, loop_continue_test): New procedures.
5384
5385 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5386
5387 * gdb.base/commands.exp: Call new procedure.
5388 (define_if_without_arg_test): New procedure.
5389
5390 2017-09-04 Pedro Alves <palves@redhat.com>
5391
5392 * gdb.base/list-ambiguous.exp: New file.
5393 * gdb.base/list-ambiguous0.c: New file.
5394 * gdb.base/list-ambiguous1.c: New file.
5395 * gdb.base/list.exp (test_list_range): Adjust expected output.
5396
5397 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5398
5399 * gdb.base/share-env-with-gdbserver.c: New file.
5400 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5401
5402 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5403
5404 * gdb.base/commands.exp (gdbvar_simple_if_test,
5405 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5406 progvar_simple_if_test, progvar_simple_while_test,
5407 progvar_complex_if_while_test, user_defined_command_test,
5408 user_defined_command_args_eval,
5409 user_defined_command_args_stack_test,
5410 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5411 temporary_breakpoint_commands,
5412 gdb_test_no_prompt, redefine_hook_test,
5413 redefine_backtrace_test): Remove "global gdb_prompt".
5414
5415 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5416
5417 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5418 New proc, call it from toplevel.
5419
5420 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5421
5422 PR remote/21852
5423 * gdb.server/normal.c: New file, copied from gdb.base.
5424 * gdb.server/run-without-local-binary.exp: New file.
5425
5426 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5427
5428 * gdb.arch/sparc64-adi.exp: New file.
5429 * gdb.arch/sparc64-adi.c: New file.
5430
5431 2017-08-22 Pedro Alves <palves@redhat.com>
5432
5433 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5434 (top level): Add "list all overloads" tests.
5435
5436 2017-08-22 Tom Tromey <tom@tromey.com>
5437
5438 * gdb.gdb/xfullpath.exp: Remove.
5439
5440 2017-08-21 Pedro Alves <palves@redhat.com>
5441
5442 PR gdb/19487
5443 * gdb.base/symbol-alias.c: New.
5444 * gdb.base/symbol-alias2.c: New.
5445 * gdb.base/symbol-alias.exp: New.
5446
5447 2017-08-21 Pedro Alves <palves@redhat.com>
5448
5449 * gdb.base/dfp-test.c
5450 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5451 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5452 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5453 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5454 * gdb.base/whatis-ptype-typedefs.c: New.
5455 * gdb.base/whatis-ptype-typedefs.exp: New.
5456 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5457 (an_int, an_int_type, an_int_type2): New globals.
5458 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5459 involving typedefs and cast expressions.
5460 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5461 (lookup_typedefs_function): New.
5462 (typedefs_pretty_printers_dict): New.
5463 (top level): Register lookup_typedefs_function in
5464 gdb.pretty_printers.
5465
5466 2017-08-18 Yao Qi <yao.qi@linaro.org>
5467
5468 * gdb.server/unittest.exp: New.
5469
5470 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5471
5472 PR gdb/21954
5473 * gdb.base/environ.exp: Add test to check if 'unset environment'
5474 works.
5475
5476 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5477
5478 * lib/gdb.exp (universal_compile_options): New caching proc.
5479 (gdb_compile): Suppress GCC's coloring of messages.
5480
5481 2017-08-14 Tom Tromey <tom@tromey.com>
5482
5483 PR gdb/21675:
5484 * gdb.base/printcmds.exp (test_radices): New function.
5485 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5486 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5487 * lib/gdb.exp (get_integer_valueof): Use p/d.
5488
5489 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5490
5491 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5492 characters.
5493
5494 2017-08-05 Tom Tromey <tom@tromey.com>
5495
5496 * gdb.rust/simple.exp: Allow String to appear in a different
5497 namespace.
5498
5499 2017-07-26 Yao Qi <yao.qi@linaro.org>
5500
5501 * gdb.gdb/unittest.exp: Invoke command
5502 "maintenance check xml-descriptions".
5503
5504 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5505
5506 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5507 calling context.
5508 (hex128): Drop erroneous calculation of parameters.
5509
5510 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 * gdb.python/py-unwind.exp: Disable stack protection when
5513 building test file.
5514
5515 2017-07-20 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.base/default.exp (set language): Adjust expected output.
5518
5519 2017-07-20 Pedro Alves <palves@redhat.com>
5520
5521 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5522 (test_minsym): ... this, and make static.
5523 (get_pck__foo__bar__minsym): Rename to ...
5524 (get_test_minsym): ... this.
5525 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5526 symbol names and comments.
5527 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5528 (get_test_minsym): ... this.
5529 (pck__foo__bar__minsym__2): Rename to ...
5530 (test_minsym): ... this.
5531 (main): Adjust.
5532
5533 2017-07-17 Pedro Alves <palves@redhat.com>
5534
5535 * gdb.base/completion.exp: Adjust expected output.
5536 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5537 the completer works.
5538
5539 2017-07-17 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5542
5543 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5544
5545 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5546
5547 2017-07-14 Tom Tromey <tom@tromey.com>
5548
5549 PR rust/21764:
5550 * gdb.rust/simple.exp: Add tests.
5551
5552 2017-07-14 Tom Tromey <tom@tromey.com>
5553
5554 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5555
5556 2017-07-14 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.linespec/base/one/thefile.cc (z1): New function.
5559 * gdb.linespec/base/two/thefile.cc (z2): New function.
5560 * gdb.linespec/linespec.exp: Add tests.
5561
5562 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5563
5564 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5565 to mi_create_breakpoint.
5566
5567 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5568
5569 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5570 mi_create_breakpoint.
5571
5572 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5573
5574 * gdb.dlang/demangle.exp: Update for demangling changes.
5575
5576 2017-07-09 Tom Tromey <tom@tromey.com>
5577
5578 * gdb.dwarf2/shortpiece.exp: New file.
5579
5580 2017-07-06 David Blaikie <dblaikie@gmail.com>
5581
5582 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5583 built from fissiont-multi-cu{1,2}.c.
5584 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5585 except putting 'main' and 'func' in separate CUs in the same DWO file.
5586 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5587 test.
5588 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5589 test.
5590
5591 2017-07-06 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.python/py-unwind.exp: Test flushregs.
5594
5595 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5596
5597 PR cli/21688
5598 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5599 tests for alias commands and trailing whitespace.
5600
5601 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5602
5603 PR cli/21688
5604 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5605 procedure. Call it.
5606
5607 2017-06-29 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.base/printcmds.exp: Add tests.
5610
5611 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5612
5613 PR gdb/21337
5614 * gdb.base/reread-readsym.exp: New file.
5615 * gdb.base/reread-readsym.c: New file.
5616
5617 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5618
5619 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5620 subpattern.
5621
5622 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5623
5624 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5625 extended mnemonic.
5626 * gdb.arch/powerpc-power9.s: Likewise.
5627
5628 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5629
5630 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5631 on 32-bit x86 targets. Exploit is_*_target macros where
5632 appropriate.
5633
5634 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5635
5636 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5637 register pieces.
5638
5639 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5640
5641 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5642 located in one or more DWARF pieces.
5643
5644 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5645
5646 * lib/gdb.exp (get_endianness): New proc.
5647 * gdb.arch/aarch64-fp.exp: Use it.
5648 * gdb.arch/altivec-regs.exp: Likewise.
5649 * gdb.arch/e500-regs.exp: Likewise.
5650 * gdb.arch/vsx-regs.exp: Likewise.
5651 * gdb.base/dump.exp: Likewise.
5652 * gdb.base/funcargs.exp: Likewise.
5653 * gdb.base/gnu_vector.exp: Likewise.
5654 * gdb.dwarf2/formdata16.exp: Likewise.
5655 * gdb.dwarf2/implptrpiece.exp: Likewise.
5656 * gdb.dwarf2/nonvar-access.exp: Likewise.
5657 * gdb.python/py-inferior.exp: Likewise.
5658 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5659
5660 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5661
5662 PR gdb/21226
5663 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5664 stack value pieces are taken from the LSB end.
5665
5666 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667
5668 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5669 variable at nonzero offset.
5670
5671 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5672
5673 * gdb.dwarf2/var-access.c: New file.
5674 * gdb.dwarf2/var-access.exp: New test.
5675 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5676
5677 2017-06-12 Tom Tromey <tom@tromey.com>
5678
5679 * gdb.dwarf2/formdata16.exp: Add tests.
5680
5681 2017-06-12 Tom Tromey <tom@tromey.com>
5682
5683 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5684
5685 2017-06-12 Tom Tromey <tom@tromey.com>
5686
5687 PR exp/16225:
5688 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5689 * gdb.arch/vsx-regs.exp: Update tests.
5690 * gdb.arch/s390-vregs.exp (hex128): New proc.
5691 Update test.
5692 * gdb.arch/altivec-regs.exp: Update tests.
5693
5694 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5695
5696 * gdb.base/startup-with-shell.c: New file.
5697 * gdb.base/startup-with-shell.exp: Likewise.
5698
5699 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5700
5701 * gdb.server/non-existing-program.exp: Update regex in order to
5702 reflect the fact that gdbserver is now using fork_inferior (with a
5703 shell) to startup the inferior.
5704
5705 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5706
5707 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5708 support function calls from GDB.
5709
5710 2017-05-21 Tom Tromey <tom@tromey.com>
5711
5712 PR rust/21466:
5713 * gdb.rust/unsized.exp: New file.
5714 * gdb.rust/unsized.rs: New file.
5715
5716 2017-05-19 Tom Tromey <tom@tromey.com>
5717
5718 PR rust/21484:
5719 * gdb.rust/watch.exp: New file.
5720 * gdb.rust/watch.rs: New file.
5721
5722 2017-05-18 Tom Tromey <tom@tromey.com>
5723
5724 * gdb.rust/simple.exp: Allow Box to be qualified.
5725
5726 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5727
5728 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5729
5730 2017-05-18 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.base/fileio.c (test_write, test_read, test_close)
5733 (test_fstat): Don't print 'ret' in the fail path.
5734
5735 2017-05-18 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5738 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5739 (test_system, test_rename, test_unlink, test_time): Change
5740 prototypes.
5741 * gdb.base/fileio.exp (stop_msg): Adjust.
5742
5743 2017-05-18 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.base/fileio.c (null_str): New global.
5746 (test_stat): Use it.
5747 * gdb.base/fileio.exp: Remove nowarnings.
5748
5749 2017-05-17 Yao Qi <yao.qi@linaro.org>
5750
5751 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5752
5753 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5754
5755 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5756 argument command.
5757 (top-level): Invoke test_set_inferior_tty.
5758
5759 2017-05-04 Pedro Alves <palves@redhat.com>
5760
5761 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5762 Add parens to print call for Python 3.
5763
5764 2017-05-03 Keith Seitz <keiths@redhat.com>
5765
5766 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5767 (main): Call it.
5768
5769 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5770
5771 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5772 to prev and next.
5773
5774 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5775
5776 * gdb.python/py-record-btrace.exp: Remove test for
5777 gdb.BtraceInstruction.error.
5778
5779 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5780
5781 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5782
5783 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5784
5785 * gdb.python/py-record-btrace-threads.c: New file.
5786 * gdb.python/py-record-btrace-threads.exp: New file.
5787
5788 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5789
5790 PR testsuite/8595
5791 * gdb.base/environ.exp: Make test available in all architectures.
5792 Move bits related to "info program" testing to
5793 gdb.base/info-program.exp. Rewrite tests to use the two new
5794 procedures mentione below.
5795 (test_set_show_env_var) New procedure.
5796 (test_set_show_env_var_equal): Likewise.
5797 * gdb.base/info-program.exp: New file.
5798
5799 2017-04-27 Keith Seitz <keiths@redhat.com>
5800
5801 * gdb.cp/oranking.cc (test15): New function.
5802 (main): Call test15 and declare additional variables for testing.
5803 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5804 "p foo101('abc')" tests.
5805 Add tests for cv qualifier overloads.
5806 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5807 "lvalue reference overload" test.
5808 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5809 "print value of f1 on Child&& in f2" test.
5810
5811 2017-04-19 Pedro Alves <palves@redhat.com>
5812
5813 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5814 procedure.
5815 (top level): Call it.
5816 * lib/gdb.exp (gdb_define_cmd): New procedure.
5817
5818 2017-04-12 Pedro Alves <palves@redhat.com>
5819
5820 PR gdb/21323
5821 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5822 (wchar): New global.
5823 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5824 (do_test_wide_char, wide_char_types_no_program, top level): Add
5825 wchar_t testing.
5826
5827 2017-04-12 Pedro Alves <palves@redhat.com>
5828
5829 PR c++/21323
5830 * gdb.cp/wide_char_types.c: New file.
5831 * gdb.cp/wide_char_types.exp: New file.
5832
5833 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5834
5835 PR gdb/21352
5836 * gdb.trace/tsv.exp: Add test for "tsave -r".
5837
5838 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5839
5840 * gdb.dlang/watch-loc.c: New file.
5841 * gdb.dlang/watch-loc.exp: New file.
5842
5843 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5844
5845 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5846
5847 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5848
5849 * gdb.arch/arc-analyze-prologue.S: New file.
5850 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5851
5852 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5853
5854 * gdb.arch/arc-decode-insn.S: New file.
5855 * gdb.arch/arc-decode-insn.exp: Likewise.
5856
5857 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5858
5859 PR tdep/20928
5860 * gdb.arch/sparc64-regs.exp: New file.
5861 * gdb.arch/sparc64-regs.S: Likewise.
5862
5863 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5864
5865 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5866 and memory view on Python 3.
5867
5868 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5869 Keith Seitz <keiths@redhat.com>
5870
5871 PR gdb/14441
5872 * gdb.cp/demangle.exp: Add rvalue reference tests.
5873 * gdb.cp/rvalue-ref-casts.cc: New file.
5874 * gdb.cp/rvalue-ref-casts.exp: New file.
5875 * gdb.cp/rvalue-ref-overload.cc: New file.
5876 * gdb.cp/rvalue-ref-overload.exp: New file.
5877 * gdb.cp/rvalue-ref-params.cc: New file.
5878 * gdb.cp/rvalue-ref-params.exp: New file.
5879 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5880 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5881 * gdb.cp/rvalue-ref-types.cc: New file.
5882 * gdb.cp/rvalue-ref-types.exp: New file.
5883 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5884 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5885
5886 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5887
5888 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5889 New procedure.
5890
5891 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5892
5893 * lib/mi-support.exp (mi_gdb_test): Add additional message
5894 for unexpected output.
5895
5896 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5897
5898 * gdb.base/examine-backward.c (Barrier): New character array
5899 constant, to ensure that TestStrings is preceded by a string
5900 terminator.
5901
5902 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5903
5904 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5905 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5906 and implicit pointer into such a location.
5907
5908 2017-03-16 Doug Evans <dje@google.com>
5909
5910 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5911
5912 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5913
5914 * gdb.cp/m-static.exp: Fix expectation for prototype of
5915 test5.single_constructor and single_constructor::single_constructor.
5916
5917 2017-03-16 Doug Evans <dje@google.com>
5918
5919 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5920 * gdb.guile/scm-lazy-string.c: New file.
5921 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5922 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5923 for pointer, array, typedef lazy strings.
5924
5925 2017-03-16 Doug Evans <dje@google.com>
5926
5927 PR python/17728, python/18439, python/18779
5928 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5929 * gdb.python/py-lazy-string.c (pointer): New typedef.
5930 (main): New locals ptr, array, typedef_ptr.
5931 * gdb.python/py-value.exp: Move lazy string tests to ...
5932 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5933 array, typedef lazy strings.
5934
5935 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5936
5937 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5938 Add optional 'test' parameter.
5939
5940 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5941
5942 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5943 Skip for versions of DejaGnu < 1.5.
5944
5945 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5946
5947 * lib/gdb.exp (dejagnu_version): New proc.
5948 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5949 Use dejagnu_version.
5950
5951 2017-03-10 Keith Seitz <keiths@redhat.com>
5952
5953 PR c++/8128
5954 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5955 type from destructor regexps.
5956 Add a branch which actually passes the test.
5957 Adjust "ptype t5i" test names.
5958
5959 2017-03-08 Pedro Alves <palves@redhat.com>
5960
5961 * gdb.base/step-over-exit.exp: Add explicit test message.
5962
5963 2017-03-08 Pedro Alves <palves@redhat.com>
5964
5965 PR gdb/18360
5966 * gdb.threads/interrupt-while-step-over.c: New file.
5967 * gdb.threads/interrupt-while-step-over.exp: New file.
5968
5969 2017-03-08 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5972 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5973
5974 2017-03-08 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5977 PKRU as not supported as a PASS.
5978
5979 2017-03-08 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5982 prefix instead of $binfile1/$binfile2.
5983 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5984 in test message.
5985 * gdb.python/py-completion.exp: Use "load python file" as test
5986 messages instead of unstable path names.
5987
5988 2017-03-08 Pedro Alves <palves@redhat.com>
5989 Jan Kratochvil <jan.kratochvil@redhat.com>
5990
5991 PR cli/21218
5992 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5993 New proc.
5994 (top level): Call it.
5995
5996 2017-03-08 Pedro Alves <palves@redhat.com>
5997
5998 PR tui/21216
5999 * gdb.tui/tui-nl-filtered-output.exp: New file.
6000
6001 2017-03-08 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.base/completion.exp: Move TUI completion tests to ...
6004 * gdb.tui/completion.exp: ... this new file.
6005
6006 2017-03-08 Pedro Alves <palves@redhat.com>
6007
6008 * gdb.base/tui-disasm-long-lines.c,
6009 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6010 gdb.base/tui-layout.exp: Move to ...
6011 * gdb.tui/: ... this new directory.
6012
6013 2017-03-07 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.base/tui-layout.c: New file.
6016 * gdb.base/tui-layout.exp: New file.
6017
6018 2017-03-07 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.base/tui-layout.c: Rename to ...
6021 * gdb.base/tui-disasm-long-lines.c: ... this.
6022 * gdb.base/tui-layout.exp: Rename to ...
6023 * gdb.base/tui-disasm-long-lines.exp: ... this.
6024
6025 2017-03-07 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6028
6029 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6030
6031 * i386-mpx-call.c: New file.
6032 * i386-mpx-call.exp: New file.
6033
6034 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6035
6036 * gdb.arch/powerpc-power.exp: Delete test.
6037 * gdb.arch/powerpc-power.s: Likewise.
6038 * gdb.disasm/disassembler-options.exp: New test.
6039 * gdb.arch/powerpc-altivec.exp: Likewise.
6040 * gdb.arch/powerpc-altivec.s: Likewise.
6041 * gdb.arch/powerpc-altivec2.exp: Likewise.
6042 * gdb.arch/powerpc-altivec2.s: Likewise.
6043 * gdb.arch/powerpc-altivec3.exp: Likewise.
6044 * gdb.arch/powerpc-altivec3.s: Likewise.
6045 * gdb.arch/powerpc-power7.exp: Likewise.
6046 * gdb.arch/powerpc-power7.s: Likewise.
6047 * gdb.arch/powerpc-power8.exp: Likewise.
6048 * gdb.arch/powerpc-power8.s: Likewise.
6049 * gdb.arch/powerpc-power9.exp: Likewise.
6050 * gdb.arch/powerpc-power9.s: Likewise.
6051 * gdb.arch/powerpc-vsx.exp: Likewise.
6052 * gdb.arch/powerpc-vsx.s: Likewise.
6053 * gdb.arch/powerpc-vsx2.exp: Likewise.
6054 * gdb.arch/powerpc-vsx2.s: Likewise.
6055 * gdb.arch/powerpc-vsx3.exp: Likewise.
6056 * gdb.arch/powerpc-vsx3.s: Likewise.
6057 * gdb.arch/arm-disassembler-options.exp: Likewise.
6058 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6059 * gdb.arch/s390-disassembler-options.exp: Likewise.
6060
6061 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6062
6063 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6064 (check_supported_features): ... this. Changed return type to void.
6065 (supports_rdseed): New static global.
6066 (rdseed): Check supports_rdseed.
6067 (initialize): Call check_supported_features.
6068
6069 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6070
6071 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6072 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6073 and lqarx/stqcx.
6074 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6075 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6076
6077 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6078
6079 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6080 uppercase.
6081
6082 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6083
6084 * gdb.dwarf2/formdata16.c: New file.
6085 * gdb.dwarf2/formdata16.exp: New file.
6086 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6087
6088 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6091 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6092 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6093 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6094 DW_AT_GNU_*.
6095
6096 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6097
6098 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6099
6100 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6101
6102 PR gdb/21164
6103 * gdb.base/maint.exp: Add testcases for when the commands do
6104 not have arguments.
6105
6106 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6107
6108 * gdb.cp/chained-calls.exp: Use p instead of P.
6109
6110 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6111
6112 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6113 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6114
6115 2017-02-14 Tom Tromey <tom@tromey.com>
6116
6117 PR python/13598:
6118 * gdb.python/py-events.exp: Add before_prompt event tests.
6119
6120 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6121
6122 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6123
6124 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6125
6126 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6127 (main): Call my_unique_function_name.
6128 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6129 completion of patterns with a single match.
6130 Add missing -re switches to gdb_test_multiple calls.
6131
6132 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6133
6134 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6135 return if core file is not recognized.
6136
6137 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6138
6139 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6140 and extra UIs.
6141
6142 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6143
6144 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6145 proc_with_prefix.
6146
6147 2017-02-10 Tom Tromey <tom@tromey.com>
6148
6149 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6150
6151 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6152
6153 PR gdb/21122
6154 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6155
6156 2017-02-08 Jerome Guitton <guitton@adacore.com>
6157
6158 * gdb.base/define.exp: Add test for command abbreviations
6159 in define.
6160
6161 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6162
6163 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6164 * gdb.reverse/insn-reverse-x86.c: New file.
6165
6166 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6167
6168 PR tdep/20936
6169 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6170
6171 2017-02-03 Tom Tromey <tom@tromey.com>
6172
6173 PR rust/21097:
6174 * gdb.rust/simple.exp: Add new tests.
6175
6176 2017-02-02 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6179 tests.
6180
6181 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6182
6183 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6184 taking a 2-byte value out of a 4-byte DWARF implicit value on
6185 big-endian targets.
6186 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6187 logic. Add test cases for DW_OP_implicit.
6188
6189 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6190
6191 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6192
6193 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6194
6195 * gdb.btrace/enable.exp: Call gdb_exit before
6196 skip_gdbserver_tests.
6197
6198 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6199
6200 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6201 GDBFLAGS.
6202
6203 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6204
6205 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6206 the test is skipped.
6207 * gdb.btrace/data.exp: Likewise.
6208 * gdb.btrace/delta.exp: Likewise.
6209 * gdb.btrace/dlopen.exp: Likewise.
6210 * gdb.btrace/enable-running.exp: Likewise.
6211 * gdb.btrace/enable.exp: Likewise.
6212 * gdb.btrace/exception.exp: Likewise.
6213 * gdb.btrace/function_call_history.exp: Likewise.
6214 * gdb.btrace/gcore.exp: Likewise.
6215 * gdb.btrace/instruction_history.exp: Likewise.
6216 * gdb.btrace/multi-thread-step.exp: Likewise.
6217 * gdb.btrace/nohist.exp: Likewise.
6218 * gdb.btrace/non-stop.exp: Likewise.
6219 * gdb.btrace/reconnect.exp: Likewise.
6220 * gdb.btrace/record_goto-step.exp: Likewise.
6221 * gdb.btrace/record_goto.exp: Likewise.
6222 * gdb.btrace/rn-dl-bind.exp: Likewise.
6223 * gdb.btrace/segv.exp: Likewise.
6224 * gdb.btrace/step.exp: Likewise.
6225 * gdb.btrace/stepi.exp: Likewise.
6226 * gdb.btrace/tailcall-only.exp: Likewise.
6227 * gdb.btrace/tailcall.exp: Likewise.
6228 * gdb.btrace/tsx.exp: Likewise.
6229 * gdb.btrace/unknown_functions.exp: Likewise.
6230 * gdb.btrace/vdso.exp: Likewise.
6231
6232 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6233
6234 * gdb.btrace/enable-running.c: New.
6235 * gdb.btrace/enable-running.exp: New.
6236
6237 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6238
6239 * gdb.arch/amd64-gs_base.c: New file.
6240 * gdb.arch/amd64-gs_base.exp: New file.
6241
6242 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6243
6244 * lib/memory.exp: Remove spurious empty newlines.
6245
6246 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6247
6248 * gdb.python/py-bad-printers.exp: Load python file using "source".
6249 * gdb.python/py-events.exp: Likewise.
6250 * gdb.python/py-evsignal.exp: Likewise.
6251 * gdb.python/py-evthreads.exp: Likewise.
6252 * gdb.python/py-frame-args.exp: Likewise.
6253 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6254 * gdb.python/py-framefilter-mi.exp: Likewise.
6255 * gdb.python/py-framefilter.exp: Likewise.
6256 * gdb.python/py-mi.exp: Likewise.
6257 * gdb.python/py-pp-maint.exp: Likewise.
6258 * gdb.python/py-pp-registration.exp: Likewise.
6259 * gdb.python/py-prettyprint.exp: Likewise.
6260 (run_lang_tests): Likewise.
6261 * gdb.python/py-typeprint.exp: Likewise.
6262
6263 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6264
6265 * lib/memory.exp: New file.
6266 * lib/gdb.exp: Load memory.exp.
6267 * gdb.base/memattr.exp (delete_memory): Move proc to
6268 lib/memory.exp and rename to delete_memory_regions.
6269 Replace delete_memory with delete_memory_regions.
6270 Cleanup memory regions before tests.
6271 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6272 before tests.
6273
6274 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6275
6276 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6277 files.
6278 (initialize): New function conditionally defined.
6279 (testcases): Move within conditional block.
6280 (main): Call initialize.
6281 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6282 of gdb.reverse/insn-reverse.c.
6283 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6284 gdb.reverse/insn-reverse.c.
6285
6286 2017-01-26 Yao Qi <yao.qi@linaro.org>
6287
6288 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6289 disassemble on address 0.
6290
6291 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6292 Yao Qi <yao.qi@linaro.org>
6293
6294 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6295 * gdb.dwarf2/implptr-64bit.S: Remove.
6296 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6297 variables in caller's context. Add DW_OP_implicit_value.
6298
6299 2017-01-25 Yao Qi <yao.qi@linaro.org>
6300
6301 * lib/dwarf.exp (Dwarf::_location): Handle
6302 DW_OP_GNU_implicit_pointer with proper size.
6303
6304 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6305
6306 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6307 and add untested calls.
6308
6309 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6310
6311 * gdb.python/python.exp: Check line number against what GDB thinks
6312 the line number is for func1.
6313
6314 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6315
6316 * gdb.dlang/debug-expr.exp: New file.
6317
6318 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6319
6320 Fix test names for the following files:
6321
6322 * gdb.ada/exec_changed.exp
6323 * gdb.ada/info_types.exp
6324 * gdb.arch/aarch64-atomic-inst.exp
6325 * gdb.arch/aarch64-fp.exp
6326 * gdb.arch/altivec-abi.exp
6327 * gdb.arch/altivec-regs.exp
6328 * gdb.arch/amd64-byte.exp
6329 * gdb.arch/amd64-disp-step.exp
6330 * gdb.arch/amd64-dword.exp
6331 * gdb.arch/amd64-entry-value-inline.exp
6332 * gdb.arch/amd64-entry-value-param.exp
6333 * gdb.arch/amd64-entry-value-paramref.exp
6334 * gdb.arch/amd64-entry-value.exp
6335 * gdb.arch/amd64-i386-address.exp
6336 * gdb.arch/amd64-invalid-stack-middle.exp
6337 * gdb.arch/amd64-invalid-stack-top.exp
6338 * gdb.arch/amd64-optimout-repeat.exp
6339 * gdb.arch/amd64-prologue-skip.exp
6340 * gdb.arch/amd64-prologue-xmm.exp
6341 * gdb.arch/amd64-stap-special-operands.exp
6342 * gdb.arch/amd64-stap-wrong-subexp.exp
6343 * gdb.arch/amd64-tailcall-cxx.exp
6344 * gdb.arch/amd64-tailcall-noret.exp
6345 * gdb.arch/amd64-tailcall-ret.exp
6346 * gdb.arch/amd64-tailcall-self.exp
6347 * gdb.arch/amd64-word.exp
6348 * gdb.arch/arm-bl-branch-dest.exp
6349 * gdb.arch/arm-disp-step.exp
6350 * gdb.arch/arm-neon.exp
6351 * gdb.arch/arm-single-step-kernel-helper.exp
6352 * gdb.arch/avr-flash-qualifier.exp
6353 * gdb.arch/disp-step-insn-reloc.exp
6354 * gdb.arch/e500-abi.exp
6355 * gdb.arch/e500-regs.exp
6356 * gdb.arch/ftrace-insn-reloc.exp
6357 * gdb.arch/i386-avx512.exp
6358 * gdb.arch/i386-bp_permanent.exp
6359 * gdb.arch/i386-byte.exp
6360 * gdb.arch/i386-cfi-notcurrent.exp
6361 * gdb.arch/i386-disp-step.exp
6362 * gdb.arch/i386-dr3-watch.exp
6363 * gdb.arch/i386-float.exp
6364 * gdb.arch/i386-gnu-cfi.exp
6365 * gdb.arch/i386-mpx-map.exp
6366 * gdb.arch/i386-mpx-sigsegv.exp
6367 * gdb.arch/i386-mpx-simple_segv.exp
6368 * gdb.arch/i386-mpx.exp
6369 * gdb.arch/i386-permbkpt.exp
6370 * gdb.arch/i386-prologue.exp
6371 * gdb.arch/i386-signal.exp
6372 * gdb.arch/i386-size-overlap.exp
6373 * gdb.arch/i386-unwind.exp
6374 * gdb.arch/i386-word.exp
6375 * gdb.arch/mips-fcr.exp
6376 * gdb.arch/powerpc-d128-regs.exp
6377 * gdb.arch/powerpc-stackless.exp
6378 * gdb.arch/ppc64-atomic-inst.exp
6379 * gdb.arch/s390-stackless.exp
6380 * gdb.arch/s390-tdbregs.exp
6381 * gdb.arch/s390-vregs.exp
6382 * gdb.arch/sparc-sysstep.exp
6383 * gdb.arch/thumb-bx-pc.exp
6384 * gdb.arch/thumb-singlestep.exp
6385 * gdb.arch/thumb2-it.exp
6386 * gdb.arch/vsx-regs.exp
6387 * gdb.asm/asm-source.exp
6388 * gdb.base/a2-run.exp
6389 * gdb.base/advance.exp
6390 * gdb.base/all-bin.exp
6391 * gdb.base/anon.exp
6392 * gdb.base/args.exp
6393 * gdb.base/arithmet.exp
6394 * gdb.base/async-shell.exp
6395 * gdb.base/async.exp
6396 * gdb.base/attach-pie-noexec.exp
6397 * gdb.base/attach-twice.exp
6398 * gdb.base/auto-load.exp
6399 * gdb.base/bang.exp
6400 * gdb.base/bitfields.exp
6401 * gdb.base/break-always.exp
6402 * gdb.base/break-caller-line.exp
6403 * gdb.base/break-entry.exp
6404 * gdb.base/break-inline.exp
6405 * gdb.base/break-on-linker-gcd-function.exp
6406 * gdb.base/break-probes.exp
6407 * gdb.base/break.exp
6408 * gdb.base/breakpoint-shadow.exp
6409 * gdb.base/call-ar-st.exp
6410 * gdb.base/call-sc.exp
6411 * gdb.base/call-signal-resume.exp
6412 * gdb.base/call-strs.exp
6413 * gdb.base/callfuncs.exp
6414 * gdb.base/catch-fork-static.exp
6415 * gdb.base/catch-gdb-caused-signals.exp
6416 * gdb.base/catch-load.exp
6417 * gdb.base/catch-signal-fork.exp
6418 * gdb.base/catch-signal.exp
6419 * gdb.base/catch-syscall.exp
6420 * gdb.base/charset.exp
6421 * gdb.base/checkpoint.exp
6422 * gdb.base/chng-syms.exp
6423 * gdb.base/code-expr.exp
6424 * gdb.base/code_elim.exp
6425 * gdb.base/commands.exp
6426 * gdb.base/completion.exp
6427 * gdb.base/complex.exp
6428 * gdb.base/cond-expr.exp
6429 * gdb.base/condbreak.exp
6430 * gdb.base/consecutive.exp
6431 * gdb.base/continue-all-already-running.exp
6432 * gdb.base/coredump-filter.exp
6433 * gdb.base/corefile.exp
6434 * gdb.base/dbx.exp
6435 * gdb.base/debug-expr.exp
6436 * gdb.base/define.exp
6437 * gdb.base/del.exp
6438 * gdb.base/disabled-location.exp
6439 * gdb.base/disasm-end-cu.exp
6440 * gdb.base/disasm-optim.exp
6441 * gdb.base/display.exp
6442 * gdb.base/duplicate-bp.exp
6443 * gdb.base/ena-dis-br.exp
6444 * gdb.base/ending-run.exp
6445 * gdb.base/enumval.exp
6446 * gdb.base/environ.exp
6447 * gdb.base/eu-strip-infcall.exp
6448 * gdb.base/eval-avoid-side-effects.exp
6449 * gdb.base/eval-skip.exp
6450 * gdb.base/exitsignal.exp
6451 * gdb.base/expand-psymtabs.exp
6452 * gdb.base/filesym.exp
6453 * gdb.base/find-unmapped.exp
6454 * gdb.base/finish.exp
6455 * gdb.base/float.exp
6456 * gdb.base/foll-exec-mode.exp
6457 * gdb.base/foll-exec.exp
6458 * gdb.base/foll-fork.exp
6459 * gdb.base/fortran-sym-case.exp
6460 * gdb.base/freebpcmd.exp
6461 * gdb.base/func-ptr.exp
6462 * gdb.base/func-ptrs.exp
6463 * gdb.base/funcargs.exp
6464 * gdb.base/gcore-buffer-overflow.exp
6465 * gdb.base/gcore-relro-pie.exp
6466 * gdb.base/gcore-relro.exp
6467 * gdb.base/gcore.exp
6468 * gdb.base/gdb1090.exp
6469 * gdb.base/gdb11530.exp
6470 * gdb.base/gdb11531.exp
6471 * gdb.base/gdb1821.exp
6472 * gdb.base/gdbindex-stabs.exp
6473 * gdb.base/gdbvars.exp
6474 * gdb.base/hbreak.exp
6475 * gdb.base/hbreak2.exp
6476 * gdb.base/included.exp
6477 * gdb.base/infcall-input.exp
6478 * gdb.base/inferior-died.exp
6479 * gdb.base/infnan.exp
6480 * gdb.base/info-macros.exp
6481 * gdb.base/info-os.exp
6482 * gdb.base/info-proc.exp
6483 * gdb.base/info-shared.exp
6484 * gdb.base/info-target.exp
6485 * gdb.base/infoline.exp
6486 * gdb.base/interp.exp
6487 * gdb.base/interrupt.exp
6488 * gdb.base/jit-reader.exp
6489 * gdb.base/jit-simple.exp
6490 * gdb.base/kill-after-signal.exp
6491 * gdb.base/kill-detach-inferiors-cmd.exp
6492 * gdb.base/label.exp
6493 * gdb.base/langs.exp
6494 * gdb.base/ldbl_e308.exp
6495 * gdb.base/line-symtabs.exp
6496 * gdb.base/linespecs.exp
6497 * gdb.base/list.exp
6498 * gdb.base/long_long.exp
6499 * gdb.base/longest-types.exp
6500 * gdb.base/maint.exp
6501 * gdb.base/max-value-size.exp
6502 * gdb.base/memattr.exp
6503 * gdb.base/mips_pro.exp
6504 * gdb.base/morestack.exp
6505 * gdb.base/moribund-step.exp
6506 * gdb.base/multi-forks.exp
6507 * gdb.base/nested-addr.exp
6508 * gdb.base/nextoverexit.exp
6509 * gdb.base/noreturn-finish.exp
6510 * gdb.base/noreturn-return.exp
6511 * gdb.base/nostdlib.exp
6512 * gdb.base/offsets.exp
6513 * gdb.base/opaque.exp
6514 * gdb.base/pc-fp.exp
6515 * gdb.base/permissions.exp
6516 * gdb.base/print-symbol-loading.exp
6517 * gdb.base/prologue-include.exp
6518 * gdb.base/psymtab.exp
6519 * gdb.base/ptype.exp
6520 * gdb.base/random-signal.exp
6521 * gdb.base/randomize.exp
6522 * gdb.base/range-stepping.exp
6523 * gdb.base/readline-ask.exp
6524 * gdb.base/recpar.exp
6525 * gdb.base/recurse.exp
6526 * gdb.base/relational.exp
6527 * gdb.base/restore.exp
6528 * gdb.base/return-nodebug.exp
6529 * gdb.base/return.exp
6530 * gdb.base/run-after-attach.exp
6531 * gdb.base/save-bp.exp
6532 * gdb.base/scope.exp
6533 * gdb.base/sect-cmd.exp
6534 * gdb.base/set-lang-auto.exp
6535 * gdb.base/set-noassign.exp
6536 * gdb.base/setvar.exp
6537 * gdb.base/sigall.exp
6538 * gdb.base/sigbpt.exp
6539 * gdb.base/siginfo-addr.exp
6540 * gdb.base/siginfo-infcall.exp
6541 * gdb.base/siginfo-obj.exp
6542 * gdb.base/siginfo.exp
6543 * gdb.base/signals-state-child.exp
6544 * gdb.base/signest.exp
6545 * gdb.base/sigstep.exp
6546 * gdb.base/sizeof.exp
6547 * gdb.base/skip.exp
6548 * gdb.base/solib-corrupted.exp
6549 * gdb.base/solib-nodir.exp
6550 * gdb.base/solib-search.exp
6551 * gdb.base/stack-checking.exp
6552 * gdb.base/stale-infcall.exp
6553 * gdb.base/stap-probe.exp
6554 * gdb.base/start.exp
6555 * gdb.base/step-break.exp
6556 * gdb.base/step-bt.exp
6557 * gdb.base/step-line.exp
6558 * gdb.base/step-over-exit.exp
6559 * gdb.base/step-over-syscall.exp
6560 * gdb.base/step-resume-infcall.exp
6561 * gdb.base/step-test.exp
6562 * gdb.base/store.exp
6563 * gdb.base/structs3.exp
6564 * gdb.base/sym-file.exp
6565 * gdb.base/symbol-without-target_section.exp
6566 * gdb.base/term.exp
6567 * gdb.base/testenv.exp
6568 * gdb.base/ui-redirect.exp
6569 * gdb.base/until.exp
6570 * gdb.base/unwindonsignal.exp
6571 * gdb.base/value-double-free.exp
6572 * gdb.base/vla-datatypes.exp
6573 * gdb.base/vla-ptr.exp
6574 * gdb.base/vla-sideeffect.exp
6575 * gdb.base/volatile.exp
6576 * gdb.base/watch-cond-infcall.exp
6577 * gdb.base/watch-cond.exp
6578 * gdb.base/watch-non-mem.exp
6579 * gdb.base/watch-read.exp
6580 * gdb.base/watch-vfork.exp
6581 * gdb.base/watchpoint-cond-gone.exp
6582 * gdb.base/watchpoint-delete.exp
6583 * gdb.base/watchpoint-hw-hit-once.exp
6584 * gdb.base/watchpoint-hw.exp
6585 * gdb.base/watchpoint-stops-at-right-insn.exp
6586 * gdb.base/watchpoints.exp
6587 * gdb.base/wchar.exp
6588 * gdb.base/whatis-exp.exp
6589 * gdb.btrace/buffer-size.exp
6590 * gdb.btrace/data.exp
6591 * gdb.btrace/delta.exp
6592 * gdb.btrace/dlopen.exp
6593 * gdb.btrace/enable.exp
6594 * gdb.btrace/exception.exp
6595 * gdb.btrace/function_call_history.exp
6596 * gdb.btrace/gcore.exp
6597 * gdb.btrace/instruction_history.exp
6598 * gdb.btrace/nohist.exp
6599 * gdb.btrace/reconnect.exp
6600 * gdb.btrace/record_goto-step.exp
6601 * gdb.btrace/record_goto.exp
6602 * gdb.btrace/rn-dl-bind.exp
6603 * gdb.btrace/segv.exp
6604 * gdb.btrace/step.exp
6605 * gdb.btrace/stepi.exp
6606 * gdb.btrace/tailcall-only.exp
6607 * gdb.btrace/tailcall.exp
6608 * gdb.btrace/tsx.exp
6609 * gdb.btrace/unknown_functions.exp
6610 * gdb.btrace/vdso.exp
6611 * gdb.compile/compile-ifunc.exp
6612 * gdb.compile/compile-ops.exp
6613 * gdb.compile/compile-print.exp
6614 * gdb.compile/compile-setjmp.exp
6615 * gdb.cp/abstract-origin.exp
6616 * gdb.cp/ambiguous.exp
6617 * gdb.cp/annota2.exp
6618 * gdb.cp/annota3.exp
6619 * gdb.cp/anon-ns.exp
6620 * gdb.cp/anon-struct.exp
6621 * gdb.cp/anon-union.exp
6622 * gdb.cp/arg-reference.exp
6623 * gdb.cp/baseenum.exp
6624 * gdb.cp/bool.exp
6625 * gdb.cp/breakpoint.exp
6626 * gdb.cp/bs15503.exp
6627 * gdb.cp/call-c.exp
6628 * gdb.cp/casts.exp
6629 * gdb.cp/chained-calls.exp
6630 * gdb.cp/class2.exp
6631 * gdb.cp/classes.exp
6632 * gdb.cp/cmpd-minsyms.exp
6633 * gdb.cp/converts.exp
6634 * gdb.cp/cp-relocate.exp
6635 * gdb.cp/cpcompletion.exp
6636 * gdb.cp/cpexprs.exp
6637 * gdb.cp/cplabel.exp
6638 * gdb.cp/cplusfuncs.exp
6639 * gdb.cp/cpsizeof.exp
6640 * gdb.cp/ctti.exp
6641 * gdb.cp/derivation.exp
6642 * gdb.cp/destrprint.exp
6643 * gdb.cp/dispcxx.exp
6644 * gdb.cp/enum-class.exp
6645 * gdb.cp/exception.exp
6646 * gdb.cp/exceptprint.exp
6647 * gdb.cp/expand-psymtabs-cxx.exp
6648 * gdb.cp/expand-sals.exp
6649 * gdb.cp/extern-c.exp
6650 * gdb.cp/filename.exp
6651 * gdb.cp/formatted-ref.exp
6652 * gdb.cp/fpointer.exp
6653 * gdb.cp/gdb1355.exp
6654 * gdb.cp/gdb2495.exp
6655 * gdb.cp/hang.exp
6656 * gdb.cp/impl-this.exp
6657 * gdb.cp/infcall-dlopen.exp
6658 * gdb.cp/inherit.exp
6659 * gdb.cp/iostream.exp
6660 * gdb.cp/koenig.exp
6661 * gdb.cp/local.exp
6662 * gdb.cp/m-data.exp
6663 * gdb.cp/m-static.exp
6664 * gdb.cp/mb-ctor.exp
6665 * gdb.cp/mb-inline.exp
6666 * gdb.cp/mb-templates.exp
6667 * gdb.cp/member-name.exp
6668 * gdb.cp/member-ptr.exp
6669 * gdb.cp/meth-typedefs.exp
6670 * gdb.cp/method.exp
6671 * gdb.cp/method2.exp
6672 * gdb.cp/minsym-fallback.exp
6673 * gdb.cp/misc.exp
6674 * gdb.cp/namelessclass.exp
6675 * gdb.cp/namespace-enum.exp
6676 * gdb.cp/namespace-nested-import.exp
6677 * gdb.cp/namespace.exp
6678 * gdb.cp/nextoverthrow.exp
6679 * gdb.cp/no-dmgl-verbose.exp
6680 * gdb.cp/non-trivial-retval.exp
6681 * gdb.cp/noparam.exp
6682 * gdb.cp/nsdecl.exp
6683 * gdb.cp/nsimport.exp
6684 * gdb.cp/nsnested.exp
6685 * gdb.cp/nsnoimports.exp
6686 * gdb.cp/nsrecurs.exp
6687 * gdb.cp/nsstress.exp
6688 * gdb.cp/nsusing.exp
6689 * gdb.cp/operator.exp
6690 * gdb.cp/oranking.exp
6691 * gdb.cp/overload-const.exp
6692 * gdb.cp/overload.exp
6693 * gdb.cp/ovldbreak.exp
6694 * gdb.cp/ovsrch.exp
6695 * gdb.cp/paren-type.exp
6696 * gdb.cp/parse-lang.exp
6697 * gdb.cp/pass-by-ref.exp
6698 * gdb.cp/pr-1023.exp
6699 * gdb.cp/pr-1210.exp
6700 * gdb.cp/pr-574.exp
6701 * gdb.cp/pr10687.exp
6702 * gdb.cp/pr12028.exp
6703 * gdb.cp/pr17132.exp
6704 * gdb.cp/pr17494.exp
6705 * gdb.cp/pr9067.exp
6706 * gdb.cp/pr9167.exp
6707 * gdb.cp/pr9631.exp
6708 * gdb.cp/printmethod.exp
6709 * gdb.cp/psmang.exp
6710 * gdb.cp/psymtab-parameter.exp
6711 * gdb.cp/ptype-cv-cp.exp
6712 * gdb.cp/ptype-flags.exp
6713 * gdb.cp/re-set-overloaded.exp
6714 * gdb.cp/ref-types.exp
6715 * gdb.cp/rtti.exp
6716 * gdb.cp/scope-err.exp
6717 * gdb.cp/shadow.exp
6718 * gdb.cp/smartp.exp
6719 * gdb.cp/static-method.exp
6720 * gdb.cp/static-print-quit.exp
6721 * gdb.cp/temargs.exp
6722 * gdb.cp/templates.exp
6723 * gdb.cp/try_catch.exp
6724 * gdb.cp/typedef-operator.exp
6725 * gdb.cp/typeid.exp
6726 * gdb.cp/userdef.exp
6727 * gdb.cp/using-crash.exp
6728 * gdb.cp/var-tag.exp
6729 * gdb.cp/virtbase.exp
6730 * gdb.cp/virtfunc.exp
6731 * gdb.cp/virtfunc2.exp
6732 * gdb.cp/vla-cxx.exp
6733 * gdb.disasm/t01_mov.exp
6734 * gdb.disasm/t02_mova.exp
6735 * gdb.disasm/t03_add.exp
6736 * gdb.disasm/t04_sub.exp
6737 * gdb.disasm/t05_cmp.exp
6738 * gdb.disasm/t06_ari2.exp
6739 * gdb.disasm/t07_ari3.exp
6740 * gdb.disasm/t08_or.exp
6741 * gdb.disasm/t09_xor.exp
6742 * gdb.disasm/t10_and.exp
6743 * gdb.disasm/t11_logs.exp
6744 * gdb.disasm/t12_bit.exp
6745 * gdb.disasm/t13_otr.exp
6746 * gdb.dlang/circular.exp
6747 * gdb.dwarf2/arr-stride.exp
6748 * gdb.dwarf2/arr-subrange.exp
6749 * gdb.dwarf2/atomic-type.exp
6750 * gdb.dwarf2/bad-regnum.exp
6751 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6752 * gdb.dwarf2/callframecfa.exp
6753 * gdb.dwarf2/clztest.exp
6754 * gdb.dwarf2/corrupt.exp
6755 * gdb.dwarf2/data-loc.exp
6756 * gdb.dwarf2/dup-psym.exp
6757 * gdb.dwarf2/dw2-anon-mptr.exp
6758 * gdb.dwarf2/dw2-anonymous-func.exp
6759 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6760 * gdb.dwarf2/dw2-bad-unresolved.exp
6761 * gdb.dwarf2/dw2-basic.exp
6762 * gdb.dwarf2/dw2-canonicalize-type.exp
6763 * gdb.dwarf2/dw2-case-insensitive.exp
6764 * gdb.dwarf2/dw2-common-block.exp
6765 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6766 * gdb.dwarf2/dw2-compressed.exp
6767 * gdb.dwarf2/dw2-const.exp
6768 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6769 * gdb.dwarf2/dw2-cu-size.exp
6770 * gdb.dwarf2/dw2-dup-frame.exp
6771 * gdb.dwarf2/dw2-entry-value.exp
6772 * gdb.dwarf2/dw2-icycle.exp
6773 * gdb.dwarf2/dw2-ifort-parameter.exp
6774 * gdb.dwarf2/dw2-inline-break.exp
6775 * gdb.dwarf2/dw2-inline-param.exp
6776 * gdb.dwarf2/dw2-intercu.exp
6777 * gdb.dwarf2/dw2-intermix.exp
6778 * gdb.dwarf2/dw2-lexical-block-bare.exp
6779 * gdb.dwarf2/dw2-linkage-name-trust.exp
6780 * gdb.dwarf2/dw2-minsym-in-cu.exp
6781 * gdb.dwarf2/dw2-noloc.exp
6782 * gdb.dwarf2/dw2-op-call.exp
6783 * gdb.dwarf2/dw2-op-out-param.exp
6784 * gdb.dwarf2/dw2-opt-structptr.exp
6785 * gdb.dwarf2/dw2-param-error.exp
6786 * gdb.dwarf2/dw2-producer.exp
6787 * gdb.dwarf2/dw2-ranges-base.exp
6788 * gdb.dwarf2/dw2-ref-missing-frame.exp
6789 * gdb.dwarf2/dw2-reg-undefined.exp
6790 * gdb.dwarf2/dw2-regno-invalid.exp
6791 * gdb.dwarf2/dw2-restore.exp
6792 * gdb.dwarf2/dw2-restrict.exp
6793 * gdb.dwarf2/dw2-single-line-discriminators.exp
6794 * gdb.dwarf2/dw2-strp.exp
6795 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6796 * gdb.dwarf2/dw2-unresolved.exp
6797 * gdb.dwarf2/dw2-var-zero-addr.exp
6798 * gdb.dwarf2/dw4-sig-types.exp
6799 * gdb.dwarf2/dwz.exp
6800 * gdb.dwarf2/dynarr-ptr.exp
6801 * gdb.dwarf2/enum-type.exp
6802 * gdb.dwarf2/gdb-index.exp
6803 * gdb.dwarf2/implptr-64bit.exp
6804 * gdb.dwarf2/implptr-optimized-out.exp
6805 * gdb.dwarf2/implptr.exp
6806 * gdb.dwarf2/implref-array.exp
6807 * gdb.dwarf2/implref-const.exp
6808 * gdb.dwarf2/implref-global.exp
6809 * gdb.dwarf2/implref-struct.exp
6810 * gdb.dwarf2/mac-fileno.exp
6811 * gdb.dwarf2/main-subprogram.exp
6812 * gdb.dwarf2/member-ptr-forwardref.exp
6813 * gdb.dwarf2/method-ptr.exp
6814 * gdb.dwarf2/missing-sig-type.exp
6815 * gdb.dwarf2/nonvar-access.exp
6816 * gdb.dwarf2/opaque-type-lookup.exp
6817 * gdb.dwarf2/pieces-optimized-out.exp
6818 * gdb.dwarf2/pieces.exp
6819 * gdb.dwarf2/pr10770.exp
6820 * gdb.dwarf2/pr13961.exp
6821 * gdb.dwarf2/staticvirtual.exp
6822 * gdb.dwarf2/subrange.exp
6823 * gdb.dwarf2/symtab-producer.exp
6824 * gdb.dwarf2/trace-crash.exp
6825 * gdb.dwarf2/typeddwarf.exp
6826 * gdb.dwarf2/valop.exp
6827 * gdb.dwarf2/watch-notconst.exp
6828 * gdb.fortran/array-element.exp
6829 * gdb.fortran/charset.exp
6830 * gdb.fortran/common-block.exp
6831 * gdb.fortran/complex.exp
6832 * gdb.fortran/derived-type-function.exp
6833 * gdb.fortran/derived-type.exp
6834 * gdb.fortran/logical.exp
6835 * gdb.fortran/module.exp
6836 * gdb.fortran/multi-dim.exp
6837 * gdb.fortran/nested-funcs.exp
6838 * gdb.fortran/print-formatted.exp
6839 * gdb.fortran/subarray.exp
6840 * gdb.fortran/vla-alloc-assoc.exp
6841 * gdb.fortran/vla-datatypes.exp
6842 * gdb.fortran/vla-history.exp
6843 * gdb.fortran/vla-ptr-info.exp
6844 * gdb.fortran/vla-ptype-sub.exp
6845 * gdb.fortran/vla-ptype.exp
6846 * gdb.fortran/vla-sizeof.exp
6847 * gdb.fortran/vla-type.exp
6848 * gdb.fortran/vla-value-sub-arbitrary.exp
6849 * gdb.fortran/vla-value-sub-finish.exp
6850 * gdb.fortran/vla-value-sub.exp
6851 * gdb.fortran/vla-value.exp
6852 * gdb.fortran/whatis_type.exp
6853 * gdb.go/chan.exp
6854 * gdb.go/handcall.exp
6855 * gdb.go/hello.exp
6856 * gdb.go/integers.exp
6857 * gdb.go/methods.exp
6858 * gdb.go/package.exp
6859 * gdb.go/strings.exp
6860 * gdb.go/types.exp
6861 * gdb.go/unsafe.exp
6862 * gdb.guile/scm-arch.exp
6863 * gdb.guile/scm-block.exp
6864 * gdb.guile/scm-breakpoint.exp
6865 * gdb.guile/scm-cmd.exp
6866 * gdb.guile/scm-disasm.exp
6867 * gdb.guile/scm-equal.exp
6868 * gdb.guile/scm-frame-args.exp
6869 * gdb.guile/scm-frame-inline.exp
6870 * gdb.guile/scm-frame.exp
6871 * gdb.guile/scm-iterator.exp
6872 * gdb.guile/scm-math.exp
6873 * gdb.guile/scm-objfile.exp
6874 * gdb.guile/scm-ports.exp
6875 * gdb.guile/scm-symbol.exp
6876 * gdb.guile/scm-symtab.exp
6877 * gdb.guile/scm-value-cc.exp
6878 * gdb.guile/types-module.exp
6879 * gdb.linespec/break-ask.exp
6880 * gdb.linespec/cpexplicit.exp
6881 * gdb.linespec/explicit.exp
6882 * gdb.linespec/keywords.exp
6883 * gdb.linespec/linespec.exp
6884 * gdb.linespec/ls-dollar.exp
6885 * gdb.linespec/ls-errs.exp
6886 * gdb.linespec/skip-two.exp
6887 * gdb.linespec/thread.exp
6888 * gdb.mi/mi-async.exp
6889 * gdb.mi/mi-basics.exp
6890 * gdb.mi/mi-break.exp
6891 * gdb.mi/mi-catch-load.exp
6892 * gdb.mi/mi-cli.exp
6893 * gdb.mi/mi-cmd-param-changed.exp
6894 * gdb.mi/mi-console.exp
6895 * gdb.mi/mi-detach.exp
6896 * gdb.mi/mi-disassemble.exp
6897 * gdb.mi/mi-eval.exp
6898 * gdb.mi/mi-file-transfer.exp
6899 * gdb.mi/mi-file.exp
6900 * gdb.mi/mi-fill-memory.exp
6901 * gdb.mi/mi-inheritance-syntax-error.exp
6902 * gdb.mi/mi-linespec-err-cp.exp
6903 * gdb.mi/mi-logging.exp
6904 * gdb.mi/mi-memory-changed.exp
6905 * gdb.mi/mi-read-memory.exp
6906 * gdb.mi/mi-record-changed.exp
6907 * gdb.mi/mi-reg-undefined.exp
6908 * gdb.mi/mi-regs.exp
6909 * gdb.mi/mi-return.exp
6910 * gdb.mi/mi-reverse.exp
6911 * gdb.mi/mi-simplerun.exp
6912 * gdb.mi/mi-solib.exp
6913 * gdb.mi/mi-stack.exp
6914 * gdb.mi/mi-stepi.exp
6915 * gdb.mi/mi-syn-frame.exp
6916 * gdb.mi/mi-until.exp
6917 * gdb.mi/mi-var-block.exp
6918 * gdb.mi/mi-var-child.exp
6919 * gdb.mi/mi-var-cmd.exp
6920 * gdb.mi/mi-var-cp.exp
6921 * gdb.mi/mi-var-display.exp
6922 * gdb.mi/mi-var-invalidate.exp
6923 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6924 * gdb.mi/mi-vla-fortran.exp
6925 * gdb.mi/mi-watch.exp
6926 * gdb.mi/mi2-var-child.exp
6927 * gdb.mi/user-selected-context-sync.exp
6928 * gdb.modula2/unbounded-array.exp
6929 * gdb.multi/dummy-frame-restore.exp
6930 * gdb.multi/multi-arch-exec.exp
6931 * gdb.multi/multi-arch.exp
6932 * gdb.multi/tids.exp
6933 * gdb.multi/watchpoint-multi.exp
6934 * gdb.opencl/callfuncs.exp
6935 * gdb.opencl/convs_casts.exp
6936 * gdb.opencl/datatypes.exp
6937 * gdb.opencl/operators.exp
6938 * gdb.opencl/vec_comps.exp
6939 * gdb.opt/clobbered-registers-O2.exp
6940 * gdb.opt/inline-break.exp
6941 * gdb.opt/inline-bt.exp
6942 * gdb.opt/inline-cmds.exp
6943 * gdb.opt/inline-locals.exp
6944 * gdb.pascal/case-insensitive-symbols.exp
6945 * gdb.pascal/floats.exp
6946 * gdb.pascal/gdb11492.exp
6947 * gdb.python/lib-types.exp
6948 * gdb.python/py-arch.exp
6949 * gdb.python/py-as-string.exp
6950 * gdb.python/py-bad-printers.exp
6951 * gdb.python/py-block.exp
6952 * gdb.python/py-breakpoint-create-fail.exp
6953 * gdb.python/py-breakpoint.exp
6954 * gdb.python/py-caller-is.exp
6955 * gdb.python/py-cmd.exp
6956 * gdb.python/py-explore-cc.exp
6957 * gdb.python/py-explore.exp
6958 * gdb.python/py-finish-breakpoint.exp
6959 * gdb.python/py-finish-breakpoint2.exp
6960 * gdb.python/py-frame-args.exp
6961 * gdb.python/py-frame-inline.exp
6962 * gdb.python/py-frame.exp
6963 * gdb.python/py-framefilter-mi.exp
6964 * gdb.python/py-infthread.exp
6965 * gdb.python/py-lazy-string.exp
6966 * gdb.python/py-linetable.exp
6967 * gdb.python/py-mi-events.exp
6968 * gdb.python/py-mi-objfile.exp
6969 * gdb.python/py-mi.exp
6970 * gdb.python/py-objfile.exp
6971 * gdb.python/py-pp-integral.exp
6972 * gdb.python/py-pp-maint.exp
6973 * gdb.python/py-pp-re-notag.exp
6974 * gdb.python/py-pp-registration.exp
6975 * gdb.python/py-recurse-unwind.exp
6976 * gdb.python/py-strfns.exp
6977 * gdb.python/py-symbol.exp
6978 * gdb.python/py-symtab.exp
6979 * gdb.python/py-sync-interp.exp
6980 * gdb.python/py-typeprint.exp
6981 * gdb.python/py-unwind-maint.exp
6982 * gdb.python/py-unwind.exp
6983 * gdb.python/py-value-cc.exp
6984 * gdb.python/py-xmethods.exp
6985 * gdb.reverse/amd64-tailcall-reverse.exp
6986 * gdb.reverse/break-precsave.exp
6987 * gdb.reverse/break-reverse.exp
6988 * gdb.reverse/consecutive-precsave.exp
6989 * gdb.reverse/consecutive-reverse.exp
6990 * gdb.reverse/finish-precsave.exp
6991 * gdb.reverse/finish-reverse-bkpt.exp
6992 * gdb.reverse/finish-reverse.exp
6993 * gdb.reverse/fstatat-reverse.exp
6994 * gdb.reverse/getresuid-reverse.exp
6995 * gdb.reverse/i386-precsave.exp
6996 * gdb.reverse/i386-reverse.exp
6997 * gdb.reverse/i386-sse-reverse.exp
6998 * gdb.reverse/i387-env-reverse.exp
6999 * gdb.reverse/i387-stack-reverse.exp
7000 * gdb.reverse/insn-reverse.exp
7001 * gdb.reverse/machinestate-precsave.exp
7002 * gdb.reverse/machinestate.exp
7003 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7004 * gdb.reverse/pipe-reverse.exp
7005 * gdb.reverse/readv-reverse.exp
7006 * gdb.reverse/recvmsg-reverse.exp
7007 * gdb.reverse/rerun-prec.exp
7008 * gdb.reverse/s390-mvcle.exp
7009 * gdb.reverse/step-precsave.exp
7010 * gdb.reverse/step-reverse.exp
7011 * gdb.reverse/time-reverse.exp
7012 * gdb.reverse/until-precsave.exp
7013 * gdb.reverse/until-reverse.exp
7014 * gdb.reverse/waitpid-reverse.exp
7015 * gdb.reverse/watch-precsave.exp
7016 * gdb.reverse/watch-reverse.exp
7017 * gdb.rust/generics.exp
7018 * gdb.rust/methods.exp
7019 * gdb.rust/modules.exp
7020 * gdb.rust/simple.exp
7021 * gdb.server/connect-with-no-symbol-file.exp
7022 * gdb.server/ext-attach.exp
7023 * gdb.server/ext-restart.exp
7024 * gdb.server/ext-wrapper.exp
7025 * gdb.server/file-transfer.exp
7026 * gdb.server/server-exec-info.exp
7027 * gdb.server/server-kill.exp
7028 * gdb.server/server-mon.exp
7029 * gdb.server/wrapper.exp
7030 * gdb.stabs/exclfwd.exp
7031 * gdb.stabs/gdb11479.exp
7032 * gdb.threads/clone-new-thread-event.exp
7033 * gdb.threads/corethreads.exp
7034 * gdb.threads/current-lwp-dead.exp
7035 * gdb.threads/dlopen-libpthread.exp
7036 * gdb.threads/gcore-thread.exp
7037 * gdb.threads/sigstep-threads.exp
7038 * gdb.threads/watchpoint-fork.exp
7039 * gdb.trace/actions-changed.exp
7040 * gdb.trace/backtrace.exp
7041 * gdb.trace/change-loc.exp
7042 * gdb.trace/circ.exp
7043 * gdb.trace/collection.exp
7044 * gdb.trace/disconnected-tracing.exp
7045 * gdb.trace/ftrace.exp
7046 * gdb.trace/mi-trace-frame-collected.exp
7047 * gdb.trace/mi-trace-unavailable.exp
7048 * gdb.trace/mi-traceframe-changed.exp
7049 * gdb.trace/mi-tsv-changed.exp
7050 * gdb.trace/no-attach-trace.exp
7051 * gdb.trace/passc-dyn.exp
7052 * gdb.trace/qtro.exp
7053 * gdb.trace/range-stepping.exp
7054 * gdb.trace/read-memory.exp
7055 * gdb.trace/save-trace.exp
7056 * gdb.trace/signal.exp
7057 * gdb.trace/status-stop.exp
7058 * gdb.trace/tfile.exp
7059 * gdb.trace/trace-break.exp
7060 * gdb.trace/trace-buffer-size.exp
7061 * gdb.trace/trace-condition.exp
7062 * gdb.trace/tracefile-pseudo-reg.exp
7063 * gdb.trace/tstatus.exp
7064 * gdb.trace/unavailable.exp
7065 * gdb.trace/while-dyn.exp
7066 * gdb.trace/while-stepping.exp
7067
7068 2016-12-22 Doug Evans <xdje42@gmail.com>
7069
7070 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7071 and msymbols.
7072
7073 2016-12-19 Yao Qi <yao.qi@linaro.org>
7074
7075 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7076 (test_with_self): Don't call do_steps_and_nexts, and remove
7077 code about stepping into xmalloc.
7078
7079 2016-12-09 Yao Qi <yao.qi@linaro.org>
7080
7081 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7082
7083 2016-12-09 Yao Qi <yao.qi@linaro.org>
7084
7085 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7086
7087 2016-12-09 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.base/all-architectures-0.exp: New file.
7090 * gdb.base/all-architectures-1.exp: New file.
7091 * gdb.base/all-architectures-2.exp: New file.
7092 * gdb.base/all-architectures-3.exp: New file.
7093 * gdb.base/all-architectures-4.exp: New file.
7094 * gdb.base/all-architectures-5.exp: New file.
7095 * gdb.base/all-architectures-6.exp: New file.
7096 * gdb.base/all-architectures-7.exp: New file.
7097 * gdb.base/all-architectures.exp.in: New file.
7098
7099 2016-12-09 Yao Qi <yao.qi@linaro.org>
7100
7101 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7102
7103 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7104
7105 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7106 possible.
7107 Remove useless pattern-matching code.
7108
7109 2016-12-02 Pedro Alves <palves@redhat.com>
7110
7111 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7112 procedure.
7113 (top level): Call it.
7114
7115 2016-12-02 Pedro Alves <palves@redhat.com>
7116
7117 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7118 New procedure.
7119 (top level): Call it.
7120
7121 2016-12-02 Pedro Alves <palves@redhat.com>
7122
7123 PR cli/20559
7124 * gdb.base/commands.exp (user_defined_command_args_eval): New
7125 procedure.
7126 (top level): Call it.
7127
7128 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7129
7130 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7131 timeout handling.
7132
7133 2016-12-02 Tom Tromey <tom@tromey.com>
7134
7135 * gdb.dwarf2/main-subprogram.c: New file.
7136 * gdb.dwarf2/main-subprogram.exp: New file.
7137
7138 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7139
7140 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7141 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7142 gdb_test_no_output for a couple of cases.
7143 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7144
7145 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7146
7147 Fix test names and standardize compilation error messages throughout
7148 the following files:
7149
7150 * gdb.ada/start.exp
7151 * gdb.arch/alpha-step.exp
7152 * gdb.arch/e500-prologue.exp
7153 * gdb.arch/ftrace-insn-reloc.exp
7154 * gdb.arch/gdb1291.exp
7155 * gdb.arch/gdb1431.exp
7156 * gdb.arch/gdb1558.exp
7157 * gdb.arch/i386-dr3-watch.exp
7158 * gdb.arch/i386-sse-stack-align.exp
7159 * gdb.arch/ia64-breakpoint-shadow.exp
7160 * gdb.arch/pa-nullify.exp
7161 * gdb.arch/powerpc-aix-prologue.exp
7162 * gdb.arch/thumb-bx-pc.exp
7163 * gdb.base/annota1.exp
7164 * gdb.base/annota3.exp
7165 * gdb.base/arrayidx.exp
7166 * gdb.base/assign.exp
7167 * gdb.base/attach.exp
7168 * gdb.base/auxv.exp
7169 * gdb.base/bang.exp
7170 * gdb.base/bfp-test.exp
7171 * gdb.base/bigcore.exp
7172 * gdb.base/bitfields2.exp
7173 * gdb.base/break-fun-addr.exp
7174 * gdb.base/break-probes.exp
7175 * gdb.base/call-rt-st.exp
7176 * gdb.base/callexit.exp
7177 * gdb.base/catch-fork-kill.exp
7178 * gdb.base/charset.exp
7179 * gdb.base/checkpoint.exp
7180 * gdb.base/comprdebug.exp
7181 * gdb.base/constvars.exp
7182 * gdb.base/coredump-filter.exp
7183 * gdb.base/cursal.exp
7184 * gdb.base/cvexpr.exp
7185 * gdb.base/detach.exp
7186 * gdb.base/display.exp
7187 * gdb.base/dmsym.exp
7188 * gdb.base/dprintf-pending.exp
7189 * gdb.base/dso2dso.exp
7190 * gdb.base/dtrace-probe.exp
7191 * gdb.base/dump.exp
7192 * gdb.base/enum_cond.exp
7193 * gdb.base/exe-lock.exp
7194 * gdb.base/exec-invalid-sysroot.exp
7195 * gdb.base/execl-update-breakpoints.exp
7196 * gdb.base/exprs.exp
7197 * gdb.base/fileio.exp
7198 * gdb.base/find.exp
7199 * gdb.base/finish.exp
7200 * gdb.base/fixsection.exp
7201 * gdb.base/foll-vfork.exp
7202 * gdb.base/frame-args.exp
7203 * gdb.base/gcore.exp
7204 * gdb.base/gdb1250.exp
7205 * gdb.base/global-var-nested-by-dso.exp
7206 * gdb.base/gnu-ifunc.exp
7207 * gdb.base/hashline1.exp
7208 * gdb.base/hashline2.exp
7209 * gdb.base/hashline3.exp
7210 * gdb.base/hbreak-in-shr-unsupported.exp
7211 * gdb.base/huge.exp
7212 * gdb.base/infcall-input.exp
7213 * gdb.base/info-fun.exp
7214 * gdb.base/info-shared.exp
7215 * gdb.base/jit-simple.exp
7216 * gdb.base/jit-so.exp
7217 * gdb.base/jit.exp
7218 * gdb.base/jump.exp
7219 * gdb.base/label.exp
7220 * gdb.base/lineinc.exp
7221 * gdb.base/logical.exp
7222 * gdb.base/longjmp.exp
7223 * gdb.base/macscp.exp
7224 * gdb.base/miscexprs.exp
7225 * gdb.base/new-ui-echo.exp
7226 * gdb.base/new-ui-pending-input.exp
7227 * gdb.base/new-ui.exp
7228 * gdb.base/nodebug.exp
7229 * gdb.base/nofield.exp
7230 * gdb.base/offsets.exp
7231 * gdb.base/overlays.exp
7232 * gdb.base/pending.exp
7233 * gdb.base/pointers.exp
7234 * gdb.base/pr11022.exp
7235 * gdb.base/printcmds.exp
7236 * gdb.base/prologue.exp
7237 * gdb.base/ptr-typedef.exp
7238 * gdb.base/realname-expand.exp
7239 * gdb.base/relativedebug.exp
7240 * gdb.base/relocate.exp
7241 * gdb.base/remote.exp
7242 * gdb.base/reread.exp
7243 * gdb.base/return2.exp
7244 * gdb.base/savedregs.exp
7245 * gdb.base/sep.exp
7246 * gdb.base/sepdebug.exp
7247 * gdb.base/sepsymtab.exp
7248 * gdb.base/set-inferior-tty.exp
7249 * gdb.base/setshow.exp
7250 * gdb.base/shlib-call.exp
7251 * gdb.base/sigaltstack.exp
7252 * gdb.base/siginfo-addr.exp
7253 * gdb.base/signals.exp
7254 * gdb.base/signull.exp
7255 * gdb.base/sigrepeat.exp
7256 * gdb.base/so-impl-ld.exp
7257 * gdb.base/solib-display.exp
7258 * gdb.base/solib-overlap.exp
7259 * gdb.base/solib-search.exp
7260 * gdb.base/solib-symbol.exp
7261 * gdb.base/structs.exp
7262 * gdb.base/structs2.exp
7263 * gdb.base/symtab-search-order.exp
7264 * gdb.base/twice.exp
7265 * gdb.base/unload.exp
7266 * gdb.base/varargs.exp
7267 * gdb.base/watchpoint-solib.exp
7268 * gdb.base/watchpoint.exp
7269 * gdb.base/whatis.exp
7270 * gdb.base/wrong_frame_bt_full.exp
7271 * gdb.btrace/dlopen.exp
7272 * gdb.cell/ea-standalone.exp
7273 * gdb.cell/ea-test.exp
7274 * gdb.cp/dispcxx.exp
7275 * gdb.cp/gdb2384.exp
7276 * gdb.cp/method2.exp
7277 * gdb.cp/nextoverthrow.exp
7278 * gdb.cp/pr10728.exp
7279 * gdb.disasm/am33.exp
7280 * gdb.disasm/h8300s.exp
7281 * gdb.disasm/mn10300.exp
7282 * gdb.disasm/sh3.exp
7283 * gdb.dwarf2/dw2-dir-file-name.exp
7284 * gdb.fortran/complex.exp
7285 * gdb.fortran/library-module.exp
7286 * gdb.guile/scm-pretty-print.exp
7287 * gdb.guile/scm-symbol.exp
7288 * gdb.guile/scm-type.exp
7289 * gdb.guile/scm-value.exp
7290 * gdb.linespec/linespec.exp
7291 * gdb.mi/gdb701.exp
7292 * gdb.mi/gdb792.exp
7293 * gdb.mi/mi-breakpoint-changed.exp
7294 * gdb.mi/mi-dprintf-pending.exp
7295 * gdb.mi/mi-dprintf.exp
7296 * gdb.mi/mi-exit-code.exp
7297 * gdb.mi/mi-pending.exp
7298 * gdb.mi/mi-solib.exp
7299 * gdb.mi/new-ui-mi-sync.exp
7300 * gdb.mi/pr11022.exp
7301 * gdb.mi/user-selected-context-sync.exp
7302 * gdb.opt/solib-intra-step.exp
7303 * gdb.python/py-events.exp
7304 * gdb.python/py-finish-breakpoint.exp
7305 * gdb.python/py-mi.exp
7306 * gdb.python/py-prettyprint.exp
7307 * gdb.python/py-shared.exp
7308 * gdb.python/py-symbol.exp
7309 * gdb.python/py-template.exp
7310 * gdb.python/py-type.exp
7311 * gdb.python/py-value.exp
7312 * gdb.reverse/solib-precsave.exp
7313 * gdb.reverse/solib-reverse.exp
7314 * gdb.server/solib-list.exp
7315 * gdb.stabs/weird.exp
7316 * gdb.threads/reconnect-signal.exp
7317 * gdb.threads/stepi-random-signal.exp
7318 * gdb.trace/actions.exp
7319 * gdb.trace/ax.exp
7320 * gdb.trace/backtrace.exp
7321 * gdb.trace/change-loc.exp
7322 * gdb.trace/deltrace.exp
7323 * gdb.trace/ftrace-lock.exp
7324 * gdb.trace/ftrace.exp
7325 * gdb.trace/infotrace.exp
7326 * gdb.trace/mi-tracepoint-changed.exp
7327 * gdb.trace/packetlen.exp
7328 * gdb.trace/passcount.exp
7329 * gdb.trace/pending.exp
7330 * gdb.trace/range-stepping.exp
7331 * gdb.trace/report.exp
7332 * gdb.trace/stap-trace.exp
7333 * gdb.trace/tfind.exp
7334 * gdb.trace/trace-break.exp
7335 * gdb.trace/trace-condition.exp
7336 * gdb.trace/trace-enable-disable.exp
7337 * gdb.trace/trace-mt.exp
7338 * gdb.trace/tracecmd.exp
7339 * gdb.trace/tspeed.exp
7340 * gdb.trace/tsv.exp
7341 * lib/perftest.exp
7342
7343 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7344
7345 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7346 with gdb_test_no_output.
7347 Use command as test name.
7348
7349 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7350
7351 Fix test names starting with uppercase throughout the files.
7352
7353 * gdb.ada/assign_1.exp
7354 * gdb.ada/boolean_expr.exp
7355 * gdb.base/arrayidx.exp
7356 * gdb.base/del.exp
7357 * gdb.base/gcore-buffer-overflow.exp
7358 * gdb.base/testenv.exp
7359 * gdb.compile/compile.exp
7360 * gdb.python/py-framefilter-invalidarg.exp
7361 * gdb.python/py-framefilter.exp
7362
7363 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7364
7365 Fix test names starting with uppercase throughout the files.
7366
7367 * gdb.ada/array_return.exp
7368 * gdb.ada/expr_delims.exp
7369 * gdb.ada/mi_dyn_arr.exp
7370 * gdb.ada/mi_interface.exp
7371 * gdb.ada/mi_var_array.exp
7372 * gdb.ada/watch_arg.exp
7373 * gdb.arch/alpha-step.exp
7374 * gdb.arch/altivec-regs.exp
7375 * gdb.arch/e500-regs.exp
7376 * gdb.arch/powerpc-d128-regs.exp
7377 * gdb.base/arrayidx.exp
7378 * gdb.base/break.exp
7379 * gdb.base/checkpoint.exp
7380 * gdb.base/debug-expr.exp
7381 * gdb.base/dmsym.exp
7382 * gdb.base/radix.exp
7383 * gdb.base/sepdebug.exp
7384 * gdb.base/testenv.exp
7385 * gdb.base/watch_thread_num.exp
7386 * gdb.base/watchpoint-cond-gone.exp
7387 * gdb.cell/break.exp
7388 * gdb.cell/ea-cache.exp
7389 * gdb.compile/compile.exp
7390 * gdb.cp/gdb2495.exp
7391 * gdb.gdb/selftest.exp
7392 * gdb.gdb/xfullpath.exp
7393 * gdb.go/hello.exp
7394 * gdb.go/integers.exp
7395 * gdb.objc/basicclass.exp
7396 * gdb.pascal/hello.exp
7397 * gdb.pascal/integers.exp
7398 * gdb.python/py-breakpoint.exp
7399 * gdb.python/py-cmd.exp
7400 * gdb.python/py-linetable.exp
7401 * gdb.python/py-xmethods.exp
7402 * gdb.python/python.exp
7403 * gdb.reverse/consecutive-precsave.exp
7404 * gdb.reverse/finish-precsave.exp
7405 * gdb.reverse/i386-precsave.exp
7406 * gdb.reverse/machinestate-precsave.exp
7407 * gdb.reverse/sigall-precsave.exp
7408 * gdb.reverse/solib-precsave.exp
7409 * gdb.reverse/step-precsave.exp
7410 * gdb.reverse/until-precsave.exp
7411 * gdb.reverse/watch-precsave.exp
7412 * gdb.threads/leader-exit.exp
7413 * gdb.threads/pthreads.exp
7414 * gdb.threads/wp-replication.exp
7415 * gdb.trace/actions.exp
7416 * gdb.trace/mi-tsv-changed.exp
7417 * gdb.trace/tsv.exp
7418
7419 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7420
7421 Fix test names starting with uppercase throughout the files.
7422
7423 * gdb.arch/i386-bp_permanent.exp
7424 * gdb.arch/i386-gnu-cfi.exp
7425 * gdb.base/disasm-end-cu.exp
7426 * gdb.base/macscp.exp
7427 * gdb.base/pending.exp
7428 * gdb.base/watch_thread_num.exp
7429 * gdb.cp/exception.exp
7430 * gdb.cp/gdb2495.exp
7431 * gdb.cp/local.exp
7432 * gdb.python/py-evsignal.exp
7433 * gdb.python/python.exp
7434 * gdb.trace/tracecmd.exp
7435
7436 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7437
7438 Fix test names starting with uppercase throughout the files.
7439
7440 * gdb.base/charset.exp
7441 * gdb.base/eval.exp
7442 * gdb.base/multi-forks.exp
7443 * gdb.guile/scm-progspace.exp
7444 * gdb.opencl/datatypes.exp
7445 * gdb.python/py-block.exp
7446 * gdb.python/py-function.exp
7447 * gdb.python/py-symbol.exp
7448 * gdb.python/py-symtab.exp
7449 * gdb.python/py-xmethods.exp
7450 * gdb.reverse/break-precsave.exp
7451 * gdb.reverse/break-reverse.exp
7452 * gdb.reverse/consecutive-precsave.exp
7453 * gdb.reverse/consecutive-reverse.exp
7454 * gdb.reverse/finish-precsave.exp
7455 * gdb.reverse/finish-reverse-bkpt.exp
7456 * gdb.reverse/finish-reverse.exp
7457 * gdb.reverse/fstatat-reverse.exp
7458 * gdb.reverse/getresuid-reverse.exp
7459 * gdb.reverse/i386-precsave.exp
7460 * gdb.reverse/i386-reverse.exp
7461 * gdb.reverse/i386-sse-reverse.exp
7462 * gdb.reverse/i387-stack-reverse.exp
7463 * gdb.reverse/insn-reverse.exp
7464 * gdb.reverse/machinestate-precsave.exp
7465 * gdb.reverse/machinestate.exp
7466 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7467 * gdb.reverse/pipe-reverse.exp
7468 * gdb.reverse/readv-reverse.exp
7469 * gdb.reverse/recvmsg-reverse.exp
7470 * gdb.reverse/rerun-prec.exp
7471 * gdb.reverse/s390-mvcle.exp
7472 * gdb.reverse/sigall-precsave.exp
7473 * gdb.reverse/sigall-reverse.exp
7474 * gdb.reverse/solib-precsave.exp
7475 * gdb.reverse/solib-reverse.exp
7476 * gdb.reverse/step-precsave.exp
7477 * gdb.reverse/step-reverse.exp
7478 * gdb.reverse/time-reverse.exp
7479 * gdb.reverse/until-precsave.exp
7480 * gdb.reverse/until-reverse.exp
7481 * gdb.reverse/waitpid-reverse.exp
7482 * gdb.reverse/watch-precsave.exp
7483 * gdb.reverse/watch-reverse.exp
7484
7485 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7486
7487 Fix test names starting with uppercase throughout the files.
7488
7489 * gdb.arch/i386-mpx-simple_segv.exp
7490 * gdb.arch/i386-mpx.exp
7491 * gdb.arch/i386-permbkpt.exp
7492 * gdb.arch/pa-nullify.exp
7493 * gdb.arch/powerpc-d128-regs.exp
7494 * gdb.arch/vsx-regs.exp
7495 * gdb.base/bfp-test.exp
7496 * gdb.base/break.exp
7497 * gdb.base/breakpoint-shadow.exp
7498 * gdb.base/callfuncs.exp
7499 * gdb.base/charset.exp
7500 * gdb.base/commands.exp
7501 * gdb.base/completion.exp
7502 * gdb.base/dfp-test.exp
7503 * gdb.base/echo.exp
7504 * gdb.base/ending-run.exp
7505 * gdb.base/eval.exp
7506 * gdb.base/expand-psymtabs.exp
7507 * gdb.base/float128.exp
7508 * gdb.base/floatn.exp
7509 * gdb.base/foll-exec-mode.exp
7510 * gdb.base/gdb1056.exp
7511 * gdb.base/gdb11531.exp
7512 * gdb.base/kill-after-signal.exp
7513 * gdb.base/multi-forks.exp
7514 * gdb.base/overlays.exp
7515 * gdb.base/pending.exp
7516 * gdb.base/sepdebug.exp
7517 * gdb.base/testenv.exp
7518 * gdb.base/valgrind-db-attach.exp
7519 * gdb.base/watch_thread_num.exp
7520 * gdb.base/watchpoint-cond-gone.exp
7521 * gdb.base/watchpoint.exp
7522 * gdb.base/watchpoints.exp
7523 * gdb.cp/arg-reference.exp
7524 * gdb.cp/baseenum.exp
7525 * gdb.cp/operator.exp
7526 * gdb.cp/shadow.exp
7527 * gdb.dwarf2/dw2-op-out-param.exp
7528 * gdb.dwarf2/dw2-reg-undefined.exp
7529 * gdb.go/chan.exp
7530 * gdb.go/hello.exp
7531 * gdb.go/integers.exp
7532 * gdb.go/methods.exp
7533 * gdb.go/package.exp
7534 * gdb.guile/scm-parameter.exp
7535 * gdb.guile/scm-progspace.exp
7536 * gdb.guile/scm-value.exp
7537 * gdb.mi/mi-pending.exp
7538 * gdb.mi/user-selected-context-sync.exp
7539 * gdb.multi/multi-attach.exp
7540 * gdb.multi/tids.exp
7541 * gdb.opt/clobbered-registers-O2.exp
7542 * gdb.pascal/floats.exp
7543 * gdb.pascal/integers.exp
7544 * gdb.python/py-block.exp
7545 * gdb.python/py-events.exp
7546 * gdb.python/py-parameter.exp
7547 * gdb.python/py-symbol.exp
7548 * gdb.python/py-symtab.exp
7549 * gdb.python/py-type.exp
7550 * gdb.python/py-value.exp
7551 * gdb.python/py-xmethods.exp
7552 * gdb.python/python.exp
7553 * gdb.reverse/break-precsave.exp
7554 * gdb.reverse/consecutive-precsave.exp
7555 * gdb.reverse/finish-precsave.exp
7556 * gdb.reverse/i386-precsave.exp
7557 * gdb.reverse/machinestate-precsave.exp
7558 * gdb.reverse/sigall-precsave.exp
7559 * gdb.reverse/solib-precsave.exp
7560 * gdb.reverse/step-precsave.exp
7561 * gdb.reverse/until-precsave.exp
7562 * gdb.reverse/watch-precsave.exp
7563 * gdb.server/ext-attach.exp
7564 * gdb.server/ext-restart.exp
7565 * gdb.server/ext-run.exp
7566 * gdb.server/ext-wrapper.exp
7567 * gdb.stabs/gdb11479.exp
7568 * gdb.stabs/weird.exp
7569 * gdb.threads/attach-many-short-lived-threads.exp
7570 * gdb.threads/kill.exp
7571 * gdb.threads/watchpoint-fork.exp
7572
7573 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7574
7575 Fix test names starting with uppercase throughout all the files below.
7576
7577 * gdb.ada/array_return.exp
7578 * gdb.ada/catch_ex.exp
7579 * gdb.ada/info_exc.exp
7580 * gdb.ada/mi_catch_ex.exp
7581 * gdb.ada/mi_dyn_arr.exp
7582 * gdb.ada/mi_ex_cond.exp
7583 * gdb.ada/mi_exc_info.exp
7584 * gdb.ada/mi_interface.exp
7585 * gdb.ada/mi_task_arg.exp
7586 * gdb.ada/mi_task_info.exp
7587 * gdb.ada/mi_var_array.exp
7588 * gdb.arch/alpha-step.exp
7589 * gdb.arch/amd64-disp-step.exp
7590 * gdb.arch/arm-disp-step.exp
7591 * gdb.arch/disp-step-insn-reloc.exp
7592 * gdb.arch/e500-prologue.exp
7593 * gdb.arch/ftrace-insn-reloc.exp
7594 * gdb.arch/gdb1558.exp
7595 * gdb.arch/i386-bp_permanent.exp
7596 * gdb.arch/i386-disp-step.exp
7597 * gdb.arch/i386-float.exp
7598 * gdb.arch/i386-gnu-cfi.exp
7599 * gdb.arch/ia64-breakpoint-shadow.exp
7600 * gdb.arch/mips16-thunks.exp
7601 * gdb.arch/pa-nullify.exp
7602 * gdb.arch/powerpc-aix-prologue.exp
7603 * gdb.arch/powerpc-power.exp
7604 * gdb.arch/ppc-dfp.exp
7605 * gdb.arch/s390-tdbregs.exp
7606 * gdb.arch/spu-info.exp
7607 * gdb.arch/spu-ls.exp
7608 * gdb.arch/thumb-bx-pc.exp
7609 * gdb.base/advance.exp
7610 * gdb.base/annota-input-while-running.exp
7611 * gdb.base/arrayidx.exp
7612 * gdb.base/asmlabel.exp
7613 * gdb.base/async.exp
7614 * gdb.base/attach-wait-input.exp
7615 * gdb.base/auto-connect-native-target.exp
7616 * gdb.base/batch-preserve-term-settings.exp
7617 * gdb.base/bfp-test.exp
7618 * gdb.base/bigcore.exp
7619 * gdb.base/bp-permanent.exp
7620 * gdb.base/break-always.exp
7621 * gdb.base/break-fun-addr.exp
7622 * gdb.base/break-idempotent.exp
7623 * gdb.base/break-main-file-remove-fail.exp
7624 * gdb.base/break-probes.exp
7625 * gdb.base/break-unload-file.exp
7626 * gdb.base/break.exp
7627 * gdb.base/call-ar-st.exp
7628 * gdb.base/call-rt-st.exp
7629 * gdb.base/call-sc.exp
7630 * gdb.base/call-signal-resume.exp
7631 * gdb.base/call-strs.exp
7632 * gdb.base/callexit.exp
7633 * gdb.base/callfuncs.exp
7634 * gdb.base/catch-gdb-caused-signals.exp
7635 * gdb.base/catch-signal-siginfo-cond.exp
7636 * gdb.base/catch-syscall.exp
7637 * gdb.base/compare-sections.exp
7638 * gdb.base/cond-eval-mode.exp
7639 * gdb.base/condbreak-call-false.exp
7640 * gdb.base/consecutive-step-over.exp
7641 * gdb.base/cursal.exp
7642 * gdb.base/disabled-location.exp
7643 * gdb.base/disasm-end-cu.exp
7644 * gdb.base/display.exp
7645 * gdb.base/double-prompt-target-event-error.exp
7646 * gdb.base/dprintf-bp-same-addr.exp
7647 * gdb.base/dprintf-detach.exp
7648 * gdb.base/dprintf-next.exp
7649 * gdb.base/dprintf-non-stop.exp
7650 * gdb.base/dprintf-pending.exp
7651 * gdb.base/dso2dso.exp
7652 * gdb.base/ending-run.exp
7653 * gdb.base/enum_cond.exp
7654 * gdb.base/examine-backward.exp
7655 * gdb.base/exe-lock.exp
7656 * gdb.base/exec-invalid-sysroot.exp
7657 * gdb.base/execl-update-breakpoints.exp
7658 * gdb.base/execution-termios.exp
7659 * gdb.base/fileio.exp
7660 * gdb.base/fixsection.exp
7661 * gdb.base/foll-exec-mode.exp
7662 * gdb.base/foll-exec.exp
7663 * gdb.base/fork-running-state.exp
7664 * gdb.base/frame-args.exp
7665 * gdb.base/fullpath-expand.exp
7666 * gdb.base/func-ptr.exp
7667 * gdb.base/gcore-relro-pie.exp
7668 * gdb.base/gdb1090.exp
7669 * gdb.base/gdb1555.exp
7670 * gdb.base/global-var-nested-by-dso.exp
7671 * gdb.base/gnu-ifunc.exp
7672 * gdb.base/hbreak-in-shr-unsupported.exp
7673 * gdb.base/hbreak-unmapped.exp
7674 * gdb.base/hook-stop.exp
7675 * gdb.base/infcall-input.exp
7676 * gdb.base/info-fun.exp
7677 * gdb.base/info-shared.exp
7678 * gdb.base/interrupt-noterm.exp
7679 * gdb.base/jit-so.exp
7680 * gdb.base/jit.exp
7681 * gdb.base/line-symtabs.exp
7682 * gdb.base/list.exp
7683 * gdb.base/longjmp.exp
7684 * gdb.base/macscp.exp
7685 * gdb.base/max-value-size.exp
7686 * gdb.base/nodebug.exp
7687 * gdb.base/nofield.exp
7688 * gdb.base/overlays.exp
7689 * gdb.base/paginate-after-ctrl-c-running.exp
7690 * gdb.base/paginate-bg-execution.exp
7691 * gdb.base/paginate-inferior-exit.exp
7692 * gdb.base/pending.exp
7693 * gdb.base/pr11022.exp
7694 * gdb.base/printcmds.exp
7695 * gdb.base/ptr-typedef.exp
7696 * gdb.base/ptype.exp
7697 * gdb.base/randomize.exp
7698 * gdb.base/range-stepping.exp
7699 * gdb.base/realname-expand.exp
7700 * gdb.base/relativedebug.exp
7701 * gdb.base/remote.exp
7702 * gdb.base/savedregs.exp
7703 * gdb.base/sepdebug.exp
7704 * gdb.base/set-noassign.exp
7705 * gdb.base/shlib-call.exp
7706 * gdb.base/shreloc.exp
7707 * gdb.base/sigaltstack.exp
7708 * gdb.base/sigbpt.exp
7709 * gdb.base/siginfo-addr.exp
7710 * gdb.base/siginfo-obj.exp
7711 * gdb.base/siginfo-thread.exp
7712 * gdb.base/signest.exp
7713 * gdb.base/signull.exp
7714 * gdb.base/sigrepeat.exp
7715 * gdb.base/skip.exp
7716 * gdb.base/so-impl-ld.exp
7717 * gdb.base/solib-corrupted.exp
7718 * gdb.base/solib-disc.exp
7719 * gdb.base/solib-display.exp
7720 * gdb.base/solib-overlap.exp
7721 * gdb.base/solib-search.exp
7722 * gdb.base/solib-symbol.exp
7723 * gdb.base/source-execution.exp
7724 * gdb.base/sss-bp-on-user-bp-2.exp
7725 * gdb.base/sss-bp-on-user-bp.exp
7726 * gdb.base/stack-checking.exp
7727 * gdb.base/stale-infcall.exp
7728 * gdb.base/step-break.exp
7729 * gdb.base/step-line.exp
7730 * gdb.base/step-over-exit.exp
7731 * gdb.base/step-test.exp
7732 * gdb.base/structs.exp
7733 * gdb.base/sym-file.exp
7734 * gdb.base/symtab-search-order.exp
7735 * gdb.base/term.exp
7736 * gdb.base/type-opaque.exp
7737 * gdb.base/unload.exp
7738 * gdb.base/until-nodebug.exp
7739 * gdb.base/until.exp
7740 * gdb.base/unwindonsignal.exp
7741 * gdb.base/watch-cond.exp
7742 * gdb.base/watch-non-mem.exp
7743 * gdb.base/watch_thread_num.exp
7744 * gdb.base/watchpoint-reuse-slot.exp
7745 * gdb.base/watchpoint-solib.exp
7746 * gdb.base/watchpoint.exp
7747 * gdb.btrace/dlopen.exp
7748 * gdb.cell/arch.exp
7749 * gdb.cell/break.exp
7750 * gdb.cell/bt.exp
7751 * gdb.cell/core.exp
7752 * gdb.cell/data.exp
7753 * gdb.cell/dwarfaddr.exp
7754 * gdb.cell/ea-cache.exp
7755 * gdb.cell/ea-standalone.exp
7756 * gdb.cell/ea-test.exp
7757 * gdb.cell/f-regs.exp
7758 * gdb.cell/fork.exp
7759 * gdb.cell/gcore.exp
7760 * gdb.cell/mem-access.exp
7761 * gdb.cell/ptype.exp
7762 * gdb.cell/registers.exp
7763 * gdb.cell/sizeof.exp
7764 * gdb.cell/solib-symbol.exp
7765 * gdb.cell/solib.exp
7766 * gdb.compile/compile-tls.exp
7767 * gdb.cp/exception.exp
7768 * gdb.cp/gdb2495.exp
7769 * gdb.cp/local.exp
7770 * gdb.cp/mb-inline.exp
7771 * gdb.cp/mb-templates.exp
7772 * gdb.cp/pr10687.exp
7773 * gdb.cp/pr9167.exp
7774 * gdb.cp/scope-err.exp
7775 * gdb.cp/templates.exp
7776 * gdb.cp/virtfunc.exp
7777 * gdb.dwarf2/dw2-dir-file-name.exp
7778 * gdb.dwarf2/dw2-single-line-discriminators.exp
7779 * gdb.fortran/complex.exp
7780 * gdb.fortran/library-module.exp
7781 * gdb.guile/guile.exp
7782 * gdb.guile/scm-cmd.exp
7783 * gdb.guile/scm-frame-inline.exp
7784 * gdb.guile/scm-objfile.exp
7785 * gdb.guile/scm-pretty-print.exp
7786 * gdb.guile/scm-symbol.exp
7787 * gdb.guile/scm-type.exp
7788 * gdb.guile/scm-value.exp
7789 * gdb.linespec/keywords.exp
7790 * gdb.linespec/ls-errs.exp
7791 * gdb.linespec/macro-relative.exp
7792 * gdb.linespec/thread.exp
7793 * gdb.mi/mi-breakpoint-changed.exp
7794 * gdb.mi/mi-dprintf-pending.exp
7795 * gdb.mi/mi-fullname-deleted.exp
7796 * gdb.mi/mi-logging.exp
7797 * gdb.mi/mi-pending.exp
7798 * gdb.mi/mi-solib.exp
7799 * gdb.mi/new-ui-mi-sync.exp
7800 * gdb.mi/user-selected-context-sync.exp
7801 * gdb.multi/dummy-frame-restore.exp
7802 * gdb.multi/multi-arch-exec.exp
7803 * gdb.multi/remove-inferiors.exp
7804 * gdb.multi/watchpoint-multi-exit.exp
7805 * gdb.opt/solib-intra-step.exp
7806 * gdb.perf/backtrace.exp
7807 * gdb.perf/single-step.exp
7808 * gdb.perf/skip-command.exp
7809 * gdb.perf/skip-prologue.exp
7810 * gdb.perf/solib.exp
7811 * gdb.python/lib-types.exp
7812 * gdb.python/py-as-string.exp
7813 * gdb.python/py-bad-printers.exp
7814 * gdb.python/py-block.exp
7815 * gdb.python/py-breakpoint.exp
7816 * gdb.python/py-cmd.exp
7817 * gdb.python/py-events.exp
7818 * gdb.python/py-evthreads.exp
7819 * gdb.python/py-finish-breakpoint.exp
7820 * gdb.python/py-finish-breakpoint2.exp
7821 * gdb.python/py-frame-inline.exp
7822 * gdb.python/py-frame.exp
7823 * gdb.python/py-inferior.exp
7824 * gdb.python/py-infthread.exp
7825 * gdb.python/py-mi.exp
7826 * gdb.python/py-objfile.exp
7827 * gdb.python/py-pp-maint.exp
7828 * gdb.python/py-pp-registration.exp
7829 * gdb.python/py-prettyprint.exp
7830 * gdb.python/py-recurse-unwind.exp
7831 * gdb.python/py-shared.exp
7832 * gdb.python/py-symbol.exp
7833 * gdb.python/py-symtab.exp
7834 * gdb.python/py-template.exp
7835 * gdb.python/py-type.exp
7836 * gdb.python/py-unwind-maint.exp
7837 * gdb.python/py-unwind.exp
7838 * gdb.python/py-value.exp
7839 * gdb.python/python.exp
7840 * gdb.reverse/finish-reverse-bkpt.exp
7841 * gdb.reverse/insn-reverse.exp
7842 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7843 * gdb.reverse/solib-precsave.exp
7844 * gdb.reverse/solib-reverse.exp
7845 * gdb.stabs/gdb11479.exp
7846 * gdb.stabs/weird.exp
7847 * gdb.threads/fork-child-threads.exp
7848 * gdb.threads/fork-plus-threads.exp
7849 * gdb.threads/fork-thread-pending.exp
7850 * gdb.threads/forking-threads-plus-breakpoint.exp
7851 * gdb.threads/hand-call-in-threads.exp
7852 * gdb.threads/interrupted-hand-call.exp
7853 * gdb.threads/linux-dp.exp
7854 * gdb.threads/local-watch-wrong-thread.exp
7855 * gdb.threads/next-while-other-thread-longjmps.exp
7856 * gdb.threads/non-ldr-exit.exp
7857 * gdb.threads/pending-step.exp
7858 * gdb.threads/print-threads.exp
7859 * gdb.threads/process-dies-while-detaching.exp
7860 * gdb.threads/process-dies-while-handling-bp.exp
7861 * gdb.threads/pthreads.exp
7862 * gdb.threads/queue-signal.exp
7863 * gdb.threads/reconnect-signal.exp
7864 * gdb.threads/signal-command-handle-nopass.exp
7865 * gdb.threads/signal-command-multiple-signals-pending.exp
7866 * gdb.threads/signal-delivered-right-thread.exp
7867 * gdb.threads/signal-sigtrap.exp
7868 * gdb.threads/sigthread.exp
7869 * gdb.threads/staticthreads.exp
7870 * gdb.threads/stepi-random-signal.exp
7871 * gdb.threads/thread-unwindonsignal.exp
7872 * gdb.threads/thread_check.exp
7873 * gdb.threads/thread_events.exp
7874 * gdb.threads/tid-reuse.exp
7875 * gdb.threads/tls-nodebug.exp
7876 * gdb.threads/tls-shared.exp
7877 * gdb.threads/tls-so_extern.exp
7878 * gdb.threads/tls.exp
7879 * gdb.threads/wp-replication.exp
7880 * gdb.trace/actions-changed.exp
7881 * gdb.trace/actions.exp
7882 * gdb.trace/backtrace.exp
7883 * gdb.trace/change-loc.exp
7884 * gdb.trace/collection.exp
7885 * gdb.trace/deltrace.exp
7886 * gdb.trace/disconnected-tracing.exp
7887 * gdb.trace/entry-values.exp
7888 * gdb.trace/ftrace-lock.exp
7889 * gdb.trace/ftrace.exp
7890 * gdb.trace/infotrace.exp
7891 * gdb.trace/mi-trace-frame-collected.exp
7892 * gdb.trace/mi-trace-unavailable.exp
7893 * gdb.trace/mi-traceframe-changed.exp
7894 * gdb.trace/mi-tracepoint-changed.exp
7895 * gdb.trace/mi-tsv-changed.exp
7896 * gdb.trace/no-attach-trace.exp
7897 * gdb.trace/packetlen.exp
7898 * gdb.trace/passc-dyn.exp
7899 * gdb.trace/passcount.exp
7900 * gdb.trace/pending.exp
7901 * gdb.trace/pr16508.exp
7902 * gdb.trace/qtro.exp
7903 * gdb.trace/range-stepping.exp
7904 * gdb.trace/read-memory.exp
7905 * gdb.trace/report.exp
7906 * gdb.trace/save-trace.exp
7907 * gdb.trace/signal.exp
7908 * gdb.trace/stap-trace.exp
7909 * gdb.trace/status-stop.exp
7910 * gdb.trace/strace.exp
7911 * gdb.trace/tfile.exp
7912 * gdb.trace/tfind.exp
7913 * gdb.trace/trace-break.exp
7914 * gdb.trace/trace-condition.exp
7915 * gdb.trace/trace-enable-disable.exp
7916 * gdb.trace/trace-mt.exp
7917 * gdb.trace/tracecmd.exp
7918 * gdb.trace/tracefile-pseudo-reg.exp
7919 * gdb.trace/tspeed.exp
7920 * gdb.trace/tstatus.exp
7921 * gdb.trace/tsv.exp
7922 * gdb.trace/unavailable.exp
7923 * gdb.trace/while-dyn.exp
7924 * gdb.trace/while-stepping.exp
7925 * lib/gdb-guile.exp
7926 * lib/gdb.exp
7927 * lib/mi-support.exp
7928 * lib/pascal.exp
7929 * lib/perftest.exp
7930 * lib/prelink-support.exp
7931 * lib/selftest-support.exp
7932
7933 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7934
7935 * Makefile.in: Include disable-implicit-rules.mk.
7936
7937 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7938
7939 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7940 non-byte-aligned bit fields.
7941
7942 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7943
7944 PR gdb/12616
7945 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7946 respects the DW_AT_data_bit_offset attribute.
7947
7948 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7949
7950 * gdb.base/default.exp: Fix output of "set language".
7951
7952 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7953
7954 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7955 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7956 make.
7957 * configure.ac: Remove checks for the make program.
7958 * configure: Re-generate.
7959
7960 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7961
7962 * gdb.python/py-recurse-unwind.c (main): Add loop.
7963 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7964 to read_register() and gdb.parse_and_eval(). Make each code
7965 call a separate case that can be individually tested.
7966 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7967 proc. Call cont_and_backtrace for each of the code paths that
7968 we want to test in the unwinder.
7969
7970 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7971
7972 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7973 the definition of struct S.
7974
7975 2016-11-11 Catherine Moore <clm@codesourcery.com>
7976
7977 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7978
7979 2016-11-09 Pedro Alves <palves@redhat.com>
7980
7981 * gdb.base/commands.exp (runto_or_return): New procedure.
7982 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7983 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7984 (progvar_simple_while_test, progvar_complex_if_while_test)
7985 (if_while_breakpoint_command_test)
7986 (infrun_breakpoint_command_test, breakpoint_command_test)
7987 (user_defined_command_test, watchpoint_command_test)
7988 (test_command_prompt_position, redefine_hook_test)
7989 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7990 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7991 multi_line_input and multi_line. Remove gdb_expect and
7992 gdb_stop_suppressing_tests uses.
7993 * lib/gdb.exp (valnum_re): New global.
7994 (multi_line_input): New procedure.
7995
7996 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7997
7998 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7999 Remove.
8000 (test_setup): Define with proc_with_prefix.
8001 (test_cli_inferior): Likewise.
8002 (test_cli_thread): Likewise.
8003 (test_cli_frame): Likewise.
8004 (test_cli_select_frame): Likewise.
8005 (test_cli_up_down): Likewise.
8006 (test_mi_thread_select): Likewise.
8007 (test_mi_stack_select_frame): Likewise.
8008 (test_cli_in_mi_inferior): Likewise.
8009 (test_cli_in_mi_thread): Likewise.
8010 (test_cli_in_mi_frame): Likewise.
8011 (top level): Do not use with_test_prefix_procname.
8012
8013 2016-11-09 Pedro Alves <palves@redhat.com>
8014
8015 * gdb.base/commands.exp (gdbvar_simple_if_test)
8016 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8017 (progvar_simple_if_test, progvar_simple_while_test)
8018 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8019 (infrun_breakpoint_command_test, breakpoint_command_test)
8020 (user_defined_command_test, watchpoint_command_test)
8021 (test_command_prompt_position, deprecated_command_test)
8022 (bp_deleted_in_command, temporary_breakpoint_commands)
8023 (stray_arg0_test, source_file_with_indented_comment)
8024 (recursive_source_test, if_commands_test)
8025 (error_clears_commands_left, redefine_hook_test)
8026 (redefine_backtrace_test): Use proc_with_prefix.
8027 * lib/gdb.exp (proc_with_prefix): New proc.
8028
8029 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8030
8031 * gdb.base/tui-layout.c: New file.
8032 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8033 disassembly window contains very long lines.
8034
8035 2016-11-08 Tom Tromey <tom@tromey.com>
8036
8037 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8038 depend on Python 2.
8039
8040 2016-11-08 Tom Tromey <tom@tromey.com>
8041
8042 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8043 New method.
8044
8045 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8046
8047 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8048
8049 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8050
8051 * gdb.rust/simple.rs: Add test for univariant enums without
8052 discriminants and for encoded struct-like enums.
8053
8054 2016-10-28 Pedro Alves <palves@redhat.com>
8055
8056 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8057 gdb_test_multiple, tighten regexps and match symtabs and line
8058 tables incrementally.
8059
8060 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8061
8062 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8063 general.
8064
8065 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8066
8067 * gdb.base/exec-invalid-sysroot.exp: New file.
8068
8069 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8070
8071 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8072
8073 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8074
8075 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8076
8077 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8078
8079 * gdb.base/killed-outside.exp: Remove $options from a call to
8080 `prepare_for_testing'.
8081
8082 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8083
8084 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8085 Change test message.
8086
8087 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8088
8089 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8090 Update comment.
8091
8092 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8093
8094 * gdb.trace/mi-trace-save.exp: New file.
8095
8096 2016-10-13 Yao Qi <yao.qi@linaro.org>
8097
8098 * gdb.base/code_elim.exp (get_var_address): Remove.
8099 * gdb.base/relocate.exp: Likewise.
8100 * gdb.base/shreloc.exp: Likewise.
8101 * lib/gdb.exp (get_var_address): New.
8102
8103 2016-10-13 Yao Qi <yao.qi@linaro.org>
8104
8105 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8106 floating point tests if $skip_float_test is false.
8107
8108 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8109
8110 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8111 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8112 argc values.
8113 Add 1 to argc so we guarantee distinct initial/modified argc values.
8114
8115 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8116
8117 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8118
8119 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8120
8121 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8122 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8123 * gdb.arch/vsx-regs.exp: Likewise.
8124
8125 2016-10-07 Yao Qi <yao.qi@linaro.org>
8126
8127 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8128
8129 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8130
8131 * gdb.python/python.exp: Test decode_line("*0").
8132
8133 2016-10-06 Doug Evans <dje@google.com>
8134
8135 * gdb.python/py-value.exp (test_value_creation): Add test for large
8136 unsigned 64-bit value.
8137
8138 2016-10-06 Tom Tromey <tom@tromey.com>
8139
8140 * gdb.compile/compile.exp: Change java tests to rust.
8141 * gdb.base/setshow.exp: Change java tests to rust.
8142 * gdb.base/default.exp: Remove java from language list.
8143 * README (Examples): Update language example.
8144 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8145 test.
8146 * lib/gdb.exp (skip_java_tests): Remove.
8147 * lib/java.exp: Remove.
8148 * gdb.java: Remove.
8149
8150 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8151
8152 * gdb.arch/mips-fcr.exp: New test.
8153 * gdb.arch/mips-fcr.c: Source for the new test.
8154
8155 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8156
8157 * gdb.base/solib-disc.exp: Use `standard_output_file'
8158 throughout.
8159
8160 2016-10-06 Pedro Alves <palves@redhat.com>
8161
8162 * gdb.base/jit-simple-dl.c: New file.
8163 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8164 * gdb.base/jit-simple.c: ... this.
8165 * gdb.base/jit-simple.exp (jit_run): Delete.
8166 (build_jit): New proc.
8167 (jit_test_reread): Recompile either the main program or the shared
8168 library, depending on what is being tested. Skip changing address
8169 if caller wants to. Compare before/after addresses. If testing
8170 standalone, explicitly load the binary. Test "maint info
8171 breakpoints".
8172 (top level): Add "standalone vs shared lib" and "change address"
8173 vs "same address" axes.
8174
8175 2016-10-06 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8178 call.
8179 (jit_run): Delete.
8180 (jit_test_reread): Use with_test_prefix. Reload the main binary
8181 explicitly. Compare the before/after addresses of the JIT
8182 descriptor.
8183
8184 2016-08-15 Doug Evans <dje@google.com>
8185
8186 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8187 for single bitfields is bool.
8188 * gdb.xml/tdesc-regs.exp: Ditto.
8189
8190 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8191
8192 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8193
8194 2016-10-05 Yao Qi <yao.qi@linaro.org>
8195
8196 * lib/gdb.exp (support_complex_tests): Return zero if
8197 gdb_skip_float_test return true.
8198
8199 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8200 Simon Marchi <simon.marchi@ericsson.com>
8201
8202 PR gdb/20487
8203 * gdb.mi/user-selected-context-sync.exp: New file.
8204 * gdb.mi/user-selected-context-sync.c: New file.
8205
8206 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8207 Simon Marchi <simon.marchi@ericsson.com>
8208
8209 PR gdb/20487
8210 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8211 =thread-select-event check.
8212
8213 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8214
8215 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8216 the compulsory L operand changes.
8217 * gdb.arch/powerpc-power.s: Likewise.
8218
8219 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8220
8221 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8222 * gdb.base/jit-attach-pie.c: New file.
8223 * gdb.base/jit-attach-pie.exp: New file.
8224
8225 2016-09-28 Pedro Alves <palves@redhat.com>
8226
8227 * gdb.base/infcall-input.c: New file.
8228 * gdb.base/infcall-input.exp: New file.
8229
8230 2016-09-22 Yao Qi <yao.qi@linaro.org>
8231
8232 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8233 (gdb_exit): Rename it to ...
8234 (gdbserver_gdb_exit): ... Close GDBserver.
8235 (gdb_exit): New proc, call gdbserver_gdb_exit.
8236 (mi_gdb_exit): Likewise.
8237
8238 2016-09-22 Yao Qi <yao.qi@linaro.org>
8239
8240 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8241 path.
8242 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8243 Remove duplication.
8244
8245 2016-09-22 Yao Qi <yao.qi@linaro.org>
8246
8247 * lib/gdbserver-support.exp: Check the existence of
8248 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8249
8250 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8251
8252 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8253
8254 2016-09-21 Tom Tromey <tom@tromey.com>
8255
8256 PR gdb/20604:
8257 * gdb.base/quit.exp: New file.
8258
8259 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8260
8261 * .gitignore: New file.
8262
8263 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8264
8265 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8266 throughout.
8267
8268 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8269
8270 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8271
8272 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8273
8274 * gdb.cp/casts.cc (decltype): Move it ...
8275 (main): ... with its call to ...
8276 * gdb.cp/casts03.cc: ... a new file.
8277 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8278
8279 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8282
8283 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8284
8285 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8286 and sync up the test with tests in gas/testsuite/gas/ppc.
8287 * gdb.arch/powerpc-power.exp: Likewise.
8288
8289 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8292
8293 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8294 Jan Kratochvil <jan.kratochvil@redhat.com>
8295
8296 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8297 make m1's definition to be different from m2's. Use 'dummy' as an
8298 argument for probe 'two'.
8299
8300 2016-09-10 Jon Beniston <jon@beniston.com>
8301
8302 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8303 for sim target.
8304
8305 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8306
8307 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8308 variable declaration.
8309 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8310 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8311 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8312 received HWCAP as its argument.
8313
8314 2016-09-06 Pedro Alves <palves@redhat.com>
8315
8316 * gdb.base/new-ui-pending-input.c: New file.
8317 * gdb.base/new-ui-pending-input.exp: New file.
8318 * gdb.exp (clear_gdb_spawn_id): New procedure.
8319 (with_spawn_id): Check whether gdb_spawn_id exists before
8320 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8321 on exit.
8322
8323 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8324
8325 * gdb.base/float128.c: New file.
8326 * gdb.base/float128.exp: Likewise.
8327 * gdb.base/floatn.c: Likewise.
8328 * gdb.base/floatn.exp: Likewise.
8329
8330 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8331
8332 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8333
8334 2016-09-05 Pedro Alves <palves@redhat.com>
8335
8336 PR backtrace/19927
8337 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8338 unwinders are immediately called as side effect of "source" or
8339 "disable unwinder" commands.
8340 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8341
8342 2016-09-02 Yao Qi <yao.qi@linaro.org>
8343
8344 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8345 is true and $type is "float" or "double".
8346
8347 2016-09-02 Yao Qi <yao.qi@linaro.org>
8348
8349 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8350 true.
8351 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8352 * gdb.base/call-rt-st.exp: Likewise.
8353 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8354 return value instead of gdb,skip_float_test.
8355 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8356 (do_function_calls): Use its return value instead of
8357 gdb,skip_float_test.
8358 * gdb.base/finish.exp: Likewise.
8359 * gdb.base/funcargs.exp: Likewise.
8360 * gdb.base/return.exp: Likewise.
8361 * gdb.base/return2.exp: Likewise.
8362 * gdb.base/varargs.exp: Likewise.
8363 * lib/gdb.exp (gdb_skip_float_test): Change it to
8364 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8365
8366 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8367
8368 * gdb.multi/tids.exp: Test "thread apply all".
8369
8370 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8371
8372 * gdb.base/default.exp (tty): Remove.
8373
8374 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8375
8376 * gdb.python/py-recurse-unwind.c: New file.
8377 * gdb.python/py-recurse-unwind.py: New file.
8378 * gdb.python/py-recurse-unwind.exp: New file.
8379
8380 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8381
8382 * gdb.base/set-inferior-tty.exp: New file.
8383 * gdb.base/set-inferior-tty.c: New file.
8384
8385 2016-08-23 Pedro Alves <palves@redhat.com>
8386
8387 PR gdb/20494
8388 * gdb.base/new-ui-echo.c: New file.
8389 * gdb.base/new-ui-echo.exp: New file.
8390
8391 2016-08-23 Yao Qi <yao.qi@linaro.org>
8392
8393 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8394 gdbserver_spawn.
8395 * gdb.server/connect-without-multi-process.exp (do_test):
8396 Likewise.
8397
8398 2016-08-23 Yao Qi <yao.qi@linaro.org>
8399
8400 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8401 standalone_txt. Delete gdb_txt and standalone_txt on host
8402 and target. Spawn the binary on target. Copy files from
8403 target to host.
8404
8405 2016-08-22 Pedro Alves <palves@redhat.com>
8406
8407 PR gdb/20505
8408 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8409 with_test_prefix. Factor out bits to ...
8410 (test_no_vdso): ... this new procedure.
8411
8412 2016-08-19 Carl Love <cel@us.ibm.com>
8413
8414 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8415 maintaining separate logic for constructing the output path.
8416 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8417 * gdb.arch/ppc-dfp.exp: Likewise.
8418 * gdb.arch/ppc-fp.exp: Likewise.
8419 * gdb.arch/vsx-regs.exp: Likewise.
8420 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8421 binprefix for generating the additional binary files.
8422
8423 2016-08-19 Pedro Alves <palves@redhat.com>
8424
8425 * gdb.trace/mi-trace-frame-collected.exp
8426 (test_trace_frame_collected): On x32, expect two registers.
8427
8428 2016-08-18 Carl Love <cel@us.ibm.com>
8429
8430 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8431 and sync up the test with tests in gas/testsuite/gas/ppc.
8432 * gdb.arch/powerpc-power.exp: Likewise.
8433
8434 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8435
8436 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8437 expected error message.
8438
8439 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8440
8441 * gdb.multi/remove-inferiors.exp: New file.
8442 * gdb.multi/remove-inferiors.c: New file.
8443
8444 2016-08-12 Yao Qi <yao.qi@linaro.org>
8445
8446 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8447 argument list.
8448
8449 2016-08-10 Pedro Alves <palves@redhat.com>
8450
8451 PR gdb/19187
8452 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8453 setup_kfails.
8454
8455 2016-08-09 Pedro Alves <palves@redhat.com>
8456 Simon Marchi <simon.marchi@ericsson.com>
8457
8458 PR gdb/20418
8459 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8460 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8461
8462 2016-08-09 Pedro Alves <palves@redhat.com>
8463
8464 PR mi/20431
8465 * gdb.mi/mi-cmd-error.exp: New file.
8466
8467 2016-08-09 Pedro Alves <palves@redhat.com>
8468
8469 PR gdb/18653
8470 * gdb.base/signals-state-child.c: New file.
8471 * gdb.base/signals-state-child.exp: New file.
8472 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8473
8474 2016-08-09 Pedro Alves <palves@redhat.com>
8475
8476 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8477
8478 2016-08-03 Tom Tromey <tom@tromey.com>
8479
8480 PR python/18565:
8481 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8482
8483 2016-08-01 Yao Qi <yao.qi@linaro.org>
8484
8485 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8486 variable mode to "multi-process" if $multi_process is 1, otherwise
8487 set it to "single-process".
8488
8489 2016-08-01 Yao Qi <yao.qi@linaro.org>
8490
8491 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8492 * gdb.cp/cpexprs.exp: Likewise.
8493 * gdb.cp/m-static.exp: Likewise.
8494
8495 2016-07-26 Tom Tromey <tom@tromey.com>
8496
8497 PR python/20190:
8498 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8499 test.
8500
8501 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8502
8503 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8504 selecting assembly source files.
8505 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8506 assembly source files.
8507 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8508 assembly source files.
8509 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8510 selecting assembly source files.
8511
8512 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8513
8514 * gdb.base/new-ui.exp (do_test_invalid_args): New
8515 procedure.
8516
8517 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8518
8519 * gdb.btrace/reconnect.c: New file.
8520 * gdb.btrace/reconnect.exp: New file.
8521
8522 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8523
8524 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8525 to test_catch_syscall_group.
8526 (test_catch_syscall_group): New.
8527
8528 2016-07-21 Tom Tromey <tom@tromey.com>
8529
8530 * gdb.rust/simple.rs (main): Use empty struct expression.
8531 * gdb.rust/simple.exp: Add tests for empty struct expression.
8532
8533 2016-07-21 Yao Qi <yao.qi@linaro.org>
8534
8535 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8536 if gdb_skip_xml_test is true on some targets.
8537
8538 2016-07-21 Yao Qi <yao.qi@linaro.org>
8539
8540 * gdb.server/solib-list.exp: Unset last_loaded_file.
8541
8542 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8545 "step into captured_main (args)".
8546
8547 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8548
8549 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8550
8551 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8554
8555 2016-07-19 Pedro Alves <palves@redhat.com>
8556
8557 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8558 * gdb.opt/inline-bt.exp: Likewise.
8559 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8560 additional_flags=-Winline.
8561 * gdb.opt/inline-locals.exp: Likewise.
8562 * gdb.opt/inline-markers.c (ATTR): Define.
8563 (inlined_fn): Use it.
8564
8565 2016-07-19 Yao Qi <yao.qi@linaro.org>
8566
8567 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8568 (test_with_self): Remove some code. Remove argument executable.
8569 (top-level): Use do_self_tests.
8570
8571 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8572 Don Breazeal <donb@codesourcery.com>
8573
8574 * gdb.base/maint.exp: Escape paths used in regular expressions.
8575 * gdb.stabs/weird.exp: Likewise.
8576
8577 2016-07-13 Tom Tromey <tom@tromey.com>
8578
8579 PR python/15620, PR python/18620:
8580 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8581 (test_bkpt_events): New procs.
8582
8583 2016-07-13 Tom Tromey <tom@tromey.com>
8584
8585 PR python/17698:
8586 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8587 test.
8588 (test_watchpoints): Likewise.
8589 (test_bkpt_pending): New proc.
8590
8591 2016-07-13 Tom Tromey <tom@tromey.com>
8592
8593 PR cli/18053:
8594 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8595 completion test.
8596
8597 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8598
8599 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8600 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8601 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8602 f_label.
8603 (g): Rename g_end_lbl to g_label.
8604 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8605 low_pc and high_pc.
8606 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8607
8608 2016-07-12 Tom Tromey <tom@tromey.com>
8609
8610 PR python/19293:
8611 * gdb.python/py-unwind-maint.exp: Update tests.
8612
8613 2016-07-12 Yao Qi <yao.qi@linaro.org>
8614
8615 * lib/selftest-support.exp (selftest_setup): Match the output
8616 when captured_main is inlined.
8617
8618 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8619
8620 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8621 New variables.
8622 (print this%a, print this%b, print this): New tests.
8623 * gdb.fortran/derived-types.f90 (this): New object and
8624 initialization.
8625
8626 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8627
8628 * gdb.ada/arraydim.exp: Remove extra directory level in build
8629 directory.
8630
8631 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8632
8633 * lib/ada.exp: Remove extra directory level in build directory.
8634 * gdb.ada/cond_lang.exp: Likewise.
8635 * gdb.ada/exec_changed.exp: Likewise.
8636 * gdb.ada/lang_switch.exp: Likewise.
8637
8638 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8639
8640 * simple.rs: Add test for raw pointer subscripting.
8641 * simple.exp: Add test expectations.
8642
8643 2016-07-05 Yao Qi <yao.qi@linaro.org>
8644
8645 * gdb.mi/mi-reverse.exp: Match =record-started output.
8646
8647 2016-07-01 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8650 procedure.
8651 (jit_reader_test): Test the jit reader's unwinder.
8652 * gdb.base/jithost.c (jit_function_00_code): New global.
8653 (main): Use memcpy to fill in the mmapped code, instead of poking
8654 bytes manually here.
8655 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8656 value.
8657 (read_debug_info): Save the function's range.
8658 (read_sp): New function.
8659 (unwind_frame): Use it. Also unwind RBP.
8660 (get_frame_id): Use read_sp.
8661 (gdb_init_reader): Use calloc instead of malloc.
8662 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8663 parameter. Use gdb_test_multiple.
8664
8665 2016-07-01 Pedro Alves <palves@redhat.com>
8666 Antoine Tremblay <antoine.tremblay@ericsson.com>
8667
8668 * gdb.threads/process-dies-while-detaching.c: New file.
8669 * gdb.threads/process-dies-while-detaching.exp: New file.
8670
8671 2016-07-01 Pedro Alves <palves@redhat.com>
8672
8673 * gdb.multi/watchpoint-multi-exit.c: New file.
8674 * gdb.multi/watchpoint-multi-exit.exp: New file.
8675
8676 2016-06-30 Pedro Alves <palves@redhat.com>
8677
8678 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8679 unset inferior_spawn_id.
8680
8681 2016-06-30 Pedro Alves <palves@redhat.com>
8682
8683 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8684 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8685
8686 2016-06-29 Yao Qi <yao.qi@linaro.org>
8687
8688 * gdb.base/return.c: Add copyright header.
8689
8690 2016-06-29 Tom Tromey <tom@tromey.com>
8691
8692 PR python/20129:
8693 * gdb.python/py-framefilter.exp: Add tests for setting priority
8694 and disabling of non-existent frame filter.
8695
8696 2016-06-29 Yao Qi <yao.qi@linaro.org>
8697
8698 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8699 0x0f07ff.
8700
8701 2016-06-28 Yao Qi <yao.qi@linaro.org>
8702
8703 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8704 triplets. Start gdb, execute catch syscall, and continue. Check
8705 gdb's output to determine catch syscall is supported.
8706
8707 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8708
8709 * gdb.rust/simple.rs: Add test for returning unit in a function.
8710 * gdb.rust/simple.exp: Add expectation for functions returning
8711 unit.
8712
8713 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8714
8715 * gdb.python/py-breakpoint-create-fail.c,
8716 gdb.python/py-breakpoint-create-fail.exp,
8717 gdb.python/py-breakpoint-create-fail.py: New testcase.
8718
8719 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8720
8721 PR gdb/20239
8722 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8723 * gdb.rust/simple.exp: Add test expectations for new NonZero
8724 tests.
8725
8726 2016-06-24 David Taylor <dtaylor@emc.com>
8727
8728 * gdb.base/offsets.exp: New file.
8729 * gdb.base/offsets.c: New file.
8730
8731 2016-06-23 Tom Tromey <tom@tromey.com>
8732
8733 PR gdb/16483:
8734 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8735 before any filters are loaded.
8736
8737 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8738
8739 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8740 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8741 structs.
8742 * gdb.fortran/derived-type-function.exp: New file.
8743 * gdb.fortran/derived-type-function.f90: New file.
8744
8745
8746 2016-06-21 Pedro Alves <palves@redhat.com>
8747
8748 * gdb.base/new-ui.exp: New file.
8749 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8750 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8751 (with_spawn_id): New procedure.
8752
8753 2016-06-21 Pedro Alves <palves@redhat.com>
8754
8755 * gdb.mi/mi-exec-run.exp: New file.
8756
8757 2016-06-21 Pedro Alves <palves@redhat.com>
8758
8759 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8760 breakpoint command's output on the main UI.
8761 (test_break): New procedure, factored out from calls in the top
8762 level.
8763 (top level): Use foreach_with_prefix to test MI as main UI and as
8764 separate UI.
8765
8766 2016-06-21 Pedro Alves <palves@redhat.com>
8767
8768 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8769 (test_awatch_creation_and_listing)
8770 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8771 Remove 'type' parameter.
8772 (test_watchpoint_all): New parameter mi_mode. Remove
8773 with_test_prefix.
8774 (top level): Use foreach_with_prefix, and add main/separate UI MI
8775 testing axis.
8776
8777 2016-06-21 Pedro Alves <palves@redhat.com>
8778
8779 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8780 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8781 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8782 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8783 (gdb_main_spawn_id, mi_spawn_id): Declare and
8784 comment.
8785 (mi_create_inferior_pty): New procedure,
8786 factored out from default_mi_gdb_start.
8787 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8788 procedures.
8789 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8790 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8791 Use mi_create_inferior_pty.
8792 (mi_gdb_start): Use eval to pass down args list.
8793
8794 2016-06-21 Pedro Alves <palves@redhat.com>
8795
8796 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8797 * gdb.opt/inline-cmds.exp: Add MI tests.
8798
8799 2016-06-21 Pedro Alves <palves@redhat.com>
8800
8801 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8802
8803 2016-06-21 Pedro Alves <palves@redhat.com>
8804
8805 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8806 (top level): Use it instead of mi_execute_to.
8807
8808 2016-06-21 Pedro Alves <palves@redhat.com>
8809
8810 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8811 (cont_handler_str): New.
8812 (signal_stop_handler): Set stop_handler_str instead of printing to
8813 stdout.
8814 (continue_handler): Set cont_handler_str instead of printing to
8815 stdout.
8816 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8817 mi_send_resuming_command. Print stop_handler_str and
8818 cont_handler_str instead of expecting the python events print
8819 directly.
8820
8821 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8822
8823 * gdb.base/jit-reader.exp: New file.
8824 * gdb.base/jithost.c: New file.
8825 * gdb.base/jithost.h: New file.
8826 * gdb.base/jitreader.c : New file.
8827 * gdb.base/jit-protocol.h: New file.
8828
8829 2016-06-17 Yao Qi <yao.qi@linaro.org>
8830
8831 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8832 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8833 and detach-on-fork. Adjust tests.
8834 (top level): Invoke break_cond_on_syscall with combinations of
8835 syscall, follow-fork-mode and detach-on-fork.
8836
8837 2016-06-17 Yao Qi <yao.qi@linaro.org>
8838
8839 * gdb.base/step-over-exit.c: New.
8840 * gdb.base/step-over-exit.exp: New.
8841
8842 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8843
8844 * gdb.base/float.exp: Add target check for nds32*-*-*.
8845 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8846
8847 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8848
8849 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8850 for unsupported target features.
8851 * gdb.base/call-rt-st.exp: Likewise.
8852 * gdb.base/call-sc.exp: Likewise.
8853 * gdb.base/call-signal-resume.exp: Likewise.
8854 * gdb.base/call-strs.exp: Likewise.
8855 * gdb.base/callexit.exp: Likewise.
8856 * gdb.base/callfuncs.exp: Likewise.
8857 * gdb.base/nodebug.exp: Likewise.
8858 * gdb.base/printcmds.exp: Likewise.
8859 * gdb.base/ptype.exp: Likewise.
8860 * gdb.base/structs.exp: Likewise.
8861 * gdb.base/unwindonsignal.exp: Likewise.
8862 * gdb.cp/gdb2495.exp: Likewise.
8863 * gdb.cp/templates.exp: Likewise.
8864 * gdb.cp/virtfunc.exp: Likewise.
8865 * gdb.threads/hand-call-in-threads.exp: Likewise.
8866 * gdb.threads/interrupted-hand-call.exp: Likewise.
8867 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8868
8869 2016-06-10 Tom Tromey <tom@tromey.com>
8870
8871 PR rust/20110:
8872 * gdb.rust/expr.exp: Add test for integer constant larger than
8873 i32.
8874
8875 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8876
8877 * gdb.fortran/nested-funcs.exp: New.
8878 * gdb.fortran/nested-funcs.f90: New.
8879
8880 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8881
8882 * gdb.base/examine-backward.c: New file.
8883 * gdb.base/examine-backward.exp: New file.
8884
8885 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8886
8887 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8888 matching.
8889
8890 2016-06-02 Tom Tromey <tom@tromey.com>
8891
8892 PR python/18984:
8893 * gdb.python/py-shared.exp: Add solib_name test.
8894
8895 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8896
8897 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8898
8899 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8900
8901 PR c++/19893
8902 * gdb.dwarf2/implref.exp: Rename to...
8903 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8904 * gdb.dwarf2/implref-array.c: New file.
8905 * gdb.dwarf2/implref-array.exp: Likewise.
8906 * gdb.dwarf2/implref-global.c: Likewise.
8907 * gdb.dwarf2/implref-global.exp: Likewise.
8908 * gdb.dwarf2/implref-struct.c: Likewise.
8909 * gdb.dwarf2/implref-struct.exp: Likewise.
8910
8911 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8912
8913 * gdb.trace/trace-condition.exp: Add 64bit tests.
8914
8915 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8916
8917 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8918 bits types.
8919 (main): Adapt to 8 to 64 bits types.
8920 * gdb.trace/trace-condition.exp: Add new tests.
8921
8922 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8923
8924 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8925
8926 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8927
8928 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8929 Move condition tests...
8930 * gdb.trace/trace-condition.exp: Here.
8931
8932 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8933
8934 * gdb.trace/trace-condition.exp: Add counter-case tests.
8935
8936 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8937
8938 PR c++/15231
8939 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8940 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8941
8942 2016-05-27 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8945 New procedure.
8946 (top level): Call it, and bail out of DejaGnu is known to be bad.
8947
8948 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8949
8950 * gdb.base/whatis.c: Extend the test case.
8951 * gdb.base/whatis.exp: Add additional tests.
8952
8953 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8954
8955 * gdb.fortran/type.f90: Add pointer variable.
8956 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8957
8958 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8959
8960 * gdb.fortran/vla-type.exp: Fix testcase name.
8961
8962 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8963
8964 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8965
8966 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8967
8968 * gdb.fortran/type.f90: Add nested structures.
8969 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8970 * gdb.fortran/derived-type.exp: Adapt expected output.
8971 * gdb.fortran/vla-type.exp: Adapt expected output.
8972
8973 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8974
8975 * gdb.fortran/whatis_type.exp: Adapt expected output.
8976
8977 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8978
8979 * gdb.fortran/print_type.exp: Fix expected output.
8980 * gdb.fortran/whatis_type.exp: Fix expected output.
8981
8982 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8983
8984 * gdb.fortran/whatis_type.exp: Use multi_line.
8985
8986 2016-05-24 Tom Tromey <tom@tromey.com>
8987
8988 PR python/17386:
8989 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8990 use value as an index.
8991
8992 2016-05-23 Tom Tromey <tom@tromey.com>
8993
8994 PR python/17981:
8995 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8996 no-breakpoint case.
8997
8998 2016-05-24 Pedro Alves <palves@redhat.com>
8999
9000 PR gdb/19828
9001 * gdb.threads/clone-attach-detach.c: New file.
9002 * gdb.threads/clone-attach-detach.exp: New file.
9003
9004 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9005
9006 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9007
9008 2016-05-23 Tom Tromey <tom@tromey.com>
9009
9010 PR python/19438, PR python/18393:
9011 * gdb.python/py-progspace.exp: Add "dir" test.
9012 * gdb.python/py-objfile.exp: Add "dir" test.
9013
9014 2016-05-23 Yao Qi <yao.qi@linaro.org>
9015
9016 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9017 * gdb.arch/thumb2-it.exp: Likewise.
9018
9019 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9020
9021 * gdb.mi/mi-threads-interrupt.c: New file.
9022 * gdb.mi/mi-threads-interrupt.exp: New file.
9023
9024 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9025
9026 PR gdb/18077
9027 * gdb.mi/mi-async-run.exp: New file.
9028 * gdb.mi/mi-async-run.c: New file.
9029
9030 2016-05-17 Tom Tromey <tom@tromey.com>
9031 Manish Goregaokar <manishsmail@gmail.com>
9032
9033 * lib/rust-support.exp: New file.
9034 * lib/gdb.exp (skip_rust_tests): New proc.
9035 (build_executable_from_specs): Handle rust.
9036 * lib/future.exp (gdb_find_rustc): New proc.
9037 (gdb_default_target_compile): Handle rust.
9038 * gdb.rust/expr.exp: New file.
9039 * gdb.rust/generics.exp: New file.
9040 * gdb.rust/generics.rs: New file.
9041 * gdb.rust/methods.exp: New file.
9042 * gdb.rust/methods.rs: New file.
9043 * gdb.rust/modules.exp: New file.
9044 * gdb.rust/modules.rs: New file.
9045 * gdb.rust/simple.exp: New file.
9046 * gdb.rust/simple.rs: New file.
9047
9048 2016-05-17 Tom Tromey <tom@tromey.com>
9049
9050 * gdb.base/default.exp (set language): Add rust.
9051
9052 2016-05-17 Tom Tromey <tom@tromey.com>
9053
9054 * gdb.gdb/unittest.exp: New file.
9055
9056 2016-05-16 Yao Qi <yao.qi@linaro.org>
9057
9058 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9059 shell_prompt. Update shell_prompt_re.
9060
9061 2016-05-12 Doug Evans <dje@google.com>
9062
9063 PR symtab/19999
9064 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9065 $options when building executable.
9066 * gdb.dwarf2/fission-loclists-pie.S: New file.
9067 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9068
9069 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9070
9071 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9072 of [is_remote target],
9073
9074 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9075
9076 * lib/gdb.exp (use_gdb_stub): New procedure.
9077
9078 2016-05-03 Yunlian Jiang <yunlian@google.com>
9079 Doug Evans <dje@google.com>
9080
9081 PR symtab/19914
9082 * gdb.dwarf2/dwp-sepdebug.c: New file.
9083 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9084
9085 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9086
9087 * gdb.base/detach.exp: Remove is_remote check.
9088
9089 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9090
9091 * gdb.base/annota-input-while-running.exp: Don't check for
9092 [is_remote target]. Enable annotations after running to main.
9093 Remove unused "set test..." line.
9094
9095 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9096
9097 * gdb.trace/trace-enable-disable.exp: New file.
9098 * gdb.trace/trace-enable-disable.c: New file.
9099
9100 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9101
9102 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9103 use it in info sharedlibrary test.
9104 * gdb.trace/ftrace-lock.exp: Likewise.
9105 * gdb.trace/ftrace.exp: Likewise.
9106 * gdb.trace/range-stepping.exp: Likewise.
9107 * gdb.trace/trace-break.exp: Likewise.
9108 * gdb.trace/trace-condition.exp: Likewise.
9109 * gdb.trace/trace-mt.exp: Likewise.
9110
9111 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9112
9113 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9114 (gdb_load_shlib): ... this.
9115 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9116 gdb_load_shlib.
9117 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9118 * gdb.base/ctxobj.exp: Likewise.
9119 * gdb.base/dprintf-pending.exp: Likewise.
9120 * gdb.base/dso2dso.exp: Likewise.
9121 * gdb.base/fixsection.exp: Likewise.
9122 * gdb.base/gcore-relro.exp: Likewise.
9123 * gdb.base/gdb1555.exp: Likewise.
9124 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9125 * gdb.base/gnu-ifunc.exp: Likewise.
9126 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9127 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9128 * gdb.base/pending.exp: Likewise.
9129 * gdb.base/print-file-var.exp: Likewise.
9130 * gdb.base/print-symbol-loading.exp: Likewise.
9131 * gdb.base/shlib-call.exp: Likewise.
9132 * gdb.base/shreloc.exp: Likewise.
9133 * gdb.base/so-impl-ld.exp: Likewise.
9134 * gdb.base/solib-disc.exp: Likewise.
9135 * gdb.base/solib-nodir.exp: Likewise.
9136 * gdb.base/solib-overlap.exp: Likewise.
9137 * gdb.base/solib-symbol.exp: Likewise.
9138 * gdb.base/solib-weak.exp (do_test): Likewise.
9139 * gdb.base/sym-file.exp: Likewise.
9140 * gdb.base/symtab-search-order.exp: Likewise.
9141 * gdb.base/type-opaque.exp: Likewise.
9142 * gdb.base/unload.exp: Likewise.
9143 * gdb.base/watchpoint-solib.exp: Likewise.
9144 * gdb.compile/compile.exp: Likewise.
9145 * gdb.cp/gdb2384.exp: Likewise.
9146 * gdb.cp/infcall-dlopen.exp: Likewise.
9147 * gdb.cp/re-set-overloaded.exp: Likewise.
9148 * gdb.fortran/library-module.exp: Likewise.
9149 * gdb.opt/solib-intra-step.exp: Likewise.
9150 * gdb.python/py-finish-breakpoint.exp: Likewise.
9151 * gdb.python/py-shared.exp: Likewise.
9152 * gdb.reverse/solib-precsave.exp: Likewise.
9153 * gdb.reverse/solib-reverse.exp: Likewise.
9154 * gdb.server/solib-list.exp: Likewise.
9155 * gdb.threads/dlopen-libpthread.exp: Likewise.
9156 * gdb.threads/tls-shared.exp: Likewise.
9157 * gdb.threads/tls-so_extern.exp: Likewise.
9158 * gdb.trace/change-loc.exp: Likewise.
9159 * gdb.trace/ftrace-lock.exp: Likewise.
9160 * gdb.trace/ftrace.exp: Likewise.
9161 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9162 * gdb.trace/pending.exp: Likewise.
9163 * gdb.trace/range-stepping.exp: Likewise.
9164 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9165 (strace_info_marker): Likewise.
9166 (strace_probe_marker): Likewise.
9167 (strace_trace_on_same_addr): Likewise.
9168 (strace_trace_on_diff_addr): Likewise.
9169 * gdb.trace/trace-break.exp: Likewise.
9170 * gdb.trace/trace-condition.exp: Likewise.
9171 * gdb.trace/trace-mt.exp: Likewise.
9172
9173 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9174
9175 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9176 result of gdb_remote_download.
9177 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9178 * gdb.base/dso2dso.exp: Likewise.
9179 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9180 * gdb.base/print-file-var.exp: Likewise.
9181 * gdb.base/shlib-call.exp: Likewise.
9182 * gdb.base/shreloc.exp: Likewise.
9183 * gdb.base/solib-overlap.exp: Likewise.
9184 * gdb.base/solib-weak.exp (do_test): Likewise.
9185 * gdb.base/unload.exp: Likewise.
9186
9187 2016-04-27 Yao Qi <yao.qi@linaro.org>
9188
9189 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9190 exists.
9191
9192 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9193
9194 * vla-type.exp: Print structure from toplevel.
9195
9196 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9197
9198 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9199 of dynamic types.
9200 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9201 of dynamic types.
9202
9203 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9204
9205 * gdb.fortran/vla-type.f90: New file.
9206 * gdb.fortran/vla-type.exp: New file.
9207
9208 2016-04-25 Yao Qi <yao.qi@linaro.org>
9209
9210 * gdb.base/branch-to-self.c: New file.
9211 * gdb.base/branch-to-self.exp: New file.
9212
9213 2016-04-22 Yao Qi <yao.qi@linaro.org>
9214
9215 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9216 more after $hex.
9217
9218 2016-04-22 Yao Qi <yao.qi@linaro.org>
9219
9220 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9221 * gdb.base/annota3.exp: Likewise.
9222
9223 2016-04-22 Yao Qi <yao.qi@linaro.org>
9224
9225 * gdb.reverse/step-precsave.exp: Do one step and test program
9226 stops in "callee" and do multiple steps until program goes out
9227 of "callee".
9228 * gdb.reverse/step-reverse.exp: Likewise.
9229
9230 2016-04-22 Yao Qi <yao.qi@linaro.org>
9231
9232 * gdb.trace/signal.exp: Also pass if
9233 $tracepoint_hits($i) > $iterations.
9234
9235 2016-04-22 Yao Qi <yao.qi@linaro.org>
9236
9237 * gdb.trace/signal.c: New file.
9238 * gdb.trace/signal.exp: New file.
9239
9240 2016-04-19 Doug Evans <xdje42@gmail.com>
9241
9242 * gdb.base/bad-file.exp: New file.
9243
9244 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9245
9246 * gdb.dwarf2/implref.exp: New file.
9247
9248 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9249
9250 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9251 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9252 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9253 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9254 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9255 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9256 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9257 * lib/fortran.exp (fortran_int4): New procedure.
9258 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9259 (fortran_logical4): Likewise.
9260
9261 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9262
9263 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9264
9265 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9266
9267 * lib/compiler.c: Add Intel specific preprocessor macros.
9268 * lib/compiler.cc: Likewise.
9269
9270 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9271
9272 * gdb.server/connect-with-no-symbol-file.c: New file.
9273 * gdb.server/connect-with-no-symbol-file.exp: New file.
9274
9275 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9276
9277 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9278
9279 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9280
9281 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9282 standard output directory.
9283
9284 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9285
9286 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9287
9288 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9289
9290 * gdb.btrace/instruction_history.c (loop): Add declaration.
9291
9292 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9293
9294 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9295
9296 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9297
9298 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9299 parentheses to print.
9300 (continue_handler): Likewise.
9301
9302 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9303
9304 * gdb.server/solib-list.exp: Remove is_remote check.
9305 Pass shlib= to gdb_compile. Don't link shared library with
9306 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9307 Run binary filename through "readlink -f" on the target.
9308
9309 2016-04-08 Pedro Alves <palves@redhat.com>
9310
9311 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9312 interpreter filename as argument to gdbserver_spawn.
9313 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9314 Return empty if $last_loaded_file does not exist.
9315
9316 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9317
9318 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9319 * gdb.base/jit-main.c: Use exit after usage.
9320
9321 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9322
9323 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9324 GDBHISTSIZE prior to the tests.
9325 * gdb.base/gdbinit-history.exp: Likewise.
9326
9327 2016-04-07 Pedro Alves <palves@redhat.com>
9328
9329 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9330 instead of build_executable. Use gdb_load_shlibs.
9331
9332 2016-04-07 Yao Qi <yao.qi@linaro.org>
9333
9334 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9335 Execute "si" command.
9336
9337 2016-04-07 Yao Qi <yao.qi@linaro.org>
9338
9339 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9340 number instead of the comments on some line.
9341
9342 2016-04-06 Don Breazeal <donb@codesourcery.com>
9343
9344 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9345 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9346
9347 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9348
9349 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9350 standard_output_file. Remove unused binfile variable.
9351
9352 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9353
9354 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9355 * gdb.python/py-mi-objfile.exp: Match "list main" output
9356 in console format.
9357
9358 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9359
9360 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9361 absolute.
9362
9363 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9364
9365 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9366 absolute.
9367 * gdb.trace/ftrace.exp: Likewise.
9368 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9369 targets as well.
9370 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9371 (gdb_load_shlibs): Copy libraries to test directory when testing
9372 natively. Only set solib-search-path if testing remotely.
9373 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9374
9375 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9376
9377 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9378 gdb_download. Use it even if the target is not remote.
9379 * gdb.base/jit.exp (compile_jit_test): Likewise.
9380 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9381 output directory if the destination board is local, otherwise use
9382 the standard remote_download from DejaGnu.
9383 (gdb_download): Remove.
9384 (gdb_load_shlibs): Use gdb_remote_download instead of
9385 gdb_download.
9386 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9387 Use gdb_remote_download instead of gdb_download. Use it even if
9388 the target is not remote.
9389 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9390 instead of gdb_download.
9391
9392 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9393
9394 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9395 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9396 run.
9397
9398 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9399
9400 PR gdb/19820
9401 * gdb.base/printcmds.exp: Add artificial arrays tests.
9402
9403 2016-03-31 Pedro Alves <palves@redhat.com>
9404
9405 PR gdb/19858
9406 * gdb.base/jit-main.c: Include unistd.h.
9407 (ATTACH): Define to 0 if not already defined.
9408 (wait_for_gdb, mypid): New globals.
9409 (WAIT_FOR_GDB): New macro.
9410 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9411 some breakpoint locations.
9412 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9413 New procedures.
9414 (one_jit_test): Add REATTACH parameter, and handle it. Use
9415 continue_to_test_location.
9416 (top level): Test attach, and adjusts calls to one_jit_test.
9417
9418 2016-03-31 Pedro Alves <palves@redhat.com>
9419
9420 PR gdb/19858
9421 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9422 BINSUFFIX parameter, and handle it.
9423 (top level): Adjust calls compile_jit_test.
9424
9425 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9426
9427 PR python/19743
9428 * gdb.python/py-mi-events-gdb.py: New file.
9429 * gdb.python/py-mi-events.c: New file.
9430 * gdb.python/py-mi-events.exp: New file.
9431
9432 2016-03-30 Yao Qi <yao.qi@linaro.org>
9433
9434 * gdb.reverse/until-precsave.exp: Match function name only.
9435 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9436 Move malloc to a condition block.
9437 * gdb.reverse/until-reverse.exp: Match function name only.
9438
9439 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9440
9441 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9442 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9443 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9444 variable for GPR 0 instead of assuming it is register 0.
9445 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9446 * lib/trace-support.exp: Add s390 registers.
9447
9448 2016-03-29 Yao Qi <yao.qi@linaro.org>
9449
9450 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9451
9452 2016-03-24 Yao Qi <yao.qi@linaro.org>
9453
9454 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9455 test message.
9456
9457 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9458
9459 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9460 maintaining separate logic for constructing the output path.
9461
9462 2016-03-16 Don Breazeal <donb@codesourcery.com>
9463
9464 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9465 Retry fork and waitpid on interrupted system call errors.
9466 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9467 Use with_timeout_factor to increase timeout by factor of 10.
9468
9469 2016-03-15 Don Breazeal <donb@codesourcery.com>
9470
9471 * gdb.cp/scope-err.cc: New test program.
9472 * gdb.cp/scope-err.exp: New test script.
9473 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9474 lines and "set breakpoint here" comment.
9475 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9476 Fixed some whitespace and format issues.
9477 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9478 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9479
9480 2016-03-15 Doug Evans <dje@google.com>
9481
9482 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9483 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9484 All callers updated. Add tests for enums, mixed flags register.
9485
9486 2016-03-15 Doug Evans <dje@google.com>
9487
9488 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9489 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9490
9491 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9492
9493 * gdb.base/default.exp: Add $_as_string to the list of expected
9494 convenience functions.
9495
9496 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9497
9498 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9499
9500 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9501
9502 * gdb.python/py-as-string.exp: New file.
9503 * gdb.python/py-as-string.c: New file.
9504
9505 2016-03-09 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9508 signal" -> "Thread NN received signal" output change.
9509 * gdb.threads/ia64-sigill.exp: Likewise.
9510 * gdb.threads/linux-dp.exp: Likewise.
9511 * gdb.threads/manythreads.exp: Likewise.
9512 * gdb.threads/pending-step.exp: Likewise.
9513 * gdb.threads/print-threads.exp: Likewise.
9514 * gdb.threads/sigstep-threads.exp: Likewise.
9515 * gdb.threads/staticthreads.exp: Likewise.
9516 * gdb.threads/tls.exp: Likewise.
9517
9518 2016-03-09 Pedro Alves <palves@redhat.com>
9519
9520 * gdb.base/command-line-input.exp: New file.
9521
9522 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9523
9524 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9525 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9526 * gdb.trace/pending.exp: Accept leading dot before function name.
9527 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9528 * lib/trace-support.exp: Set registers for ppc.
9529
9530 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9531
9532 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9533 use it for disassembly; accept .main in addition to main in backtrace.
9534
9535 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9536 Marcin Kościelnicki <koriakin@0x04.net>
9537
9538 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9539 (gdb_recursion_test_ptr): New global variable.
9540 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9541 gdb_recursion_test.
9542 (gdb_c_test): Ditto.
9543
9544 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9545
9546 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9547 ordering.
9548
9549 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9550
9551 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9552 (bar): Add bar_start_lbl label.
9553 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9554 of foo/bar for emitting DWARF and tracing.
9555
9556 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9557
9558 * analyze-racy-logs.py: Set executable bit.
9559
9560 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9561
9562 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9563 (CHECK_TARGET_TMP): Likewise.
9564 (check-single-racy): New rule.
9565 (check-parallel-racy): Likewise.
9566 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9567 (do-check-parallel-racy): New rule.
9568 (check-racy/%.exp): Likewise.
9569 * README (Racy testcases): New section.
9570 * analyze-racy-logs.py: New file.
9571
9572 2016-03-03 Doug Evans <dje@google.com>
9573
9574 * gdb.base/skip.exp: Use with_test_prefix.
9575
9576 2016-03-03 Yao Qi <yao.qi@linaro.org>
9577
9578 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9579 Invoke step_over_syscall "clone" and break_cond_on_syscall
9580 "clone".
9581 * gdb.base/step-over-clone.c: New file.
9582
9583 2016-03-03 Yao Qi <yao.qi@linaro.org>
9584
9585 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9586 code format.
9587
9588 2016-03-03 Yao Qi <yao.qi@linaro.org>
9589
9590 * gdb.base/disp-step-fork.c: Rename to ...
9591 * gdb.base/step-over-fork.c: ... it. New file.
9592 * gdb.base/disp-step-vfork.c: Rename to ...
9593 * gdb.base/step-over-vfork.c: ... it. New file.
9594 * gdb.base/disp-step-syscall.exp: Rename to ...
9595 * gdb.base/step-over-syscall.exp: ... it. New file.
9596 (disp_step_cross_syscall): Rename to ...
9597 (step_over_syscall): ... it.
9598
9599 2016-03-03 Yao Qi <yao.qi@linaro.org>
9600
9601 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9602 If target supports condition evaluation on target, invoke
9603 break_cond_on_syscall for fork and vfork.
9604
9605 2016-03-03 Yao Qi <yao.qi@linaro.org>
9606
9607 * gdb.base/disp-step-syscall.exp: Don't invoke
9608 support_displaced_stepping.
9609 (disp_step_cross_syscall): Test with displaced stepping off and
9610 on if supported.
9611
9612 2016-03-03 Yao Qi <yao.qi@linaro.org>
9613
9614 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9615 proc.
9616 (setup): New proc.
9617 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9618 and setup.
9619
9620 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9621
9622 * gdb.fortran/vla-history.exp: Remove breakpoint.
9623
9624 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9625
9626 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9627 exceeds timeout.
9628
9629 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9630
9631 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9632 breakpoint.
9633
9634 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9635
9636 * gdb.mi/vla.f90: Nullify pointer after declaration.
9637
9638 2016-03-01 Pedro Alves <palves@redhat.com>
9639
9640 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9641
9642 2016-03-01 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9645 before anything else.
9646 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9647 _GNU_SOURCE here.
9648 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9649 before anything else.
9650 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9651
9652 2016-03-01 Pedro Alves <palves@redhat.com>
9653
9654 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9655
9656 2016-03-01 Yao Qi <yao.qi@linaro.org>
9657
9658 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9659 prepare_for_testing.
9660
9661 2016-03-01 Yao Qi <yao.qi@linaro.org>
9662
9663 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9664
9665 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9666
9667 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9668 manually constructing the output path.
9669
9670 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9671
9672 * gdb.arch/s390-stackless.S: New.
9673 * gdb.arch/s390-stackless.exp: New.
9674
9675 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9676
9677 * gdb.dlang/circular.c: New file.
9678 * gdb.dlang/circular.exp: New file.
9679
9680 2016-02-26 Yao Qi <yao.qi@linaro.org>
9681
9682 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9683 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9684 (testcases): Update.
9685
9686 2016-02-26 Yao Qi <yao.qi@linaro.org>
9687
9688 * gdb.reverse/aarch64.c: Rename to ...
9689 * gdb.reverse/insn-reverse.c: ... it.
9690 * gdb.reverse/aarch64.exp: Rename to ...
9691 * gdb.reverse/insn-reverse.exp: ... it.
9692
9693 2016-02-26 Yao Qi <yao.qi@linaro.org>
9694
9695 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9696 (testcase_ftype): New.
9697 (testcases): New array.
9698 (n_testcases): New.
9699 (main): Call each element in testcases.
9700 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9701 (read_testcase): New.
9702 Do the tests in a loop.
9703
9704 2016-02-25 Yao Qi <yao.qi@linaro.org>
9705
9706 * gdb.base/branches.c: Remove.
9707
9708 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9709
9710 PR gdb/13808
9711 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9712
9713 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9714
9715 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9716
9717 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9718
9719 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9720 change x86_64 call_insn to 'callq'.
9721
9722 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9723
9724 * gdb.trace/tfile-avx.c: Move to...
9725 * gdb.trace/tracefile-pseudo-reg.c: Here.
9726 * gdb.trace/tfile-avx.exp: Move to...
9727 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9728
9729 2016-02-24 Gary Benson <gbenson@redhat.com>
9730
9731 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9732 message on attach.
9733
9734 2016-02-23 Doug Evans <dje@google.com>
9735
9736 * gdb.base/skip.c (test_skip): New function.
9737 (end_test_skip_file_and_function): New function.
9738 (test_skip_file_and_function): New function.
9739 * gdb.base/skip1.c (test_skip): New function.
9740 (skip1_test_skip_file_and_function): New function.
9741 * gdb.base/skip.exp: Add tests for new skip options.
9742 * gdb.base/skip-solib.exp: Update expected output.
9743 * gdb.perf/skip-command.cc: New file.
9744 * gdb.perf/skip-command.exp: New file.
9745 * gdb.perf/skip-command.py: New file.
9746
9747 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9748
9749 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9750 info registers pattern.
9751
9752 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9753
9754 * lib/future.exp: Add D support.
9755 (gdb_find_gdc): New proc.
9756 (gdb_default_target_compile): Add D support.
9757
9758 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9759
9760 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9761 user+system time.
9762 (trace_speed_test): Determine the iteration count for a time
9763 between 15..30 seconds.
9764
9765 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9766
9767 * gdb.arch/i386-mpx-sigsegv.c: New file.
9768 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9769 * gdb.arch/i386-mpx-simple_segv.c: New file.
9770 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9771
9772 2016-02-18 Yao Qi <yao.qi@linaro.org>
9773
9774 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9775 Don't call setup_kfail.
9776
9777 2016-02-18 Yao Qi <yao.qi@linaro.org>
9778
9779 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9780 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9781
9782 2016-02-16 Doug Evans <dje@google.com>
9783
9784 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9785 * gdb.base/skip1.c: Ditto.
9786 * gdb.base/skip.exp: Whitespace cleanup.
9787
9788 2016-02-16 Don Breazeal <donb@codesourcery.com>
9789
9790 PR remote/19496
9791 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9792 Remove kfail for PR remote/19496.
9793
9794 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9795
9796 * lib/gdb.exp (standard_temp_file): Return a path specific to
9797 the runtest invocation.
9798
9799 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9800
9801 * gdb.trace/save-trace.exp: Change relative path to be in the
9802 standard output directory.
9803
9804 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9805
9806 * gdb.arch/i386-prologue.c: Add missing prototypes.
9807
9808 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9809
9810 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9811 * gdb.arch/i386-prologue.exp: Likewise.
9812 * gdb.arch/i386-size.exp: Likewise.
9813
9814 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9815
9816 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9817 define object file path.
9818 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9819 file path.
9820 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9821 standard_output_file to define binfile.
9822
9823 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9824
9825 Fix compatibility with recent gfortran-5.3.1.
9826 * gdb.fortran/vla-history.exp (print vla1 allocated)
9827 (print vla2 allocated, print $2, print $3): Remove
9828 (print $4): Rename to ...
9829 (print $2): ... here.
9830 (print $9): Rename to ...
9831 (print $5): ... here.
9832 (print $10): Rename to ...
9833 (print $6): ... here.
9834 * gdb.fortran/vla.f90: Add pvla initialization.
9835
9836 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9839 New test.
9840 * gdb.fortran/vla-value-sub.exp: Likewise.
9841
9842 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9843
9844 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9845
9846 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9847
9848 * i386-biarch-core.exp: Define corefile using
9849 standard_output_file.
9850
9851 2016-02-12 Yao Qi <yao.qi@linaro.org>
9852
9853 * gdb.arch/arm-single-step-kernel-helper.c: New.
9854 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9855
9856 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9857
9858 * gdb.btrace/tailcall-only.exp: New.
9859 * gdb.btrace/tailcall-only.c: New.
9860 * gdb.btrace/x86_64-tailcall-only.S: New.
9861 * gdb.btrace/i686-tailcall-only.S: New.
9862
9863 2016-02-11 Pedro Alves <palves@redhat.com>
9864
9865 * README (Parallel testing): Add missing double quotes.
9866
9867 2016-02-11 Pedro Alves <palves@redhat.com>
9868
9869 * README (Parallel testing): New section.
9870 (GDB_PARALLEL): Rewrite.
9871 (FORCE_PARALLEL): Document.
9872
9873 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9874
9875 * gdb.trace/tfile-avx.c: New test.
9876 * gdb.trace/tfile-avx.exp: New test.
9877
9878 2016-02-09 Keith Seitz <keiths@redhat.com>
9879
9880 PR breakpoints/19546
9881 * gdb.base/infcall-exec.c: New file.
9882 * gdb.base/infcall-exec2.c: New file.
9883 * gdb.base/infcall-exec.exp: New file.
9884
9885 2016-02-09 Keith Seitz <keiths@redhat.com>
9886
9887 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9888 (toplevel): Call test_bkpt_address.
9889
9890 2016-02-09 Keith Seitz <keiths@redhat.com>
9891
9892 PR python/19506
9893 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9894 (toplevel): Call test_bkpt_address.
9895
9896 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9897
9898 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9899 to AC_OUTPUT.
9900 * configure: Regenerate.
9901
9902 2016-02-09 Pedro Alves <palves@redhat.com>
9903
9904 PR breakpoints/19548
9905 * gdb.base/execl-update-breakpoints.c (some_function): New
9906 function.
9907 (main): Call it.
9908 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9909 Tighten expected GDB output.
9910
9911 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9912
9913 * Makefile.in (ALL_SUBDIRS): Remove.
9914 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9915 (distclean maintainer-clean realclean): Likewise.
9916 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9917 * configure: Regenerate.
9918 * gdb.ada/Makefile.in: Delete.
9919 * gdb.arch/Makefile.in: Likewise.
9920 * gdb.asm/Makefile.in: Likewise.
9921 * gdb.base/Makefile.in: Likewise.
9922 * gdb.btrace/Makefile.in: Likewise.
9923 * gdb.cell/Makefile.in: Likewise.
9924 * gdb.compile/Makefile.in: Likewise.
9925 * gdb.cp/Makefile.in: Likewise.
9926 * gdb.disasm/Makefile.in: Likewise.
9927 * gdb.dlang/Makefile.in: Likewise.
9928 * gdb.dwarf2/Makefile.in: Likewise.
9929 * gdb.fortran/Makefile.in: Likewise.
9930 * gdb.gdb/Makefile.in: Likewise.
9931 * gdb.go/Makefile.in: Likewise.
9932 * gdb.guile/Makefile.in: Likewise.
9933 * gdb.java/Makefile.in: Likewise.
9934 * gdb.linespec/Makefile.in: Likewise.
9935 * gdb.mi/Makefile.in: Likewise.
9936 * gdb.modula2/Makefile.in: Likewise.
9937 * gdb.multi/Makefile.in: Likewise.
9938 * gdb.objc/Makefile.in: Likewise.
9939 * gdb.opencl/Makefile.in: Likewise.
9940 * gdb.opt/Makefile.in: Likewise.
9941 * gdb.pascal/Makefile.in: Likewise.
9942 * gdb.perf/Makefile.in: Likewise.
9943 * gdb.python/Makefile.in: Likewise.
9944 * gdb.reverse/Makefile.in: Likewise.
9945 * gdb.server/Makefile.in: Likewise.
9946 * gdb.stabs/Makefile.in: Likewise.
9947 * gdb.threads/Makefile.in: Likewise.
9948 * gdb.trace/Makefile.in: Likewise.
9949 * gdb.xml/Makefile.in: Likewise.
9950 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9951 GDB_PARALLEL.
9952 (standard_output_file): Remove check for GDB_PARALLEL, always
9953 return path in outputs/$subdir/$testname.
9954
9955 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9956
9957 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9958 (site.exp): Assign abs_srcdir to tcl's srcdir.
9959
9960 2016-02-04 Yao Qi <yao.qi@linaro.org>
9961
9962 * gdb.base/foll-exec-mode.c: Include limits.h.
9963 (main): Add parameters argc and argv. Get directory from
9964 argv[0].
9965 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9966 compilation.
9967 * gdb.base/foll-exec.c: Include limits.h.
9968 (main): Add parameters argc and argv.
9969 Get directory from argv[0].
9970 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9971 Adjust tests on the number of lines as source code changed.
9972 * gdb.base/foll-vfork-exit.c: Include limits.h.
9973 (main): Add one line of statement before vfork.
9974 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9975 (main): Add parameters argc and argv. Get directory from
9976 argv[0].
9977 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9978 (setup_gdb): Set tbreak to skip some source lines.
9979 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9980 (main): Add parameters argc and argv. Get directory from
9981 argv[0].
9982 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9983 compilation.
9984 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9985 (main): Add parameters argc and argv. Get directory from
9986 argv[0].
9987 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9988 compilation.
9989
9990 2016-02-01 Doug Evans <dje@google.com>
9991
9992 * gdb.base/skip.exp: Clean up multiple references to same test name.
9993
9994 2016-02-01 Pedro Alves <palves@redhat.com>
9995
9996 PR remote/19496
9997 * gdb.threads/forking-threads-plus-breakpoint.exp
9998 (displaced_stepping_supported): New global.
9999 (probe_displaced_stepping_support): New procedure.
10000 (do_test): Add 'displaced' parameter, and use it.
10001 (top level): Check for displaced stepping support. Add displaced
10002 stepping on/off testing axis.
10003
10004 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10005
10006 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10007 pointer. Don't perform further tests on the unassociated pointer
10008 if the first test fails.
10009
10010 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10011
10012 * gdb.base/max-value-size.c: New file.
10013 * gdb.base/max-value-size.exp: New file.
10014 * gdb.base/huge.exp: Disable max-value-size for this test.
10015
10016 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10017
10018 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10019
10020 2016-01-28 Yao Qi <yao.qi@linaro.org>
10021
10022 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10023
10024 2016-01-25 Pedro Alves <palves@redhat.com>
10025
10026 PR threads/19461
10027 * gdb.base/fork-running-state.c: New file.
10028 * gdb.base/fork-running-state.exp: New file.
10029
10030 2016-01-25 Pedro Alves <palves@redhat.com>
10031
10032 PR gdb/19494
10033 * gdb.base/catch-fork-kill.c: New file.
10034 * gdb.base/catch-fork-kill.exp: New file.
10035
10036 2016-01-25 Pedro Alves <palves@redhat.com>
10037
10038 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10039 Delete, moved to lib/gdb.exp.
10040 * gdb.threads/forking-threads-plus-breakpoint.exp
10041 (foreach_with_prefix): Likewise.
10042 * gdb.threads/process-dies-while-handling-bp.exp
10043 (foreach_with_prefix): Likewise.
10044 * lib/gdb.exp (foreach_with_prefix): New procedure.
10045
10046 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10047
10048 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10049 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10050
10051 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10052
10053 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10054 endian targets.
10055
10056 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10057 Pedro Alves <palves@redhat.com>
10058
10059 Fix testsuite compatibility with Guile.
10060 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10061 number.
10062
10063 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10064
10065 Fix testsuite compatibility with Guile.
10066 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10067 (thread 1): New test for backtrace through signal handler.
10068
10069 2016-01-22 Yao Qi <yao.qi@linaro.org>
10070
10071 PR testsuite/19491
10072 * gdb.base/multi-forks.c: Include
10073 ../lib/unbuffer_output.c
10074 (main): Call gdb_unbuffer_output.
10075
10076 2016-01-21 Doug Evans <dje@google.com>
10077
10078 * lib/ada.exp (gdb_compile_ada): Fix typo.
10079
10080 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10081
10082 * gdb.base/break-fun-addr.exp: New file.
10083 * gdb.base/break-fun-addr1.c: New file.
10084 * gdb.base/break-fun-addr2.c: New file.
10085
10086 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10087
10088 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10089 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10090 enum flag values.
10091
10092 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10093
10094 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10095 when GDB can not set the vector return value. Add more comments
10096 for clarification.
10097
10098 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10099
10100 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10101 command.
10102
10103 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10104
10105 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10106
10107 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10108
10109 * Makefile.in (check-single): Pass --status to runtest.
10110 (check/%.exp): Likewise.
10111
10112 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10113
10114 * Makefile.in (check-parallel): Propagate return code from make
10115 do-check-parallel.
10116
10117 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10118
10119 * gdb.trace/ftrace.exp: Fix expected message on continue.
10120 * gdb.trace/pending.exp: Fix expected message on continue.
10121 * gdb.trace/trace-break.exp: Fix expected message on continue.
10122
10123 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10124
10125 * lib/gdb.exp (gdb_test): Remove unused global references.
10126
10127 2016-01-18 Pedro Alves <palves@redhat.com>
10128
10129 * gdb.base/async-shell.exp: Adjust expected output.
10130 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10131 * gdb.base/siginfo-thread.exp: Adjust expected output.
10132 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10133 * gdb.java/jnpe.exp: Adjust expected output.
10134 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10135 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10136 * gdb.threads/leader-exit.exp: Adjust expected output.
10137 * gdb.threads/manythreads.exp: Adjust expected output.
10138 * gdb.threads/pthreads.exp: Adjust expected output.
10139 * gdb.threads/schedlock.exp: Adjust expected output.
10140 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10141 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10142 expected output.
10143 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10144 output.
10145 * gdb.threads/sigthread.exp: Adjust expected output.
10146 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10147
10148 2016-01-18 Yao Qi <yao.qi@linaro.org>
10149
10150 * gdb.guile/scm-section-script.c: Replace @progbits with
10151 %progbits.
10152 * gdb.python/py-section-script.c: Likewise.
10153
10154 2016-01-15 Pedro Alves <palves@redhat.com>
10155
10156 * gdb.multi/tids.exp: Test star wildcard ranges.
10157
10158 2016-01-15 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10161 command from "thread apply" invocation.
10162 (thr_apply_info_thr_invalid): Default the expected output to the
10163 input tid list.
10164 (top level): Add tests that use convenience variables. Add tests
10165 for "thread apply" with a valid TID list, but missing the command.
10166
10167 2016-01-13 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.base/default.exp: Expect $_gthread as well.
10170 * gdb.multi/tids.exp: Test $_gthread.
10171 * gdb.threads/thread-specific.exp: Test $_gthread.
10172
10173 2016-01-13 Pedro Alves <palves@redhat.com>
10174
10175 * gdb.multi/tids.exp: Test "info threads -gid".
10176
10177 2016-01-13 Pedro Alves <palves@redhat.com>
10178
10179 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10180 Breakpoint.thread.
10181 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10182
10183 2016-01-07 Pedro Alves <palves@redhat.com>
10184
10185 * gdb.base/break.exp: Adjust to output changes.
10186 * gdb.base/hbreak2.exp: Likewise.
10187 * gdb.base/sepdebug.exp: Likewise.
10188 * gdb.base/watch_thread_num.exp: Likewise.
10189 * gdb.linespec/keywords.exp: Likewise.
10190 * gdb.multi/info-threads.exp: Likewise.
10191 * gdb.threads/thread-find.exp: Likewise.
10192 * gdb.multi/tids.c: New file.
10193 * gdb.multi/tids.exp: New file.
10194
10195 2016-01-13 Pedro Alves <palves@redhat.com>
10196
10197 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10198
10199 2016-01-13 Pedro Alves <palves@redhat.com>
10200
10201 * gdb.base/default.exp: Expect $_inferior as well.
10202 * gdb.multi/base.exp: Test $_inferior.
10203
10204 2016-01-13 Pedro Alves <palves@redhat.com>
10205
10206 PR breakpoints/19388
10207 * gdb.base/catch-signal-siginfo-cond.c: New file.
10208 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10209
10210 2016-01-12 Josh Stone <jistone@redhat.com>
10211 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10212
10213 * gdb.base/catch-syscall.c (do_execve): New variable.
10214 (main): Conditionally trigger an execve.
10215 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10216 (test_catch_syscall_execve): New, check entry/return across execve.
10217 (do_syscall_tests): Call test_catch_syscall_execve.
10218
10219 2016-01-12 Pedro Alves <palves@redhat.com>
10220
10221 * gdb.base/random-signal.exp (do_test): New procedure, with body
10222 of testcase moved in.
10223
10224 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10225 Pedro Alves <palves@redhat.com>
10226
10227 * gdb.base/funcargs.exp (finish from indirectly called function):
10228 Reintroduce the case for 'First'.
10229
10230 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10231 Pedro Alves <palves@redhat.com>
10232
10233 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10234 (tcatch_vfork_then_child_follow_exec)
10235 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10236 identification.
10237
10238 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10239
10240 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10241 and repeats to unlimited.
10242 * gdb.python/py-value.exp: Likewise.
10243 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10244 and repeats to unlimited.
10245
10246 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10247
10248 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10249 and reordering the functions.
10250 * gdb.multi/hangout.c: Likewise.
10251 * gdb.multi/hello.c: Likewise.
10252
10253 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10254
10255 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10256 absolute.
10257 (SingleStatisticTestResult.report): Use dict.keys instead of
10258 dict.iterkeys.
10259
10260 2016-01-06 Pedro Alves <palves@redhat.com>
10261
10262 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10263
10264 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10265
10266 * gdb.btrace/dlopen.exp: New.
10267 * gdb.btrace/dlopen.c: New.
10268 * gdb.btrace/dlopen-dso.c: New.
10269
10270 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10271
10272 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10273 PATTERN argument is optional.
10274
10275 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10276
10277 * lib/ada.exp (target_compile_ada_from_dir): New function.
10278 (gdb_compile_ada): Reimplement avoiding the use of project files.
10279 * gdb.ada/gnat_ada.gpr: Delete.
10280 * gdb.ada/cond_lang.exp: Adjust test to make path before
10281 filename optional.
10282 * gdb.ada/small_reg_param.exp: Likewise.
10283
10284 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10285
10286 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10287
10288 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10289
10290 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10291 case.
10292
10293 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10294
10295 * gdb.base/break.exp: Remove dead code.
10296 * gdb.base/sepdebug.exp: Likewise.
10297
10298 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10299
10300 * gdb.asm/asm-source.exp: Remove HP-UX references.
10301 * gdb.base/annota1.exp: Likewise.
10302 * gdb.base/annota3.exp: Likewise.
10303 * gdb.base/attach.exp: Likewise.
10304 * gdb.base/bigcore.exp: Likewise.
10305 * gdb.base/break.exp: Likewise.
10306 * gdb.base/call-ar-st.exp: Likewise.
10307 * gdb.base/callfuncs.exp: Likewise.
10308 * gdb.base/catch-fork-static.exp: Likewise.
10309 * gdb.base/display.exp: Likewise.
10310 * gdb.base/foll-exec-mode.exp: Likewise.
10311 * gdb.base/foll-exec.exp: Likewise.
10312 * gdb.base/foll-fork.exp: Likewise.
10313 * gdb.base/foll-vfork.exp: Likewise.
10314 * gdb.base/funcargs.exp: Likewise.
10315 * gdb.base/hbreak2.exp: Likewise.
10316 * gdb.base/inferior-died.exp: Likewise.
10317 * gdb.base/interrupt.exp: Likewise.
10318 * gdb.base/multi-forks.exp: Likewise.
10319 * gdb.base/nodebug.exp: Likewise.
10320 * gdb.base/sepdebug.exp: Likewise.
10321 * gdb.base/solib1.c: Likewise.
10322 * gdb.base/step-test.exp: Likewise.
10323 * gdb.mi/non-stop.c: Likewise.
10324 * gdb.mi/pthreads.c: Likewise.
10325 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10326 * gdb.threads/pthreads.c: Likewise.
10327 * gdb.threads/staticthreads.exp: Likewise.
10328 * lib/future.exp: Likewise.
10329 * lib/gdb.exp: Likewise.
10330 * gdb.base/so-indr-cl.c: Remove.
10331 * gdb.base/so-indr-cl.exp: Likewise.
10332 * gdb.base/solib.c: Likewise.
10333 * gdb.base/solib.exp: Likewise.
10334 * gdb.base/solib2.c: Likewise.
10335
10336 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10337
10338 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10339 * gdb.base/call-ar-st.exp: Likewise.
10340 * gdb.base/callfuncs.exp: Likewise.
10341 * gdb.base/condbreak.exp: Likewise.
10342 * gdb.base/constvars.exp: Likewise.
10343 * gdb.base/hbreak2.exp: Likewise.
10344 * gdb.base/langs.exp: Likewise.
10345 * gdb.base/list.exp: Likewise.
10346 * gdb.base/long_long.exp: Likewise.
10347 * gdb.base/ptype.exp: Likewise.
10348 * gdb.base/scope.exp: Likewise.
10349 * gdb.base/signals.exp: Likewise.
10350 * gdb.base/so-impl-ld.exp: Likewise.
10351 * gdb.base/varargs.exp: Likewise.
10352 * gdb.base/volatile.exp: Likewise.
10353 * gdb.base/whatis.exp: Likewise.
10354 * gdb.cp/cplusfuncs.exp: Likewise.
10355 * gdb.cp/inherit.exp: Likewise.
10356 * gdb.cp/local.exp: Likewise.
10357 * gdb.cp/member-ptr.exp: Likewise.
10358 * gdb.cp/method.exp: Likewise.
10359 * gdb.cp/overload.exp: Likewise.
10360 * gdb.cp/templates.exp: Likewise.
10361 * gdb.stabs/weird.exp: Likewise.
10362 * lib/compiler.c: Likewise.
10363 * lib/compiler.cc: Likewise.
10364 * lib/cp-support.exp: Likewise.
10365 * lib/gdb.exp: Likewise.
10366
10367 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10368
10369 * configure.ac: Remove HP-UX case.
10370 * configure: Regenerate.
10371
10372 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10373
10374 * lib/gdb.exp (gdb_compile): Add function doc.
10375
10376 2015-12-17 Pedro Alves <palves@redhat.com>
10377
10378 PR threads/19354
10379 * gdb.multi/info-threads.exp: New file.
10380
10381 2015-12-15 Yao Qi <yao.qi@linaro.org>
10382
10383 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10384 is aarch64*-*-*.
10385
10386 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10387
10388 * gdb.base/history-duplicates.exp: Skip if no readline support.
10389
10390 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10391
10392 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10393
10394 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10395
10396 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10397
10398 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10399
10400 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10401 ctrl-C if nointerrupts target property is set.
10402 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10403 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10404 * gdb.base/paginate-bg-execution.exp: Likewise.
10405 * gdb.base/paginate-execution-startup.exp: Likewise.
10406 * gdb.base/random-signal.exp: Likewise.
10407 * gdb.base/range-stepping.exp: Likewise.
10408 * gdb.cp/annota2.exp: Likewise.
10409 * gdb.cp/annota3.exp: Likewise.
10410 * gdb.gdb/selftest.exp: Likewise.
10411 * gdb.threads/continue-pending-status.exp: Likewise.
10412 * gdb.threads/leader-exit.exp: Likewise.
10413 * gdb.threads/manythreads.exp: Likewise.
10414 * gdb.threads/pthreads.exp: Likewise.
10415 * gdb.threads/schedlock.exp: Likewise.
10416 * gdb.threads/sigthread.exp: Likewise.
10417
10418 2015-12-11 Don Breazeal <donb@codesourcery.com>
10419
10420 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10421 remote.
10422 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10423 * gdb.base/foll-exec.exp (main): Enable for target remote.
10424 * gdb.base/foll-fork.exp (main): Likewise.
10425 * gdb.base/foll-vfork.exp (main): Likewise.
10426 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10427 (proc continue_to_exit_bp_loc): Use clean_restart.
10428 * gdb.base/pie-execl.exp (main): Disable for target remote.
10429 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10430 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10431 * gdb.threads/execl.exp (main): Likewise.
10432 * gdb.threads/fork-child-threads.exp (main): Likewise.
10433 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10434 remote.
10435 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10436 remote.
10437 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10438 pid.tid style ptids, instead of just tid.
10439 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10440 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10441 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10442 ptids, instead of just tid.
10443
10444 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10445
10446 * gdb.base/list.exp (test_list_forward): Add end of file error
10447 test.
10448 (test_repeat_list_command): Add end of file error test.
10449 (test_list_backwards): Add beginning of file error test.
10450
10451 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10452
10453 * gdb.base/list.exp (test_list_invalid_args): New function,
10454 defined, and called.
10455
10456 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10457
10458 * gdb.base/list.exp (test_list): Make test names unique.
10459
10460 2015-12-11 Yao Qi <yao.qi@linaro.org>
10461
10462 * gdb.base/coremaker2.c: Remove.
10463
10464 2015-12-10 Pedro Alves <palves@redhat.com>
10465
10466 * gdb.multi/base.exp: Remove stale "spaces" references.
10467
10468 2015-12-10 Pedro Alves <palves@redhat.com>
10469
10470 * gdb.multi/base.exp: Don't use nowarnings.
10471 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10472 * gdb.multi/hangout.c: Include stdio.h.
10473 * gdb.multi/hello.c: Include stdlib.h.
10474 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10475 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10476 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10477
10478 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10479
10480 * gdb.dwarf2/dw2-ranges-base.c: New file.
10481 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10482 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10483 support additional line table, and debug ranges generation.
10484 (Dwarf::ranges): New function, generate .debug_ranges.
10485 (Dwarf::lines): Support generating simple line table programs.
10486 (Dwarf::assemble): Initialise new namespace variables.
10487
10488 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10489
10490 * gdb.base/async.exp (proc test_background): Add case for
10491 asynchronous execution not supported.
10492
10493 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10494
10495 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10496 format and change test names to make them unique.
10497
10498 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10499 Pedro Alves <pedro@redhat.com>
10500
10501 PR gdb/18702
10502 Add checking of floatformats setup on x86_64 hosts.
10503 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10504 (smallval, bigval): New labels/constants.
10505 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10506 float" after loading bigval and smallval.
10507
10508 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10509
10510 * gdb.ada/fun_overload_menu.exp: New testcase.
10511 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10512
10513 2015-12-04 Josh Stone <jistone@redhat.com>
10514
10515 * gdb.base/catch-fork-static.exp: New.
10516
10517 2015-12-03 Yao Qi <yao.qi@linaro.org>
10518
10519 * gdb.base/sizeof.c: Don't include stdio.h and
10520 ../lib/unbuffer_output.c.
10521 (main): New variable 'size' and 'value'. Remove printf and
10522 gdb_unbuffer_output. Assign return value to size and value.
10523 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10524 at the beginning.
10525 (check_sizeof): Check the result by printing variable 'size'.
10526 (check_valueof): Check the result by printing variable 'value'.
10527
10528 2015-12-01 Yao Qi <yao.qi@linaro.org>
10529
10530 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10531 for aarch64*-*-linux* target.
10532
10533 2015-11-30 Pedro Alves <palves@redhat.com>
10534
10535 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10536
10537 2015-11-30 Pedro Alves <palves@redhat.com>
10538
10539 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10540 Handle non-stop mode vCont replies.
10541
10542 2015-11-30 Pedro Alves <palves@redhat.com>
10543
10544 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10545 prepare_for_testing. Start gdb with "set non-stop on" appended to
10546 GDBFLAGS. Lax expected stop output.
10547
10548 2015-11-27 Yao Qi <yao.qi@linaro.org>
10549
10550 * gdb.arch/arm-neon.exp: New.
10551 * gdb.arch/arm-neon.c: New.
10552
10553 2015-11-27 Yao Qi <yao.qi@linaro.org>
10554
10555 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10556
10557 2015-11-27 Yao Qi <yao.qi@linaro.org>
10558
10559 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10560 frames-invalid annotation.
10561
10562 2015-11-27 Yao Qi <yao.qi@linaro.org>
10563
10564 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10565
10566 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10567
10568 * gdb.threads/names.exp: New file.
10569 * gdb.threads/names.c: New file.
10570 * README: Mention gdb,no_thread_names.
10571
10572 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10573
10574 PR 19297
10575 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10576 support" error.
10577
10578 2015-11-24 Pedro Alves <palves@redhat.com>
10579
10580 PR 17539
10581 * gdb.base/display.exp: Expect displays to be sorted in ascending
10582 order. Use multi_line.
10583 * gdb.base/solib-display.exp: Likewise.
10584
10585 2015-11-24 Pedro Alves <palves@redhat.com>
10586
10587 PR 17539
10588 * gdb.base/display.exp: Expect displays to be sorted in ascending
10589 order. Use multi_line.
10590 * gdb.base/solib-display.exp: Likewise.
10591
10592 2015-11-24 Pedro Alves <palves@redhat.com>
10593
10594 PR 17539
10595 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10596 threads in ascending order.
10597 * gdb.base/foll-fork.exp: Likewise.
10598 * gdb.base/foll-vfork.exp: Likewise.
10599 * gdb.base/multi-forks.exp: Likewise.
10600 * gdb.mi/mi-nonstop.exp: Likewise.
10601 * gdb.mi/mi-nsintrall.exp: Likewise.
10602 * gdb.multi/base.exp: Likewise.
10603 * gdb.multi/multi-arch.exp: Likewise.
10604 * gdb.python/py-inferior.exp: Likewise.
10605 * gdb.threads/break-while-running.exp: Likewise.
10606 * gdb.threads/execl.exp: Likewise.
10607 * gdb.threads/gcore-thread.exp: Likewise.
10608 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10609 * gdb.threads/kill.exp: Likewise.
10610 * gdb.threads/linux-dp.exp: Likewise.
10611 * gdb.threads/multiple-step-overs.exp: Likewise.
10612 * gdb.threads/next-bp-other-thread.exp: Likewise.
10613 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10614 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10615 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10616 * gdb.threads/thread-find.exp: Likewise.
10617 * gdb.threads/tls.exp: Likewise.
10618 * lib/mi-support.exp (mi_reverse_list): Delete.
10619 (mi_check_thread_states): No longer reverse list.
10620
10621 2015-11-24 Pedro Alves <palves@redhat.com>
10622
10623 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10624 use lowercase.
10625
10626 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10627
10628 * gdb.trace/actions.c: Include trace-common.h.
10629 (main): Add a location for a fast tracepoint.
10630 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10631 the normal tracepoints.
10632 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10633
10634 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10635
10636 * save-trace.exp: Factor out code to these...
10637 (gdb_save_tracepoints): New.
10638 (gdb_load_tracepoints): New.
10639 (do_save_load_test): New.
10640
10641 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10642
10643 * gdb.base/asmlabel.exp: New test.
10644 * gdb.base/asmlabel.c: New test case.
10645
10646 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10647
10648 * gdb.base/wrong_frame_bt_full-main.c: New file.
10649 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10650 * gdb.base/wrong_frame_bt_full.exp: New file.
10651
10652 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10653
10654 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10655
10656 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10657
10658 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10659 pstate register when comparing registers values in
10660 sparc64-*-linux-gnu targets to avoid spurious differences.
10661
10662 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10663
10664 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10665
10666 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10667
10668 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10669 as type argument to gdb_compile.
10670 * gdb.base/nested-subp2.exp: Likewise.
10671 * gdb.base/nested-subp3.exp: Likewise.
10672
10673 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10674
10675 * lib/dwarf.exp (_note): Fix left shift of negative value.
10676 * gdb.trace/trace-condition.exp: Likewise.
10677
10678 2015-11-13 Yao Qi <yao.qi@linaro.org>
10679
10680 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10681 comments about d10v.
10682 (test_scalar_returns): Likewise.
10683 * gdb.base/d10v.ld: Remove.
10684 * gdb.base/overlays.exp: Remove the target triplet checking for
10685 d10v-*-*.
10686 * gdb.base/structs.exp (test_struct_returns): Remove the
10687 comments about d10v.
10688 (test_struct_calls): Likewise.
10689
10690 2015-11-13 Yao Qi <yao.qi@linaro.org>
10691
10692 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10693 * gdb.base/gnu_vector.c: Don't include stdio.h.
10694 (main): Don't print res and call add_some_intvecs.
10695
10696 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10697
10698 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10699 macro.
10700 (func5): Removed.
10701 (func4): Use FAST_TRACEPOINT_LABEL.
10702 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10703 macro.
10704 (func): Removed.
10705 (thread_function): Use FAST_TRACEPOINT_LABEL.
10706 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10707 (func): Remove.
10708 (marker): Use FAST_TRACEPOINT_LABEL.
10709 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10710 (pendfunc1): Remove.
10711 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10712 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10713 (foo): Remove.
10714 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10715 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10716 macro.
10717 (func): Remove.
10718 (marker): Use FAST_TRACEPOINT_LABEL.
10719 * gdb.trace/trace-common.h: New header.
10720 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10721 macro.
10722 (func): Remove.
10723 (marker): Use FAST_TRACEPOINT_LABEL.
10724 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10725 (func): Remove.
10726 (thread_function): Use FAST_TRACEPOINT_LABEL.
10727
10728 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10729
10730 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10731 in front.
10732 * gdb.trace/change-loc.exp: Use global pcreg definition.
10733 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10734 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10735 in front.
10736 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10737 * gdb.trace/pending.exp: Likewise.
10738 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10739 * gdb.trace/trace-break.exp: Likewise.
10740 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10741 in front.
10742 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10743 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10744 in front.
10745 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10746
10747 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10748
10749 * gdb.ada/fin_fun_out: New testcase.
10750
10751 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10752
10753 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10754 value associated with DW_AT_byte_size.
10755 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10756 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10757 DW_AT_upper_bound.
10758
10759 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10760
10761 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10762 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10763 version.
10764 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10765 gdb.dwarf2/dw2-canonicalize-type.exp,
10766 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10767 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10768 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10769 provided by gdb_target_symbol_prefix_flags_asm.
10770 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10771 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10772 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10773 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10774 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10775 macros where needed). Use this macro for symbols which require
10776 the prefix provided by SYMBOL_PREFIX.
10777
10778 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10779
10780 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10781 New procs.
10782 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10783 representing expressions, of more than one list element.
10784 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10785 to prepend linker symbol prefix to f.
10786 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10787 table_1 and table_2.
10788 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10789 Likewise, for f and g.
10790 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10791 for ptr.
10792 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10793 for main.
10794 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10795 table_1_ptr and table_2_ptr.
10796
10797 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10798 Joel Brobecker <brobecker@adacore.com>
10799
10800 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10801
10802 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10803
10804 * gdb.reverse/s390-mvcle.c: New test.
10805 * gdb.reverse/s390-mvcle.exp: New file.
10806 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10807
10808 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10809
10810 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10811
10812 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10813
10814 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10815 reaching marker2.
10816 * gdb.reverse/getresuid-reverse.exp: Likewise.
10817 * gdb.reverse/pipe-reverse.exp: Likewise.
10818 * gdb.reverse/readv-reverse.exp: Likewise.
10819 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10820 * gdb.reverse/time-reverse.exp: Likewise.
10821 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10822
10823 2015-10-30 Yao Qi <yao.qi@linaro.org>
10824
10825 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10826 (empty_cycle): Remove.
10827 (main): Don't call empty_cycle. Don't use watch_count_done.
10828 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10829 empty_cycle. Rewrite the code counting HW watchpoints.
10830
10831 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10832
10833 * gdb.reverse/fstatat-reverse.c: New test.
10834 * gdb.reverse/fstatat-reverse.exp: New file.
10835 * gdb.reverse/getresuid-reverse.c: New test.
10836 * gdb.reverse/getresuid-reverse.exp: New file.
10837 * gdb.reverse/pipe-reverse.c: New test.
10838 * gdb.reverse/pipe-reverse.exp: New file.
10839 * gdb.reverse/readv-reverse.c: New test.
10840 * gdb.reverse/readv-reverse.exp: New file.
10841 * gdb.reverse/recvmsg-reverse.c: New test.
10842 * gdb.reverse/recvmsg-reverse.exp: New file.
10843 * gdb.reverse/time-reverse.c: New test.
10844 * gdb.reverse/time-reverse.exp: New file.
10845 * gdb.reverse/waitpid-reverse.c: New test.
10846 * gdb.reverse/waitpid-reverse.exp: New file.
10847
10848 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10849
10850 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10851
10852 2015-10-26 Doug Evans <dje@google.com>
10853
10854 PR symtab/17391
10855 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10856 * gdb.dwarf2/bad-regnum.c: New file.
10857 * gdb.dwarf2/bad-regnum.exp: New file.
10858
10859 2015-10-26 Doug Evans <dje@google.com>
10860
10861 PR python/18938
10862 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10863 file.
10864
10865 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10866
10867 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10868 for a change by "Mention language in compile error message".
10869
10870 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10871
10872 PR python/18073
10873 * gdb.python/py-type.c (C::a_method): New.
10874 (C::a_const_method): New.
10875 (C::a_static_method): New.
10876 (a_function): New.
10877 * gdb.python/py-type.exp (test_fields): Test getting fields
10878 from function and method.
10879
10880 2015-10-21 Keven Boell <keven.boell@intel.com>
10881
10882 * gdb.fortran/vla-alloc-assoc.exp: New file.
10883 * gdb.fortran/vla-datatypes.exp: New file.
10884 * gdb.fortran/vla-datatypes.f90: New file.
10885 * gdb.fortran/vla-history.exp: New file.
10886 * gdb.fortran/vla-ptype-sub.exp: New file.
10887 * gdb.fortran/vla-ptype.exp: New file.
10888 * gdb.fortran/vla-sizeof.exp: New file.
10889 * gdb.fortran/vla-sub.f90: New file.
10890 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10891 * gdb.fortran/vla-value-sub-finish.exp: New file.
10892 * gdb.fortran/vla-value-sub.exp: New file.
10893 * gdb.fortran/vla-value.exp: New file.
10894 * gdb.fortran/vla-ptr-info.exp: New file.
10895 * gdb.mi/mi-vla-fortran.exp: New file.
10896 * gdb.mi/vla.f90: New file.
10897
10898 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10899
10900 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10901 of hardwired timeout value.
10902
10903 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10904 Pedro Alves <palves@redhat.com>
10905
10906 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10907 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10908
10909 2015-10-19 Josh Stone <jistone@redhat.com>
10910
10911 * gdb.base/catch-syscall.c: Include <sched.h>.
10912 (unknown_syscall): New variable.
10913 (main): Trigger a vfork and an unknown syscall.
10914 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10915 (unknown_syscall_number): Likewise.
10916 (check_call_to_syscall): Accept an optional syscall pattern.
10917 (check_return_from_syscall): Likewise.
10918 (check_continue): Likewise.
10919 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10920 (test_catch_syscall_skipping_return): New test toggling off 'catch
10921 syscall' to step over the syscall return, then toggling back on.
10922 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10923 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10924 (do_syscall_tests): Call test_catch_syscall_without_args and
10925 test_catch_syscall_mid_vfork.
10926 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10927 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10928
10929 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10930
10931 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10932 print g_vE): Add new pass patterns.
10933 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10934 print various symbol names for vptr fields.
10935
10936 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10937
10938 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10939 results.
10940
10941 2015-10-12 Yao Qi <yao.qi@linaro.org>
10942
10943 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10944
10945 2015-10-12 Yao Qi <yao.qi@linaro.org>
10946
10947 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10948 is aarch64*-*-linux*.
10949
10950 2015-10-12 Yao Qi <yao.qi@linaro.org>
10951
10952 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10953 (can_relocate_bcond_true): ... it.
10954 (can_relocate_bcond_false): New function.
10955 (foo): Likewise.
10956 (can_relocate_bl): Likewise.
10957 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10958 can_relocate_bl.
10959
10960 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10961
10962 * gdb.base/nested-addr.c: New file.
10963 * gdb.base/nested-addr.exp: New testcase.
10964
10965 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10966
10967 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10968 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10969 its output. Ignore the output of "record goto begin" and instead
10970 check that GDB is replaying.
10971
10972 2015-10-09 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10975 (top level): Use it in the run with no args test.
10976
10977 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10978
10979 * gdb.dlang/properties.exp: New file.
10980
10981 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10982
10983 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10984 whether or not address 0x1000 is mapped on the target.
10985
10986 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10987
10988 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10989 build.
10990
10991 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10992
10993 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10994 instruction-history test.
10995
10996 2015-09-28 Doug Evans <dje@google.com>
10997
10998 * gdb.base/gcore.c (array_func): Add reference to static_array.
10999
11000 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11001
11002 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11003 source line.
11004
11005 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11006
11007 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11008 short or char as base type.
11009
11010 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11011
11012 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11013 to allow any size enum.
11014
11015 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11016
11017 * gdb.ada/array_ptr_renaming.exp: New testcase.
11018 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11019 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11020
11021 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11022
11023 * gdb.trace/ftrace-lock.c: New file.
11024 * gdb.trace/ftrace-lock.exp: New file.
11025
11026 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11027
11028 * gdb.arch/insn-reloc.c: New file.
11029 * gdb.arch/ftrace-insn-reloc.exp: New file.
11030
11031 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11032
11033 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11034 instruction.
11035 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11036 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11037 * gdb.trace/range-stepping.c: Likewise.
11038 * gdb.trace/trace-break.c: Likewise.
11039 * gdb.trace/trace-mt.c (thread_function): Likewise.
11040 * gdb.trace/ftrace.c (marker): Likewise.
11041 * gdb.trace/trace-condition.c (marker): Likewise.
11042 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11043 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11044 is_aarch64_target.
11045
11046 2015-09-18 Doug Evans <xdje42@gmail.com>
11047
11048 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11049 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11050
11051 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11052
11053 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11054 the breakpoint.
11055
11056 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11057
11058 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11059 the pending breakpoint. Remove timeout override for "Run till
11060 MI pending breakpoint on pendfunc3 on thread 2" test.
11061
11062 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11063
11064 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11065 filename pattern.
11066
11067 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11068
11069 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11070 in breakpoint filename pattern.
11071
11072 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11073
11074 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11075
11076 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11077
11078 * gdb.linespec/explicit.exp: Check for readline support for
11079 tab-completion tests. Fix obvious typo.
11080
11081 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11082
11083 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11084 and replay.
11085
11086 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11087
11088 * gdb.btrace/non-stop.c: New.
11089 * gdb.btrace/non-stop.exp: New.
11090
11091 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11092 Yao Qi <yao.qi@linaro.org>
11093
11094 * gdb.trace/trace-condition.c: New file.
11095 * gdb.trace/trace-condition.exp: New file.
11096
11097 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11098
11099 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11100 for testing bytecode compilation.
11101
11102 2015-09-16 Pedro Alves <palves@redhat.com>
11103 Sandra Loosemore <sandra@codesourcery.com>
11104
11105 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11106 (SECONDS): Redefine.
11107 (main): Call pthread_kill and alarm early.
11108 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11109 support.
11110 (test): If the target can't hardware step and doesn't support
11111 displaced stepping, increase the timeout.
11112
11113 2015-09-16 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11116 (enable_debug): New procedures.
11117 (test): Use them. Bail out if waiting for threads fails.
11118 (top level): Bail out if a test fails.
11119
11120 2015-09-16 Yao Qi <yao.qi@linaro.org>
11121
11122 * gdb.asm/asm-source.exp: Set asm-arch for
11123 aarch64*-*-* target.
11124 * gdb.asm/aarch64.inc: New file.
11125
11126 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11127
11128 * gdb.ada/array_of_variable_length.exp: New testcase.
11129 * gdb.ada/array_of_variable_length/foo.adb: New file.
11130 * gdb.ada/array_of_variable_length/pck.adb: New file.
11131 * gdb.ada/array_of_variable_length/pck.ads: New file.
11132
11133 2015-09-15 Doug Evans <dje@google.com>
11134
11135 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11136 of function static local variable.
11137
11138 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11139
11140 * gdb.threads/tls-so_extern.exp: New test file.
11141 * gdb.threads/tls-so_extern.c: New test file.
11142 * gdb.threads/tls-so_extern_main.c: New test file.
11143
11144 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11145
11146 * gdb.opt/solib-intra-step-lib.c: New file.
11147 * gdb.opt/solib-intra-step-main.c: New file.
11148 * gdb.opt/solib-intra-step.exp: New file.
11149
11150 2015-09-15 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11153 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11154
11155 2015-09-14 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.base/hook-stop-continue.c: Delete.
11158 * gdb.base/hook-stop-continue.exp: Delete.
11159 * gdb.base/hook-stop-frame.c: Delete.
11160 * gdb.base/hook-stop-frame.exp: Delete.
11161 * gdb.base/hook-stop.c: New file.
11162 * gdb.base/hook-stop.exp: New file.
11163
11164 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11165
11166 * gdb.ada/access_to_packed_array.exp: New testcase.
11167 * gdb.ada/access_to_packed_array/foo.adb: New file.
11168 * gdb.ada/access_to_packed_array/pack.adb: New file.
11169 * gdb.ada/access_to_packed_array/pack.ads: New file.
11170
11171 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11172
11173 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11174 buffer size test.
11175
11176 2015-09-11 Don Breazeal <donb@codesourcery.com>
11177
11178 * gdb.base/foll-exec.c: Add copyright header. Fix
11179 formatting issues.
11180 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11181 (do_exec_tests): Use clean_restart in place of zap_session,
11182 and for test initialization. Fix formatting issues. Use
11183 fail in place of perror.
11184 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11185 an expect statement to match an expression with output from
11186 the program under debug.
11187 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11188 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11189 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11190 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11191 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11192
11193 2015-09-09 Doug Evans <dje@google.com>
11194
11195 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11196
11197 2015-09-09 Doug Evans <dje@google.com>
11198
11199 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11200
11201 2015-09-09 Doug Evans <dje@google.com>
11202
11203 * gdb.base/savedregs.exp: Fix typo.
11204
11205 2015-09-09 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11208
11209 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11210
11211 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11212 command actually switches threads. Give up on remaining
11213 tests if target fails to stop at breakpoint.
11214
11215 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11216
11217 * gdb.ada/funcall_char.exp: New testcase.
11218 * gdb.ada/funcall_char/foo.adb: New file.
11219
11220 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11221
11222 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11223 expected outputs. Add two testcases for completing ambiguous
11224 functions.
11225 * gdb.ada/complete/aux_pck.adb: New file.
11226 * gdb.ada/complete/aux_pck.ads: New file.
11227 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11228 Ambiguous_Func functions.
11229 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11230 * gdb.ada/complete/pck.adb: Likewise.
11231
11232 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11233
11234 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11235 failures to run the test program under GDB.
11236
11237 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11238
11239 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11240 to C.
11241
11242 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11243
11244 * gdb.base/run-after-attach.exp: New test file.
11245 * gdb.base/run-after-attach.c: New test file.
11246
11247 2015-08-26 Don Breazeal <donb@codesourcery.com>
11248
11249 * gdb.base/foll-exec-2.c: New test program.
11250 * gdb.base/foll-exec-2.exp: New test.
11251
11252 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11253
11254 * gdb.base/nested-subp1.exp: New file.
11255 * gdb.base/nested-subp1.c: New file.
11256 * gdb.base/nested-subp2.exp: New file.
11257 * gdb.base/nested-subp2.c: New file.
11258 * gdb.base/nested-subp3.exp: New file.
11259 * gdb.base/nested-subp3.c: New file.
11260
11261 2015-08-24 Pedro Alves <palves@redhat.com>
11262
11263 * gdb.server/connect-without-multi-process.c: New file.
11264 * gdb.server/connect-without-multi-process.exp: New file.
11265
11266 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11267
11268 * gdb.opt/inline-markers.c: Make z int.
11269
11270 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11271
11272 * gdb.opt/inline-markers.c: Make z volatile.
11273
11274 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11275
11276 * gdb.opt/inline-bt.c: New volatile global z.
11277 * gdb.opt/inline-cmds.c: Likewise.
11278 * gdb.opt/inline-locals.c: Likewise.
11279 * gdb.opt/inline-markers.c: New extern global z.
11280 (marker): Use z.
11281 (inline_fn): Likewise.
11282
11283 2015-08-24 Pedro Alves <palves@redhat.com>
11284
11285 * config/m32r-stub.exp: Remove file.
11286 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11287 * gdb.base/call-rt-st.exp: Likewise.
11288 * gdb.base/call-strs.exp: Likewise.
11289 * gdb.base/default.exp: Remove references to h8300-*-hms and
11290 *-*-udi*.
11291 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11292
11293 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11294
11295 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11296 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11297 and "return" use KFAIL when GDB can not read/write the vector
11298 return value.
11299
11300 2015-08-21 Gary Benson <gbenson@redhat.com>
11301
11302 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11303
11304 2015-08-20 Pedro Alves <palves@redhat.com>
11305
11306 * gdb.server/solib-list.exp: No longer expect an interior stop in
11307 non-stop mode.
11308
11309 2015-08-20 Pedro Alves <palves@redhat.com>
11310
11311 * gdb.server/connect-stopped-target.c: New file.
11312 * gdb.server/connect-stopped-target.exp: New file.
11313
11314 2015-08-20 Pedro Alves <palves@redhat.com>
11315
11316 * gdb.dwarf2/comp-unit-lang.exp: New file.
11317 * gdb.dwarf2/comp-unit-lang.c: New file.
11318
11319 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11320
11321 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11322 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11323
11324 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11325
11326 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11327 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11328
11329 2015-08-18 Doug Evans <dje@google.com>
11330 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11331
11332 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11333 skip_python_tests. New arg prompt_regexp.
11334 (skip_python_tests): New function.
11335 * lib/mi-support.exp (mi_skip_python_tests): New function.
11336 * gdb.python/py-mi-objfile-gdb.py: New file.
11337 * gdb.python/py-mi-objfile.c: New file.
11338 * gdb.python/py-mi-objfile.exp: New file.
11339
11340 2015-08-17 Keith Seitz <keiths@redhat.com>
11341
11342 * gdb.linespec/explicit.exp: Move strace test from here ...
11343 * gdb.trace/strace.exp: ... to here.
11344
11345 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11346
11347 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11348 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11349
11350 2015-08-14 Doug Evans <xdje42@gmail.com>
11351
11352 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11353 inferior before selecting a new file.
11354
11355 2015-08-14 Doug Evans <xdje42@gmail.com>
11356
11357 * gdb.mi/mi-disassemble.exp: Update.
11358 * gdb.base/disasm-optim.S: New file.
11359 * gdb.base/disasm-optim.c: New file.
11360 * gdb.base/disasm-optim.h: New file.
11361 * gdb.base/disasm-optim.exp: New file.
11362
11363 2015-08-14 Keith Seitz <keiths@redhat.com>
11364
11365 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11366 "evaluated-by".
11367
11368 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11369
11370 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11371
11372 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11373
11374 * gdb.ada/fun_renaming.exp: New testcase.
11375 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11376 * gdb.ada/fun_renaming/pack.adb: New file.
11377 * gdb.ada/fun_renaming/pack.ads: New file.
11378
11379 2015-08-12 Keith Seitz <keiths@redhat.com>
11380
11381 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11382 gdb_get_line_number.
11383
11384 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11385
11386 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11387 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11388 gdb.base/dso2dso.exp: New files.
11389
11390 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11391 Pedro Alves <palves@redhat.com>
11392 Keith Seitz <keiths@redhat.com>
11393
11394 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11395 GDBFLAGS.
11396
11397 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11398
11399 * gdb.base/gdbhistsize-history.exp
11400 (test_histsize_history_setting): Use save_vars.
11401 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11402 Use save_vars.
11403 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11404 * gdb.base/readline.exp: Use save_vars.
11405
11406 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11407
11408 * lib/gdb.exp (save_vars): New proc.
11409
11410 2015-08-11 Keith Seitz <keiths@redhat.com>
11411
11412 * gdb.base/help.exp: Update help_breakpoint_text.
11413
11414 2015-08-11 Keith Seitz <keiths@redhat.com>
11415
11416 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11417 (at toplevel): Call test_explicit_breakpoints.
11418 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11419 breakpoints.
11420 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11421 breakpoint conditions, "-cond".
11422
11423 2015-08-11 Keith Seitz <keiths@redhat.com>
11424
11425 * gdb.linespec/3explicit.c: New file.
11426 * gdb.linespec/cpexplicit.cc: New file.
11427 * gdb.linespec/cpexplicit.exp: New file.
11428 * gdb.linespec/explicit.c: New file.
11429 * gdb.linespec/explicit.exp: New file.
11430 * gdb.linespec/explicit2.c: New file.
11431 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11432 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11433 before using in the matching pattern.
11434 Clarify that `prefix' is a regular expression.
11435
11436 2015-08-11 Keith Seitz <keiths@redhat.com>
11437
11438 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11439 test.
11440 Add tests for missing ",FMT" and ",".
11441
11442 2015-08-10 Doug Evans <dje@google.com>
11443 Keith Seitz <keiths@redhat.com>
11444
11445 PR gdb/17960
11446 * gdb.base/completion.exp: Add location completer tests.
11447
11448 2015-08-07 Pedro Alves <palves@redhat.com>
11449
11450 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11451 tests here.
11452 (top level): Run do_test with and without displaced stepping.
11453
11454 2015-08-07 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.base/valgrind-disp-step.c: New file.
11457 * gdb.base/valgrind-disp-step.exp: New file.
11458
11459 2015-08-07 Pedro Alves <palves@redhat.com>
11460
11461 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11462 Delete function.
11463 (main): Add alarm. Run an infinite loop instead of calling
11464 wait_threads.
11465 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11466 comment.
11467 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11468 Delete function.
11469 (main): Add alarm. Run an infinite loop instead of calling
11470 wait_threads.
11471 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11472 comment.
11473
11474 2015-08-07 Pedro Alves <palves@redhat.com>
11475
11476 * gdb.base/checkpoint-ns.exp: New file.
11477 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11478 standard_testfile.
11479
11480 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11481
11482 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11483 * gdb.btrace/instruction_history.exp: Update.
11484 * gdb.btrace/tsx.exp: New.
11485 * gdb.btrace/tsx.c: New.
11486
11487 2015-08-06 Pedro Alves <palves@redhat.com>
11488
11489 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11490 increase timeout.
11491 * gdb.reverse/until-precsave.exp: Bump timeouts.
11492
11493 2015-08-06 Pedro Alves <palves@redhat.com>
11494
11495 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11496
11497 2015-08-06 Pedro Alves <palves@redhat.com>
11498
11499 PR gdb/18749
11500 * gdb.threads/process-dies-while-handling-bp.c: New file.
11501 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11502
11503 2015-08-06 Pedro Alves <palves@redhat.com>
11504
11505 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11506 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11507
11508 2015-08-05 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11511 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11512
11513 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11514
11515 * gdb.base/bp-permanent.exp: Report test as unsupported if
11516 the target cannot stop at the permanent breakpoint.
11517
11518 2015-08-03 Doug Evans <dje@google.com>
11519
11520 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11521 10000.
11522
11523 2015-08-03 Doug Evans <dje@google.com>
11524
11525 * Makefile.in (workers/%.worker, build-perf): New rule.
11526 (GDB_PERFTEST_MODE): New variable.
11527 (check-perf): Use it.
11528 (clean): Clean up gdb.perf parallel build subdirs.
11529 * lib/build-piece.exp: New file.
11530 * lib/gdb.exp (make_gdb_parallel_path): New function
11531 (standard_output_file, standard_temp_file): Call it.
11532 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11533 of $GDB_PARALLEL.
11534 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11535
11536 2015-08-03 Doug Evans <dje@google.com>
11537
11538 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11539 (LOG_FILE_NAME): New global.
11540 (TextReporter.__init__): Initialize self.txt_sum.
11541 (TextReporter.report): Add support for multiple data-points.
11542 Move report to perftest.sum, put raw data in perftest.log.
11543 (TextReporter.start): Open sum and log files.
11544 (TextReporter.end): Close sum and log files.
11545 * gdb.perf/lib/perftest/testresult.py
11546 (SingleStatisticTestResult.record): Handle multiple data-points.
11547
11548 2015-07-31 Pedro Alves <palves@redhat.com>
11549
11550 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11551 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11552 kill_wait_spawned_process instead of explicit "kill -9".
11553 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11554 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11555 kill_wait_spawned_process.
11556 * gdb.base/attach-twice.exp: Likewise.
11557 * gdb.base/attach.exp: Likewise.
11558 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11559 gdb_test_multiple.
11560 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11561 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11562 kill_wait_spawned_process.
11563 * gdb.base/valgrind-infcall.exp: Likewise.
11564 * gdb.multi/multi-attach.exp: Likewise.
11565 * gdb.python/py-prompt.exp: Likewise.
11566 * gdb.python/py-sync-interp.exp: Likewise.
11567 * gdb.server/ext-attach.exp: Likewise.
11568 * gdb.threads/attach-into-signal.exp (corefunc): Use
11569 spawn_wait_for_attach, spawn_id_get_pid and
11570 kill_wait_spawned_process.
11571 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11572 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11573 spawn_id_get_pid and kill_wait_spawned_process.
11574 * gdb.threads/attach-stopped.exp (corefunc): Use
11575 spawn_wait_for_attach, spawn_id_get_pid and
11576 kill_wait_spawned_process.
11577 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11578 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11579 kill_wait_spawned_process instead of explicit "kill -9".
11580 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11581 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11582 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11583 processes. Don't map cygwin/windows pids here. Now returns a
11584 spawn id list.
11585
11586 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11587
11588 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11589 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11590 correct patch.
11591
11592 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11593
11594 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11595
11596 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11597
11598 Reapply:
11599 2014-05-21 Mark Wielaard <mjw@redhat.com>
11600
11601 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11602
11603 2015-07-30 Pedro Alves <palves@redhat.com>
11604
11605 * linux-low.c (handle_extended_wait): Set the child's last
11606 reported status to TARGET_WAITKIND_STOPPED.
11607
11608 2015-07-30 Pedro Alves <palves@redhat.com>
11609
11610 PR threads/18600
11611 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11612 only shows inferior 1.
11613
11614 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11615 Pedro Alves <palves@redhat.com>
11616
11617 PR threads/18600
11618 * gdb.threads/fork-plus-threads.c: New file.
11619 * gdb.threads/fork-plus-threads.exp: New file.
11620
11621 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11622
11623 * gdb.base/batch-preserve-term-settings.exp
11624 (test_terminal_settings_preserved_after_cli_exit): Use
11625 send_quit_command.
11626
11627 2015-07-29 Pedro Alves <palves@redhat.com>
11628 Don Breazeal <donb@codesourcery.com>
11629
11630 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11631 output from both inferior_spawn_id and gdb_spawn_id.
11632
11633 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11634
11635 * gdb.threads/attach-into-signal.exp (corefunc): Use
11636 with_test_prefix on nested loops, uniquefying the test messages.
11637
11638 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11639
11640 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11641 commit.
11642
11643 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11644
11645 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11646 New proc.
11647 (test_terminal_settings_preserved_after_sigterm): New test.
11648
11649 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11650
11651 * gdb.base/batch-preserve-term-settings.exp
11652 (test_terminal_settings_preserved_after_cli_exit): New test.
11653
11654 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11655
11656 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11657 manipulation of saved_gdbflags.
11658 (test_terminal_settings_preserved): Remove global declaration of
11659 the unused variable pagination_prompt. Remove manipulation of
11660 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11661 GDBFLAGS.
11662
11663 2015-07-29 Pedro Alves <palves@redhat.com>
11664
11665 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11666
11667 2015-07-29 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11670 at the top.
11671
11672 2015-07-29 Pedro Alves <palves@redhat.com>
11673
11674 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11675 (main): Call gdb_unbuffer_output.
11676 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11677 (main): Call gdb_unbuffer_output.
11678 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11679 (main): Call gdb_unbuffer_output.
11680 * gdb.base/call-strs.exp: Adjust to step over the
11681 gdb_unbuffer_output call.
11682 * gdb.base/catch-gdb-caused-signals.c: Include
11683 "../lib/unbuffer_output.c".
11684 (main): Call gdb_unbuffer_output.
11685 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11686 (main): Call gdb_unbuffer_output.
11687 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11688 (main): Call gdb_unbuffer_output.
11689 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11690 (main): Call gdb_unbuffer_output.
11691 * gdb.base/shlib-call.exp: Adjust to step over the
11692 gdb_unbuffer_output call.
11693 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11694 (main): Call gdb_unbuffer_output.
11695 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11696 (main): Call gdb_unbuffer_output.
11697 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11698 (main): Rename to ...
11699 (test): ... this.
11700 (main): Reimplement.
11701 * gdb.base/varargs.exp: Run to test instead of to main.
11702 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11703 (main): Call gdb_unbuffer_output.
11704
11705 2015-07-29 Pedro Alves <palves@redhat.com>
11706
11707 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11708 factore out from mi_continue_dprintf. For call-style dprintfs,
11709 expect dprintf output out of $inferior_spawn_id.
11710 (mi_continue_dprintf): Use mi_expect_dprintf.
11711 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11712 (main): Call gdb_unbuffer_output.
11713
11714 2015-07-29 Pedro Alves <palves@redhat.com>
11715
11716 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11717 (default_mi_gdb_start): Set inferior_spawn_id instead of
11718 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11719 gdb_spawn_id.
11720 (mi_gdb_test): Always expect inferior output from both
11721 $inferior_spawn_id and $gdb_spawn_id.
11722
11723 2015-07-29 Pedro Alves <palves@redhat.com>
11724
11725 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11726 send_inferior and $inferior_spawn_id.
11727
11728 2015-07-29 Pedro Alves <palves@redhat.com>
11729
11730 * gdb.gdb/complaints.exp (test_initial_complaints)
11731 (test_serial_complaints, test_short_complaints): Use
11732 gdb_test_stdio.
11733 (test_empty_complaint): Handle $inferior_spawn_id !=
11734 $gdb_spawn_id.
11735
11736 2015-07-29 Pedro Alves <palves@redhat.com>
11737
11738 * gdb.base/varargs.exp: Use gdb_test_stdio.
11739
11740 2015-07-29 Pedro Alves <palves@redhat.com>
11741
11742 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11743
11744 2015-07-29 Pedro Alves <palves@redhat.com>
11745
11746 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11747
11748 2015-07-29 Pedro Alves <palves@redhat.com>
11749
11750 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11751 parameter into two new parameters, "inf_result" and "gdb_result".
11752 Expect inferior output and gdb output from $inferior_spawn_id and
11753 $gdb_spawn_id, respectively. Adjust all callers.
11754
11755 2015-07-29 Pedro Alves <palves@redhat.com>
11756
11757 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11758 of gdb_test_sequence.
11759
11760 2015-07-29 Pedro Alves <palves@redhat.com>
11761
11762 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11763 (saw_spurious_output): Expect inferior output from
11764 $inferior_spawn_id. Use gdb_test_stdio.
11765
11766 2015-07-29 Pedro Alves <palves@redhat.com>
11767
11768 * gdb.base/dprintf.exp: Use standard_testfile. Change
11769 prepare_for_testing call.
11770 (srcfile): Don't set.
11771 (restart): New procedure.
11772 (test_dprintf): New procecure, use to continue over dprintfs.
11773 (test_call, test_agent): New procedures, tests moved here.
11774 Restart gdb and recreate dprintfs. Adjust expected output.
11775
11776 2015-07-29 Pedro Alves <palves@redhat.com>
11777
11778 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11779
11780 2015-07-29 Pedro Alves <palves@redhat.com>
11781
11782 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11783
11784 2015-07-29 Pedro Alves <palves@redhat.com>
11785
11786 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11787 gdb_test_stdio.
11788
11789 2015-07-29 Pedro Alves <palves@redhat.com>
11790
11791 * lib/gdb.exp (gdb_test_stdio): New procedure.
11792
11793 2015-07-29 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11796
11797 2015-07-29 Pedro Alves <palves@redhat.com>
11798
11799 * gdb.base/call-signal-resume.exp: Remove check for
11800 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11801 * gdb.base/unwindonsignal.exp: Likewise.
11802 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11803 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11804
11805 2015-07-29 Pedro Alves <palves@redhat.com>
11806
11807 * gdb.base/siginfo-addr.c (pass): New function.
11808 (handler): Call it iff si_addr is correct.
11809 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11810 Set a breakpoint at "pass" and continue to it.
11811
11812 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11813
11814 * gdb.python/py-objfile.exp: Make some tests have unique names.
11815 * gdb.python/py-pp-registration.exp: Likewise.
11816
11817 2015-07-28 Pedro Alves <palves@redhat.com>
11818
11819 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11820
11821 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11822
11823 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11824
11825 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11826
11827 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11828
11829 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11830
11831 * gdb.base/gdb-sigterm-2.exp: New test.
11832
11833 2015-07-25 Doug Evans <xdje42@gmail.com>
11834
11835 Revert:
11836 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11837 (workers/%.worker, build-perf): New rule.
11838 (GDB_PERFTEST_MODE): New variable.
11839 (check-perf): Use it.
11840 (clean): Clean up gdb.perf parallel build subdirs.
11841 * lib/build-piece.exp: New file.
11842 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11843 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11844 name.
11845 (standard_temp_file): Ditto.
11846 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11847 of $GDB_PARALLEL.
11848
11849 2015-07-24 Doug Evans <dje@google.com>
11850
11851 * gdb.perf/lib/perftest/utils.py: New file.
11852 * gdb.perf/gm-hello.cc: New file.
11853 * gdb.perf/gm-pervasive-typedef.cc: New file.
11854 * gdb.perf/gm-pervasive-typedef.h: New file.
11855 * gdb.perf/gm-std.cc: New file.
11856 * gdb.perf/gm-std.h: New file.
11857 * gdb.perf/gm-use-cerr.cc: New file.
11858 * gdb.perf/gm-utils.h: New file.
11859 * gdb.perf/gmonster-null-lookup.py: New file.
11860 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11861 * gdb.perf/gmonster-print-cerr.py: New file.
11862 * gdb.perf/gmonster-ptype-string.py: New file.
11863 * gdb.perf/gmonster-runto-main.py: New file.
11864 * gdb.perf/gmonster-select-file.py: New file.
11865 * gdb.perf/gmonster1-null-lookup.exp: New file.
11866 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11867 * gdb.perf/gmonster1-print-cerr.exp: New file.
11868 * gdb.perf/gmonster1-ptype-string.exp: New file.
11869 * gdb.perf/gmonster1-runto-main.exp: New file.
11870 * gdb.perf/gmonster1-select-file.exp: New file.
11871 * gdb.perf/gmonster1.cc: New file.
11872 * gdb.perf/gmonster1.exp: New file.
11873 * gdb.perf/gmonster2-null-lookup.exp: New file.
11874 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11875 * gdb.perf/gmonster2-print-cerr.exp: New file.
11876 * gdb.perf/gmonster2-ptype-string.exp: New file.
11877 * gdb.perf/gmonster2-runto-main.exp: New file.
11878 * gdb.perf/gmonster2-select-file.exp: New file.
11879 * gdb.perf/gmonster2.cc: New file.
11880 * gdb.perf/gmonster2.exp: New file.
11881
11882 2015-07-24 Doug Evans <dje@google.com>
11883
11884 * gdb.perf/README: New file.
11885 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11886 * lib/gen-perf-test.exp: New file.
11887
11888 2015-07-24 Doug Evans <dje@google.com>
11889
11890 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11891 (PerfTest::startup): New function.
11892 (PerfTest::run): Return result of calling body.
11893 (PerfTest::assemble): Rewrite.
11894 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11895 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11896 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11897 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11898 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11899
11900 2015-07-24 Doug Evans <dje@google.com>
11901
11902 * lib/gdb.exp (clean_restart): Make executable optional.
11903
11904 2015-07-24 Doug Evans <dje@google.com>
11905
11906 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11907 compiler_info references.
11908 * gdb.cp/temargs.exp: Ditto.
11909 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11910 (get_compiler_info): Early exit if already computed. Set compiler_info
11911 to "unknown" if there was a problem.
11912 (test_compiler_info): Add function comment. Call get_compiler_info.
11913
11914 2015-07-24 Doug Evans <dje@google.com>
11915
11916 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11917 (workers/%.worker, build-perf): New rule.
11918 (GDB_PERFTEST_MODE): New variable.
11919 (check-perf): Use it.
11920 (clean): Clean up gdb.perf parallel build subdirs.
11921 * lib/build-piece.exp: New file.
11922 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11923 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11924 name.
11925 (standard_temp_file): Ditto.
11926 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11927 of $GDB_PARALLEL.
11928
11929 2015-07-24 Doug Evans <dje@google.com>
11930
11931 * lib/future.exp (gdb_default_target_compile): New option
11932 "early_flags".
11933 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11934 --as-needed.
11935
11936 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11937
11938 * gdb.base/catch-syscall.exp: Call gdb_exit before
11939 gdb_skip_xml_test.
11940
11941 2015-07-24 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.python/py-events.exp: Accept output between the stop event
11944 and the prompt.
11945 * gdb.python/py-evsignal.exp: Likewise.
11946 * gdb.python/py-evthreads.exp: Likewise.
11947
11948 2015-07-24 Pedro Alves <palves@redhat.com>
11949
11950 PR gdb/18717
11951 * gdb.threads/non-ldr-exit.c: New file.
11952 * gdb.threads/non-ldr-exit.exp: New file.
11953
11954 2015-07-24 Yao Qi <yao.qi@linaro.org>
11955
11956 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11957 restarting process.
11958
11959 2015-07-24 Yao Qi <yao.qi@linaro.org>
11960
11961 * gdb.server/ext-restart.exp: New file.
11962
11963 2015-07-24 Yao Qi <yao.qi@linaro.org>
11964
11965 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11966 argument options.
11967 * gdb.server/ext-wrapper.exp: New file.
11968
11969 2015-07-23 Doug Evans <dje@google.com>
11970
11971 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11972 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11973
11974 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11975
11976 * gdb.ada/var_arr_typedef.exp: New testcase.
11977 * gdb.ada/var_arr_typedef/pack.adb: New file.
11978 * gdb.ada/var_arr_typedef/pack.ads: New file.
11979 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11980
11981 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11982
11983 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11984
11985 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11986
11987 * gdb.arch/i386-biarch-core.exp: Replace istarget
11988 by "complete set gnutarget". Remove expectation for the "core-file"
11989 command.
11990
11991 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11992
11993 Revert the previous commit:
11994 Tests for validate symbol file using build-id.
11995
11996 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11997
11998 Tests for validate symbol file using build-id.
11999 * gdb.base/solib-mismatch-lib.c: New file.
12000 * gdb.base/solib-mismatch-libmod.c: New file.
12001 * gdb.base/solib-mismatch.c: New file.
12002 * gdb.base/solib-mismatch.exp: New file.
12003
12004 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12005
12006 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12007 nios2-*-linux*.
12008 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12009 * gdb.base/siginfo.exp: Likewise.
12010 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12011
12012 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12013
12014 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12015 Move it to ...
12016 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12017 ... here.
12018 * gdb.trace/range-stepping.exp: Check that the target supports
12019 range stepping.
12020
12021 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12022
12023 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12024
12025 2015-07-14 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/killed-outside.exp: New file.
12028 * gdb.base/killed-outside.c: New file.
12029
12030 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12031
12032 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12033 (n at main): New.
12034 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12035
12036 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12037
12038 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12039 infcall tests instead of setting up for KFAIL.
12040
12041 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12042
12043 * gdb.btrace/record_goto-step.exp: New.
12044
12045 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12046
12047 PR compile/18484
12048 * gdb.compile/compile.c (struct struct_type): Add volatile to
12049 selffield's type.
12050 * gdb.compile/compile.exp
12051 (compile code struct_object.selffield = &struct_object): Skip further
12052 struct_object tests if this one xfails.
12053
12054 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12055
12056 PR exp/18617
12057 * gdb.trace/ax.exp: Add test.
12058
12059 2015-07-07 Yao Qi <yao.qi@linaro.org>
12060
12061 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12062 instead of istarget "aarch64*-*-*".
12063 * gdb.arch/aarch64-fp.exp: Likewise.
12064 * gdb.base/float.exp: Likewise.
12065 * gdb.reverse/aarch64.exp: Likewise.
12066 * lib/gdb.exp (is_aarch64_target): New proc.
12067
12068 2015-07-07 Yao Qi <yao.qi@linaro.org>
12069
12070 * lib/gdb.exp (is_aarch32_target): New proc.
12071 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12072 instead of "istarget "arm*-*-*"".
12073 * gdb.arch/arm-disp-step.exp: Likewise.
12074 * gdb.arch/thumb-bx-pc.exp: Likewise.
12075 * gdb.arch/thumb-prologue.exp: Likewise.
12076 * gdb.arch/thumb-singlestep.exp: Likewise.
12077 * gdb.base/disp-step-syscall.exp: Likewise.
12078 * gdb.base/float.exp: Likewise.
12079
12080 2015-07-07 Yao Qi <yao.qi@linaro.org>
12081
12082 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12083 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12084
12085 2015-07-07 Yao Qi <yao.qi@linaro.org>
12086
12087 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12088 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12089 if it exists.
12090 * gdb.multi/multi-arch.exp: Likewise.
12091
12092 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12093
12094 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12095 print.
12096
12097 2015-07-07 Yao Qi <yao.qi@linaro.org>
12098
12099 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12100
12101 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12102
12103 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12104 '[' and ']' characters.
12105
12106 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12107
12108 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12109
12110 2015-06-29 Pedro Alves <palves@redhat.com>
12111
12112 PR threads/18127
12113 * gdb.threads/hand-call-new-thread.c: New file.
12114 * gdb.threads/hand-call-new-thread.c: New file.
12115
12116 2015-06-26 Keith Seitz <keiths@redhat.com>
12117 Doug Evans <dje@google.com>
12118
12119 PR 16253
12120 * gdb.cp/var-tag-2.cc: New file.
12121 * gdb.cp/var-tag-3.cc: New file.
12122 * gdb.cp/var-tag-4.cc: New file.
12123 * gdb.cp/var-tag.cc: New file.
12124 * gdb.cp/var-tag.exp: New file.
12125
12126 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12127
12128 * gdb.base/history-duplicates.exp: New test.
12129
12130 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12131
12132 * gdb.base/completion.exp: Test the completion of the "focus"
12133 command.
12134
12135 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12136
12137 * gdb.arch/amd64-prologue-skip.S: New file.
12138 * gdb.arch/amd64-prologue-skip.exp: New file.
12139
12140 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12141
12142 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12143 is_address_zero_readable check.
12144
12145 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12146
12147 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12148 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12149
12150 2015-06-24 Yao Qi <yao.qi@linaro.org>
12151
12152 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12153 linux targets.
12154
12155 2015-06-24 Yao Qi <yao.qi@linaro.org>
12156
12157 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12158 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12159 * gdb.base/siginfo-thread.exp: Likewise.
12160
12161 2015-06-22 Yao Qi <yao.qi@linaro.org>
12162
12163 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12164
12165 2015-06-22 Yao Qi <yao.qi@linaro.org>
12166
12167 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12168 aarch64*-*-*.
12169 (skip_hw_watchpoint_tests): Likewise.
12170
12171 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12172
12173 * gdb.base/gdbinit-history.exp: Test the interaction between
12174 setting GDBHISTSIZE and setting the history size via .gdbinit.
12175
12176 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12177
12178 PR gdb/16999
12179 * gdb.base/gdbhistsize-history.exp: New test.
12180
12181 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12182
12183 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12184 with GDBHISTSIZE.
12185 * gdb.base/readline.exp: Likewise.
12186
12187 2015-06-17 Yao Qi <yao.qi@linaro.org>
12188
12189 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12190 line.
12191
12192 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12193
12194 * gdb.base/gdbinit-history.exp: Add test case to check that
12195 an unlimited history file does not get truncated on exit.
12196
12197 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12198
12199 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12200 (VECTOR): New macro. Use it...
12201 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12202 ...for these typedefs.
12203 (int8, char1, int1, double1): New typedefs.
12204 (struct just_int2, struct two_int2): New structures.
12205 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12206 (add_structvecs, add_singlevecs): New functions.
12207 (main): Call add_some_intvecs twice.
12208 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12209 the compile and exit upon failure. Try compiling for the "native"
12210 architecture. Test inferior function calls with vector arguments
12211 and vector return value handling with "finish" and "return".
12212
12213 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12214
12215 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12216 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12217 PE file.
12218 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12219
12220 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12221
12222 PR breakpoints/16465
12223 * gdb.mi/mi-dprintf-pending.c: New file.
12224 * gdb.mi/mi-dprintf-pending.exp: New test.
12225 * gdb.mi/mi-dprintf-pendshr.c: New file.
12226
12227 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12228 Mircea Gherzan <mircea.gherzan@intel.com>
12229
12230 * gdb.arch/i386-mpx-map.c: New file.
12231 * gdb.arch/i386-mpx-map.exp: New File.
12232
12233 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12234
12235 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12236 * gdb.arch/i386-mpx.exp: Indentation fixed.
12237
12238 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12239
12240 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12241 function and improved indentation.
12242 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12243 gdb_test_multiple. Added additional tests to skip the test.
12244
12245 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12246
12247 * gdb.arch/i386-avx512.c: Change path in include file.
12248 * gdb.arch/i386-avx512.exp: Change include dir path
12249 compilation flag.
12250 * gdb.arch/i386-mpx.c: Change path in include file.
12251 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12252 flag.
12253
12254 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12255
12256 * gdb.compile/compile-print.exp (compile print *vararray@3)
12257 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12258
12259 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12260
12261 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12262 (do not keep jit in memory): ... this.
12263 (expect 5): Change it to ...
12264 (expect no 5): ... this.
12265
12266 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12267
12268 PR gdb/15564
12269 * gdb.mi/mi-detach.exp: New file.
12270
12271 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12272
12273 PR symtab/18392
12274 * gdb.arch/amd64-tailcall-self.S: New file.
12275 * gdb.arch/amd64-tailcall-self.c: New file.
12276 * gdb.arch/amd64-tailcall-self.exp: New file.
12277
12278 2015-05-28 Don Breazeal <donb@codesourcery.com>
12279
12280 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12281 tests for remote targets by checking is_target_gdbserver.
12282
12283 2015-05-27 Doug Evans <dje@google.com>
12284
12285 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12286 * gdb.dwarf2/opaque-type-lookup.c: New file.
12287 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12288
12289 2015-05-26 Doug Evans <dje@google.com>
12290
12291 * gdb.cp/iostream.cc: New file.
12292 * gdb.cp/iostream.exp: New file.
12293
12294 2015-05-26 Doug Evans <dje@google.com>
12295
12296 * gdb.dwarf2/dw2-op-call.exp: Update.
12297 * gdb.dwarf2/dw4-sig-types.exp: Update.
12298 * gdb.dwarf2/implptr.exp: Update.
12299 * gdb.mi/mi-cmd-param-changed.exp: Update.
12300
12301 2015-05-26 Doug Evans <dje@google.com>
12302
12303 * gdb.python/py-lazy-string.c: New file.
12304 * gdb.python/py-lazy-string.exp: New file.
12305 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12306 (main): Update. Add estring3.
12307 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12308 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12309
12310 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12311 Yao Qi <yao.qi@linaro.org>
12312
12313 * gdb.reverse/aarch64.c: New.
12314 * gdb.reverse/aarch64.exp: New.
12315
12316 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12317
12318 * lib/gdb.exp (supports_process_record): Return true for
12319 aarch64*-linux*.
12320 (supports_reverse): Likewise.
12321
12322 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12323
12324 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12325 Use with_test_prefix.
12326
12327 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12328
12329 * gdb.base/completion.exp: Add test for completion of layout
12330 names.
12331
12332 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12333
12334 * lib/gdb.exp (skip_tui_tests): New proc.
12335 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12336
12337 2015-05-19 Pedro Alves <palves@redhat.com>
12338
12339 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12340 Save the whole env array instead of just HOME. Unset HISTSIZE in
12341 the environment while testing. Restore whole environment
12342 afterwards.
12343
12344 2015-05-16 Doug Evans <xdje42@gmail.com>
12345
12346 * gdb.guile/scm-ports.c: New file.
12347 * gdb.guile/scm-ports.exp: Add memory port tests.
12348
12349 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12350
12351 * gdb.compile/compile-print.c: New file.
12352 * gdb.compile/compile-print.exp: New file.
12353
12354 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12355
12356 * gdb.compile/compile-ops.exp: Cast param to void.
12357 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12358 (compile code struct_object.selffield = &struct_object): Add xfail.
12359
12360 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12361
12362 * gdb.ada/arr_enum_with_gap: New testcase.
12363
12364 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12365
12366 * gdb.ada/byte_packed_arr: New testcase.
12367
12368 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12369
12370 * gdb.ada/pckd_neg: New testcase.
12371
12372 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12373
12374 PR gdb/17820
12375 * gdb.base/gdbinit-history.exp: New test.
12376 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12377 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12378
12379 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12380
12381 * gdb.python/py-xmethods.cc: Enhance test case.
12382 * gdb.python/py-xmethods.exp: New tests.
12383 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12384 function.
12385 (B_indexoper): Likewise.
12386 (global_dm_list) : Add new xmethod worker functions.
12387
12388 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12389
12390 * gdb.base/coredump-filter.exp: Correctly unset
12391 "coredump_var_addr" array.
12392
12393 2015-05-08 Pedro Alves <palves@redhat.com>
12394
12395 * gdb.server/non-existing-program.exp: Unset spawn_id.
12396
12397 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12398
12399 PR python/18291
12400 * gdb.python/py-xmethods.exp: Add tests.
12401
12402 2015-05-08 Yao Qi <yao.qi@linaro.org>
12403
12404 PR gdb/18208
12405 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12406 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12407 function set_coredump_filter, and remove remote_exec call.
12408 Remove argument ipid. Callers update.
12409 (top level): Don't get inferior's PID.
12410
12411 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12412
12413 * gdb.base/watch_thread_num.exp: Skip test on targets without
12414 access watchpoints.
12415
12416 2015-05-06 Pedro Alves <palves@redhat.com>
12417
12418 PR server/18081
12419 * gdb.server/non-existing-program.exp: New file.
12420
12421 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12422
12423 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12424
12425 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12426
12427 * gdb.ada/out_of_line_in_inlined: New testcase.
12428
12429 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12430
12431 * gdb.ada/var_rec_arr: New testcase.
12432
12433 2015-04-30 Yao Qi <yao.qi@linaro.org>
12434
12435 * gdb.base/break-idempotent.exp: If
12436 skip_hw_watchpoint_multi_tests returns true, skip the tests
12437 on "rwatch" and "awatch".
12438
12439 2015-04-30 Yao Qi <yao.qi@linaro.org>
12440
12441 * gdb.base/relativedebug.exp: Invoke gdb command
12442 "info sharedlibrary", and if libc.so doesn't have debug info,
12443 skip the test.
12444
12445 2015-04-29 Doug Evans <dje@google.com>
12446
12447 * gdb.python/py-xmethods.exp: Add ptype tests.
12448 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12449 get_result_type method.
12450
12451 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12452
12453 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12454 the target does not support hardware watchpoints.
12455
12456 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12457
12458 * gdb.base/break-always.exp: Abort testing if writing to memory
12459 causes an error.
12460
12461 2015-04-28 Doug Evans <dje@google.com>
12462
12463 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12464 * gdb.python/py-pp-registration.exp: ... here. New file.
12465 * gdb.python/py-pp-registration.c: New file.
12466 * gdb.python/py-pp-registration.py: New file.
12467
12468 2015-04-28 Doug Evans <dje@google.com>
12469
12470 * gdb.python/py-bad-printers.c: New file.
12471 * gdb.python/py-bad-printers.py: New file.
12472 * gdb.python/py-bad-printers.exp: New file.
12473
12474 2015-04-28 Sasha Smundak <asmundak@google.com>
12475
12476 * gdb.python/py-type.exp: New test.
12477
12478 2015-04-28 Andy Wingo <wingo@igalia.com>
12479
12480 * gdb.python/py-parameter.exp:
12481 * gdb.guile/scm-parameter.exp: Escape the path that we are
12482 matching against, as it might contain characters that are special
12483 to regular expressions.
12484
12485 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12486
12487 * gdb.ada/rec_comp: New testcase.
12488
12489 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12490
12491 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12492 before using it.
12493
12494 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12495
12496 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12497 new tests for verilog output.
12498
12499 2015-04-24 Yao Qi <yao.qi@linaro.org>
12500
12501 * boards/remote-gdbserver-on-localhost.exp: New file.
12502
12503 2015-04-23 Pedro Alves <palves@redhat.com>
12504
12505 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12506 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12507 "end of file", remove $inferior_spawn_id from the indirect list.
12508
12509 2015-04-23 Pedro Alves <palves@redhat.com>
12510
12511 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12512
12513 2015-04-23 Pedro Alves <palves@redhat.com>
12514
12515 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12516 on $any_spawn_id instead of only on $gdb_spawn_id.
12517
12518 2015-04-21 Pierre Muller <muller@sourceware.org>
12519
12520 PR pascal/17815
12521 * lib/pascal.exp (gpc_compile): Add new option "class".
12522 (fpc_compile): Likewise.
12523 * gdb.pascal/case-insensitive-symbols.pas: New file.
12524 * gdb.pascal/case-insensitive-symbols.exp: New file.
12525
12526 2015-04-20 Gary Benson <gbenson@redhat.com>
12527
12528 * gdb.base/attach.exp: Fix three extended remote failures.
12529
12530 2015-04-17 Gary Benson <gbenson@redhat.com>
12531
12532 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12533 the main executable over the remote protocol.
12534
12535 2015-04-16 Pedro Alves <palves@redhat.com>
12536
12537 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12538 a new gdbserver if gdbserver_reconnect_p is set.
12539
12540 2015-04-16 Pedro Alves <palves@redhat.com>
12541
12542 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12543 is set, don't exit gdbserver.
12544
12545 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12546
12547 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12548 appropriate .insn, such that an older assembler can be used.
12549 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12550 the z/Architecture instruction set on 31-bit targets as well.
12551
12552 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12553
12554 * gdb.go/handcall.exp: Remove all logic related to the first
12555 breakpoint and rely on go_runto_main instead.
12556 * gdb.go/strings.exp: Likewise.
12557 * gdb.go/unsafe.exp: Likewise.
12558 * gdb.go/hello.exp: Likewise. Also rename the remaining
12559 breakpoint marker to "breakpoint 1".
12560 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12561 * gdb.go/strings.go: Likewise.
12562 * gdb.go/unsafe.go: Likewise.
12563 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12564 "set breakpoint 2 here" and rename the remaining breakpoint marker
12565 to "breakpoint 1".
12566
12567 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12568
12569 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12570 if itertools.imap is not present.
12571 * gdb.python/py-objfile.exp: Add parentheses.
12572 * gdb.python/py-type.exp: Same.
12573 * gdb.python/py-unwind-maint.py: Same.
12574
12575 2015-04-15 Yao Qi <yao.qi@linaro.org>
12576
12577 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12578 of ":$ptr_size" and set its form explicitly.
12579
12580 2015-04-15 Pedro Alves <palves@redhat.com>
12581 Yao Qi <yao.qi@linaro.org>
12582
12583 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12584 timeout by factor of 4.
12585 (test_regular_watch): Likewise.
12586 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12587 * gdb.reverse/sigall-reverse.exp: Likewise.
12588 * gdb.reverse/until-precsave.exp: Likewise.
12589 * lib/gdb.exp (with_timeout_factor): New proc.
12590 (gdb_expect): Move some code to ...
12591 (get_largest_timeout): ... here. New procedure.
12592
12593 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12594
12595 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12596
12597 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12598
12599 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12600 to write to the .text section.
12601
12602 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12603
12604 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12605 Handle the case of targets that do not provide PID information.
12606
12607 2015-04-13 Yao Qi <yao.qi@linaro.org>
12608
12609 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12610 and use expect instead of gdb_expect.
12611
12612 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12613
12614 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12615 "coredump_var_addr" to avoid naming conflict with other testcases.
12616
12617 2015-04-10 Pedro Alves <palves@redhat.com>
12618
12619 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12620 gdb_test_sequence and gdb_assert.
12621
12622 2015-04-10 Pedro Alves <palves@redhat.com>
12623
12624 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12625 test messages that don't include the breakpoint address.
12626
12627 2015-04-10 Yao Qi <yao.qi@linaro.org>
12628
12629 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12630 false for some offset and width combinations which aren't
12631 supported by linux kernel.
12632
12633 2015-04-10 Pedro Alves <palves@redhat.com>
12634
12635 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12636 procedure, factored out from ...
12637 (top level): ... here. Add "set displaced-stepping" testing axis.
12638 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12639 parameter "displaced". Use it.
12640 (top level): Use foreach and add "set displaced-stepping" testing
12641 axis.
12642
12643 2015-04-10 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12646 Remove comment.
12647 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12648 both the address of the instruction that triggers the watchpoint
12649 and the address of the instruction immediately after, and use
12650 those addresses for the test. Fix comment.
12651
12652 2015-04-10 Pedro Alves <palves@redhat.com>
12653
12654 * gdb.base/sigstep.exp (breakpoint_to_handler)
12655 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12656 Test "backtrace" in handler.
12657 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12658 (top level): Add new "displaced" test axis to
12659 breakpoint_to_handler, breakpoint_to_handler_entry and
12660 breakpoint_over_handler.
12661
12662 2015-04-10 Pedro Alves <palves@redhat.com>
12663
12664 PR gdb/18216
12665 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12666
12667 2015-04-10 Yao Qi <yao.qi@linaro.org>
12668
12669 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12670 (test_add_rn_pc): New function.
12671 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12672 (top level): Invoke test_add_rn_pc.
12673
12674 2015-04-10 Pedro Alves <palves@redhat.com>
12675
12676 PR gdb/13858
12677 * gdb.base/step-over-no-symbols.exp: New file.
12678
12679 2015-04-09 Andy Wingo <wingo@igalia.com>
12680
12681 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12682 after the Python tests.
12683
12684 2015-04-08 Keith Seitz <keiths@redhat.com>
12685
12686 PR python/16699
12687 * gdb.python/py-completion.exp: New tests for completion.
12688 * gdb.python/py-completion.py (CompleteLimit1): New class.
12689 (CompleteLimit2): Likewise.
12690 (CompleteLimit3): Likewise.
12691 (CompleteLimit4): Likewise.
12692 (CompleteLimit5): Likewise.
12693 (CompleteLimit6): Likewise.
12694 (CompleteLimit7): Likewise.
12695
12696 2015-04-08 Pedro Alves <palves@redhat.com>
12697
12698 PR gdb/18214
12699 PR gdb/18216
12700 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12701 function.
12702 (main): Install it as SIGUSR1 handler.
12703 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12704 parameter. Always use "setup" as prefix. Toggle "set
12705 displaced-stepping" off/on depending on global. Don't switch to
12706 thread 1 here.
12707 (top level): Add displaced stepping "off/on" test axis. Update
12708 "setup" calls. Wrap each subtest with with_test_prefix. Test
12709 continuing with a queued signal in each thread.
12710
12711 2015-04-08 Pedro Alves <palves@redhat.com>
12712
12713 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12714 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12715 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12716 Return early if running to main fails.
12717 * gdb.trace/while-stepping.exp: Likewise.
12718
12719 2015-04-07 Pedro Alves <palves@redhat.com>
12720
12721 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12722 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12723 interact with inferior program.
12724
12725 2015-04-07 Pedro Alves <palves@redhat.com>
12726
12727 * lib/gdb.exp (inferior_spawn_id): New global.
12728 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12729 spawn id after processing the user code.
12730 (default_gdb_start): Set inferior_spawn_id.
12731 (send_inferior): New procedure.
12732 * lib/gdbserver-support.exp (gdbserver_start): Set
12733 inferior_spawn_id.
12734 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12735
12736 2015-04-07 Pedro Alves <palves@redhat.com>
12737
12738 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12739 * lib/gdbserver-support.exp (gdbserver_start): Make
12740 $server_spawn_id global.
12741 (gdbserver_start): Don't wait for gdbserver's spawn id with
12742 expect_background.
12743 (close_gdbserver): New procedure.
12744 (gdb_exit): Rename the default version and reimplement.
12745
12746 2015-04-07 Pedro Alves <palves@redhat.com>
12747
12748 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12749 append the substituted item, not the original item.
12750
12751 2015-04-07 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12754 gdb_expect.
12755
12756 2015-04-07 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12759 output appearing once only.
12760
12761 2015-04-07 Pedro Alves <palves@redhat.com>
12762
12763 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12764 that doesn't expect anything. Return early if running to main
12765 fails.
12766
12767 2015-04-07 Yao Qi <yao.qi@linaro.org>
12768
12769 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12770 (child_function): Call alarm.
12771 (main): Move call to alarm into the loop.
12772 * gdb.threads/non-stop-fair-events.exp: Build program with
12773 -DTIMEOUT=$timeout.
12774
12775 2015-04-06 Doug Evans <xdje42@gmail.com>
12776
12777 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12778 Fix dest parameter to board_info.
12779 (fpc_compile): Ditto.
12780 (gdb_compile_pascal): Rename dest arg to destfile.
12781
12782 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12783
12784 * gdb.ada/funcall_ref.exp: New file.
12785 * gdb.ada/funcall_ref/foo.adb: New file.
12786
12787 2015-04-02 Yao Qi <yao.qi@linaro.org>
12788
12789 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12790 is remote.
12791
12792 2015-04-02 Gary Benson <gbenson@redhat.com>
12793
12794 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12795
12796 2015-04-01 Sasha Smundak <asmundak@google.com>
12797
12798 * gdb.python/py-unwind-maint.c: New file.
12799 * gdb.python/py-unwind-maint.exp: New test.
12800 * gdb.python/py-unwind-maint.py: New file.
12801 * gdb.python/py-unwind.c: New file.
12802 * gdb.python/py-unwind.exp: New test.
12803 * gdb.python/py-unwind.py: New test.
12804
12805 2015-04-01 Pedro Alves <palves@redhat.com>
12806
12807 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12808 to fail instead of non-existent $test.
12809
12810 2015-04-01 Pedro Alves <palves@redhat.com>
12811
12812 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12813 GDBFLAGS if not empty.
12814
12815 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12816
12817 * gdb.ada/complete.exp: Remove "multi_line".
12818 * gdb.ada/info_exc.exp: Remove "multi_line".
12819 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12820 * gdb.ada/ptype_field.exp: Remove "multi_line".
12821 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12822 * gdb.ada/tagged.exp: Remove "multi_line".
12823 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12824 [multi_line ...]
12825 * gdb.btrace/delta.exp: Likewise.
12826 * gdb.btrace/exception.exp: Likewise.
12827 * gdb.btrace/function_call_history.exp: Likewise.
12828 * gdb.btrace/instruction_history.exp: Likewise.
12829 * gdb.btrace/nohist.exp: Likewise.
12830 * gdb.btrace/record_goto.exp: Likewise.
12831 * gdb.btrace/segv.exp: Likewise.
12832 * gdb.btrace/stepi.exp: Likewise.
12833 * gdb.btrace/tailcall.exp: Likewise.
12834 * gdb.btrace/unknown_functions.exp: Likewise.
12835 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12836 * lib/gdb.exp: Add the "multi_line" helper.
12837
12838 2015-04-01 Pedro Alves <palves@redhat.com>
12839
12840 * gdb.threads/tid-reuse.c: New file.
12841 * gdb.threads/tid-reuse.exp: New file.
12842
12843 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12844
12845 PR corefiles/16092
12846 * gdb.base/coredump-filter.c: New file.
12847 * gdb.base/coredump-filter.exp: Likewise.
12848
12849 2015-03-27 Petr Machata <pmachata@redhat.com>
12850
12851 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12852 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12853 (Dwarf::assemble): Initialize them.
12854 (Dwarf::lines): New function.
12855
12856 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12857
12858 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12859 SYMBOL_PREFIX for x86_64-*-cygwin.
12860
12861 2015-03-26 Andy Wingo <wingo@igalia.com>
12862
12863 PR symtab/18148
12864 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12865 const_value but not a location.
12866 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12867 location defined in non-main CUs are visible.
12868
12869 2015-03-26 Yao Qi <yao.qi@linaro.org>
12870
12871 PR testsuite/18139
12872 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12873 Add a line number entry for the same line.
12874 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12875 Add a line number entry for the same line.
12876
12877 2015-03-26 Yao Qi <yao.qi@linaro.org>
12878
12879 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12880 .int 0.
12881 (func): Likewise. Add .Lfunc_1 label.
12882 Use .Lfunc_1 label.
12883 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12884 .int 0.
12885 (func): Likewise.
12886 Use .Lfunc_1 label.
12887
12888 2015-03-26 Yao Qi <yao.qi@linaro.org>
12889
12890 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12891 Call gdb_compile instead to compile each .s files without debug
12892 information.
12893
12894 2015-03-26 Yao Qi <yao.qi@linaro.org>
12895
12896 * gdb.base/savedregs.exp (process_saved_regs): Make
12897 "Saved registers:" optional in the pattern.
12898
12899 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12900
12901 * gdb.btrace/next.exp: Merged into step.exp.
12902 * gdb.btrace/finish.exp: Merged into step.exp.
12903 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12904 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12905 "record goto" and checking the exact replay position.
12906 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12907 check for "Recording format" in "info record" output.
12908 * gdb.btrace/record_goto.exp: Choose test file based on target.
12909 * gdb.btrace/x86-record_goto.S: Renamed into ...
12910 * gdb.btrace/x86_64-record_goto.S: ... this.
12911 * gdb.btrace/i686-record_goto.S: New.
12912 * gdb.btrace/x86-tailcall.S: Renamed into ...
12913 * gdb.btrace/x86_64-tailcall.S: ... this.
12914 * gdb.btrace/i686-tailcall.S: New.
12915 * gdb.btrace/x86-tailcall.c: Renamed into ...
12916 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12917 separate statements. Update test.
12918 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12919 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12920 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12921 * gdb.btrace/tailcall.exp: Choose test file based on target.
12922 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12923
12924 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12925
12926 * gdb.btrace/exception.exp: Increase BTS buffer size.
12927
12928 2015-03-24 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12931
12932 2015-03-24 Pedro Alves <palves@redhat.com>
12933
12934 * gdb.threads/schedlock.exp (test_step): No longer expect that
12935 "set scheduler-locking step" with "next" over a function call runs
12936 threads unlocked.
12937
12938 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12939
12940 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12941
12942 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12943
12944 PR breakpoints/16466
12945 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12946 * gdb.mi/mi-pending.c (thread_func): New function.
12947 (int main): Add threading support required.
12948 * gdb.mi/mi-pending.exp: Add tests for this issue.
12949 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12950 (pendfunc2): Remove stdio dependency.
12951 * gdb.mi/mi-pendshr2.c: New file.
12952
12953 2015-03-23 Keith Seitz <keiths@redhat.com>
12954
12955 * gdb.linespec/keywords.c: New file.
12956 * gdb.linespec/keywords.exp: New file.
12957
12958 2015-03-23 Keith Seitz <keiths@redhat.com>
12959
12960 PR gdb/18021
12961 * gdb.dwarf2/staticvirtual.exp: New test.
12962
12963 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12964
12965 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12966 * README: Remove HP-UX and gdb.hp.
12967 (configuration):
12968 * configure: Regenerate.
12969 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12970 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12971 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12972 gdb.hp/gdb.defects/Makefile.
12973 * gdb.hp/Makefile.in: File deleted.
12974 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12975 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12976 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12977 * gdb.hp/gdb.aCC/run.c: File deleted.
12978 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12979 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12980 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12981 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12982 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12983 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12984 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12985 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12986 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12987 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12988 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12989 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12990 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12991 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12992 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12993 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12994 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12995 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12996 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12997 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12998 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12999 * gdb.hp/gdb.compat/average.c: File deleted.
13000 * gdb.hp/gdb.compat/sum.c: File deleted.
13001 * gdb.hp/gdb.compat/xdb.c: File deleted.
13002 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13003 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13004 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13005 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13006 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13007 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13008 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13009 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13010 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13011 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13012 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13013 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13014 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13015 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13016 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13017 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13018 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13019 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13020 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13021 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13022 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13023 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13024 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13025 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13026 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13027 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13028 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13029 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13030 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13031 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13032 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13033 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13034 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13035 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13036 * gdb.hp/tools/odump: File deleted.
13037
13038 2015-03-19 Pedro Alves <palves@redhat.com>
13039
13040 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13041 (saw_thread_3): New globals.
13042 (top level): Increment them when an event for the corresponding
13043 thread is seen.
13044 (no thread starvation): New test.
13045
13046 2015-03-19 Pedro Alves <palves@redhat.com>
13047
13048 * gdb.threads/continue-pending-status.c: New file.
13049 * gdb.threads/continue-pending-status.exp: New file.
13050
13051 2015-03-18 Pedro Alves <palves@redhat.com>
13052
13053 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13054 Use gdb_is_target_remote instead of is_remote. Use
13055 gdb_test_multiple instead of gdb_expect. Exit early if
13056 gdb_test_multiple hits its internal matches. Tighten stepi tests
13057 expected output. Fail on exit with any signal, instead of just
13058 SIGILL.
13059
13060 2015-03-18 Yao Qi <yao.qi@linaro.org>
13061
13062 PR tdep/18107
13063 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13064 variable.
13065 * gdb.base/catch-syscall.exp: Don't skip it on
13066 aarch64*-*-linux* target. Remove elements in all_syscalls.
13067 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13068 target.
13069 (setup_all_syscalls): New proc.
13070
13071 2015-03-16 Yao Qi <yao.qi@linaro.org>
13072
13073 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13074 (top level): Skip tests if valid_addr_p returns false for
13075 $cmd1 or $cmd2.
13076
13077 2015-03-11 Andy Wingo <wingo@igalia.com>
13078
13079 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13080
13081 2015-03-11 Yao Qi <yao.qi@linaro.org>
13082
13083 * gdb.base/catch-syscall.exp: Fix typo in comments.
13084
13085 2015-03-11 Yao Qi <yao.qi@linaro.org>
13086
13087 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13088
13089 2015-03-09 Pedro Alves <palves@redhat.com>
13090
13091 * dg-extract-results.py: Delete.
13092
13093 2015-03-09 Pedro Alves <palves@redhat.com>
13094
13095 Merge dg-extract-results.sh from GCC upstream (r218843).
13096
13097 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13098 * dg-extract-results.sh: Use --text with grep to avoid issues with
13099 binary files. Fall back to cat -v, if that doesn't work.
13100
13101 2015-03-05 Pedro Alves <palves@redhat.com>
13102
13103 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13104
13105 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13106
13107 * lib/mi-support.exp (mi_expect_interrupt): Accept
13108 alternative event for when in all-stop mode.
13109
13110 2015-03-04 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13113
13114 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13115
13116 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13117
13118 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13119
13120 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13121 regexps for GDB's current line display, accept a hex address
13122 preceding the line number.
13123
13124 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13125
13126 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13127 the 'arch1' variable for "s390*-linux*" targets.
13128
13129 2015-03-04 Pedro Alves <palves@redhat.com>
13130
13131 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13132 (main): Pass missing retval argument to pthread_join call.
13133
13134 2015-03-02 Pedro Alves <palves@redhat.com>
13135
13136 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13137 (top level): Call do_test with non-stop as well.
13138
13139 2015-03-02 Pedro Alves <palves@redhat.com>
13140
13141 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13142 -1.
13143
13144 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13145
13146 * gdb.arch/s390-vregs.exp: New test.
13147 * gdb.arch/s390-vregs.S: New file.
13148
13149 2015-02-27 Pedro Alves <palves@redhat.com>
13150
13151 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13152 call to catch_command_errors.
13153 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13154 catch_command_errors.
13155
13156 2015-02-27 Pedro Alves <palves@redhat.com>
13157
13158 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13159 "true" for boolean result.
13160 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13161 prototype of main.
13162
13163 2015-02-27 Pedro Alves <palves@redhat.com>
13164
13165 * lib/unbuffer_output.c: New file.
13166 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13167 (main): Call gdb_unbuffer_output.
13168
13169 2015-02-27 Yao Qi <yao.qi@linaro.org>
13170
13171 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13172 target.
13173
13174 2015-02-26 Doug Evans <dje@google.com>
13175
13176 * gdb.cp/class2.cc (Dbase, D): New classes.
13177 (main): New local delta.
13178 * gdb.cp/class2.exp: Test printing delta.
13179 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13180 (dynbar): New global.
13181 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13182
13183 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13184
13185 * gdb.compile/compile-ifunc.c: New file.
13186 * gdb.compile/compile-ifunc.exp: New file.
13187
13188 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13189
13190 * gdb.base/structs.exp: Check for correct struct on finish.
13191
13192 2015-02-26 Yao Qi <yao.qi@linaro.org>
13193
13194 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13195 is zero.
13196
13197 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13198
13199 * gdb.arch/cordic.ko.bz2: New file.
13200 * gdb.arch/cordic.ko.debug.bz2: New file.
13201 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13202
13203 2015-02-25 Yao Qi <yao.qi@linaro.org>
13204
13205 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13206 aarch64*-*-* target.
13207
13208 2015-02-23 Pedro Alves <palves@redhat.com>
13209
13210 * lib/gdb.exp (delete_breakpoints): Rewrite using
13211 gdb_test_multiple.
13212
13213 2015-02-23 Pedro Alves <palves@redhat.com>
13214
13215 * gdb.base/info-os.c: Include stdlib.h.
13216
13217 2015-02-22 Doug Evans <xdje42@gmail.com>
13218
13219 PR symtab/17855
13220 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13221 is read after symbols have been re-read.
13222 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13223 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13224
13225 2015-02-21 Doug Evans <dje@google.com>
13226
13227 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13228
13229 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13230
13231 PR corefiles/17808
13232 * gdb.arch/i386-biarch-core.core.bz2: New file.
13233 * gdb.arch/i386-biarch-core.exp: New file.
13234
13235 2015-02-21 Pedro Alves <palves@redhat.com>
13236
13237 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13238 runto_main fails.
13239
13240 2015-02-20 Pedro Alves <palves@redhat.com>
13241
13242 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13243 info probes.
13244
13245 2015-02-20 Pedro Alves <palves@redhat.com>
13246
13247 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13248
13249 2015-02-20 Pedro Alves <palves@redhat.com>
13250
13251 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13252 clean_restart before gdb_target_supports_trace.
13253
13254 2015-02-20 Pedro Alves <palves@redhat.com>
13255
13256 PR threads/18006
13257 * gdb.threads/clone-thread_db.c: New file.
13258 * gdb.threads/clone-thread_db.exp: New file.
13259
13260 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13261
13262 PR breakpoints/16812
13263 * gdb.base/catch-gdb-caused-signals.c: New file.
13264 * gdb.base/catch-gdb-caused-signals.exp: New file.
13265
13266 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13267
13268 * configure: Regenerated.
13269 * configure.ac: Use GDB_AC_TRANSFORM.
13270 * aclocal.m4: sinclude ../transform.m4.
13271
13272 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13273
13274 * lib/dtrace.exp: New file.
13275 * gdb.base/dtrace-probe.exp: Likewise.
13276 * gdb.base/dtrace-probe.d: Likewise.
13277 * gdb.base/dtrace-probe.c: Likewise.
13278 * lib/pdtrace.in: Likewise.
13279 * configure.ac: Output variables with the transformed names of
13280 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13281 * configure: Regenerated.
13282
13283 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13284
13285 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13286 expected message when trying to access $_probe_* convenience
13287 variables while not on a probe.
13288
13289 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13290
13291 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13292
13293 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13294
13295 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13296 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13297
13298 2015-02-10 Doug Evans <xdje42@gmail.com>
13299
13300 * lib/gdb.exp (gdb_load): Always return a result.
13301
13302 2015-02-10 Pedro Alves <palves@redhat.com>
13303
13304 * gdb.threads/signal-sigtrap.c: New file.
13305 * gdb.threads/signal-sigtrap.exp: New file.
13306
13307 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13308
13309 * gdb.trace/no-attach-trace.c: New file.
13310 * gdb.trace/no-attach-trace.exp: New file.
13311
13312 2015-02-09 Mark Wielaard <mjw@redhat.com>
13313
13314 * gdb.dwarf2/atomic.c: New file.
13315 * gdb.dwarf2/atomic-type.exp: Likewise.
13316
13317 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13318
13319 * gdb.btrace/buffer-size.exp: Update "info record" output.
13320 * gdb.btrace/delta.exp: Update "info record" output.
13321 * gdb.btrace/enable.exp: Update "info record" output.
13322 * gdb.btrace/finish.exp: Update "info record" output.
13323 * gdb.btrace/instruction_history.exp: Update "info record" output.
13324 * gdb.btrace/next.exp: Update "info record" output.
13325 * gdb.btrace/nexti.exp: Update "info record" output.
13326 * gdb.btrace/step.exp: Update "info record" output.
13327 * gdb.btrace/stepi.exp: Update "info record" output.
13328 * gdb.btrace/nohist.exp: Update "info record" output.
13329
13330 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13331
13332 * gdb.btrace/buffer-size: New.
13333
13334 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13335
13336 * gdb.btrace/delta.exp: Update "info record" output.
13337 * gdb.btrace/enable.exp: Update "info record" output.
13338 * gdb.btrace/finish.exp: Update "info record" output.
13339 * gdb.btrace/instruction_history.exp: Update "info record" output.
13340 * gdb.btrace/next.exp: Update "info record" output.
13341 * gdb.btrace/nexti.exp: Update "info record" output.
13342 * gdb.btrace/step.exp: Update "info record" output.
13343 * gdb.btrace/stepi.exp: Update "info record" output.
13344 * gdb.btrace/nohist.exp: Update "info record" output.
13345
13346 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13347
13348 PR gdb/15678
13349 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13350
13351 2015-02-06 Pedro Alves <palves@redhat.com>
13352
13353 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13354 macro.
13355 (seconds_left, again): New globals.
13356 (main): Wait seconds_left in a 1-second sleep loop instead of
13357 sleeping 180 seconds. If 'again' is set, reset the seconds
13358 counter.
13359 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13360 'again' in the inferior before detaching. Print the seconds left.
13361 (options): New global.
13362 (top level): Build program with -DTIMEOUT=$timeout.
13363
13364 2015-02-06 Pedro Alves <palves@redhat.com>
13365
13366 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13367 determine how many seconds to pass to 'alarm'.
13368 * gdb.base/gdb-sigterm.exp (top level): Build program with
13369 -DTIMEOUT=$timeout.
13370 (do_test): Return success/failure indication. Add more verbose
13371 logging. Don't fail if 200 single steps are seen. Instead, fail
13372 when the test times out.
13373 (passes): New global.
13374 (top level): Break the testing loop if testing fails on any
13375 iteration. Use gdb_assert.
13376
13377 2015-02-04 Don Breazeal <donb@codesourcery.com>
13378
13379 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13380 and initialize them.
13381 (ipc_cleanup): New function.
13382 (main): Don't declare shmid, semid, and msqid. Add a call to
13383 atexit so that we call ipc_cleanup on exit.
13384
13385 2015-02-04 Pedro Alves <palves@redhat.com>
13386
13387 * boards/native-extended-gdbserver.exp: Remove any target variant
13388 specifications from the board name before clearing the isremote
13389 flag from board_info.
13390
13391 2015-01-31 Doug Evans <xdje42@gmail.com>
13392
13393 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13394
13395 2015-01-31 Gary Benson <gbenson@redhat.com>
13396
13397 * gdb.base/completion.exp: Disable completion limiting for
13398 existing tests. Add new tests to check completion limiting.
13399 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13400
13401 2015-01-31 Doug Evans <xdje42@gmail.com>
13402
13403 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13404
13405 2015-01-31 Doug Evans <xdje42@gmail.com>
13406
13407 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13408 entries. Duplicate file section script entries.
13409 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13410 inlined entries. Add test for safe-path rejection.
13411 * gdb.python/py-section-script.c: Add duplicate inlined section script
13412 entries. Duplicate file section script entries.
13413 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13414 inlined entries. Add test for safe-path rejection.
13415
13416 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13417
13418 * gdb.ada/disc_arr_bound: New testcase.
13419
13420 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13421
13422 * gdb.ada/mi_var_array: New testcase.
13423
13424 2015-01-27 Doug Evans <dje@google.com>
13425
13426 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13427 Add test for objfile.filename, objfile.username after objfile
13428 has been unloaded.
13429
13430 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13431
13432 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13433 the second test to print the name attribute of value
13434 returned by the call to gdb.lookup_type, and adjust
13435 the expected output accordingly.
13436
13437 2015-01-25 Mark Wielaard <mjw@redhat.com>
13438
13439 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13440 * gdb.base/disp-step-fork.c: Include unistd.h.
13441 * gdb.base/siginfo-obj.c: Include stdio.h.
13442 * gdb.base/siginfo-thread.c: Likewise.
13443 * gdb.mi/non-stop.c: Include unistd.h.
13444 * gdb.mi/nsthrexec.c: Include stdio.h.
13445 * gdb.mi/pthreads.c: Include unistd.h.
13446 * gdb.modula2/unbounded1.c (main): Declare returns int.
13447 * gdb.reverse/consecutive-reverse.c: Likewise.
13448 * gdb.threads/create-fail.c: Include unistd.h.
13449 * gdb.threads/killed.c: Likewise.
13450 * gdb.threads/linux-dp.c: Likewise.
13451 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13452 * gdb.threads/non-ldr-exc-2.c: Likewise.
13453 * gdb.threads/non-ldr-exc-3.c: Likewise.
13454 * gdb.threads/non-ldr-exc-4.c: Likewise.
13455 * gdb.threads/pthreads.c: Include unistd.h.
13456 (main): Declare returns int.
13457 * gdb.threads/tls-main.c (foo): New declaration.
13458 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13459
13460 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13461
13462 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13463 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13464
13465 2015-01-15 Mark Wielaard <mjw@redhat.com>
13466
13467 * gdb.base/noreturn-return.c: New file.
13468 * gdb.base/noreturn-return.exp: New file.
13469 * gdb.base/noreturn-finish.c: New file.
13470 * gdb.base/noreturn-finish.exp: New file.
13471
13472 2015-01-23 Pedro Alves <palves@redhat.com>
13473
13474 * gdb.threads/continue-pending-after-query.c: New file.
13475 * gdb.threads/continue-pending-after-query.exp: New file.
13476
13477 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13478 Simon Marchi <simon.marchi@ericsson.com>
13479
13480 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13481 * gdb.base/valgrind-db-attach.exp: Same.
13482 * gdb.base/valgrind-infcall.exp: Same.
13483 * lib/mi-support.exp (default_mi_gdb_start): Same.
13484 * lib/prompt.exp (default_prompt_gdb_start): Same.
13485 * lib/gdb.exp (default_gdb_spawn): Same.
13486 (gdb_interact): New.
13487
13488
13489 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13490
13491 * gdb.compile/compile.exp (pointer to jit function): New test.
13492
13493 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13494
13495 * lib/gdb.exp (supports_process_record): Return true for
13496 powerpc*-*-linux*.
13497 (supports_reverse): Likewise.
13498
13499 2015-01-15 Don Breazeal <donb@codesourcery.com>
13500
13501 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13502 instead of checking whether the target board is remote and
13503 use spawn_wait_for_attach instead of exec/sleep.
13504 * gdb.base/attach-twice.exp: Likewise.
13505
13506 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13507
13508 * gdb.ada/var_arr_attrs: New testcase.
13509
13510 2015-01-14 Pedro Alves <palves@redhat.com>
13511 Joel Brobecker <brobecker@adacore.com>
13512
13513 PR gdb/17525
13514 * gdb.base/bp-cmds-execution-x-script.c: New file.
13515 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13516 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13517
13518 2015-01-14 Pedro Alves <palves@redhat.com>
13519
13520 PR cli/17828
13521 * gdb.base/batch-preserve-term-settings.c: New file.
13522 * gdb.base/batch-preserve-term-settings.exp: New file.
13523
13524 2015-01-13 Doug Evans <dje@google.com>
13525
13526 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13527 binary.
13528
13529 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13530
13531 * Makefile.in (clean mostlyclean): Do not delete *.py.
13532
13533 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13534
13535 * gdb.python/py-lookup-type.exp: New file.
13536
13537 2015-01-12 Pedro Alves <palves@redhat.com>
13538
13539 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13540 restore GDBFLAGS before returning.
13541
13542 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13543
13544 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13545 is_amd64_regs_target and is_x86_like_target.
13546
13547 2015-01-11 Doug Evans <xdje42@gmail.com>
13548
13549 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13550 is given without an explicit form.
13551 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13552 attributes.
13553 * gdb.dwarf/corrupt.exp: Ditto.
13554 * gdb.dwarf2/enum-type.exp: Ditto.
13555 * gdb.trace/entry-values.exp: Ditto.
13556 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13557
13558 2015-01-11 Doug Evans <xdje42@gmail.com>
13559
13560 PR gdb/15830
13561 * gdb.base/maint.exp: Remove references to "maint demangle".
13562 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13563 Add tests for explicitly specifying language to demangle.
13564 * gdb.dlang/demangle.exp: Ditto.
13565
13566 2015-01-09 Pedro Alves <palves@redhat.com>
13567
13568 * gdb.threads/non-stop-fair-events.c: New file.
13569 * gdb.threads/non-stop-fair-events.exp: New file.
13570
13571 2015-01-09 Pedro Alves <palves@redhat.com>
13572
13573 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13574 the global scope. Set a breakpoint after all threads are started
13575 rather than stepping over two source lines. Expect the prompt.
13576 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13577 global.
13578 (NUM): Now 15.
13579 (main): Use threads_started_barrier to wait for all threads to
13580 start. Main thread no longer calls thread_function. Exit after
13581 180 seconds.
13582 (loop): New function.
13583 (thread_function): Wait on threads_started_barrier barrier. Call
13584 'loop' at each iteration.
13585 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13586 threads have started, instead of hardcoding number of "next"
13587 steps. Use an access watchpoint instead of a write watchpoint.
13588
13589 2015-01-09 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13592 (thread_func): Wait on barrier.
13593 (main): Wait for all threads to start before stopping GDB.
13594 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13595 global.
13596 (thread1_func, thread2_func): Wait on barrier.
13597 (main): Wait for all threads to start before stopping GDB.
13598 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13599 New global.
13600 (thread1_func, thread2_func): Wait on barrier.
13601 (main): Wait for all threads to start before stopping GDB.
13602
13603 2015-01-09 Pedro Alves <palves@redhat.com>
13604
13605 * gdb.threads/attach-many-short-lived-threads.c: New file.
13606 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13607
13608 2014-01-09 Pedro Alves <palves@redhat.com>
13609
13610 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13611 instead of to thread 2.
13612 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13613 Add barrier around each pthread_create call instead of around all
13614 calls.
13615 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13616 Set a break on thread_function and have the child threads hit it
13617 one at at a time.
13618
13619 2015-01-09 Pedro Alves <palves@redhat.com>
13620
13621 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13622 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13623 false.
13624 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13625 checking whether the target board is remote.
13626 * gdb.multi/multi-attach.exp: Likewise.
13627 * gdb.python/py-sync-interp.exp: Likewise.
13628 * gdb.server/ext-attach.exp: Likewise.
13629 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13630 tests that need to attach, instead of checking whether the target
13631 board is remote at the top of the file.
13632
13633 2015-01-08 Yao Qi <yao@codesourcery.com>
13634
13635 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13636
13637 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13638
13639 Fix testcase compilation.
13640 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13641
13642 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13643
13644 * gdb.python/py-type.exp: Add a couple test about empty
13645 array creation, and negative-length array creation.
13646
13647 2015-01-02 Doug Evans <xdje42@gmail.com>
13648
13649 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13650
13651 2015-01-02 Doug Evans <dje@google.com>
13652
13653 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13654
13655 2014-12-29 Yao Qi <yao@codesourcery.com>
13656
13657 * gdb.trace/entry-values.exp: Update comments. Rename variable
13658 bar_call_foo to returned_from_foo.
13659
13660 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13661
13662 PR gdb/17394
13663 * gdb.linespec/break-asm-file.c: New file.
13664 * gdb.linespec/break-asm-file.exp: New file.
13665 * gdb.linespec/break-asm-file0.s: New file.
13666 * gdb.linespec/break-asm-file1.s: New file.
13667
13668 2014-12-18 Nigel Stephens <nigel@mips.com>
13669 Maciej W. Rozycki <macro@codesourcery.com>
13670
13671 * gdb.base/float.exp: Handle the new output from "info float" on
13672 MIPS targets.
13673
13674 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13675
13676 Fix MinGW compilation.
13677 * gdb.compile/compile-ops.exp: Update untested message if
13678 !skip_compile_feature_tests.
13679 * gdb.compile/compile-setjmp.exp: Likewise.
13680 * gdb.compile/compile-tls.exp: Likewise.
13681 * gdb.compile/compile.exp: Likewise.
13682 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13683 supported on this host".
13684
13685 2014-12-16 Doug Evans <xdje42@gmail.com>
13686
13687 * boards/stabs.exp: New file.
13688
13689 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13690
13691 * gdb.base/completion.exp: Adjust to format changes of "maint
13692 print user-registers".
13693
13694 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13695
13696 PR server/17457
13697 * gdb.arch/aarch64-fp.c: New file.
13698 * gdb.arch/aarch64-fp.exp: New file.
13699
13700 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13701
13702 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13703 r210637, r210913, r211666, r215400, r215817).
13704
13705 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13706 * dg-extract-results.py: New file.
13707 * dg-extract-results.sh: Use it if the environment seems
13708 suitable.
13709
13710 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13711
13712 * dg-extract-results.py (parse_run): Handle warnings that
13713 are printed before a test harness is run.
13714
13715 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13716
13717 * dg-extract-results.py (Named): Remove __cmp__ method.
13718 (output_variation): Use a key to sort variation.harnesses.
13719
13720 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13721
13722 * dg-extract-results.py: For Python 3, force sys.stdout to
13723 handle surrogate escape sequences.
13724 (safe_open): New function.
13725 (output_segment, main): Use it.
13726
13727 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13728
13729 * dg-extract-results.py (Prog.result_re): Include options
13730 in test name.
13731
13732 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13733
13734 * dg-extract-results.py (output_variation): Always sort if
13735 do_sum.
13736
13737 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13738
13739 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13740 as long as we get pagination notifications.
13741
13742 2014-12-15 Jason Merrill <jason@redhat.com>
13743
13744 * Makefile.in (check-gdb.%): Restore.
13745 * README: Mention it.
13746
13747 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13748
13749 * gdb.ada/str_uninit: New testcase.
13750
13751 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13752
13753 PR symtab/17642
13754 * gdb.base/vla-stub-define.c: New file.
13755 * gdb.base/vla-stub.c: New file.
13756 * gdb.base/vla-stub.exp: New file.
13757
13758 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13759 Jan Kratochvil <jan.kratochvil@redhat.com>
13760 Tom Tromey <tromey@redhat.com>
13761
13762 * configure.ac: Add gdb.compile/.
13763 * configure: Regenerate.
13764 * gdb.compile/Makefile.in: New file.
13765 * gdb.compile/compile-ops.exp: New file.
13766 * gdb.compile/compile-ops.c: New file.
13767 * gdb.compile/compile-tls.c: New file.
13768 * gdb.compile/compile-tls.exp: New file.
13769 * gdb.compile/compile-constvar.S: New file.
13770 * gdb.compile/compile-constvar.c: New file.
13771 * gdb.compile/compile-mod.c: New file.
13772 * gdb.compile/compile-nodebug.c: New file.
13773 * gdb.compile/compile-setjmp-mod.c: New file.
13774 * gdb.compile/compile-setjmp.c: New file.
13775 * gdb.compile/compile-setjmp.exp: New file.
13776 * gdb.compile/compile-shlib.c: New file.
13777 * gdb.compile/compile.c: New file.
13778 * gdb.compile/compile.exp: New file.
13779 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13780
13781 2014-12-12 Tom Tromey <tromey@redhat.com>
13782
13783 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13784 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13785
13786 2014-12-12 Doug Evans <dje@google.com>
13787
13788 * lib/gdb-python.exp (get_python_valueof): New function.
13789 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13790
13791 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13792
13793 * gdb.base/completion.exp: Add test for completion of "info
13794 registers ".
13795
13796 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13797
13798 * gdb.base/func-ptrs.c: New file.
13799 * gdb.base/func-ptrs.exp: New file.
13800
13801 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13802
13803 PR breakpoints/17012
13804 * gdb.base/dprintf-detach.c: New file.
13805 * gdb.base/dprintf-detach.exp: New file.
13806
13807 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13808
13809 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13810 * lib/gdb.exp (target_is_gdbserver): New procedure.
13811
13812 2014-12-08 Doug Evans <dje@google.com>
13813
13814 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13815
13816 2014-12-05 Yao Qi <yao@codesourcery.com>
13817
13818 * gdb.guile/scm-error.exp: Remove the third argument to
13819 gdb_remote_download.
13820 * gdb.guile/scm-frame-args.exp: Likewise.
13821 * gdb.guile/scm-section-script.exp: Likewise.
13822
13823 2014-12-05 Yao Qi <yao@codesourcery.com>
13824
13825 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13826
13827 2014-12-04 Doug Evans <dje@google.com>
13828
13829 * gdb.python/py-objfile.exp: Add tests for
13830 objfile.add_separate_debug_file.
13831
13832 2014-12-04 Doug Evans <dje@google.com>
13833
13834 * lib/gdb.exp (get_build_id): New function.
13835 (build_id_debug_filename_get): Rewrite to use it.
13836 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13837
13838 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13839
13840 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13841 `method(long)', not just 0x0.
13842 * gdb.cp/nsalias.exp: Align code labels to 4.
13843 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13844 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13845 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13846 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13847 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13848 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13849
13850 2014-12-02 Doug Evans <dje@google.com>
13851
13852 PR symtab/17602
13853 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13854 * gdb.cp/anon-ns2.cc: ... here. New file.
13855 * gdb.cp/anon-ns.exp: Update.
13856
13857 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13858
13859 * gdb.python/py-events.py (inferior_call_handler): New.
13860 (register_changed_handler, memory_changed_handler): New.
13861 (test_events.invoke): Register new handlers.
13862 * gdb.python/py-events.exp: Add tests for inferior call,
13863 memory_changed and register_changed events.
13864
13865 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13866
13867 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13868 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13869 if the linker doesn't understand this.
13870
13871 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13872
13873 * gdb.python/python.exp: Change expected reply to help().
13874
13875 2014-12-01 Yao Qi <yao@codesourcery.com>
13876
13877 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13878 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13879 * configure: Re-generated.
13880
13881 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13882
13883 * gdb.cp/chained-calls.cc: New file.
13884 * gdb.cp/chained-calls.exp: New file.
13885 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13886
13887 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13888
13889 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13890 * gdb.dwarf2/symtab-producer.exp: Same.
13891 * gdb.gdb/python-interrupts.exp: Same.
13892 * gdb.gdb/python-selftest.exp: Same.
13893 * gdb.python/py-linetable.exp: Same.
13894 * gdb.python/py-type.exp: Same.
13895 * gdb.python/py-value-cc.exp: Same.
13896 * gdb.python/py-value.exp: Same.
13897
13898 2014-11-28 Yao Qi <yao@codesourcery.com>
13899
13900 * gdb.base/break-probes.exp: Match library name prefixed with
13901 sysroot.
13902
13903 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13904
13905 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13906 test expected output. Add parentheses for the call to print.
13907 Remove L suffix from integers.
13908
13909 2014-11-26 Doug Evans <dje@google.com>
13910
13911 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13912
13913 2014-11-22 Yao Qi <yao@codesourcery.com>
13914
13915 * gdb.trace/entry-values.c: Remove asms.
13916 (foo): Add foo_label.
13917 (bar): Add bar_label.
13918 * gdb.trace/entry-values.exp: Remove code computing foo's
13919 length and bar's length.
13920 (Dwarf::assemble): Invoke function_range for bar and use
13921 MACRO_AT_func for foo.
13922
13923 2014-11-22 Yao Qi <yao@codesourcery.com>
13924
13925 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13926 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13927 Use .Lgcc43_procstart instead of gcc43.
13928
13929 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13930
13931 * gdb.ada/n_arr_bound: New testcase.
13932
13933 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13934
13935 PR breakpoints/10737
13936 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13937 test_catch_syscall_multi_arch.
13938 (test_catch_syscall_multi_arch): New function.
13939
13940 2014-11-20 Doug Evans <xdje42@gmail.com>
13941
13942 * gdb.base/maint.exp: Update expected output.
13943
13944 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13945
13946 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13947 4-byte instruction on S390.
13948
13949 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13950
13951 * gdb.ada/arr_arr: New testcase.
13952
13953 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13954
13955 * gdb.ada/pkd_arr_elem: New Testcase.
13956
13957 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13958
13959 * gdb.reverse/break-precsave: Expect completion message for
13960 core file reads.
13961 * gdb.reverse/consecutive-precsave.exp: Likewise.
13962 * gdb.reverse/finish-precsave.exp: Likewise.
13963 * gdb.reverse/i386-precsave.exp: Likewise.
13964 * gdb.reverse/machinestate-precsave.exp: Likewise.
13965 * gdb.reverse/sigall-precsave.exp: Likewise.
13966 * gdb.reverse/solib-precsave.exp: Likewise.
13967 * gdb.reverse/step-precsave.exp: Likewise.
13968 * gdb.reverse/until-precsave.exp: Likewise.
13969 * gdb.reverse/watch-precsave.exp: Likewise.
13970
13971 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13972
13973 * gdb.base/bp-permanent.c: Include unistd.h.
13974 * gdb.python/py-framefilter-mi.c (main): Add return type.
13975 * gdb.python/py-framefilter.c (main): Likewise.
13976 * gdb.trace/actions-changed.c (main): Likewise.
13977
13978 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13979
13980 * gdb.mi/until.c: Add eye-catchers.
13981 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13982 line numbers.
13983
13984 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13985
13986 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13987 function header variants in break1.c.
13988 * gdb.base/ena-dis-br.exp: Likewise.
13989 * gdb.base/hbreak2.exp: Likewise.
13990 * gdb.reverse/until-precsave.exp: Drop references to removed
13991 non-prototype function header variants in ur1.c.
13992 * gdb.reverse/until-reverse.exp: Likewise.
13993
13994 2014-11-17 Petr Machata <pmachata@redhat.com>
13995
13996 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13997 ${_cu_offset_size} bytes abbrev offset.
13998
13999 2014-11-15 Doug Evans <xdje42@gmail.com>
14000
14001 PR symtab/17559
14002 * gdb.base/line-symtabs.exp: New file.
14003 * gdb.base/line-symtabs.c: New file.
14004 * gdb.base/line-symtabs.h: New file.
14005
14006 2014-11-14 Yao Qi <yao@codesourcery.com>
14007
14008 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14009 (func): Add label func_label.
14010 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14011 Replace low_pc and high_pc with MACRO_AT_range.
14012 Replace name, low_pc and high_pc with MACRO_AT_func.
14013
14014 2014-11-14 Yao Qi <yao@codesourcery.com>
14015
14016 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14017 Replace name, low_pc and high_pc with MACRO_AT_func.
14018
14019 2014-11-14 Yao Qi <yao@codesourcery.com>
14020
14021 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14022 produce debug information.
14023 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14024
14025 2014-11-14 Yao Qi <yao@codesourcery.com>
14026
14027 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14028 object and get function length.
14029 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14030 with MACRO_AT_func.
14031 (top-level): Replace gdb_compile and clean_restart with
14032 prepare_for_testing.
14033 * gdb.dwarf2/main.c (main): Add label main_label.
14034
14035 2014-11-14 Yao Qi <yao@codesourcery.com>
14036
14037 * lib/dwarf.exp (function_range): New procedure.
14038 (Dwarf::_handle_macro_at_func): New procedure.
14039 (Dwarf::_handle_macro_at_range): New procedure.
14040 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14041
14042 2014-11-14 Yao Qi <yao@codesourcery.com>
14043
14044 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14045 (_handle_attribute): New procedure.
14046
14047 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14048
14049 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14050 * gdb.base/call-sc.c (zed): Likewise.
14051 * gdb.base/checkpoint.c (main): Likewise.
14052 * gdb.base/dump.c (main): Likewise.
14053 * gdb.base/gcore.c (main): Likewise.
14054 * gdb.base/huge.c (main): Likewise.
14055 * gdb.base/multi-forks.c (main): Likewise.
14056 * gdb.base/pr10179-a.c (main): Likewise.
14057 * gdb.base/savedregs.c (main): Likewise.
14058 * gdb.base/sigaltstack.c (main): Likewise.
14059 * gdb.base/siginfo.c (main): Likewise.
14060 * gdb.base/structs.c (zed): Likewise.
14061 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14062 * gdb.mi/mi-syn-frame.c (main): Likewise.
14063 * gdb.mi/until.c (foo, main): Likewise.
14064 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14065 * gdb.base/solib-weak.c (foo): Declare.
14066 * gdb.base/attach-twice.c: Include stdio.h.
14067 * gdb.base/weaklib1.c: Likewise.
14068 * gdb.base/weaklib2.c: Likewise.
14069 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14070 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14071 unistd.h.
14072 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14073 * gdb.mi/mi-exit-code.c: Likewise.
14074 * gdb.base/break-interp-lib.c: Include string.h.
14075 * gdb.base/coremaker.c: Likewise.
14076 * gdb.base/testenv.c: Likewise.
14077 * gdb.python/py-finish-breakpoint.c: Likewise.
14078 * gdb.base/inferior-died.c: Include sys/wait.h.
14079 * gdb.base/fileio.c: Include time.h.
14080 * gdb.base/async-shell.c: Include unistd.h.
14081 * gdb.base/dprintf-non-stop.c: Likewise.
14082 * gdb.base/info-os.c: Likewise.
14083 * gdb.mi/mi-console.c: Likewise.
14084 * gdb.mi/watch-nonstop.c: Likewise.
14085 * gdb.python/py-events.c: Likewise.
14086 * gdb.base/async.c (baz): Move up before its invocation.
14087 * gdb.base/code_elim2.c (my_global_func): Likewise.
14088 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14089 * gdb.base/advance.c (func2): Likewise.
14090
14091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14092
14093 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14094 variant.
14095 * gdb.base/annota3.c: Likewise.
14096 * gdb.base/async.c: Likewise.
14097 * gdb.base/average.c: Likewise.
14098 * gdb.base/call-ar-st.c: Likewise.
14099 * gdb.base/call-rt-st.c: Likewise.
14100 * gdb.base/call-sc.c: Likewise.
14101 * gdb.base/call-strs.c: Likewise.
14102 * gdb.base/ending-run.c: Likewise.
14103 * gdb.base/execd-prog.c: Likewise.
14104 * gdb.base/exprs.c: Likewise.
14105 * gdb.base/foll-exec.c: Likewise.
14106 * gdb.base/foll-fork.c: Likewise.
14107 * gdb.base/foll-vfork.c: Likewise.
14108 * gdb.base/funcargs.c: Likewise.
14109 * gdb.base/gcore.c: Likewise.
14110 * gdb.base/jump.c: Likewise.
14111 * gdb.base/langs0.c: Likewise.
14112 * gdb.base/langs1.c: Likewise.
14113 * gdb.base/langs2.c: Likewise.
14114 * gdb.base/mips_pro.c: Likewise.
14115 * gdb.base/nodebug.c: Likewise.
14116 * gdb.base/opaque0.c: Likewise.
14117 * gdb.base/opaque1.c: Likewise.
14118 * gdb.base/recurse.c: Likewise.
14119 * gdb.base/run.c: Likewise.
14120 * gdb.base/scope0.c: Likewise.
14121 * gdb.base/scope1.c: Likewise.
14122 * gdb.base/setshow.c: Likewise.
14123 * gdb.base/setvar.c: Likewise.
14124 * gdb.base/shmain.c: Likewise.
14125 * gdb.base/shr1.c: Likewise.
14126 * gdb.base/shr2.c: Likewise.
14127 * gdb.base/sigall.c: Likewise.
14128 * gdb.base/signals.c: Likewise.
14129 * gdb.base/so-indr-cl.c: Likewise.
14130 * gdb.base/solib2.c: Likewise.
14131 * gdb.base/structs.c: Likewise.
14132 * gdb.base/sum.c: Likewise.
14133 * gdb.base/vforked-prog.c: Likewise.
14134 * gdb.base/watchpoint.c: Likewise.
14135 * gdb.reverse/shr2.c: Likewise.
14136 * gdb.reverse/until-reverse.c: Likewise.
14137 * gdb.reverse/ur1.c: Likewise.
14138 * gdb.reverse/watch-reverse.c: Likewise.
14139
14140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14141
14142 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14143 variant.
14144 * gdb.base/sepdebug.exp: Drop references to removed code.
14145
14146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14147
14148 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14149 variant. Preserve original line numbering.
14150 * gdb.base/list1.c: Likewise.
14151
14152 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14153
14154 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14155 variant.
14156 * gdb.base/break1.c: Likewise.
14157 * gdb.base/break.exp: Drop references to removed code.
14158
14159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14160
14161 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14162 variant.
14163
14164 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14165
14166 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14167
14168 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14169
14170 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14171 logic into perform_all_tests() and invoke it with and without
14172 function header prototypes.
14173 (do_function_calls): Remove conditional XFAIL for PR 5318.
14174 (rerun_and_prepare): Remove duplicate code.
14175 (perform_all_tests): New. Main logic moved here.
14176
14177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14178
14179 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14180 code guarded by #ifdef NO_PROTOTYPES.
14181 (t_double_many_args): Likewise.
14182 (DEF_FUNC_MANY_ARGS_1): Likewise.
14183 (DEF_FUNC_VALUES_1): Likewise.
14184 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14185 guarded by #ifdef PROTOTYPES.
14186
14187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14188
14189 * gdb.mi/mi-console.c: Add eye-catcher.
14190 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14191 instead of literal line number.
14192
14193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14194
14195 * gdb.base/shr2.c: Add eye-catcher.
14196 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14197 line number.
14198
14199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14200
14201 * gdb.base/jump.c: Add eye-catchers.
14202 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14203 numbers.
14204
14205 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14206
14207 * gdb.base/execd-prog.c: Add eye-catchers.
14208 * gdb.base/foll-exec.c: Likewise.
14209 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14210 line numbers.
14211
14212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14213
14214 * gdb.base/ending-run.c: Add eye-catchers.
14215 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14216 literal line numbers.
14217
14218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14219
14220 * gdb.base/call-rt-st.c: Add eye-catchers.
14221 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14222 literal line numbers.
14223
14224 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14225
14226 * gdb.base/call-ar-st.c: Add eye-catchers.
14227 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14228 literal line numbers.
14229
14230 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14231
14232 * gdb.base/average.c: Add eye-catchers.
14233 * gdb.base/sum.c: Likewise.
14234 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14235 regexps dynamically.
14236
14237 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14238
14239 * gdb.base/solib1.c: Add eye-catchers.
14240 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14241 literal line numbers.
14242
14243 2014-11-12 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14246 leader has exited.
14247
14248 2014-11-12 Pedro Alves <palves@redhat.com>
14249
14250 * gdb.arch/i386-bp_permanent.c: New file.
14251 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14252 (srcfile): Set to i386-bp_permanent.c.
14253 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14254 that stepi does not execute the 'leave' instruction, instead of
14255 testing it does execute.
14256 * gdb.base/bp-permanent.c: New file.
14257 * gdb.base/bp-permanent.exp: New file.
14258
14259 2014-11-10 Doug Evans <xdje42@gmail.com>
14260
14261 PR symtab/17564
14262 * gdb.base/symtab-search-order.exp: New file.
14263 * gdb.base/symtab-search-order.c: New file.
14264 * gdb.base/symtab-search-order-1.c: New file.
14265 * gdb.base/symtab-search-order-shlib-1.c: New file.
14266
14267 2014-11-07 Pedro Alves <palves@redhat.com>
14268
14269 PR gdb/17511
14270 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14271 i?86-*-linux*.
14272
14273 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14274
14275 PR c++/17494
14276 * gdb.cp/pr17494.cc: New file.
14277 * gdb.cp/pr17494.exp: New file.
14278
14279 2014-11-02 Yao Qi <yao@codesourcery.com>
14280
14281 * gdb.python/python.exp: Get working directory and match the
14282 output of "set extended-prompt \\w " with it.
14283
14284 2014-10-30 Doug Evans <dje@google.com>
14285
14286 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14287 in objfiles.
14288 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14289 in progspaces.
14290
14291 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14292
14293 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14294 * gdb.base/realname-expand.exp: Likewise.
14295 * gdb.linespec/macro-relative.exp: Likewise.
14296
14297 2014-10-29 Pedro Alves <palves@redhat.com>
14298
14299 PR gdb/17408
14300 * gdb.threads/schedlock.c (some_function): New function.
14301 (call_function): New global.
14302 (MAYBE_CALL_SOME_FUNCTION): New macro.
14303 (thread_function): Call it.
14304 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14305 and use it instead of a global counter. Adjust all callers.
14306 (get_current_thread): Use "find current thread" for test message
14307 here rather than having all callers pass down the same string.
14308 (goto_loop): New procedure, factored out from ...
14309 (my_continue): ... this.
14310 (step_ten_loops): Change parameter from test message to command to
14311 use. Adjust.
14312 (list_count): Delete global.
14313 (check_result): New procedure, factored out from duplicate top
14314 level code.
14315 (continue tests): Wrap in with_test_prefix.
14316 (test_step): New procedure, factored out from duplicate top level
14317 code.
14318 (top level): Test "step" in combination with all scheduler-locking
14319 modes. Test "next" in combination with all scheduler-locking
14320 modes, and in combination with stepping over a function call or
14321 not.
14322 * gdb.threads/next-bp-other-thread.c: New file.
14323 * gdb.threads/next-bp-other-thread.exp: New file.
14324
14325 2014-10-29 Pedro Alves <palves@redhat.com>
14326
14327 PR python/17372
14328 * gdb.python/python.exp: Test a multi-line command that spawns
14329 interactive Python.
14330 * gdb.base/multi-line-starts-subshell.exp: New file.
14331
14332 2014-10-29 Yao Qi <yao@codesourcery.com>
14333
14334 * gdb.base/fileio.exp: Make directories on host.
14335
14336 2014-10-29 Yao Qi <yao@codesourcery.com>
14337
14338 * gdb.base/fileio.c (test_write): Close the file.
14339
14340 2014-10-28 Pedro Alves <palves@redhat.com>
14341
14342 PR gdb/12623
14343 * gdb.base/sigstep.c (no_handler): New global.
14344 (main): If 'no_handler is true, set the signal handlers to
14345 SIG_IGN.
14346 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14347 with_sw_watch and no_handler parameters. Handle them.
14348 (top level) <stepping over handler when stopped at a breakpoint
14349 test>: Add a test axis for testing with a software watchpoint, and
14350 another for testing with the signal handler set to SIG_IGN.
14351 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14352 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14353
14354 2014-10-28 Pedro Alves <palves@redhat.com>
14355
14356 PR gdb/17511
14357 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14358 * gdb.base/sigstep.exp (other_handler_location): New global.
14359 (advance): Support stepping into the signal handler, and running
14360 commands while in the handler.
14361 (in_handler_map): New global.
14362 (top level): In the advance test, add combinations for getting
14363 into the handler with stepping commands, and for running commands
14364 in the handler. Add comment descripting the advancei tests.
14365
14366 2014-10-28 Pedro Alves <palves@redhat.com>
14367
14368 * gdb.base/sigstep.exp: Use build_executable instead of
14369 prepare_for_testing.
14370 (top level): Move code that starts GDB, runs to main and creates a
14371 display to ...
14372 (restart): ... this new procedure.
14373 (top level): Move backtrace from signal handler test to ...
14374 (validate_backtrace): ... this new procedure.
14375 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14376 with_test_prefix. Always restart GDB.
14377 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14378 with_test_prefix. Always restart GDB. No need to delete
14379 breakpoints after the test.
14380 (test_skip_handler): Remove prefix parameter.
14381 (skip_over_handler, breakpoint_to_handler)
14382 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14383 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14384 restart GDB. No need to delete breakpoints after the test.
14385 (top level): Use foreach to call the test procedures with
14386 different commands.
14387
14388 2014-10-28 Pedro Alves <palves@redhat.com>
14389
14390 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14391 instead of GNATS numbers.
14392 * gdb.base/sigbpt.exp: Likewise.
14393 * gdb.base/siginfo.exp: Likewise.
14394 * gdb.base/sigstep.exp: Likewise.
14395
14396 2014-10-27 Pedro Alves <palves@redhat.com>
14397
14398 * gdb.base/sigstep.c (dummy): New global.
14399 (main): Issue a couple writes to the new global.
14400 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14401 procedures.
14402 (skip_over_handler): Use test_skip_handler.
14403 (top level): Call skip_over_handler for stepi and nexti too.
14404 (breakpoint_over_handler): Use test_skip_handler.
14405 (top level): Call breakpoint_over_handler for stepi and nexti too.
14406
14407 2014-10-27 Yao Qi <yao@codesourcery.com>
14408
14409 * gdb.trace/tfile.c (adjust_function_address)
14410 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14411 function descriptor.
14412
14413 2014-10-24 Don Breazeal <donb@codesourcery.com>
14414
14415 * gdb.base/foll-fork.exp (test_follow_fork,
14416 catch_fork_child_follow): Check for updated fork messages emitted
14417 from infrun.c.
14418 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14419 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14420 vfork_and_exec_child_follow_through_step): Check for updated vfork
14421 messages emitted from infrun.c.
14422
14423 2014-10-24 Pedro Alves <palves@redhat.com>
14424
14425 * gdb.base/corefile.exp: Remove references to ultrix.
14426 * gdb.base/interrupt.exp: Likewise.
14427 * gdb.base/whatis.exp: Likewise.
14428 * gdb.gdb/selftest.exp: Likewise.
14429 * gdb.threads/manythreads.exp: Likewise.
14430 * gdb.threads/print-threads.exp: Likewise.
14431 * gdb.threads/pthreads.exp:: Likewise.
14432 * gdb.threads/schedlock.exp: Likewise.
14433
14434 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14435
14436 * gdb.cp/non-trivial-retval.cc: Add a test case.
14437 * gdb.cp/non-trivial-retval.exp: Add a test.
14438
14439 2014-10-20 Yao Qi <yao@codesourcery.com>
14440
14441 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14442 * gdb.python/py-objfile-script-gdb.py: New file.
14443 * gdb.python/py-objfile-script.exp: Update reference to
14444 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14445 of remote_download. Remove the dest file.
14446
14447 2014-10-20 Yao Qi <yao@codesourcery.com>
14448
14449 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14450 * gdb.base/step-line.exp: Likewise.
14451 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14452 * gdb.dwarf2/dw2-basic.exp: Likewise.
14453 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14454 * gdb.dwarf2/dw2-filename.exp: Likewise.
14455 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14456 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14457 * gdb.dwarf2/dw2-producer.exp: Likewise.
14458 * gdb.dwarf2/mac-fileno.exp: Likewise.
14459 * gdb.python/py-frame-args.exp: Likewise.
14460 * gdb.python/py-framefilter.exp: Likewise.
14461 * gdb.python/py-mi.exp: Likewise.
14462 * gdb.python/py-objfile-script.exp: Likewise
14463 * gdb.python/py-pp-integral.exp: Likewise.
14464 * gdb.python/py-pp-re-notag.exp: Likewise.
14465 * gdb.python/py-prettyprint.exp: Likewise.
14466 * gdb.python/py-section-script.exp: Likewise.
14467 * gdb.python/py-typeprint.exp: Likewise.
14468 * gdb.python/py-xmethods.exp: Likewise.
14469 * gdb.stabs/weird.exp: Likewise.
14470 * gdb.xml/tdesc-regs.exp: Likewise.
14471
14472 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14473
14474 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14475 (out_cu): Use addr_len for the size of addresses.
14476 (out_line): Likewise. Size DW_LNE_set_address instruction
14477 according to addr_len.
14478 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14479 (FUNC): Add START_INSNS to definition.
14480
14481 2014-10-18 Yao Qi <yao@codesourcery.com>
14482
14483 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14484 gdb_has_argv0 return true.
14485 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14486 check [target_info exists noargs], check [gdb_has_argv0]
14487 instead.
14488 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14489 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14490 procedures.
14491
14492 2014-10-17 Doug Evans <dje@google.com>
14493
14494 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14495 event.
14496 * gdb.python/py-events.py: Add clear_objfiles event.
14497
14498 2014-10-17 Doug Evans <dje@google.com>
14499
14500 * gdb.python/py-objfile.exp: Test progspace attribute.
14501
14502 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14503
14504 * gdb.guile/scm-breakpoint.exp: Do not assume any
14505 directory separators when matching source file paths.
14506 * gdb.python/py-breakpoint.exp: Likewise.
14507 * gdb.reverse/break-precsave.exp: Likewise.
14508 * gdb.reverse/break-reverse.exp: Likewise.
14509 * gdb.reverse/consecutive-precsave.exp: Likewise.
14510 * gdb.reverse/finish-precsave.exp: Likewise.
14511 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14512 * gdb.reverse/finish-reverse.exp: Likewise.
14513 * gdb.reverse/i386-precsave.exp: Likewise.
14514 * gdb.reverse/i387-env-reverse.exp: Likewise.
14515 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14516 * gdb.reverse/machinestate-precsave.exp: Likewise.
14517 * gdb.reverse/machinestate.exp: Likewise.
14518 * gdb.reverse/sigall-precsave.exp: Likewise.
14519 * gdb.reverse/solib-precsave.exp: Likewise.
14520 * gdb.reverse/step-precsave.exp: Likewise.
14521 * gdb.reverse/until-precsave.exp: Likewise.
14522 * gdb.reverse/watch-precsave.exp: Likewise.
14523 * gdb.reverse/watch-reverse.exp: Likewise.
14524
14525 2014-10-17 Yao Qi <yao@codesourcery.com>
14526
14527 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14528 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14529
14530 2014-10-17 Pedro Alves <palves@redhat.com>
14531
14532 PR gdb/17471
14533 * gdb.base/bg-execution-repeat.c: New file.
14534 * gdb.base/bg-execution-repeat.exp: New file.
14535
14536 2014-10-17 Pedro Alves <palves@redhat.com>
14537
14538 PR gdb/17300
14539 * gdb.base/continue-all-already-running.c: New file.
14540 * gdb.base/continue-all-already-running.exp: New file.
14541
14542 2014-10-17 Pedro Alves <palves@redhat.com>
14543
14544 PR gdb/17472
14545 * gdb.base/annota-input-while-running.c: New file.
14546 * gdb.base/annota-input-while-running.exp: New file.
14547
14548 2014-10-17 Pedro Alves <palves@redhat.com>
14549
14550 * gdb.base/callfuncs.exp: emove references to osf.
14551 * gdb.base/sigall.exp: Likewise.
14552 * gdb.gdb/selftest.exp: Likewise.
14553 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14554 * gdb.mi/non-stop.c: Likewise.
14555 * gdb.mi/pthreads.c: Likewise.
14556 * gdb.reverse/sigall-precsave.exp: Likewise.
14557 * gdb.reverse/sigall-reverse.exp: Likewise.
14558 * gdb.threads/pthreads.c: Likewise.
14559 * gdb.threads/pthreads.exp: Likewise.
14560
14561 2014-10-17 Yao Qi <yao@codesourcery.com>
14562
14563 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14564 check 'target_info exists noargs'.
14565 (test_command_prompt_position): Likewise.
14566 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14567 Remove "set args".
14568 (progvar_simple_while_test): Likewise.
14569 (progvar_complex_if_while_test): Likewise.
14570 (if_while_breakpoint_command_test): Likewise.
14571 (infrun_breakpoint_command_test): Likewise.
14572 (breakpoint_command_test): Likewise.
14573 (watchpoint_command_test): Likewise.
14574 (bp_deleted_in_command_test): Likewise.
14575 (temporary_breakpoint_commands): Likewise.
14576
14577 2014-10-16 Yao Qi <yao@codesourcery.com>
14578
14579 * gdb.base/remotetimeout.exp: Remove noargs checking.
14580
14581 2014-10-15 Pedro Alves <palves@redhat.com>
14582
14583 PR breakpoints/9649
14584 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14585 * gdb.base/breakpoint-in-ro-region.exp
14586 (probe_target_hardware_step): New procedure.
14587 (top level): Probe hardware stepping and hardware breakpoint
14588 support. Test stepping through a read-only region, with both
14589 "breakpoint auto-hw" on and off and both "always-inserted" on and
14590 off.
14591
14592 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14593
14594 * gdb.dlang/demangle.exp: Update for demangling changes.
14595
14596 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14597
14598 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14599 * gdb.cp/non-trivial-retval.exp: Add new tests.
14600
14601 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14602
14603 PR c++/13403
14604 PR c++/15154
14605 * gdb.cp/non-trivial-retval.cc: New file.
14606 * gdb.cp/non-trivial-retval.exp: New file.
14607
14608 2014-10-15 Yao Qi <yao@codesourcery.com>
14609
14610 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14611 remote host.
14612
14613 2014-10-15 Yao Qi <yao@codesourcery.com>
14614
14615 * gdb.python/py-symbol.exp: Match file base name if host is
14616 remote, otherwise match file name with dir name.
14617 * gdb.python/py-symtab.exp: Likewise.
14618 * gdb.python/python.exp: Likewise.
14619
14620 2014-10-15 Yao Qi <yao@codesourcery.com>
14621
14622 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14623 pattern.
14624 * gdb.python/py-symtab.exp: Likewise.
14625 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14626 locationn.
14627
14628 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14629
14630 * gdb.ada/addr_arith: New testcase.
14631
14632 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14633
14634 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14635 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14636 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14637 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14638
14639 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14640
14641 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14642 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14643 * gdb.arch/stap-eval-lang-ada.exp: New file.
14644
14645 2014-10-14 Yao Qi <yao@codesourcery.com>
14646
14647 * gdb.mi/mi-var-child.c (nothing1): New function.
14648 (nothing2): New function.
14649 (do_children_tests): Set function pointers by nothing1 and
14650 nothing2.
14651 * gdb.mi/mi-var-child.exp: Step over new added statements.
14652 Update test to match the new output.
14653 * gdb.mi/var-cmd.c (nothing1): New function.
14654 (nothing2): New function.
14655 (do_children_tests): Set function pointers by nothing1 and
14656 nothing2.
14657 * gdb.mi/mi-var-display.exp: Update test to match output.
14658 Step to the line specified by $line_dct_nothing.
14659 Increase the number of lines to step.
14660
14661 2014-10-14 Yao Qi <yao@codesourcery.com>
14662
14663 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14664 tests.
14665 * gdb.mi/mi2-var-child.exp: Likewise.
14666
14667 2014-10-13 Doug Evans <dje@google.com>
14668
14669 * gdb.python/py-objfile.exp: Change name of file name test.
14670
14671 2014-10-13 Doug Evans <dje@google.com>
14672
14673 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14674 from the start of the CU.
14675
14676 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14677 Yao Qi <yao@codesourcery.com>
14678
14679 Fix "save breakpoints" for "catch" command.
14680 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14681 Remove -nonewline. Match also the added "main" line.
14682
14683 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14684
14685 Fix "save breakpoints" for "disable $bpnum" command.
14686 * gdb.base/save-bp.c (main): Add label.
14687 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14688
14689 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14690
14691 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14692
14693 2014-10-11 Yao Qi <yao@codesourcery.com>
14694
14695 * gdb.server/server-kill.exp: Execute command
14696 "set remote trace-status-packet on" before "tstatus".
14697
14698 2014-10-11 Yao Qi <yao@codesourcery.com>
14699
14700 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14701 (main): Call getppid.
14702 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14703 and continue to it. Read variable "server_pid".
14704
14705 2014-10-11 Yao Qi <yao@codesourcery.com>
14706
14707 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14708
14709 2014-10-11 Yao Qi <yao@codesourcery.com>
14710
14711 * gdb.threads/thread-find.exp: Don't execute command
14712 "info threads".
14713 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14714 * gdb.threads/linux-dp.exp: Don't check the condition
14715 $threads_created equals to zero.
14716
14717 2014-10-10 Pedro Alves <palves@redhat.com>
14718
14719 * gdb.base/bigcore.exp: Remove references to IRIX.
14720 * gdb.base/funcargs.exp: Likewise.
14721 * gdb.base/interrupt.exp: Likewise.
14722 * gdb.base/mips_pro.exp: Likewise.
14723 * gdb.base/nodebug.exp: Likewise.
14724 * gdb.base/setvar.exp: Likewise.
14725 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14726
14727 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14728 Pedro Alves <palves@redhat.com>
14729
14730 PR symtab/14466
14731 * gdb.base/vdso-warning.c: New file.
14732 * gdb.base/vdso-warning.exp: New file.
14733
14734 2014-10-02 Doug Evans <dje@google.com>
14735
14736 * gdb.base/structs.c (main): Don't run forever.
14737
14738 2014-10-02 Pedro Alves <palves@redhat.com>
14739
14740 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14741 (top level) <stop threads 1, stop threads 2>: Use it.
14742
14743 2014-10-02 Pedro Alves <palves@redhat.com>
14744
14745 * gdb.threads/break-while-running.exp (test): Add new
14746 'update_thread_list' argument. Skip "info threads" if false.
14747 (top level): Add new 'update_thread_list' axis.
14748
14749 2014-10-02 Pedro Alves <palves@redhat.com>
14750
14751 PR breakpoints/17431
14752 * gdb.base/execl-update-breakpoints.c: New file.
14753 * gdb.base/execl-update-breakpoints.exp: New file.
14754
14755 2014-10-01 Pedro Alves <palves@redhat.com>
14756
14757 * gdb.base/breakpoint-in-ro-region.c: New file.
14758 * gdb.base/breakpoint-in-ro-region.exp: New file.
14759
14760 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14761
14762 * gdb.mi/mi-exit-code.exp: New file.
14763 * gdb.mi/mi-exit-code.c: New file.
14764
14765 2014-09-30 Yao Qi <yao@codesourcery.com>
14766
14767 * lib/prelink-support.exp (build_executable_own_libs): Error if
14768 the target isn't native.
14769
14770 2014-09-30 Yao Qi <yao@codesourcery.com>
14771
14772 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14773 false.
14774
14775 2014-09-22 Pedro Alves <palves@redhat.com>
14776
14777 * gdb.threads/break-while-running.exp: New file.
14778 * gdb.threads/break-while-running.c: New file.
14779
14780 2014-09-19 Yao Qi <yao@codesourcery.com>
14781
14782 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14783 Invoke test. Restart GDB with --readnow and invoke test again.
14784
14785 2014-09-19 Yao Qi <yao@codesourcery.com>
14786
14787 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14788 proc set_breakpoint_on_gcd_function. Invoke
14789 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14790 invoke set_breakpoint_on_gcd_function again.
14791
14792 2014-09-18 Doug Evans <dje@google.com>
14793
14794 * gdb.dwarf2/symtab-producer.exp: New file.
14795
14796 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14797
14798 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14799 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14800 * gdb.base/global-var-nested-by-dso.c: Likewise.
14801 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14802
14803 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14804 Pedro Alves <palves@redhat.com>
14805
14806 * gdb.base/watch-bitfields.exp: Pass string other than test file
14807 name to prepare_for_testing.
14808 (watch): New procedure.
14809 (expect_watchpoint): Use with_test_prefix.
14810 (top level): Factor out tests to ...
14811 (test_watch_location, test_regular_watch): ... these new
14812 procedures, and use with_test_prefix and gdb_continue_to_end.
14813
14814 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14815
14816 PR breakpoints/12526
14817 * gdb.base/watch-bitfields.exp: New file.
14818 * gdb.base/watch-bitfields.c: New file.
14819
14820 2014-09-16 Pedro Alves <palves@redhat.com>
14821
14822 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14823 software and hardware addresses, not software address against
14824 itself.
14825
14826 2014-09-16 Pedro Alves <palves@redhat.com>
14827
14828 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14829 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14830
14831 2014-09-16 Pedro Alves <palves@redhat.com>
14832
14833 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14834 files.
14835 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14836 "*-*-vxworks*" throughout.
14837 * gdb.base/break.exp: Likewise.
14838 * gdb.base/default.exp: Likewise.
14839 * gdb.base/scope.exp: Likewise.
14840 * gdb.base/sepdebug.exp: Likewise.
14841 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14842 throughout.
14843 * gdb.base/run.c: Likewise.
14844 * gdb.base/sepdebug.c: Likewise.
14845 * gdb.hp/gdb.aCC/run.c: Likewise.
14846 * gdb.reverse/until-reverse.c: Likewise.
14847 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14848
14849 2014-09-16 Yao Qi <yao@codesourcery.com>
14850
14851 * boards/local-remote-host-native.exp: New file.
14852
14853 2014-09-14 Doug Evans <xdje42@gmail.com>
14854
14855 * gdb.threads/queue-signal.c (thread_count): New variable.
14856 (thread_count_mutex, thread_count_condvar): New variables.
14857 (incr_thread_count, wait_all_threads_running): New functions.
14858 (main): Wait for all threads to be in their thread functions.
14859
14860 2014-09-13 Doug Evans <xdje42@gmail.com>
14861
14862 * gdb.threads/queue-signal.c: New file.
14863 * gdb.threads/queue-signal.exp: New file.
14864
14865 2014-09-13 Doug Evans <xdje42@gmail.com>
14866
14867 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14868 be consistent with what default_gdb_init uses.
14869 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14870 the plain text of the prompt. Add some logging printfs.
14871 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14872
14873 2014-09-12 Pedro Alves <palves@redhat.com>
14874
14875 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14876 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14877 * gdb.arch/i386-size-overlap.exp: Likewise.
14878 * gdb.arch/i386-size.exp: Likewise.
14879 * gdb.arch/i386-unwind.exp: Likewise.
14880 * gdb.base/a2-run.exp: Likewise.
14881 * gdb.base/break.exp: Likewise.
14882 * gdb.base/charset.exp: Likewise.
14883 * gdb.base/chng-syms.exp: Likewise.
14884 * gdb.base/commands.exp: Likewise.
14885 * gdb.base/dbx.exp: Likewise.
14886 * gdb.base/find.exp: Likewise.
14887 * gdb.base/funcargs.exp: Likewise.
14888 * gdb.base/jit-simple.exp: Likewise.
14889 * gdb.base/reread.exp: Likewise.
14890 * gdb.base/sepdebug.exp: Likewise.
14891 * gdb.base/step-bt.exp: Likewise.
14892 * gdb.cp/mb-inline.exp: Likewise.
14893 * gdb.cp/mb-templates.exp: Likewise.
14894 * gdb.objc/basicclass.exp: Likewise.
14895 * gdb.threads/killed.exp: Likewise.
14896
14897 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14898
14899 PR tdep/17379
14900 * gdb.arch/powerpc-stackless.S: New file.
14901 * gdb.arch/powerpc-stackless.exp: New file.
14902
14903 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14904
14905 * gdb.base/attach.c: Include unistd.h.
14906 (main): Call alarm. Add label postloop.
14907 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14908 gdb_breakpoint, gdb_continue_to_breakpoint.
14909 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14910
14911 2014-09-11 Pedro Alves <palves@redhat.com>
14912
14913 PR gdb/17347
14914 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14915 * gdb.base/attach.exp (test_command_line_attach_run): New
14916 procedure.
14917 (top level): Call it.
14918
14919 2014-09-11 Pedro Alves <palves@redhat.com>
14920
14921 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14922 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14923 (do_command_attach_tests): Use spawn_wait_for_attach.
14924 * gdb.base/solib-overlap.exp: Likewise.
14925 * gdb.multi/multi-attach.exp: Likewise.
14926 * gdb.python/py-prompt.exp: Likewise.
14927 * gdb.python/py-sync-interp.exp: Likewise.
14928 * gdb.server/ext-attach.exp: Likewise.
14929
14930 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14931
14932 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14933 command in testcase. Simplify testcase.
14934
14935 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14936
14937 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14938
14939 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14940
14941 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14942
14943 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14944
14945 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14946
14947 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14948
14949 * gdb.dwarf2/dynarr-ptr.c: New file.
14950 * gdb.dwarf2/dynarr-ptr.exp: New file.
14951
14952 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14953
14954 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14955 of 30 rather than hardcoding 120 for a slow test case. Take the
14956 `gdb,timeout' target setting into account for this calculation.
14957 Don't extend the timeout for the test cases that don't need it.
14958
14959 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14960
14961 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14962 a factor of 2 for a slow test case. Take the `gdb,timeout'
14963 target setting into account for this calculation.
14964 * gdb.reverse/until-precsave.exp: Increase the timeout by
14965 a factor of 15 and 3 respectively rather than adding 120
14966 for a pair of slow test cases. Take the `gdb,timeout'
14967 target setting into account for this calculation.
14968
14969 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14970
14971 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14972 timeout, don't pass one down to gdb_expect.
14973 (gdb_expect): Rework timeout selection.
14974
14975 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14976
14977 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14978 exception on timeout.
14979 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14980 (gdbserver_start_extended): Catch any `gdbserver_start' error
14981 exceptions.
14982 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14983 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14984 `gdbserver_gdb_load' error exceptions.
14985
14986 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14987
14988 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14989 120 on waiting for the TCP socket to open.
14990
14991 2014-09-09 Doug Evans <xdje42@gmail.com>
14992
14993 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14994 _caller_matches, _any_caller_is, _any_caller_matches.
14995
14996 2014-09-09 Doug Evans <xdje42@gmail.com>
14997
14998 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14999
15000 2014-09-09 Yao Qi <yao@codesourcery.com>
15001
15002 * gdb.mi/mi-var-display.exp: Set print symbol off.
15003
15004 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15005
15006 PR gdb/17035
15007 * gdb.base/commands.exp: Add tests to verify user-defined
15008 commands with empty bodies.
15009 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15010 python commands in `show user command`.
15011 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15012 scheme commands in `show user command`.
15013
15014 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15015
15016 PR python/17355
15017 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15018 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15019 * gdb.python/py-framefilter-invalidarg.exp: New file.
15020 * gdb.python/py-framefilter-invalidarg.py: New file.
15021
15022 2014-09-06 Doug Evans <xdje42@gmail.com>
15023
15024 PR 15276
15025 * gdb.python/py-caller-is.c: New file.
15026 * gdb.python/py-caller-is.exp: New file.
15027
15028 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15029
15030 PR gdb/17235
15031 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15032 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15033
15034 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15035
15036 PR fortran/17237
15037 * gdb.fortran/print-formatted.exp: New file.
15038 * gdb.fortran/print-formatted.f90: Likewise.
15039
15040 2014-09-03 Sasha Smundak <asmundak@google.com>
15041
15042 * gdb.python/py-frame.exp: Test Frame.read_register.
15043
15044 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15045
15046 PR python/16699
15047 * gdb.python/py-completion.exp: New file.
15048 * gdb.python/py-completion.py: Likewise.
15049
15050 2014-08-28 Doug Evans <dje@google.com>
15051
15052 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15053 eax,etc. are live with values set by gdb and thus the compiler can't
15054 use them.
15055 * gdb.arch/i386-pseudo.c (main): Ditto.
15056
15057 2014-08-27 Doug Evans <dje@google.com>
15058
15059 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15060
15061 2014-08-25 Doug Evans <dje@google.com>
15062
15063 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15064 (main): Ditto.
15065
15066 2014-08-25 Doug Evans <dje@google.com>
15067
15068 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15069
15070 2014-08-24 Yao Qi <yao@codesourcery.com>
15071
15072 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15073 symbol off.
15074 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15075
15076 2014-08-22 Doug Evans <dje@google.com>
15077
15078 PR 17276
15079 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15080 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15081 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15082
15083 2014-08-22 Yao Qi <yao@codesourcery.com>
15084
15085 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15086 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15087 * gdb.python/python.exp: Likewise. Use .py file on the host
15088 instead of the build.
15089
15090 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15091
15092 * gdb.threads/gcore-stale-thread.c: New file.
15093 * gdb.threads/gcore-stale-thread.exp: New file.
15094
15095 2014-08-21 Pedro Alves <palves@redhat.com>
15096
15097 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15098 * gdb.base/gcore-relro-pie.exp: Likewise.
15099 * gdb.base/gcore-relro.exp: Likewise.
15100 * gdb.base/gcore.exp: Likewise.
15101 * gdb.base/print-symbol-loading.exp: Likewise.
15102 * gdb.threads/gcore-thread.exp: Likewise.
15103 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15104
15105 2014-08-20 Pedro Alves <palves@redhat.com>
15106 Jan Kratochvil <jan.kratochvil@redhat.com>
15107
15108 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15109 configure.
15110 (EXPECT): Handle READ1 being set.
15111 (all): Depend on EXTRA_RULES.
15112 (check-read1, expect-read1, read1.so, read1): New rules.
15113 * README (Testsuite Parameters): Document the READ1 make variable.
15114 (Race detection): New section.
15115 * configure: Regenerate.
15116 * configure.ac: If build==host==target, and running under a
15117 GNU/glibc system, add read1 to the extra Makefile rules.
15118 (EXTRA_RULES): AC_SUBST it.
15119 * lib/read1.c: New file.
15120
15121 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15122
15123 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15124 the handling of variables declared as a typedef to an array
15125 which a DW_AT_data_location attribute.
15126
15127 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15128 Pedro Alves <palves@redhat.com>
15129
15130 PR symtab/14604
15131 PR symtab/14605
15132 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15133 gdb_test.
15134
15135 2014-08-19 Pedro Alves <palves@redhat.com>
15136
15137 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15138
15139 2014-08-19 Yao Qi <yao@codesourcery.com>
15140
15141 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15142 right line.
15143
15144 2014-08-18 David Blaikie <dblaikie@gmail.com>
15145
15146 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15147
15148 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15149
15150 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15151 attribute in array range.
15152
15153 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15154
15155 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15156
15157 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15158
15159 PR c++/17132
15160 * gdb.cp/pr17132.cc: New file.
15161 * gdb.cp/pr17132.exp: New file.
15162
15163 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15164
15165 * gdb.python/py-xmethods.py (A_getarrayind)
15166 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15167 Use 'print' with function call syntax.
15168 (E_method_matcher.match): Fix tab vs space indentation mixup.
15169
15170 2014-08-15 Yao Qi <yao@codesourcery.com>
15171
15172 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15173 false.
15174
15175 2014-08-15 Yao Qi <yao@codesourcery.com>
15176
15177 * gdb.cp/casts.exp: Set print symbol off.
15178 * gdb.cp/class2.exp: Likewise.
15179 * gdb.cp/overload.exp: Likewise.
15180 * gdb.cp/templates.exp: Likewise.
15181
15182 2014-08-11 Doug Evans <dje@google.com>
15183
15184 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15185 (test_load_shlib): Update.
15186
15187 2014-08-09 Yao Qi <yao@codesourcery.com>
15188
15189 * gdb.base/display.exp: Invoke is_address_zero_readable.
15190 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15191 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15192 * gdb.base/hbreak-unmapped.exp: Return if
15193 is_address_zero_readable returns true.
15194 * gdb.base/signest.exp: Likewise.
15195 * gdb.base/signull.exp: Likewise.
15196 * gdb.base/sigbpt.exp: Likewise.
15197 * gdb.guile/scm-disasm.exp: Do the test if
15198 is_address_zero_readable returns false.
15199 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15200 * gdb.python/py-arch.exp: Likewise.
15201 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15202 * lib/gdb.exp (is_address_zero_readable): New proc.
15203
15204 2014-08-09 Yao Qi <yao@codesourcery.com>
15205
15206 PR testsuite/13443
15207 * gdb.mi/mi-var-display.exp: Make test messages unique.
15208
15209 2014-08-04 Tom Tromey <tromey@redhat.com>
15210
15211 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15212 target 0".
15213
15214 2014-08-04 Tom Tromey <tromey@redhat.com>
15215
15216 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15217 "target_resume".
15218
15219 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15220
15221 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15222 inner_vla_struct_object_size.
15223 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15224 as xfail.
15225
15226 2014-07-30 Pedro Alves <palves@redhat.com>
15227
15228 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15229 comment.
15230
15231 2014-07-29 Yao Qi <yao@codesourcery.com>
15232
15233 PR gdb/17206
15234 * gdb.base/until-nodebug.exp: New.
15235
15236 2014-07-28 Doug Evans <xdje42@gmail.com>
15237
15238 PR guile/17203
15239 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15240 previously existing parameter, and previously ambiguously spelled
15241 parameter.
15242
15243 2014-07-28 Will Newton <will.newton@linaro.org>
15244
15245 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15246
15247 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15248 Doug Evans <xdje42@gmail.com>
15249
15250 PR guile/17146
15251 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15252
15253 2014-07-25 Pedro Alves <palves@redhat.com>
15254
15255 * gdb.threads/signal-command-handle-nopass.c: New file.
15256 * gdb.threads/signal-command-handle-nopass.exp: New file.
15257 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15258 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15259 * gdb.threads/signal-delivered-right-thread.c: New file.
15260 * gdb.threads/signal-delivered-right-thread.exp: New file.
15261
15262 2014-07-25 Pedro Alves <palves@redhat.com>
15263
15264 * gdb.base/double-prompt-target-event-error.exp
15265 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15266 match.
15267 (cancel_pagination_in_target_event): Rework double prompt
15268 detection.
15269 * gdb.base/paginate-after-ctrl-c-running.exp
15270 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15271 <return>' match.
15272 * gdb.base/paginate-bg-execution.exp
15273 (test_bg_execution_pagination_return)
15274 (test_bg_execution_pagination_cancel): Remove '-notransfer
15275 <return>' matches.
15276 * gdb.base/paginate-execution-startup.exp
15277 (test_fg_execution_pagination_return)
15278 (test_fg_execution_pagination_cancel): Remove '-notransfer
15279 <return>' matches.
15280 * gdb.base/paginate-inferior-exit.exp
15281 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15282 match.
15283 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15284 * lib/gdb.exp (pagination_prompt): Run text through
15285 string_to_regexp.
15286 (gdb_test_multiple): Match $pagination_prompt instead of
15287 "<return>".
15288 (string_to_regexp): Move to lib/gdb-utils.exp.
15289
15290 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15291
15292 * gdb.arch/amd64-entry-value-paramref.S: New file.
15293 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15294 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15295 * gdb.arch/amd64-optimout-repeat.S: New file.
15296 * gdb.arch/amd64-optimout-repeat.c: New file.
15297 * gdb.arch/amd64-optimout-repeat.exp: New file.
15298
15299 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15300
15301 PR gdb/17170
15302 * gdb.base/statistics.exp: New file.
15303
15304 2014-07-17 Doug Evans <dje@google.com>
15305
15306 PR gdb/17170
15307 * gdb.base/maint.exp: Update testing of per-command stats.
15308
15309 2014-07-16 Pedro Alves <palves@redhat.com>
15310
15311 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15312 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15313 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15314 (tfile_write_buf): New functions.
15315 (add_memory_block): Rewrite using the above.
15316 (adjust_function_address): New function.
15317 (FUNCTION_ADDRESS): New macro.
15318 (write_basic_trace_file): Remove short_x local, and use
15319 tfile_write_16. Change type of func_addr local to unsigned long
15320 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15321 here. Cast argument of add_memory_block to char pointer.
15322 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15323 (main): Remove parameters.
15324 * gdb.trace/tfile.exp: Remove nowarnings.
15325
15326 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15327
15328 * gdb.base/debug-expr.exp: Test string evaluation with
15329 "debug expression" on.
15330
15331 2014-07-15 Pedro Alves <palves@redhat.com>
15332
15333 * gdb.base/reread.exp: Use clean_restart.
15334
15335 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15336
15337 * gdb.arch/avr-flash-qualifer.c: New.
15338 * gdb.arch/avr-flash-qualifer.exp: New.
15339
15340 2014-07-14 Pedro Alves <palves@redhat.com>
15341
15342 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15343 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15344
15345 2014-07-14 Pedro Alves <palves@redhat.com>
15346
15347 * gdb.base/double-prompt-target-event-error.c: New file.
15348 * gdb.base/double-prompt-target-event-error.exp: New file.
15349
15350 2014-07-14 Pedro Alves <palves@redhat.com>
15351
15352 PR gdb/17072
15353 * gdb.base/paginate-inferior-exit.c: New file.
15354 * gdb.base/paginate-inferior-exit.exp: New file.
15355
15356 2014-07-14 Pedro Alves <palves@redhat.com>
15357
15358 PR gdb/17072
15359 * gdb.base/paginate-bg-execution.c: New file.
15360 * gdb.base/paginate-bg-execution.exp: New file.
15361
15362 2014-07-14 Pedro Alves <palves@redhat.com>
15363
15364 PR gdb/17072
15365 * gdb.base/paginate-execution-startup.c: New file.
15366 * gdb.base/paginate-execution-startup.exp: New file.
15367 * lib/gdb.exp (pagination_prompt): New global.
15368 (default_gdb_spawn): New procedure, factored out from
15369 default_gdb_spawn.
15370 (default_gdb_start): Adjust to call default_gdb_spawn.
15371 (gdb_spawn): New procedure.
15372
15373 2014-07-14 Pedro Alves <palves@redhat.com>
15374
15375 * lib/gdb.exp (gdb_assert): New procedure.
15376 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15377
15378 2014-07-14 Pedro Alves <palves@redhat.com>
15379
15380 * gdb.base/execution-termios.c: New file.
15381 * gdb.base/execution-termios.exp: New file.
15382
15383 2014-07-14 Tom Tromey <tromey@redhat.com>
15384
15385 * gdb.cp/vla-cxx.cc: New file.
15386 * gdb.cp/vla-cxx.exp: New file.
15387
15388 2014-07-14 Tom Tromey <tromey@redhat.com>
15389
15390 * gdb.reverse/rerun-prec.c: New file.
15391 * gdb.reverse/rerun-prec.exp: New file.
15392
15393 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15394 Maciej W. Rozycki <macro@codesourcery.com>
15395
15396 * lib/gdb-utils.exp: New file.
15397 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15398 inline `gdb_init_command' processing.
15399 (gdb_start_cmd): Likewise.
15400 * lib/mi-support.exp (mi_run_cmd): Likewise.
15401 * README: Document `gdb_init_command' and `gdb_init_commands'.
15402
15403 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15404
15405 Fix false FAIL running under a very long directory name.
15406 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15407 and "set print elements 10000". Twice.
15408
15409 2014-07-11 Yao Qi <yao@codesourcery.com>
15410
15411 * gdb.base/exprs.exp: "set print symbol off".
15412
15413 2014-07-11 Pedro Alves <palves@redhat.com>
15414
15415 * gdb.threads/kill.c: New file.
15416 * gdb.threads/kill.exp: New file.
15417
15418 2014-07-10 Yao Qi <yao@codesourcery.com>
15419
15420 * gdb.trace/tfile.c (write_basic_trace_file)
15421 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15422 address written to trace file.
15423
15424 2014-07-09 Pedro Alves <palves@redhat.com>
15425
15426 * gdb.base/attach-wait-input.exp: New file.
15427 * gdb.base/attach-wait-input.c: New file.
15428
15429 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15430
15431 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15432 setting up test structures.
15433 (main): Call new test function.
15434 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15435 test function, continue into test function and walk test
15436 structures.
15437
15438 2014-07-02 Yao Qi <yao@codesourcery.com>
15439
15440 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15441 'bar_start' at the beginning of functions 'foo' and 'bar'
15442 respectively.
15443 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15444 instead of 'foo' and 'bar'.
15445
15446 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15447
15448 * gdb.btrace/segv.exp: New.
15449 * gdb.btrace/segv.c: New.
15450
15451 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15452
15453 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15454 instruction.
15455
15456 2014-06-30 Mark Wielaard <mjw@redhat.com>
15457
15458 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15459 vulture, vilify, villar): New volatile array constants.
15460 (vindictive, vegetation): New const volatile array constants.
15461 * gdb.base/volatile.exp: Test volatile and const volatile array
15462 types.
15463
15464 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15465
15466 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15467 target lacks support for awatch, rwatch, or hbreak.
15468
15469 2014-06-27 Yao Qi <yao@codesourcery.com>
15470
15471 * gdb.multi/dummy-frame-restore.exp: New.
15472 * gdb.multi/dummy-frame-restore.c: New.
15473
15474 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15475
15476 * gdb.btrace/gcore.exp: New.
15477
15478 2014-06-23 Pedro Alves <palves@redhat.com>
15479
15480 * gdb.base/watchpoint-reuse-slot.c: New file.
15481 * gdb.base/watchpoint-reuse-slot.exp: New file.
15482
15483 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15484
15485 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15486 progspace's filename in 'info', 'enable' and 'disable' command
15487 tests.
15488
15489 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15492 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15493 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15494
15495 2014-06-20 Gary Benson <gbenson@redhat.com>
15496
15497 * gdb.arch/i386-avx.exp: Fix include file location.
15498 * gdb.arch/i386-sse.exp: Likewise.
15499
15500 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15501
15502 * gdb.dlang/expression.exp: New file.
15503
15504 2014-06-19 Pedro Alves <palves@redhat.com>
15505
15506 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15507 out from ...
15508 (top level): ... here. Iterate running tests under different
15509 scheduler-locking settings.
15510
15511 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15512
15513 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15514 to DW_FORM_addr and use non-zero addresses.
15515
15516 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15517
15518 PR gdb/17017
15519 * gdb.python/py-xmethods.cc: Add global function call counters and
15520 increment them in their respective functions. Remove "cout"
15521 statements.
15522 * gdb.python/py-xmethods.exp: Make tests check the global function
15523 call counters instead of depending on inferior IO.
15524
15525 2014-06-18 Don Breazeal <donb@codesourcery.com>
15526
15527 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15528 Deleted procedure.
15529 (explicit_fork_parent_follow): Deleted procedure.
15530 (explicit_fork_child_follow): Deleted procedure.
15531 (test_follow_fork): New procedure.
15532 (do_fork_tests): Replace calls to deleted procedures with
15533 calls to test_follow_fork and reset GDB for subsequent
15534 procedure calls.
15535
15536 2014-06-17 Yao Qi <yao@codesourcery.com>
15537
15538 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15539 CP1252.
15540
15541 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15542
15543 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15544 Initialize ptr and S explicitly.
15545 (skip_type_update_when_not_use_rtti_test): Likewise.
15546
15547 2014-06-16 Keith Seitz <keiths@redhat.com>
15548
15549 PR mi/15863
15550 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15551 the inferior is started.
15552
15553 2014-06-16 Pedro Alves <palves@redhat.com>
15554
15555 * gdb.base/break-main-file-remove-fail.c: New file.
15556 * gdb.base/break-main-file-remove-fail.exp: New file.
15557 * gdb.base/break-unload-file.exp: Use build_executable instead of
15558 prepare_for_testing.
15559 (test_break): New parameter "initial_load". Handle it.
15560 (top level): Add initial_load cmdline/file axis.
15561
15562 2014-06-12 Tom Tromey <tromey@redhat.com>
15563
15564 * gdb.base/completion.exp: Don't use directory name in test.
15565
15566 2014-06-09 Gary Benson <gbenson@redhat.com>
15567
15568 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15569 separate the always-available ANSI-standard signals from the
15570 signals that require checking.
15571 (main): Likewise.
15572 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15573 Likewise.
15574 (main): Likewise.
15575
15576 2014-06-07 Keith Seitz <keiths@redhat.com>
15577
15578 Revert:
15579 PR c++/16253
15580 * gdb.cp/var-tag.cc: New file.
15581 * gdb.cp/var-tag.exp: New file.
15582 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15583 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15584 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15585 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15586
15587 2014-06-06 Doug Evans <xdje42@gmail.com>
15588
15589 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15590
15591 2014-06-06 Pedro Alves <palves@redhat.com>
15592
15593 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15594 in target debug output instead of looking at RSP packets,
15595 disabling the test on any target that uses hardware stepping.
15596 Update comments.
15597
15598 2014-06-06 Pedro Alves <palves@redhat.com>
15599
15600 * gdb.base/break-unload-file.exp: Fix typo.
15601
15602 2014-06-06 Yao Qi <yao@codesourcery.com>
15603
15604 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15605 from "jit_function" to "^jit_function".
15606
15607 2014-06-06 Yao Qi <yao@codesourcery.com>
15608
15609 * gdb.base/async.c (foo): Add one statement.
15610 * gdb.base/async.exp: Get the next instruction address and
15611 match the output of "nexti" by instruction address. Match
15612 the hex address in the output of "finish".
15613
15614 2014-06-06 Gary Benson <gbenson@redhat.com>
15615
15616 * gdb.base/call-signals.c: Remove preprocessor conditionals
15617 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15618 SIGSEGV and SIGTERM.
15619 * gdb.base/sigall.c: Likewise.
15620 * gdb.base/unwindonsignal.c: Likewise.
15621 * gdb.reverse/sigall-reverse.c: Likewise.
15622
15623 2014-06-06 Yao Qi <yao@codesourcery.com>
15624
15625 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15626 readable, skip the test.
15627
15628 2014-06-06 Yao Qi <yao@codesourcery.com>
15629
15630 * gdb.threads/staticthreads.c (thread_function): Move the line
15631 setting breakpoint on forward.
15632 * gdb.threads/staticthreads.exp: Update comments.
15633
15634 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15635
15636 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15637 "history-append! type error".
15638
15639 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15640
15641 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15642 erroneous dprintf expected input.
15643
15644 2014-06-04 Doug Evans <xdje42@gmail.com>
15645
15646 * gdb.guile/scm-generics.exp: Delete.
15647
15648 2014-06-04 Doug Evans <xdje42@gmail.com>
15649
15650 * gdb.guile/scm-breakpoint.exp: Update.
15651 Add tests for breakpoint registration.
15652
15653 2014-06-04 Tom Tromey <tromey@redhat.com>
15654
15655 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15656 VLA-in-union.
15657 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15658 inner_vla_struct, vla_union types. Initialize objects of those
15659 types and compute their sizes.
15660
15661 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15662 Hui Zhu <hui@codesourcery.com>
15663
15664 * gdb.base/fileio.exp: Add test for shell not available as well as
15665 available.
15666 * gdb.base/fileio.c (test_system): Check for shell twice.
15667
15668 2014-06-04 Yao Qi <yao@codesourcery.com>
15669
15670 * gdb.base/auto-connect-native-target.exp: Remove redundant
15671 space from the regexp pattern.
15672
15673 2014-06-04 Yao Qi <yao@codesourcery.com>
15674
15675 * gdb.base/default.exp: Replace "child" with "native" in
15676 regexp pattern.
15677
15678 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15679
15680 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15681 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15682 * gdb.python/py-xmethods.py: Python script supporting the
15683 new testcase and tests.
15684
15685 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15686 Pedro Alves <palves@redhat.com>
15687
15688 PR breakpoints/17000
15689 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15690 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15691
15692 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15693
15694 * gdb.base/subst.exp: Add tests to verify partial path matching
15695 output.
15696
15697 2014-06-03 Pedro Alves <palves@redhat.com>
15698
15699 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15700 target that doesn't use software single-stepping.
15701
15702 2014-06-03 Pedro Alves <palves@redhat.com>
15703
15704 PR breakpoints/17000
15705 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15706 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15707
15708 2014-06-02 Doug Evans <xdje42@gmail.com>
15709
15710 * gdb.guile/scm-parameter.exp: New file.
15711
15712 2014-06-02 Doug Evans <xdje42@gmail.com>
15713
15714 * gdb.guile/scm-cmd.c: New file.
15715 * gdb.guile/scm-cmd.exp: New file.
15716
15717 2014-06-02 Doug Evans <xdje42@gmail.com>
15718
15719 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15720 pretty-printer lookup.
15721 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15722 (make-pp_s-printer): Call it.
15723 (make-pretty-printer-from-dict): New function.
15724 (lookup-pretty-printer-maker-from-dict): New function.
15725 (*pretty-printer*): Simplify.
15726 (make-objfile-pp_s-printer): New function.
15727 (install-objfile-pretty-printers!): New function.
15728 (make-progspace-pp_s-printer): New function.
15729 (install-progspace-pretty-printers!): New function.
15730 * gdb.guile/scm-progspace.c: New file.
15731 * gdb.guile/scm-progspace.exp: New file.
15732
15733 2014-06-02 Pedro Alves <palves@redhat.com>
15734
15735 * gdb.base/dprintf-bp-same-addr.c: New file.
15736 * gdb.base/dprintf-bp-same-addr.exp: New file.
15737
15738 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15739
15740 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15741 * gdb.arch/powerpc-power.s: Likewise.
15742
15743 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15744
15745 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15746
15747 2014-06-01 Yao Qi <yao@codesourcery.com>
15748
15749 * gdb.base/watchpoint.exp (test_watch_location): Check null
15750 pointer can be dereferenced. If not, do the test, otherwise
15751 skip it.
15752
15753 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15754
15755 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15756 results.
15757 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15758
15759 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15760
15761 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15762 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15763 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15764 * gdb.arch/amd64-invalid-stack-top.c: New file.
15765 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15766
15767 2014-05-30 Pedro Alves <palves@redhat.com>
15768
15769 PR breakpoints/17000
15770 * gdb.base/sss-bp-on-user-bp.c: New file.
15771 * gdb.base/sss-bp-on-user-bp.exp: New file.
15772
15773 2014-05-30 David Blaikie <dblaikie@gmail.com>
15774
15775 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15776 gnu_inline semantics via attribute.
15777 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15778 source explicitly specifies the required semantics.
15779
15780 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15781
15782 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15783
15784 2014-05-29 Pedro Alves <palves@redhat.com>
15785 Tom Tromey <tromey@redhat.com>
15786
15787 * gdb.base/async-shell.exp: Don't enable target-async.
15788 * gdb.base/async.exp
15789 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15790 parameter. Adjust.
15791 (top level): Don't test with "target-async".
15792 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15793 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15794 * gdb.base/inferior-died.exp: Don't enable target-async.
15795 * gdb.base/interrupt-noterm.exp: Likewise.
15796 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15797 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15798 * gdb.mi/mi-nonstop.exp: Likewise.
15799 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15800 * gdb.mi/mi-nsintrall.exp: Likewise.
15801 * gdb.mi/mi-nsmoribund.exp: Likewise.
15802 * gdb.mi/mi-nsthrexec.exp: Likewise.
15803 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15804 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15805 * gdb.python/py-evsignal.exp: Don't enable target-async.
15806 * gdb.python/py-evthreads.exp: Likewise.
15807 * gdb.python/py-prompt.exp: Likewise.
15808 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15809 * gdb.server/solib-list.exp: Don't enable target-async.
15810 * gdb.threads/thread-specific-bp.exp: Likewise.
15811 * lib/mi-support.exp: Adjust to use mi-async.
15812
15813 2014-05-29 Pedro Alves <palves@redhat.com>
15814
15815 PR gdb/13860
15816 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15817 reason, even in sync mode.
15818
15819 2014-05-29 Pedro Alves <palves@redhat.com>
15820 Hui Zhu <hui@codesourcery.com>
15821
15822 PR PR15693
15823 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15824 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15825 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15826 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15827
15828 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15829
15830 * config/monitor.exp (gdb_target_monitor): Replace use of
15831 "set remotebaud" by "set serial baud".
15832
15833 2014-05-26 Andy Wingo <wingo@igalia.com>
15834
15835 * gdb.guile/scm-breakpoint.exp:
15836 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15837 properties instead of gdb-object-properties.
15838
15839 2014-05-26 Yao Qi <yao@codesourcery.com>
15840
15841 * gdb.server/no-thread-db.exp: Specify source file name
15842 explicitly when setting a breakpoint.
15843
15844 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15845
15846 * gdb.btrace/vdso.c: New.
15847 * gdb.btrace/vdso.exp: New.
15848
15849 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15850
15851 * gdb.base/gcore.exp (capture_command_output): Move ...
15852 * lib/gdb.exp (capture_command_output): ... here.
15853
15854 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15855
15856 * gdb.btrace/data.exp: Test memory access during btrace replay.
15857
15858 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15859
15860 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15861
15862 2014-05-21 Pedro Alves <palves@redhat.com>
15863
15864 PR gdb/13860
15865 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15866 (top level): Test that output related to execution commands is
15867 sent to the console with CLI commands, but not with MI commands.
15868 Test that breakpoint events are always mirrored to the console.
15869 Also expect the new source line to be output after a "next" in
15870 async mode too. Make it a pass/fail test.
15871 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15872 output.
15873 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15874
15875 2014-05-21 Pedro Alves <palves@redhat.com>
15876
15877 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15878 Use them to test variations of "list" after reaching a breakpoint.
15879 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15880 Test "list" with listsize 10 after reaching a breakpoint.
15881 * gdb.python/python.exp (decode_line current location line
15882 number): Adjust expected line number.
15883
15884 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15885
15886 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15887 behavior for $args, pass it directly to "run".
15888
15889 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15890
15891 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15892 30000 to 65536.
15893
15894 2014-05-21 Pedro Alves <palves@redhat.com>
15895
15896 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15897 auto-connect-native-target off".
15898 * gdb.base/auto-connect-native-target.c: New file.
15899 * gdb.base/auto-connect-native-target.exp: New file.
15900
15901 2014-05-21 Pedro Alves <palves@redhat.com>
15902
15903 * gdb.base/default.exp: Test "target native" instead of "target
15904 child".
15905
15906 2014-05-21 Mark Wielaard <mjw@redhat.com>
15907
15908 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15909
15910 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15911
15912 Fix TLS access for -static -pthread.
15913 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15914 <HAVE_TLS> (thread_function, main): Initialize it.
15915 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15916 Add clean_restart.
15917 <$have_tls != "">: Check TLSVAR.
15918
15919 2014-05-21 Pedro Alves <palves@redhat.com>
15920
15921 * gdb.base/dcache-line-read-error.c: New.
15922 * gdb.base/dcache-line-read-error.exp: New.
15923
15924 2014-05-20 Pedro Alves <palves@redhat.com>
15925
15926 * gdb.base/compare-sections.c: New file.
15927 * gdb.base/compare-sections.exp: New file.
15928
15929 2014-05-20 Pedro Alves <palves@redhat.com>
15930
15931 * gdb.base/break-idempotent.c: New file.
15932 * gdb.base/break-idempotent.exp: New file.
15933
15934 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15935
15936 * gdb.btrace/nohist.exp: New.
15937
15938 2014-05-20 Yao Qi <yao@codesourcery.com>
15939
15940 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15941 gdb.reverse directory and gdb_reverse_timeout exists in board
15942 setting.
15943 * README: Document gdb_reverse_timeout.
15944
15945 2014-05-20 Yao Qi <yao@codesourcery.com>
15946
15947 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15948 'test_file_name'. Treat args as a string instead of a list.
15949 (gdb_init): Rename argument 'args' by 'test_file_name'.
15950
15951 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15952
15953 * gdb.arch/powerpc-power.exp: New file.
15954 * gdb.arch/powerpc-power.s: New file.
15955
15956 2014-05-16 Doug Evans <dje@google.com>
15957
15958 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15959 * gdb.base/completion.exp: Check that all expected files exist
15960 before doing file completion.
15961
15962 2014-05-16 Doug Evans <dje@google.com>
15963
15964 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15965 Update.
15966 (do_syscall_tests_without_xml): Update.
15967
15968 2014-05-16 Pedro Alves <palves@redhat.com>
15969
15970 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15971 instead of "unknown output after running".
15972
15973 2014-05-16 Yao Qi <yao@codesourcery.com>
15974
15975 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15976 file1.txt from host at the end.
15977 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15978
15979 2014-05-15 Doug Evans <dje@google.com>
15980
15981 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15982 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15983 loading file. Add test for TU lookup.
15984
15985 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15986
15987 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15988 calling "-exec-arguments" or "set args" before running the
15989 inferior.
15990
15991 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15992
15993 * lib/mi-support.exp (mi_expect_stop): Expect message for
15994 inferiors that exit with non-zero exit code.
15995
15996 2014-05-14 Yao Qi <yao@codesourcery.com>
15997
15998 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15999 match absolute path on remote host.
16000 (test_file_list_exec_source_files): Remove "/" from the
16001 pattern.
16002
16003 2014-05-14 Yao Qi <yao@codesourcery.com>
16004
16005 * boards/local-remote-host-notty.exp (${board}_file): New
16006 proc.
16007
16008 2014-05-07 Kyle McMartin <kyle@redhat.com>
16009
16010 Pushed by Joel Brobecker <brobecker@adacore.com>.
16011 * gdb.arch/aarch64-atomic-inst.c: New file.
16012 * gdb.arch/aarch64-atomic-inst.exp: New file.
16013
16014 2014-05-07 Yao Qi <yao@codesourcery.com>
16015
16016 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16017 in current context" too.
16018
16019 2014-05-05 Keith Seitz <keiths@redhat.com>
16020
16021 * gdb.linespec/ls-dollar.exp: Add test for linespec
16022 file:convenience_variable.
16023
16024 2014-05-05 Yao Qi <yao@codesourcery.com>
16025
16026 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16027 traceframes into tfile and ctf trace files. Read data from
16028 trace file and test collected data.
16029 (gdb_collect_locals_test): Likewise.
16030 (gdb_unavailable_registers_test): Likewise.
16031 (gdb_unavailable_floats): Likewise.
16032 (gdb_collect_globals_test): Likewise.
16033 (top-level): Append "ctf" to trace_file_targets if GDB
16034 supports.
16035
16036 2014-05-05 Yao Qi <yao@codesourcery.com>
16037
16038 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16039 code to ...
16040 (gdb_collect_args_test_1): ... it. New proc.
16041 (gdb_collect_locals_test): Move some code to ...
16042 (gdb_collect_locals_test_1): ... it. New proc.
16043 (gdb_unavailable_registers_test): Move some code to ...
16044 (gdb_unavailable_registers_test_1): ... it. New proc.
16045 (gdb_unavailable_floats): Move some code to ...
16046 (gdb_unavailable_floats_1): ... it. New proc.
16047
16048 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16049
16050 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16051 probes to test for bitness recognition.
16052 * gdb.arch/amd64-stap-optional-prefix.exp
16053 (test_probe_value_without_reg): New procedure.
16054 Add code to test for different kinds of bitness.
16055
16056 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16057
16058 PR breakpoints/16889
16059 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16060 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16061
16062 2014-05-01 Pedro Alves <palves@redhat.com>
16063
16064 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16065 gdb_file_cmd if no file is specified.
16066 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16067 last_loaded_file to set the remote exec-file.
16068
16069 2014-05-01 Pedro Alves <palves@redhat.com>
16070
16071 * boards/local-remote-host.exp: New file.
16072
16073 2014-05-01 Pedro Alves <palves@redhat.com>
16074
16075 * boards/local-remote-host.exp: Rename to ...
16076 * boards/local-remote-host-notty.exp: ... this.
16077
16078 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16079
16080 * gdb.ada/dyn_arrayidx: New testcase.
16081
16082 2014-04-26 Yao Qi <yao@codesourcery.com>
16083
16084 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16085 and compute the length of function main. Save it in
16086 $main_length.
16087 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16088 (top-level): Use gdb_compile to compile objects into
16089 executable and restart GDB. Remove invocation to
16090 prepare_for_testing.
16091
16092 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16093 Pedro Alves <palves@redhat.com>
16094
16095 PR server/16255
16096 * gdb.multi/multi-attach.c: New file.
16097 * gdb.multi/multi-attach.exp: New file.
16098
16099 2014-04-25 Pedro Alves <palves@redhat.com>
16100
16101 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16102 user.
16103 (top level): Test that "set remote conditional-breakpoints-packet
16104 off" works as intended.
16105 * gdb.base/dprintf.exp: Test that "set remote
16106 breakpoint-commands-packet off" works as intended.
16107 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16108 New function.
16109 (top level): Call it.
16110 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16111 remote fast-tracepoints-packet off" works as intended.
16112 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16113 * lib/gdb.exp (gdb_is_target_remote): ... here.
16114
16115 2014-04-24 David Blaikie <dblaikie@gmail.com>
16116
16117 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16118 ensure clang would not discard them.
16119 * gdb.base/gdbvars.c: Ditto.
16120 * gdb.base/memattr.c: Ditto.
16121 * gdb.base/whatis.c: Ditto.
16122 * gdb.python/py-prettyprint.c: Ditto.
16123 * gdb.trace/actions.c: Ditto.
16124 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16125 ensure clang would not discard it.
16126
16127 2014-04-24 David Blaikie <dblaikie@gmail.com>
16128
16129 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16130 clang to emit the full definition of type required by the test
16131 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16132
16133 2014-04-24 David Blaikie <dblaikie@gmail.com>
16134
16135 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16136 coax Clang into emitting the definition of the type.
16137 * gdb.cp/pr10728-x.h (y): Ditto.
16138 * gdb.cp/pr10728-y.cc (y): Ditto.
16139
16140 2014-04-24 David Blaikie <dblaikie@gmail.com>
16141
16142 * gdb.base/label.exp: XFAIL label related tests under Clang.
16143 * gdb.cp/cplabel.exp: Ditto.
16144 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16145 under Clang those using labels.
16146
16147 2014-04-25 Yao Qi <yao@codesourcery.com>
16148
16149 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16150 double_label.
16151 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16152 partial_label and double_label.
16153
16154 2014-04-24 David Blaikie <dblaikie@gmail.com>
16155
16156 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16157
16158 2014-04-24 David Blaikie <dblaikie@gmail.com>
16159
16160 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16161 of the function to work across GCC and Clang.
16162 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16163 pointer types (const void ** const V void **).
16164
16165 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16166 Walfred Tedeschi <walfred.tedeschi@intel.com>
16167
16168 * Makefile.in (EXECUTABLES): Added i386-avx512.
16169 * gdb.arch/i386-avx512.c: New file.
16170 * gdb.arch/i386-avx512.exp: Likewise.
16171
16172 2014-04-23 Keith Seitz <keiths@redhat.com>
16173
16174 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16175 (mi_make_breakpoint_table): New procedure.
16176 (mi_create_breakpoint): Use mi_make_breakpoint
16177 and return the result.
16178 (mi_make_breakpoint): New procedure.
16179 (mi_build_kv_pairs): New procedure.
16180
16181 * gdb.mi/mi-break.exp: Remove unused globals,
16182 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16183 All callers updated.
16184 * gdb.mi/mi-dprintf.exp: Use variable to track command
16185 number.
16186 Update all callers of mi_create_breakpoint and use
16187 mi_make_breakpoint_table.
16188 Remove any unused global variables.
16189 * gdb.mi/mi-nonstop.exp: Likewise.
16190 * gdb.mi/mi-nsintrall.exp: Likewise.
16191 * gdb.mi/mi-nsmoribund.exp: Likewise.
16192 * gdb.mi/mi-nsthrexec.exp: Likewise.
16193 * gdb.mi/mi-reverse.exp: Likewise.
16194 * gdb.mi/mi-simplerun.exp: Likewise.
16195 * gdb.mi/mi-stepn.exp: Likewise.
16196 * gdb.mi/mi-syn-frame.exp: Likewise.
16197 * gdb.mi/mi-until.exp: Likewise.
16198 * gdb.mi/mi-var-cp.exp: Likewise.
16199 * gdb.mi/mi-var-display.exp: Likewise.
16200 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16201 * gdb.mi/mi2-var-child.exp: Likewise.
16202 * gdb.mi/mi-vla-c99.exp: Likewise.
16203 * lib/mi-support.exp: Likewise.
16204
16205 From Ian Lance Taylor <iant@cygnus.com>:
16206 * lib/gdb.exp (parse_args): New procedure.
16207
16208 2014-04-23 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.base/break-unload-file.c: New file.
16211 * gdb.base/break-unload-file.exp: New file.
16212 * gdb.base/sym-file-lib.c (baz): New function.
16213 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16214 field.
16215 (load): Store the segment's mapped size.
16216 (unload): New function.
16217 (unload_shlib): New function.
16218 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16219 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16220 set a breakpoint at baz, and call it.
16221 * gdb.base/sym-file.exp: New tests for stale breakpoint
16222 instructions.
16223
16224 2014-04-23 Pedro Alves <palves@redhat.com>
16225
16226 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16227 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16228 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16229 * gdb.base/hbreak-unmapped.c: New file.
16230 * gdb.base/hbreak-unmapped.exp: New file.
16231 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16232 * lib/gdb.exp (gdb_is_target_remote): ... here.
16233
16234 2014-04-22 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.base/consecutive-step-over.c: New file.
16237 * gdb.base/consecutive-step-over.exp: New file.
16238
16239 2014-04-22 Pedro Alves <palves@redhat.com>
16240
16241 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16242 instead of send_gdb/gdb_expect.
16243
16244 2014-04-22 Yao Qi <yao@codesourcery.com>
16245
16246 * lib/trace-support.exp (generate_tracefile): New procedure.
16247 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16248 return 0.
16249 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16250 if generate_tracefile returns 1.
16251
16252 2014-04-18 Tom Tromey <palves@redhat.com>
16253 Pedro alves <tromey@redhat.com>
16254
16255 PR backtrace/15558
16256 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16257 with a backtrace limit.
16258 * gdb.python/py-frame-inline.exp: Test running to an inline
16259 function with a backtrace limit, and printing the newest frame.
16260 * gdb.python/py-frame-inline.c (main): Call f.
16261
16262 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16263
16264 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16265
16266 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16267
16268 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16269 Drop prefix from unsupported source file path.
16270
16271 2014-04-17 Yao Qi <yao@codesourcery.com>
16272
16273 * lib/gdb.exp (with_target_charset): New proc.
16274 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16275 with_target_charset.
16276 (test_print_strings): Likewise.
16277 (test_repeat_bytes): Likewise.
16278 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16279 for some tests.
16280
16281 2014-04-16 Keith Seitz <keiths@redhat.com>
16282
16283 PR gdb/15827
16284 * gdb.dwarf2/corrupt.c: New file.
16285 * gdb.dwarf2/corrupt.exp: New file.
16286
16287 2014-04-16 Keith Seitz <keiths@redhat.com>
16288
16289 PR c++/16597
16290 * gdb.cp/namelessclass.cc: New file.
16291 * gdb.cp/namelessclass.exp: New file.
16292 * gdb.cp/namelessclass.S: New file.
16293
16294 2014-04-16 Doug Evans <dje@google.com>
16295
16296 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16297 Add comment.
16298 (gdbserver_default_get_comm_port): New function.
16299 (gdbserver_start): Check if board file provided
16300 "gdbserver,get_comm_port" and use it if so.
16301 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16302 (gdb,socketport): Set to "stdio".
16303 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16304 (stdio_gdbserver_template): Delete.
16305 (${board}_get_remote_address): Update.
16306 (${board}_build_remote_cmd): Delete.
16307 (${board}_get_comm_port): New function.
16308 (${board}_spawn): Update.
16309 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16310 Delete.
16311 (${board}_get_remote_address): Update.
16312 (${board}_get_comm_port): New function.
16313
16314 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16315
16316 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16317 appearing in any order.
16318
16319 2014-04-15 Doug Evans <dje@google.com>
16320
16321 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16322 uninitialized value of "description".
16323
16324 2014-04-15 Keith Seitz <keiths@redhat.com>
16325
16326 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16327 Remove unused globals.
16328 (test_running_the_program): Likewise.
16329 (test_controlled_execution): Likewise.
16330 (test_controlling_breakpoints): Likewise.
16331 (test_program_termination): Likewise.
16332
16333 2014-04-15 Keith Seitz <keiths@redhat.com>
16334
16335 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16336 unused globals.
16337 (test_rbreak_creation_and_listing): Likewise.
16338 (test_ignore_count): Likewise.
16339 (test_error): Likewise.
16340
16341 2014-04-15 Pedro Alves <palves@redhat.com>
16342
16343 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16344 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16345 sym-file-loader.c.
16346 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16347 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16348 to sym-file-loader.c.
16349 (struct library): Forward declare.
16350 (load_shlib, lookup_function): Change prototypes.
16351 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16352 (translate_offset): Remove declarations.
16353 (get_text_addr): New declaration.
16354 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16355 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16356 sym-file-loader.h.
16357 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16358 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16359 here from sym-file-loader.h.
16360 (struct library): New structure.
16361 (load_shlib, lookup_function): Change prototypes and adjust to
16362 work with a struct library.
16363 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16364 (translate_offset): Make static.
16365 (get_text_addr): New function.
16366 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16367
16368 2014-04-15 Pedro Alves <palves@redhat.com>
16369
16370 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16371
16372 2014-04-15 Pedro Alves <palves@redhat.com>
16373
16374 * gdb.base/sym-file-loader.c: Include <limits.h>.
16375 (SELF_LINK): New define.
16376 (get_origin): New function.
16377 (load_shlib): Use it.
16378 * gdb.base/sym-file.exp: Don't early return if the target is
16379 remote. Use runto_main, and issue fail is that fails. Use
16380 gdb_load_shlibs.
16381 (shlib_name): Delete.
16382 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16383
16384 2014-04-15 Pedro Alves <palves@redhat.com>
16385
16386 * gdb.base/sym-file.exp: Remove regex characters from test
16387 message. Don't refer to breakpoint numbers in test messages.
16388
16389 2014-04-14 Keith Seitz <keiths@redhat.com>
16390
16391 PR c++/16253
16392 * gdb.cp/var-tag.cc: New file.
16393 * gdb.cp/var-tag.exp: New file.
16394 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16395 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16396 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16397 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16398
16399 2014-04-14 Tom Tromey <tromey@redhat.com>
16400
16401 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16402 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16403 type.
16404 * gdb.cp/enum-class.exp: New file.
16405 * gdb.cp/enum-class.cc: New file.
16406
16407 2014-04-14 Tom Tromey <tromey@redhat.com>
16408
16409 * gdb.dwarf2/enum-type.exp: New file.
16410
16411 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16412
16413 * gdb.mi/mi-vla-c99.exp: New file.
16414 * gdb.mi/vla.c: New file.
16415
16416 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16417
16418 * gdb.base/vla-datatypes.c: New file.
16419 * gdb.base/vla-datatypes.exp: New file.
16420
16421 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16422
16423 * gdb.base/vla-ptr.c: New file.
16424 * gdb.base/vla-ptr.exp: New file.
16425
16426 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16427
16428 * gdb.dwarf2/count.exp: New file.
16429
16430 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16431
16432 * gdb.base/vla-sideeffect.c: New file.
16433 * gdb.base/vla-sideeffect.exp: New file.
16434
16435 2014-04-14 David Blaikie <dblaikie@gmail.com>
16436
16437 * gdb.mi/non-stop.c: Add return value for non-void function return
16438 statement.
16439 * gdb.threads/staticthreads.c: Ditto.
16440
16441 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16442 Doug Evans <xdje42@gmail.com>
16443
16444 * gdb.guile/scm-value.c: Improve test case.
16445 * gdb.guile/scm-value.exp: Add new test.
16446
16447 2014-04-11 David Blaikie <dblaikie@gmail.com>
16448
16449 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16450 override Clang's default.
16451
16452 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16453
16454 Revert the following changes (regressions):
16455
16456 * gdb.base/vla-sideeffect.c: New file.
16457 * gdb.base/vla-sideeffect.exp: New file.
16458
16459 * gdb.dwarf2/count.exp: New file.
16460
16461 * gdb.base/vla-multi.c: New file.
16462 * gdb.base/vla-multi.exp: New file.
16463
16464 * gdb.base/vla-ptr.c: New file.
16465 * gdb.base/vla-ptr.exp: New file.
16466
16467 * gdb.base/vla-datatypes.c: New file.
16468 * gdb.base/vla-datatypes.exp: New file.
16469
16470 * gdb.mi/mi-vla-c99.exp: New file.
16471 * gdb.mi/vla.c: New file.
16472
16473 2014-04-11 Keith Seitz <keiths@redhat.com>
16474
16475 PR c++/16675
16476 * gdb.cp/cpsizeof.exp: New file.
16477 * gdb.cp/cpsizeof.cc: New file.
16478
16479 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16480
16481 * gdb.mi/mi-vla-c99.exp: New file.
16482 * gdb.mi/vla.c: New file.
16483
16484 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16485
16486 * gdb.base/vla-datatypes.c: New file.
16487 * gdb.base/vla-datatypes.exp: New file.
16488
16489 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16490
16491 * gdb.base/vla-ptr.c: New file.
16492 * gdb.base/vla-ptr.exp: New file.
16493
16494 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16495
16496 * gdb.base/vla-multi.c: New file.
16497 * gdb.base/vla-multi.exp: New file.
16498
16499 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16500
16501 * gdb.dwarf2/count.exp: New file.
16502
16503 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16504
16505 * gdb.base/vla-sideeffect.c: New file.
16506 * gdb.base/vla-sideeffect.exp: New file.
16507
16508 2014-04-11 Yao Qi <yao@codesourcery.com>
16509
16510 * gdb.base/completion.exp: Check file exists before running tests
16511 on file completion.
16512
16513 2014-04-10 Pedro Alves <palves@redhat.com>
16514
16515 * gdb.base/cond-eval-mode.c: New file.
16516 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16517 prepare_for_testing to build the new file. Check result of
16518 runto_main.
16519 (test_break, test_watch): New procedures.
16520 (top level): Use them.
16521
16522 2014-04-08 Pierre Muller <muller@sourceware.org>
16523
16524 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16525 Ctrl-V use for mingw hosts.
16526
16527 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16528
16529 * gdb.python/py-value.c: Improve test case.
16530 * gdb.python/py-value.exp: Add new test.
16531
16532 2014-04-07 David Blaikie <dblaikie@gmail.com>
16533
16534 * lib/compiler.c: Identify the clang compiler.
16535 * lib/compiler.cc: Ditto.
16536
16537 2014-04-03 Yao Qi <yao@codesourcery.com>
16538
16539 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16540
16541 2014-04-01 Anton Blanchard <anton@samba.org>
16542
16543 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16544 messages unique.
16545
16546 2014-04-01 Anton Blanchard <anton@samba.org>
16547
16548 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16549 prepare_for_testing.
16550
16551 2014-04-01 Anton Blanchard <anton@samba.org>
16552
16553 * gdb.arch/ppc64-atomic-inst.c: Remove.
16554 * gdb.arch/ppc64-atomic-inst.S: New file.
16555 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16556
16557 2014-03-31 Doug Evans <dje@google.com>
16558
16559 * gdb.base/print-symbol-loading-lib.c: New file.
16560 * gdb.base/print-symbol-loading-main.c: New file.
16561 * gdb.base/print-symbol-loading.exp: New file.
16562
16563 2014-03-31 Yao Qi <yao@codesourcery.com>
16564
16565 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16566
16567 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16568
16569 * gdb.ada/mi_dyn_arr: New testcase.
16570
16571 2014-03-27 Doug Evans <dje@google.com>
16572
16573 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16574
16575 2014-03-27 Yao Qi <yao@codesourcery.com>
16576
16577 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16578 if target is nios2-*-*.
16579
16580 2014-03-26 Yao Qi <yao@codesourcery.com>
16581
16582 * lib/gdb.exp (readline_is_used): New proc.
16583 * gdb.base/completion.exp: Move tests on command complete up.
16584 Skip the rest of tests if readline is not used.
16585 * gdb.ada/complete.exp: Skp the test if readline is not
16586 used.
16587 * gdb.base/filesym.exp: Likewise.
16588 * gdb.base/macscp.exp: Likewise.
16589 * gdb.base/readline-ask.exp: Likewise.
16590 * gdb.base/readline.exp: Likewise.
16591 * gdb.python/py-cmd.exp: Likewise.
16592 * gdb.trace/tfile.exp: Likewise.
16593
16594 2014-03-26 Yao Qi <yao@codesourcery.com>
16595
16596 * gdb.base/macscp.exp: Fix code format issues.
16597
16598 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16599
16600 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16601 * gdb.asm/powerpc64le.inc: New file.
16602
16603 2014-03-25 Pedro Alves <palves@redhat.com>
16604 Doug Evans <dje@google.com>
16605
16606 * gdb.base/source-execution.c: New file.
16607 * gdb.base/source-execution.exp: New file.
16608 * gdb.base/source-execution.gdb: New file.
16609
16610 2014-03-24 Doug Evans <dje@google.com>
16611
16612 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16613 using fission.
16614
16615 2014-03-24 Hui Zhu <hui@codesourcery.com>
16616 Pedro Alves <palves@redhat.com>
16617
16618 PR breakpoints/16101
16619 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16620 test pass/fail messages. Detect missing support for dprintf when
16621 breakpoints are actually inserted.
16622 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16623 breakpoints are actually inserted.
16624 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16625 fails.
16626
16627 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16628
16629 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16630
16631 2014-03-22 Doug Evans <xdje42@gmail.com>
16632
16633 * gdb.python/python.exp (python not supported): Verify multi-line
16634 python command issues an error.
16635 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16636 guile command issues an error.
16637
16638 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16639
16640 * gdb.threads/thread-specific.exp: Handle the lack of usable
16641 $this_breakpoint and $this_thread.
16642
16643 2014-03-21 Hui Zhu <hui@codesourcery.com>
16644
16645 * gdb.base/attach.exp (do_command_attach_tests): New.
16646
16647 2014-03-20 Tom Tromey <tromey@redhat.com>
16648 Pedro Alves <palves@redhat.com>
16649
16650 PR cli/15718
16651 * gdb.base/condbreak-call-false.c: New file.
16652 * gdb.base/condbreak-call-false.exp: New file.
16653
16654 2014-03-20 Pedro Alves <palves@redhat.com>
16655
16656 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16657 Delete.
16658 (block_signals, unblock_signals): Delete.
16659 (child_function_2, main): Remove references to deleted variable
16660 and functions.
16661
16662 2014-03-20 Pedro Alves <palves@redhat.com>
16663
16664 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16665 Use pthread_kill to signal thread 2.
16666 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16667 Adjust to make the test send itself a signal rather than using the
16668 host's "kill" command.
16669
16670 2014-03-20 Pedro Alves <palves@redhat.com>
16671
16672 * gdb.threads/multiple-step-overs.c: New file.
16673 * gdb.threads/multiple-step-overs.exp: New file.
16674 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16675 Adjust expected infrun debug output.
16676
16677 2014-03-20 Pedro Alves <palves@redhat.com>
16678
16679 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16680 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16681
16682 2014-03-20 Pedro Alves <palves@redhat.com>
16683
16684 PR breakpoints/7143
16685 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16686 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16687 of gdb_test_multiple.
16688 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16689 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16690
16691 2014-03-20 Pedro Alves <palves@redhat.com>
16692
16693 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16694 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16695
16696 2014-03-19 Pedro Alves <palves@redhat.com>
16697
16698 * gdb.base/async.exp: Remove early return.
16699
16700 2014-03-19 Pedro Alves <palves@redhat.com>
16701
16702 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16703
16704 2014-03-19 Pedro Alves <palves@redhat.com>
16705
16706 * gdb.base/async.exp (test_background): Expect \r\n after
16707 "completed." in the fail pattern.
16708
16709 2014-03-19 Pedro Alves <palves@redhat.com>
16710
16711 * gdb.base/async.exp (test_background): New procedure.
16712 Use it for all background execution command tests.
16713
16714 2014-03-19 Pedro Alves <palves@redhat.com>
16715
16716 * gdb.base/async.exp: Use prepare_for_testing.
16717
16718 2014-03-19 Pedro Alves <palves@redhat.com>
16719
16720 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16721 the same line.
16722
16723 2014-03-19 Pedro Alves <palves@redhat.com>
16724
16725 * gdb.base/async.c (main): Add "jump here" and "until here" line
16726 marker comments.
16727 * gdb.base/async.exp (jump_here): New global.
16728 (jump& test): Use it.
16729 (until_here): New global.
16730 (until& test): Use it.
16731
16732 2014-03-19 Pedro Alves <palves@redhat.com>
16733
16734 * gdb.base/async.exp: Don't frob gdb_protocol.
16735
16736 2014-03-18 Doug Evans <xdje42@gmail.com>
16737
16738 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16739 Fix spelling of exec-done-display.
16740
16741 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16742
16743 PR gdb/15358
16744 * gdb.base/gdb-sigterm.c: New file.
16745 * gdb.base/gdb-sigterm.exp: New file.
16746
16747 2014-03-18 Pedro Alves <palves@redhat.com>
16748
16749 PR gdb/13860
16750 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16751 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16752 solib-event.
16753
16754 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16755
16756 * gdb.ada/pckd_arr_ren: New testcase.
16757
16758 2014-03-13 Doug Evans <xdje42@gmail.com>
16759
16760 PR guile/16612
16761 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16762 collect after discarding symbols.
16763
16764 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16765 Doug Evans <xdje42@gmail.com>
16766
16767 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16768 to history survives a gc.
16769
16770 2014-03-13 Pedro Alves <palves@redhat.com>
16771
16772 * gdb.base/default.exp: Don't test "target procfs".
16773
16774 2014-03-13 Pedro Alves <palves@redhat.com>
16775
16776 * gdb.base/default.exp: Update "target child" and "target procfs"
16777 tests to not expect "Unix".
16778
16779 2014-03-12 Tom Tromey <tromey@redhat.com>
16780
16781 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16782 New procs. Add target-async tests.
16783 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16784 Add target-async tests.
16785
16786 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16787
16788 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16789 'func_start' and 'func_end' for the beginning and end of the
16790 function code, respectively.
16791 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16792 'func_end' instead of 'func' and 'main'.
16793
16794 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16795
16796 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16797 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16798 generate the debug info assembler source.
16799
16800 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16801
16802 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16803 * gdb.dwarf2/arr-subrange.exp: Likewise.
16804 * gdb.dwarf2/dwz.exp: Likewise.
16805 * gdb.dwarf2/method-ptr.exp: Likewise.
16806 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16807 * gdb.dwarf2/subrange.exp: Likewise.
16808 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16809 * gdb.dwarf2/implptrpiece.exp: Likewise.
16810 * gdb.dwarf2/nostaticblock.exp: Likewise.
16811
16812 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16813
16814 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16815 directory to absolute path name arguments.
16816
16817 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16818
16819 * gdb.ada/tagged_access: New testcase.
16820
16821 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16822
16823 * gdb.btrace/data.exp: Update expected output.
16824
16825 2014-03-06 Yao Qi <yao@codesourcery.com>
16826
16827 * gdb.trace/pr16508.exp: New file.
16828
16829 2014-03-05 Pedro Alves <palves@redhat.com>
16830
16831 PR gdb/16575
16832 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16833 procedure.
16834 (top level): Adjust to use it. Add tests that exercise breakpoint
16835 interaction with the code-cache.
16836
16837 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16838
16839 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16840 test for 'history-append!'.
16841
16842 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16843
16844 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16845 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16846 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16847 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16848 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16849 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16850
16851 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16852
16853 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16854 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16855 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16856
16857 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16858
16859 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16860
16861 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16862
16863 * gdb.dwarf2/arr-stride.c: New file.
16864 * gdb.dwarf2/arr-stride.exp: New file.
16865
16866 2014-02-26 Pedro Alves <palves@redhat.com>
16867
16868 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16869 that won't ever trigger. Make sure that GDB reports the correct
16870 breakpoint that caused the stop.
16871
16872 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16873
16874 PR gdb/16626
16875 * gdb.base/auto-load-script: New file.
16876 * gdb.base/auto-load.c: New file.
16877 * gdb.base/auto-load.exp: New file.
16878
16879 PR gdb/16626
16880 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16881
16882 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16883
16884 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16885 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16886
16887 2014-02-24 Doug Evans <dje@google.com>
16888
16889 * lib/gdb.exp (run_on_host): Log error output if program fails.
16890
16891 2014-02-21 Pedro Alves <palves@redhat.com>
16892
16893 * gdb.threads/step-after-sr-lock.c: Rename to ...
16894 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16895 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16896 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16897 ... this.
16898
16899 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16900
16901 PR tdep/16397
16902 * gdb.arch/amd64-stap-special-operands.exp: New file.
16903 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16904 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16905 * gdb.arch/amd64-stap-triplet.S: Likewise.
16906 * gdb.arch/amd64-stap-triplet.c: Likewise.
16907
16908 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16909
16910 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16911 in .section pseudo-op.
16912
16913 2014-02-20 lin zuojian <manjian2006@gmail.com>
16914 Joel Brobecker <brobecker@adacore.com>
16915 Doug Evans <xdje42@gmail.com>
16916
16917 PR symtab/16581
16918 * gdb.dwarf2/dw2-icycle.S: New file.
16919 * gdb.dwarf2/dw2-icycle.c: New file.
16920 * gdb.dwarf2/dw2-icycle.exp: New file.
16921
16922 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16923
16924 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16925 operations on gdb.Value objects.
16926 * gdb.python/py-value-cc.exp: Add new test to test operations on
16927 gdb.Value objects.
16928
16929 2014-02-18 Doug Evans <dje@google.com>
16930
16931 * Makefile.in (TESTS): New variable.
16932 (expanded_tests, expanded_tests_or_none): New variables
16933 (check-single): Pass $(expanded_tests_or_none) to runtest.
16934 (check-parallel): Only run tests in $(TESTS) if non-empty.
16935 (check/no-matching-tests-found): New rule.
16936 * README: Document TESTS makefile variable.
16937
16938 2014-02-18 Doug Evans <dje@google.com>
16939
16940 * Makefile.in (check-parallel): rm -rf outputs temp.
16941
16942 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16943
16944 Fix "ERROR: no fileid for" in the testsuite.
16945 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16946
16947 2014-02-12 Doug Evans <dje@google.com>
16948
16949 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16950 (MISCELLANEOUS): New variable.
16951 (clean): rm -rf $(MISCELLANEOUS).
16952 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16953 dwp live in the same directory as symlinks, with each symlink pointed
16954 to a differently named file in a different directory.
16955
16956 2014-02-11 Doug Evans <dje@google.com>
16957
16958 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16959 of Tcl file commands.
16960
16961 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16962
16963 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16964 "kill -SIGUSR1 -1".
16965
16966 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16967
16968 * gdb.ada/tick_length_array_enum_idx: New testcase.
16969
16970 2014-02-10 Doug Evans <xdje42@gmail.com>
16971
16972 * configure.ac (AC_OUTPUT): Add gdb.guile.
16973 * configure: Regenerate.
16974 * lib/gdb-guile.exp: New file.
16975 * lib/gdb.exp (get_target_charset): New function.
16976 * gdb.base/help.exp: Update expected output from "apropos apropos".
16977 * gdb.guile/Makefile.in: New file.
16978 * gdb.guile/guile.exp: New file.
16979 * gdb.guile/scm-arch.c: New file.
16980 * gdb.guile/scm-arch.exp: New file.
16981 * gdb.guile/scm-block.c: New file.
16982 * gdb.guile/scm-block.exp: New file.
16983 * gdb.guile/scm-breakpoint.c: New file.
16984 * gdb.guile/scm-breakpoint.exp: New file.
16985 * gdb.guile/scm-disasm.c: New file.
16986 * gdb.guile/scm-disasm.exp: New file.
16987 * gdb.guile/scm-equal.c: New file.
16988 * gdb.guile/scm-equal.exp: New file.
16989 * gdb.guile/scm-error.exp: New file.
16990 * gdb.guile/scm-error.scm: New file.
16991 * gdb.guile/scm-frame-args.c: New file.
16992 * gdb.guile/scm-frame-args.exp: New file.
16993 * gdb.guile/scm-frame-args.scm: New file.
16994 * gdb.guile/scm-frame-inline.c: New file.
16995 * gdb.guile/scm-frame-inline.exp: New file.
16996 * gdb.guile/scm-frame.c: New file.
16997 * gdb.guile/scm-frame.exp: New file.
16998 * gdb.guile/scm-generics.exp: New file.
16999 * gdb.guile/scm-gsmob.exp: New file.
17000 * gdb.guile/scm-iterator.c: New file.
17001 * gdb.guile/scm-iterator.exp: New file.
17002 * gdb.guile/scm-math.c: New file.
17003 * gdb.guile/scm-math.exp: New file.
17004 * gdb.guile/scm-objfile-script-gdb.in: New file.
17005 * gdb.guile/scm-objfile-script.c: New file.
17006 * gdb.guile/scm-objfile-script.exp: New file.
17007 * gdb.guile/scm-objfile.c: New file.
17008 * gdb.guile/scm-objfile.exp: New file.
17009 * gdb.guile/scm-ports.exp: New file.
17010 * gdb.guile/scm-pretty-print.c: New file.
17011 * gdb.guile/scm-pretty-print.exp: New file.
17012 * gdb.guile/scm-pretty-print.scm: New file.
17013 * gdb.guile/scm-section-script.c: New file.
17014 * gdb.guile/scm-section-script.exp: New file.
17015 * gdb.guile/scm-section-script.scm: New file.
17016 * gdb.guile/scm-symbol.c: New file.
17017 * gdb.guile/scm-symbol.exp: New file.
17018 * gdb.guile/scm-symtab-2.c: New file.
17019 * gdb.guile/scm-symtab.c: New file.
17020 * gdb.guile/scm-symtab.exp: New file.
17021 * gdb.guile/scm-type.c: New file.
17022 * gdb.guile/scm-type.exp: New file.
17023 * gdb.guile/scm-value-cc.cc: New file.
17024 * gdb.guile/scm-value-cc.exp: New file.
17025 * gdb.guile/scm-value.c: New file.
17026 * gdb.guile/scm-value.exp: New file.
17027 * gdb.guile/source2.scm: New file.
17028 * gdb.guile/types-module.cc: New file.
17029 * gdb.guile/types-module.exp: New file.
17030
17031 2014-02-10 Yao Qi <yao@codesourcery.com>
17032
17033 PR testsuite/16543
17034 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17035 * configure: Regenerated.
17036 * Makefile.in: New file.
17037
17038 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17039
17040 * gdb.python/py-framefilter.exp: Fix typo.
17041
17042 2014-02-08 Yao Qi <yao@codesourcery.com>
17043
17044 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17045 that no =breakpoint-modified is emitted when breakpoints are
17046 modified through MI commands.
17047
17048 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17049 Pedro Alves <palves@redhat.com>
17050
17051 * gdb.threads/step-after-sr-lock.c: New file.
17052 * gdb.threads/step-after-sr-lock.exp: New file.
17053
17054 2014-02-07 Pedro Alves <palves@redhat.com>
17055
17056 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17057
17058 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17059
17060 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17061 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17062
17063 2014-02-06 Doug Evans <xdje42@gmail.com>
17064
17065 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17066 output.
17067
17068 * gdb.gdb/python-interrupts.exp: New file.
17069
17070 2014-02-05 Yao Qi <yao@codesourcery.com>
17071
17072 * gdb.trace/report.exp (use_collected_data): Test the output
17073 of "info threads" and "info inferiors".
17074
17075 2014-02-05 Yao Qi <yao@codesourcery.com>
17076
17077 Revert this patch:
17078
17079 2013-05-24 Yao Qi <yao@codesourcery.com>
17080
17081 * gdb.trace/tfile.exp: Test inferior and thread.
17082
17083 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17084
17085 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17086 on a function.
17087 * gdb.base/step-bt.c: Call hello via function pointer to make
17088 sure its first instruction is executed on powerpc64le-linux.
17089
17090 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17091
17092 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17093
17094 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17095
17096 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17097 of the test patterns for use on little-endian systems.
17098
17099 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17100
17101 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17102 (decimal_vector): Fix for little-endian.
17103
17104 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17105
17106 * gdb.arch/sparc-sysstep.exp: New file.
17107 * gdb.arch/sparc-sysstep.c: Likewise.
17108
17109 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17110
17111 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17112
17113 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17114
17115 2014-01-23 Tom Tromey <tromey@redhat.com>
17116
17117 * gdb.ada/array_char_idx: New testcase.
17118
17119 2014-01-23 Tom Tromey <tromey@redhat.com>
17120
17121 PR python/16487:
17122 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17123 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17124 classes.
17125
17126 2014-01-23 Tom Tromey <tromey@redhat.com>
17127
17128 PR python/16491:
17129 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17130 string from an inferior frame.
17131 * gdb.python/py-framefilter-mi.exp: Update.
17132
17133 2014-01-22 Doug Evans <dje@google.com>
17134
17135 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17136
17137 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17138
17139 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17140
17141 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17142
17143 * gdb.trace/entry-values.exp: Remove excess space character from
17144 regex patterns. Handle s390 call instruction.
17145
17146 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17147
17148 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17149 define "*_start" label. Make "name" static.
17150 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17151 ${name} by references to ${name}_start.
17152
17153 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17154
17155 * gdb.base/info-macros.exp: Remove "debug" from the compile
17156 options.
17157
17158 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17159
17160 * gdb.dlang/demangle.exp: New file.
17161
17162 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17163
17164 * gdb.dlang/primitive-types.exp: New file.
17165
17166 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17167
17168 * configure.ac: Create gdb.dlang/Makefile.
17169 * configure: Regenerate.
17170 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17171 * gdb.dlang/Makefile.in: New file.
17172 * lib/d-support.exp: New file.
17173 * lib/gdb.exp (skip_d_tests): New proc.
17174
17175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17176
17177 * gdb.btrace/delta.exp: Check reverse stepi.
17178 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17179 * gdb.btrace/finish.exp: New.
17180 * gdb.btrace/next.exp: New.
17181 * gdb.btrace/nexti.exp: New.
17182 * gdb.btrace/record_goto.c: Add comments.
17183 * gdb.btrace/step.exp: New.
17184 * gdb.btrace/stepi.exp: New.
17185 * gdb.btrace/multi-thread-step.c: New.
17186 * gdb.btrace/multi-thread-step.exp: New.
17187 * gdb.btrace/rn-dl-bind.c: New.
17188 * gdb.btrace/rn-dl-bind.exp: New.
17189 * gdb.btrace/data.c: New.
17190 * gdb.btrace/data.exp: New.
17191 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17192
17193 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17194
17195 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17196 * gdb.btrace/exception.exp: Update.
17197 * gdb.btrace/instruction_history.exp: Update.
17198 * gdb.btrace/record_goto.exp: Update.
17199 * gdb.btrace/tailcall.exp: Update.
17200 * gdb.btrace/unknown_functions.exp: Update.
17201 * gdb.btrace/delta.exp: New.
17202
17203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17204
17205 * gdb.btrace/record_goto.exp: Add backtrace test.
17206 * gdb.btrace/tailcall.exp: Add backtrace test.
17207
17208 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17209
17210 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17211 * gdb.btrace/record_goto.c: New.
17212 * gdb.btrace/record_goto.exp: New.
17213 * gdb.btrace/x86-record_goto.S: New.
17214
17215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17216
17217 * gdb.btrace/function_call_history.exp: Update tests.
17218 * gdb.btrace/instruction_history.exp: Update tests.
17219
17220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17221
17222 * gdb.btrace/function_call_history.exp: Fix expected field
17223 order for "record function-call-history".
17224 Add new tests for "record function-call-history /c".
17225 * gdb.btrace/exception.cc: New.
17226 * gdb.btrace/exception.exp: New.
17227 * gdb.btrace/tailcall.exp: New.
17228 * gdb.btrace/x86-tailcall.S: New.
17229 * gdb.btrace/x86-tailcall.c: New.
17230 * gdb.btrace/unknown_functions.c: New.
17231 * gdb.btrace/unknown_functions.exp: New.
17232 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17233
17234 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17235
17236 * gdb.btrace/instruction_history.exp: Update.
17237 * gdb.btrace/function_call_history.exp: Update.
17238
17239 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17240
17241 * gdb.btrace/function_call_history.exp: Fix expected function
17242 trace.
17243 * gdb.btrace/instruction_history.exp: Initialize traced.
17244 Remove traced_functions.
17245
17246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17247
17248 * gdb.btrace/function_call_history.exp: Update
17249 * gdb.btrace/instruction_history.exp: Update.
17250
17251 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17252
17253 * gdb.btrace/enable.exp: Update expected text.
17254
17255 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17256
17257 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17258 bytes.
17259
17260 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17261
17262 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17263
17264 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17265
17266 * lib/gdb.exp (supports_process_record): Return true for
17267 arm*-linux*. (supports_reverse): Likewise.
17268
17269 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17270
17271 PR python/15464
17272 PR python/16113
17273 * gdb.python/py-type.c: Enhance test case.
17274 * gdb.python/py-value-cc.cc: Likewise
17275 * gdb.python/py-type.exp: Add new tests.
17276 * gdb.python/py-value-cc.exp: Likewise
17277
17278 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17279 Pedro Alves <palves@redhat.com>
17280
17281 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17282 Make "name" extern.
17283 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17284 references to ${name}_start by references to ${name}.
17285
17286 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17287
17288 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17289
17290 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17291
17292 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17293
17294 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17295 Pedro Alves <palves@redhat.com>
17296
17297 * gdb.mi/mi-info-os.exp: Connect to the target with
17298 mi_gdb_target_load.
17299
17300 2014-01-08 Pedro Alves <palves@redhat.com>
17301
17302 * gdb.threads/reconnect-signal.c: New file.
17303 * gdb.threads/reconnect-signal.exp: New file.
17304
17305 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17306
17307 * gdb.base/source-dir.exp: New file.
17308
17309 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17310
17311 * gdb.ada/mi_interface: New testcase.
17312
17313 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17314
17315 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17316 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17317 gdb.ada/pp-rec-component/pck.ads: New files.
17318
17319 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17320
17321 * gdb.python/py-pp-integral.c: New file.
17322 * gdb.python/py-pp-integral.py: New file.
17323 * gdb.python/py-pp-integral.exp: New file.
17324
17325 For older changes see ChangeLog-1993-2013.
17326 \f
17327 ;; Local Variables:
17328 ;; mode: change-log
17329 ;; left-margin: 8
17330 ;; fill-column: 74
17331 ;; version-control: never
17332 ;; End:
17333
17334 Copyright 2014-2019 Free Software Foundation, Inc.
17335 Copying and distribution of this file, with or without modification,
17336 are permitted provided the copyright notice and this notice are preserved.
This page took 0.367176 seconds and 5 git commands to generate.