Introduce metadata style
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-10-01 Tom Tromey <tom@tromey.com>
2
3 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4 * gdb.base/style.exp: Add metadata style test.
5
6 2019-10-01 Tom Tromey <tom@tromey.com>
7
8 * gdb.base/style.exp: Test "pwd".
9
10 2019-10-01 Tom Tromey <tom@tromey.com>
11
12 * gdb.base/style.exp: Update tests.
13
14 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
15
16 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
17 'six' to unsigned.
18 (s1): Initialize fields 'four' and 'six' instead of 'three' and
19 'five'. Use an all-ones bit pattern for each.
20 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
21 to its changed values.
22
23 2019-09-30 Tom Tromey <tromey@adacore.com>
24
25 * gdb.rust/traits.rs: Disable all warnings.
26
27 2019-09-29 Tom de Vries <tdevries@suse.de>
28
29 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
30
31 2019-09-29 Tom de Vries <tdevries@suse.de>
32
33 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
34
35 2019-09-27 Tom de Vries <tdevries@suse.de>
36
37 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
38
39 2019-09-27 Tom de Vries <tdevries@suse.de>
40
41 PR record/23188
42 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
43
44 2019-09-26 Tom Tromey <tromey@adacore.com>
45
46 * gdb.ada/py_taft.exp: New file.
47 * gdb.ada/py_taft/main.adb: New file.
48 * gdb.ada/py_taft/pkg.adb: New file.
49 * gdb.ada/py_taft/pkg.ads: New file.
50
51 2019-09-24 Tom de Vries <tdevries@suse.de>
52
53 PR gdb/24598
54 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
55
56 2019-09-22 Tom de Vries <tdevries@suse.de>
57
58 * gdb.base/restore.exp: Allow register variables to be optimized out at
59 -O0.
60
61 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
62
63 * gdb.arch/spu-info.exp: Remove file.
64 * gdb.arch/spu-info.c: Remove file.
65 * gdb.arch/spu-ls.exp: Remove file.
66 * gdb.arch/spu-ls.c: Remove file.
67
68 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
69 * gdb.asm/spu.inc: Remove file.
70
71 * gdb.base/dump.exp: Remove support for spu*-*-*.
72 * gdb.base/stack-checking.exp: Likewise.
73 * gdb.base/overlays.exp: Likewise.
74 * gdb.base/ovlymgr.c: Likewise.
75 * gdb.base/spu.ld: Remove file.
76
77 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
78 * gdb.cp/cpexprs.exp: Likewise.
79 * gdb.cp/exception.exp: Likewise.
80 * gdb.cp/gdb2495.exp: Likewise.
81 * gdb.cp/mb-templates.exp: Likewise.
82 * gdb.cp/pr9167.exp: Likewise.
83 * gdb.cp/userdef.exp: Likewise.
84
85 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
86
87 * gdb.cell: Remove directory.
88 * lib/cell.exp: Remove file.
89
90 2019-09-19 Tom de Vries <tdevries@suse.de>
91
92 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
93
94 2019-09-19 Tom de Vries <tdevries@suse.de>
95
96 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
97
98 2019-09-19 Tom de Vries <tdevries@suse.de>
99
100 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
101 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
102 (gdb_target_cmd): ... here.
103 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
104 value 2.
105
106 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.base/source-dir.exp: Avoid having directory names in test
109 names.
110
111 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.base/source-dir.exp: Add extra test for mapped compilation
114 directory.
115
116 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * gdb.base/list-missing-source.exp: New file.
119
120 2019-09-14 Tom de Vries <tdevries@suse.de>
121
122 PR teststuite/24599
123 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
124 * lib/ada.exp (gnatmake_version_at_least): New proc.
125
126 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.base/maint.exp: Use exec_has_index_section.
129
130 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.base/maint.exp: Add test for 'maint info sections'.
133
134 2019-09-12 Tom de Vries <tdevries@suse.de>
135
136 * gdb.base/store.exp: Allow register variables to be optimized out at
137 -O0.
138
139 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
140
141 * gdb.ada/rdv_wait.exp: Update to new task names.
142 * gdb.base/task_switch_in_core.exp: Likewise.
143 * gdb.base/info_sources_base.c: Likewise.
144
145 2019-09-10 Tom Tromey <tromey@adacore.com>
146
147 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
148
149 2019-09-10 Tom Tromey <tromey@adacore.com>
150
151 * gdb.ada/dgopt.exp: New file.
152 * gdb.ada/dgopt/x.adb: New file.
153
154 2019-09-08 Tom Tromey <tom@tromey.com>
155
156 * gdb.tui/resize.exp: Remove setup_xfail.
157 * gdb.tui/regs.exp: Remove setup_xfail.
158 * gdb.tui/basic.exp: Remove setup_xfail.
159
160 2019-09-06 David Blaikie <dblaikie@gmail.com>
161
162 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
163 * gdb.cp/cplabel.exp: Ditto.
164 * gdb.linespec/ls-errs.exp: Ditto.
165
166 2019-09-05 Tom de Vries <tdevries@suse.de>
167
168 * lib/gdb.exp (cmp_file_string): New proc.
169 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
170 runto_main. Verify save breakpoints output.
171
172 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
173
174 * gdb.base/info-var.exp: Test info variables without running
175 to main, to avoid expect's buffer overflow.
176
177 2019-09-03 Tom Tromey <tromey@adacore.com>
178
179 * gdb.ada/bias.exp: New file.
180 * gdb.ada/bias/bias.adb: New file.
181 * gdb.ada/print_chars.exp: Add regression test.
182 * gdb.ada/print_chars/foo.adb (My_Character): New type.
183 (MC): New variable.
184
185 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
186
187 * gdb.base/argv0-symlink.exp: Run only on native target
188 and local host.
189
190 2019-08-29 Tom de Vries <tdevries@suse.de>
191
192 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
193 diverse debug info.
194 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
195
196 2019-08-28 Tom de Vries <tdevries@suse.de>
197
198 * gdb.base/info-var.exp: Allow info variables to print info for files
199 other than info-var-f1.c and info-var-f2.c.
200
201 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.fortran/info-types.exp: Add module.
204 * gdb.fortran/info-types.f90: Update expected results.
205
206 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.fortran/info-types.exp: New file.
209 * gdb.fortran/info-types.f90: New file.
210 * lib/fortran.exp (fortran_character1): New proc.
211
212 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
213
214 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
215 functions'. Reindent as needed.
216 * gdb.base/info-var-f1.c: New file.
217 * gdb.base/info-var-f2.c: New file.
218 * gdb.base/info-var.exp: New file.
219 * gdb.base/info-var.h: New file.
220
221 2019-08-26 Tom de Vries <tdevries@suse.de>
222
223 PR c++/24852
224 * gdb.cp/no-libstdcxx-probe.exp: New test.
225
226 2019-08-26 Tom de Vries <tdevries@suse.de>
227
228 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
229 * tests need to be skipped.
230 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
231 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
232 mi_skip_libstdcxx_probe_tests.
233
234 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
235
236 * gdb.python/py-xmethods.exp: Use raw strings when passing
237 arguments to SimpleXMethodMatcher.
238
239 2019-08-22 Tom de Vries <tdevries@suse.de>
240
241 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
242 more informative.
243
244 2019-08-21 Pedro Alves <palves@redhat.com>
245
246 * gdb.base/with.exp: Test "with" with no arguments.
247
248 2019-08-21 Tom de Vries <tdevries@suse.de>
249
250 * gdb.base/gdb-caching-proc.exp: Sort files.
251
252 2019-08-20 Tom de Vries <tdevries@suse.de>
253
254 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
255 compilation.
256
257 2019-08-16 Tom de Vries <tdevries@suse.de>
258
259 * gdb.base/compare-sections.exp ("after run to main"): Allow
260 mismatched read-only sections for PIE executables.
261
262 2019-08-16 Tom Tromey <tom@tromey.com>
263
264 * lib/tuiterm.exp (_csi_Z): New proc.
265 * gdb.tui/basic.exp: Update window positions.
266 * gdb.tui/empty.exp: Update window positions.
267
268 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
269
270 * gdb.base/examine-backward.exp: Correct regexp for
271 "examine 3 bytes backward from ${address_zero}".
272
273 2019-08-15 Tom Tromey <tom@tromey.com>
274
275 * gdb.tui/empty.exp: Enable resizing tests.
276
277 2019-08-15 Tom Tromey <tromey@adacore.com>
278
279 * gdb.ada/char_enum.exp: Add regression tests.
280 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
281 and '0'.
282 (Char, Gchar): Update.
283 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
284
285 2019-08-15 Christian Biesinger <cbiesinger@google.com>
286
287 * gdb.python/python.exp: Expect a leading underscore on
288 GdbOutput{,Error}File.
289
290 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
291
292 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
293 Windows host.
294
295 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
296
297 * gdb.base/batch-preserve-term-settings.exp
298 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
299
300 2019-08-15 Christian Biesinger <cbiesinger@google.com>
301
302 * lib/gdb.exp: When running on a mingw target, replace
303 /x/ with x:/.
304
305 2019-08-14 Alan Hayward <alan.hayward@arm.com>
306
307 * gdb.arch/aarch64-prologue.c: New test.
308 * gdb.arch/aarch64-prologue.exp: New file.
309
310 2019-08-13 Tom de Vries <tdevries@suse.de>
311
312 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
313 Thread.
314
315 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
316
317 * gdb.python/py-completion.exp: Download the .py file to the host
318 and use its host pathname. Conditionalize tests that use
319 tab completion and manipulate files on the build machine.
320 * gdb.python/py-events.exp: Download the .py file to the host
321 and use its host pathname.
322 * gdb.python/py-evsignal.exp: Likewise.
323 * gdb.python/py-evthreads.exp: Likewise.
324 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
325 pathname syntax.
326 * gdb.python/py-framefilter.exp: Download the .py file to the right
327 place on the host. Match Windows pathname syntax.
328 * gdb.python/py-mi-var-info-path-expression.exp: Download the
329 .py file to the host and use its host pathname.
330 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
331 * gdb.python/py-objfile.exp: Expect a host pathname, not a
332 build pathname. Skip symlink test on Windows host. Add missing
333 newline at end of file.
334 * gdb.python/py-pp-maint.exp: Download the .py file to the host
335 and use its host pathname.
336 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
337 * gdb.python/py-section-script.exp: Use host location of binfile
338 on safe-path. Use correct path separator on Windows host.
339 Reorder alternatives in gdb_test_multiple to prevent matching
340 the wrong alternative on success.
341 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
342
343 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
344
345 * gdb.gdb/selftest.exp (test_with_self): Update test to now
346 expect the GDB inferior to no longer immediately stop after
347 being resumed with "signal SIGINT".
348
349 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
350
351 * gdb.linespec/break-ask.exp: Generalize regexps to match
352 Windows pathnames too.
353
354 2019-08-08 Tom de Vries <tdevries@suse.de>
355
356 PR testsuite/24862
357 * lib/tuiterm.exp (_accept): Fix CSI regexp.
358
359 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
360
361 * gdb.base/style.exp: Update tests for help doc new invariants.
362 * gdb.base/help.exp: Likewise.
363
364 2019-08-06 Tom Tromey <tom@tromey.com>
365
366 * gdb.base/style.exp: Add disassemble test.
367 * gdb.base/style.c (some_called_function): New function.
368 (main): Use it.
369
370 2019-08-05 Christian Biesinger <cbiesinger@google.com>
371
372 * gdb.python/py-block.exp: Test dictionary access on blocks.
373
374 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
375
376 PR gdb/24863
377 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
378 -list-thread-groups --available test when running under
379 check-read1.
380
381 2019-08-05 Tom de Vries <tdevries@suse.de>
382
383 PR testsuite/24863
384 * lib/gdb.exp (with_read1_timeout_factor): New proc.
385 * gdb.base/help.exp: Use with_read1_timeout_factor.
386 * gdb.base/info-macros.exp: Same.
387 * gdb.cp/nested-types.exp: Same.
388
389 2019-08-05 Tom de Vries <tdevries@suse.de>
390
391 * lib/gdb.exp (version_at_least): Factor out of ...
392 (tcl_version_at_least): ... here.
393 (gdb_compile): Fail if pie results in non-PIE executable.
394 (readelf_version, readelf_prints_pie): New proc.
395 (exec_is_pie): Return -1 if unknown.
396
397 2019-08-05 Tom de Vries <tdevries@suse.de>
398
399 * lib/gdb.exp (tcl_version_at_least): Fix typo.
400
401 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
402
403 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
404
405 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
406
407 * lib/completion-support.exp (test_gdb_complete_none): Skip
408 tab completion tests if no readline support.
409 (test_gdb_complete_unique_re): Likewise.
410 (test_gdb_complete_multiple): Likewise.
411
412 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
413
414 * gdb.base/info_sources.exp: New file.
415 * gdb.base/info_sources.c: New file.
416 * gdb.base/info_sources_base.c: New file.
417
418 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
419
420 * gdb.base/batch-exit-status.exp: Call test_exit_status with
421 prefix argument.
422 (test_exit_status): Add prefix argument.
423
424 2019-08-01 Tom de Vries <tdevries@suse.de>
425
426 PR testsuite/24863
427 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
428 calling exp_continue for new thread and thread exited messages.
429
430 2019-08-01 Tom de Vries <tdevries@suse.de>
431
432 PR testsuite/24863
433 * gdb.base/structs.exp: Fix check-read1 timeout using
434 gdb_test_sequence.
435 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
436
437 2019-08-01 Tom de Vries <tdevries@suse.de>
438
439 PR testsuite/24863
440 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
441 line.
442
443 2019-08-01 Tom de Vries <tdevries@suse.de>
444
445 PR testsuite/24863
446 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
447
448 2019-07-30 Tom Tromey <tromey@adacore.com>
449
450 * gdb.ada/display_nested.exp: New file.
451 * gdb.ada/display_nested/foo.adb: New file.
452 * gdb.ada/display_nested/pack.adb: New file.
453 * gdb.ada/display_nested/pack.ads: New file.
454
455 2019-07-30 Christian Biesinger <cbiesinger@google.com>
456
457 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
458 namespace.
459 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
460
461 2019-07-30 Tom de Vries <tdevries@suse.de>
462
463 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
464 instead.
465
466 2019-07-30 Tom de Vries <tdevries@suse.de>
467
468 PR testsuite/24834
469 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
470 (exec_is_pie): New proc.
471
472 2019-07-29 Christian Biesinger <cbiesinger@google.com>
473
474 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
475
476 2019-07-29 Christian Biesinger <cbiesinger@google.com>
477
478 * gdb.python/py-objfile.c: Add global and static vars.
479 * gdb.python/py-objfile.exp: Test new functions Objfile.
480 lookup_global_symbol and lookup_static_symbol.
481
482 2019-07-29 Tom Tromey <tom@tromey.com>
483
484 * lib/tuiterm.exp (Term::_csi_@): New proc.
485 (Term::_csi_X): Don't move cursor.
486
487 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
488
489 * gdb.base/options.exp: Update backtrace - completion to
490 new option -frame-info.
491 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
492 Test new 'set print frame-info'. Test backtrace -frame-info
493 overriding 'set print frame-info'.
494 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
495 Test new 'set print frame-info'.
496 Verify consistency of backtrace with and without filters, with and
497 without -no-filters.
498 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
499 default.
500
501 2019-07-29 Tom de Vries <tdevries@suse.de>
502
503 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
504 no arguments".
505
506 2019-07-29 Tom de Vries <tdevries@suse.de>
507
508 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
509 is a substring of the first for "complete non-unique file name".
510
511 2019-07-29 Tom de Vries <tdevries@suse.de>
512
513 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
514 with ".*".
515
516 2019-07-29 Tom de Vries <tdevries@suse.de>
517
518 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
519 Pass prompt_regexp parameter to gdb_test_multiple calls.
520
521 2019-07-29 Tom de Vries <tdevries@suse.de>
522
523 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
524 print registers" regexps.
525
526 2019-07-29 Tom de Vries <tdevries@suse.de>
527
528 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
529
530 2019-07-29 Tom de Vries <tdevries@suse.de>
531
532 PR gdb/24855
533 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
534 (skip_python_tests_prompt): Add prompt_regexp argument to
535 gdb_test_multiple calls.
536
537 2019-07-27 Tom Tromey <tom@tromey.com>
538
539 * gdb.tui/main.exp: New file.
540
541 2019-07-27 Tom Tromey <tom@tromey.com>
542
543 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
544 optional.
545 * gdb.tui/empty.exp: New file.
546
547 2019-07-27 Tom Tromey <tom@tromey.com>
548
549 * lib/tuiterm.exp (spawn): New proc.
550 (Term::resize): New proc.
551 * gdb.tui/resize.exp: New file.
552
553 2019-07-27 Tom Tromey <tom@tromey.com>
554
555 * gdb.tui/list.exp: New file.
556
557 2019-07-27 Tom Tromey <tom@tromey.com>
558
559 * gdb.tui/regs.exp: New file.
560
561 2019-07-27 Tom Tromey <tom@tromey.com>
562
563 * gdb.tui/basic.exp: Add "layout split" test.
564
565 2019-07-27 Tom Tromey <tom@tromey.com>
566
567 * gdb.tui/basic.exp: Add "layout asm" test.
568
569 2019-07-27 Tom Tromey <tom@tromey.com>
570
571 * lib/tuiterm.exp: New file.
572 * gdb.tui/basic.exp: New file.
573
574 2019-07-27 Kevin Buettner <kevinb@redhat.com>
575
576 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
577 Enable tests associated with this flag. Adjust regex
578 referencing "foo_low" to now refer to "foo_cold" instead.
579
580 2019-07-27 Kevin Buettner <kevinb@redhat.com>
581
582 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
583 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
584 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
585 foo_cold. Revise comments to match.
586 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
587 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
588 were wrapped into this proc; Call do_test in loop from outermost
589 level.
590 (foo_low): Rename all occurrences to "foo_cold".
591 (backtrace from baz): New test.
592 (x2/i foo_cold): New test.
593 (info line *foo_cold): New test.
594
595 2019-07-26 Tom de Vries <tdevries@suse.de>
596
597 * gdb.arch/i386-pkru.exp: Fix unterminated string.
598
599 2019-07-25 Tom de Vries <tdevries@suse.de>
600
601 PR testsuite/24830
602 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
603 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
604 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
605 (skip_libstdcxx_probe_tests): ... here.
606 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
607
608 2019-07-24 Tom de Vries <tdevries@suse.de>
609
610 PR testsuite/24807
611 * gdb.objc/basicclass.m: Include stdio.h.
612 * gdb.objc/nondebug.m: Same.
613 * gdb.objc/objcdecode.m: Same.
614
615 2019-07-24 Tom de Vries <tdevries@suse.de>
616
617 PR testsuite/24612
618 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
619 additional_flags.
620
621 2019-07-24 Tom de Vries <tdevries@suse.de>
622
623 PR testsuite/24831
624 * gdb.multi/tids.exp: Update error messages for info threads.
625
626 2019-07-24 Tom de Vries <tdevries@suse.de>
627
628 * gdb.base/info-types.exp: Allow info types to print info for more than
629 one file.
630
631 2019-07-23 Tom de Vries <tdevries@suse.de>
632
633 PR testsuite/24842
634 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
635 gdb_spawn_with_cmdline_opts.
636
637 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
638
639 * gdb.arch/arm-cmse-sgstubs.c: New test.
640 * gdb.arch/arm-cmse-sgstubs.exp: New file.
641
642 2019-07-23 Tom de Vries <tdevries@suse.de>
643
644 PR testsuite/24711
645 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
646 issuing next command.
647
648 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 * gdb.ada/info_auto_lang.exp: Update expected results.
651 * gdb.base/info-types.c: Add additional types to check.
652 * gdb.base/info-types.exp: Update expected results.
653
654 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.base/info-types.c: New file.
657 * gdb.base/info-types.exp: New file.
658
659 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
660
661 * gdb.arch/riscv-bp-infcall.c: New file.
662 * gdb.arch/riscv-bp-infcall.exp: New file.
663
664 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 PR breakpoints/24541
667 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
668
669 2019-07-14 Tom de Vries <tdevries@suse.de>
670
671 PR testsuite/24760
672 * gdb.objc/basicclass.exp: Fix unterminated string.
673
674 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
675 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
678 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
679 negative bounds.
680 * gdb.fortran/vla-value.exp: Print elements of an array with
681 negative bounds.
682 * gdb.fortran/vla.f90: Setup an array with negative bounds for
683 testing.
684
685 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
686
687 * gdb.base/options.exp (expect_string): Dequote strings in
688 results.
689 (test-string): Test strings with different quoting and reindent.
690
691 2019-07-10 Tom Tromey <tromey@adacore.com>
692
693 * gdb.ada/mi_ex_cond.exp: Update expected results.
694 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
695 * gdb.ada/mi_catch_ex.exp: Update expected results.
696 * gdb.ada/mi_catch_assert.exp: Update expected results.
697 * gdb.ada/catch_ex.exp (catch_exception_info)
698 (catch_exception_entry, catch_assert_entry)
699 (catch_unhandled_entry): Update.
700 * gdb.ada/catch_assert_if.exp: Update expected results.
701
702 2019-07-10 Richard Bunt <richard.bunt@arm.com>
703 Stephen Roberts <stephen.roberts@arm.com>
704
705 * gdb.base/define.exp: Restore original prompt.
706
707 2019-07-09 Pedro Alves <palves@redhat.com>
708
709 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
710 breakpoints" output.
711 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
712 * gdb.python/py-breakpoint.exp: No longer expect that "catch
713 throw" creates breakpoint.
714 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
715 'type="catchpoint"'.
716
717 2019-07-09 Pedro Alves <palves@redhat.com>
718
719 PR c++/15468
720 * gdb.cp/except-multi-location-lib.cc: New.
721 * gdb.cp/except-multi-location-main.cc: New.
722 * gdb.cp/except-multi-location.exp: New.
723
724 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
725
726 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
727 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
728 argument and update callers.
729
730 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.arch/amd64-break-on-asm-line.S: New file.
733 * gdb.arch/amd64-break-on-asm-line.exp: New file.
734
735 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
736
737 * gdb.base/printcmds.exp: Test printing C string and
738 C wide string convenience vars without transiting via the inferior.
739 Also make test names unique.
740
741 2019-07-08 Alan Hayward <alan.hayward@arm.com>
742
743 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
744
745 2019-07-04 Pedro Alves <palves@redhat.com>
746
747 * lib/gdb.exp (foreach_with_prefix): Don't return early if
748 body returned ok(0), break(3) or continue(4).
749 * gdb.testsuite/foreach_with_prefix.exp: New file.
750
751 2019-07-04 Alan Hayward <alan.hayward@arm.com>
752
753 * gdb.server/unittest.exp: Allow 0 unit tests to run.
754
755 2019-07-03 Pedro Alves <palves@redhat.com>
756
757 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
758 "return -code".
759
760 2019-07-03 Pedro Alves <palves@redhat.com>
761
762 PR cli/24732
763 * gdb.base/shell.exp: Load completion-support.exp.
764 Adjust expected error output. Add completion tests.
765
766 2019-07-03 Pedro Alves <palves@redhat.com>
767
768 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
769 string_to_regexp.
770
771 2019-07-03 Pedro Alves <palves@redhat.com>
772
773 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
774 (expect_integer): Adjust to expect "-string".
775 (expect_string): New.
776 (all_options): Expect "-string".
777 (test-flag, test-boolean): Adjust to expect "-string".
778 (test-string): New proc.
779 (top level): Call it.
780
781 2019-07-03 Pedro Alves <palves@redhat.com>
782
783 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
784 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
785 the expected output in the success.
786
787 2019-07-03 Pedro Alves <palves@redhat.com>
788
789 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
790 Split one gdb_test_multiple call in two to avoid a race.
791
792 2019-07-03 Pedro Alves <palves@redhat.com>
793
794 * gdb.base/with.c: New file.
795 * gdb.base/with.exp: New file.
796
797 2019-07-03 Pedro Alves <palves@redhat.com>
798
799 * gdb.base/settings.exp: Replace all references to "maint
800 test-settings set" with references to "maint set test-settings",
801 and all references to "maint test-settings show" with references
802 to "maint show test-settings".
803
804 2019-07-03 Pedro Alves <palves@redhat.com>
805
806 * gdb.base/settings.exp (test-string): Adjust expected out when
807 testing "maint test-settings show filename"
808
809 2019-07-02 Pedro Alves <palves@redhat.com>
810
811 * gdb.base/options.exp (test-info-threads): New procedure.
812 (top level): Call it.
813
814 2019-06-28 Tom Tromey <tromey@adacore.com>
815
816 * gdb.dwarf2/ada-linkage-name.c: New file.
817 * gdb.dwarf2/ada-linkage-name.exp: New file.
818
819 2019-06-27 Tom Tromey <tromey@adacore.com>
820
821 * gdb.cp/constexpr-field.exp: Use setup_xfail.
822
823 2019-06-26 Tom de Vries <tdevries@suse.de>
824
825 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
826
827 2019-06-26 Tom de Vries <tdevries@suse.de>
828
829 * gdb.base/index-cache.exp: Add back missing debug option.
830
831 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
832
833 * gdb.base/alias.exp: Test non matching/non existing prefixes.
834
835 2019-06-25 Tom de Vries <tdevries@suse.de>
836
837 PR testsuite/24727
838 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
839
840 2019-06-24 Tom de Vries <tdevries@suse.de>
841
842 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
843
844 2019-06-24 Tom de Vries <tdevries@suse.de>
845
846 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
847 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
848 * gdb.trace/unavailable-dwarf-piece.exp: Same.
849
850 2019-06-24 Tom de Vries <tdevries@suse.de>
851
852 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
853
854 2019-06-21 Tom de Vries <tdevries@suse.de>
855
856 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
857
858 2019-06-21 Tom de Vries <tdevries@suse.de>
859
860 PR testsuite/24518
861 PR ada/24713
862 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
863 index.
864
865 2019-06-19 Tom Tromey <tromey@adacore.com>
866
867 * gdb.ada/length_cond.exp: Add intro comment.
868
869 2019-06-19 Tom Tromey <tromey@adacore.com>
870
871 * gdb.ada/length_cond.exp: New file.
872 * gdb.ada/length_cond/length_cond.adb: New file.
873 * gdb.ada/length_cond/pck.adb: New file.
874 * gdb.ada/length_cond/pck.ads: New file.
875
876 2019-06-18 Tom de Vries <tdevries@suse.de>
877
878 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
879
880 2019-06-18 Tom Tromey <tromey@adacore.com>
881
882 * gdb.base/list0.h: Add comment explaining control character.
883
884 2019-06-18 Tom de Vries <tdevries@suse.de>
885
886 * boards/fission.exp: Break up long debug_flags line.
887
888 2019-06-16 Tom de Vries <tdevries@suse.de>
889
890 PR gdb/24445
891 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
892 generated index.
893
894 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 PR gdb/24686
897 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
898 improve detection of bug gdb/24541.
899
900 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
901
902 PR gdb/24669
903 * gdb.base/index-cache.exp (uses_readnow,
904 expecting_index_cache_use): Define global variable.
905 (test_cache_enabled_miss, test_cache_enabled_hit): Use
906 expecting_index_cache_use.
907
908 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
909 Andrew Burgess <andrew.burgess@embecosm.com>
910
911 * gdb.fortran/pointers.f90: New file.
912 * gdb.fortran/print_type.exp: New file.
913 * gdb.fortran/vla-ptype.exp: Adapt expected results.
914 * gdb.fortran/vla-type.exp: Likewise.
915 * gdb.fortran/vla-value.exp: Likewise.
916 * gdb.mi/mi-vla-fortran.exp: Likewise.
917
918 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
919
920 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
921 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
922 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
923 as a stop reason.
924
925 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.base/annota1.exp: Update expected results.
928 * gdb.cp/annota2.exp: Likewise.
929 * gdb.cp/annota3.exp: Likewise.
930
931 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * gdb.base/style-logging.exp: Remove path from test name.
934
935 2019-06-14 Tom Tromey <tromey@adacore.com>
936
937 PR gdb/24502:
938 * gdb.base/style-logging.exp: New file.
939
940 2019-06-14 Tom Tromey <tromey@adacore.com>
941
942 * gdb.base/symfile-warn.exp: New file.
943 * gdb.base/symfile-warn.c: New file.
944
945 2019-06-14 Tom Tromey <tromey@adacore.com>
946
947 * gdb.base/annotate-symlink.exp: New file.
948
949 2019-06-14 Tom Tromey <tromey@adacore.com>
950
951 * gdb.ada/set_wstr.exp: Add reassignment test.
952
953 2019-06-14 Tom Tromey <tromey@adacore.com>
954
955 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
956 'unchecked_access and 'unrestricted_access as well.
957
958 2019-06-14 Tom Tromey <tromey@adacore.com>
959
960 PR ada/24539:
961 * gdb.ada/vla.exp: Update tests.
962 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
963 pragma.
964
965 2019-06-13 Pedro Alves <palves@redhat.com>
966
967 * gdb.base/settings.exp (test-integer): Test junk after
968 "unlimited".
969
970 2019-06-13 Pedro Alves <palves@redhat.com>
971
972 * gdb.base/options.exp (test-thread-apply): New.
973 (top level): Call it.
974
975 2019-06-13 Pedro Alves <palves@redhat.com>
976
977 * gdb.base/options.exp (test-frame-apply): New.
978 (top level): Test print commands with different "frame apply"
979 prefixes.
980
981 2019-06-13 Pedro Alves <palves@redhat.com>
982
983 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
984 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
985 'max_completions' parameter and handle it.
986 (test_gdb_completion_offers_commands): New.
987
988 2019-06-13 Pedro Alves <palves@redhat.com>
989
990 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
991
992 2019-06-13 Pedro Alves <palves@redhat.com>
993
994 * gdb.base/options.exp (test-backtrace): New.
995 (top level): Call it.
996
997 2019-06-13 Pedro Alves <palves@redhat.com>
998
999 * gdb.guile/scm-frame-args.exp: Use "set print
1000 raw-frame-arguments" instead of "set print raw frame-arguments".
1001 * gdb.python/py-frame-args.exp: Likewise.
1002
1003 2019-06-13 Pedro Alves <palves@redhat.com>
1004
1005 * gdb.compile/compile.exp: Adjust expected output to option
1006 processing changes.
1007
1008 2019-06-13 Pedro Alves <palves@redhat.com>
1009
1010 * gdb.base/options.exp: Build executable.
1011 (test-print): New procedure.
1012 (top level): Call it, once for "print" and another for "compile
1013 print".
1014
1015 2019-06-13 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.base/options.c: New file.
1018 * gdb.base/options.exp: New file.
1019
1020 2019-06-13 Pedro Alves <palves@redhat.com>
1021
1022 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1023 that "o" is ambiguous.
1024
1025 2019-06-13 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.base/settings.c: New file.
1028 * gdb.base/settings.exp: New file.
1029
1030 2019-06-13 Pedro Alves <palves@redhat.com>
1031
1032 * gdb.base/completion.exp: Fix comment typo.
1033
1034 2019-06-13 Pedro Alves <palves@redhat.com>
1035
1036 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1037 foo --1" test.
1038
1039 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1040
1041 * gdb.fortran/block-data.f: New.
1042 * gdb.fortran/block-data.exp: New.
1043
1044 2019-06-11 Tom de Vries <tdevries@suse.de>
1045
1046 PR testsuite/24521
1047 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1048 message.
1049
1050 2019-06-11 Tom de Vries <tdevries@suse.de>
1051
1052 PR testsuite/24521
1053 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1054
1055 2019-06-11 Tom de Vries <tdevries@suse.de>
1056
1057 * boards/readnow.exp: New file.
1058
1059 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1060
1061 * gdb.fortran/vla-sizeof.exp: Update expected results.
1062
1063 2019-06-06 Amos Bird <amosbird@gmail.com>
1064
1065 * gdb.base/annota1.exp (thread_switch): Add test for
1066 thread-exited annotation.
1067
1068 2019-06-06 Tom Tromey <tromey@adacore.com>
1069
1070 * gdb.base/maint.exp: Expect command started/finished output.
1071
1072 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1073
1074 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1075 comment.
1076 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1077
1078 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1079
1080 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1081 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1082 * gdb.arch/riscv-unwind-long-insn.c: New file.
1083 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1084
1085 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1086
1087 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1088
1089 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1090
1091 * lib/gdb.exp (help_list_trailer): New regexp variable
1092 factorizing the help trailer message.
1093 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1094 arg to allow to better factorize various tests.
1095 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1096 (test_prefix_command_help): Use help_list_trailer.
1097 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1098 * gdb.guile/scm-cmd.exp: Likewise.
1099 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1100 * gdb.base/help.exp: Use test_user_defined_class_help.
1101 * gdb.base/style.exp: Add tests for styling of help and apropos.
1102 * lib/gdb-utils.exp (style): Add title and highlight styles.
1103
1104 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1105
1106 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1107 $_shell_exitsignal.
1108 * gdb.base/default.exp: Update for new convenience variables.
1109
1110 2019-05-29 Tom Tromey <tromey@adacore.com>
1111
1112 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1113 to "break complete ada" test case's regexp.
1114
1115 2019-05-29 Tom Tromey <tromey@adacore.com>
1116
1117 PR c++/20020:
1118 * gdb.cp/constexpr-field.exp: New file.
1119 * gdb.cp/constexpr-field.cc: New file.
1120
1121 2019-05-29 Tom Tromey <tromey@adacore.com>
1122
1123 * gdb.base/finish.exp (finish_no_print): New proc.
1124 (finish_tests): Call it.
1125
1126 2019-05-24 Tom de Vries <tdevries@suse.de>
1127
1128 * gdb.dwarf2/gdb-add-index.exp: New file.
1129
1130 2019-05-22 Tom Tromey <tromey@adacore.com>
1131
1132 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1133 * gdb.base/style.exp: Use "style".
1134 * lib/gdb-utils.exp (style): New proc.
1135
1136 2019-05-22 Tom de Vries <tdevries@suse.de>
1137
1138 * gdb.base/align.exp: Require c++11.
1139
1140 2019-05-22 Tom de Vries <tdevries@suse.de>
1141
1142 PR testsuite/24586
1143 * gdb.python/py-mi-var-info-path-expression.exp: Call
1144 mi_skip_python_tests to check if python is supported.
1145
1146 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1147
1148 * gdb.arch/aarch64-pauth.c: New test.
1149 * gdb.arch/aarch64-pauth.exp: New file.
1150
1151 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1152
1153 * README (Re-running Tests Outside The Testsuite): New section.
1154
1155 2019-05-21 Tom de Vries <tdevries@suse.de>
1156
1157 * gdb.arch/amd64-eval.exp: Require c++11.
1158 * gdb.base/max-depth.exp: Same.
1159 * gdb.compile/compile-cplus-array-decay.exp: Same.
1160 * gdb.cp/meth-typedefs.exp: Same.
1161 * gdb.cp/subtypes.exp: Same.
1162 * gdb.cp/temargs.exp: Same.
1163
1164 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1165
1166 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1167
1168 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1169
1170 PR gdb/18644
1171 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1172 * gdb.fortran/printing-types.exp: Add new test.
1173 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1174 testing.
1175 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1176 setup_kfail call.
1177
1178 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1179
1180 * README (Running the Testsuite): Change example.
1181 (Testsuite Parameters): Remove TRANSCRIPT.
1182 * lib/gdb.exp: Remove TRANSCRIPT check.
1183
1184 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1185
1186 * README (Testsuite Parameters): Add replay logging to
1187 GDBSERVER_DEBUG.
1188 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1189 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1190 as a comma separated list.
1191 (gdb_debug_init): Override procedure.
1192
1193 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1194
1195 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1196 (gdb_write_cmd_file): New procedure.
1197 * lib/gdbserver-support.exp (gdbserver_start): Call
1198 gdbserver_write_cmd_file.
1199 (gdbserver_write_cmd_file): New procedure.
1200
1201 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1202
1203 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1204 (delete_breakpoints): Likewise.
1205 (gdb_run_cmd): Likewise.
1206 (gdb_start_cmd): Likewise.
1207 (gdb_starti_cmd): Likewise.
1208 (gdb_internal_error_resync): Likewise.
1209 (gdb_test_multiple): Likewise.
1210 (gdb_reinitialize_dir): Likewise.
1211 (default_gdb_exit): Likewise.
1212 (gdb_file_cmd): Mark kill as optional.
1213 (default_gdb_start): Call gdb_stdin_log_init.
1214 (send_gdb): Call gdb_stdin_log_write.
1215 (rerun_to_main): Mark Y as an answer.
1216 (gdb_stdin_log_init): New function.
1217 (gdb_stdin_log_write): Likewise.
1218
1219 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1220
1221 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1222 * gdb.base/debug-expr.exp: Likewise.
1223 * gdb.base/foll-fork.exp: Likewise.
1224 * gdb.base/foll-vfork.exp: Likewise.
1225 * gdb.base/fork-print-inferior-events.exp: Likewise.
1226 * gdb.base/gdb-sigterm.exp: Likewise.
1227 * gdb.base/gdbinit-history.exp: Likewise.
1228 * gdb.base/osabi.exp: Likewise.
1229 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1230 * gdb.base/ui-redirect.exp: Likewise.
1231 * gdb.gdb/unittest.exp: Likewise.
1232 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1233 * gdb.mi/mi-watch.exp: Likewise.
1234 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1235 * gdb.mi/user-selected-context-sync.exp: Likewise.
1236 * gdb.python/python.exp: Disable debug test when debugging.
1237 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1238 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1239 Likewise.
1240 * gdb.threads/stepi-random-signal.exp: Likewise.
1241
1242 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1243
1244 * Makefile.in: Pass through GDB_DEBUG.
1245 * README (Testsuite Parameters): Add GDB_DEBUG.
1246 (gdb,debug): Add board setting.
1247 * lib/gdb.exp (default_gdb_start): Start debugging.
1248 (gdb_debug_enabled): New procedure.
1249 (gdb_debug_init): Likewise.
1250
1251 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1252
1253 * Makefile.in: Pass through GDB_DEBUG.
1254 * README (Testsuite Parameters): Add GDB_DEBUG.
1255 (gdb,debug): Add board setting.
1256 * lib/gdb.exp (default_gdb_start): Start debugging.
1257 (gdb_debug_enabled): New procedure.
1258 (gdb_debug_init): Likewise.
1259
1260 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1261
1262 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1263
1264 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1265
1266 * gdb.base/ui-redirect.exp: Test redirection.
1267
1268 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1269
1270 * gdb.mi/mi-complete.exp: New file.
1271 * gdb.mi/mi-complete.cc: Likewise.
1272
1273 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1274
1275 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1276 indexed and sliced arrays, and pointers to arrays.
1277
1278 2019-05-14 Tom Tromey <tromey@adacore.com>
1279
1280 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1281 styling test.
1282
1283 2019-05-14 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1286 selection entry encoding.
1287
1288 2019-05-10 Tom Tromey <tromey@adacore.com>
1289
1290 * gdb.ada/info_exc.exp: Add "complete" test.
1291
1292 2019-05-09 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1295 CU-relative.
1296
1297 2019-05-09 Tom de Vries <tdevries@suse.de>
1298
1299 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1300 CU-relative.
1301
1302 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1303
1304 * gdb.ada/frame_arg_lang.exp: New testcase.
1305 * gdb.ada/frame_arg_lang/bla.adb: New file.
1306 * gdb.ada/frame_arg_lang/pck.ads: New file.
1307 * gdb.ada/frame_arg_lang/pck.adb: New file.
1308 * gdb.ada/frame_arg_lang/foo.c: New file.
1309
1310 2019-05-08 Tom Tromey <tromey@adacore.com>
1311
1312 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1313
1314 2019-05-08 Tom Tromey <tromey@adacore.com>
1315
1316 * gdb.base/ptype-offsets.exp: Update tests.
1317
1318 2019-05-08 Tom Tromey <tromey@adacore.com>
1319
1320 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1321 cases.
1322 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1323 "short".
1324
1325 2019-05-08 Tom Tromey <tromey@adacore.com>
1326
1327 * gdb.ada/vla.exp: New file.
1328 * gdb.ada/vla/vla.adb: New file.
1329
1330 2019-05-07 Tom de Vries <tdevries@suse.de>
1331
1332 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1333
1334 2019-05-07 Tom de Vries <tdevries@suse.de>
1335
1336 PR testsuite/24522
1337 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1338 section.
1339
1340 2019-05-07 Tom de Vries <tdevries@suse.de>
1341
1342 PR testsuite/24522
1343 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1344 .debug_aranges section.
1345
1346 2019-05-07 Tom de Vries <tdevries@suse.de>
1347
1348 PR testsuite/24159
1349 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1350
1351 2019-05-06 Tom de Vries <tdevries@suse.de>
1352
1353 * lib/gdb.exp (exec_has_index_section): New proc.
1354 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1355 section.
1356
1357 2019-05-04 Tom de Vries <tdevries@suse.de>
1358
1359 * boards/cc-with-debug-names.exp: New file.
1360
1361 2019-05-03 Tom Tromey <tromey@adacore.com>
1362
1363 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1364 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1365 * gdb.ada/char_enum.exp: Add test.
1366
1367 2019-05-03 Tom de Vries <tdevries@suse.de>
1368
1369 * boards/cc-with-gdb-index.exp: New file.
1370
1371 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.rust/simple.exp: Add new test case.
1374 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1375 (main): Initialise an instance of the new struct.
1376
1377 2019-05-01 Tom Tromey <tromey@adacore.com>
1378
1379 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1380 record.
1381 (NPR): New variable.
1382 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1383 test.
1384
1385 2019-05-01 Tom Tromey <tromey@adacore.com>
1386
1387 * gdb.ada/packed_array_assign.exp: Add packed assignment
1388 regression test.
1389
1390 2019-05-01 Tom de Vries <tdevries@suse.de>
1391
1392 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1393
1394 2019-05-01 Tom de Vries <tdevries@suse.de>
1395
1396 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1397
1398 2019-04-30 Ali Tamur <tamur@google.com>
1399
1400 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1401
1402 2019-04-30 Tom Tromey <tromey@adacore.com>
1403
1404 * lib/ada.exp (find_ada_tool): New proc.
1405 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1406 * gdb.ada/catch_ex_std.exp: New file.
1407 * gdb.ada/catch_ex_std/foo.adb: New file.
1408 * gdb.ada/catch_ex_std/some_package.adb: New file.
1409 * gdb.ada/catch_ex_std/some_package.ads: New file.
1410
1411 2019-04-30 Tom Tromey <tromey@adacore.com>
1412
1413 PR c++/24470:
1414 * gdb.cp/temargs.cc: Add test code from PR.
1415
1416 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1417
1418 * gdb.fortran/vla-datatypes.exp: Update expected results.
1419 * gdb.fortran/vla-ptype.exp: Likewise.
1420 * gdb.fortran/vla-type.exp: Likewise.
1421 * gdb.fortran/vla-value.exp: Likewise.
1422
1423 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1424
1425 * gdb.fortran/ptr-indentation.exp: Update expected results.
1426 * gdb.fortran/ptype-on-functions.exp: Likewise.
1427 * gdb.fortran/vla-ptr-info.exp: Likewise.
1428 * gdb.fortran/vla-value.exp: Likewise.
1429
1430 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1431
1432 * gdb.fortran/ptype-on-functions.exp: New file.
1433 * gdb.fortran/ptype-on-functions.f90: New file.
1434
1435 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1436
1437 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1438 case void string.
1439
1440 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1441
1442 * gdb.fortran/complex.exp: Expand.
1443 * gdb.fortran/complex.f: Renamed to...
1444 * gdb.fortran/complex.f90: ...this, and extended to add more
1445 complex values.
1446
1447 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1450 MODULO, CMPLX.
1451
1452 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1453 Richard Bunt <richard.bunt@arm.com>
1454
1455 * gdb.base/max-depth.c: New file.
1456 * gdb.base/max-depth.exp: New file.
1457 * gdb.python/py-nested-maps.c: New file.
1458 * gdb.python/py-nested-maps.exp: New file.
1459 * gdb.python/py-nested-maps.py: New file.
1460 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1461 (test_all_common): Call test_max_depth.
1462 * gdb.fortran/max-depth.exp: New file.
1463 * gdb.fortran/max-depth.f90: New file.
1464 * gdb.go/max-depth.exp: New file.
1465 * gdb.go/max-depth.go: New file.
1466 * gdb.modula2/max-depth.exp: New file.
1467 * gdb.modula2/max-depth.c: New file.
1468 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1469
1470 2019-04-29 Tom de Vries <tdevries@suse.de>
1471
1472 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1473
1474 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1475
1476 * gdb.base/callexit.exp: Test may-call-functions off.
1477
1478 2019-04-25 Keith Seitz <keiths@redhat.com>
1479
1480 PR c++/24367
1481 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1482 (another_incomplete_struct, test_incomplete): New definitions.
1483 (main): Use new definitions.
1484 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1485 functions.
1486
1487 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1488
1489 PR corefiles/11608
1490 PR corefiles/18187
1491 * gdb.base/coredump-filter-build-id.exp: New file.
1492
1493 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1494
1495 * Makefile.in: Pass through GDBSERVER_DEBUG.
1496 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1497 (gdbserver,debug): Add board setting.
1498 * gdb.trace/tspeed.exp: Skip when debugging.
1499 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1500 * lib/gdbserver-support.exp: Likewise
1501
1502 2019-04-24 Tom Tromey <tromey@adacore.com>
1503
1504 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1505 Rust.
1506
1507 2019-04-24 Tom Tromey <tromey@adacore.com>
1508
1509 * gdb.arch/amd64-eval.exp: Test bitfield return.
1510 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1511 (class Foo) <return_bitfields>: New method.
1512 (main): Call it.
1513
1514 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.cp/many-args.cc: New file.
1517 * gdb.cp/many-args.exp: New file.
1518
1519 2019-04-23 Tom de Vries <tdevries@suse.de>
1520
1521 PR gdb/24433
1522 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1523
1524 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1525
1526 * gdb.trace/backtrace.exp: Use nopie flag.
1527 * gdb.trace/circ.exp: Likewise.
1528 * gdb.trace/collection.exp: Likewise.
1529 * gdb.trace/ftrace.exp: Likewise.
1530 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1531 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1532 * gdb.trace/qtro.exp: Likewise.
1533 * gdb.trace/read-memory.exp: Likewise.
1534 * gdb.trace/report.exp: Likewise.
1535 * gdb.trace/tfile.exp: Likewise.
1536 * gdb.trace/tfind.exp: Likewise.
1537 * gdb.trace/unavailable.exp: Likewise.
1538
1539 2019-04-22 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.base/solib-probes-nosharedlibrary.c,
1542 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1543
1544 2019-04-19 Tom Tromey <tromey@adacore.com>
1545
1546 * gdb.ada/ptype_union.c: New file.
1547 * gdb.ada/ptype_union.exp: New file.
1548
1549 2019-04-19 Tom Tromey <tromey@adacore.com>
1550
1551 PR symtab/24423:
1552 * gdb.base/list0.h (foo): Add a control-l character.
1553
1554 2019-04-18 Tom de Vries <tdevries@suse.de>
1555
1556 PR gdb/24433
1557 * boards/local-board.exp: Set sysroot to "".
1558
1559 2019-04-18 Tom de Vries <tdevries@suse.de>
1560 Pedro Alves <palves@redhat.com>
1561
1562 PR gdb/24454
1563 * gdb.threads/vfork-follow-child-exec.c: New file.
1564 * gdb.threads/vfork-follow-child-exec.exp: New file.
1565 * gdb.threads/vfork-follow-child-exit.c: New file.
1566 * gdb.threads/vfork-follow-child-exit.exp: New file.
1567
1568 2019-04-15 Leszek Swirski <leszeks@google.com>
1569
1570 * gdb.arch/amd64-eval.cc: New file.
1571 * gdb.arch/amd64-eval.exp: New file.
1572
1573 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1574
1575 * gdb.server/sysroot.c: New test.
1576 * gdb.server/sysroot.exp: New file.
1577 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1578 matching param.
1579
1580 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1581
1582 * gdb.base/align.exp: Extend test to cover structures containing
1583 only static fields.
1584
1585 2019-04-11 Tom de Vries <tdevries@suse.de>
1586
1587 * boards/cc-with-dwz-m.exp: New file.
1588 * boards/cc-with-dwz.exp: New file.
1589 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1590
1591 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1592
1593 * gdb.base/start-cpp.exp: New file.
1594 * gdb.base/start-cpp.cc: New file.
1595
1596 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1597
1598 * gdb.python/py-thrhandle.exp: Adjust tests to call
1599 thread_from_handle instead of thread_from_thread_handle.
1600
1601 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1602
1603 * gdb.python/py-thrhandle.exp: Add tests for
1604 gdb.InferiorThread.handle.
1605
1606 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1607
1608 * gdb.python/py-function.exp: Check calling helper function from
1609 all languages.
1610 * lib/gdb.exp (gdb_supported_languages): New proc.
1611
1612 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1613
1614 * gdb.base/complex-parts.c: New file.
1615 * gdb.base/complex-parts.exp: New file.
1616
1617 2019-04-01 Tom Tromey <tromey@adacore.com>
1618
1619 PR symtab/23331:
1620 * gdb.dwarf2/dw2-ranges-main.c: New file.
1621 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1622 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1623
1624 2019-03-30 Simon Marchi <simark@simark.ca>
1625
1626 * gdb.base/default.exp: Add values for $_gdb_major and
1627 $_gdb_minor.
1628
1629 2019-03-29 Tom Tromey <tromey@adacore.com>
1630
1631 * gdb.base/help.exp: Tighten apropos regexp.
1632
1633 2019-03-29 Keith Seitz <keiths@redhat.com>
1634
1635 * gdb.fortran/array-bounds.exp: New file.
1636 * gdb.fortran/array-bounds.f90: New file.
1637
1638 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1639
1640 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1641
1642 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1643
1644 * gdb.multi/hello.c (main): Increase alarm timer.
1645
1646 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1647
1648 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1649 factor when no hardware watchpoint support.
1650
1651 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1652 Pedro Alves <palves@redhat.com>
1653
1654 * boards/local-board.exp: set sysroot to /.
1655
1656 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1657
1658 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1659 in child.
1660
1661 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1664 field.
1665 (make_container): Initialise new field.
1666 * gdb.python/py-prettyprint.exp: Add new tests.
1667 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1668 <display_hint>: New method.
1669
1670 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1673 gdb_continue_to_breakpoint more throughout this test.
1674 (run_lang_tests) Supply unique test names, and use
1675 gdb_test_no_output.
1676
1677 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1678
1679 * gdb.base/finish-pretty.exp: Update expected results.
1680 * gdb.base/pretty-print.c: New file.
1681 * gdb.base/pretty-print.exp: New file.
1682
1683 2019-03-25 Pedro Alves <palves@redhat.com>
1684
1685 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1686 move comments outside list. Append '-i "" eof' section.
1687
1688 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1689
1690 * README: Add pie options.
1691 * gdb.base/break-interp.exp: Ensure pie is disabled.
1692 * gdb.base/dump.exp: Likewise.
1693 * lib/gdb.exp (gdb_compile): Add pie option.
1694
1695 2019-03-19 Tom Tromey <tromey@adacore.com>
1696
1697 * gdb.mi/mi2-cli-display.c: New file.
1698 * gdb.mi/mi2-cli-display.exp: New file.
1699
1700 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1701 Tom Tromey <tromey@adacore.com>
1702
1703 * gdb.ada/ptype_array/pck.adb: New file.
1704 * gdb.ada/ptype_array/pck.ads: New file.
1705 * gdb.ada/ptype_array/foo.adb: New file.
1706 * gdb.ada/ptype_array.exp: New file.
1707
1708 2019-03-14 Tom Tromey <tromey@adacore.com>
1709
1710 * gdb.base/style.exp: Add "set style sources" test.
1711
1712 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1713
1714 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1715 * mi-breakpoint-multiple-locations.exp: ... this.
1716 (make_breakpoints_pattern): New proc.
1717 (do_test): Add mi_version parameter, test -break-insert,
1718 -break-info and =breakpoint-created.
1719
1720 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1721
1722 * config/default.exp: Remove 'load_lib gdb.exp'.
1723 * config/monitor.exp: Likewise.
1724 * config/sid.exp: Likewise.
1725 * config/sim.exp: Likewise.
1726 * config/slite.exp: Likewise.
1727 * config/unix.exp: Likewise.
1728 * gdb.base/default.exp: Remove unhelpful comment.
1729
1730 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1731
1732 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1733
1734 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1735
1736 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1737
1738 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1739
1740 * gdb.fortran/type-kinds.exp: Update expected results.
1741
1742 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1745
1746 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1749 function.
1750 (test_basic_parsing_of_type_kinds): Expand types tested.
1751 (test_parsing_invalid_type_kinds): New function.
1752
1753 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1754
1755 * gdb.fortran/intrinsics.exp: New file.
1756 * gdb.fortran/intrinsics.f90: New file.
1757 * gdb.fortran/type-kinds.exp: New file.
1758
1759 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1760
1761 * gdb.fortran/dot-ops.exp: New file.
1762
1763 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1764
1765 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1766 Check upper and lower case logical literals.
1767
1768 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1771 Remove duplicate tests.
1772
1773 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1774
1775 * lib/gdb.exp (builtin_cd): rename of cd.
1776 (cd): Override builtin.
1777
1778 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1779
1780 * gdb.fortran/function-calls.exp: New file.
1781 * gdb.fortran/function-calls.f90: New test.
1782
1783 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1784
1785 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1786 on user program standard output.
1787 * gdb.fortran/short-circuit-argument-list.f90: Record function
1788 calls.
1789
1790 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1791
1792 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1793 failure.
1794
1795 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1796
1797 PR gdb/8527
1798 * gdb.base/interrupt-daemon-attach.c,
1799 gdb.base/interrupt-daemon-attach.exp: New test.
1800
1801 2019-02-27 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.base/page.exp: Add tests for "set width/height -1".
1804
1805 2019-02-27 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.base/page.exp: Add tests for "set/show width/height" with
1808 "infinite" values.
1809
1810 2019-02-27 Tom Tromey <tromey@adacore.com>
1811
1812 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1813 2.4.
1814 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1815 workaround.
1816
1817 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1818
1819 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1820 tests for structs with static members.
1821
1822 2019-02-26 Tom Tromey <tromey@adacore.com>
1823
1824 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1825 ValueError, not TypeError.
1826
1827 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1828
1829 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1830 call from main program.
1831
1832 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1833
1834 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1835 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1836 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1837 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1838 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1839
1840 2019-02-22 Keith Seitz <keiths@redhat.com>
1841
1842 PR symtab/23853
1843 * gdb.base/symlink-sourcefile.c: New file.
1844 * gdb.base/symlink-sourcefile.exp: New file.
1845
1846 2019-02-20 Tom Tromey <tom@tromey.com>
1847
1848 * gdb.base/info_qt.exp: Update.
1849
1850 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1851
1852 * gdb.base/source.exp: Move "error in sourced script" code to
1853 the end.
1854 * gdb.base/source-error.gdb: Move contents to
1855 source-error-1.gdb. Add new code to source source-error-1.gdb.
1856 * gdb.base/source-error-1.gdb: New file, from previous
1857 source-error.gdb.
1858
1859 2019-02-17 Tom Tromey <tom@tromey.com>
1860
1861 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1862 for macro styling.
1863 * gdb.base/style.c (SOME_MACRO): New macro.
1864
1865 2019-02-17 Tom Tromey <tom@tromey.com>
1866
1867 * gdb.base/style.exp: Add line-wrapping tests.
1868 * gdb.base/page.exp: Add test for quitting during pagination.
1869
1870 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1871
1872 * gdb.ada/big_packed_array: New testcase.
1873 * gdb.ada/homonym.exp: Fix incorrect expected output for
1874 "break <homonym__get_value>" test.
1875
1876 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1877
1878 PR breakpoints/21870
1879 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1880 and prepare_for_testing. Add comment.
1881 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1882 redundant cleanup call. Clean up comment.
1883
1884 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1885
1886 PR breakpoints/21870
1887 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1888 * gdb.arch/aarch64-dbreg-contents.c: New file.
1889
1890 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1891
1892 * gdb.ada/mi_ref_changeable: New testcase.
1893
1894 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1895
1896 * gdb.base/attach.exp: Add double attach test.
1897
1898 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1899
1900 * lib/gdb.exp (default_gdb_start): Don't match pagination
1901 prompt.
1902 (gdb_init): Set stty_init.
1903
1904 2019-01-27 Tom Tromey <tom@tromey.com>
1905
1906 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1907 skip_python_tests.
1908
1909 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1910
1911 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1912 New structure.
1913 (struct struct_static_02_02): Likewise.
1914 (struct struct_static_02_03): Likewise.
1915 (struct struct_static_02_04): Likewise.
1916 (struct struct_static_04_01): Likewise.
1917 (struct struct_static_04_02): Likewise.
1918 (struct struct_static_04_03): Likewise.
1919 (struct struct_static_04_04): Likewise.
1920 (struct struct_static_06_01): Likewise.
1921 (struct struct_static_06_02): Likewise.
1922 (struct struct_static_06_03): Likewise.
1923 (struct struct_static_06_04): Likewise.
1924 (cmp_struct_static_02_01): Likewise.
1925 (cmp_struct_static_02_02): Likewise.
1926 (cmp_struct_static_02_03): Likewise.
1927 (cmp_struct_static_02_04): Likewise.
1928 (cmp_struct_static_04_01): Likewise.
1929 (cmp_struct_static_04_02): Likewise.
1930 (cmp_struct_static_04_03): Likewise.
1931 (cmp_struct_static_04_04): Likewise.
1932 (cmp_struct_static_06_01): Likewise.
1933 (cmp_struct_static_06_02): Likewise.
1934 (cmp_struct_static_06_03): Likewise.
1935 (cmp_struct_static_06_04): Likewise.
1936 (call_all): Test new structs.
1937 * gdb.base/infcall-nested-structs.exp: Likewise.
1938
1939 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1940 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1941
1942 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1943 * gdb.base/stack-protector.c: New test.
1944 * gdb.base/stack-protector.exp: New file.
1945 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1946 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1947 option.
1948 (gdb_compile): Remove stack protector for GCC and prevent
1949 recursion.
1950
1951 2019-01-16 Keith Seitz <keiths@redhat.com>
1952
1953 PR gdb/23773
1954 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1955
1956 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1957
1958 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1959 aliases.
1960 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1961 tests.
1962 * gdb.arch/powerpc-vector-regs.c: New file.
1963 * gdb.arch/powerpc-vector-regs.exp: New file.
1964
1965 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1966
1967 * gdb.arch/altivec-regs.exp: Fix the list passed to
1968 gdb_expect_list when testing "info vector".
1969
1970 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1971
1972 * gdb.base/style.exp: Don't include path in testname.
1973
1974 2019-01-10 Keith Seitz <keiths@redhat.com>
1975
1976 PR gdb/23712
1977 PR symtab/23010
1978 * gdb.dwarf2/multidictionary.exp: New file.
1979
1980 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1981
1982 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1983 (test_gnuv3_style_demangling): ... this.
1984 (test_lucid_style_demangling): Remove.
1985 (test_arm_style_demangling): Remove.
1986 (test_hp_style_demangling): Remove.
1987 (do_tests): Remove calls to the above.
1988
1989 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1990
1991 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1992 case.
1993
1994 2019-01-06 Tom Tromey <tom@tromey.com>
1995
1996 PR gdb/28155:
1997 * gdb.dwarf2/typedef-void-finish.exp: New file.
1998
1999 2018-12-28 Tom Tromey <tom@tromey.com>
2000 Simon Marchi <simark@simark.ca>
2001
2002 * gdb.base/jit-exec.exp: New file.
2003 * gdb.base/jit-exec.c: New file.
2004 * gdb.base/jit-execd.c: New file.
2005
2006 2018-12-28 Tom Tromey <tom@tromey.com>
2007
2008 * gdb.base/style.exp: Update test to check for address styling.
2009
2010 2018-12-28 Tom Tromey <tom@tromey.com>
2011
2012 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2013 message.
2014
2015 2018-12-28 Tom Tromey <tom@tromey.com>
2016
2017 * gdb.base/style.exp: Add test for version number styling.
2018
2019 2018-12-28 Tom Tromey <tom@tromey.com>
2020
2021 * gdb.base/style.exp: Add test for print_address_symbolic.
2022
2023 2018-12-28 Tom Tromey <tom@tromey.com>
2024
2025 * gdb.base/style.exp: Add test for breakpoint setting.
2026
2027 2018-12-28 Tom Tromey <tom@tromey.com>
2028
2029 * gdb.base/style.exp: Add test for variable names.
2030
2031 2018-12-28 Tom Tromey <tom@tromey.com>
2032
2033 * gdb.base/style.exp: New file.
2034 * gdb.base/style.c: New file.
2035
2036 2018-12-28 Tom Tromey <tom@tromey.com>
2037
2038 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2039 "dumb".
2040 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2041 the TERM environment variable.
2042
2043 2018-12-27 Tom Tromey <tom@tromey.com>
2044
2045 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2046 pagination test.
2047
2048 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2049
2050 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2051 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2052
2053 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2054
2055 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2056 Filename a.adb changed to bp_fun_addr.adb.
2057 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2058
2059 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2060
2061 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2062 non-PIE executables.
2063 * README: Mention the gdb,nopie_flag board setting.
2064 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2065 non-PIE executable.
2066 * gdb.arch/amd64-entry-value.exp: Likewise.
2067 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2068 * gdb.arch/i386-float.exp: Likewise.
2069 * gdb.arch/i386-signal.exp: Likewise.
2070 * gdb.mi/mi-reg-undefined.exp: Likewise.
2071
2072 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2073
2074 PR gdb/23974
2075 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2076
2077 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2078
2079 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2080 Update order of results accordingly.
2081
2082 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2083
2084 * gdb.base/annota1.exp: Update a test regexp.
2085
2086 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2087
2088 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2089
2090 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2091
2092 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2093 (reuse_time): Initialize to REUSE_TIME_CAP.
2094 (check_rc): New function.
2095 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2096 Check pthread_create rc.
2097 (spawner_thread_func): Check pthread_create and pthread_join rc.
2098
2099 2018-12-08 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/list.exp (test_forward_search): Rename to ...
2102 (test_forward_reverse_search): ... this. Also test reverse-search
2103 and the forward-search alias.
2104
2105 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2106
2107 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2108 local timeout variable before return, and remove all local timeout
2109 variable entirely.
2110 (gdb_load): Likewise.
2111
2112 2018-12-01 Tom de Vries <tdevries@suse.de>
2113
2114 * gdb.base/gdb-caching-proc.exp: New file.
2115
2116 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2117
2118 * Makefile.in (TIMESTAMP): New variable.
2119 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2120 command.
2121 (check-single-racy): Likewise.
2122 (check/%.exp): Likewise.
2123 (check-racy/%.exp): Likewise.
2124 (workers/%.worker): Likewise.
2125 (build-perf): Likewise.
2126 (check-perf): Likewise.
2127 * README: Describe new "TS" and "TS_FORMAT" variables.
2128 * print-ts.py: New file.
2129
2130 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2131
2132 PR python/23714
2133 * gdb.python/python.exp: Test command repetition after
2134 gdb.execute.
2135
2136 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2137
2138 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2139 is correctly aligned.
2140
2141 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2142
2143 * gdb.ada/info_auto_lang.exp: New testcase.
2144 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2145 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2146 * gdb.ada/info_auto_lang/some_c.c: New file.
2147
2148 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2149
2150 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2151 FUNC_lang language syntax.
2152
2153 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2154
2155 * gdb.base/info_minsym.c: New file.
2156 * gdb.base/info_minsym.exp: New file.
2157
2158 2018-11-19 Tom Tromey <tom@tromey.com>
2159
2160 PR rust/23625:
2161 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2162 * gdb.rust/expr.exp: Update expected output. Change one test.
2163
2164 2018-11-19 Tom Tromey <tom@tromey.com>
2165
2166 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2167
2168 2018-11-19 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2171 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2172 see the expected warning.
2173
2174 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2175
2176 PR gdb/22736:
2177 * gdb.cp/infcall-nodebug-lib.c: New test.
2178 * gdb.cp/infcall-nodebug-main.c: New test.
2179 * gdb.cp/infcall-nodebug.exp: New file.
2180
2181 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2182
2183 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2184 completer tests.
2185
2186 2018-11-09 Tom de Vries <tdevries@suse.de>
2187
2188 * gdb.base/msym-lang.c: New test.
2189 * gdb.base/msym-lang.exp: New file.
2190 * gdb.base/msym-lang-main.c: New test.
2191
2192 2018-11-08 Tom Tromey <tom@tromey.com>
2193
2194 PR gdb/23555:
2195 PR gdb/23838:
2196 * gdb.base/warning.exp: New file.
2197
2198 2018-11-08 Jan Beulich <jbeulich@suse.com>
2199
2200 * testsuite/gdb.arch/i386-avx512.c,
2201 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2202
2203 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2204
2205 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2206 point hardware.
2207
2208 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2209
2210 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2211 * gdb.dwarf2/missing-type-name.exp: New file.
2212
2213 2018-11-06 Tom de Vries <tdevries@suse.de>
2214
2215 * gdb.base/many-headers.c: New test.
2216 * gdb.base/many-headers.exp: New file.
2217
2218 2018-11-06 Jim Wilson <jimw@sifive.com>
2219
2220 * gdb.base/code_elim.exp: For riscv, set additional_flags
2221 to include -msmall-data-limit=0.
2222
2223 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2224
2225 * gdb.ada/watch_minus_l: New testcase.
2226
2227 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2228
2229 * gdb.arch/aix-sighandle.c: New file.
2230 * gdb.arch/aix-sighandle.exp: New file.
2231
2232 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2235 registers being unions.
2236
2237 2018-10-31 Tom de Vries <tdevries@suse.de>
2238
2239 * lib/valgrind.exp: New file.
2240 (vgdb_start, vgdb_stop): New procs, factored out of ...
2241 * gdb.base/valgrind-bt.exp: ... here, ...
2242 * gdb.base/valgrind-disp-step.exp: ... here and ...
2243 * gdb.base/valgrind-infcall.exp: ... here.
2244
2245 2018-10-31 Tom de Vries <tdevries@suse.de>
2246
2247 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2248
2249 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2250
2251 * gdb.dwarf2/void-type.c: New file.
2252 * gdb.dwarf2/void-type.exp: New file.
2253
2254 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2255
2256 * gdb.base/info_qt.c: New file.
2257 * gdb.base/info_qt.exp: New file.
2258
2259 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2260
2261 * gdb.arch/powerpc-htm-regs.c: New file.
2262 * gdb.arch/powerpc-htm-regs.exp: New file.
2263
2264 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2265
2266 * gdb.arch/powerpc-tar.c: New file.
2267 * gdb.arch/powerpc-tar.exp: New file.
2268
2269 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2270
2271 * gdb.arch/powerpc-ppr-dscr.c: New file.
2272 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2273
2274 2018-10-25 Tom de Vries <tdevries@suse.de>
2275
2276 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2277
2278 2018-10-24 Tom de Vries <tdevries@suse.de>
2279
2280 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2281 longer exists error.
2282
2283 2018-10-24 Tom de Vries <tdevries@suse.de>
2284
2285 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2286
2287 2018-10-24 Tom de Vries <tdevries@suse.de>
2288
2289 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2290 --db-attach in valgrind.
2291
2292 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2293
2294 * gdb.arch/riscv-reg-aliases.c: New file.
2295 * gdb.arch/riscv-reg-aliases.exp: New file.
2296
2297 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2298
2299 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2300
2301 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2302
2303 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2304
2305 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2306
2307 * gdb.cp/ovldbreak.exp: Fix regexps.
2308
2309 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2310
2311 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2312
2313 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2314
2315 PR cli/23785
2316 * gdb.base/restore.exp: New test to check if "restore" with an
2317 invalid file doesn't segfault.
2318
2319 2018-10-18 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2322 * gdb.ada/excep_handle.exp: Same.
2323 * gdb.ada/mi_string_access.exp: Same.
2324 * gdb.ada/mi_var_union.exp: Same.
2325 * gdb.arch/arc-analyze-prologue.exp: Same.
2326 * gdb.arch/arc-decode-insn.exp: Same.
2327 * gdb.base/readnever.exp: Same.
2328 * gdb.fortran/printing-types.exp: Same.
2329 * gdb.guile/scm-lazy-string.exp: Same.
2330
2331 2018-10-16 Tom de Vries <tdevries@suse.de>
2332
2333 PR gdb/23730
2334 * gdb.base/catch-follow-exec.c: Add copyright notice.
2335 * gdb.base/catch-follow-exec.exp: Rewrite to use
2336 gdb_spawn_with_cmdline_opts. Require gdb-native.
2337
2338 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2339
2340 * gdb.trace/actions-changed.exp: Check for arch support.
2341 * gdb.trace/actions.exp: Likewise.
2342 * gdb.trace/ax.exp: Likewise.
2343 * gdb.trace/backtrace.exp: Likewise.
2344 * gdb.trace/change-loc.exp: Likewise.
2345 * gdb.trace/deltrace.exp: Likewise.
2346 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2347 * gdb.trace/ftrace.exp: Likewise.
2348 * gdb.trace/infotrace.exp: Check for arch support.
2349 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2350 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2351 * gdb.trace/mi-tsv-changed.exp: Likewise.
2352 * gdb.trace/packetlen.exp: Likewise.
2353 * gdb.trace/passc-dyn.exp: Likewise.
2354 * gdb.trace/passcount.exp: Likewise.
2355 * gdb.trace/pending.exp: Likewise.
2356 * gdb.trace/range-stepping.exp: Check for shlib support.
2357 * gdb.trace/report.exp: Check for arch support.
2358 * gdb.trace/save-trace.exp: Likewise.
2359 * gdb.trace/signal.exp: Check for signal support.
2360 * gdb.trace/tfind.exp: Check for arch support.
2361 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2362 * gdb.trace/trace-common.h: Add comment.
2363 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2364 * gdb.trace/trace-enable-disable.exp: Likewise.
2365 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2366 * gdb.trace/tracecmd.exp: Check for arch support.
2367 * gdb.trace/tspeed.exp: Check for shlib and target support.
2368 * gdb.trace/tstatus.exp: Check for arch support.
2369 * gdb.trace/tsv.exp: Likewise.
2370 * gdb.trace/while-dyn.exp: Likewise.
2371 * gdb.trace/while-stepping.exp: Likewise.
2372 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2373
2374 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2375
2376 * gdb.trace/tspeed.exp: Remove nowarnings.
2377 (prepare_for_trace_test): Declare "global ipalib".
2378 * gdb.trace/tspeed.c: Include unistd.h.
2379 (main): Remove superfluous printf argument.
2380
2381 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2382
2383 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2384 directory prefix on the filename.
2385
2386 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2387
2388 * gdb.gdb/unittest.exp: Update expected message informing that
2389 selftests have been disabled.
2390 * gdb.server/unittest.exp: Likewise.
2391
2392 2018-10-09 Tom de Vries <tdevries@suse.de>
2393
2394 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2395 with runto_main.
2396
2397 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2398
2399 PR c++/16841
2400 * gdb.cp/virtbase2.cc: New file.
2401 * gdb.cp/virtbase2.exp: New file.
2402
2403 2018-10-06 Tom Tromey <tom@tromey.com>
2404
2405 PR python/19399:
2406 * gdb.python/py-inferior.exp: Add architecture test.
2407
2408 2018-10-06 Tom Tromey <tom@tromey.com>
2409
2410 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2411 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2412
2413 2018-10-06 Tom Tromey <tom@tromey.com>
2414
2415 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2416 of a "throw" catchpoint.
2417
2418 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2419
2420 * gdb.base/info-proc.exp: Update string expected from "help info
2421 proc".
2422
2423 2018-10-04 Tom Tromey <tom@tromey.com>
2424
2425 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2426 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2427 (test_initial_complaints, test_empty_complaints): Update.
2428 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2429
2430 2018-10-04 Tom Tromey <tom@tromey.com>
2431
2432 PR cli/19551:
2433 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2434 * lib/gdb.exp (gdb_file_cmd): Update.
2435 * gdb.stabs/weird.exp (print_weird_var): Update.
2436 * gdb.server/solib-list.exp: Update.
2437 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2438 * gdb.mi/mi-cli.exp: Update.
2439 * gdb.linespec/linespec.exp: Update.
2440 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2441 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2442 * gdb.cp/cp-relocate.exp: Update.
2443 * gdb.base/sym-file.exp: Update.
2444 * gdb.base/relocate.exp: Update.
2445 * gdb.base/readnever.exp: Update.
2446 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2447 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2448 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2449 * gdb.base/code_elim.exp: Update.
2450 * gdb.base/break-unload-file.exp (test_break): Update.
2451 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2452 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2453 Update.
2454 * gdb.base/attach.exp (do_attach_tests): Update.
2455 * gdb.base/sepdebug.exp: Update.
2456 * gdb.python/py-section-script.exp: Update.
2457
2458 2018-10-04 Tom Tromey <tom@tromey.com>
2459
2460 PR cli/22234:
2461 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2462 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2463 output.
2464
2465 2018-10-04 Tom Tromey <tom@tromey.com>
2466
2467 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2468 set width and height to 0.
2469 (test_command_line_attach_run): Use -quiet.
2470
2471 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2472
2473 * lib/gdb.exp (skip_ifunc_tests): New.
2474 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2475 other compile failures.
2476 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2477
2478 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2479
2480 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2481 is_amd64_regs_target.
2482
2483 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2484
2485 * gdb.arch/aarch64-sighandler-regs.c: New test.
2486 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2487 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2488
2489 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2490
2491 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2492 assembly.
2493
2494 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2495
2496 * gdb.base/frame-selection.exp: New file.
2497 * gdb.base/frame-selection.c: New file.
2498
2499 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2500
2501 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2502 pthread barrier.
2503 (main): Likewise.
2504
2505 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2506
2507 * gdb.base/large-frame-1.c: New file.
2508 * gdb.base/large-frame-2.c: New file.
2509 * gdb.base/large-frame.exp: New file.
2510 * gdb.base/large-frame.h: New file.
2511
2512 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2513
2514 PR gdb/20948
2515 * gdb.base/write_mem.exp: New test.
2516 * gdb.base/write_mem.c: Likewise.
2517
2518 2018-09-23 Tom Tromey <tom@tromey.com>
2519
2520 PR python/18852:
2521 * gdb.python/py-parameter.exp: Add test for parameter that throws
2522 on "set".
2523
2524 2018-09-23 Tom Tromey <tom@tromey.com>
2525
2526 PR python/17284:
2527 * gdb.python/py-template.exp (test_template_arg): Add test for
2528 negative template argument number.
2529
2530 2018-09-23 Tom Tromey <tom@tromey.com>
2531
2532 PR python/14062:
2533 * gdb.python/python.exp: Add test for post_event error.
2534
2535 2018-09-23 Tom Tromey <tom@tromey.com>
2536
2537 PR python/18170:
2538 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2539 convert pointers to int and long.
2540
2541 2018-09-23 Tom Tromey <tom@tromey.com>
2542
2543 PR python/20126:
2544 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2545 signed-ness conversion tests.
2546
2547 2018-09-23 Tom Tromey <tom@tromey.com>
2548
2549 PR python/18352;
2550 * gdb.python/py-value.exp (test_float_conversion): New proc.
2551 Use it.
2552
2553 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2554
2555 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2556
2557 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2558
2559 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2560 no readline.
2561 * gdb.base/utf8-identifiers.exp: Likewise.
2562 * gdb.cp/cpcompletion.exp: Likewise.
2563 * gdb.linespec/cpcompletion.exp: Likewise.
2564 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2565 * gdb.linespec/cpls-ops.exp: Likewise.
2566
2567 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2568 Chris January <chris.january@arm.com>
2569
2570 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2571 * gdb.fortran/short-circuit-argument-list.exp: New file.
2572 * gdb.fortran/short-circuit-argument-list.f90: New test.
2573
2574 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2575
2576 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2577 "arch=" keyword when executing "-stack-list-frames".
2578
2579 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2580
2581 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2582 "arch=" keyword when executing "-stack-list-frames".
2583
2584 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2585
2586 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2587 break ada".
2588
2589 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2590
2591 PR python/23669
2592 * gdb.python/python.exp: Test gdb.execute("show commands").
2593
2594 2018-09-16 Tom Tromey <tom@tromey.com>
2595
2596 * gdb.base/new-ui.exp (do_execution_tests): Update.
2597 * gdb.base/dbx.exp (test_breakpoints): Update.
2598
2599 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2600
2601 * lib/gdb.exp (gdb_simple_compile): Add proc.
2602 (is_elf_target): Use gdb_simple_compile.
2603 (skip_altivec_tests): Likewise.
2604 (skip_vsx_tests): Likewise.
2605 (skip_tsx_tests): Likewise.
2606 (skip_btrace_tests): Likewise.
2607 (skip_btrace_pt_tests): Likewise.
2608 (gdb_can_simple_compile): Likewise.
2609 (gdb_has_argv0): Likewise.
2610 (gdb_target_symbol_prefix): Likewise.
2611 (target_supports_scheduler_locking): Likewise.
2612
2613 2018-09-13 Tom Tromey <tom@tromey.com>
2614
2615 * Makefile.in (TAGS): Recognize proc_with_prefix and
2616 gdb_caching_proc.
2617
2618 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2619
2620 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2621 method.
2622
2623 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2624
2625 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2626 and a few other Inferior properties when the Inferior is no
2627 longer valid.
2628
2629 2018-09-13 Tom Tromey <tom@tromey.com>
2630
2631 PR rust/23650:
2632 * gdb.rust/simple.exp: Add test for enum field access error.
2633
2634 2018-09-13 Tom Tromey <tom@tromey.com>
2635
2636 PR rust/23626:
2637 * gdb.rust/simple.rs (EmptyEnum): New type.
2638 (main): Use it.
2639 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2640
2641 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2642
2643 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2644 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2645 * gdb.python/py-symtab.exp: Update test printing an objfile.
2646
2647 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2648
2649 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2650 object.
2651
2652 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2653
2654 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2655 (support_complex_tests): Use gdb_can_simple_compile.
2656 (is_ilp32_target): Likewise.
2657 (is_lp64_target): Likewise.
2658 (is_64_target): Likewise.
2659 (is_amd64_regs_target): Likewise.
2660 (is_aarch32_target): Likewise.
2661 (gdb_int128_helper): Likewise.
2662
2663 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2664
2665 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2666
2667 2018-09-10 Jerome Guitton <guitton@adacore.com>
2668
2669 * gdb.ada/same_component_name: Add test for case of tagged record
2670 with variable-length fields.
2671
2672 2018-09-10 Xavier Roirand <roirand@adacore.com>
2673
2674 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2675 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2676 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2677 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2678
2679 2018-09-10 Xavier Roirand <roirand@adacore.com>
2680
2681 * gdb.ada/mi_string_access.exp: New testcase.
2682 * gdb.ada/mi_string_access/bar.adb: New file.
2683 * gdb.ada/mi_string_access/pck.adb: New file.
2684 * gdb.ada/mi_string_access/pck.asd: New file.
2685
2686 2018-09-10 Xavier Roirand <roirand@adacore.com>
2687
2688 * gdb.ada/mi_var_union.exp: New testcase.
2689 * gdb.ada/mi_var_union/bar.adb: New file.
2690 * gdb.ada/mi_var_union/pck.adb: New file.
2691 * gdb.ada/mi_var_union/pck.asd: New file.
2692
2693 2018-09-08 Tom Tromey <tom@tromey.com>
2694
2695 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2696
2697 2018-09-08 Tom Tromey <tom@tromey.com>
2698
2699 PR python/16047:
2700 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2701 (register_pretty_printers): Register new printer.
2702 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2703 test.
2704 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2705 (an_int_type3): New global.
2706
2707 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2708
2709 * gdb.ada/expr_with_funcall: New testcase.
2710
2711 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2712
2713 * gdb.ada/packed_array_assign: New testcase.
2714
2715 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2716
2717 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2718 names, and add test prefixes to make test names unique.
2719
2720 2018-09-05 Tom de Vries <tdevries@suse.de>
2721
2722 * gdb.dwarf2/varval.exp: Add test.
2723
2724 2018-09-04 Gary Benson <gbenson@redhat.com>
2725
2726 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2727 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2728
2729 2018-08-31 Tom Tromey <tom@tromey.com>
2730
2731 * gdb.rust/simple.rs: Rename second variable "v".
2732
2733 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2734
2735 * gdb.base/funcargs.c (use_a): New function.
2736 (recurse): Call use_a.
2737
2738 2018-08-29 Keith Seitz <keiths@redhat.com>
2739
2740 * gdb.compile/compile-cplus-anonymous.cc: New file.
2741 * gdb.compile/compile-cplus-anonymous.exp: New file.
2742 * gdb.compile/compile-cplus-array-decay.cc: New file.
2743 * gdb.compile/compile-cplus-array-decay.exp: New file.
2744 * gdb.compile/compile-cplus-inherit.cc: New file.
2745 * gdb.compile/compile-cplus-inherit.exp: New file.
2746 * gdb.compile/compile-cplus-member.cc: New file.
2747 * gdb.compile/compile-cplus-member.exp: New file.
2748 * gdb.compile/compile-cplus-method.cc: New file.
2749 * gdb.compile/compile-cplus-method.exp: New file.
2750 * gdb.compile/compile-cplus-mod.c: "New" file.
2751 * gdb.compile/compile-cplus-namespace.cc: New file.
2752 * gdb.compile/compile-cplus-namespace.exp: New file.
2753 * gdb.compile/compile-cplus-nested.cc: New file.
2754 * gdb.compile/compile-cplus-nested.exp: New file.
2755 * gdb.compile/compile-cplus-print.c: "New" file.
2756 * gdb.compile/compile-cplus-print.exp: "New" file.
2757 * gdb.compile/compile-cplus-virtual.cc: New file.
2758 * gdb.compile/compile-cplus-virtual.exp: New file.
2759 * gdb.compile/compile-cplus.c: "New" file.
2760 * gdb.compile/compile-cplus.exp: "New" file.
2761 * lib/compile-support.exp: New file.
2762
2763 2018-08-16 Gary Benson <gbenson@redhat.com>
2764
2765 PR gdb/13000:
2766 * gdb.base/batch-exit-status.exp: New file.
2767 * gdb.base/batch-exit-status.good-commands: Likewise.
2768 * gdb.base/batch-exit-status.bad-commands: Likewise.
2769
2770 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2771
2772 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2773 (struct struct02): Likewise.
2774 (struct struct03): Likewise.
2775 (struct struct04): Likewise.
2776 (struct struct_01_01): New struct.
2777 (struct struct_01_02): Likewise.
2778 (struct struct_01_03): Likewise.
2779 (struct struct_01_04): Likewise.
2780 (struct struct_02_01): Likewise.
2781 (struct struct_02_02): Likewise.
2782 (struct struct_02_03): Likewise.
2783 (struct struct_02_04): Likewise.
2784 (struct struct_04_01): Likewise.
2785 (struct struct_04_02): Likewise.
2786 (struct struct_04_03): Likewise.
2787 (struct struct_04_04): Likewise.
2788 (struct struct_05_01): Likewise.
2789 (struct struct_05_02): Likewise.
2790 (struct struct_05_03): Likewise.
2791 (struct struct_05_04): Likewise.
2792 (cmp_struct01): Remove function.
2793 (cmp_struct02): Likewise.
2794 (cmp_struct03): Likewise.
2795 (cmp_struct04): Likewise.
2796 (cmp_struct_01_01): Add Function.
2797 (cmp_struct_01_02): Likewise.
2798 (cmp_struct_01_03): Likewise.
2799 (cmp_struct_01_04): Likewise.
2800 (cmp_struct_02_01): Likewise.
2801 (cmp_struct_02_02): Likewise.
2802 (cmp_struct_02_03): Likewise.
2803 (cmp_struct_02_04): Likewise.
2804 (cmp_struct_04_01): Likewise.
2805 (cmp_struct_04_02): Likewise.
2806 (cmp_struct_04_03): Likewise.
2807 (cmp_struct_04_04): Likewise.
2808 (cmp_struct_05_01): Likewise.
2809 (cmp_struct_05_02): Likewise.
2810 (cmp_struct_05_03): Likewise.
2811 (cmp_struct_05_04): Likewise.
2812 (call_all): Add new structs.
2813 * gdb.base/infcall-nested-structs.exp: Likewise.
2814
2815 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2816
2817 * gdb.python/py-framefilter-mi.exp: Update regexp to
2818 check for "arch" field in frame output.
2819
2820 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2821
2822 * gdb.dwarf2/dw2-ranges-func.c: New file.
2823 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2824
2825 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2826
2827 * gdb.base/term.exp: Compare terminal settings with values from
2828 the inferior.
2829 * gdb.base/term.c: Get and set terminal settings.
2830
2831 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2832
2833 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2834 accommodate new "arch" field in frame output.
2835 * gdb.mi/mi-return.exp: Likewise.
2836 * gdb.mi/mi-stack.exp: Likewise.
2837 * gdb.mi/mi-syn-frame.exp: Likewise.
2838 * gdb.mi/user-selected-context-sync.exp: Likewise.
2839
2840 2018-08-19 Michael Spang <spang@google.com>
2841
2842 PR gdb/11786
2843 * gdb.base/gcore-tls-pie.c: New file.
2844 * gdb.base/gcore-tls-pie.exp: New file.
2845
2846 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2847
2848 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2849 * gdb.dwarf2/varval.c: New file.
2850 * gdb.dwarf2/varval.exp: New file.
2851
2852 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2853
2854 PR gdb/18931
2855 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2856
2857 2018-08-16 Keith Seitz <keiths@redhat.com>
2858
2859 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2860 tests expected to pass.
2861
2862 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2863
2864 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2865 -data-disassemble -a.
2866 (test_disassembly_bogus_args): Likewise.
2867
2868 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2869
2870 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2871
2872 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.base/vla-optimized-out.exp: Add new test.
2875
2876 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2877
2878 * gdb.base/vla-optimized-out-o3.exp: Delete.
2879 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2880 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2881 deleted tests.
2882
2883 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2884
2885 PR gdb/18050:
2886 * gdb.server/extended-remote-restart.c: New file.
2887 * gdb.server/extended-remote-restart.exp: New file.
2888
2889 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2890
2891 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2892 "set variable index = 42".
2893
2894 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2895
2896 * boards/index-cache-gdb.exp: New file.
2897 * gdb.dwarf2/index-cache.exp: New file.
2898 * gdb.dwarf2/index-cache.c: New file.
2899 * gdb.base/maint.exp: Check if we are using the index cache.
2900
2901 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2902
2903 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2904 MAKEFLAGS.
2905
2906 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2907
2908 * dg-extract-results.sh: Move to toplevel contrib.
2909 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2910 * Makefile.in (check-parallel-racy): Likewise.
2911
2912 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2913
2914 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2915 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2916 tests if the target supports scheduler locking.
2917
2918 2018-08-04 Tom de Vries <tdevries@suse.de>
2919
2920 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2921
2922 2018-08-02 Tom Tromey <tom@tromey.com>
2923
2924 PR symtab/16842.
2925 * gdb.cp/temargs.exp: Test "info address" of a template
2926 parameter.
2927
2928 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2929
2930 * gdb.python/py-mi-var-info-path-expression.c: New file.
2931 * gdb.python/py-mi-var-info-path-expression.py: New file.
2932 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2933
2934 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2935
2936 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2937 error after "cannot resolve name" string.
2938
2939 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2940
2941 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2942 started.
2943 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2944
2945 2018-07-28 Tom de Vries <tdevries@suse.de>
2946
2947 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2948
2949 2018-07-26 Tom de Vries <tdevries@suse.de>
2950
2951 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2952
2953 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2954
2955 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2956 is visible.
2957
2958 2018-07-26 Tom de Vries <tdevries@suse.de>
2959
2960 PR breakpoints/23366
2961 * gdb.base/catch-follow-exec.c: New test.
2962 * gdb.base/catch-follow-exec.exp: New file.
2963
2964 2018-07-25 Tom de Vries <tdevries@suse.de>
2965
2966 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2967 vla-optimized-out.c.
2968
2969 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2970
2971 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2972 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2973
2974 2018-07-20 Tom de Vries <tdevries@suse.de>
2975
2976 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2977 NOCLONE macro.
2978 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2979
2980 2018-07-19 Tom de Vries <tdevries@suse.de>
2981
2982 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2983 regular expression.
2984
2985 2018-07-18 Tom de Vries <tdevries@suse.de>
2986
2987 * gdb.base/vla-optimized-out.c: New test.
2988 * gdb.base/vla-optimized-out.exp: New file.
2989
2990 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2991
2992 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2993 message "No address associated with hostname" when gdbserver
2994 cannot resolve the hostname.
2995
2996 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2997
2998 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2999 Add some test prefixes to make tests unique.
3000
3001 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3002
3003 * gdb.base/frameapply.c: New file.
3004 * gdb.base/frameapply.exp: New file.
3005
3006 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3007
3008 * gdb.base/skip.exp: Update expected error message.
3009
3010 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3011 Jan Kratochvil <jan.kratochvil@redhat.com>
3012 Paul Fertser <fercerpav@gmail.com>
3013 Tsutomu Seki <sekiriki@gmail.com>
3014
3015 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3016 parameter.
3017 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3018 by default.
3019 * boards/native-gdbserver.exp: Likewise.
3020 * gdb.server/run-without-local-binary.exp: Improve regexp used
3021 for detecting when a remote debugging connection succeeds.
3022 * gdb.server/server-connect.exp: New file.
3023 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3024 Do not prefix the port number with ":".
3025 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3026 support for detecting and using it. Add '$debughost_gdbserver'
3027 to the list of arguments used to start gdbserver. Handle case
3028 when gdbserver cannot resolve a network name.
3029
3030 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3031
3032 PR c++/23373
3033 * gdb.base/ptype-offsets.cc (struct static_member): New
3034 struct.
3035 (main) <stmember>: New variable.
3036 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3037 with a static member in it.
3038
3039 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3040
3041 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3042 watchpoints enabled and disabled.
3043
3044 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.base/examine-backward.exp: Still run tests around address
3047 0x0, even if address 0x0 is not readable. Update the pattern for
3048 matching address 0x0 in expected output.
3049
3050 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3051
3052 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3053 malloc/free.
3054
3055 2018-07-04 Tom de Vries <tdevries@suse.de>
3056
3057 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3058
3059 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3060
3061 PR tdep/8282
3062 * gdb.arch/mips-disassembler-options.exp: New test.
3063 * gdb.arch/mips-disassembler-options.s: New test source.
3064
3065 2018-06-29 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.threads/names.exp: Adjust expected "info threads" output.
3068
3069 2018-06-29 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.opt/inline-break.exp (line number, address): Add "info
3072 break" tests.
3073
3074 2018-06-29 Pedro Alves <palves@redhat.com>
3075
3076 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3077 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3078 number and address and running to them.
3079
3080 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3081
3082 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3083
3084 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3085
3086 * lib/compiler.c: Remove executable permission flag.
3087
3088 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3089
3090 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3091 code.
3092 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3093
3094 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3095
3096 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3097
3098 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3099
3100 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3101 address argument is omitted.
3102
3103 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3104
3105 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3106
3107 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3108
3109 PR gdb/21695
3110 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3111 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3112
3113 2018-06-26 Tom Tromey <tom@tromey.com>
3114
3115 PR rust/22574:
3116 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3117 * gdb.rust/simple.rs (struct SimpleLayout): New.
3118
3119 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3120
3121 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3122 "info registers" output.
3123
3124 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3125
3126 * gdb.base/watchpoint-hw-attach.c: New test.
3127 * gdb.base/watchpoint-hw-attach.exp: New file.
3128
3129 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3130
3131 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3132 through /bin/sh.
3133 * boards/dwarf4-gdb-index.exp: Likewise.
3134 * boards/fission-dwp.exp: Likewise.
3135
3136 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3137
3138 * gdb.base/float128.exp: Add comment and improved fail message
3139 to the failure case of "print large128" test.
3140
3141 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3142
3143 * configure.ac: Remove AC_PREREQ.
3144 * configure: Re-generate.
3145
3146 2018-06-19 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3149 (func_extern_caller): New.
3150 (main): Call func_extern_caller.
3151 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3152 logic change.
3153
3154 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3155
3156 PR gdb/16841
3157 * gdb.cp/typedef-base.cc: New file.
3158 * gdb.cp/typedef-base.exp: New file.
3159
3160 2018-06-18 Tom de Vries <tdevries@suse.de>
3161
3162 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3163
3164 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3165 Richard Bunt <Richard.Bunt@arm.com>
3166
3167 * gdb.threads/attach-slow-waitpid.c: New file.
3168 * gdb.threads/attach-slow-waitpid.exp: New file.
3169 * gdb.threads/slow-waitpid.c: New file.
3170
3171 2018-06-14 Pedro Alves <palves@redhat.com>
3172
3173 * gdb.base/fork-running-state.c: Include <errno.h>.
3174 (exit_if_relative_exits): New.
3175 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3176 exits.
3177 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3178 child exits.
3179
3180 2018-06-14 Tom de Vries <tdevries@suse.de>
3181
3182 PR cli/22573
3183 * gdb.base/finish-pretty.c: New test.
3184 * gdb.base/finish-pretty.exp: New file.
3185
3186 2018-06-14 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3189 gdb's expected startup output.
3190
3191 2018-06-14 Pedro Alves <palves@redhat.com>
3192
3193 * lib/selftest-support.exp (selftest_setup): Remove inlined
3194 function handling.
3195
3196 2018-06-14 Tom de Vries <tdevries@suse.de>
3197
3198 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3199 matching of breakpoint printing.
3200
3201 2018-06-13 Tom de Vries <tdevries@suse.de>
3202
3203 PR testsuite/23269
3204 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3205 (fork_child): ... here, and ...
3206 (fork_parent): ... here.
3207
3208 2018-06-12 Tom de Vries <tdevries@suse.de>
3209
3210 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3211
3212 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3213 Stephen Roberts <stephen.roberts@arm.com>
3214
3215 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3216 rewrite test to describe action performed, rather than possible
3217 failure.
3218
3219 2018-06-08 Gary Benson <gbenson@redhat.com>
3220
3221 * gdb.threads/check-libthread-db.exp: New file.
3222 * gdb.threads/check-libthread-db.c: Likewise.
3223
3224 2018-06-05 Tom Tromey <tom@tromey.com>
3225
3226 * gdb.base/default.exp: Update expected "show version" output.
3227
3228 2018-06-05 Tom Tromey <tom@tromey.com>
3229
3230 PR cli/12326:
3231 * gdb.cp/static-print-quit.exp: Update.
3232 * lib/gdb.exp (pagination_prompt): Update.
3233 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3234 * gdb.python/python.exp: Update.
3235
3236 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3237
3238 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3239
3240 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3241
3242 * gdb.ada/bp_fun_addr: New testcase.
3243
3244 2018-06-01 Tom Tromey <tom@tromey.com>
3245
3246 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3247 results.
3248 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3249 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3250 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3251 * gdb.base/maint.exp (maint_pass_if): Update.
3252
3253 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3254
3255 * gdb.base/endian.exp: New test.
3256 * gdb.base/endian.c: New test source.
3257
3258 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3259
3260 PR gdb/23203
3261 * gdb.base/bt-selected-frame.c: New file.
3262 * gdb.base/bt-selected-frame.exp: New file.
3263 * lib/gdb.exp (get_current_frame_number): New function.
3264
3265 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3266 Pedro Alves <palves@redhat.com>
3267
3268 * gdb.threads/tls-core.c: Include <stdlib.h>
3269 (thread_proc): Call `abort'.
3270 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3271 (tls_core_test): New procedure, bits factored out from ...
3272 (top level): ... here. Test both native cores and gcore cores.
3273
3274 2018-05-23 Tom Tromey <tom@tromey.com>
3275
3276 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3277
3278 2018-05-23 Tom Tromey <tom@tromey.com>
3279
3280 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3281 symfile_complaints.
3282 (test_short_complaints): Likewise.
3283 (test_empty_complaints): Likewise.
3284 (test_initial_complaints): Update.
3285
3286 2018-05-23 Tom Tromey <tom@tromey.com>
3287
3288 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3289
3290 2018-05-23 Tom Tromey <tom@tromey.com>
3291
3292 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3293 (test_short_complaints): Update.
3294
3295 2018-05-22 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/remote.exp: Only gdb_start after compiling the
3298 testcase. Issue "disconnect" before testing "set remote" command
3299 defaults. Issue clean_restart before running to main.
3300
3301 2018-05-22 Pedro Alves <palves@redhat.com>
3302
3303 * gdb.base/remote.exp: Adjust expected output of "show remote
3304 memory-write-packet-size". Add tests for "set remote
3305 memory-write-packet-size 0" and "set remote
3306 memory-write-packet-size fixed/limit".
3307
3308 2018-05-22 Pedro Alves <palves@redhat.com>
3309
3310 PR gdb/22973
3311 * gdb.base/utf8-identifiers.c: New file.
3312 * gdb.base/utf8-identifiers.exp: New file.
3313
3314 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3315
3316 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3317
3318 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3319
3320 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3321
3322 2018-05-18 Tom Tromey <tom@tromey.com>
3323
3324 * gdb.base/ptype-offsets.exp: Update.
3325
3326 2018-05-17 Keith Seitz <keiths@redhat.com>
3327
3328 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3329 in expected breakpoint stop locations.
3330 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3331 move to proper scope to test variable values.
3332 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3333 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3334 New functions.
3335 (main): Call not_inline_func3.
3336 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3337 inline_func1, inline_func2, and inline_func3. Test that when each
3338 breakpoint is hit, GDB properly reports both the stop location
3339 and the backtrace. Repeat tests for temporary breakpoints.
3340
3341 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3342
3343 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3344 rather then trying to access it in determining whether the PID
3345 of `gdbserver' could have been retrieved.
3346
3347 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3348
3349 * gdb.arch/amd64-init-x87-values.S: New file.
3350 * gdb.arch/amd64-init-x87-values.exp: New file.
3351
3352 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3355
3356 2018-05-04 Tom Tromey <tom@tromey.com>
3357
3358 PR python/22730:
3359 * gdb.python/python.exp: Test multi-line execute.
3360
3361 2018-05-04 Tom Tromey <tom@tromey.com>
3362
3363 PR python/22731:
3364 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3365
3366 2018-05-04 Tom Tromey <tom@tromey.com>
3367
3368 PR gdb/11750:
3369 * gdb.base/define.exp: Test defining a user command inside a user
3370 command.
3371 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3372
3373 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3374 Pedro Alves <palves@redhat.com>
3375
3376 PR breakpoints/19806 and support for PR external/20207.
3377 * gdb.base/watchpoint-unaligned.c: New file.
3378 * gdb.base/watchpoint-unaligned.exp: New file.
3379
3380 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3381
3382 * gdb.base/maint.exp: Make test names unique, use
3383 test_prefix_command_help to test 'help maint info', and remove
3384 repeated test of 'help maint'.
3385
3386 2018-05-04 Tom Tromey <tom@tromey.com>
3387
3388 PR gdb/22619:
3389 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3390 behavior.
3391
3392 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3393
3394 * gdb.base/maint.exp: Process output from 'maint print registers'
3395 line at a time.
3396
3397 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3398
3399 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3400 timeout.
3401
3402 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3403
3404 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3405 filter pattern.
3406
3407 2018-05-02 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3410 to_log_command renames.
3411 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3412
3413 2018-05-02 Tom Tromey <tom@tromey.com>
3414
3415 * gdb.python/py-parameter.exp: Set test message.
3416
3417 2018-05-02 Tom Tromey <tom@tromey.com>
3418
3419 PR python/20084:
3420 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3421 PARAM_ZUINTEGER_UNLIMITED tests.
3422
3423 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3424
3425 PR rust/23124
3426 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3427 when casting.
3428
3429 2018-04-30 Tom Tromey <tom@tromey.com>
3430
3431 * gdb.python/py-type.exp: Check align attribute.
3432 * gdb.python/py-type.c: New "aligncheck" global.
3433
3434 2018-04-30 Tom Tromey <tom@tromey.com>
3435
3436 PR exp/17095:
3437 * gdb.dwarf2/dw2-align.exp: New file.
3438 * gdb.cp/align.exp: New file.
3439 * gdb.base/align.exp: New file.
3440 * lib/gdb.exp (gdb_int128_helper): New proc.
3441 (has_int128_c, has_int128_cxx): New caching procs.
3442
3443 2018-04-27 Tom Tromey <tom@tromey.com>
3444
3445 PR rust/22545:
3446 * gdb.rust/simple.exp: Add inclusive range tests.
3447
3448 2018-04-26 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3451 ifunc breakpoint locations correctly of ifunc breakpoints set
3452 while the program resolves the ifunc.
3453
3454 2018-04-26 Pedro Alves <palves@redhat.com>
3455
3456 * gdb.base/gnu-ifunc-final.c: New file.
3457 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3458 * gdb.base/gnu-ifunc.exp (executable): Delete.
3459 (staticexecutable): Adjust.
3460 (lib_opts, exec_opts): Delete.
3461 (make_binsuffix, build, set-break): New procedures.
3462 (misc_tests): New, with tests factored out from the top level.
3463 (top level): Test different combinations of ifunc resolver name,
3464 resolver with and with debug info, and ifunc target with and
3465 without debug info. Wrap static tests with with_target_prefix.
3466
3467 2018-04-26 Pedro Alves <palves@redhat.com>
3468
3469 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3470 return type" warnings.
3471
3472 2018-04-25 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3475 killed".
3476 * gdb.base/kill-after-signal.exp: Likewise.
3477 * gdb.threads/kill.exp: Likewise.
3478
3479 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3480 Sergio Durigan Junior <sergiodj@redhat.com>
3481 Pedro Alves <palves@redhat.com>
3482
3483 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3484 regexps to expect for '[Inferior ... detached]' as well.
3485 * gdb.base/attach.exp: Likewise.
3486 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3487 "gdb_continue_to_end".
3488 (test_catch_syscall_with_wrong_args): Likewise.
3489 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3490 ']'. Don't set 'verbose' on.
3491 * gdb.base/foll-vfork.exp: Likewise.
3492 * gdb.base/fork-print-inferior-events.c: New file.
3493 * gdb.base/fork-print-inferior-events.exp: New file.
3494 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3495 '[Inferior ... has been killed]' message.
3496 * gdb.base/kill-after-signal.exp: Likewise.
3497 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3498 detach message.
3499 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3500 message.
3501 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3502 regexps to expect for '[Inferior ... detached]' as well.
3503 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3504
3505 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3506
3507 PR gdb/23104
3508 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3509
3510 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3511
3512 * gdb.threads/multiple-successive-infcall.c: New test.
3513 * gdb.threads/multiple-successive-infcall.exp: New file.
3514
3515 2018-04-17 Tom Tromey <tom@tromey.com>
3516
3517 * gdb.rust/simple.rs (Union): New type.
3518 (main): New local "u".
3519 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3520
3521 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3522
3523 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3524 number information in output of "whereis" command.
3525 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3526
3527 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3528
3529 * gdb.ada/info_types.exp: Adjust expected output to the line
3530 numbers now printed by "info var/func/type".
3531 * gdb.base/completion.exp: Likewise.
3532 * gdb.base/included.exp: Likewise.
3533 * gdb.cp/cp-relocate.exp: Likewise.
3534 * gdb.cp/cplusfuncs.exp: Likewise.
3535 * gdb.cp/namespace.exp: Likewise.
3536 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3537
3538 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3539
3540 * gdb.btrace/cpu.exp: New.
3541
3542 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3543
3544 * gdb.base/step-indirect-call-thunk.exp: New.
3545 * gdb.base/step-indirect-call-thunk.c: New.
3546 * gdb.reverse/step-indirect-call-thunk.exp: New.
3547 * gdb.reverse/step-indirect-call-thunk.c: New.
3548
3549 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3550
3551 * gdb.base/pie-fork.c: New file.
3552 * gdb.base/pie-fork.exp: New file.
3553
3554 2018-04-11 Tom Tromey <tom@tromey.com>
3555
3556 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3557
3558 2018-04-10 Pedro Alves <palves@redhat.com>
3559
3560 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3561 exits. Instead loop running forever.
3562 (fork_parent): Run forever too.
3563
3564 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3565
3566 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3567 mi_continue_to_line.
3568 * gdb.mi/mi-stack.c (callee4): Add comment.
3569
3570 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3571
3572 * gdb.mi/mi-stack.exp: Fix indentation.
3573
3574 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3575
3576 PR gdb/22979
3577 * gdb.arch/amd64-osabi.exp: New file.
3578
3579 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3580
3581 PR gdb/22980
3582 * gdb.base/osabi.exp: New file.
3583
3584 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3585
3586 * gdb.cp/static-typedef-print.exp: New file.
3587 * gdb.cp/static-typedef-print.cc: New file.
3588
3589 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3590
3591 * gdb.ada/varsize_limit: New testcase.
3592
3593 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3594
3595 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3596
3597 * gdb.ada/notcplusplus: New testcase.
3598
3599 * gdb.base/c-linkage-name.c: New file.
3600 * gdb.base/c-linkage-name.exp: New testcase.
3601
3602 2018-03-26 Tom Tromey <tom@tromey.com>
3603
3604 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3605 * gdb.python/py-framefilter.py (name_error): New global.
3606 (ErrorInName.function): Use name_error.
3607
3608 2018-03-26 Tom Tromey <tom@tromey.com>
3609
3610 PR backtrace/15582:
3611 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3612
3613 2018-03-23 Keith Seitz <keiths@redhat.com>
3614
3615 PR c++/22968
3616 * gdb.cp/subtypes.exp: New file.
3617 * gdb.cp/subtypes.h: New file.
3618 * gdb.cp/subtypes.cc: New file.
3619 * gdb.cp/subtypes-2.cc: New file.
3620
3621 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3622
3623 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3624 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3625 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3626 -nostartfiles when compiling the test. Confirm that all registers
3627 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3628
3629 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3630
3631 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3632 option, syntax was wrong anyway.
3633 * gdb.arch/arm-disp-step.exp: Likewise.
3634 * gdb.arch/sparc64-regs.exp: Likewise.
3635 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3636 option, syntax was wrong anyway, switch to use
3637 prepare_for_testing.
3638 * gdb.arch/i386-disp-step.exp: Likewise.
3639
3640 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3641
3642 * gdb.ada/exec_changed.exp: Replace "target_info exists
3643 use_gdb_stub" by "use_gdb_stub".
3644 * gdb.ada/start.exp: Likewise.
3645 * gdb.base/async-shell.exp: Likewise.
3646 * gdb.base/attach-pie-misread.exp: Likewise.
3647 * gdb.base/attach-wait-input.exp: Likewise.
3648 * gdb.base/break-entry.exp: Likewise.
3649 * gdb.base/break-interp.exp: Likewise.
3650 * gdb.base/dprintf-detach.exp: Likewise.
3651 * gdb.base/nostdlib.exp: Likewise.
3652 * gdb.base/solib-nodir.exp: Likewise.
3653 * gdb.base/statistics.exp: Likewise.
3654 * gdb.base/testenv.exp: Likewise.
3655 * gdb.mi/mi-exec-run.exp: Likewise.
3656 * gdb.mi/mi-start.exp: Likewise.
3657 * gdb.multi/dummy-frame-restore.exp: Likewise.
3658 * gdb.multi/multi-arch-exec.exp: Likewise.
3659 * gdb.multi/multi-arch.exp: Likewise.
3660 * gdb.multi/tids.exp: Likewise.
3661 * gdb.multi/watchpoint-multi.exp: Likewise.
3662 * gdb.python/py-events.exp: Likewise.
3663 * gdb.threads/attach-into-signal.exp: Likewise.
3664 * gdb.threads/attach-stopped.exp: Likewise.
3665 * gdb.threads/threadapply.exp: Likewise.
3666 * lib/selftest-support.exp: Likewise.
3667
3668 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3669
3670 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3671
3672 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3673
3674 * gdb.perf/template-breakpoints.cc: New file.
3675 * gdb.perf/template-breakpoints.exp: New file.
3676 * gdb.perf/template-breakpoints.py: New file.
3677
3678 2018-03-19 Tom Tromey <tom@tromey.com>
3679
3680 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3681 y0.
3682 * gdb.rust/simple.exp: Test bare identifier form of struct
3683 initializer.
3684
3685 2018-03-19 Tom Tromey <tom@tromey.com>
3686
3687 * gdb.gdb/observer.exp: Remove.
3688
3689 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3690
3691 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3692 "qualified" option when setting breakpoints.
3693 * gdb.trace/backtrace.exp: Likewise.
3694 * gdb.trace/circ.exp: Likewise.
3695 * gdb.trace/collection.exp: Likewise.
3696 * gdb.trace/disconnected-tracing.exp: Likewise.
3697 * gdb.trace/ftrace-lock.exp: Likewise.
3698 * gdb.trace/ftrace.exp: Likewise.
3699 * gdb.trace/infotrace.exp: Likewise.
3700 * gdb.trace/packetlen.exp: Likewise.
3701 * gdb.trace/passc-dyn.exp: Likewise.
3702 * gdb.trace/qtro.exp: Likewise.
3703 * gdb.trace/read-memory.exp: Likewise.
3704 * gdb.trace/report.exp: Likewise.
3705 * gdb.trace/signal.exp: Likewise.
3706 * gdb.trace/status-stop.exp: Likewise.
3707 * gdb.trace/strace.exp: Likewise.
3708 * gdb.trace/tfind.exp: Likewise.
3709 * gdb.trace/trace-break.exp: Likewise.
3710 * gdb.trace/trace-condition.exp: Likewise.
3711 * gdb.trace/trace-mt.exp: Likewise.
3712 * gdb.trace/tstatus.exp: Likewise.
3713 * gdb.trace/tsv.exp: Likewise.
3714 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3715 * gdb.trace/unavailable.exp: Likewise.
3716 * gdb.trace/while-dyn.exp: Likewise.
3717
3718 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3719
3720 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3721 that libinproctrace is copied to the target.
3722
3723 2018-03-14 Tom Tromey <tom@tromey.com>
3724
3725 PR cli/14977:
3726 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3727 a null pointer.
3728 * gdb.base/wchar.exp: Likewise.
3729
3730 2018-03-14 Tom Tromey <tom@tromey.com>
3731
3732 PR cli/19918:
3733 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3734 flag.
3735
3736 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3737
3738 PR gdb/22841
3739 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3740 "target" to remote_exec.
3741
3742 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3743
3744 PR gdb/22841
3745 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3746 ${board}_upload): Remove.
3747
3748 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3749
3750 * gdb.cp/watch-cp.cc: New test.
3751 * gdb.cp/watch-cp.exp: New file.
3752
3753 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3754
3755 * gdb.base/infcall-nested-structs.exp: New file.
3756 * gdb.base/infcall-nested-structs.c: New file.
3757 * gdb.base/float.exp: Add riscv support.
3758
3759 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3760
3761 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3762 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3763
3764 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3765
3766 * gdb.server/abspath.exp: New file.
3767 * lib/gdb.exp (with_cwd): New procedure.
3768
3769 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3770
3771 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3772 use it.
3773 (gdb_is_target_remote_prompt): New proc.
3774 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3775 (gdb_is_target_native): Pass prompt parameter to
3776 gdb_is_target_1.
3777
3778 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3779
3780 * gdb.base/load-command.c: New file.
3781 * gdb.base/load-command.exp: New file.
3782 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3783 (gdb_is_target_1): ...this, and generalize for other targets
3784 than just remote.
3785 (gdb_is_target_remote): Use gdb_is_target_1.
3786 (gdb_is_target_native): use gdb_is_target_1.
3787
3788 2018-02-26 Tom Tromey <tom@tromey.com>
3789
3790 PR python/16497:
3791 * gdb.python/py-framefilter.exp: Update test.
3792
3793 2018-02-26 Tom Tromey <tom@tromey.com>
3794
3795 * gdb.dwarf2/variant.c: New file.
3796 * gdb.dwarf2/variant.exp: New file.
3797
3798 2018-02-26 Tom Tromey <tom@tromey.com>
3799
3800 * gdb.rust/simple.exp: Accept more possible results in enum test.
3801
3802 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3803
3804 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3805 parentheses.
3806
3807 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3808
3809 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3810 name of a variable: $actual_linejj -> $actual_line.
3811
3812 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3813
3814 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3815
3816 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3817
3818 * gdb.btrace/buffer-size.exp: Do not force BTS.
3819
3820 2018-02-14 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3823 getting a "Quit".
3824
3825 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3826
3827 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3828 Fix test name.
3829
3830 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3831
3832 * gdb.cp/m-static.exp: Check type of optimized out static
3833 member.
3834
3835 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3836
3837 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3838 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3839
3840 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3841 Leszek Swirski <leszeks@google.com>
3842
3843 * gdb.python/py-prettyprint.c
3844 (struct to_string_returns_value_inner,
3845 struct to_string_returns_value_wrapper): New.
3846 (main): Add tsrvw variable.
3847 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3848 ToStringReturnsValueWrapper): New classes.
3849 (register_pretty_printers): Register new pretty-printers.
3850 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3851 recursive pretty printer.
3852 * gdb.python/py-mi.exp: Likewise.
3853
3854 2018-02-01 Leszek Swirski <leszeks@google.com>
3855
3856 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3857 functions with the same name as an include file are parsed
3858 correctly.
3859
3860 2018-02-01 Yao Qi <yao.qi@linaro.org>
3861
3862 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3863 "\[^\r\n\]*".
3864
3865 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3866
3867 * gdb.arch/powerpc-prologue-frame.s: New file.
3868 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3869 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3870
3871 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3872
3873 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3874
3875 2018-01-30 Pedro Alves <palves@redhat.com>
3876
3877 PR gdb/13211
3878 * gdb.base/interrupt-daemon.c: New.
3879 * gdb.base/interrupt-daemon.exp: New.
3880 * gdb.multi/multi-term-settings.c: New.
3881 * gdb.multi/multi-term-settings.exp: New.
3882
3883 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3884
3885 * gdb.base/break.exp: Save the location where the breakpoint
3886 on break.c:47 was actually inserted when debugging the version
3887 compiled at -O2 and use it in the expected output of the "info
3888 break" test performed soon after.
3889
3890 2018-01-22 Pedro Alves <palves@redhat.com>
3891 Sergio Durigan Junior <sergiodj@redhat.com>
3892
3893 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3894 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3895
3896 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3897
3898 * gdb.base/break-include.c, gdb.base/break-include.inc,
3899 gdb.base/break-include.exp: New files.
3900 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3901 line number now being the actual line number where the breakpoint
3902 was inserted.
3903 * gdb.mi/mi-break.exp: Likewise.
3904 * gdb.mi/mi-reverse.exp: Likewise.
3905 * gdb.mi/mi-simplerun.exp: Ditto.
3906
3907 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3908
3909 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3910 varobj.
3911 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3912
3913 2018-01-21 Don Breazeal <donb@codesourcery.com>
3914 Andrew Burgess <andrew.burgess@embecosm.com>
3915
3916 * gdb.mi/basics.c: Add new global.
3917 * gdb.mi/mi-frame-regs.exp: New file.
3918 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3919 case.
3920
3921 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3922
3923 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3924 non-parameter, and on an unknown symbol.
3925
3926 2018-01-19 Tom Tromey <tom@tromey.com>
3927
3928 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3929 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3930
3931 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3932
3933 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3934 setrlimit and chdir to int.
3935
3936 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3937
3938 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3939 function.
3940 (my_tend): Likewise.
3941 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3942 rationale of avoiding FP- and vector instructions.
3943
3944 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3945
3946 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3947 "info reg" with "\[ \t\]*".
3948 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3949 "\[ \t\]+".
3950 * gdb.arch/s390-multiarch.exp: Ditto.
3951 * gdb.base/pc-fp.exp: Ditto.
3952 * gdb.reverse/i386-precsave.exp: Ditto.
3953 * gdb.reverse/i386-reverse.exp: Ditto.
3954 * gdb.reverse/i387-env-reverse.exp: Ditto.
3955 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3956
3957 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3958
3959 * lib/gdb.exp (gdb_compile): Re-enable use of
3960 universal_compile_options for languages other than Rust.
3961
3962 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3963
3964 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3965
3966 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3967
3968 PR gdb/16577
3969 * gdb.base/solib-vanish.exp: New.
3970 * gdb.base/solib-vanish-main.c: New.
3971 * gdb.base/solib-vanish-lib1.c: New.
3972 * gdb.base/solib-vanish-lib2.c: New.
3973
3974 2018-01-17 Yao Qi <yao.qi@linaro.org>
3975
3976 * gdb.compile/compile.exp: Match the address printed for
3977 frame in the output of command "bt".
3978
3979 2018-01-15 Tom Tromey <tom@tromey.com>
3980
3981 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3982 compute sp_reg.
3983
3984 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3985
3986 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3987 to prepare.
3988 (prepare): Return 0 on error, 1 on success.
3989
3990 2018-01-12 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.base/continue-after-aborted-step-over.c: New.
3993 * gdb.base/continue-after-aborted-step-over.exp: New.
3994
3995 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3996
3997 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3998 options when not creating an executable.
3999
4000 2018-01-11 Pedro Alves <palves@redhat.com>
4001
4002 PR remote/22597
4003 * gdb.server/stop-reply-no-thread.c: New file.
4004 * gdb.server/stop-reply-no-thread.exp: New file.
4005
4006 2018-01-10 Pedro Alves <palves@redhat.com>
4007
4008 PR gdb/22670
4009 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4010 functions too. Test setting breakpoints and printing C functions
4011 with no debug info too.
4012 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4013
4014 2018-01-10 Pedro Alves <palves@redhat.com>
4015
4016 PR gdb/22670
4017 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4018 a fail.
4019
4020 2018-01-10 Pedro Alves <palves@redhat.com>
4021
4022 PR gdb/22670
4023 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4024
4025 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4026
4027 * gdb.server/unittest.exp: Match the output in non-development
4028 mode.
4029
4030 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4031
4032 * gdb.gdb/unittest.exp: Match output in non-development mode.
4033
4034 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4035
4036 * gdb.ada/access_tagged_param.exp: Relax expected output
4037 for value of "ObjL" in "continue" to pck.inspect breakpoint
4038 test.
4039
4040 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4041
4042 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4043 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4044
4045 2018-01-05 Pedro Alves <palves@redhat.com>
4046
4047 PR gdb/18653
4048 * gdb.base/libsegfault.exp: New.
4049
4050 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4051
4052 PR gdb/22670
4053 * gdb.ada/access_tagged_param.exp: New file.
4054 * gdb.ada/access_tagged_param/foo.adb: New file.
4055
4056 2018-01-05 Pedro Alves <palves@redhat.com>
4057
4058 PR gdb/22670
4059 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4060 exercise lower case too, and to exercise both full matching and
4061 wild matching.
4062
4063 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4064
4065 * gdb.ada/rename_subscript_param: New testcase.
4066
4067 2018-01-05 Jerome Guitton <guitton@adacore.com>
4068
4069 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4070
4071 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4072
4073 * gdb.ada/convvar_comp: New testcase.
4074
4075 2018-01-05 Xavier Roirand <roirand@adacore.com>
4076
4077 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4078 (My_Table): New global variable.
4079 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4080
4081 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4082
4083 PR gdb/22670
4084 * gdb.ada/maint_with_ada: New testcase.
4085
4086 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4087
4088 PR gdb/22670
4089 * gdb.ada/bp_c_mixed_case: New testcase.
4090
4091 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4092
4093 PR gdb/22670
4094 * gdb.ada/complete.exp: Add "complete break ada" test.
4095
4096 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4097
4098 PR gdb/22670
4099 * gdb.ada/info_addr_mixed_case: New testcase.
4100
4101 2018-01-03 Xavier Roirand <roirand@adacore.com>
4102
4103 * gdb.ada/excep_handle.exp: New testcase.
4104 * gdb.ada/excep_handle/foo.adb: New file.
4105 * gdb.ada/excep_handle/pck.ads: New file.
4106
4107 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.base/step-line.c: Add extra empty line in copyright header.
4110 * gdb.base/step-line.inp: Likewise.
4111
4112 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4113
4114 * gdb.ada/dyn_stride.exp: Add slice test.
4115
4116 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4117
4118 * gdb.ada/dyn_stride: New testcase.
4119
4120 2017-12-27 Stafford Horne <shorne@gmail.com>
4121
4122 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4123 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4124
4125 2017-12-27 Stafford Horne <shorne@gmail.com>
4126
4127 * gdb.base/reggroups.c: New file.
4128 * gdb.base/reggroups.exp: New file.
4129
4130 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4131
4132 * gdb.dwarf2/ada-valprint-error.c: New file.
4133 * gdb.dwarf2/ada-valprint-error.exp: New file.
4134
4135 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4136
4137 * gdb.ada/assign_arr: New testcase.
4138
4139 2017-12-18 Xavier Roirand <roirand@adacore.com>
4140
4141 * gdb.ada/funcall_ptr: New testcase.
4142
4143 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4144
4145 PR cli/16224
4146 * gdb.base/ptype-offsets.cc: New file.
4147 * gdb.base/ptype-offsets.exp: New file.
4148
4149 2017-12-15 Yao Qi <yao.qi@linaro.org>
4150
4151 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4152 if XML is disabled.
4153
4154 2017-12-15 Xavier Roirand <roirand@adacore.com>
4155
4156 * gdb.ada/same_component_name: New testcase.
4157
4158 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4159
4160 * gdb.ada/str_binop_equal: New testcase.
4161
4162 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4163
4164 * gdb.ada/task_switch_in_core: New testcase.
4165
4166 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4167
4168 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4169 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4170 call test_bkpt_qualified.
4171 (test_bkpt_qualified): New proc.
4172
4173 2017-12-13 Pedro Alves <palves@redhat.com>
4174
4175 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4176 Tighten regexp by matching with an anchor.
4177
4178 2017-12-13 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4181 ("expression with namespace"): New set of tests.
4182 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4183 (Nested::Test_NS::qux): New.
4184 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4185 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4186
4187 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4188
4189 * gdb.base/server-del-break.c: New file.
4190 * gdb.base/server-del-break.exp: New file.
4191
4192 2017-12-12 Stafford Horne <shorne@gmail.com>
4193
4194 * gdb.xml/tdesc-regs.exp: Add or1k support.
4195
4196 2017-12-12 Stafford Horne <shorne@gmail.com>
4197
4198 * gdb.base/bp-permanent.c: Define nop of or1k.
4199
4200 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4201
4202 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4203 output with components being reordered.
4204
4205 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4206
4207 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4208 output with components being reordered.
4209
4210 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4211 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.base/maint.exp (check for .gdb_index): Check also for
4214 .debug_names.
4215 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4216 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4217 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4218 (.gdb_index used after symbol reloading): Support also .debug_names.
4219 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4220
4221 2017-12-08 Yao Qi <yao.qi@linaro.org>
4222
4223 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4224 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4225
4226 2017-12-08 Yao Qi <yao.qi@linaro.org>
4227
4228 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4229 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4230
4231 2017-12-08 Yao Qi <yao.qi@linaro.org>
4232
4233 * gdb.arch/aarch64-tagged-pointer.c: New file.
4234 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4235
4236 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4237
4238 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4239 "int".
4240
4241 2017-12-07 Keith Seitz <keiths@redhat.com>
4242
4243 PR breakpoints/22569
4244 * gdb.linespec/ls-errs.exp: Change expected result of "break
4245 -source this file has spaces.c -line 3".
4246 Check that an explicit source file followed by whitespace is
4247 identified as an invalid explicit location.
4248
4249 2017-12-07 Keith Seitz <keiths@redhat.com>
4250
4251 * gdb.cp/nested-types.cc: New file.
4252 * gdb.cp/nested-types.exp: New file.
4253 * lib/cp-support.exp: Load data-structures.exp library.
4254 (debug_cp_test_ptype_class): New global.
4255 (cp_ptype_class_verbose, next_line): New procedures.
4256 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4257 Add and document new return value.
4258 Switch the list of lines to a queue.
4259 Add support for new `type' key for nested type definitions.
4260 Add debugging/troubleshooting messages.
4261 * lib/data-structures.exp: New file.
4262
4263 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4264
4265 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4266 with proc_with_prefix, don't use with_test_prefix.
4267
4268 2017-12-07 Tom Tromey <tom@tromey.com>
4269
4270 * gdb.base/break.exp: Add test for empty "commands".
4271
4272 2017-12-07 Yao Qi <yao.qi@linaro.org>
4273
4274 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4275 malloc and catch syscall.
4276
4277 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4278
4279 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4280 tests for explicit locations.
4281
4282 2017-12-06 Pedro Alves <palves@redhat.com>
4283
4284 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4285 force-disabling XML descriptions.
4286
4287 2017-12-04 Pedro Alves <palves@redhat.com>
4288
4289 PR gdb/22499
4290 * gdb.arch/amd64-disp-step-avx.S: New file.
4291 * gdb.arch/amd64-disp-step-avx.exp: New file.
4292
4293 2017-12-03 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4296 and <string.h>.
4297 (parent_function): Print distinct messages when waitpid fails, or
4298 the child exits with a signal, or the child exits for an unhandled
4299 reason.
4300 * gdb.threads/process-dies-while-detaching.exp
4301 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4302 it. Wait for both inferior output and GDB's prompt. Use an
4303 indirect spawn id list.
4304 (do_detach): New parameter 'child_exit'. Use it to compute
4305 expected inferior output.
4306 (test_detach, test_detach_watch, test_detach_killed_outside):
4307 Adjust to pass down the expected child exit kind.
4308
4309 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4310 Sergio Durigan Junior <sergiodj@redhat.com>
4311 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4314
4315 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4316
4317 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4318 to 'symbol-file' and 'add-symbol-file' can be
4319 position-independent.
4320
4321 2017-12-01 Yao Qi <yao.qi@linaro.org>
4322
4323 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4324 the URL in copyright header.
4325 * gdb.arch/aarch64-fp.exp: Likewise.
4326 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4327 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4328 * gdb.base/expand-psymtabs.exp: Likewise.
4329 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4330 * gdb.fortran/common-block.exp: Likewise.
4331 * gdb.fortran/common-block.f90: Likewise.
4332 * gdb.fortran/logical.exp: Likewise.
4333 * gdb.fortran/vla-datatypes.f90: Likewise.
4334 * gdb.fortran/vla-sub.f90: Likewise.
4335
4336 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.ada/repeat_dyn: New testcase.
4339
4340 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4341
4342 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4343 Update for changed thread numbering.
4344 * gdb.cell/bt.exp: Update for changed GDB output.
4345
4346 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4347
4348 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4349 setting isremote by hand.
4350 * boards/dwarf4-gdb-index.exp: Likewise.
4351 * boards/fission.exp: Likewise.
4352 * boards/stabs.exp: Likewise.
4353
4354 2017-11-30 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.linespec/cpls-ops.exp
4357 (check_explicit_skips_function_argument): Extract the underlying
4358 type of size_t instead of hardcoding it.
4359
4360 2017-11-29 Pedro Alves <palves@redhat.com>
4361
4362 PR c++/19436
4363 * gdb.linespec/cpls-abi-tag.cc: New file.
4364 * gdb.linespec/cpls-abi-tag.exp: New file.
4365
4366 2017-11-29 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.base/langs.exp: Use -qualified.
4369 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4370 it.
4371 * gdb.cp/namespace.exp: Use -qualified.
4372 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4373 (overload-3, template-overload, template-ret-type, const-overload)
4374 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4375 procedures.
4376 (test_driver): Call them.
4377 * gdb.cp/save-bp-qualified.cc: New.
4378 * gdb.cp/save-bp-qualified.exp: New.
4379 * gdb.linespec/explicit.exp: Test -qualified.
4380 * lib/completion-support.exp (completion::explicit_opts_list): Add
4381 "-qualified".
4382 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4383
4384 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4385
4386 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4387
4388 2017-11-29 Tom Tromey <tom@tromey.com>
4389
4390 * gdb.base/relocate.exp: Update invalid argument test.
4391 Add new tests for invalid arguments.
4392
4393 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4394
4395 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4396 Return 0 as a long.
4397 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4398
4399 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4400
4401 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4402 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4403 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4404 func ().
4405 * gdb.cp/shadow.cc (B.func): Return 0.
4406
4407 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4408
4409 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4410 expected output in gdb_expect call to allow the exception
4411 message to be present as well. Fix syntax confusion to avoid
4412 TCL thinking that exception_name is an array.
4413
4414 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4415
4416 * gdb.arch/spu-info.c: Include <unistd.h>.
4417 (do_signal_test): Fix broken calls to write.
4418 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4419 Fix checks for empty mailboxes. Update signal tests for corrected
4420 do_signal_test routine. Allow nonzero event status.
4421 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4422 * gdb.cell/arch.exp: Use standard_output_file.
4423 * gdb.cell/break.exp: Likewise.
4424 * gdb.cell/bt.exp: Likewise.
4425 * gdb.cell/core.exp: Likewise.
4426 * gdb.cell/dwarfaddr.exp: Likewise.
4427 * gdb.cell/ea-cache.exp: Likewise.
4428 * gdb.cell/ea-standalone.exp: Likewise.
4429 * gdb.cell/f-regs.exp: Likewise.
4430 * gdb.cell/fork.exp: Likewise.
4431 * gdb.cell/gcore.exp: Likewise.
4432 * gdb.cell/mem-access.exp: Likewise.
4433 * gdb.cell/ptype.exp: Likewise.
4434 * gdb.cell/registers.exp: Likewise.
4435 * gdb.cell/sizeof.exp: Likewise.
4436 * gdb.cell/solib-symbol.exp: Likewise.
4437 * gdb.cell/solib.exp: Likewise.
4438
4439 2017-11-25 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.base/complete-empty.exp: New file.
4442 * gdb.base/completion.exp: Adjust.
4443
4444 2017-11-25 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.linespec/cpls-ops.cc: New file.
4447 * gdb.linespec/cpls-ops.exp: New file.
4448 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4449 factored out from ...
4450 (test_complete_prefix_range): ... this.
4451
4452 2017-11-24 Pedro Alves <palves@redhat.com>
4453
4454 * gdb.linespec/cpcompletion.exp: New file.
4455 * gdb.linespec/cpls-hyphen.cc: New file.
4456 * gdb.linespec/cpls.cc: New file.
4457 * gdb.linespec/cpls2.cc: New file.
4458 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4459 test to use test_gdb_complete_unique. Add label completion,
4460 keyword completion and explicit location completion tests.
4461 * lib/completion-support.exp: New file.
4462
4463 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4464
4465 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4466 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4467 when hitting an exception catchpoint.
4468
4469 2017-11-22 Yao Qi <yao.qi@linaro.org>
4470
4471 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4472
4473 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4474
4475 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4476 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4477 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4478
4479 2017-11-22 Yao Qi <yao.qi@linaro.org>
4480
4481 * gdb.base/info-os.exp: Pass pthreads.
4482 * gdb.multi/multi-attach.exp: Likewise.
4483
4484 2017-11-22 Yao Qi <yao.qi@linaro.org>
4485
4486 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4487 compiler.
4488
4489 2017-11-22 Yao Qi <yao.qi@linaro.org>
4490
4491 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4492 * gdb.base/break-interp.exp: Likewise.
4493 * gdb.base/jit-attach-pie.exp: Likewise.
4494
4495 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4496
4497 * gdb.base/float128.c (large128): New variable.
4498 * gdb.base/float128.exp: Add test to print largest __float128 value.
4499
4500 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4501
4502 * gdb.arch/vsx-regs.exp: Update register content checks.
4503
4504 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4505
4506 * gdb.arch/ppc-longdouble.exp: New file.
4507 * gdb.arch/ppc-longdouble.c: Likewise.
4508
4509 2017-11-21 Pedro Alves <palves@redhat.com>
4510
4511 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4512
4513 2017-11-20 Pedro Alves <palves@redhat.com>
4514
4515 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4516 (long_double_typedef): New typedefs.
4517 Use DEF on double and long double.
4518 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4519 cases.
4520 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4521 and 'long_double_ptr_same_size' locals. Use them to decide
4522 whether cast from array/function to float is valid/invalid.
4523
4524 2017-11-17 Tom Tromey <tom@tromey.com>
4525
4526 * gdb.rust/traits.rs: New file.
4527 * gdb.rust/traits.exp: New file.
4528
4529 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4530
4531 * gdb.ada/minsyms: New testcase.
4532
4533 2017-11-16 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4536 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4537
4538 2017-11-16 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4541 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4542
4543 2017-11-16 Pedro Alves <palves@redhat.com>
4544
4545 * gdb.server/reconnect-ctrl-c.c: New file.
4546 * gdb.server/reconnect-ctrl-c.exp: New file.
4547
4548 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4549
4550 * gdb.python/py-rbreak.exp: New file.
4551 * gdb.python/py-rbreak.c: New file.
4552 * gdb.python/py-rbreak-func2.c: New file.
4553
4554 2017-11-16 Pedro Alves <palves@redhat.com>
4555
4556 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4557 pattern.
4558 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4559 GDB.
4560
4561 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4562
4563 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4564 regex.
4565
4566 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4567
4568 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4569 test names.
4570
4571 2017-11-09 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4574 factored out from ...
4575 (top level): ... here, and adjusted to avoid expecting beyond the
4576 prompt in a single gdb_test_multiple.
4577
4578 2017-11-09 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4581 output.
4582 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4583 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4584 * gdb.server/ext-run.exp ("kill" test): Likewise.
4585 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4586
4587 2017-11-09 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4590 match till end of line.
4591
4592 2017-11-09 Pedro Alves <palves@redhat.com>
4593
4594 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4595
4596 2017-11-09 Pedro Alves <palves@redhat.com>
4597
4598 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4599 New procedures, factored out from ...
4600 (top level): ... here, and adjusted to avoid expecting beyond the
4601 prompt in one go.
4602
4603 2017-11-09 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4606 output. Fix '?' match.
4607
4608 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4609
4610 * gdb.ada/scoped_watch: New testcase.
4611 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4612 which is actually correct.
4613 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4614 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4615
4616 2017-11-08 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.gdb/complaints.exp (test_initial_complaints)
4619 (test_serial_complaints, test_short_complaints): Call
4620 complaint_internal instead of complaint.
4621
4622 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4623
4624 * gdb.threads/tls-core.c: New file.
4625 * gdb.threads/tls-core.exp: Likewise.
4626
4627 2017-11-08 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4630 (p Exported_Capitalized): New test.
4631 (p exported_capitalized): New test.
4632
4633 2017-11-07 Pedro Alves <palves@redhat.com>
4634
4635 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4636
4637 2017-11-07 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4640 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4641 (disable_invalid, disable_inverted, disable_negative): New
4642 procedures.
4643 ("bad numbers"): New set of tests.
4644
4645 2017-11-07 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.cp/ena-dis-br-range.exp: Add tests.
4648
4649 2017-11-07 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4652
4653 2017-11-07 Xavier Roirand <roirand@adacore.com>
4654 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/ena-dis-br.exp: Add reference to
4657 gdb.cp/ena-dis-br-range.exp.
4658 * gdb.cp/ena-dis-br-range.exp: New file.
4659 * gdb.cp/ena-dis-br-range.cc: New file.
4660
4661 2017-11-06 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/attach-non-pgrp-leader.c: New.
4664 * gdb.base/attach-non-pgrp-leader.exp: New.
4665
4666 2017-11-06 Pedro Alves <palves@redhat.com>
4667
4668 * configure.ac: No longer check for termio.h and sgtty.h.
4669 * configure: Regenerate.
4670 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4671 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4672 Remove termio and sgtty code.
4673
4674 2017-11-03 Yao Qi <yao.qi@linaro.org>
4675
4676 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4677 in GDB is disabled.
4678
4679 2017-11-03 Yao Qi <yao.qi@linaro.org>
4680
4681 * gdb.python/py-thrhandle.exp: Skip it if python is not
4682 enabled.
4683
4684 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4685
4686 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4687 as a breakpoint command.
4688
4689 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4690
4691 PR python/21213
4692 * gdb.python/py-infthread.exp: Test calling
4693 InferiorThread.inferior () multiple times in a row.
4694
4695 2017-10-27 Keith Seitz <keiths@redhat.com>
4696
4697 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4698 Test "info break" for every inlined function breakpoint.
4699
4700 2017-10-27 Yao Qi <yao.qi@linaro.org>
4701
4702 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4703
4704 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4705
4706 * gdb.cp/classes.exp (test_static_members): Test printing
4707 Outer::instance.
4708 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4709 (Inner::instance, Outer::instance): New.
4710
4711 2017-10-24 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4714 extra console" test in two stages.
4715
4716 2017-10-24 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4719
4720 2017-10-24 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4723 loop.
4724
4725 2017-10-24 Pedro Alves <palves@redhat.com>
4726
4727 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4728 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4729
4730 2017-10-24 Pedro Alves <palves@redhat.com>
4731
4732 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4733 parameter and handle it. Don't output read value in test name.
4734
4735 2017-10-24 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4738 custom test name.
4739
4740 2017-10-24 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4743 include the unstable output directory name in the test's name.
4744 (initial_setup_simple) <'set args'>: Use custom test name.
4745
4746 2017-10-24 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4749 with explicit test name.
4750
4751 2017-10-20 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4754 'wait -i'. Use gdb_assert and remote_close.
4755
4756 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4757
4758 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4759 number from variable rather than hard-coded.
4760
4761 2017-10-19 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.base/long-inferior-output.c: New file.
4764 * gdb.base/long-inferior-output.exp: New file.
4765
4766 2017-11-18 Keith Seitz <keiths@redhat.com>
4767
4768 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4769 method.
4770 (main): Call it.
4771 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4772 Add additional user-defined conversion operator tests.
4773
4774 2017-10-17 Pedro Alves <palves@redhat.com>
4775
4776 * boards/native-stdio-gdbserver.exp: Load "local-board".
4777
4778 2017-10-17 Pedro Alves <palves@redhat.com>
4779
4780 * gdb.base/quit-live.c: New file.
4781 * gdb.base/quit-live.exp: New file.
4782
4783 2017-10-16 Keith Seitz <keiths@redhat.com>
4784
4785 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4786 (class_with_protected_typedef, class_with_private_typedef)
4787 (struct_with_public_typedef, struct_with_protected_typedef)
4788 (struct_with_private_typedef): New classes/structs.
4789 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4790 typedefs and access specifiers.
4791
4792 2017-10-16 Pedro Alves <palves@redhat.com>
4793 Simon Marchi <simon.marchi@polymtl.ca>
4794
4795 * README (Local vs Remote vs Native): New section.
4796 * boards/local-board.exp: New file, with bits factored out from
4797 ...
4798 * boards/native-extended-gdbserver.exp: ... here. Load
4799 "local-board".
4800 * boards/native-gdbserver.exp: Load "local-board".
4801 (${board}_spawn, ${board}_exec): Delete.
4802 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4803 ...
4804 * boards/stdio-gdbserver-base.exp: ... this new file.
4805 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4806 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4807 procedure.
4808 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4809 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4810 stdio_gdbserver_command.
4811 (${board}_get_remote_address, ${board}_get_comm_port)
4812 (${board}_download, ${board}_upload): Delete.
4813 (get_target_remote_pipe_cmd): New.
4814
4815 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4816
4817 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4818 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4819 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4820 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4821 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4822 remove with_test_prefix.
4823
4824 2017-10-13 Pedro Alves <palves@redhat.com>
4825
4826 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4827 * gdb.base/annota1.exp: Use it instead of is_remote.
4828 * gdb.base/annota3.exp: Use it instead of is_remote.
4829 * gdb.cp/annota2.exp: Use it instead of is_remote.
4830 * gdb.cp/annota3.exp: Use it instead of is_remote.
4831 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4832
4833 2017-10-13 Pedro Alves <palves@redhat.com>
4834
4835 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4836 (test_num_test_vars, run_and_count_vars, find_env)
4837 (test_set_unset_env, test_inherit_env_var): New procedures.
4838 (top level): Use them.
4839
4840 2017-10-13 Pedro Alves <palves@redhat.com>
4841
4842 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4843 also skip on stub-like targets.
4844
4845 2017-10-13 Pedro Alves <palves@redhat.com>
4846
4847 PR gdb/22293
4848 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4849 (top level): Move some tests to ...
4850 (test_not_found): ... this new procedure.
4851 (top level): Call it.
4852
4853 2017-10-13 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4856 expect different "info terminal" output if testing with a
4857 non-native target.
4858
4859 2017-10-13 Pedro Alves <palves@redhat.com>
4860 Simon Marchi <simon.marchi@polymtl.ca>
4861
4862 PR python/12966
4863 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4864
4865 2017-10-13 Pedro Alves <palves@redhat.com>
4866
4867 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4868 already.
4869
4870 2017-10-13 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4873 is_remote.
4874
4875 2017-10-13 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4878 is_remote.
4879
4880 2017-10-13 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4883 is set.
4884 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4885 instead of is_remote.
4886
4887 2017-10-13 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4890 (top level): Add comment.
4891
4892 2017-10-13 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.base/remote.exp (top level): Fix comment typo and add
4895 missing return.
4896
4897 2017-10-13 Pedro Alves <palves@redhat.com>
4898 Simon Marchi <simon.marchi@polymtl.ca>
4899
4900 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4901 calls and add comments. Skip test if use_gdb_stub is set.
4902 (top level): Use "set cwd" command instead of "cd" command.
4903
4904 2017-10-13 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4907 is_remote target check.
4908
4909 2017-10-13 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.base/scope.exp: Use build_executable + clean_restart +
4912 gdb_file_cmd instead of prepare_for_testing and no longer skip
4913 "before run" tests on is_remote target boards. Update comments.
4914 * boards/native-extended-gdbserver.exp
4915 (extended_gdbserver_load_last_file): New, factored out from ...
4916 (gdb_load): ... this. Move further below and add comment.
4917 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4918
4919 2017-10-12 Pedro Alves <palves@redhat.com>
4920
4921 * gdb.base/attach.exp: Remove references to gdb64.
4922 * gdb.base/dbx.exp: Remove references to gdb64.
4923
4924 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4925 Pedro Alves <palves@redhat.com>
4926
4927 * gdb.base/label.exp: Remove is_remote target check.
4928
4929 2017-10-12 Pedro Alves <palves@redhat.com>
4930
4931 * gdb.base/auvx.exp (coredir): Update comment.
4932 (top level) <core_works>: Use "set cwd" command instead of "cd"
4933 command.
4934
4935 2017-10-12 Pedro Alves <palves@redhat.com>
4936 Simon Marchi <simon.marchi@polymtl.ca>
4937
4938 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4939 target boards.
4940
4941 2017-10-12 Pedro Alves <palves@redhat.com>
4942 Simon Marchi <simon.marchi@polymtl.ca>
4943
4944 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4945 Instead skip if there's any gdb_protocol set.
4946
4947 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4948 Pedro Alves <palves@redhat.com>
4949
4950 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4951
4952 2017-10-12 Pedro Alves <palves@redhat.com>
4953 Simon Marchi <simon.marchi@polymtl.ca>
4954
4955 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4956 instead of on dejagnu remote boards.
4957
4958 2017-10-12 Pedro Alves <palves@redhat.com>
4959 Simon Marchi <simon.marchi@polymtl.ca>
4960
4961 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4962 checks. Use build_executable + clean_restart instead of
4963 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4964 of enabling non-stop after starting gdb.
4965
4966 2017-10-12 Pedro Alves <palves@redhat.com>
4967
4968 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4969 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4970 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4971 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4972
4973 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4974
4975 * gdb.arch/arc-tdesc-cpu.exp: New file.
4976 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4977
4978 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4979
4980 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4981
4982 2017-10-10 Pedro Alves <palves@redhat.com>
4983
4984 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4985 expect CLI output.
4986
4987 2017-10-10 Pedro Alves <palves@redhat.com>
4988
4989 * lib/selftest-support.exp (selftest_setup): Update for
4990 captured_command_loop's prototype change.
4991
4992 2017-10-09 Pedro Alves <palves@redhat.com>
4993
4994 Test both arch1=>arch2 and arch2=>arch1.
4995
4996 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4997 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4998 factored out to...
4999 (append_arch1_options, append_arch2_options, append_arch_options)
5000 (build_executables): New procedures.
5001 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5002 local.
5003 (top level): Add new 'first_arch' testing axis.
5004
5005 2017-10-09 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5008 (barrier): New.
5009 (thread_start, all_started): New functions.
5010 (main): Spawn new thread and wait until it is scheduled.
5011 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5012 option.
5013 (do_test): Add 'selected_thread' parameter. Run to all_started
5014 instead of main. Explicitly set the breakpoint at main. Switch
5015 to the SELECTED_THREAD thread.
5016 (top level): Test handling the exec event with either the main
5017 thread or the second thread selected.
5018
5019 2017-10-09 Pedro Alves <palves@redhat.com>
5020
5021 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5022 logic. Move STOP marker after the value checks.
5023 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5024 regexp.
5025
5026 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5027
5028 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5029
5030 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5031
5032 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5033 integer-to-dfp conversion.
5034 * gdb.base/dfp-test.exp: Likewise.
5035
5036 2017-10-04 Pedro Alves <palves@redhat.com>
5037
5038 * gdb.multi/hangout.c: Include <unistd.h>.
5039 (hangout_loop): New function.
5040 (main): Call alarm. Call hangout_loop in a loop.
5041 * gdb.multi/hello.c: Include <unistd.h>.
5042 (hello_loop): New function.
5043 (main): Call alarm. Call hangout_loop in a loop.
5044 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5045 inferior with the other selected.
5046
5047 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5048
5049 * gdb.mi/list-thread-groups-available.exp: New file.
5050 * gdb.mi/list-thread-groups-available.c: New file.
5051
5052 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5053
5054 * gdb.base/set-cwd.exp: Make it available on
5055 native-extended-gdbserver.
5056
5057 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5058
5059 * gdb.base/set-cwd.c: New file.
5060 * gdb.base/set-cwd.exp: Likewise.
5061
5062 2017-10-02 Tom Tromey <tom@tromey.com>
5063
5064 PR rust/22236:
5065 * gdb.rust/simple.rs (main): New variable "fslice".
5066 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5067
5068 2017-10-02 Tom Tromey <tom@tromey.com>
5069
5070 * gdb.rust/simple.exp: Test ptype of a slice.
5071
5072 2017-10-02 Tom Tromey <tom@tromey.com>
5073
5074 * gdb.rust/simple.exp: Test index of slice.
5075
5076 2017-09-27 Tom Tromey <tom@tromey.com>
5077
5078 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5079
5080 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5081 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.base/compare-sections.exp (get value of read-only section): Read
5084 as unsigned value.
5085 (corrupt read-only section): Likewise and don't set written if patching
5086 failed.
5087
5088 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5089
5090 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5091 files.
5092
5093 2017-09-20 Pedro Alves <palves@redhat.com>
5094
5095 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5096 symbol names in gdb's output.
5097 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5098
5099 2017-09-20 Pedro Alves <palves@redhat.com>
5100
5101 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5102 Rename to ...
5103 (test_list_ambiguous_symbol): ... this and add a symbol name
5104 parameter. Adjust.
5105 (test_list_ambiguous_function): Reimplement on top of
5106 test_list_ambiguous_symbol and also test listing ambiguous
5107 variables.
5108 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5109 (ambiguous_fun): ... this.
5110 (ambiguous_var): New.
5111 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5112 (ambiguous_fun): ... this.
5113 (ambiguous_var): New.
5114
5115 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5116
5117 * gdb.base/starti.c: New file.
5118 * gdb.base/starti.exp: New file.
5119 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5120
5121 2017-09-14 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5124 (top level): Use it instead of runto.
5125
5126 2017-09-11 Tom Tromey <tom@tromey.com>
5127
5128 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5129
5130 2017-09-11 Tom Tromey <tom@tromey.com>
5131
5132 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5133 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5134
5135 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5136
5137 * gdb.fortran/printing-types.exp: New file.
5138 * gdb.fortran/printing-types.exp: New file.
5139
5140 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5141
5142 * gdb.fortran/vla-ptype.exp: Fix typos.
5143 * gdb.fortran/vla-value.exp: Same.
5144
5145 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5146
5147 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5148 * gdb.mi/mi-var-child-f.exp: Likewise.
5149 * gdb.mi/mi-vla-fortran.exp: Likewise.
5150
5151 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5152 Christoph Weinmann <christoph.t.weinmann@intel.com>
5153 Bernhard Heckel <bernhard.heckel@intel.com>
5154
5155 * gdb.fortran/ptr-indentation.f90: New file.
5156 * gdb.fortran/ptr-indentation.exp: New file.
5157
5158 2017-09-05 Tom Tromey <tom@tromey.com>
5159
5160 PR gdb/22010:
5161 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5162
5163 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5164
5165 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5166
5167 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5168
5169 * gdb.threads/tls-nodebug-pie.c: New file.
5170 * gdb.threads/tls-nodebug-pie.exp: New file.
5171
5172 2017-09-05 Tom Tromey <tom@tromey.com>
5173
5174 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5175 for rust.
5176
5177 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5178
5179 * gdb.multi/multi-arch-exec.exp: Test with different
5180 "follow-exec-mode" settings.
5181 (do_test): New procedure.
5182
5183 2017-09-04 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.base/func-static.c (S::method const, S::method volatile)
5186 (S::method volatile const): New methods.
5187 (c_s, v_s, cv_s): New instances.
5188 (main): Call method() on them.
5189 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5190 (cannot_resolve): New procedure.
5191 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5192 print-quote-unquoted columns.
5193 (do_test): Test printing each scope too.
5194
5195 2017-09-04 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.base/local-static.exp: Also test with
5198 class::method::variable wholly quoted.
5199 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5200
5201 2017-09-04 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.base/local-static.c: New.
5204 * gdb.base/local-static.cc: New.
5205 * gdb.base/local-static.exp: New.
5206
5207 2017-09-04 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.asm/asm-source.exp: Add casts to int.
5210 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5211 (dataglobal64_1, dataglobal64_2): New globals.
5212 * gdb.base/nodebug.exp: Test different expressions involving the
5213 new globals, with print, whatis and ptype. Add casts to int.
5214 * gdb.base/solib-display.exp: Add casts to int.
5215 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5216 * gdb.cp/m-static.exp: Add cast to int.
5217 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5218 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5219 tls variable with no debug info without a cast. Test with a cast
5220 to int too.
5221 * gdb.trace/entry-values.exp: Add casts.
5222
5223 2017-09-04 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.base/nodebug.exp: Test that ptype's error about functions
5226 with unknown return type includes the function name too.
5227
5228 2017-09-04 Pedro Alves <palves@redhat.com>
5229
5230 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5231 return type of munmap in infcall.
5232 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5233 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5234 type of ftell in infcall.
5235 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5236 type of getpid in infcall.
5237 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5238 infcall.
5239 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5240 Bail on failure to extract the pid.
5241 * gdb.base/nodebug.c: #include <stdint.h>.
5242 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5243 New functions.
5244 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5245 Change expected output of print/whatis/ptype with functions with
5246 no debug info. Test all supported languages. Call
5247 test_call_promotion.
5248 * gdb.compile/compile.exp: Adjust expected output to expect
5249 warning.
5250 * gdb.threads/siginfo-threads.exp: Likewise.
5251
5252 2017-09-04 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5255 "prototypes". Test calling float functions via prototyped and
5256 unprototyped function pointers.
5257 (perform_all_tests): New parameter "prototypes". Pass it down.
5258 (top level): Pass down "prototypes" parameter to
5259 perform_all_tests.
5260
5261 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5262
5263 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5264 Test with nested loops.
5265
5266 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5267
5268 * gdb.base/commands.exp: Call the new procedures.
5269 (loop_break_test, loop_continue_test): New procedures.
5270
5271 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5272
5273 * gdb.base/commands.exp: Call new procedure.
5274 (define_if_without_arg_test): New procedure.
5275
5276 2017-09-04 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.base/list-ambiguous.exp: New file.
5279 * gdb.base/list-ambiguous0.c: New file.
5280 * gdb.base/list-ambiguous1.c: New file.
5281 * gdb.base/list.exp (test_list_range): Adjust expected output.
5282
5283 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5284
5285 * gdb.base/share-env-with-gdbserver.c: New file.
5286 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5287
5288 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5289
5290 * gdb.base/commands.exp (gdbvar_simple_if_test,
5291 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5292 progvar_simple_if_test, progvar_simple_while_test,
5293 progvar_complex_if_while_test, user_defined_command_test,
5294 user_defined_command_args_eval,
5295 user_defined_command_args_stack_test,
5296 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5297 temporary_breakpoint_commands,
5298 gdb_test_no_prompt, redefine_hook_test,
5299 redefine_backtrace_test): Remove "global gdb_prompt".
5300
5301 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5304 New proc, call it from toplevel.
5305
5306 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5307
5308 PR remote/21852
5309 * gdb.server/normal.c: New file, copied from gdb.base.
5310 * gdb.server/run-without-local-binary.exp: New file.
5311
5312 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5313
5314 * gdb.arch/sparc64-adi.exp: New file.
5315 * gdb.arch/sparc64-adi.c: New file.
5316
5317 2017-08-22 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5320 (top level): Add "list all overloads" tests.
5321
5322 2017-08-22 Tom Tromey <tom@tromey.com>
5323
5324 * gdb.gdb/xfullpath.exp: Remove.
5325
5326 2017-08-21 Pedro Alves <palves@redhat.com>
5327
5328 PR gdb/19487
5329 * gdb.base/symbol-alias.c: New.
5330 * gdb.base/symbol-alias2.c: New.
5331 * gdb.base/symbol-alias.exp: New.
5332
5333 2017-08-21 Pedro Alves <palves@redhat.com>
5334
5335 * gdb.base/dfp-test.c
5336 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5337 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5338 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5339 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5340 * gdb.base/whatis-ptype-typedefs.c: New.
5341 * gdb.base/whatis-ptype-typedefs.exp: New.
5342 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5343 (an_int, an_int_type, an_int_type2): New globals.
5344 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5345 involving typedefs and cast expressions.
5346 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5347 (lookup_typedefs_function): New.
5348 (typedefs_pretty_printers_dict): New.
5349 (top level): Register lookup_typedefs_function in
5350 gdb.pretty_printers.
5351
5352 2017-08-18 Yao Qi <yao.qi@linaro.org>
5353
5354 * gdb.server/unittest.exp: New.
5355
5356 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5357
5358 PR gdb/21954
5359 * gdb.base/environ.exp: Add test to check if 'unset environment'
5360 works.
5361
5362 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5363
5364 * lib/gdb.exp (universal_compile_options): New caching proc.
5365 (gdb_compile): Suppress GCC's coloring of messages.
5366
5367 2017-08-14 Tom Tromey <tom@tromey.com>
5368
5369 PR gdb/21675:
5370 * gdb.base/printcmds.exp (test_radices): New function.
5371 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5372 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5373 * lib/gdb.exp (get_integer_valueof): Use p/d.
5374
5375 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5376
5377 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5378 characters.
5379
5380 2017-08-05 Tom Tromey <tom@tromey.com>
5381
5382 * gdb.rust/simple.exp: Allow String to appear in a different
5383 namespace.
5384
5385 2017-07-26 Yao Qi <yao.qi@linaro.org>
5386
5387 * gdb.gdb/unittest.exp: Invoke command
5388 "maintenance check xml-descriptions".
5389
5390 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5391
5392 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5393 calling context.
5394 (hex128): Drop erroneous calculation of parameters.
5395
5396 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * gdb.python/py-unwind.exp: Disable stack protection when
5399 building test file.
5400
5401 2017-07-20 Pedro Alves <palves@redhat.com>
5402
5403 * gdb.base/default.exp (set language): Adjust expected output.
5404
5405 2017-07-20 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5408 (test_minsym): ... this, and make static.
5409 (get_pck__foo__bar__minsym): Rename to ...
5410 (get_test_minsym): ... this.
5411 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5412 symbol names and comments.
5413 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5414 (get_test_minsym): ... this.
5415 (pck__foo__bar__minsym__2): Rename to ...
5416 (test_minsym): ... this.
5417 (main): Adjust.
5418
5419 2017-07-17 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.base/completion.exp: Adjust expected output.
5422 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5423 the completer works.
5424
5425 2017-07-17 Pedro Alves <palves@redhat.com>
5426
5427 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5428
5429 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5430
5431 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5432
5433 2017-07-14 Tom Tromey <tom@tromey.com>
5434
5435 PR rust/21764:
5436 * gdb.rust/simple.exp: Add tests.
5437
5438 2017-07-14 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5441
5442 2017-07-14 Pedro Alves <palves@redhat.com>
5443
5444 * gdb.linespec/base/one/thefile.cc (z1): New function.
5445 * gdb.linespec/base/two/thefile.cc (z2): New function.
5446 * gdb.linespec/linespec.exp: Add tests.
5447
5448 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5451 to mi_create_breakpoint.
5452
5453 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5454
5455 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5456 mi_create_breakpoint.
5457
5458 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5459
5460 * gdb.dlang/demangle.exp: Update for demangling changes.
5461
5462 2017-07-09 Tom Tromey <tom@tromey.com>
5463
5464 * gdb.dwarf2/shortpiece.exp: New file.
5465
5466 2017-07-06 David Blaikie <dblaikie@gmail.com>
5467
5468 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5469 built from fissiont-multi-cu{1,2}.c.
5470 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5471 except putting 'main' and 'func' in separate CUs in the same DWO file.
5472 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5473 test.
5474 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5475 test.
5476
5477 2017-07-06 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.python/py-unwind.exp: Test flushregs.
5480
5481 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5482
5483 PR cli/21688
5484 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5485 tests for alias commands and trailing whitespace.
5486
5487 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5488
5489 PR cli/21688
5490 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5491 procedure. Call it.
5492
5493 2017-06-29 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.base/printcmds.exp: Add tests.
5496
5497 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5498
5499 PR gdb/21337
5500 * gdb.base/reread-readsym.exp: New file.
5501 * gdb.base/reread-readsym.c: New file.
5502
5503 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5504
5505 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5506 subpattern.
5507
5508 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5509
5510 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5511 extended mnemonic.
5512 * gdb.arch/powerpc-power9.s: Likewise.
5513
5514 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5515
5516 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5517 on 32-bit x86 targets. Exploit is_*_target macros where
5518 appropriate.
5519
5520 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5521
5522 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5523 register pieces.
5524
5525 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5526
5527 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5528 located in one or more DWARF pieces.
5529
5530 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5531
5532 * lib/gdb.exp (get_endianness): New proc.
5533 * gdb.arch/aarch64-fp.exp: Use it.
5534 * gdb.arch/altivec-regs.exp: Likewise.
5535 * gdb.arch/e500-regs.exp: Likewise.
5536 * gdb.arch/vsx-regs.exp: Likewise.
5537 * gdb.base/dump.exp: Likewise.
5538 * gdb.base/funcargs.exp: Likewise.
5539 * gdb.base/gnu_vector.exp: Likewise.
5540 * gdb.dwarf2/formdata16.exp: Likewise.
5541 * gdb.dwarf2/implptrpiece.exp: Likewise.
5542 * gdb.dwarf2/nonvar-access.exp: Likewise.
5543 * gdb.python/py-inferior.exp: Likewise.
5544 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5545
5546 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5547
5548 PR gdb/21226
5549 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5550 stack value pieces are taken from the LSB end.
5551
5552 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5553
5554 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5555 variable at nonzero offset.
5556
5557 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5558
5559 * gdb.dwarf2/var-access.c: New file.
5560 * gdb.dwarf2/var-access.exp: New test.
5561 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5562
5563 2017-06-12 Tom Tromey <tom@tromey.com>
5564
5565 * gdb.dwarf2/formdata16.exp: Add tests.
5566
5567 2017-06-12 Tom Tromey <tom@tromey.com>
5568
5569 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5570
5571 2017-06-12 Tom Tromey <tom@tromey.com>
5572
5573 PR exp/16225:
5574 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5575 * gdb.arch/vsx-regs.exp: Update tests.
5576 * gdb.arch/s390-vregs.exp (hex128): New proc.
5577 Update test.
5578 * gdb.arch/altivec-regs.exp: Update tests.
5579
5580 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5581
5582 * gdb.base/startup-with-shell.c: New file.
5583 * gdb.base/startup-with-shell.exp: Likewise.
5584
5585 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5586
5587 * gdb.server/non-existing-program.exp: Update regex in order to
5588 reflect the fact that gdbserver is now using fork_inferior (with a
5589 shell) to startup the inferior.
5590
5591 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5592
5593 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5594 support function calls from GDB.
5595
5596 2017-05-21 Tom Tromey <tom@tromey.com>
5597
5598 PR rust/21466:
5599 * gdb.rust/unsized.exp: New file.
5600 * gdb.rust/unsized.rs: New file.
5601
5602 2017-05-19 Tom Tromey <tom@tromey.com>
5603
5604 PR rust/21484:
5605 * gdb.rust/watch.exp: New file.
5606 * gdb.rust/watch.rs: New file.
5607
5608 2017-05-18 Tom Tromey <tom@tromey.com>
5609
5610 * gdb.rust/simple.exp: Allow Box to be qualified.
5611
5612 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5613
5614 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5615
5616 2017-05-18 Pedro Alves <palves@redhat.com>
5617
5618 * gdb.base/fileio.c (test_write, test_read, test_close)
5619 (test_fstat): Don't print 'ret' in the fail path.
5620
5621 2017-05-18 Pedro Alves <palves@redhat.com>
5622
5623 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5624 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5625 (test_system, test_rename, test_unlink, test_time): Change
5626 prototypes.
5627 * gdb.base/fileio.exp (stop_msg): Adjust.
5628
5629 2017-05-18 Pedro Alves <palves@redhat.com>
5630
5631 * gdb.base/fileio.c (null_str): New global.
5632 (test_stat): Use it.
5633 * gdb.base/fileio.exp: Remove nowarnings.
5634
5635 2017-05-17 Yao Qi <yao.qi@linaro.org>
5636
5637 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5638
5639 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5640
5641 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5642 argument command.
5643 (top-level): Invoke test_set_inferior_tty.
5644
5645 2017-05-04 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5648 Add parens to print call for Python 3.
5649
5650 2017-05-03 Keith Seitz <keiths@redhat.com>
5651
5652 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5653 (main): Call it.
5654
5655 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5656
5657 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5658 to prev and next.
5659
5660 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5661
5662 * gdb.python/py-record-btrace.exp: Remove test for
5663 gdb.BtraceInstruction.error.
5664
5665 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5666
5667 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5668
5669 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5670
5671 * gdb.python/py-record-btrace-threads.c: New file.
5672 * gdb.python/py-record-btrace-threads.exp: New file.
5673
5674 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5675
5676 PR testsuite/8595
5677 * gdb.base/environ.exp: Make test available in all architectures.
5678 Move bits related to "info program" testing to
5679 gdb.base/info-program.exp. Rewrite tests to use the two new
5680 procedures mentione below.
5681 (test_set_show_env_var) New procedure.
5682 (test_set_show_env_var_equal): Likewise.
5683 * gdb.base/info-program.exp: New file.
5684
5685 2017-04-27 Keith Seitz <keiths@redhat.com>
5686
5687 * gdb.cp/oranking.cc (test15): New function.
5688 (main): Call test15 and declare additional variables for testing.
5689 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5690 "p foo101('abc')" tests.
5691 Add tests for cv qualifier overloads.
5692 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5693 "lvalue reference overload" test.
5694 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5695 "print value of f1 on Child&& in f2" test.
5696
5697 2017-04-19 Pedro Alves <palves@redhat.com>
5698
5699 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5700 procedure.
5701 (top level): Call it.
5702 * lib/gdb.exp (gdb_define_cmd): New procedure.
5703
5704 2017-04-12 Pedro Alves <palves@redhat.com>
5705
5706 PR gdb/21323
5707 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5708 (wchar): New global.
5709 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5710 (do_test_wide_char, wide_char_types_no_program, top level): Add
5711 wchar_t testing.
5712
5713 2017-04-12 Pedro Alves <palves@redhat.com>
5714
5715 PR c++/21323
5716 * gdb.cp/wide_char_types.c: New file.
5717 * gdb.cp/wide_char_types.exp: New file.
5718
5719 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5720
5721 PR gdb/21352
5722 * gdb.trace/tsv.exp: Add test for "tsave -r".
5723
5724 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5725
5726 * gdb.dlang/watch-loc.c: New file.
5727 * gdb.dlang/watch-loc.exp: New file.
5728
5729 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5730
5731 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5732
5733 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5734
5735 * gdb.arch/arc-analyze-prologue.S: New file.
5736 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5737
5738 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5739
5740 * gdb.arch/arc-decode-insn.S: New file.
5741 * gdb.arch/arc-decode-insn.exp: Likewise.
5742
5743 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5744
5745 PR tdep/20928
5746 * gdb.arch/sparc64-regs.exp: New file.
5747 * gdb.arch/sparc64-regs.S: Likewise.
5748
5749 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5750
5751 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5752 and memory view on Python 3.
5753
5754 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5755 Keith Seitz <keiths@redhat.com>
5756
5757 PR gdb/14441
5758 * gdb.cp/demangle.exp: Add rvalue reference tests.
5759 * gdb.cp/rvalue-ref-casts.cc: New file.
5760 * gdb.cp/rvalue-ref-casts.exp: New file.
5761 * gdb.cp/rvalue-ref-overload.cc: New file.
5762 * gdb.cp/rvalue-ref-overload.exp: New file.
5763 * gdb.cp/rvalue-ref-params.cc: New file.
5764 * gdb.cp/rvalue-ref-params.exp: New file.
5765 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5766 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5767 * gdb.cp/rvalue-ref-types.cc: New file.
5768 * gdb.cp/rvalue-ref-types.exp: New file.
5769 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5770 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5771
5772 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5773
5774 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5775 New procedure.
5776
5777 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5778
5779 * lib/mi-support.exp (mi_gdb_test): Add additional message
5780 for unexpected output.
5781
5782 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5783
5784 * gdb.base/examine-backward.c (Barrier): New character array
5785 constant, to ensure that TestStrings is preceded by a string
5786 terminator.
5787
5788 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5789
5790 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5791 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5792 and implicit pointer into such a location.
5793
5794 2017-03-16 Doug Evans <dje@google.com>
5795
5796 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5797
5798 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5799
5800 * gdb.cp/m-static.exp: Fix expectation for prototype of
5801 test5.single_constructor and single_constructor::single_constructor.
5802
5803 2017-03-16 Doug Evans <dje@google.com>
5804
5805 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5806 * gdb.guile/scm-lazy-string.c: New file.
5807 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5808 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5809 for pointer, array, typedef lazy strings.
5810
5811 2017-03-16 Doug Evans <dje@google.com>
5812
5813 PR python/17728, python/18439, python/18779
5814 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5815 * gdb.python/py-lazy-string.c (pointer): New typedef.
5816 (main): New locals ptr, array, typedef_ptr.
5817 * gdb.python/py-value.exp: Move lazy string tests to ...
5818 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5819 array, typedef lazy strings.
5820
5821 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5822
5823 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5824 Add optional 'test' parameter.
5825
5826 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5827
5828 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5829 Skip for versions of DejaGnu < 1.5.
5830
5831 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5832
5833 * lib/gdb.exp (dejagnu_version): New proc.
5834 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5835 Use dejagnu_version.
5836
5837 2017-03-10 Keith Seitz <keiths@redhat.com>
5838
5839 PR c++/8128
5840 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5841 type from destructor regexps.
5842 Add a branch which actually passes the test.
5843 Adjust "ptype t5i" test names.
5844
5845 2017-03-08 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.base/step-over-exit.exp: Add explicit test message.
5848
5849 2017-03-08 Pedro Alves <palves@redhat.com>
5850
5851 PR gdb/18360
5852 * gdb.threads/interrupt-while-step-over.c: New file.
5853 * gdb.threads/interrupt-while-step-over.exp: New file.
5854
5855 2017-03-08 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5858 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5859
5860 2017-03-08 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5863 PKRU as not supported as a PASS.
5864
5865 2017-03-08 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5868 prefix instead of $binfile1/$binfile2.
5869 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5870 in test message.
5871 * gdb.python/py-completion.exp: Use "load python file" as test
5872 messages instead of unstable path names.
5873
5874 2017-03-08 Pedro Alves <palves@redhat.com>
5875 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 PR cli/21218
5878 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5879 New proc.
5880 (top level): Call it.
5881
5882 2017-03-08 Pedro Alves <palves@redhat.com>
5883
5884 PR tui/21216
5885 * gdb.tui/tui-nl-filtered-output.exp: New file.
5886
5887 2017-03-08 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.base/completion.exp: Move TUI completion tests to ...
5890 * gdb.tui/completion.exp: ... this new file.
5891
5892 2017-03-08 Pedro Alves <palves@redhat.com>
5893
5894 * gdb.base/tui-disasm-long-lines.c,
5895 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5896 gdb.base/tui-layout.exp: Move to ...
5897 * gdb.tui/: ... this new directory.
5898
5899 2017-03-07 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.base/tui-layout.c: New file.
5902 * gdb.base/tui-layout.exp: New file.
5903
5904 2017-03-07 Pedro Alves <palves@redhat.com>
5905
5906 * gdb.base/tui-layout.c: Rename to ...
5907 * gdb.base/tui-disasm-long-lines.c: ... this.
5908 * gdb.base/tui-layout.exp: Rename to ...
5909 * gdb.base/tui-disasm-long-lines.exp: ... this.
5910
5911 2017-03-07 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5914
5915 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5916
5917 * i386-mpx-call.c: New file.
5918 * i386-mpx-call.exp: New file.
5919
5920 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5921
5922 * gdb.arch/powerpc-power.exp: Delete test.
5923 * gdb.arch/powerpc-power.s: Likewise.
5924 * gdb.disasm/disassembler-options.exp: New test.
5925 * gdb.arch/powerpc-altivec.exp: Likewise.
5926 * gdb.arch/powerpc-altivec.s: Likewise.
5927 * gdb.arch/powerpc-altivec2.exp: Likewise.
5928 * gdb.arch/powerpc-altivec2.s: Likewise.
5929 * gdb.arch/powerpc-altivec3.exp: Likewise.
5930 * gdb.arch/powerpc-altivec3.s: Likewise.
5931 * gdb.arch/powerpc-power7.exp: Likewise.
5932 * gdb.arch/powerpc-power7.s: Likewise.
5933 * gdb.arch/powerpc-power8.exp: Likewise.
5934 * gdb.arch/powerpc-power8.s: Likewise.
5935 * gdb.arch/powerpc-power9.exp: Likewise.
5936 * gdb.arch/powerpc-power9.s: Likewise.
5937 * gdb.arch/powerpc-vsx.exp: Likewise.
5938 * gdb.arch/powerpc-vsx.s: Likewise.
5939 * gdb.arch/powerpc-vsx2.exp: Likewise.
5940 * gdb.arch/powerpc-vsx2.s: Likewise.
5941 * gdb.arch/powerpc-vsx3.exp: Likewise.
5942 * gdb.arch/powerpc-vsx3.s: Likewise.
5943 * gdb.arch/arm-disassembler-options.exp: Likewise.
5944 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5945 * gdb.arch/s390-disassembler-options.exp: Likewise.
5946
5947 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5948
5949 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5950 (check_supported_features): ... this. Changed return type to void.
5951 (supports_rdseed): New static global.
5952 (rdseed): Check supports_rdseed.
5953 (initialize): Call check_supported_features.
5954
5955 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5956
5957 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5958 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5959 and lqarx/stqcx.
5960 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5961 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5962
5963 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5964
5965 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5966 uppercase.
5967
5968 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 * gdb.dwarf2/formdata16.c: New file.
5971 * gdb.dwarf2/formdata16.exp: New file.
5972 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5973
5974 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5975
5976 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5977 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5978 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5979 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5980 DW_AT_GNU_*.
5981
5982 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5983
5984 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5985
5986 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5987
5988 PR gdb/21164
5989 * gdb.base/maint.exp: Add testcases for when the commands do
5990 not have arguments.
5991
5992 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5993
5994 * gdb.cp/chained-calls.exp: Use p instead of P.
5995
5996 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5997
5998 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5999 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6000
6001 2017-02-14 Tom Tromey <tom@tromey.com>
6002
6003 PR python/13598:
6004 * gdb.python/py-events.exp: Add before_prompt event tests.
6005
6006 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6007
6008 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6009
6010 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6011
6012 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6013 (main): Call my_unique_function_name.
6014 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6015 completion of patterns with a single match.
6016 Add missing -re switches to gdb_test_multiple calls.
6017
6018 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6019
6020 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6021 return if core file is not recognized.
6022
6023 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6024
6025 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6026 and extra UIs.
6027
6028 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6029
6030 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6031 proc_with_prefix.
6032
6033 2017-02-10 Tom Tromey <tom@tromey.com>
6034
6035 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6036
6037 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6038
6039 PR gdb/21122
6040 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6041
6042 2017-02-08 Jerome Guitton <guitton@adacore.com>
6043
6044 * gdb.base/define.exp: Add test for command abbreviations
6045 in define.
6046
6047 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6048
6049 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6050 * gdb.reverse/insn-reverse-x86.c: New file.
6051
6052 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6053
6054 PR tdep/20936
6055 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6056
6057 2017-02-03 Tom Tromey <tom@tromey.com>
6058
6059 PR rust/21097:
6060 * gdb.rust/simple.exp: Add new tests.
6061
6062 2017-02-02 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6065 tests.
6066
6067 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6068
6069 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6070 taking a 2-byte value out of a 4-byte DWARF implicit value on
6071 big-endian targets.
6072 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6073 logic. Add test cases for DW_OP_implicit.
6074
6075 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6076
6077 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6078
6079 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6080
6081 * gdb.btrace/enable.exp: Call gdb_exit before
6082 skip_gdbserver_tests.
6083
6084 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6085
6086 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6087 GDBFLAGS.
6088
6089 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6090
6091 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6092 the test is skipped.
6093 * gdb.btrace/data.exp: Likewise.
6094 * gdb.btrace/delta.exp: Likewise.
6095 * gdb.btrace/dlopen.exp: Likewise.
6096 * gdb.btrace/enable-running.exp: Likewise.
6097 * gdb.btrace/enable.exp: Likewise.
6098 * gdb.btrace/exception.exp: Likewise.
6099 * gdb.btrace/function_call_history.exp: Likewise.
6100 * gdb.btrace/gcore.exp: Likewise.
6101 * gdb.btrace/instruction_history.exp: Likewise.
6102 * gdb.btrace/multi-thread-step.exp: Likewise.
6103 * gdb.btrace/nohist.exp: Likewise.
6104 * gdb.btrace/non-stop.exp: Likewise.
6105 * gdb.btrace/reconnect.exp: Likewise.
6106 * gdb.btrace/record_goto-step.exp: Likewise.
6107 * gdb.btrace/record_goto.exp: Likewise.
6108 * gdb.btrace/rn-dl-bind.exp: Likewise.
6109 * gdb.btrace/segv.exp: Likewise.
6110 * gdb.btrace/step.exp: Likewise.
6111 * gdb.btrace/stepi.exp: Likewise.
6112 * gdb.btrace/tailcall-only.exp: Likewise.
6113 * gdb.btrace/tailcall.exp: Likewise.
6114 * gdb.btrace/tsx.exp: Likewise.
6115 * gdb.btrace/unknown_functions.exp: Likewise.
6116 * gdb.btrace/vdso.exp: Likewise.
6117
6118 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6119
6120 * gdb.btrace/enable-running.c: New.
6121 * gdb.btrace/enable-running.exp: New.
6122
6123 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6124
6125 * gdb.arch/amd64-gs_base.c: New file.
6126 * gdb.arch/amd64-gs_base.exp: New file.
6127
6128 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6129
6130 * lib/memory.exp: Remove spurious empty newlines.
6131
6132 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6133
6134 * gdb.python/py-bad-printers.exp: Load python file using "source".
6135 * gdb.python/py-events.exp: Likewise.
6136 * gdb.python/py-evsignal.exp: Likewise.
6137 * gdb.python/py-evthreads.exp: Likewise.
6138 * gdb.python/py-frame-args.exp: Likewise.
6139 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6140 * gdb.python/py-framefilter-mi.exp: Likewise.
6141 * gdb.python/py-framefilter.exp: Likewise.
6142 * gdb.python/py-mi.exp: Likewise.
6143 * gdb.python/py-pp-maint.exp: Likewise.
6144 * gdb.python/py-pp-registration.exp: Likewise.
6145 * gdb.python/py-prettyprint.exp: Likewise.
6146 (run_lang_tests): Likewise.
6147 * gdb.python/py-typeprint.exp: Likewise.
6148
6149 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6150
6151 * lib/memory.exp: New file.
6152 * lib/gdb.exp: Load memory.exp.
6153 * gdb.base/memattr.exp (delete_memory): Move proc to
6154 lib/memory.exp and rename to delete_memory_regions.
6155 Replace delete_memory with delete_memory_regions.
6156 Cleanup memory regions before tests.
6157 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6158 before tests.
6159
6160 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6161
6162 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6163 files.
6164 (initialize): New function conditionally defined.
6165 (testcases): Move within conditional block.
6166 (main): Call initialize.
6167 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6168 of gdb.reverse/insn-reverse.c.
6169 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6170 gdb.reverse/insn-reverse.c.
6171
6172 2017-01-26 Yao Qi <yao.qi@linaro.org>
6173
6174 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6175 disassemble on address 0.
6176
6177 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6178 Yao Qi <yao.qi@linaro.org>
6179
6180 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6181 * gdb.dwarf2/implptr-64bit.S: Remove.
6182 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6183 variables in caller's context. Add DW_OP_implicit_value.
6184
6185 2017-01-25 Yao Qi <yao.qi@linaro.org>
6186
6187 * lib/dwarf.exp (Dwarf::_location): Handle
6188 DW_OP_GNU_implicit_pointer with proper size.
6189
6190 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6191
6192 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6193 and add untested calls.
6194
6195 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6196
6197 * gdb.python/python.exp: Check line number against what GDB thinks
6198 the line number is for func1.
6199
6200 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6201
6202 * gdb.dlang/debug-expr.exp: New file.
6203
6204 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6205
6206 Fix test names for the following files:
6207
6208 * gdb.ada/exec_changed.exp
6209 * gdb.ada/info_types.exp
6210 * gdb.arch/aarch64-atomic-inst.exp
6211 * gdb.arch/aarch64-fp.exp
6212 * gdb.arch/altivec-abi.exp
6213 * gdb.arch/altivec-regs.exp
6214 * gdb.arch/amd64-byte.exp
6215 * gdb.arch/amd64-disp-step.exp
6216 * gdb.arch/amd64-dword.exp
6217 * gdb.arch/amd64-entry-value-inline.exp
6218 * gdb.arch/amd64-entry-value-param.exp
6219 * gdb.arch/amd64-entry-value-paramref.exp
6220 * gdb.arch/amd64-entry-value.exp
6221 * gdb.arch/amd64-i386-address.exp
6222 * gdb.arch/amd64-invalid-stack-middle.exp
6223 * gdb.arch/amd64-invalid-stack-top.exp
6224 * gdb.arch/amd64-optimout-repeat.exp
6225 * gdb.arch/amd64-prologue-skip.exp
6226 * gdb.arch/amd64-prologue-xmm.exp
6227 * gdb.arch/amd64-stap-special-operands.exp
6228 * gdb.arch/amd64-stap-wrong-subexp.exp
6229 * gdb.arch/amd64-tailcall-cxx.exp
6230 * gdb.arch/amd64-tailcall-noret.exp
6231 * gdb.arch/amd64-tailcall-ret.exp
6232 * gdb.arch/amd64-tailcall-self.exp
6233 * gdb.arch/amd64-word.exp
6234 * gdb.arch/arm-bl-branch-dest.exp
6235 * gdb.arch/arm-disp-step.exp
6236 * gdb.arch/arm-neon.exp
6237 * gdb.arch/arm-single-step-kernel-helper.exp
6238 * gdb.arch/avr-flash-qualifier.exp
6239 * gdb.arch/disp-step-insn-reloc.exp
6240 * gdb.arch/e500-abi.exp
6241 * gdb.arch/e500-regs.exp
6242 * gdb.arch/ftrace-insn-reloc.exp
6243 * gdb.arch/i386-avx512.exp
6244 * gdb.arch/i386-bp_permanent.exp
6245 * gdb.arch/i386-byte.exp
6246 * gdb.arch/i386-cfi-notcurrent.exp
6247 * gdb.arch/i386-disp-step.exp
6248 * gdb.arch/i386-dr3-watch.exp
6249 * gdb.arch/i386-float.exp
6250 * gdb.arch/i386-gnu-cfi.exp
6251 * gdb.arch/i386-mpx-map.exp
6252 * gdb.arch/i386-mpx-sigsegv.exp
6253 * gdb.arch/i386-mpx-simple_segv.exp
6254 * gdb.arch/i386-mpx.exp
6255 * gdb.arch/i386-permbkpt.exp
6256 * gdb.arch/i386-prologue.exp
6257 * gdb.arch/i386-signal.exp
6258 * gdb.arch/i386-size-overlap.exp
6259 * gdb.arch/i386-unwind.exp
6260 * gdb.arch/i386-word.exp
6261 * gdb.arch/mips-fcr.exp
6262 * gdb.arch/powerpc-d128-regs.exp
6263 * gdb.arch/powerpc-stackless.exp
6264 * gdb.arch/ppc64-atomic-inst.exp
6265 * gdb.arch/s390-stackless.exp
6266 * gdb.arch/s390-tdbregs.exp
6267 * gdb.arch/s390-vregs.exp
6268 * gdb.arch/sparc-sysstep.exp
6269 * gdb.arch/thumb-bx-pc.exp
6270 * gdb.arch/thumb-singlestep.exp
6271 * gdb.arch/thumb2-it.exp
6272 * gdb.arch/vsx-regs.exp
6273 * gdb.asm/asm-source.exp
6274 * gdb.base/a2-run.exp
6275 * gdb.base/advance.exp
6276 * gdb.base/all-bin.exp
6277 * gdb.base/anon.exp
6278 * gdb.base/args.exp
6279 * gdb.base/arithmet.exp
6280 * gdb.base/async-shell.exp
6281 * gdb.base/async.exp
6282 * gdb.base/attach-pie-noexec.exp
6283 * gdb.base/attach-twice.exp
6284 * gdb.base/auto-load.exp
6285 * gdb.base/bang.exp
6286 * gdb.base/bitfields.exp
6287 * gdb.base/break-always.exp
6288 * gdb.base/break-caller-line.exp
6289 * gdb.base/break-entry.exp
6290 * gdb.base/break-inline.exp
6291 * gdb.base/break-on-linker-gcd-function.exp
6292 * gdb.base/break-probes.exp
6293 * gdb.base/break.exp
6294 * gdb.base/breakpoint-shadow.exp
6295 * gdb.base/call-ar-st.exp
6296 * gdb.base/call-sc.exp
6297 * gdb.base/call-signal-resume.exp
6298 * gdb.base/call-strs.exp
6299 * gdb.base/callfuncs.exp
6300 * gdb.base/catch-fork-static.exp
6301 * gdb.base/catch-gdb-caused-signals.exp
6302 * gdb.base/catch-load.exp
6303 * gdb.base/catch-signal-fork.exp
6304 * gdb.base/catch-signal.exp
6305 * gdb.base/catch-syscall.exp
6306 * gdb.base/charset.exp
6307 * gdb.base/checkpoint.exp
6308 * gdb.base/chng-syms.exp
6309 * gdb.base/code-expr.exp
6310 * gdb.base/code_elim.exp
6311 * gdb.base/commands.exp
6312 * gdb.base/completion.exp
6313 * gdb.base/complex.exp
6314 * gdb.base/cond-expr.exp
6315 * gdb.base/condbreak.exp
6316 * gdb.base/consecutive.exp
6317 * gdb.base/continue-all-already-running.exp
6318 * gdb.base/coredump-filter.exp
6319 * gdb.base/corefile.exp
6320 * gdb.base/dbx.exp
6321 * gdb.base/debug-expr.exp
6322 * gdb.base/define.exp
6323 * gdb.base/del.exp
6324 * gdb.base/disabled-location.exp
6325 * gdb.base/disasm-end-cu.exp
6326 * gdb.base/disasm-optim.exp
6327 * gdb.base/display.exp
6328 * gdb.base/duplicate-bp.exp
6329 * gdb.base/ena-dis-br.exp
6330 * gdb.base/ending-run.exp
6331 * gdb.base/enumval.exp
6332 * gdb.base/environ.exp
6333 * gdb.base/eu-strip-infcall.exp
6334 * gdb.base/eval-avoid-side-effects.exp
6335 * gdb.base/eval-skip.exp
6336 * gdb.base/exitsignal.exp
6337 * gdb.base/expand-psymtabs.exp
6338 * gdb.base/filesym.exp
6339 * gdb.base/find-unmapped.exp
6340 * gdb.base/finish.exp
6341 * gdb.base/float.exp
6342 * gdb.base/foll-exec-mode.exp
6343 * gdb.base/foll-exec.exp
6344 * gdb.base/foll-fork.exp
6345 * gdb.base/fortran-sym-case.exp
6346 * gdb.base/freebpcmd.exp
6347 * gdb.base/func-ptr.exp
6348 * gdb.base/func-ptrs.exp
6349 * gdb.base/funcargs.exp
6350 * gdb.base/gcore-buffer-overflow.exp
6351 * gdb.base/gcore-relro-pie.exp
6352 * gdb.base/gcore-relro.exp
6353 * gdb.base/gcore.exp
6354 * gdb.base/gdb1090.exp
6355 * gdb.base/gdb11530.exp
6356 * gdb.base/gdb11531.exp
6357 * gdb.base/gdb1821.exp
6358 * gdb.base/gdbindex-stabs.exp
6359 * gdb.base/gdbvars.exp
6360 * gdb.base/hbreak.exp
6361 * gdb.base/hbreak2.exp
6362 * gdb.base/included.exp
6363 * gdb.base/infcall-input.exp
6364 * gdb.base/inferior-died.exp
6365 * gdb.base/infnan.exp
6366 * gdb.base/info-macros.exp
6367 * gdb.base/info-os.exp
6368 * gdb.base/info-proc.exp
6369 * gdb.base/info-shared.exp
6370 * gdb.base/info-target.exp
6371 * gdb.base/infoline.exp
6372 * gdb.base/interp.exp
6373 * gdb.base/interrupt.exp
6374 * gdb.base/jit-reader.exp
6375 * gdb.base/jit-simple.exp
6376 * gdb.base/kill-after-signal.exp
6377 * gdb.base/kill-detach-inferiors-cmd.exp
6378 * gdb.base/label.exp
6379 * gdb.base/langs.exp
6380 * gdb.base/ldbl_e308.exp
6381 * gdb.base/line-symtabs.exp
6382 * gdb.base/linespecs.exp
6383 * gdb.base/list.exp
6384 * gdb.base/long_long.exp
6385 * gdb.base/longest-types.exp
6386 * gdb.base/maint.exp
6387 * gdb.base/max-value-size.exp
6388 * gdb.base/memattr.exp
6389 * gdb.base/mips_pro.exp
6390 * gdb.base/morestack.exp
6391 * gdb.base/moribund-step.exp
6392 * gdb.base/multi-forks.exp
6393 * gdb.base/nested-addr.exp
6394 * gdb.base/nextoverexit.exp
6395 * gdb.base/noreturn-finish.exp
6396 * gdb.base/noreturn-return.exp
6397 * gdb.base/nostdlib.exp
6398 * gdb.base/offsets.exp
6399 * gdb.base/opaque.exp
6400 * gdb.base/pc-fp.exp
6401 * gdb.base/permissions.exp
6402 * gdb.base/print-symbol-loading.exp
6403 * gdb.base/prologue-include.exp
6404 * gdb.base/psymtab.exp
6405 * gdb.base/ptype.exp
6406 * gdb.base/random-signal.exp
6407 * gdb.base/randomize.exp
6408 * gdb.base/range-stepping.exp
6409 * gdb.base/readline-ask.exp
6410 * gdb.base/recpar.exp
6411 * gdb.base/recurse.exp
6412 * gdb.base/relational.exp
6413 * gdb.base/restore.exp
6414 * gdb.base/return-nodebug.exp
6415 * gdb.base/return.exp
6416 * gdb.base/run-after-attach.exp
6417 * gdb.base/save-bp.exp
6418 * gdb.base/scope.exp
6419 * gdb.base/sect-cmd.exp
6420 * gdb.base/set-lang-auto.exp
6421 * gdb.base/set-noassign.exp
6422 * gdb.base/setvar.exp
6423 * gdb.base/sigall.exp
6424 * gdb.base/sigbpt.exp
6425 * gdb.base/siginfo-addr.exp
6426 * gdb.base/siginfo-infcall.exp
6427 * gdb.base/siginfo-obj.exp
6428 * gdb.base/siginfo.exp
6429 * gdb.base/signals-state-child.exp
6430 * gdb.base/signest.exp
6431 * gdb.base/sigstep.exp
6432 * gdb.base/sizeof.exp
6433 * gdb.base/skip.exp
6434 * gdb.base/solib-corrupted.exp
6435 * gdb.base/solib-nodir.exp
6436 * gdb.base/solib-search.exp
6437 * gdb.base/stack-checking.exp
6438 * gdb.base/stale-infcall.exp
6439 * gdb.base/stap-probe.exp
6440 * gdb.base/start.exp
6441 * gdb.base/step-break.exp
6442 * gdb.base/step-bt.exp
6443 * gdb.base/step-line.exp
6444 * gdb.base/step-over-exit.exp
6445 * gdb.base/step-over-syscall.exp
6446 * gdb.base/step-resume-infcall.exp
6447 * gdb.base/step-test.exp
6448 * gdb.base/store.exp
6449 * gdb.base/structs3.exp
6450 * gdb.base/sym-file.exp
6451 * gdb.base/symbol-without-target_section.exp
6452 * gdb.base/term.exp
6453 * gdb.base/testenv.exp
6454 * gdb.base/ui-redirect.exp
6455 * gdb.base/until.exp
6456 * gdb.base/unwindonsignal.exp
6457 * gdb.base/value-double-free.exp
6458 * gdb.base/vla-datatypes.exp
6459 * gdb.base/vla-ptr.exp
6460 * gdb.base/vla-sideeffect.exp
6461 * gdb.base/volatile.exp
6462 * gdb.base/watch-cond-infcall.exp
6463 * gdb.base/watch-cond.exp
6464 * gdb.base/watch-non-mem.exp
6465 * gdb.base/watch-read.exp
6466 * gdb.base/watch-vfork.exp
6467 * gdb.base/watchpoint-cond-gone.exp
6468 * gdb.base/watchpoint-delete.exp
6469 * gdb.base/watchpoint-hw-hit-once.exp
6470 * gdb.base/watchpoint-hw.exp
6471 * gdb.base/watchpoint-stops-at-right-insn.exp
6472 * gdb.base/watchpoints.exp
6473 * gdb.base/wchar.exp
6474 * gdb.base/whatis-exp.exp
6475 * gdb.btrace/buffer-size.exp
6476 * gdb.btrace/data.exp
6477 * gdb.btrace/delta.exp
6478 * gdb.btrace/dlopen.exp
6479 * gdb.btrace/enable.exp
6480 * gdb.btrace/exception.exp
6481 * gdb.btrace/function_call_history.exp
6482 * gdb.btrace/gcore.exp
6483 * gdb.btrace/instruction_history.exp
6484 * gdb.btrace/nohist.exp
6485 * gdb.btrace/reconnect.exp
6486 * gdb.btrace/record_goto-step.exp
6487 * gdb.btrace/record_goto.exp
6488 * gdb.btrace/rn-dl-bind.exp
6489 * gdb.btrace/segv.exp
6490 * gdb.btrace/step.exp
6491 * gdb.btrace/stepi.exp
6492 * gdb.btrace/tailcall-only.exp
6493 * gdb.btrace/tailcall.exp
6494 * gdb.btrace/tsx.exp
6495 * gdb.btrace/unknown_functions.exp
6496 * gdb.btrace/vdso.exp
6497 * gdb.compile/compile-ifunc.exp
6498 * gdb.compile/compile-ops.exp
6499 * gdb.compile/compile-print.exp
6500 * gdb.compile/compile-setjmp.exp
6501 * gdb.cp/abstract-origin.exp
6502 * gdb.cp/ambiguous.exp
6503 * gdb.cp/annota2.exp
6504 * gdb.cp/annota3.exp
6505 * gdb.cp/anon-ns.exp
6506 * gdb.cp/anon-struct.exp
6507 * gdb.cp/anon-union.exp
6508 * gdb.cp/arg-reference.exp
6509 * gdb.cp/baseenum.exp
6510 * gdb.cp/bool.exp
6511 * gdb.cp/breakpoint.exp
6512 * gdb.cp/bs15503.exp
6513 * gdb.cp/call-c.exp
6514 * gdb.cp/casts.exp
6515 * gdb.cp/chained-calls.exp
6516 * gdb.cp/class2.exp
6517 * gdb.cp/classes.exp
6518 * gdb.cp/cmpd-minsyms.exp
6519 * gdb.cp/converts.exp
6520 * gdb.cp/cp-relocate.exp
6521 * gdb.cp/cpcompletion.exp
6522 * gdb.cp/cpexprs.exp
6523 * gdb.cp/cplabel.exp
6524 * gdb.cp/cplusfuncs.exp
6525 * gdb.cp/cpsizeof.exp
6526 * gdb.cp/ctti.exp
6527 * gdb.cp/derivation.exp
6528 * gdb.cp/destrprint.exp
6529 * gdb.cp/dispcxx.exp
6530 * gdb.cp/enum-class.exp
6531 * gdb.cp/exception.exp
6532 * gdb.cp/exceptprint.exp
6533 * gdb.cp/expand-psymtabs-cxx.exp
6534 * gdb.cp/expand-sals.exp
6535 * gdb.cp/extern-c.exp
6536 * gdb.cp/filename.exp
6537 * gdb.cp/formatted-ref.exp
6538 * gdb.cp/fpointer.exp
6539 * gdb.cp/gdb1355.exp
6540 * gdb.cp/gdb2495.exp
6541 * gdb.cp/hang.exp
6542 * gdb.cp/impl-this.exp
6543 * gdb.cp/infcall-dlopen.exp
6544 * gdb.cp/inherit.exp
6545 * gdb.cp/iostream.exp
6546 * gdb.cp/koenig.exp
6547 * gdb.cp/local.exp
6548 * gdb.cp/m-data.exp
6549 * gdb.cp/m-static.exp
6550 * gdb.cp/mb-ctor.exp
6551 * gdb.cp/mb-inline.exp
6552 * gdb.cp/mb-templates.exp
6553 * gdb.cp/member-name.exp
6554 * gdb.cp/member-ptr.exp
6555 * gdb.cp/meth-typedefs.exp
6556 * gdb.cp/method.exp
6557 * gdb.cp/method2.exp
6558 * gdb.cp/minsym-fallback.exp
6559 * gdb.cp/misc.exp
6560 * gdb.cp/namelessclass.exp
6561 * gdb.cp/namespace-enum.exp
6562 * gdb.cp/namespace-nested-import.exp
6563 * gdb.cp/namespace.exp
6564 * gdb.cp/nextoverthrow.exp
6565 * gdb.cp/no-dmgl-verbose.exp
6566 * gdb.cp/non-trivial-retval.exp
6567 * gdb.cp/noparam.exp
6568 * gdb.cp/nsdecl.exp
6569 * gdb.cp/nsimport.exp
6570 * gdb.cp/nsnested.exp
6571 * gdb.cp/nsnoimports.exp
6572 * gdb.cp/nsrecurs.exp
6573 * gdb.cp/nsstress.exp
6574 * gdb.cp/nsusing.exp
6575 * gdb.cp/operator.exp
6576 * gdb.cp/oranking.exp
6577 * gdb.cp/overload-const.exp
6578 * gdb.cp/overload.exp
6579 * gdb.cp/ovldbreak.exp
6580 * gdb.cp/ovsrch.exp
6581 * gdb.cp/paren-type.exp
6582 * gdb.cp/parse-lang.exp
6583 * gdb.cp/pass-by-ref.exp
6584 * gdb.cp/pr-1023.exp
6585 * gdb.cp/pr-1210.exp
6586 * gdb.cp/pr-574.exp
6587 * gdb.cp/pr10687.exp
6588 * gdb.cp/pr12028.exp
6589 * gdb.cp/pr17132.exp
6590 * gdb.cp/pr17494.exp
6591 * gdb.cp/pr9067.exp
6592 * gdb.cp/pr9167.exp
6593 * gdb.cp/pr9631.exp
6594 * gdb.cp/printmethod.exp
6595 * gdb.cp/psmang.exp
6596 * gdb.cp/psymtab-parameter.exp
6597 * gdb.cp/ptype-cv-cp.exp
6598 * gdb.cp/ptype-flags.exp
6599 * gdb.cp/re-set-overloaded.exp
6600 * gdb.cp/ref-types.exp
6601 * gdb.cp/rtti.exp
6602 * gdb.cp/scope-err.exp
6603 * gdb.cp/shadow.exp
6604 * gdb.cp/smartp.exp
6605 * gdb.cp/static-method.exp
6606 * gdb.cp/static-print-quit.exp
6607 * gdb.cp/temargs.exp
6608 * gdb.cp/templates.exp
6609 * gdb.cp/try_catch.exp
6610 * gdb.cp/typedef-operator.exp
6611 * gdb.cp/typeid.exp
6612 * gdb.cp/userdef.exp
6613 * gdb.cp/using-crash.exp
6614 * gdb.cp/var-tag.exp
6615 * gdb.cp/virtbase.exp
6616 * gdb.cp/virtfunc.exp
6617 * gdb.cp/virtfunc2.exp
6618 * gdb.cp/vla-cxx.exp
6619 * gdb.disasm/t01_mov.exp
6620 * gdb.disasm/t02_mova.exp
6621 * gdb.disasm/t03_add.exp
6622 * gdb.disasm/t04_sub.exp
6623 * gdb.disasm/t05_cmp.exp
6624 * gdb.disasm/t06_ari2.exp
6625 * gdb.disasm/t07_ari3.exp
6626 * gdb.disasm/t08_or.exp
6627 * gdb.disasm/t09_xor.exp
6628 * gdb.disasm/t10_and.exp
6629 * gdb.disasm/t11_logs.exp
6630 * gdb.disasm/t12_bit.exp
6631 * gdb.disasm/t13_otr.exp
6632 * gdb.dlang/circular.exp
6633 * gdb.dwarf2/arr-stride.exp
6634 * gdb.dwarf2/arr-subrange.exp
6635 * gdb.dwarf2/atomic-type.exp
6636 * gdb.dwarf2/bad-regnum.exp
6637 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6638 * gdb.dwarf2/callframecfa.exp
6639 * gdb.dwarf2/clztest.exp
6640 * gdb.dwarf2/corrupt.exp
6641 * gdb.dwarf2/data-loc.exp
6642 * gdb.dwarf2/dup-psym.exp
6643 * gdb.dwarf2/dw2-anon-mptr.exp
6644 * gdb.dwarf2/dw2-anonymous-func.exp
6645 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6646 * gdb.dwarf2/dw2-bad-unresolved.exp
6647 * gdb.dwarf2/dw2-basic.exp
6648 * gdb.dwarf2/dw2-canonicalize-type.exp
6649 * gdb.dwarf2/dw2-case-insensitive.exp
6650 * gdb.dwarf2/dw2-common-block.exp
6651 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6652 * gdb.dwarf2/dw2-compressed.exp
6653 * gdb.dwarf2/dw2-const.exp
6654 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6655 * gdb.dwarf2/dw2-cu-size.exp
6656 * gdb.dwarf2/dw2-dup-frame.exp
6657 * gdb.dwarf2/dw2-entry-value.exp
6658 * gdb.dwarf2/dw2-icycle.exp
6659 * gdb.dwarf2/dw2-ifort-parameter.exp
6660 * gdb.dwarf2/dw2-inline-break.exp
6661 * gdb.dwarf2/dw2-inline-param.exp
6662 * gdb.dwarf2/dw2-intercu.exp
6663 * gdb.dwarf2/dw2-intermix.exp
6664 * gdb.dwarf2/dw2-lexical-block-bare.exp
6665 * gdb.dwarf2/dw2-linkage-name-trust.exp
6666 * gdb.dwarf2/dw2-minsym-in-cu.exp
6667 * gdb.dwarf2/dw2-noloc.exp
6668 * gdb.dwarf2/dw2-op-call.exp
6669 * gdb.dwarf2/dw2-op-out-param.exp
6670 * gdb.dwarf2/dw2-opt-structptr.exp
6671 * gdb.dwarf2/dw2-param-error.exp
6672 * gdb.dwarf2/dw2-producer.exp
6673 * gdb.dwarf2/dw2-ranges-base.exp
6674 * gdb.dwarf2/dw2-ref-missing-frame.exp
6675 * gdb.dwarf2/dw2-reg-undefined.exp
6676 * gdb.dwarf2/dw2-regno-invalid.exp
6677 * gdb.dwarf2/dw2-restore.exp
6678 * gdb.dwarf2/dw2-restrict.exp
6679 * gdb.dwarf2/dw2-single-line-discriminators.exp
6680 * gdb.dwarf2/dw2-strp.exp
6681 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6682 * gdb.dwarf2/dw2-unresolved.exp
6683 * gdb.dwarf2/dw2-var-zero-addr.exp
6684 * gdb.dwarf2/dw4-sig-types.exp
6685 * gdb.dwarf2/dwz.exp
6686 * gdb.dwarf2/dynarr-ptr.exp
6687 * gdb.dwarf2/enum-type.exp
6688 * gdb.dwarf2/gdb-index.exp
6689 * gdb.dwarf2/implptr-64bit.exp
6690 * gdb.dwarf2/implptr-optimized-out.exp
6691 * gdb.dwarf2/implptr.exp
6692 * gdb.dwarf2/implref-array.exp
6693 * gdb.dwarf2/implref-const.exp
6694 * gdb.dwarf2/implref-global.exp
6695 * gdb.dwarf2/implref-struct.exp
6696 * gdb.dwarf2/mac-fileno.exp
6697 * gdb.dwarf2/main-subprogram.exp
6698 * gdb.dwarf2/member-ptr-forwardref.exp
6699 * gdb.dwarf2/method-ptr.exp
6700 * gdb.dwarf2/missing-sig-type.exp
6701 * gdb.dwarf2/nonvar-access.exp
6702 * gdb.dwarf2/opaque-type-lookup.exp
6703 * gdb.dwarf2/pieces-optimized-out.exp
6704 * gdb.dwarf2/pieces.exp
6705 * gdb.dwarf2/pr10770.exp
6706 * gdb.dwarf2/pr13961.exp
6707 * gdb.dwarf2/staticvirtual.exp
6708 * gdb.dwarf2/subrange.exp
6709 * gdb.dwarf2/symtab-producer.exp
6710 * gdb.dwarf2/trace-crash.exp
6711 * gdb.dwarf2/typeddwarf.exp
6712 * gdb.dwarf2/valop.exp
6713 * gdb.dwarf2/watch-notconst.exp
6714 * gdb.fortran/array-element.exp
6715 * gdb.fortran/charset.exp
6716 * gdb.fortran/common-block.exp
6717 * gdb.fortran/complex.exp
6718 * gdb.fortran/derived-type-function.exp
6719 * gdb.fortran/derived-type.exp
6720 * gdb.fortran/logical.exp
6721 * gdb.fortran/module.exp
6722 * gdb.fortran/multi-dim.exp
6723 * gdb.fortran/nested-funcs.exp
6724 * gdb.fortran/print-formatted.exp
6725 * gdb.fortran/subarray.exp
6726 * gdb.fortran/vla-alloc-assoc.exp
6727 * gdb.fortran/vla-datatypes.exp
6728 * gdb.fortran/vla-history.exp
6729 * gdb.fortran/vla-ptr-info.exp
6730 * gdb.fortran/vla-ptype-sub.exp
6731 * gdb.fortran/vla-ptype.exp
6732 * gdb.fortran/vla-sizeof.exp
6733 * gdb.fortran/vla-type.exp
6734 * gdb.fortran/vla-value-sub-arbitrary.exp
6735 * gdb.fortran/vla-value-sub-finish.exp
6736 * gdb.fortran/vla-value-sub.exp
6737 * gdb.fortran/vla-value.exp
6738 * gdb.fortran/whatis_type.exp
6739 * gdb.go/chan.exp
6740 * gdb.go/handcall.exp
6741 * gdb.go/hello.exp
6742 * gdb.go/integers.exp
6743 * gdb.go/methods.exp
6744 * gdb.go/package.exp
6745 * gdb.go/strings.exp
6746 * gdb.go/types.exp
6747 * gdb.go/unsafe.exp
6748 * gdb.guile/scm-arch.exp
6749 * gdb.guile/scm-block.exp
6750 * gdb.guile/scm-breakpoint.exp
6751 * gdb.guile/scm-cmd.exp
6752 * gdb.guile/scm-disasm.exp
6753 * gdb.guile/scm-equal.exp
6754 * gdb.guile/scm-frame-args.exp
6755 * gdb.guile/scm-frame-inline.exp
6756 * gdb.guile/scm-frame.exp
6757 * gdb.guile/scm-iterator.exp
6758 * gdb.guile/scm-math.exp
6759 * gdb.guile/scm-objfile.exp
6760 * gdb.guile/scm-ports.exp
6761 * gdb.guile/scm-symbol.exp
6762 * gdb.guile/scm-symtab.exp
6763 * gdb.guile/scm-value-cc.exp
6764 * gdb.guile/types-module.exp
6765 * gdb.linespec/break-ask.exp
6766 * gdb.linespec/cpexplicit.exp
6767 * gdb.linespec/explicit.exp
6768 * gdb.linespec/keywords.exp
6769 * gdb.linespec/linespec.exp
6770 * gdb.linespec/ls-dollar.exp
6771 * gdb.linespec/ls-errs.exp
6772 * gdb.linespec/skip-two.exp
6773 * gdb.linespec/thread.exp
6774 * gdb.mi/mi-async.exp
6775 * gdb.mi/mi-basics.exp
6776 * gdb.mi/mi-break.exp
6777 * gdb.mi/mi-catch-load.exp
6778 * gdb.mi/mi-cli.exp
6779 * gdb.mi/mi-cmd-param-changed.exp
6780 * gdb.mi/mi-console.exp
6781 * gdb.mi/mi-detach.exp
6782 * gdb.mi/mi-disassemble.exp
6783 * gdb.mi/mi-eval.exp
6784 * gdb.mi/mi-file-transfer.exp
6785 * gdb.mi/mi-file.exp
6786 * gdb.mi/mi-fill-memory.exp
6787 * gdb.mi/mi-inheritance-syntax-error.exp
6788 * gdb.mi/mi-linespec-err-cp.exp
6789 * gdb.mi/mi-logging.exp
6790 * gdb.mi/mi-memory-changed.exp
6791 * gdb.mi/mi-read-memory.exp
6792 * gdb.mi/mi-record-changed.exp
6793 * gdb.mi/mi-reg-undefined.exp
6794 * gdb.mi/mi-regs.exp
6795 * gdb.mi/mi-return.exp
6796 * gdb.mi/mi-reverse.exp
6797 * gdb.mi/mi-simplerun.exp
6798 * gdb.mi/mi-solib.exp
6799 * gdb.mi/mi-stack.exp
6800 * gdb.mi/mi-stepi.exp
6801 * gdb.mi/mi-syn-frame.exp
6802 * gdb.mi/mi-until.exp
6803 * gdb.mi/mi-var-block.exp
6804 * gdb.mi/mi-var-child.exp
6805 * gdb.mi/mi-var-cmd.exp
6806 * gdb.mi/mi-var-cp.exp
6807 * gdb.mi/mi-var-display.exp
6808 * gdb.mi/mi-var-invalidate.exp
6809 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6810 * gdb.mi/mi-vla-fortran.exp
6811 * gdb.mi/mi-watch.exp
6812 * gdb.mi/mi2-var-child.exp
6813 * gdb.mi/user-selected-context-sync.exp
6814 * gdb.modula2/unbounded-array.exp
6815 * gdb.multi/dummy-frame-restore.exp
6816 * gdb.multi/multi-arch-exec.exp
6817 * gdb.multi/multi-arch.exp
6818 * gdb.multi/tids.exp
6819 * gdb.multi/watchpoint-multi.exp
6820 * gdb.opencl/callfuncs.exp
6821 * gdb.opencl/convs_casts.exp
6822 * gdb.opencl/datatypes.exp
6823 * gdb.opencl/operators.exp
6824 * gdb.opencl/vec_comps.exp
6825 * gdb.opt/clobbered-registers-O2.exp
6826 * gdb.opt/inline-break.exp
6827 * gdb.opt/inline-bt.exp
6828 * gdb.opt/inline-cmds.exp
6829 * gdb.opt/inline-locals.exp
6830 * gdb.pascal/case-insensitive-symbols.exp
6831 * gdb.pascal/floats.exp
6832 * gdb.pascal/gdb11492.exp
6833 * gdb.python/lib-types.exp
6834 * gdb.python/py-arch.exp
6835 * gdb.python/py-as-string.exp
6836 * gdb.python/py-bad-printers.exp
6837 * gdb.python/py-block.exp
6838 * gdb.python/py-breakpoint-create-fail.exp
6839 * gdb.python/py-breakpoint.exp
6840 * gdb.python/py-caller-is.exp
6841 * gdb.python/py-cmd.exp
6842 * gdb.python/py-explore-cc.exp
6843 * gdb.python/py-explore.exp
6844 * gdb.python/py-finish-breakpoint.exp
6845 * gdb.python/py-finish-breakpoint2.exp
6846 * gdb.python/py-frame-args.exp
6847 * gdb.python/py-frame-inline.exp
6848 * gdb.python/py-frame.exp
6849 * gdb.python/py-framefilter-mi.exp
6850 * gdb.python/py-infthread.exp
6851 * gdb.python/py-lazy-string.exp
6852 * gdb.python/py-linetable.exp
6853 * gdb.python/py-mi-events.exp
6854 * gdb.python/py-mi-objfile.exp
6855 * gdb.python/py-mi.exp
6856 * gdb.python/py-objfile.exp
6857 * gdb.python/py-pp-integral.exp
6858 * gdb.python/py-pp-maint.exp
6859 * gdb.python/py-pp-re-notag.exp
6860 * gdb.python/py-pp-registration.exp
6861 * gdb.python/py-recurse-unwind.exp
6862 * gdb.python/py-strfns.exp
6863 * gdb.python/py-symbol.exp
6864 * gdb.python/py-symtab.exp
6865 * gdb.python/py-sync-interp.exp
6866 * gdb.python/py-typeprint.exp
6867 * gdb.python/py-unwind-maint.exp
6868 * gdb.python/py-unwind.exp
6869 * gdb.python/py-value-cc.exp
6870 * gdb.python/py-xmethods.exp
6871 * gdb.reverse/amd64-tailcall-reverse.exp
6872 * gdb.reverse/break-precsave.exp
6873 * gdb.reverse/break-reverse.exp
6874 * gdb.reverse/consecutive-precsave.exp
6875 * gdb.reverse/consecutive-reverse.exp
6876 * gdb.reverse/finish-precsave.exp
6877 * gdb.reverse/finish-reverse-bkpt.exp
6878 * gdb.reverse/finish-reverse.exp
6879 * gdb.reverse/fstatat-reverse.exp
6880 * gdb.reverse/getresuid-reverse.exp
6881 * gdb.reverse/i386-precsave.exp
6882 * gdb.reverse/i386-reverse.exp
6883 * gdb.reverse/i386-sse-reverse.exp
6884 * gdb.reverse/i387-env-reverse.exp
6885 * gdb.reverse/i387-stack-reverse.exp
6886 * gdb.reverse/insn-reverse.exp
6887 * gdb.reverse/machinestate-precsave.exp
6888 * gdb.reverse/machinestate.exp
6889 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6890 * gdb.reverse/pipe-reverse.exp
6891 * gdb.reverse/readv-reverse.exp
6892 * gdb.reverse/recvmsg-reverse.exp
6893 * gdb.reverse/rerun-prec.exp
6894 * gdb.reverse/s390-mvcle.exp
6895 * gdb.reverse/step-precsave.exp
6896 * gdb.reverse/step-reverse.exp
6897 * gdb.reverse/time-reverse.exp
6898 * gdb.reverse/until-precsave.exp
6899 * gdb.reverse/until-reverse.exp
6900 * gdb.reverse/waitpid-reverse.exp
6901 * gdb.reverse/watch-precsave.exp
6902 * gdb.reverse/watch-reverse.exp
6903 * gdb.rust/generics.exp
6904 * gdb.rust/methods.exp
6905 * gdb.rust/modules.exp
6906 * gdb.rust/simple.exp
6907 * gdb.server/connect-with-no-symbol-file.exp
6908 * gdb.server/ext-attach.exp
6909 * gdb.server/ext-restart.exp
6910 * gdb.server/ext-wrapper.exp
6911 * gdb.server/file-transfer.exp
6912 * gdb.server/server-exec-info.exp
6913 * gdb.server/server-kill.exp
6914 * gdb.server/server-mon.exp
6915 * gdb.server/wrapper.exp
6916 * gdb.stabs/exclfwd.exp
6917 * gdb.stabs/gdb11479.exp
6918 * gdb.threads/clone-new-thread-event.exp
6919 * gdb.threads/corethreads.exp
6920 * gdb.threads/current-lwp-dead.exp
6921 * gdb.threads/dlopen-libpthread.exp
6922 * gdb.threads/gcore-thread.exp
6923 * gdb.threads/sigstep-threads.exp
6924 * gdb.threads/watchpoint-fork.exp
6925 * gdb.trace/actions-changed.exp
6926 * gdb.trace/backtrace.exp
6927 * gdb.trace/change-loc.exp
6928 * gdb.trace/circ.exp
6929 * gdb.trace/collection.exp
6930 * gdb.trace/disconnected-tracing.exp
6931 * gdb.trace/ftrace.exp
6932 * gdb.trace/mi-trace-frame-collected.exp
6933 * gdb.trace/mi-trace-unavailable.exp
6934 * gdb.trace/mi-traceframe-changed.exp
6935 * gdb.trace/mi-tsv-changed.exp
6936 * gdb.trace/no-attach-trace.exp
6937 * gdb.trace/passc-dyn.exp
6938 * gdb.trace/qtro.exp
6939 * gdb.trace/range-stepping.exp
6940 * gdb.trace/read-memory.exp
6941 * gdb.trace/save-trace.exp
6942 * gdb.trace/signal.exp
6943 * gdb.trace/status-stop.exp
6944 * gdb.trace/tfile.exp
6945 * gdb.trace/trace-break.exp
6946 * gdb.trace/trace-buffer-size.exp
6947 * gdb.trace/trace-condition.exp
6948 * gdb.trace/tracefile-pseudo-reg.exp
6949 * gdb.trace/tstatus.exp
6950 * gdb.trace/unavailable.exp
6951 * gdb.trace/while-dyn.exp
6952 * gdb.trace/while-stepping.exp
6953
6954 2016-12-22 Doug Evans <xdje42@gmail.com>
6955
6956 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6957 and msymbols.
6958
6959 2016-12-19 Yao Qi <yao.qi@linaro.org>
6960
6961 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6962 (test_with_self): Don't call do_steps_and_nexts, and remove
6963 code about stepping into xmalloc.
6964
6965 2016-12-09 Yao Qi <yao.qi@linaro.org>
6966
6967 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6968
6969 2016-12-09 Yao Qi <yao.qi@linaro.org>
6970
6971 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6972
6973 2016-12-09 Pedro Alves <palves@redhat.com>
6974
6975 * gdb.base/all-architectures-0.exp: New file.
6976 * gdb.base/all-architectures-1.exp: New file.
6977 * gdb.base/all-architectures-2.exp: New file.
6978 * gdb.base/all-architectures-3.exp: New file.
6979 * gdb.base/all-architectures-4.exp: New file.
6980 * gdb.base/all-architectures-5.exp: New file.
6981 * gdb.base/all-architectures-6.exp: New file.
6982 * gdb.base/all-architectures-7.exp: New file.
6983 * gdb.base/all-architectures.exp.in: New file.
6984
6985 2016-12-09 Yao Qi <yao.qi@linaro.org>
6986
6987 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6988
6989 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6990
6991 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6992 possible.
6993 Remove useless pattern-matching code.
6994
6995 2016-12-02 Pedro Alves <palves@redhat.com>
6996
6997 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6998 procedure.
6999 (top level): Call it.
7000
7001 2016-12-02 Pedro Alves <palves@redhat.com>
7002
7003 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7004 New procedure.
7005 (top level): Call it.
7006
7007 2016-12-02 Pedro Alves <palves@redhat.com>
7008
7009 PR cli/20559
7010 * gdb.base/commands.exp (user_defined_command_args_eval): New
7011 procedure.
7012 (top level): Call it.
7013
7014 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7015
7016 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7017 timeout handling.
7018
7019 2016-12-02 Tom Tromey <tom@tromey.com>
7020
7021 * gdb.dwarf2/main-subprogram.c: New file.
7022 * gdb.dwarf2/main-subprogram.exp: New file.
7023
7024 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7025
7026 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7027 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7028 gdb_test_no_output for a couple of cases.
7029 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7030
7031 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7032
7033 Fix test names and standardize compilation error messages throughout
7034 the following files:
7035
7036 * gdb.ada/start.exp
7037 * gdb.arch/alpha-step.exp
7038 * gdb.arch/e500-prologue.exp
7039 * gdb.arch/ftrace-insn-reloc.exp
7040 * gdb.arch/gdb1291.exp
7041 * gdb.arch/gdb1431.exp
7042 * gdb.arch/gdb1558.exp
7043 * gdb.arch/i386-dr3-watch.exp
7044 * gdb.arch/i386-sse-stack-align.exp
7045 * gdb.arch/ia64-breakpoint-shadow.exp
7046 * gdb.arch/pa-nullify.exp
7047 * gdb.arch/powerpc-aix-prologue.exp
7048 * gdb.arch/thumb-bx-pc.exp
7049 * gdb.base/annota1.exp
7050 * gdb.base/annota3.exp
7051 * gdb.base/arrayidx.exp
7052 * gdb.base/assign.exp
7053 * gdb.base/attach.exp
7054 * gdb.base/auxv.exp
7055 * gdb.base/bang.exp
7056 * gdb.base/bfp-test.exp
7057 * gdb.base/bigcore.exp
7058 * gdb.base/bitfields2.exp
7059 * gdb.base/break-fun-addr.exp
7060 * gdb.base/break-probes.exp
7061 * gdb.base/call-rt-st.exp
7062 * gdb.base/callexit.exp
7063 * gdb.base/catch-fork-kill.exp
7064 * gdb.base/charset.exp
7065 * gdb.base/checkpoint.exp
7066 * gdb.base/comprdebug.exp
7067 * gdb.base/constvars.exp
7068 * gdb.base/coredump-filter.exp
7069 * gdb.base/cursal.exp
7070 * gdb.base/cvexpr.exp
7071 * gdb.base/detach.exp
7072 * gdb.base/display.exp
7073 * gdb.base/dmsym.exp
7074 * gdb.base/dprintf-pending.exp
7075 * gdb.base/dso2dso.exp
7076 * gdb.base/dtrace-probe.exp
7077 * gdb.base/dump.exp
7078 * gdb.base/enum_cond.exp
7079 * gdb.base/exe-lock.exp
7080 * gdb.base/exec-invalid-sysroot.exp
7081 * gdb.base/execl-update-breakpoints.exp
7082 * gdb.base/exprs.exp
7083 * gdb.base/fileio.exp
7084 * gdb.base/find.exp
7085 * gdb.base/finish.exp
7086 * gdb.base/fixsection.exp
7087 * gdb.base/foll-vfork.exp
7088 * gdb.base/frame-args.exp
7089 * gdb.base/gcore.exp
7090 * gdb.base/gdb1250.exp
7091 * gdb.base/global-var-nested-by-dso.exp
7092 * gdb.base/gnu-ifunc.exp
7093 * gdb.base/hashline1.exp
7094 * gdb.base/hashline2.exp
7095 * gdb.base/hashline3.exp
7096 * gdb.base/hbreak-in-shr-unsupported.exp
7097 * gdb.base/huge.exp
7098 * gdb.base/infcall-input.exp
7099 * gdb.base/info-fun.exp
7100 * gdb.base/info-shared.exp
7101 * gdb.base/jit-simple.exp
7102 * gdb.base/jit-so.exp
7103 * gdb.base/jit.exp
7104 * gdb.base/jump.exp
7105 * gdb.base/label.exp
7106 * gdb.base/lineinc.exp
7107 * gdb.base/logical.exp
7108 * gdb.base/longjmp.exp
7109 * gdb.base/macscp.exp
7110 * gdb.base/miscexprs.exp
7111 * gdb.base/new-ui-echo.exp
7112 * gdb.base/new-ui-pending-input.exp
7113 * gdb.base/new-ui.exp
7114 * gdb.base/nodebug.exp
7115 * gdb.base/nofield.exp
7116 * gdb.base/offsets.exp
7117 * gdb.base/overlays.exp
7118 * gdb.base/pending.exp
7119 * gdb.base/pointers.exp
7120 * gdb.base/pr11022.exp
7121 * gdb.base/printcmds.exp
7122 * gdb.base/prologue.exp
7123 * gdb.base/ptr-typedef.exp
7124 * gdb.base/realname-expand.exp
7125 * gdb.base/relativedebug.exp
7126 * gdb.base/relocate.exp
7127 * gdb.base/remote.exp
7128 * gdb.base/reread.exp
7129 * gdb.base/return2.exp
7130 * gdb.base/savedregs.exp
7131 * gdb.base/sep.exp
7132 * gdb.base/sepdebug.exp
7133 * gdb.base/sepsymtab.exp
7134 * gdb.base/set-inferior-tty.exp
7135 * gdb.base/setshow.exp
7136 * gdb.base/shlib-call.exp
7137 * gdb.base/sigaltstack.exp
7138 * gdb.base/siginfo-addr.exp
7139 * gdb.base/signals.exp
7140 * gdb.base/signull.exp
7141 * gdb.base/sigrepeat.exp
7142 * gdb.base/so-impl-ld.exp
7143 * gdb.base/solib-display.exp
7144 * gdb.base/solib-overlap.exp
7145 * gdb.base/solib-search.exp
7146 * gdb.base/solib-symbol.exp
7147 * gdb.base/structs.exp
7148 * gdb.base/structs2.exp
7149 * gdb.base/symtab-search-order.exp
7150 * gdb.base/twice.exp
7151 * gdb.base/unload.exp
7152 * gdb.base/varargs.exp
7153 * gdb.base/watchpoint-solib.exp
7154 * gdb.base/watchpoint.exp
7155 * gdb.base/whatis.exp
7156 * gdb.base/wrong_frame_bt_full.exp
7157 * gdb.btrace/dlopen.exp
7158 * gdb.cell/ea-standalone.exp
7159 * gdb.cell/ea-test.exp
7160 * gdb.cp/dispcxx.exp
7161 * gdb.cp/gdb2384.exp
7162 * gdb.cp/method2.exp
7163 * gdb.cp/nextoverthrow.exp
7164 * gdb.cp/pr10728.exp
7165 * gdb.disasm/am33.exp
7166 * gdb.disasm/h8300s.exp
7167 * gdb.disasm/mn10300.exp
7168 * gdb.disasm/sh3.exp
7169 * gdb.dwarf2/dw2-dir-file-name.exp
7170 * gdb.fortran/complex.exp
7171 * gdb.fortran/library-module.exp
7172 * gdb.guile/scm-pretty-print.exp
7173 * gdb.guile/scm-symbol.exp
7174 * gdb.guile/scm-type.exp
7175 * gdb.guile/scm-value.exp
7176 * gdb.linespec/linespec.exp
7177 * gdb.mi/gdb701.exp
7178 * gdb.mi/gdb792.exp
7179 * gdb.mi/mi-breakpoint-changed.exp
7180 * gdb.mi/mi-dprintf-pending.exp
7181 * gdb.mi/mi-dprintf.exp
7182 * gdb.mi/mi-exit-code.exp
7183 * gdb.mi/mi-pending.exp
7184 * gdb.mi/mi-solib.exp
7185 * gdb.mi/new-ui-mi-sync.exp
7186 * gdb.mi/pr11022.exp
7187 * gdb.mi/user-selected-context-sync.exp
7188 * gdb.opt/solib-intra-step.exp
7189 * gdb.python/py-events.exp
7190 * gdb.python/py-finish-breakpoint.exp
7191 * gdb.python/py-mi.exp
7192 * gdb.python/py-prettyprint.exp
7193 * gdb.python/py-shared.exp
7194 * gdb.python/py-symbol.exp
7195 * gdb.python/py-template.exp
7196 * gdb.python/py-type.exp
7197 * gdb.python/py-value.exp
7198 * gdb.reverse/solib-precsave.exp
7199 * gdb.reverse/solib-reverse.exp
7200 * gdb.server/solib-list.exp
7201 * gdb.stabs/weird.exp
7202 * gdb.threads/reconnect-signal.exp
7203 * gdb.threads/stepi-random-signal.exp
7204 * gdb.trace/actions.exp
7205 * gdb.trace/ax.exp
7206 * gdb.trace/backtrace.exp
7207 * gdb.trace/change-loc.exp
7208 * gdb.trace/deltrace.exp
7209 * gdb.trace/ftrace-lock.exp
7210 * gdb.trace/ftrace.exp
7211 * gdb.trace/infotrace.exp
7212 * gdb.trace/mi-tracepoint-changed.exp
7213 * gdb.trace/packetlen.exp
7214 * gdb.trace/passcount.exp
7215 * gdb.trace/pending.exp
7216 * gdb.trace/range-stepping.exp
7217 * gdb.trace/report.exp
7218 * gdb.trace/stap-trace.exp
7219 * gdb.trace/tfind.exp
7220 * gdb.trace/trace-break.exp
7221 * gdb.trace/trace-condition.exp
7222 * gdb.trace/trace-enable-disable.exp
7223 * gdb.trace/trace-mt.exp
7224 * gdb.trace/tracecmd.exp
7225 * gdb.trace/tspeed.exp
7226 * gdb.trace/tsv.exp
7227 * lib/perftest.exp
7228
7229 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7230
7231 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7232 with gdb_test_no_output.
7233 Use command as test name.
7234
7235 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7236
7237 Fix test names starting with uppercase throughout the files.
7238
7239 * gdb.ada/assign_1.exp
7240 * gdb.ada/boolean_expr.exp
7241 * gdb.base/arrayidx.exp
7242 * gdb.base/del.exp
7243 * gdb.base/gcore-buffer-overflow.exp
7244 * gdb.base/testenv.exp
7245 * gdb.compile/compile.exp
7246 * gdb.python/py-framefilter-invalidarg.exp
7247 * gdb.python/py-framefilter.exp
7248
7249 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7250
7251 Fix test names starting with uppercase throughout the files.
7252
7253 * gdb.ada/array_return.exp
7254 * gdb.ada/expr_delims.exp
7255 * gdb.ada/mi_dyn_arr.exp
7256 * gdb.ada/mi_interface.exp
7257 * gdb.ada/mi_var_array.exp
7258 * gdb.ada/watch_arg.exp
7259 * gdb.arch/alpha-step.exp
7260 * gdb.arch/altivec-regs.exp
7261 * gdb.arch/e500-regs.exp
7262 * gdb.arch/powerpc-d128-regs.exp
7263 * gdb.base/arrayidx.exp
7264 * gdb.base/break.exp
7265 * gdb.base/checkpoint.exp
7266 * gdb.base/debug-expr.exp
7267 * gdb.base/dmsym.exp
7268 * gdb.base/radix.exp
7269 * gdb.base/sepdebug.exp
7270 * gdb.base/testenv.exp
7271 * gdb.base/watch_thread_num.exp
7272 * gdb.base/watchpoint-cond-gone.exp
7273 * gdb.cell/break.exp
7274 * gdb.cell/ea-cache.exp
7275 * gdb.compile/compile.exp
7276 * gdb.cp/gdb2495.exp
7277 * gdb.gdb/selftest.exp
7278 * gdb.gdb/xfullpath.exp
7279 * gdb.go/hello.exp
7280 * gdb.go/integers.exp
7281 * gdb.objc/basicclass.exp
7282 * gdb.pascal/hello.exp
7283 * gdb.pascal/integers.exp
7284 * gdb.python/py-breakpoint.exp
7285 * gdb.python/py-cmd.exp
7286 * gdb.python/py-linetable.exp
7287 * gdb.python/py-xmethods.exp
7288 * gdb.python/python.exp
7289 * gdb.reverse/consecutive-precsave.exp
7290 * gdb.reverse/finish-precsave.exp
7291 * gdb.reverse/i386-precsave.exp
7292 * gdb.reverse/machinestate-precsave.exp
7293 * gdb.reverse/sigall-precsave.exp
7294 * gdb.reverse/solib-precsave.exp
7295 * gdb.reverse/step-precsave.exp
7296 * gdb.reverse/until-precsave.exp
7297 * gdb.reverse/watch-precsave.exp
7298 * gdb.threads/leader-exit.exp
7299 * gdb.threads/pthreads.exp
7300 * gdb.threads/wp-replication.exp
7301 * gdb.trace/actions.exp
7302 * gdb.trace/mi-tsv-changed.exp
7303 * gdb.trace/tsv.exp
7304
7305 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7306
7307 Fix test names starting with uppercase throughout the files.
7308
7309 * gdb.arch/i386-bp_permanent.exp
7310 * gdb.arch/i386-gnu-cfi.exp
7311 * gdb.base/disasm-end-cu.exp
7312 * gdb.base/macscp.exp
7313 * gdb.base/pending.exp
7314 * gdb.base/watch_thread_num.exp
7315 * gdb.cp/exception.exp
7316 * gdb.cp/gdb2495.exp
7317 * gdb.cp/local.exp
7318 * gdb.python/py-evsignal.exp
7319 * gdb.python/python.exp
7320 * gdb.trace/tracecmd.exp
7321
7322 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7323
7324 Fix test names starting with uppercase throughout the files.
7325
7326 * gdb.base/charset.exp
7327 * gdb.base/eval.exp
7328 * gdb.base/multi-forks.exp
7329 * gdb.guile/scm-progspace.exp
7330 * gdb.opencl/datatypes.exp
7331 * gdb.python/py-block.exp
7332 * gdb.python/py-function.exp
7333 * gdb.python/py-symbol.exp
7334 * gdb.python/py-symtab.exp
7335 * gdb.python/py-xmethods.exp
7336 * gdb.reverse/break-precsave.exp
7337 * gdb.reverse/break-reverse.exp
7338 * gdb.reverse/consecutive-precsave.exp
7339 * gdb.reverse/consecutive-reverse.exp
7340 * gdb.reverse/finish-precsave.exp
7341 * gdb.reverse/finish-reverse-bkpt.exp
7342 * gdb.reverse/finish-reverse.exp
7343 * gdb.reverse/fstatat-reverse.exp
7344 * gdb.reverse/getresuid-reverse.exp
7345 * gdb.reverse/i386-precsave.exp
7346 * gdb.reverse/i386-reverse.exp
7347 * gdb.reverse/i386-sse-reverse.exp
7348 * gdb.reverse/i387-stack-reverse.exp
7349 * gdb.reverse/insn-reverse.exp
7350 * gdb.reverse/machinestate-precsave.exp
7351 * gdb.reverse/machinestate.exp
7352 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7353 * gdb.reverse/pipe-reverse.exp
7354 * gdb.reverse/readv-reverse.exp
7355 * gdb.reverse/recvmsg-reverse.exp
7356 * gdb.reverse/rerun-prec.exp
7357 * gdb.reverse/s390-mvcle.exp
7358 * gdb.reverse/sigall-precsave.exp
7359 * gdb.reverse/sigall-reverse.exp
7360 * gdb.reverse/solib-precsave.exp
7361 * gdb.reverse/solib-reverse.exp
7362 * gdb.reverse/step-precsave.exp
7363 * gdb.reverse/step-reverse.exp
7364 * gdb.reverse/time-reverse.exp
7365 * gdb.reverse/until-precsave.exp
7366 * gdb.reverse/until-reverse.exp
7367 * gdb.reverse/waitpid-reverse.exp
7368 * gdb.reverse/watch-precsave.exp
7369 * gdb.reverse/watch-reverse.exp
7370
7371 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7372
7373 Fix test names starting with uppercase throughout the files.
7374
7375 * gdb.arch/i386-mpx-simple_segv.exp
7376 * gdb.arch/i386-mpx.exp
7377 * gdb.arch/i386-permbkpt.exp
7378 * gdb.arch/pa-nullify.exp
7379 * gdb.arch/powerpc-d128-regs.exp
7380 * gdb.arch/vsx-regs.exp
7381 * gdb.base/bfp-test.exp
7382 * gdb.base/break.exp
7383 * gdb.base/breakpoint-shadow.exp
7384 * gdb.base/callfuncs.exp
7385 * gdb.base/charset.exp
7386 * gdb.base/commands.exp
7387 * gdb.base/completion.exp
7388 * gdb.base/dfp-test.exp
7389 * gdb.base/echo.exp
7390 * gdb.base/ending-run.exp
7391 * gdb.base/eval.exp
7392 * gdb.base/expand-psymtabs.exp
7393 * gdb.base/float128.exp
7394 * gdb.base/floatn.exp
7395 * gdb.base/foll-exec-mode.exp
7396 * gdb.base/gdb1056.exp
7397 * gdb.base/gdb11531.exp
7398 * gdb.base/kill-after-signal.exp
7399 * gdb.base/multi-forks.exp
7400 * gdb.base/overlays.exp
7401 * gdb.base/pending.exp
7402 * gdb.base/sepdebug.exp
7403 * gdb.base/testenv.exp
7404 * gdb.base/valgrind-db-attach.exp
7405 * gdb.base/watch_thread_num.exp
7406 * gdb.base/watchpoint-cond-gone.exp
7407 * gdb.base/watchpoint.exp
7408 * gdb.base/watchpoints.exp
7409 * gdb.cp/arg-reference.exp
7410 * gdb.cp/baseenum.exp
7411 * gdb.cp/operator.exp
7412 * gdb.cp/shadow.exp
7413 * gdb.dwarf2/dw2-op-out-param.exp
7414 * gdb.dwarf2/dw2-reg-undefined.exp
7415 * gdb.go/chan.exp
7416 * gdb.go/hello.exp
7417 * gdb.go/integers.exp
7418 * gdb.go/methods.exp
7419 * gdb.go/package.exp
7420 * gdb.guile/scm-parameter.exp
7421 * gdb.guile/scm-progspace.exp
7422 * gdb.guile/scm-value.exp
7423 * gdb.mi/mi-pending.exp
7424 * gdb.mi/user-selected-context-sync.exp
7425 * gdb.multi/multi-attach.exp
7426 * gdb.multi/tids.exp
7427 * gdb.opt/clobbered-registers-O2.exp
7428 * gdb.pascal/floats.exp
7429 * gdb.pascal/integers.exp
7430 * gdb.python/py-block.exp
7431 * gdb.python/py-events.exp
7432 * gdb.python/py-parameter.exp
7433 * gdb.python/py-symbol.exp
7434 * gdb.python/py-symtab.exp
7435 * gdb.python/py-type.exp
7436 * gdb.python/py-value.exp
7437 * gdb.python/py-xmethods.exp
7438 * gdb.python/python.exp
7439 * gdb.reverse/break-precsave.exp
7440 * gdb.reverse/consecutive-precsave.exp
7441 * gdb.reverse/finish-precsave.exp
7442 * gdb.reverse/i386-precsave.exp
7443 * gdb.reverse/machinestate-precsave.exp
7444 * gdb.reverse/sigall-precsave.exp
7445 * gdb.reverse/solib-precsave.exp
7446 * gdb.reverse/step-precsave.exp
7447 * gdb.reverse/until-precsave.exp
7448 * gdb.reverse/watch-precsave.exp
7449 * gdb.server/ext-attach.exp
7450 * gdb.server/ext-restart.exp
7451 * gdb.server/ext-run.exp
7452 * gdb.server/ext-wrapper.exp
7453 * gdb.stabs/gdb11479.exp
7454 * gdb.stabs/weird.exp
7455 * gdb.threads/attach-many-short-lived-threads.exp
7456 * gdb.threads/kill.exp
7457 * gdb.threads/watchpoint-fork.exp
7458
7459 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7460
7461 Fix test names starting with uppercase throughout all the files below.
7462
7463 * gdb.ada/array_return.exp
7464 * gdb.ada/catch_ex.exp
7465 * gdb.ada/info_exc.exp
7466 * gdb.ada/mi_catch_ex.exp
7467 * gdb.ada/mi_dyn_arr.exp
7468 * gdb.ada/mi_ex_cond.exp
7469 * gdb.ada/mi_exc_info.exp
7470 * gdb.ada/mi_interface.exp
7471 * gdb.ada/mi_task_arg.exp
7472 * gdb.ada/mi_task_info.exp
7473 * gdb.ada/mi_var_array.exp
7474 * gdb.arch/alpha-step.exp
7475 * gdb.arch/amd64-disp-step.exp
7476 * gdb.arch/arm-disp-step.exp
7477 * gdb.arch/disp-step-insn-reloc.exp
7478 * gdb.arch/e500-prologue.exp
7479 * gdb.arch/ftrace-insn-reloc.exp
7480 * gdb.arch/gdb1558.exp
7481 * gdb.arch/i386-bp_permanent.exp
7482 * gdb.arch/i386-disp-step.exp
7483 * gdb.arch/i386-float.exp
7484 * gdb.arch/i386-gnu-cfi.exp
7485 * gdb.arch/ia64-breakpoint-shadow.exp
7486 * gdb.arch/mips16-thunks.exp
7487 * gdb.arch/pa-nullify.exp
7488 * gdb.arch/powerpc-aix-prologue.exp
7489 * gdb.arch/powerpc-power.exp
7490 * gdb.arch/ppc-dfp.exp
7491 * gdb.arch/s390-tdbregs.exp
7492 * gdb.arch/spu-info.exp
7493 * gdb.arch/spu-ls.exp
7494 * gdb.arch/thumb-bx-pc.exp
7495 * gdb.base/advance.exp
7496 * gdb.base/annota-input-while-running.exp
7497 * gdb.base/arrayidx.exp
7498 * gdb.base/asmlabel.exp
7499 * gdb.base/async.exp
7500 * gdb.base/attach-wait-input.exp
7501 * gdb.base/auto-connect-native-target.exp
7502 * gdb.base/batch-preserve-term-settings.exp
7503 * gdb.base/bfp-test.exp
7504 * gdb.base/bigcore.exp
7505 * gdb.base/bp-permanent.exp
7506 * gdb.base/break-always.exp
7507 * gdb.base/break-fun-addr.exp
7508 * gdb.base/break-idempotent.exp
7509 * gdb.base/break-main-file-remove-fail.exp
7510 * gdb.base/break-probes.exp
7511 * gdb.base/break-unload-file.exp
7512 * gdb.base/break.exp
7513 * gdb.base/call-ar-st.exp
7514 * gdb.base/call-rt-st.exp
7515 * gdb.base/call-sc.exp
7516 * gdb.base/call-signal-resume.exp
7517 * gdb.base/call-strs.exp
7518 * gdb.base/callexit.exp
7519 * gdb.base/callfuncs.exp
7520 * gdb.base/catch-gdb-caused-signals.exp
7521 * gdb.base/catch-signal-siginfo-cond.exp
7522 * gdb.base/catch-syscall.exp
7523 * gdb.base/compare-sections.exp
7524 * gdb.base/cond-eval-mode.exp
7525 * gdb.base/condbreak-call-false.exp
7526 * gdb.base/consecutive-step-over.exp
7527 * gdb.base/cursal.exp
7528 * gdb.base/disabled-location.exp
7529 * gdb.base/disasm-end-cu.exp
7530 * gdb.base/display.exp
7531 * gdb.base/double-prompt-target-event-error.exp
7532 * gdb.base/dprintf-bp-same-addr.exp
7533 * gdb.base/dprintf-detach.exp
7534 * gdb.base/dprintf-next.exp
7535 * gdb.base/dprintf-non-stop.exp
7536 * gdb.base/dprintf-pending.exp
7537 * gdb.base/dso2dso.exp
7538 * gdb.base/ending-run.exp
7539 * gdb.base/enum_cond.exp
7540 * gdb.base/examine-backward.exp
7541 * gdb.base/exe-lock.exp
7542 * gdb.base/exec-invalid-sysroot.exp
7543 * gdb.base/execl-update-breakpoints.exp
7544 * gdb.base/execution-termios.exp
7545 * gdb.base/fileio.exp
7546 * gdb.base/fixsection.exp
7547 * gdb.base/foll-exec-mode.exp
7548 * gdb.base/foll-exec.exp
7549 * gdb.base/fork-running-state.exp
7550 * gdb.base/frame-args.exp
7551 * gdb.base/fullpath-expand.exp
7552 * gdb.base/func-ptr.exp
7553 * gdb.base/gcore-relro-pie.exp
7554 * gdb.base/gdb1090.exp
7555 * gdb.base/gdb1555.exp
7556 * gdb.base/global-var-nested-by-dso.exp
7557 * gdb.base/gnu-ifunc.exp
7558 * gdb.base/hbreak-in-shr-unsupported.exp
7559 * gdb.base/hbreak-unmapped.exp
7560 * gdb.base/hook-stop.exp
7561 * gdb.base/infcall-input.exp
7562 * gdb.base/info-fun.exp
7563 * gdb.base/info-shared.exp
7564 * gdb.base/interrupt-noterm.exp
7565 * gdb.base/jit-so.exp
7566 * gdb.base/jit.exp
7567 * gdb.base/line-symtabs.exp
7568 * gdb.base/list.exp
7569 * gdb.base/longjmp.exp
7570 * gdb.base/macscp.exp
7571 * gdb.base/max-value-size.exp
7572 * gdb.base/nodebug.exp
7573 * gdb.base/nofield.exp
7574 * gdb.base/overlays.exp
7575 * gdb.base/paginate-after-ctrl-c-running.exp
7576 * gdb.base/paginate-bg-execution.exp
7577 * gdb.base/paginate-inferior-exit.exp
7578 * gdb.base/pending.exp
7579 * gdb.base/pr11022.exp
7580 * gdb.base/printcmds.exp
7581 * gdb.base/ptr-typedef.exp
7582 * gdb.base/ptype.exp
7583 * gdb.base/randomize.exp
7584 * gdb.base/range-stepping.exp
7585 * gdb.base/realname-expand.exp
7586 * gdb.base/relativedebug.exp
7587 * gdb.base/remote.exp
7588 * gdb.base/savedregs.exp
7589 * gdb.base/sepdebug.exp
7590 * gdb.base/set-noassign.exp
7591 * gdb.base/shlib-call.exp
7592 * gdb.base/shreloc.exp
7593 * gdb.base/sigaltstack.exp
7594 * gdb.base/sigbpt.exp
7595 * gdb.base/siginfo-addr.exp
7596 * gdb.base/siginfo-obj.exp
7597 * gdb.base/siginfo-thread.exp
7598 * gdb.base/signest.exp
7599 * gdb.base/signull.exp
7600 * gdb.base/sigrepeat.exp
7601 * gdb.base/skip.exp
7602 * gdb.base/so-impl-ld.exp
7603 * gdb.base/solib-corrupted.exp
7604 * gdb.base/solib-disc.exp
7605 * gdb.base/solib-display.exp
7606 * gdb.base/solib-overlap.exp
7607 * gdb.base/solib-search.exp
7608 * gdb.base/solib-symbol.exp
7609 * gdb.base/source-execution.exp
7610 * gdb.base/sss-bp-on-user-bp-2.exp
7611 * gdb.base/sss-bp-on-user-bp.exp
7612 * gdb.base/stack-checking.exp
7613 * gdb.base/stale-infcall.exp
7614 * gdb.base/step-break.exp
7615 * gdb.base/step-line.exp
7616 * gdb.base/step-over-exit.exp
7617 * gdb.base/step-test.exp
7618 * gdb.base/structs.exp
7619 * gdb.base/sym-file.exp
7620 * gdb.base/symtab-search-order.exp
7621 * gdb.base/term.exp
7622 * gdb.base/type-opaque.exp
7623 * gdb.base/unload.exp
7624 * gdb.base/until-nodebug.exp
7625 * gdb.base/until.exp
7626 * gdb.base/unwindonsignal.exp
7627 * gdb.base/watch-cond.exp
7628 * gdb.base/watch-non-mem.exp
7629 * gdb.base/watch_thread_num.exp
7630 * gdb.base/watchpoint-reuse-slot.exp
7631 * gdb.base/watchpoint-solib.exp
7632 * gdb.base/watchpoint.exp
7633 * gdb.btrace/dlopen.exp
7634 * gdb.cell/arch.exp
7635 * gdb.cell/break.exp
7636 * gdb.cell/bt.exp
7637 * gdb.cell/core.exp
7638 * gdb.cell/data.exp
7639 * gdb.cell/dwarfaddr.exp
7640 * gdb.cell/ea-cache.exp
7641 * gdb.cell/ea-standalone.exp
7642 * gdb.cell/ea-test.exp
7643 * gdb.cell/f-regs.exp
7644 * gdb.cell/fork.exp
7645 * gdb.cell/gcore.exp
7646 * gdb.cell/mem-access.exp
7647 * gdb.cell/ptype.exp
7648 * gdb.cell/registers.exp
7649 * gdb.cell/sizeof.exp
7650 * gdb.cell/solib-symbol.exp
7651 * gdb.cell/solib.exp
7652 * gdb.compile/compile-tls.exp
7653 * gdb.cp/exception.exp
7654 * gdb.cp/gdb2495.exp
7655 * gdb.cp/local.exp
7656 * gdb.cp/mb-inline.exp
7657 * gdb.cp/mb-templates.exp
7658 * gdb.cp/pr10687.exp
7659 * gdb.cp/pr9167.exp
7660 * gdb.cp/scope-err.exp
7661 * gdb.cp/templates.exp
7662 * gdb.cp/virtfunc.exp
7663 * gdb.dwarf2/dw2-dir-file-name.exp
7664 * gdb.dwarf2/dw2-single-line-discriminators.exp
7665 * gdb.fortran/complex.exp
7666 * gdb.fortran/library-module.exp
7667 * gdb.guile/guile.exp
7668 * gdb.guile/scm-cmd.exp
7669 * gdb.guile/scm-frame-inline.exp
7670 * gdb.guile/scm-objfile.exp
7671 * gdb.guile/scm-pretty-print.exp
7672 * gdb.guile/scm-symbol.exp
7673 * gdb.guile/scm-type.exp
7674 * gdb.guile/scm-value.exp
7675 * gdb.linespec/keywords.exp
7676 * gdb.linespec/ls-errs.exp
7677 * gdb.linespec/macro-relative.exp
7678 * gdb.linespec/thread.exp
7679 * gdb.mi/mi-breakpoint-changed.exp
7680 * gdb.mi/mi-dprintf-pending.exp
7681 * gdb.mi/mi-fullname-deleted.exp
7682 * gdb.mi/mi-logging.exp
7683 * gdb.mi/mi-pending.exp
7684 * gdb.mi/mi-solib.exp
7685 * gdb.mi/new-ui-mi-sync.exp
7686 * gdb.mi/user-selected-context-sync.exp
7687 * gdb.multi/dummy-frame-restore.exp
7688 * gdb.multi/multi-arch-exec.exp
7689 * gdb.multi/remove-inferiors.exp
7690 * gdb.multi/watchpoint-multi-exit.exp
7691 * gdb.opt/solib-intra-step.exp
7692 * gdb.perf/backtrace.exp
7693 * gdb.perf/single-step.exp
7694 * gdb.perf/skip-command.exp
7695 * gdb.perf/skip-prologue.exp
7696 * gdb.perf/solib.exp
7697 * gdb.python/lib-types.exp
7698 * gdb.python/py-as-string.exp
7699 * gdb.python/py-bad-printers.exp
7700 * gdb.python/py-block.exp
7701 * gdb.python/py-breakpoint.exp
7702 * gdb.python/py-cmd.exp
7703 * gdb.python/py-events.exp
7704 * gdb.python/py-evthreads.exp
7705 * gdb.python/py-finish-breakpoint.exp
7706 * gdb.python/py-finish-breakpoint2.exp
7707 * gdb.python/py-frame-inline.exp
7708 * gdb.python/py-frame.exp
7709 * gdb.python/py-inferior.exp
7710 * gdb.python/py-infthread.exp
7711 * gdb.python/py-mi.exp
7712 * gdb.python/py-objfile.exp
7713 * gdb.python/py-pp-maint.exp
7714 * gdb.python/py-pp-registration.exp
7715 * gdb.python/py-prettyprint.exp
7716 * gdb.python/py-recurse-unwind.exp
7717 * gdb.python/py-shared.exp
7718 * gdb.python/py-symbol.exp
7719 * gdb.python/py-symtab.exp
7720 * gdb.python/py-template.exp
7721 * gdb.python/py-type.exp
7722 * gdb.python/py-unwind-maint.exp
7723 * gdb.python/py-unwind.exp
7724 * gdb.python/py-value.exp
7725 * gdb.python/python.exp
7726 * gdb.reverse/finish-reverse-bkpt.exp
7727 * gdb.reverse/insn-reverse.exp
7728 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7729 * gdb.reverse/solib-precsave.exp
7730 * gdb.reverse/solib-reverse.exp
7731 * gdb.stabs/gdb11479.exp
7732 * gdb.stabs/weird.exp
7733 * gdb.threads/fork-child-threads.exp
7734 * gdb.threads/fork-plus-threads.exp
7735 * gdb.threads/fork-thread-pending.exp
7736 * gdb.threads/forking-threads-plus-breakpoint.exp
7737 * gdb.threads/hand-call-in-threads.exp
7738 * gdb.threads/interrupted-hand-call.exp
7739 * gdb.threads/linux-dp.exp
7740 * gdb.threads/local-watch-wrong-thread.exp
7741 * gdb.threads/next-while-other-thread-longjmps.exp
7742 * gdb.threads/non-ldr-exit.exp
7743 * gdb.threads/pending-step.exp
7744 * gdb.threads/print-threads.exp
7745 * gdb.threads/process-dies-while-detaching.exp
7746 * gdb.threads/process-dies-while-handling-bp.exp
7747 * gdb.threads/pthreads.exp
7748 * gdb.threads/queue-signal.exp
7749 * gdb.threads/reconnect-signal.exp
7750 * gdb.threads/signal-command-handle-nopass.exp
7751 * gdb.threads/signal-command-multiple-signals-pending.exp
7752 * gdb.threads/signal-delivered-right-thread.exp
7753 * gdb.threads/signal-sigtrap.exp
7754 * gdb.threads/sigthread.exp
7755 * gdb.threads/staticthreads.exp
7756 * gdb.threads/stepi-random-signal.exp
7757 * gdb.threads/thread-unwindonsignal.exp
7758 * gdb.threads/thread_check.exp
7759 * gdb.threads/thread_events.exp
7760 * gdb.threads/tid-reuse.exp
7761 * gdb.threads/tls-nodebug.exp
7762 * gdb.threads/tls-shared.exp
7763 * gdb.threads/tls-so_extern.exp
7764 * gdb.threads/tls.exp
7765 * gdb.threads/wp-replication.exp
7766 * gdb.trace/actions-changed.exp
7767 * gdb.trace/actions.exp
7768 * gdb.trace/backtrace.exp
7769 * gdb.trace/change-loc.exp
7770 * gdb.trace/collection.exp
7771 * gdb.trace/deltrace.exp
7772 * gdb.trace/disconnected-tracing.exp
7773 * gdb.trace/entry-values.exp
7774 * gdb.trace/ftrace-lock.exp
7775 * gdb.trace/ftrace.exp
7776 * gdb.trace/infotrace.exp
7777 * gdb.trace/mi-trace-frame-collected.exp
7778 * gdb.trace/mi-trace-unavailable.exp
7779 * gdb.trace/mi-traceframe-changed.exp
7780 * gdb.trace/mi-tracepoint-changed.exp
7781 * gdb.trace/mi-tsv-changed.exp
7782 * gdb.trace/no-attach-trace.exp
7783 * gdb.trace/packetlen.exp
7784 * gdb.trace/passc-dyn.exp
7785 * gdb.trace/passcount.exp
7786 * gdb.trace/pending.exp
7787 * gdb.trace/pr16508.exp
7788 * gdb.trace/qtro.exp
7789 * gdb.trace/range-stepping.exp
7790 * gdb.trace/read-memory.exp
7791 * gdb.trace/report.exp
7792 * gdb.trace/save-trace.exp
7793 * gdb.trace/signal.exp
7794 * gdb.trace/stap-trace.exp
7795 * gdb.trace/status-stop.exp
7796 * gdb.trace/strace.exp
7797 * gdb.trace/tfile.exp
7798 * gdb.trace/tfind.exp
7799 * gdb.trace/trace-break.exp
7800 * gdb.trace/trace-condition.exp
7801 * gdb.trace/trace-enable-disable.exp
7802 * gdb.trace/trace-mt.exp
7803 * gdb.trace/tracecmd.exp
7804 * gdb.trace/tracefile-pseudo-reg.exp
7805 * gdb.trace/tspeed.exp
7806 * gdb.trace/tstatus.exp
7807 * gdb.trace/tsv.exp
7808 * gdb.trace/unavailable.exp
7809 * gdb.trace/while-dyn.exp
7810 * gdb.trace/while-stepping.exp
7811 * lib/gdb-guile.exp
7812 * lib/gdb.exp
7813 * lib/mi-support.exp
7814 * lib/pascal.exp
7815 * lib/perftest.exp
7816 * lib/prelink-support.exp
7817 * lib/selftest-support.exp
7818
7819 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7820
7821 * Makefile.in: Include disable-implicit-rules.mk.
7822
7823 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7824
7825 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7826 non-byte-aligned bit fields.
7827
7828 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7829
7830 PR gdb/12616
7831 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7832 respects the DW_AT_data_bit_offset attribute.
7833
7834 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7835
7836 * gdb.base/default.exp: Fix output of "set language".
7837
7838 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7839
7840 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7841 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7842 make.
7843 * configure.ac: Remove checks for the make program.
7844 * configure: Re-generate.
7845
7846 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7847
7848 * gdb.python/py-recurse-unwind.c (main): Add loop.
7849 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7850 to read_register() and gdb.parse_and_eval(). Make each code
7851 call a separate case that can be individually tested.
7852 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7853 proc. Call cont_and_backtrace for each of the code paths that
7854 we want to test in the unwinder.
7855
7856 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7857
7858 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7859 the definition of struct S.
7860
7861 2016-11-11 Catherine Moore <clm@codesourcery.com>
7862
7863 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7864
7865 2016-11-09 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.base/commands.exp (runto_or_return): New procedure.
7868 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7869 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7870 (progvar_simple_while_test, progvar_complex_if_while_test)
7871 (if_while_breakpoint_command_test)
7872 (infrun_breakpoint_command_test, breakpoint_command_test)
7873 (user_defined_command_test, watchpoint_command_test)
7874 (test_command_prompt_position, redefine_hook_test)
7875 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7876 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7877 multi_line_input and multi_line. Remove gdb_expect and
7878 gdb_stop_suppressing_tests uses.
7879 * lib/gdb.exp (valnum_re): New global.
7880 (multi_line_input): New procedure.
7881
7882 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7883
7884 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7885 Remove.
7886 (test_setup): Define with proc_with_prefix.
7887 (test_cli_inferior): Likewise.
7888 (test_cli_thread): Likewise.
7889 (test_cli_frame): Likewise.
7890 (test_cli_select_frame): Likewise.
7891 (test_cli_up_down): Likewise.
7892 (test_mi_thread_select): Likewise.
7893 (test_mi_stack_select_frame): Likewise.
7894 (test_cli_in_mi_inferior): Likewise.
7895 (test_cli_in_mi_thread): Likewise.
7896 (test_cli_in_mi_frame): Likewise.
7897 (top level): Do not use with_test_prefix_procname.
7898
7899 2016-11-09 Pedro Alves <palves@redhat.com>
7900
7901 * gdb.base/commands.exp (gdbvar_simple_if_test)
7902 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7903 (progvar_simple_if_test, progvar_simple_while_test)
7904 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7905 (infrun_breakpoint_command_test, breakpoint_command_test)
7906 (user_defined_command_test, watchpoint_command_test)
7907 (test_command_prompt_position, deprecated_command_test)
7908 (bp_deleted_in_command, temporary_breakpoint_commands)
7909 (stray_arg0_test, source_file_with_indented_comment)
7910 (recursive_source_test, if_commands_test)
7911 (error_clears_commands_left, redefine_hook_test)
7912 (redefine_backtrace_test): Use proc_with_prefix.
7913 * lib/gdb.exp (proc_with_prefix): New proc.
7914
7915 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7916
7917 * gdb.base/tui-layout.c: New file.
7918 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7919 disassembly window contains very long lines.
7920
7921 2016-11-08 Tom Tromey <tom@tromey.com>
7922
7923 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7924 depend on Python 2.
7925
7926 2016-11-08 Tom Tromey <tom@tromey.com>
7927
7928 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7929 New method.
7930
7931 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7932
7933 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7934
7935 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7936
7937 * gdb.rust/simple.rs: Add test for univariant enums without
7938 discriminants and for encoded struct-like enums.
7939
7940 2016-10-28 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7943 gdb_test_multiple, tighten regexps and match symtabs and line
7944 tables incrementally.
7945
7946 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7947
7948 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7949 general.
7950
7951 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7952
7953 * gdb.base/exec-invalid-sysroot.exp: New file.
7954
7955 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7956
7957 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7958
7959 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7960
7961 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7962
7963 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7964
7965 * gdb.base/killed-outside.exp: Remove $options from a call to
7966 `prepare_for_testing'.
7967
7968 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7969
7970 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7971 Change test message.
7972
7973 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7974
7975 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7976 Update comment.
7977
7978 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7979
7980 * gdb.trace/mi-trace-save.exp: New file.
7981
7982 2016-10-13 Yao Qi <yao.qi@linaro.org>
7983
7984 * gdb.base/code_elim.exp (get_var_address): Remove.
7985 * gdb.base/relocate.exp: Likewise.
7986 * gdb.base/shreloc.exp: Likewise.
7987 * lib/gdb.exp (get_var_address): New.
7988
7989 2016-10-13 Yao Qi <yao.qi@linaro.org>
7990
7991 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7992 floating point tests if $skip_float_test is false.
7993
7994 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7995
7996 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7997 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7998 argc values.
7999 Add 1 to argc so we guarantee distinct initial/modified argc values.
8000
8001 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8002
8003 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8004
8005 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8006
8007 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8008 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8009 * gdb.arch/vsx-regs.exp: Likewise.
8010
8011 2016-10-07 Yao Qi <yao.qi@linaro.org>
8012
8013 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8014
8015 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8016
8017 * gdb.python/python.exp: Test decode_line("*0").
8018
8019 2016-10-06 Doug Evans <dje@google.com>
8020
8021 * gdb.python/py-value.exp (test_value_creation): Add test for large
8022 unsigned 64-bit value.
8023
8024 2016-10-06 Tom Tromey <tom@tromey.com>
8025
8026 * gdb.compile/compile.exp: Change java tests to rust.
8027 * gdb.base/setshow.exp: Change java tests to rust.
8028 * gdb.base/default.exp: Remove java from language list.
8029 * README (Examples): Update language example.
8030 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8031 test.
8032 * lib/gdb.exp (skip_java_tests): Remove.
8033 * lib/java.exp: Remove.
8034 * gdb.java: Remove.
8035
8036 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8037
8038 * gdb.arch/mips-fcr.exp: New test.
8039 * gdb.arch/mips-fcr.c: Source for the new test.
8040
8041 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8042
8043 * gdb.base/solib-disc.exp: Use `standard_output_file'
8044 throughout.
8045
8046 2016-10-06 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.base/jit-simple-dl.c: New file.
8049 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8050 * gdb.base/jit-simple.c: ... this.
8051 * gdb.base/jit-simple.exp (jit_run): Delete.
8052 (build_jit): New proc.
8053 (jit_test_reread): Recompile either the main program or the shared
8054 library, depending on what is being tested. Skip changing address
8055 if caller wants to. Compare before/after addresses. If testing
8056 standalone, explicitly load the binary. Test "maint info
8057 breakpoints".
8058 (top level): Add "standalone vs shared lib" and "change address"
8059 vs "same address" axes.
8060
8061 2016-10-06 Pedro Alves <palves@redhat.com>
8062
8063 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8064 call.
8065 (jit_run): Delete.
8066 (jit_test_reread): Use with_test_prefix. Reload the main binary
8067 explicitly. Compare the before/after addresses of the JIT
8068 descriptor.
8069
8070 2016-08-15 Doug Evans <dje@google.com>
8071
8072 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8073 for single bitfields is bool.
8074 * gdb.xml/tdesc-regs.exp: Ditto.
8075
8076 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8077
8078 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8079
8080 2016-10-05 Yao Qi <yao.qi@linaro.org>
8081
8082 * lib/gdb.exp (support_complex_tests): Return zero if
8083 gdb_skip_float_test return true.
8084
8085 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8086 Simon Marchi <simon.marchi@ericsson.com>
8087
8088 PR gdb/20487
8089 * gdb.mi/user-selected-context-sync.exp: New file.
8090 * gdb.mi/user-selected-context-sync.c: New file.
8091
8092 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8093 Simon Marchi <simon.marchi@ericsson.com>
8094
8095 PR gdb/20487
8096 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8097 =thread-select-event check.
8098
8099 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8100
8101 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8102 the compulsory L operand changes.
8103 * gdb.arch/powerpc-power.s: Likewise.
8104
8105 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8106
8107 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8108 * gdb.base/jit-attach-pie.c: New file.
8109 * gdb.base/jit-attach-pie.exp: New file.
8110
8111 2016-09-28 Pedro Alves <palves@redhat.com>
8112
8113 * gdb.base/infcall-input.c: New file.
8114 * gdb.base/infcall-input.exp: New file.
8115
8116 2016-09-22 Yao Qi <yao.qi@linaro.org>
8117
8118 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8119 (gdb_exit): Rename it to ...
8120 (gdbserver_gdb_exit): ... Close GDBserver.
8121 (gdb_exit): New proc, call gdbserver_gdb_exit.
8122 (mi_gdb_exit): Likewise.
8123
8124 2016-09-22 Yao Qi <yao.qi@linaro.org>
8125
8126 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8127 path.
8128 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8129 Remove duplication.
8130
8131 2016-09-22 Yao Qi <yao.qi@linaro.org>
8132
8133 * lib/gdbserver-support.exp: Check the existence of
8134 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8135
8136 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8137
8138 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8139
8140 2016-09-21 Tom Tromey <tom@tromey.com>
8141
8142 PR gdb/20604:
8143 * gdb.base/quit.exp: New file.
8144
8145 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8146
8147 * .gitignore: New file.
8148
8149 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8150
8151 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8152 throughout.
8153
8154 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8155
8156 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8157
8158 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8159
8160 * gdb.cp/casts.cc (decltype): Move it ...
8161 (main): ... with its call to ...
8162 * gdb.cp/casts03.cc: ... a new file.
8163 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8164
8165 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8166
8167 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8168
8169 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8170
8171 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8172 and sync up the test with tests in gas/testsuite/gas/ppc.
8173 * gdb.arch/powerpc-power.exp: Likewise.
8174
8175 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8176
8177 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8178
8179 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8180 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8183 make m1's definition to be different from m2's. Use 'dummy' as an
8184 argument for probe 'two'.
8185
8186 2016-09-10 Jon Beniston <jon@beniston.com>
8187
8188 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8189 for sim target.
8190
8191 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8192
8193 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8194 variable declaration.
8195 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8196 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8197 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8198 received HWCAP as its argument.
8199
8200 2016-09-06 Pedro Alves <palves@redhat.com>
8201
8202 * gdb.base/new-ui-pending-input.c: New file.
8203 * gdb.base/new-ui-pending-input.exp: New file.
8204 * gdb.exp (clear_gdb_spawn_id): New procedure.
8205 (with_spawn_id): Check whether gdb_spawn_id exists before
8206 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8207 on exit.
8208
8209 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8210
8211 * gdb.base/float128.c: New file.
8212 * gdb.base/float128.exp: Likewise.
8213 * gdb.base/floatn.c: Likewise.
8214 * gdb.base/floatn.exp: Likewise.
8215
8216 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8217
8218 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8219
8220 2016-09-05 Pedro Alves <palves@redhat.com>
8221
8222 PR backtrace/19927
8223 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8224 unwinders are immediately called as side effect of "source" or
8225 "disable unwinder" commands.
8226 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8227
8228 2016-09-02 Yao Qi <yao.qi@linaro.org>
8229
8230 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8231 is true and $type is "float" or "double".
8232
8233 2016-09-02 Yao Qi <yao.qi@linaro.org>
8234
8235 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8236 true.
8237 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8238 * gdb.base/call-rt-st.exp: Likewise.
8239 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8240 return value instead of gdb,skip_float_test.
8241 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8242 (do_function_calls): Use its return value instead of
8243 gdb,skip_float_test.
8244 * gdb.base/finish.exp: Likewise.
8245 * gdb.base/funcargs.exp: Likewise.
8246 * gdb.base/return.exp: Likewise.
8247 * gdb.base/return2.exp: Likewise.
8248 * gdb.base/varargs.exp: Likewise.
8249 * lib/gdb.exp (gdb_skip_float_test): Change it to
8250 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8251
8252 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8253
8254 * gdb.multi/tids.exp: Test "thread apply all".
8255
8256 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 * gdb.base/default.exp (tty): Remove.
8259
8260 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8261
8262 * gdb.python/py-recurse-unwind.c: New file.
8263 * gdb.python/py-recurse-unwind.py: New file.
8264 * gdb.python/py-recurse-unwind.exp: New file.
8265
8266 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8267
8268 * gdb.base/set-inferior-tty.exp: New file.
8269 * gdb.base/set-inferior-tty.c: New file.
8270
8271 2016-08-23 Pedro Alves <palves@redhat.com>
8272
8273 PR gdb/20494
8274 * gdb.base/new-ui-echo.c: New file.
8275 * gdb.base/new-ui-echo.exp: New file.
8276
8277 2016-08-23 Yao Qi <yao.qi@linaro.org>
8278
8279 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8280 gdbserver_spawn.
8281 * gdb.server/connect-without-multi-process.exp (do_test):
8282 Likewise.
8283
8284 2016-08-23 Yao Qi <yao.qi@linaro.org>
8285
8286 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8287 standalone_txt. Delete gdb_txt and standalone_txt on host
8288 and target. Spawn the binary on target. Copy files from
8289 target to host.
8290
8291 2016-08-22 Pedro Alves <palves@redhat.com>
8292
8293 PR gdb/20505
8294 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8295 with_test_prefix. Factor out bits to ...
8296 (test_no_vdso): ... this new procedure.
8297
8298 2016-08-19 Carl Love <cel@us.ibm.com>
8299
8300 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8301 maintaining separate logic for constructing the output path.
8302 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8303 * gdb.arch/ppc-dfp.exp: Likewise.
8304 * gdb.arch/ppc-fp.exp: Likewise.
8305 * gdb.arch/vsx-regs.exp: Likewise.
8306 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8307 binprefix for generating the additional binary files.
8308
8309 2016-08-19 Pedro Alves <palves@redhat.com>
8310
8311 * gdb.trace/mi-trace-frame-collected.exp
8312 (test_trace_frame_collected): On x32, expect two registers.
8313
8314 2016-08-18 Carl Love <cel@us.ibm.com>
8315
8316 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8317 and sync up the test with tests in gas/testsuite/gas/ppc.
8318 * gdb.arch/powerpc-power.exp: Likewise.
8319
8320 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8321
8322 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8323 expected error message.
8324
8325 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8326
8327 * gdb.multi/remove-inferiors.exp: New file.
8328 * gdb.multi/remove-inferiors.c: New file.
8329
8330 2016-08-12 Yao Qi <yao.qi@linaro.org>
8331
8332 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8333 argument list.
8334
8335 2016-08-10 Pedro Alves <palves@redhat.com>
8336
8337 PR gdb/19187
8338 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8339 setup_kfails.
8340
8341 2016-08-09 Pedro Alves <palves@redhat.com>
8342 Simon Marchi <simon.marchi@ericsson.com>
8343
8344 PR gdb/20418
8345 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8346 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8347
8348 2016-08-09 Pedro Alves <palves@redhat.com>
8349
8350 PR mi/20431
8351 * gdb.mi/mi-cmd-error.exp: New file.
8352
8353 2016-08-09 Pedro Alves <palves@redhat.com>
8354
8355 PR gdb/18653
8356 * gdb.base/signals-state-child.c: New file.
8357 * gdb.base/signals-state-child.exp: New file.
8358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8359
8360 2016-08-09 Pedro Alves <palves@redhat.com>
8361
8362 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8363
8364 2016-08-03 Tom Tromey <tom@tromey.com>
8365
8366 PR python/18565:
8367 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8368
8369 2016-08-01 Yao Qi <yao.qi@linaro.org>
8370
8371 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8372 variable mode to "multi-process" if $multi_process is 1, otherwise
8373 set it to "single-process".
8374
8375 2016-08-01 Yao Qi <yao.qi@linaro.org>
8376
8377 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8378 * gdb.cp/cpexprs.exp: Likewise.
8379 * gdb.cp/m-static.exp: Likewise.
8380
8381 2016-07-26 Tom Tromey <tom@tromey.com>
8382
8383 PR python/20190:
8384 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8385 test.
8386
8387 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8388
8389 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8390 selecting assembly source files.
8391 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8392 assembly source files.
8393 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8394 assembly source files.
8395 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8396 selecting assembly source files.
8397
8398 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8399
8400 * gdb.base/new-ui.exp (do_test_invalid_args): New
8401 procedure.
8402
8403 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8404
8405 * gdb.btrace/reconnect.c: New file.
8406 * gdb.btrace/reconnect.exp: New file.
8407
8408 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8409
8410 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8411 to test_catch_syscall_group.
8412 (test_catch_syscall_group): New.
8413
8414 2016-07-21 Tom Tromey <tom@tromey.com>
8415
8416 * gdb.rust/simple.rs (main): Use empty struct expression.
8417 * gdb.rust/simple.exp: Add tests for empty struct expression.
8418
8419 2016-07-21 Yao Qi <yao.qi@linaro.org>
8420
8421 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8422 if gdb_skip_xml_test is true on some targets.
8423
8424 2016-07-21 Yao Qi <yao.qi@linaro.org>
8425
8426 * gdb.server/solib-list.exp: Unset last_loaded_file.
8427
8428 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8431 "step into captured_main (args)".
8432
8433 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8434
8435 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8436
8437 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8438
8439 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8440
8441 2016-07-19 Pedro Alves <palves@redhat.com>
8442
8443 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8444 * gdb.opt/inline-bt.exp: Likewise.
8445 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8446 additional_flags=-Winline.
8447 * gdb.opt/inline-locals.exp: Likewise.
8448 * gdb.opt/inline-markers.c (ATTR): Define.
8449 (inlined_fn): Use it.
8450
8451 2016-07-19 Yao Qi <yao.qi@linaro.org>
8452
8453 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8454 (test_with_self): Remove some code. Remove argument executable.
8455 (top-level): Use do_self_tests.
8456
8457 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8458 Don Breazeal <donb@codesourcery.com>
8459
8460 * gdb.base/maint.exp: Escape paths used in regular expressions.
8461 * gdb.stabs/weird.exp: Likewise.
8462
8463 2016-07-13 Tom Tromey <tom@tromey.com>
8464
8465 PR python/15620, PR python/18620:
8466 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8467 (test_bkpt_events): New procs.
8468
8469 2016-07-13 Tom Tromey <tom@tromey.com>
8470
8471 PR python/17698:
8472 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8473 test.
8474 (test_watchpoints): Likewise.
8475 (test_bkpt_pending): New proc.
8476
8477 2016-07-13 Tom Tromey <tom@tromey.com>
8478
8479 PR cli/18053:
8480 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8481 completion test.
8482
8483 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8484
8485 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8486 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8487 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8488 f_label.
8489 (g): Rename g_end_lbl to g_label.
8490 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8491 low_pc and high_pc.
8492 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8493
8494 2016-07-12 Tom Tromey <tom@tromey.com>
8495
8496 PR python/19293:
8497 * gdb.python/py-unwind-maint.exp: Update tests.
8498
8499 2016-07-12 Yao Qi <yao.qi@linaro.org>
8500
8501 * lib/selftest-support.exp (selftest_setup): Match the output
8502 when captured_main is inlined.
8503
8504 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8505
8506 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8507 New variables.
8508 (print this%a, print this%b, print this): New tests.
8509 * gdb.fortran/derived-types.f90 (this): New object and
8510 initialization.
8511
8512 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8513
8514 * gdb.ada/arraydim.exp: Remove extra directory level in build
8515 directory.
8516
8517 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8518
8519 * lib/ada.exp: Remove extra directory level in build directory.
8520 * gdb.ada/cond_lang.exp: Likewise.
8521 * gdb.ada/exec_changed.exp: Likewise.
8522 * gdb.ada/lang_switch.exp: Likewise.
8523
8524 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8525
8526 * simple.rs: Add test for raw pointer subscripting.
8527 * simple.exp: Add test expectations.
8528
8529 2016-07-05 Yao Qi <yao.qi@linaro.org>
8530
8531 * gdb.mi/mi-reverse.exp: Match =record-started output.
8532
8533 2016-07-01 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8536 procedure.
8537 (jit_reader_test): Test the jit reader's unwinder.
8538 * gdb.base/jithost.c (jit_function_00_code): New global.
8539 (main): Use memcpy to fill in the mmapped code, instead of poking
8540 bytes manually here.
8541 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8542 value.
8543 (read_debug_info): Save the function's range.
8544 (read_sp): New function.
8545 (unwind_frame): Use it. Also unwind RBP.
8546 (get_frame_id): Use read_sp.
8547 (gdb_init_reader): Use calloc instead of malloc.
8548 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8549 parameter. Use gdb_test_multiple.
8550
8551 2016-07-01 Pedro Alves <palves@redhat.com>
8552 Antoine Tremblay <antoine.tremblay@ericsson.com>
8553
8554 * gdb.threads/process-dies-while-detaching.c: New file.
8555 * gdb.threads/process-dies-while-detaching.exp: New file.
8556
8557 2016-07-01 Pedro Alves <palves@redhat.com>
8558
8559 * gdb.multi/watchpoint-multi-exit.c: New file.
8560 * gdb.multi/watchpoint-multi-exit.exp: New file.
8561
8562 2016-06-30 Pedro Alves <palves@redhat.com>
8563
8564 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8565 unset inferior_spawn_id.
8566
8567 2016-06-30 Pedro Alves <palves@redhat.com>
8568
8569 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8570 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8571
8572 2016-06-29 Yao Qi <yao.qi@linaro.org>
8573
8574 * gdb.base/return.c: Add copyright header.
8575
8576 2016-06-29 Tom Tromey <tom@tromey.com>
8577
8578 PR python/20129:
8579 * gdb.python/py-framefilter.exp: Add tests for setting priority
8580 and disabling of non-existent frame filter.
8581
8582 2016-06-29 Yao Qi <yao.qi@linaro.org>
8583
8584 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8585 0x0f07ff.
8586
8587 2016-06-28 Yao Qi <yao.qi@linaro.org>
8588
8589 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8590 triplets. Start gdb, execute catch syscall, and continue. Check
8591 gdb's output to determine catch syscall is supported.
8592
8593 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8594
8595 * gdb.rust/simple.rs: Add test for returning unit in a function.
8596 * gdb.rust/simple.exp: Add expectation for functions returning
8597 unit.
8598
8599 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8600
8601 * gdb.python/py-breakpoint-create-fail.c,
8602 gdb.python/py-breakpoint-create-fail.exp,
8603 gdb.python/py-breakpoint-create-fail.py: New testcase.
8604
8605 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8606
8607 PR gdb/20239
8608 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8609 * gdb.rust/simple.exp: Add test expectations for new NonZero
8610 tests.
8611
8612 2016-06-24 David Taylor <dtaylor@emc.com>
8613
8614 * gdb.base/offsets.exp: New file.
8615 * gdb.base/offsets.c: New file.
8616
8617 2016-06-23 Tom Tromey <tom@tromey.com>
8618
8619 PR gdb/16483:
8620 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8621 before any filters are loaded.
8622
8623 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8624
8625 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8626 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8627 structs.
8628 * gdb.fortran/derived-type-function.exp: New file.
8629 * gdb.fortran/derived-type-function.f90: New file.
8630
8631
8632 2016-06-21 Pedro Alves <palves@redhat.com>
8633
8634 * gdb.base/new-ui.exp: New file.
8635 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8636 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8637 (with_spawn_id): New procedure.
8638
8639 2016-06-21 Pedro Alves <palves@redhat.com>
8640
8641 * gdb.mi/mi-exec-run.exp: New file.
8642
8643 2016-06-21 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8646 breakpoint command's output on the main UI.
8647 (test_break): New procedure, factored out from calls in the top
8648 level.
8649 (top level): Use foreach_with_prefix to test MI as main UI and as
8650 separate UI.
8651
8652 2016-06-21 Pedro Alves <palves@redhat.com>
8653
8654 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8655 (test_awatch_creation_and_listing)
8656 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8657 Remove 'type' parameter.
8658 (test_watchpoint_all): New parameter mi_mode. Remove
8659 with_test_prefix.
8660 (top level): Use foreach_with_prefix, and add main/separate UI MI
8661 testing axis.
8662
8663 2016-06-21 Pedro Alves <palves@redhat.com>
8664
8665 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8666 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8667 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8668 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8669 (gdb_main_spawn_id, mi_spawn_id): Declare and
8670 comment.
8671 (mi_create_inferior_pty): New procedure,
8672 factored out from default_mi_gdb_start.
8673 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8674 procedures.
8675 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8676 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8677 Use mi_create_inferior_pty.
8678 (mi_gdb_start): Use eval to pass down args list.
8679
8680 2016-06-21 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8683 * gdb.opt/inline-cmds.exp: Add MI tests.
8684
8685 2016-06-21 Pedro Alves <palves@redhat.com>
8686
8687 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8688
8689 2016-06-21 Pedro Alves <palves@redhat.com>
8690
8691 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8692 (top level): Use it instead of mi_execute_to.
8693
8694 2016-06-21 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8697 (cont_handler_str): New.
8698 (signal_stop_handler): Set stop_handler_str instead of printing to
8699 stdout.
8700 (continue_handler): Set cont_handler_str instead of printing to
8701 stdout.
8702 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8703 mi_send_resuming_command. Print stop_handler_str and
8704 cont_handler_str instead of expecting the python events print
8705 directly.
8706
8707 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8708
8709 * gdb.base/jit-reader.exp: New file.
8710 * gdb.base/jithost.c: New file.
8711 * gdb.base/jithost.h: New file.
8712 * gdb.base/jitreader.c : New file.
8713 * gdb.base/jit-protocol.h: New file.
8714
8715 2016-06-17 Yao Qi <yao.qi@linaro.org>
8716
8717 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8718 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8719 and detach-on-fork. Adjust tests.
8720 (top level): Invoke break_cond_on_syscall with combinations of
8721 syscall, follow-fork-mode and detach-on-fork.
8722
8723 2016-06-17 Yao Qi <yao.qi@linaro.org>
8724
8725 * gdb.base/step-over-exit.c: New.
8726 * gdb.base/step-over-exit.exp: New.
8727
8728 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8729
8730 * gdb.base/float.exp: Add target check for nds32*-*-*.
8731 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8732
8733 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8734
8735 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8736 for unsupported target features.
8737 * gdb.base/call-rt-st.exp: Likewise.
8738 * gdb.base/call-sc.exp: Likewise.
8739 * gdb.base/call-signal-resume.exp: Likewise.
8740 * gdb.base/call-strs.exp: Likewise.
8741 * gdb.base/callexit.exp: Likewise.
8742 * gdb.base/callfuncs.exp: Likewise.
8743 * gdb.base/nodebug.exp: Likewise.
8744 * gdb.base/printcmds.exp: Likewise.
8745 * gdb.base/ptype.exp: Likewise.
8746 * gdb.base/structs.exp: Likewise.
8747 * gdb.base/unwindonsignal.exp: Likewise.
8748 * gdb.cp/gdb2495.exp: Likewise.
8749 * gdb.cp/templates.exp: Likewise.
8750 * gdb.cp/virtfunc.exp: Likewise.
8751 * gdb.threads/hand-call-in-threads.exp: Likewise.
8752 * gdb.threads/interrupted-hand-call.exp: Likewise.
8753 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8754
8755 2016-06-10 Tom Tromey <tom@tromey.com>
8756
8757 PR rust/20110:
8758 * gdb.rust/expr.exp: Add test for integer constant larger than
8759 i32.
8760
8761 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8762
8763 * gdb.fortran/nested-funcs.exp: New.
8764 * gdb.fortran/nested-funcs.f90: New.
8765
8766 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8767
8768 * gdb.base/examine-backward.c: New file.
8769 * gdb.base/examine-backward.exp: New file.
8770
8771 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8772
8773 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8774 matching.
8775
8776 2016-06-02 Tom Tromey <tom@tromey.com>
8777
8778 PR python/18984:
8779 * gdb.python/py-shared.exp: Add solib_name test.
8780
8781 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8782
8783 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8784
8785 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8786
8787 PR c++/19893
8788 * gdb.dwarf2/implref.exp: Rename to...
8789 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8790 * gdb.dwarf2/implref-array.c: New file.
8791 * gdb.dwarf2/implref-array.exp: Likewise.
8792 * gdb.dwarf2/implref-global.c: Likewise.
8793 * gdb.dwarf2/implref-global.exp: Likewise.
8794 * gdb.dwarf2/implref-struct.c: Likewise.
8795 * gdb.dwarf2/implref-struct.exp: Likewise.
8796
8797 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8798
8799 * gdb.trace/trace-condition.exp: Add 64bit tests.
8800
8801 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8802
8803 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8804 bits types.
8805 (main): Adapt to 8 to 64 bits types.
8806 * gdb.trace/trace-condition.exp: Add new tests.
8807
8808 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8809
8810 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8811
8812 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8813
8814 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8815 Move condition tests...
8816 * gdb.trace/trace-condition.exp: Here.
8817
8818 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8819
8820 * gdb.trace/trace-condition.exp: Add counter-case tests.
8821
8822 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8823
8824 PR c++/15231
8825 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8826 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8827
8828 2016-05-27 Pedro Alves <palves@redhat.com>
8829
8830 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8831 New procedure.
8832 (top level): Call it, and bail out of DejaGnu is known to be bad.
8833
8834 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8835
8836 * gdb.base/whatis.c: Extend the test case.
8837 * gdb.base/whatis.exp: Add additional tests.
8838
8839 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8840
8841 * gdb.fortran/type.f90: Add pointer variable.
8842 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8843
8844 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8845
8846 * gdb.fortran/vla-type.exp: Fix testcase name.
8847
8848 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8849
8850 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8851
8852 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8853
8854 * gdb.fortran/type.f90: Add nested structures.
8855 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8856 * gdb.fortran/derived-type.exp: Adapt expected output.
8857 * gdb.fortran/vla-type.exp: Adapt expected output.
8858
8859 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8860
8861 * gdb.fortran/whatis_type.exp: Adapt expected output.
8862
8863 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8864
8865 * gdb.fortran/print_type.exp: Fix expected output.
8866 * gdb.fortran/whatis_type.exp: Fix expected output.
8867
8868 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8869
8870 * gdb.fortran/whatis_type.exp: Use multi_line.
8871
8872 2016-05-24 Tom Tromey <tom@tromey.com>
8873
8874 PR python/17386:
8875 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8876 use value as an index.
8877
8878 2016-05-23 Tom Tromey <tom@tromey.com>
8879
8880 PR python/17981:
8881 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8882 no-breakpoint case.
8883
8884 2016-05-24 Pedro Alves <palves@redhat.com>
8885
8886 PR gdb/19828
8887 * gdb.threads/clone-attach-detach.c: New file.
8888 * gdb.threads/clone-attach-detach.exp: New file.
8889
8890 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8891
8892 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8893
8894 2016-05-23 Tom Tromey <tom@tromey.com>
8895
8896 PR python/19438, PR python/18393:
8897 * gdb.python/py-progspace.exp: Add "dir" test.
8898 * gdb.python/py-objfile.exp: Add "dir" test.
8899
8900 2016-05-23 Yao Qi <yao.qi@linaro.org>
8901
8902 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8903 * gdb.arch/thumb2-it.exp: Likewise.
8904
8905 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8906
8907 * gdb.mi/mi-threads-interrupt.c: New file.
8908 * gdb.mi/mi-threads-interrupt.exp: New file.
8909
8910 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8911
8912 PR gdb/18077
8913 * gdb.mi/mi-async-run.exp: New file.
8914 * gdb.mi/mi-async-run.c: New file.
8915
8916 2016-05-17 Tom Tromey <tom@tromey.com>
8917 Manish Goregaokar <manishsmail@gmail.com>
8918
8919 * lib/rust-support.exp: New file.
8920 * lib/gdb.exp (skip_rust_tests): New proc.
8921 (build_executable_from_specs): Handle rust.
8922 * lib/future.exp (gdb_find_rustc): New proc.
8923 (gdb_default_target_compile): Handle rust.
8924 * gdb.rust/expr.exp: New file.
8925 * gdb.rust/generics.exp: New file.
8926 * gdb.rust/generics.rs: New file.
8927 * gdb.rust/methods.exp: New file.
8928 * gdb.rust/methods.rs: New file.
8929 * gdb.rust/modules.exp: New file.
8930 * gdb.rust/modules.rs: New file.
8931 * gdb.rust/simple.exp: New file.
8932 * gdb.rust/simple.rs: New file.
8933
8934 2016-05-17 Tom Tromey <tom@tromey.com>
8935
8936 * gdb.base/default.exp (set language): Add rust.
8937
8938 2016-05-17 Tom Tromey <tom@tromey.com>
8939
8940 * gdb.gdb/unittest.exp: New file.
8941
8942 2016-05-16 Yao Qi <yao.qi@linaro.org>
8943
8944 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8945 shell_prompt. Update shell_prompt_re.
8946
8947 2016-05-12 Doug Evans <dje@google.com>
8948
8949 PR symtab/19999
8950 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8951 $options when building executable.
8952 * gdb.dwarf2/fission-loclists-pie.S: New file.
8953 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8954
8955 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8956
8957 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8958 of [is_remote target],
8959
8960 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8961
8962 * lib/gdb.exp (use_gdb_stub): New procedure.
8963
8964 2016-05-03 Yunlian Jiang <yunlian@google.com>
8965 Doug Evans <dje@google.com>
8966
8967 PR symtab/19914
8968 * gdb.dwarf2/dwp-sepdebug.c: New file.
8969 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8970
8971 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8972
8973 * gdb.base/detach.exp: Remove is_remote check.
8974
8975 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8976
8977 * gdb.base/annota-input-while-running.exp: Don't check for
8978 [is_remote target]. Enable annotations after running to main.
8979 Remove unused "set test..." line.
8980
8981 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8982
8983 * gdb.trace/trace-enable-disable.exp: New file.
8984 * gdb.trace/trace-enable-disable.c: New file.
8985
8986 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8987
8988 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8989 use it in info sharedlibrary test.
8990 * gdb.trace/ftrace-lock.exp: Likewise.
8991 * gdb.trace/ftrace.exp: Likewise.
8992 * gdb.trace/range-stepping.exp: Likewise.
8993 * gdb.trace/trace-break.exp: Likewise.
8994 * gdb.trace/trace-condition.exp: Likewise.
8995 * gdb.trace/trace-mt.exp: Likewise.
8996
8997 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8998
8999 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9000 (gdb_load_shlib): ... this.
9001 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9002 gdb_load_shlib.
9003 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9004 * gdb.base/ctxobj.exp: Likewise.
9005 * gdb.base/dprintf-pending.exp: Likewise.
9006 * gdb.base/dso2dso.exp: Likewise.
9007 * gdb.base/fixsection.exp: Likewise.
9008 * gdb.base/gcore-relro.exp: Likewise.
9009 * gdb.base/gdb1555.exp: Likewise.
9010 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9011 * gdb.base/gnu-ifunc.exp: Likewise.
9012 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9013 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9014 * gdb.base/pending.exp: Likewise.
9015 * gdb.base/print-file-var.exp: Likewise.
9016 * gdb.base/print-symbol-loading.exp: Likewise.
9017 * gdb.base/shlib-call.exp: Likewise.
9018 * gdb.base/shreloc.exp: Likewise.
9019 * gdb.base/so-impl-ld.exp: Likewise.
9020 * gdb.base/solib-disc.exp: Likewise.
9021 * gdb.base/solib-nodir.exp: Likewise.
9022 * gdb.base/solib-overlap.exp: Likewise.
9023 * gdb.base/solib-symbol.exp: Likewise.
9024 * gdb.base/solib-weak.exp (do_test): Likewise.
9025 * gdb.base/sym-file.exp: Likewise.
9026 * gdb.base/symtab-search-order.exp: Likewise.
9027 * gdb.base/type-opaque.exp: Likewise.
9028 * gdb.base/unload.exp: Likewise.
9029 * gdb.base/watchpoint-solib.exp: Likewise.
9030 * gdb.compile/compile.exp: Likewise.
9031 * gdb.cp/gdb2384.exp: Likewise.
9032 * gdb.cp/infcall-dlopen.exp: Likewise.
9033 * gdb.cp/re-set-overloaded.exp: Likewise.
9034 * gdb.fortran/library-module.exp: Likewise.
9035 * gdb.opt/solib-intra-step.exp: Likewise.
9036 * gdb.python/py-finish-breakpoint.exp: Likewise.
9037 * gdb.python/py-shared.exp: Likewise.
9038 * gdb.reverse/solib-precsave.exp: Likewise.
9039 * gdb.reverse/solib-reverse.exp: Likewise.
9040 * gdb.server/solib-list.exp: Likewise.
9041 * gdb.threads/dlopen-libpthread.exp: Likewise.
9042 * gdb.threads/tls-shared.exp: Likewise.
9043 * gdb.threads/tls-so_extern.exp: Likewise.
9044 * gdb.trace/change-loc.exp: Likewise.
9045 * gdb.trace/ftrace-lock.exp: Likewise.
9046 * gdb.trace/ftrace.exp: Likewise.
9047 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9048 * gdb.trace/pending.exp: Likewise.
9049 * gdb.trace/range-stepping.exp: Likewise.
9050 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9051 (strace_info_marker): Likewise.
9052 (strace_probe_marker): Likewise.
9053 (strace_trace_on_same_addr): Likewise.
9054 (strace_trace_on_diff_addr): Likewise.
9055 * gdb.trace/trace-break.exp: Likewise.
9056 * gdb.trace/trace-condition.exp: Likewise.
9057 * gdb.trace/trace-mt.exp: Likewise.
9058
9059 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9060
9061 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9062 result of gdb_remote_download.
9063 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9064 * gdb.base/dso2dso.exp: Likewise.
9065 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9066 * gdb.base/print-file-var.exp: Likewise.
9067 * gdb.base/shlib-call.exp: Likewise.
9068 * gdb.base/shreloc.exp: Likewise.
9069 * gdb.base/solib-overlap.exp: Likewise.
9070 * gdb.base/solib-weak.exp (do_test): Likewise.
9071 * gdb.base/unload.exp: Likewise.
9072
9073 2016-04-27 Yao Qi <yao.qi@linaro.org>
9074
9075 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9076 exists.
9077
9078 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9079
9080 * vla-type.exp: Print structure from toplevel.
9081
9082 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9083
9084 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9085 of dynamic types.
9086 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9087 of dynamic types.
9088
9089 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9090
9091 * gdb.fortran/vla-type.f90: New file.
9092 * gdb.fortran/vla-type.exp: New file.
9093
9094 2016-04-25 Yao Qi <yao.qi@linaro.org>
9095
9096 * gdb.base/branch-to-self.c: New file.
9097 * gdb.base/branch-to-self.exp: New file.
9098
9099 2016-04-22 Yao Qi <yao.qi@linaro.org>
9100
9101 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9102 more after $hex.
9103
9104 2016-04-22 Yao Qi <yao.qi@linaro.org>
9105
9106 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9107 * gdb.base/annota3.exp: Likewise.
9108
9109 2016-04-22 Yao Qi <yao.qi@linaro.org>
9110
9111 * gdb.reverse/step-precsave.exp: Do one step and test program
9112 stops in "callee" and do multiple steps until program goes out
9113 of "callee".
9114 * gdb.reverse/step-reverse.exp: Likewise.
9115
9116 2016-04-22 Yao Qi <yao.qi@linaro.org>
9117
9118 * gdb.trace/signal.exp: Also pass if
9119 $tracepoint_hits($i) > $iterations.
9120
9121 2016-04-22 Yao Qi <yao.qi@linaro.org>
9122
9123 * gdb.trace/signal.c: New file.
9124 * gdb.trace/signal.exp: New file.
9125
9126 2016-04-19 Doug Evans <xdje42@gmail.com>
9127
9128 * gdb.base/bad-file.exp: New file.
9129
9130 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9131
9132 * gdb.dwarf2/implref.exp: New file.
9133
9134 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9135
9136 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9137 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9138 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9139 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9140 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9141 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9142 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9143 * lib/fortran.exp (fortran_int4): New procedure.
9144 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9145 (fortran_logical4): Likewise.
9146
9147 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9148
9149 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9150
9151 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9152
9153 * lib/compiler.c: Add Intel specific preprocessor macros.
9154 * lib/compiler.cc: Likewise.
9155
9156 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9157
9158 * gdb.server/connect-with-no-symbol-file.c: New file.
9159 * gdb.server/connect-with-no-symbol-file.exp: New file.
9160
9161 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9162
9163 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9164
9165 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9166
9167 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9168 standard output directory.
9169
9170 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9171
9172 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9173
9174 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9175
9176 * gdb.btrace/instruction_history.c (loop): Add declaration.
9177
9178 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9179
9180 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9181
9182 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9183
9184 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9185 parentheses to print.
9186 (continue_handler): Likewise.
9187
9188 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9189
9190 * gdb.server/solib-list.exp: Remove is_remote check.
9191 Pass shlib= to gdb_compile. Don't link shared library with
9192 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9193 Run binary filename through "readlink -f" on the target.
9194
9195 2016-04-08 Pedro Alves <palves@redhat.com>
9196
9197 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9198 interpreter filename as argument to gdbserver_spawn.
9199 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9200 Return empty if $last_loaded_file does not exist.
9201
9202 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9203
9204 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9205 * gdb.base/jit-main.c: Use exit after usage.
9206
9207 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9208
9209 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9210 GDBHISTSIZE prior to the tests.
9211 * gdb.base/gdbinit-history.exp: Likewise.
9212
9213 2016-04-07 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9216 instead of build_executable. Use gdb_load_shlibs.
9217
9218 2016-04-07 Yao Qi <yao.qi@linaro.org>
9219
9220 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9221 Execute "si" command.
9222
9223 2016-04-07 Yao Qi <yao.qi@linaro.org>
9224
9225 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9226 number instead of the comments on some line.
9227
9228 2016-04-06 Don Breazeal <donb@codesourcery.com>
9229
9230 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9231 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9232
9233 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9234
9235 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9236 standard_output_file. Remove unused binfile variable.
9237
9238 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9239
9240 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9241 * gdb.python/py-mi-objfile.exp: Match "list main" output
9242 in console format.
9243
9244 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9245
9246 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9247 absolute.
9248
9249 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9250
9251 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9252 absolute.
9253 * gdb.trace/ftrace.exp: Likewise.
9254 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9255 targets as well.
9256 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9257 (gdb_load_shlibs): Copy libraries to test directory when testing
9258 natively. Only set solib-search-path if testing remotely.
9259 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9260
9261 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9262
9263 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9264 gdb_download. Use it even if the target is not remote.
9265 * gdb.base/jit.exp (compile_jit_test): Likewise.
9266 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9267 output directory if the destination board is local, otherwise use
9268 the standard remote_download from DejaGnu.
9269 (gdb_download): Remove.
9270 (gdb_load_shlibs): Use gdb_remote_download instead of
9271 gdb_download.
9272 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9273 Use gdb_remote_download instead of gdb_download. Use it even if
9274 the target is not remote.
9275 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9276 instead of gdb_download.
9277
9278 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9279
9280 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9281 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9282 run.
9283
9284 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9285
9286 PR gdb/19820
9287 * gdb.base/printcmds.exp: Add artificial arrays tests.
9288
9289 2016-03-31 Pedro Alves <palves@redhat.com>
9290
9291 PR gdb/19858
9292 * gdb.base/jit-main.c: Include unistd.h.
9293 (ATTACH): Define to 0 if not already defined.
9294 (wait_for_gdb, mypid): New globals.
9295 (WAIT_FOR_GDB): New macro.
9296 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9297 some breakpoint locations.
9298 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9299 New procedures.
9300 (one_jit_test): Add REATTACH parameter, and handle it. Use
9301 continue_to_test_location.
9302 (top level): Test attach, and adjusts calls to one_jit_test.
9303
9304 2016-03-31 Pedro Alves <palves@redhat.com>
9305
9306 PR gdb/19858
9307 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9308 BINSUFFIX parameter, and handle it.
9309 (top level): Adjust calls compile_jit_test.
9310
9311 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9312
9313 PR python/19743
9314 * gdb.python/py-mi-events-gdb.py: New file.
9315 * gdb.python/py-mi-events.c: New file.
9316 * gdb.python/py-mi-events.exp: New file.
9317
9318 2016-03-30 Yao Qi <yao.qi@linaro.org>
9319
9320 * gdb.reverse/until-precsave.exp: Match function name only.
9321 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9322 Move malloc to a condition block.
9323 * gdb.reverse/until-reverse.exp: Match function name only.
9324
9325 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9326
9327 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9328 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9329 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9330 variable for GPR 0 instead of assuming it is register 0.
9331 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9332 * lib/trace-support.exp: Add s390 registers.
9333
9334 2016-03-29 Yao Qi <yao.qi@linaro.org>
9335
9336 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9337
9338 2016-03-24 Yao Qi <yao.qi@linaro.org>
9339
9340 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9341 test message.
9342
9343 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9344
9345 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9346 maintaining separate logic for constructing the output path.
9347
9348 2016-03-16 Don Breazeal <donb@codesourcery.com>
9349
9350 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9351 Retry fork and waitpid on interrupted system call errors.
9352 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9353 Use with_timeout_factor to increase timeout by factor of 10.
9354
9355 2016-03-15 Don Breazeal <donb@codesourcery.com>
9356
9357 * gdb.cp/scope-err.cc: New test program.
9358 * gdb.cp/scope-err.exp: New test script.
9359 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9360 lines and "set breakpoint here" comment.
9361 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9362 Fixed some whitespace and format issues.
9363 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9364 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9365
9366 2016-03-15 Doug Evans <dje@google.com>
9367
9368 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9369 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9370 All callers updated. Add tests for enums, mixed flags register.
9371
9372 2016-03-15 Doug Evans <dje@google.com>
9373
9374 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9375 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9376
9377 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9378
9379 * gdb.base/default.exp: Add $_as_string to the list of expected
9380 convenience functions.
9381
9382 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9383
9384 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9385
9386 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9387
9388 * gdb.python/py-as-string.exp: New file.
9389 * gdb.python/py-as-string.c: New file.
9390
9391 2016-03-09 Pedro Alves <palves@redhat.com>
9392
9393 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9394 signal" -> "Thread NN received signal" output change.
9395 * gdb.threads/ia64-sigill.exp: Likewise.
9396 * gdb.threads/linux-dp.exp: Likewise.
9397 * gdb.threads/manythreads.exp: Likewise.
9398 * gdb.threads/pending-step.exp: Likewise.
9399 * gdb.threads/print-threads.exp: Likewise.
9400 * gdb.threads/sigstep-threads.exp: Likewise.
9401 * gdb.threads/staticthreads.exp: Likewise.
9402 * gdb.threads/tls.exp: Likewise.
9403
9404 2016-03-09 Pedro Alves <palves@redhat.com>
9405
9406 * gdb.base/command-line-input.exp: New file.
9407
9408 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9409
9410 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9411 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9412 * gdb.trace/pending.exp: Accept leading dot before function name.
9413 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9414 * lib/trace-support.exp: Set registers for ppc.
9415
9416 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9417
9418 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9419 use it for disassembly; accept .main in addition to main in backtrace.
9420
9421 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9422 Marcin Kościelnicki <koriakin@0x04.net>
9423
9424 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9425 (gdb_recursion_test_ptr): New global variable.
9426 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9427 gdb_recursion_test.
9428 (gdb_c_test): Ditto.
9429
9430 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9431
9432 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9433 ordering.
9434
9435 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9436
9437 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9438 (bar): Add bar_start_lbl label.
9439 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9440 of foo/bar for emitting DWARF and tracing.
9441
9442 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9443
9444 * analyze-racy-logs.py: Set executable bit.
9445
9446 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9447
9448 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9449 (CHECK_TARGET_TMP): Likewise.
9450 (check-single-racy): New rule.
9451 (check-parallel-racy): Likewise.
9452 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9453 (do-check-parallel-racy): New rule.
9454 (check-racy/%.exp): Likewise.
9455 * README (Racy testcases): New section.
9456 * analyze-racy-logs.py: New file.
9457
9458 2016-03-03 Doug Evans <dje@google.com>
9459
9460 * gdb.base/skip.exp: Use with_test_prefix.
9461
9462 2016-03-03 Yao Qi <yao.qi@linaro.org>
9463
9464 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9465 Invoke step_over_syscall "clone" and break_cond_on_syscall
9466 "clone".
9467 * gdb.base/step-over-clone.c: New file.
9468
9469 2016-03-03 Yao Qi <yao.qi@linaro.org>
9470
9471 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9472 code format.
9473
9474 2016-03-03 Yao Qi <yao.qi@linaro.org>
9475
9476 * gdb.base/disp-step-fork.c: Rename to ...
9477 * gdb.base/step-over-fork.c: ... it. New file.
9478 * gdb.base/disp-step-vfork.c: Rename to ...
9479 * gdb.base/step-over-vfork.c: ... it. New file.
9480 * gdb.base/disp-step-syscall.exp: Rename to ...
9481 * gdb.base/step-over-syscall.exp: ... it. New file.
9482 (disp_step_cross_syscall): Rename to ...
9483 (step_over_syscall): ... it.
9484
9485 2016-03-03 Yao Qi <yao.qi@linaro.org>
9486
9487 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9488 If target supports condition evaluation on target, invoke
9489 break_cond_on_syscall for fork and vfork.
9490
9491 2016-03-03 Yao Qi <yao.qi@linaro.org>
9492
9493 * gdb.base/disp-step-syscall.exp: Don't invoke
9494 support_displaced_stepping.
9495 (disp_step_cross_syscall): Test with displaced stepping off and
9496 on if supported.
9497
9498 2016-03-03 Yao Qi <yao.qi@linaro.org>
9499
9500 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9501 proc.
9502 (setup): New proc.
9503 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9504 and setup.
9505
9506 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9507
9508 * gdb.fortran/vla-history.exp: Remove breakpoint.
9509
9510 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9511
9512 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9513 exceeds timeout.
9514
9515 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9516
9517 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9518 breakpoint.
9519
9520 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9521
9522 * gdb.mi/vla.f90: Nullify pointer after declaration.
9523
9524 2016-03-01 Pedro Alves <palves@redhat.com>
9525
9526 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9527
9528 2016-03-01 Pedro Alves <palves@redhat.com>
9529
9530 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9531 before anything else.
9532 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9533 _GNU_SOURCE here.
9534 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9535 before anything else.
9536 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9537
9538 2016-03-01 Pedro Alves <palves@redhat.com>
9539
9540 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9541
9542 2016-03-01 Yao Qi <yao.qi@linaro.org>
9543
9544 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9545 prepare_for_testing.
9546
9547 2016-03-01 Yao Qi <yao.qi@linaro.org>
9548
9549 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9550
9551 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9552
9553 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9554 manually constructing the output path.
9555
9556 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9557
9558 * gdb.arch/s390-stackless.S: New.
9559 * gdb.arch/s390-stackless.exp: New.
9560
9561 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9562
9563 * gdb.dlang/circular.c: New file.
9564 * gdb.dlang/circular.exp: New file.
9565
9566 2016-02-26 Yao Qi <yao.qi@linaro.org>
9567
9568 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9569 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9570 (testcases): Update.
9571
9572 2016-02-26 Yao Qi <yao.qi@linaro.org>
9573
9574 * gdb.reverse/aarch64.c: Rename to ...
9575 * gdb.reverse/insn-reverse.c: ... it.
9576 * gdb.reverse/aarch64.exp: Rename to ...
9577 * gdb.reverse/insn-reverse.exp: ... it.
9578
9579 2016-02-26 Yao Qi <yao.qi@linaro.org>
9580
9581 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9582 (testcase_ftype): New.
9583 (testcases): New array.
9584 (n_testcases): New.
9585 (main): Call each element in testcases.
9586 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9587 (read_testcase): New.
9588 Do the tests in a loop.
9589
9590 2016-02-25 Yao Qi <yao.qi@linaro.org>
9591
9592 * gdb.base/branches.c: Remove.
9593
9594 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9595
9596 PR gdb/13808
9597 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9598
9599 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9600
9601 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9602
9603 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9604
9605 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9606 change x86_64 call_insn to 'callq'.
9607
9608 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9609
9610 * gdb.trace/tfile-avx.c: Move to...
9611 * gdb.trace/tracefile-pseudo-reg.c: Here.
9612 * gdb.trace/tfile-avx.exp: Move to...
9613 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9614
9615 2016-02-24 Gary Benson <gbenson@redhat.com>
9616
9617 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9618 message on attach.
9619
9620 2016-02-23 Doug Evans <dje@google.com>
9621
9622 * gdb.base/skip.c (test_skip): New function.
9623 (end_test_skip_file_and_function): New function.
9624 (test_skip_file_and_function): New function.
9625 * gdb.base/skip1.c (test_skip): New function.
9626 (skip1_test_skip_file_and_function): New function.
9627 * gdb.base/skip.exp: Add tests for new skip options.
9628 * gdb.base/skip-solib.exp: Update expected output.
9629 * gdb.perf/skip-command.cc: New file.
9630 * gdb.perf/skip-command.exp: New file.
9631 * gdb.perf/skip-command.py: New file.
9632
9633 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9634
9635 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9636 info registers pattern.
9637
9638 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9639
9640 * lib/future.exp: Add D support.
9641 (gdb_find_gdc): New proc.
9642 (gdb_default_target_compile): Add D support.
9643
9644 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9645
9646 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9647 user+system time.
9648 (trace_speed_test): Determine the iteration count for a time
9649 between 15..30 seconds.
9650
9651 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9652
9653 * gdb.arch/i386-mpx-sigsegv.c: New file.
9654 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9655 * gdb.arch/i386-mpx-simple_segv.c: New file.
9656 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9657
9658 2016-02-18 Yao Qi <yao.qi@linaro.org>
9659
9660 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9661 Don't call setup_kfail.
9662
9663 2016-02-18 Yao Qi <yao.qi@linaro.org>
9664
9665 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9666 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9667
9668 2016-02-16 Doug Evans <dje@google.com>
9669
9670 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9671 * gdb.base/skip1.c: Ditto.
9672 * gdb.base/skip.exp: Whitespace cleanup.
9673
9674 2016-02-16 Don Breazeal <donb@codesourcery.com>
9675
9676 PR remote/19496
9677 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9678 Remove kfail for PR remote/19496.
9679
9680 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * lib/gdb.exp (standard_temp_file): Return a path specific to
9683 the runtest invocation.
9684
9685 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9686
9687 * gdb.trace/save-trace.exp: Change relative path to be in the
9688 standard output directory.
9689
9690 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9691
9692 * gdb.arch/i386-prologue.c: Add missing prototypes.
9693
9694 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9697 * gdb.arch/i386-prologue.exp: Likewise.
9698 * gdb.arch/i386-size.exp: Likewise.
9699
9700 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9701
9702 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9703 define object file path.
9704 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9705 file path.
9706 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9707 standard_output_file to define binfile.
9708
9709 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 Fix compatibility with recent gfortran-5.3.1.
9712 * gdb.fortran/vla-history.exp (print vla1 allocated)
9713 (print vla2 allocated, print $2, print $3): Remove
9714 (print $4): Rename to ...
9715 (print $2): ... here.
9716 (print $9): Rename to ...
9717 (print $5): ... here.
9718 (print $10): Rename to ...
9719 (print $6): ... here.
9720 * gdb.fortran/vla.f90: Add pvla initialization.
9721
9722 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9723
9724 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9725 New test.
9726 * gdb.fortran/vla-value-sub.exp: Likewise.
9727
9728 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9729
9730 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9731
9732 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9733
9734 * i386-biarch-core.exp: Define corefile using
9735 standard_output_file.
9736
9737 2016-02-12 Yao Qi <yao.qi@linaro.org>
9738
9739 * gdb.arch/arm-single-step-kernel-helper.c: New.
9740 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9741
9742 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9743
9744 * gdb.btrace/tailcall-only.exp: New.
9745 * gdb.btrace/tailcall-only.c: New.
9746 * gdb.btrace/x86_64-tailcall-only.S: New.
9747 * gdb.btrace/i686-tailcall-only.S: New.
9748
9749 2016-02-11 Pedro Alves <palves@redhat.com>
9750
9751 * README (Parallel testing): Add missing double quotes.
9752
9753 2016-02-11 Pedro Alves <palves@redhat.com>
9754
9755 * README (Parallel testing): New section.
9756 (GDB_PARALLEL): Rewrite.
9757 (FORCE_PARALLEL): Document.
9758
9759 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9760
9761 * gdb.trace/tfile-avx.c: New test.
9762 * gdb.trace/tfile-avx.exp: New test.
9763
9764 2016-02-09 Keith Seitz <keiths@redhat.com>
9765
9766 PR breakpoints/19546
9767 * gdb.base/infcall-exec.c: New file.
9768 * gdb.base/infcall-exec2.c: New file.
9769 * gdb.base/infcall-exec.exp: New file.
9770
9771 2016-02-09 Keith Seitz <keiths@redhat.com>
9772
9773 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9774 (toplevel): Call test_bkpt_address.
9775
9776 2016-02-09 Keith Seitz <keiths@redhat.com>
9777
9778 PR python/19506
9779 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9780 (toplevel): Call test_bkpt_address.
9781
9782 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9783
9784 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9785 to AC_OUTPUT.
9786 * configure: Regenerate.
9787
9788 2016-02-09 Pedro Alves <palves@redhat.com>
9789
9790 PR breakpoints/19548
9791 * gdb.base/execl-update-breakpoints.c (some_function): New
9792 function.
9793 (main): Call it.
9794 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9795 Tighten expected GDB output.
9796
9797 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9798
9799 * Makefile.in (ALL_SUBDIRS): Remove.
9800 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9801 (distclean maintainer-clean realclean): Likewise.
9802 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9803 * configure: Regenerate.
9804 * gdb.ada/Makefile.in: Delete.
9805 * gdb.arch/Makefile.in: Likewise.
9806 * gdb.asm/Makefile.in: Likewise.
9807 * gdb.base/Makefile.in: Likewise.
9808 * gdb.btrace/Makefile.in: Likewise.
9809 * gdb.cell/Makefile.in: Likewise.
9810 * gdb.compile/Makefile.in: Likewise.
9811 * gdb.cp/Makefile.in: Likewise.
9812 * gdb.disasm/Makefile.in: Likewise.
9813 * gdb.dlang/Makefile.in: Likewise.
9814 * gdb.dwarf2/Makefile.in: Likewise.
9815 * gdb.fortran/Makefile.in: Likewise.
9816 * gdb.gdb/Makefile.in: Likewise.
9817 * gdb.go/Makefile.in: Likewise.
9818 * gdb.guile/Makefile.in: Likewise.
9819 * gdb.java/Makefile.in: Likewise.
9820 * gdb.linespec/Makefile.in: Likewise.
9821 * gdb.mi/Makefile.in: Likewise.
9822 * gdb.modula2/Makefile.in: Likewise.
9823 * gdb.multi/Makefile.in: Likewise.
9824 * gdb.objc/Makefile.in: Likewise.
9825 * gdb.opencl/Makefile.in: Likewise.
9826 * gdb.opt/Makefile.in: Likewise.
9827 * gdb.pascal/Makefile.in: Likewise.
9828 * gdb.perf/Makefile.in: Likewise.
9829 * gdb.python/Makefile.in: Likewise.
9830 * gdb.reverse/Makefile.in: Likewise.
9831 * gdb.server/Makefile.in: Likewise.
9832 * gdb.stabs/Makefile.in: Likewise.
9833 * gdb.threads/Makefile.in: Likewise.
9834 * gdb.trace/Makefile.in: Likewise.
9835 * gdb.xml/Makefile.in: Likewise.
9836 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9837 GDB_PARALLEL.
9838 (standard_output_file): Remove check for GDB_PARALLEL, always
9839 return path in outputs/$subdir/$testname.
9840
9841 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9842
9843 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9844 (site.exp): Assign abs_srcdir to tcl's srcdir.
9845
9846 2016-02-04 Yao Qi <yao.qi@linaro.org>
9847
9848 * gdb.base/foll-exec-mode.c: Include limits.h.
9849 (main): Add parameters argc and argv. Get directory from
9850 argv[0].
9851 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9852 compilation.
9853 * gdb.base/foll-exec.c: Include limits.h.
9854 (main): Add parameters argc and argv.
9855 Get directory from argv[0].
9856 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9857 Adjust tests on the number of lines as source code changed.
9858 * gdb.base/foll-vfork-exit.c: Include limits.h.
9859 (main): Add one line of statement before vfork.
9860 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9861 (main): Add parameters argc and argv. Get directory from
9862 argv[0].
9863 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9864 (setup_gdb): Set tbreak to skip some source lines.
9865 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9866 (main): Add parameters argc and argv. Get directory from
9867 argv[0].
9868 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9869 compilation.
9870 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9871 (main): Add parameters argc and argv. Get directory from
9872 argv[0].
9873 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9874 compilation.
9875
9876 2016-02-01 Doug Evans <dje@google.com>
9877
9878 * gdb.base/skip.exp: Clean up multiple references to same test name.
9879
9880 2016-02-01 Pedro Alves <palves@redhat.com>
9881
9882 PR remote/19496
9883 * gdb.threads/forking-threads-plus-breakpoint.exp
9884 (displaced_stepping_supported): New global.
9885 (probe_displaced_stepping_support): New procedure.
9886 (do_test): Add 'displaced' parameter, and use it.
9887 (top level): Check for displaced stepping support. Add displaced
9888 stepping on/off testing axis.
9889
9890 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9891
9892 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9893 pointer. Don't perform further tests on the unassociated pointer
9894 if the first test fails.
9895
9896 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9897
9898 * gdb.base/max-value-size.c: New file.
9899 * gdb.base/max-value-size.exp: New file.
9900 * gdb.base/huge.exp: Disable max-value-size for this test.
9901
9902 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9903
9904 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9905
9906 2016-01-28 Yao Qi <yao.qi@linaro.org>
9907
9908 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9909
9910 2016-01-25 Pedro Alves <palves@redhat.com>
9911
9912 PR threads/19461
9913 * gdb.base/fork-running-state.c: New file.
9914 * gdb.base/fork-running-state.exp: New file.
9915
9916 2016-01-25 Pedro Alves <palves@redhat.com>
9917
9918 PR gdb/19494
9919 * gdb.base/catch-fork-kill.c: New file.
9920 * gdb.base/catch-fork-kill.exp: New file.
9921
9922 2016-01-25 Pedro Alves <palves@redhat.com>
9923
9924 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9925 Delete, moved to lib/gdb.exp.
9926 * gdb.threads/forking-threads-plus-breakpoint.exp
9927 (foreach_with_prefix): Likewise.
9928 * gdb.threads/process-dies-while-handling-bp.exp
9929 (foreach_with_prefix): Likewise.
9930 * lib/gdb.exp (foreach_with_prefix): New procedure.
9931
9932 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9933
9934 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9935 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9936
9937 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9938
9939 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9940 endian targets.
9941
9942 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9943 Pedro Alves <palves@redhat.com>
9944
9945 Fix testsuite compatibility with Guile.
9946 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9947 number.
9948
9949 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9950
9951 Fix testsuite compatibility with Guile.
9952 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9953 (thread 1): New test for backtrace through signal handler.
9954
9955 2016-01-22 Yao Qi <yao.qi@linaro.org>
9956
9957 PR testsuite/19491
9958 * gdb.base/multi-forks.c: Include
9959 ../lib/unbuffer_output.c
9960 (main): Call gdb_unbuffer_output.
9961
9962 2016-01-21 Doug Evans <dje@google.com>
9963
9964 * lib/ada.exp (gdb_compile_ada): Fix typo.
9965
9966 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9967
9968 * gdb.base/break-fun-addr.exp: New file.
9969 * gdb.base/break-fun-addr1.c: New file.
9970 * gdb.base/break-fun-addr2.c: New file.
9971
9972 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9973
9974 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9975 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9976 enum flag values.
9977
9978 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9979
9980 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9981 when GDB can not set the vector return value. Add more comments
9982 for clarification.
9983
9984 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9985
9986 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9987 command.
9988
9989 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9990
9991 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9992
9993 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9994
9995 * Makefile.in (check-single): Pass --status to runtest.
9996 (check/%.exp): Likewise.
9997
9998 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9999
10000 * Makefile.in (check-parallel): Propagate return code from make
10001 do-check-parallel.
10002
10003 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10004
10005 * gdb.trace/ftrace.exp: Fix expected message on continue.
10006 * gdb.trace/pending.exp: Fix expected message on continue.
10007 * gdb.trace/trace-break.exp: Fix expected message on continue.
10008
10009 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10010
10011 * lib/gdb.exp (gdb_test): Remove unused global references.
10012
10013 2016-01-18 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.base/async-shell.exp: Adjust expected output.
10016 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10017 * gdb.base/siginfo-thread.exp: Adjust expected output.
10018 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10019 * gdb.java/jnpe.exp: Adjust expected output.
10020 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10021 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10022 * gdb.threads/leader-exit.exp: Adjust expected output.
10023 * gdb.threads/manythreads.exp: Adjust expected output.
10024 * gdb.threads/pthreads.exp: Adjust expected output.
10025 * gdb.threads/schedlock.exp: Adjust expected output.
10026 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10027 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10028 expected output.
10029 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10030 output.
10031 * gdb.threads/sigthread.exp: Adjust expected output.
10032 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10033
10034 2016-01-18 Yao Qi <yao.qi@linaro.org>
10035
10036 * gdb.guile/scm-section-script.c: Replace @progbits with
10037 %progbits.
10038 * gdb.python/py-section-script.c: Likewise.
10039
10040 2016-01-15 Pedro Alves <palves@redhat.com>
10041
10042 * gdb.multi/tids.exp: Test star wildcard ranges.
10043
10044 2016-01-15 Pedro Alves <palves@redhat.com>
10045
10046 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10047 command from "thread apply" invocation.
10048 (thr_apply_info_thr_invalid): Default the expected output to the
10049 input tid list.
10050 (top level): Add tests that use convenience variables. Add tests
10051 for "thread apply" with a valid TID list, but missing the command.
10052
10053 2016-01-13 Pedro Alves <palves@redhat.com>
10054
10055 * gdb.base/default.exp: Expect $_gthread as well.
10056 * gdb.multi/tids.exp: Test $_gthread.
10057 * gdb.threads/thread-specific.exp: Test $_gthread.
10058
10059 2016-01-13 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.multi/tids.exp: Test "info threads -gid".
10062
10063 2016-01-13 Pedro Alves <palves@redhat.com>
10064
10065 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10066 Breakpoint.thread.
10067 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10068
10069 2016-01-07 Pedro Alves <palves@redhat.com>
10070
10071 * gdb.base/break.exp: Adjust to output changes.
10072 * gdb.base/hbreak2.exp: Likewise.
10073 * gdb.base/sepdebug.exp: Likewise.
10074 * gdb.base/watch_thread_num.exp: Likewise.
10075 * gdb.linespec/keywords.exp: Likewise.
10076 * gdb.multi/info-threads.exp: Likewise.
10077 * gdb.threads/thread-find.exp: Likewise.
10078 * gdb.multi/tids.c: New file.
10079 * gdb.multi/tids.exp: New file.
10080
10081 2016-01-13 Pedro Alves <palves@redhat.com>
10082
10083 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10084
10085 2016-01-13 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.base/default.exp: Expect $_inferior as well.
10088 * gdb.multi/base.exp: Test $_inferior.
10089
10090 2016-01-13 Pedro Alves <palves@redhat.com>
10091
10092 PR breakpoints/19388
10093 * gdb.base/catch-signal-siginfo-cond.c: New file.
10094 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10095
10096 2016-01-12 Josh Stone <jistone@redhat.com>
10097 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10098
10099 * gdb.base/catch-syscall.c (do_execve): New variable.
10100 (main): Conditionally trigger an execve.
10101 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10102 (test_catch_syscall_execve): New, check entry/return across execve.
10103 (do_syscall_tests): Call test_catch_syscall_execve.
10104
10105 2016-01-12 Pedro Alves <palves@redhat.com>
10106
10107 * gdb.base/random-signal.exp (do_test): New procedure, with body
10108 of testcase moved in.
10109
10110 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10111 Pedro Alves <palves@redhat.com>
10112
10113 * gdb.base/funcargs.exp (finish from indirectly called function):
10114 Reintroduce the case for 'First'.
10115
10116 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10117 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10120 (tcatch_vfork_then_child_follow_exec)
10121 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10122 identification.
10123
10124 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10125
10126 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10127 and repeats to unlimited.
10128 * gdb.python/py-value.exp: Likewise.
10129 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10130 and repeats to unlimited.
10131
10132 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10133
10134 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10135 and reordering the functions.
10136 * gdb.multi/hangout.c: Likewise.
10137 * gdb.multi/hello.c: Likewise.
10138
10139 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10140
10141 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10142 absolute.
10143 (SingleStatisticTestResult.report): Use dict.keys instead of
10144 dict.iterkeys.
10145
10146 2016-01-06 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10149
10150 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10151
10152 * gdb.btrace/dlopen.exp: New.
10153 * gdb.btrace/dlopen.c: New.
10154 * gdb.btrace/dlopen-dso.c: New.
10155
10156 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10157
10158 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10159 PATTERN argument is optional.
10160
10161 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10162
10163 * lib/ada.exp (target_compile_ada_from_dir): New function.
10164 (gdb_compile_ada): Reimplement avoiding the use of project files.
10165 * gdb.ada/gnat_ada.gpr: Delete.
10166 * gdb.ada/cond_lang.exp: Adjust test to make path before
10167 filename optional.
10168 * gdb.ada/small_reg_param.exp: Likewise.
10169
10170 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10171
10172 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10173
10174 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10175
10176 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10177 case.
10178
10179 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10180
10181 * gdb.base/break.exp: Remove dead code.
10182 * gdb.base/sepdebug.exp: Likewise.
10183
10184 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10185
10186 * gdb.asm/asm-source.exp: Remove HP-UX references.
10187 * gdb.base/annota1.exp: Likewise.
10188 * gdb.base/annota3.exp: Likewise.
10189 * gdb.base/attach.exp: Likewise.
10190 * gdb.base/bigcore.exp: Likewise.
10191 * gdb.base/break.exp: Likewise.
10192 * gdb.base/call-ar-st.exp: Likewise.
10193 * gdb.base/callfuncs.exp: Likewise.
10194 * gdb.base/catch-fork-static.exp: Likewise.
10195 * gdb.base/display.exp: Likewise.
10196 * gdb.base/foll-exec-mode.exp: Likewise.
10197 * gdb.base/foll-exec.exp: Likewise.
10198 * gdb.base/foll-fork.exp: Likewise.
10199 * gdb.base/foll-vfork.exp: Likewise.
10200 * gdb.base/funcargs.exp: Likewise.
10201 * gdb.base/hbreak2.exp: Likewise.
10202 * gdb.base/inferior-died.exp: Likewise.
10203 * gdb.base/interrupt.exp: Likewise.
10204 * gdb.base/multi-forks.exp: Likewise.
10205 * gdb.base/nodebug.exp: Likewise.
10206 * gdb.base/sepdebug.exp: Likewise.
10207 * gdb.base/solib1.c: Likewise.
10208 * gdb.base/step-test.exp: Likewise.
10209 * gdb.mi/non-stop.c: Likewise.
10210 * gdb.mi/pthreads.c: Likewise.
10211 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10212 * gdb.threads/pthreads.c: Likewise.
10213 * gdb.threads/staticthreads.exp: Likewise.
10214 * lib/future.exp: Likewise.
10215 * lib/gdb.exp: Likewise.
10216 * gdb.base/so-indr-cl.c: Remove.
10217 * gdb.base/so-indr-cl.exp: Likewise.
10218 * gdb.base/solib.c: Likewise.
10219 * gdb.base/solib.exp: Likewise.
10220 * gdb.base/solib2.c: Likewise.
10221
10222 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10223
10224 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10225 * gdb.base/call-ar-st.exp: Likewise.
10226 * gdb.base/callfuncs.exp: Likewise.
10227 * gdb.base/condbreak.exp: Likewise.
10228 * gdb.base/constvars.exp: Likewise.
10229 * gdb.base/hbreak2.exp: Likewise.
10230 * gdb.base/langs.exp: Likewise.
10231 * gdb.base/list.exp: Likewise.
10232 * gdb.base/long_long.exp: Likewise.
10233 * gdb.base/ptype.exp: Likewise.
10234 * gdb.base/scope.exp: Likewise.
10235 * gdb.base/signals.exp: Likewise.
10236 * gdb.base/so-impl-ld.exp: Likewise.
10237 * gdb.base/varargs.exp: Likewise.
10238 * gdb.base/volatile.exp: Likewise.
10239 * gdb.base/whatis.exp: Likewise.
10240 * gdb.cp/cplusfuncs.exp: Likewise.
10241 * gdb.cp/inherit.exp: Likewise.
10242 * gdb.cp/local.exp: Likewise.
10243 * gdb.cp/member-ptr.exp: Likewise.
10244 * gdb.cp/method.exp: Likewise.
10245 * gdb.cp/overload.exp: Likewise.
10246 * gdb.cp/templates.exp: Likewise.
10247 * gdb.stabs/weird.exp: Likewise.
10248 * lib/compiler.c: Likewise.
10249 * lib/compiler.cc: Likewise.
10250 * lib/cp-support.exp: Likewise.
10251 * lib/gdb.exp: Likewise.
10252
10253 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10254
10255 * configure.ac: Remove HP-UX case.
10256 * configure: Regenerate.
10257
10258 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10259
10260 * lib/gdb.exp (gdb_compile): Add function doc.
10261
10262 2015-12-17 Pedro Alves <palves@redhat.com>
10263
10264 PR threads/19354
10265 * gdb.multi/info-threads.exp: New file.
10266
10267 2015-12-15 Yao Qi <yao.qi@linaro.org>
10268
10269 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10270 is aarch64*-*-*.
10271
10272 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10273
10274 * gdb.base/history-duplicates.exp: Skip if no readline support.
10275
10276 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10277
10278 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10279
10280 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10281
10282 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10283
10284 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10285
10286 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10287 ctrl-C if nointerrupts target property is set.
10288 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10289 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10290 * gdb.base/paginate-bg-execution.exp: Likewise.
10291 * gdb.base/paginate-execution-startup.exp: Likewise.
10292 * gdb.base/random-signal.exp: Likewise.
10293 * gdb.base/range-stepping.exp: Likewise.
10294 * gdb.cp/annota2.exp: Likewise.
10295 * gdb.cp/annota3.exp: Likewise.
10296 * gdb.gdb/selftest.exp: Likewise.
10297 * gdb.threads/continue-pending-status.exp: Likewise.
10298 * gdb.threads/leader-exit.exp: Likewise.
10299 * gdb.threads/manythreads.exp: Likewise.
10300 * gdb.threads/pthreads.exp: Likewise.
10301 * gdb.threads/schedlock.exp: Likewise.
10302 * gdb.threads/sigthread.exp: Likewise.
10303
10304 2015-12-11 Don Breazeal <donb@codesourcery.com>
10305
10306 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10307 remote.
10308 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10309 * gdb.base/foll-exec.exp (main): Enable for target remote.
10310 * gdb.base/foll-fork.exp (main): Likewise.
10311 * gdb.base/foll-vfork.exp (main): Likewise.
10312 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10313 (proc continue_to_exit_bp_loc): Use clean_restart.
10314 * gdb.base/pie-execl.exp (main): Disable for target remote.
10315 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10316 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10317 * gdb.threads/execl.exp (main): Likewise.
10318 * gdb.threads/fork-child-threads.exp (main): Likewise.
10319 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10320 remote.
10321 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10322 remote.
10323 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10324 pid.tid style ptids, instead of just tid.
10325 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10326 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10327 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10328 ptids, instead of just tid.
10329
10330 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10331
10332 * gdb.base/list.exp (test_list_forward): Add end of file error
10333 test.
10334 (test_repeat_list_command): Add end of file error test.
10335 (test_list_backwards): Add beginning of file error test.
10336
10337 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10338
10339 * gdb.base/list.exp (test_list_invalid_args): New function,
10340 defined, and called.
10341
10342 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10343
10344 * gdb.base/list.exp (test_list): Make test names unique.
10345
10346 2015-12-11 Yao Qi <yao.qi@linaro.org>
10347
10348 * gdb.base/coremaker2.c: Remove.
10349
10350 2015-12-10 Pedro Alves <palves@redhat.com>
10351
10352 * gdb.multi/base.exp: Remove stale "spaces" references.
10353
10354 2015-12-10 Pedro Alves <palves@redhat.com>
10355
10356 * gdb.multi/base.exp: Don't use nowarnings.
10357 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10358 * gdb.multi/hangout.c: Include stdio.h.
10359 * gdb.multi/hello.c: Include stdlib.h.
10360 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10361 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10362 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10363
10364 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10365
10366 * gdb.dwarf2/dw2-ranges-base.c: New file.
10367 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10368 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10369 support additional line table, and debug ranges generation.
10370 (Dwarf::ranges): New function, generate .debug_ranges.
10371 (Dwarf::lines): Support generating simple line table programs.
10372 (Dwarf::assemble): Initialise new namespace variables.
10373
10374 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10375
10376 * gdb.base/async.exp (proc test_background): Add case for
10377 asynchronous execution not supported.
10378
10379 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10380
10381 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10382 format and change test names to make them unique.
10383
10384 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10385 Pedro Alves <pedro@redhat.com>
10386
10387 PR gdb/18702
10388 Add checking of floatformats setup on x86_64 hosts.
10389 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10390 (smallval, bigval): New labels/constants.
10391 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10392 float" after loading bigval and smallval.
10393
10394 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10395
10396 * gdb.ada/fun_overload_menu.exp: New testcase.
10397 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10398
10399 2015-12-04 Josh Stone <jistone@redhat.com>
10400
10401 * gdb.base/catch-fork-static.exp: New.
10402
10403 2015-12-03 Yao Qi <yao.qi@linaro.org>
10404
10405 * gdb.base/sizeof.c: Don't include stdio.h and
10406 ../lib/unbuffer_output.c.
10407 (main): New variable 'size' and 'value'. Remove printf and
10408 gdb_unbuffer_output. Assign return value to size and value.
10409 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10410 at the beginning.
10411 (check_sizeof): Check the result by printing variable 'size'.
10412 (check_valueof): Check the result by printing variable 'value'.
10413
10414 2015-12-01 Yao Qi <yao.qi@linaro.org>
10415
10416 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10417 for aarch64*-*-linux* target.
10418
10419 2015-11-30 Pedro Alves <palves@redhat.com>
10420
10421 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10422
10423 2015-11-30 Pedro Alves <palves@redhat.com>
10424
10425 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10426 Handle non-stop mode vCont replies.
10427
10428 2015-11-30 Pedro Alves <palves@redhat.com>
10429
10430 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10431 prepare_for_testing. Start gdb with "set non-stop on" appended to
10432 GDBFLAGS. Lax expected stop output.
10433
10434 2015-11-27 Yao Qi <yao.qi@linaro.org>
10435
10436 * gdb.arch/arm-neon.exp: New.
10437 * gdb.arch/arm-neon.c: New.
10438
10439 2015-11-27 Yao Qi <yao.qi@linaro.org>
10440
10441 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10442
10443 2015-11-27 Yao Qi <yao.qi@linaro.org>
10444
10445 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10446 frames-invalid annotation.
10447
10448 2015-11-27 Yao Qi <yao.qi@linaro.org>
10449
10450 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10451
10452 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10453
10454 * gdb.threads/names.exp: New file.
10455 * gdb.threads/names.c: New file.
10456 * README: Mention gdb,no_thread_names.
10457
10458 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10459
10460 PR 19297
10461 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10462 support" error.
10463
10464 2015-11-24 Pedro Alves <palves@redhat.com>
10465
10466 PR 17539
10467 * gdb.base/display.exp: Expect displays to be sorted in ascending
10468 order. Use multi_line.
10469 * gdb.base/solib-display.exp: Likewise.
10470
10471 2015-11-24 Pedro Alves <palves@redhat.com>
10472
10473 PR 17539
10474 * gdb.base/display.exp: Expect displays to be sorted in ascending
10475 order. Use multi_line.
10476 * gdb.base/solib-display.exp: Likewise.
10477
10478 2015-11-24 Pedro Alves <palves@redhat.com>
10479
10480 PR 17539
10481 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10482 threads in ascending order.
10483 * gdb.base/foll-fork.exp: Likewise.
10484 * gdb.base/foll-vfork.exp: Likewise.
10485 * gdb.base/multi-forks.exp: Likewise.
10486 * gdb.mi/mi-nonstop.exp: Likewise.
10487 * gdb.mi/mi-nsintrall.exp: Likewise.
10488 * gdb.multi/base.exp: Likewise.
10489 * gdb.multi/multi-arch.exp: Likewise.
10490 * gdb.python/py-inferior.exp: Likewise.
10491 * gdb.threads/break-while-running.exp: Likewise.
10492 * gdb.threads/execl.exp: Likewise.
10493 * gdb.threads/gcore-thread.exp: Likewise.
10494 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10495 * gdb.threads/kill.exp: Likewise.
10496 * gdb.threads/linux-dp.exp: Likewise.
10497 * gdb.threads/multiple-step-overs.exp: Likewise.
10498 * gdb.threads/next-bp-other-thread.exp: Likewise.
10499 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10500 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10501 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10502 * gdb.threads/thread-find.exp: Likewise.
10503 * gdb.threads/tls.exp: Likewise.
10504 * lib/mi-support.exp (mi_reverse_list): Delete.
10505 (mi_check_thread_states): No longer reverse list.
10506
10507 2015-11-24 Pedro Alves <palves@redhat.com>
10508
10509 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10510 use lowercase.
10511
10512 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10513
10514 * gdb.trace/actions.c: Include trace-common.h.
10515 (main): Add a location for a fast tracepoint.
10516 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10517 the normal tracepoints.
10518 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10519
10520 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10521
10522 * save-trace.exp: Factor out code to these...
10523 (gdb_save_tracepoints): New.
10524 (gdb_load_tracepoints): New.
10525 (do_save_load_test): New.
10526
10527 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10528
10529 * gdb.base/asmlabel.exp: New test.
10530 * gdb.base/asmlabel.c: New test case.
10531
10532 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10533
10534 * gdb.base/wrong_frame_bt_full-main.c: New file.
10535 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10536 * gdb.base/wrong_frame_bt_full.exp: New file.
10537
10538 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10539
10540 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10541
10542 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10543
10544 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10545 pstate register when comparing registers values in
10546 sparc64-*-linux-gnu targets to avoid spurious differences.
10547
10548 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10549
10550 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10551
10552 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10553
10554 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10555 as type argument to gdb_compile.
10556 * gdb.base/nested-subp2.exp: Likewise.
10557 * gdb.base/nested-subp3.exp: Likewise.
10558
10559 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10560
10561 * lib/dwarf.exp (_note): Fix left shift of negative value.
10562 * gdb.trace/trace-condition.exp: Likewise.
10563
10564 2015-11-13 Yao Qi <yao.qi@linaro.org>
10565
10566 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10567 comments about d10v.
10568 (test_scalar_returns): Likewise.
10569 * gdb.base/d10v.ld: Remove.
10570 * gdb.base/overlays.exp: Remove the target triplet checking for
10571 d10v-*-*.
10572 * gdb.base/structs.exp (test_struct_returns): Remove the
10573 comments about d10v.
10574 (test_struct_calls): Likewise.
10575
10576 2015-11-13 Yao Qi <yao.qi@linaro.org>
10577
10578 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10579 * gdb.base/gnu_vector.c: Don't include stdio.h.
10580 (main): Don't print res and call add_some_intvecs.
10581
10582 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10583
10584 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10585 macro.
10586 (func5): Removed.
10587 (func4): Use FAST_TRACEPOINT_LABEL.
10588 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10589 macro.
10590 (func): Removed.
10591 (thread_function): Use FAST_TRACEPOINT_LABEL.
10592 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10593 (func): Remove.
10594 (marker): Use FAST_TRACEPOINT_LABEL.
10595 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10596 (pendfunc1): Remove.
10597 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10598 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10599 (foo): Remove.
10600 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10601 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10602 macro.
10603 (func): Remove.
10604 (marker): Use FAST_TRACEPOINT_LABEL.
10605 * gdb.trace/trace-common.h: New header.
10606 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10607 macro.
10608 (func): Remove.
10609 (marker): Use FAST_TRACEPOINT_LABEL.
10610 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10611 (func): Remove.
10612 (thread_function): Use FAST_TRACEPOINT_LABEL.
10613
10614 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10615
10616 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10617 in front.
10618 * gdb.trace/change-loc.exp: Use global pcreg definition.
10619 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10620 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10621 in front.
10622 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10623 * gdb.trace/pending.exp: Likewise.
10624 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10625 * gdb.trace/trace-break.exp: Likewise.
10626 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10627 in front.
10628 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10629 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10630 in front.
10631 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10632
10633 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10634
10635 * gdb.ada/fin_fun_out: New testcase.
10636
10637 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10638
10639 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10640 value associated with DW_AT_byte_size.
10641 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10642 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10643 DW_AT_upper_bound.
10644
10645 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10646
10647 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10648 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10649 version.
10650 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10651 gdb.dwarf2/dw2-canonicalize-type.exp,
10652 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10653 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10654 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10655 provided by gdb_target_symbol_prefix_flags_asm.
10656 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10657 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10658 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10659 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10660 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10661 macros where needed). Use this macro for symbols which require
10662 the prefix provided by SYMBOL_PREFIX.
10663
10664 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10665
10666 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10667 New procs.
10668 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10669 representing expressions, of more than one list element.
10670 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10671 to prepend linker symbol prefix to f.
10672 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10673 table_1 and table_2.
10674 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10675 Likewise, for f and g.
10676 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10677 for ptr.
10678 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10679 for main.
10680 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10681 table_1_ptr and table_2_ptr.
10682
10683 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10684 Joel Brobecker <brobecker@adacore.com>
10685
10686 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10687
10688 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10689
10690 * gdb.reverse/s390-mvcle.c: New test.
10691 * gdb.reverse/s390-mvcle.exp: New file.
10692 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10693
10694 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10695
10696 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10697
10698 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10699
10700 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10701 reaching marker2.
10702 * gdb.reverse/getresuid-reverse.exp: Likewise.
10703 * gdb.reverse/pipe-reverse.exp: Likewise.
10704 * gdb.reverse/readv-reverse.exp: Likewise.
10705 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10706 * gdb.reverse/time-reverse.exp: Likewise.
10707 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10708
10709 2015-10-30 Yao Qi <yao.qi@linaro.org>
10710
10711 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10712 (empty_cycle): Remove.
10713 (main): Don't call empty_cycle. Don't use watch_count_done.
10714 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10715 empty_cycle. Rewrite the code counting HW watchpoints.
10716
10717 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10718
10719 * gdb.reverse/fstatat-reverse.c: New test.
10720 * gdb.reverse/fstatat-reverse.exp: New file.
10721 * gdb.reverse/getresuid-reverse.c: New test.
10722 * gdb.reverse/getresuid-reverse.exp: New file.
10723 * gdb.reverse/pipe-reverse.c: New test.
10724 * gdb.reverse/pipe-reverse.exp: New file.
10725 * gdb.reverse/readv-reverse.c: New test.
10726 * gdb.reverse/readv-reverse.exp: New file.
10727 * gdb.reverse/recvmsg-reverse.c: New test.
10728 * gdb.reverse/recvmsg-reverse.exp: New file.
10729 * gdb.reverse/time-reverse.c: New test.
10730 * gdb.reverse/time-reverse.exp: New file.
10731 * gdb.reverse/waitpid-reverse.c: New test.
10732 * gdb.reverse/waitpid-reverse.exp: New file.
10733
10734 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10735
10736 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10737
10738 2015-10-26 Doug Evans <dje@google.com>
10739
10740 PR symtab/17391
10741 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10742 * gdb.dwarf2/bad-regnum.c: New file.
10743 * gdb.dwarf2/bad-regnum.exp: New file.
10744
10745 2015-10-26 Doug Evans <dje@google.com>
10746
10747 PR python/18938
10748 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10749 file.
10750
10751 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10752
10753 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10754 for a change by "Mention language in compile error message".
10755
10756 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10757
10758 PR python/18073
10759 * gdb.python/py-type.c (C::a_method): New.
10760 (C::a_const_method): New.
10761 (C::a_static_method): New.
10762 (a_function): New.
10763 * gdb.python/py-type.exp (test_fields): Test getting fields
10764 from function and method.
10765
10766 2015-10-21 Keven Boell <keven.boell@intel.com>
10767
10768 * gdb.fortran/vla-alloc-assoc.exp: New file.
10769 * gdb.fortran/vla-datatypes.exp: New file.
10770 * gdb.fortran/vla-datatypes.f90: New file.
10771 * gdb.fortran/vla-history.exp: New file.
10772 * gdb.fortran/vla-ptype-sub.exp: New file.
10773 * gdb.fortran/vla-ptype.exp: New file.
10774 * gdb.fortran/vla-sizeof.exp: New file.
10775 * gdb.fortran/vla-sub.f90: New file.
10776 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10777 * gdb.fortran/vla-value-sub-finish.exp: New file.
10778 * gdb.fortran/vla-value-sub.exp: New file.
10779 * gdb.fortran/vla-value.exp: New file.
10780 * gdb.fortran/vla-ptr-info.exp: New file.
10781 * gdb.mi/mi-vla-fortran.exp: New file.
10782 * gdb.mi/vla.f90: New file.
10783
10784 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10785
10786 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10787 of hardwired timeout value.
10788
10789 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10790 Pedro Alves <palves@redhat.com>
10791
10792 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10793 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10794
10795 2015-10-19 Josh Stone <jistone@redhat.com>
10796
10797 * gdb.base/catch-syscall.c: Include <sched.h>.
10798 (unknown_syscall): New variable.
10799 (main): Trigger a vfork and an unknown syscall.
10800 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10801 (unknown_syscall_number): Likewise.
10802 (check_call_to_syscall): Accept an optional syscall pattern.
10803 (check_return_from_syscall): Likewise.
10804 (check_continue): Likewise.
10805 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10806 (test_catch_syscall_skipping_return): New test toggling off 'catch
10807 syscall' to step over the syscall return, then toggling back on.
10808 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10809 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10810 (do_syscall_tests): Call test_catch_syscall_without_args and
10811 test_catch_syscall_mid_vfork.
10812 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10813 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10814
10815 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10816
10817 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10818 print g_vE): Add new pass patterns.
10819 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10820 print various symbol names for vptr fields.
10821
10822 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10823
10824 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10825 results.
10826
10827 2015-10-12 Yao Qi <yao.qi@linaro.org>
10828
10829 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10830
10831 2015-10-12 Yao Qi <yao.qi@linaro.org>
10832
10833 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10834 is aarch64*-*-linux*.
10835
10836 2015-10-12 Yao Qi <yao.qi@linaro.org>
10837
10838 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10839 (can_relocate_bcond_true): ... it.
10840 (can_relocate_bcond_false): New function.
10841 (foo): Likewise.
10842 (can_relocate_bl): Likewise.
10843 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10844 can_relocate_bl.
10845
10846 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10847
10848 * gdb.base/nested-addr.c: New file.
10849 * gdb.base/nested-addr.exp: New testcase.
10850
10851 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10852
10853 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10854 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10855 its output. Ignore the output of "record goto begin" and instead
10856 check that GDB is replaying.
10857
10858 2015-10-09 Pedro Alves <palves@redhat.com>
10859
10860 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10861 (top level): Use it in the run with no args test.
10862
10863 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10864
10865 * gdb.dlang/properties.exp: New file.
10866
10867 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10868
10869 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10870 whether or not address 0x1000 is mapped on the target.
10871
10872 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10873
10874 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10875 build.
10876
10877 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10878
10879 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10880 instruction-history test.
10881
10882 2015-09-28 Doug Evans <dje@google.com>
10883
10884 * gdb.base/gcore.c (array_func): Add reference to static_array.
10885
10886 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10887
10888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10889 source line.
10890
10891 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10892
10893 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10894 short or char as base type.
10895
10896 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10897
10898 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10899 to allow any size enum.
10900
10901 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10902
10903 * gdb.ada/array_ptr_renaming.exp: New testcase.
10904 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10905 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10906
10907 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10908
10909 * gdb.trace/ftrace-lock.c: New file.
10910 * gdb.trace/ftrace-lock.exp: New file.
10911
10912 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10913
10914 * gdb.arch/insn-reloc.c: New file.
10915 * gdb.arch/ftrace-insn-reloc.exp: New file.
10916
10917 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10918
10919 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10920 instruction.
10921 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10922 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10923 * gdb.trace/range-stepping.c: Likewise.
10924 * gdb.trace/trace-break.c: Likewise.
10925 * gdb.trace/trace-mt.c (thread_function): Likewise.
10926 * gdb.trace/ftrace.c (marker): Likewise.
10927 * gdb.trace/trace-condition.c (marker): Likewise.
10928 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10929 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10930 is_aarch64_target.
10931
10932 2015-09-18 Doug Evans <xdje42@gmail.com>
10933
10934 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10935 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10936
10937 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10938
10939 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10940 the breakpoint.
10941
10942 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10943
10944 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10945 the pending breakpoint. Remove timeout override for "Run till
10946 MI pending breakpoint on pendfunc3 on thread 2" test.
10947
10948 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10949
10950 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10951 filename pattern.
10952
10953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10954
10955 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10956 in breakpoint filename pattern.
10957
10958 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10959
10960 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10961
10962 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10963
10964 * gdb.linespec/explicit.exp: Check for readline support for
10965 tab-completion tests. Fix obvious typo.
10966
10967 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10968
10969 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10970 and replay.
10971
10972 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10973
10974 * gdb.btrace/non-stop.c: New.
10975 * gdb.btrace/non-stop.exp: New.
10976
10977 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10978 Yao Qi <yao.qi@linaro.org>
10979
10980 * gdb.trace/trace-condition.c: New file.
10981 * gdb.trace/trace-condition.exp: New file.
10982
10983 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10984
10985 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10986 for testing bytecode compilation.
10987
10988 2015-09-16 Pedro Alves <palves@redhat.com>
10989 Sandra Loosemore <sandra@codesourcery.com>
10990
10991 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10992 (SECONDS): Redefine.
10993 (main): Call pthread_kill and alarm early.
10994 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10995 support.
10996 (test): If the target can't hardware step and doesn't support
10997 displaced stepping, increase the timeout.
10998
10999 2015-09-16 Pedro Alves <palves@redhat.com>
11000
11001 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11002 (enable_debug): New procedures.
11003 (test): Use them. Bail out if waiting for threads fails.
11004 (top level): Bail out if a test fails.
11005
11006 2015-09-16 Yao Qi <yao.qi@linaro.org>
11007
11008 * gdb.asm/asm-source.exp: Set asm-arch for
11009 aarch64*-*-* target.
11010 * gdb.asm/aarch64.inc: New file.
11011
11012 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11013
11014 * gdb.ada/array_of_variable_length.exp: New testcase.
11015 * gdb.ada/array_of_variable_length/foo.adb: New file.
11016 * gdb.ada/array_of_variable_length/pck.adb: New file.
11017 * gdb.ada/array_of_variable_length/pck.ads: New file.
11018
11019 2015-09-15 Doug Evans <dje@google.com>
11020
11021 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11022 of function static local variable.
11023
11024 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11025
11026 * gdb.threads/tls-so_extern.exp: New test file.
11027 * gdb.threads/tls-so_extern.c: New test file.
11028 * gdb.threads/tls-so_extern_main.c: New test file.
11029
11030 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11031
11032 * gdb.opt/solib-intra-step-lib.c: New file.
11033 * gdb.opt/solib-intra-step-main.c: New file.
11034 * gdb.opt/solib-intra-step.exp: New file.
11035
11036 2015-09-15 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11039 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11040
11041 2015-09-14 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.base/hook-stop-continue.c: Delete.
11044 * gdb.base/hook-stop-continue.exp: Delete.
11045 * gdb.base/hook-stop-frame.c: Delete.
11046 * gdb.base/hook-stop-frame.exp: Delete.
11047 * gdb.base/hook-stop.c: New file.
11048 * gdb.base/hook-stop.exp: New file.
11049
11050 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11051
11052 * gdb.ada/access_to_packed_array.exp: New testcase.
11053 * gdb.ada/access_to_packed_array/foo.adb: New file.
11054 * gdb.ada/access_to_packed_array/pack.adb: New file.
11055 * gdb.ada/access_to_packed_array/pack.ads: New file.
11056
11057 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11058
11059 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11060 buffer size test.
11061
11062 2015-09-11 Don Breazeal <donb@codesourcery.com>
11063
11064 * gdb.base/foll-exec.c: Add copyright header. Fix
11065 formatting issues.
11066 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11067 (do_exec_tests): Use clean_restart in place of zap_session,
11068 and for test initialization. Fix formatting issues. Use
11069 fail in place of perror.
11070 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11071 an expect statement to match an expression with output from
11072 the program under debug.
11073 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11074 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11075 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11076 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11077 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11078
11079 2015-09-09 Doug Evans <dje@google.com>
11080
11081 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11082
11083 2015-09-09 Doug Evans <dje@google.com>
11084
11085 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11086
11087 2015-09-09 Doug Evans <dje@google.com>
11088
11089 * gdb.base/savedregs.exp: Fix typo.
11090
11091 2015-09-09 Pedro Alves <palves@redhat.com>
11092
11093 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11094
11095 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11096
11097 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11098 command actually switches threads. Give up on remaining
11099 tests if target fails to stop at breakpoint.
11100
11101 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11102
11103 * gdb.ada/funcall_char.exp: New testcase.
11104 * gdb.ada/funcall_char/foo.adb: New file.
11105
11106 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11107
11108 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11109 expected outputs. Add two testcases for completing ambiguous
11110 functions.
11111 * gdb.ada/complete/aux_pck.adb: New file.
11112 * gdb.ada/complete/aux_pck.ads: New file.
11113 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11114 Ambiguous_Func functions.
11115 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11116 * gdb.ada/complete/pck.adb: Likewise.
11117
11118 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11119
11120 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11121 failures to run the test program under GDB.
11122
11123 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11124
11125 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11126 to C.
11127
11128 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11129
11130 * gdb.base/run-after-attach.exp: New test file.
11131 * gdb.base/run-after-attach.c: New test file.
11132
11133 2015-08-26 Don Breazeal <donb@codesourcery.com>
11134
11135 * gdb.base/foll-exec-2.c: New test program.
11136 * gdb.base/foll-exec-2.exp: New test.
11137
11138 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11139
11140 * gdb.base/nested-subp1.exp: New file.
11141 * gdb.base/nested-subp1.c: New file.
11142 * gdb.base/nested-subp2.exp: New file.
11143 * gdb.base/nested-subp2.c: New file.
11144 * gdb.base/nested-subp3.exp: New file.
11145 * gdb.base/nested-subp3.c: New file.
11146
11147 2015-08-24 Pedro Alves <palves@redhat.com>
11148
11149 * gdb.server/connect-without-multi-process.c: New file.
11150 * gdb.server/connect-without-multi-process.exp: New file.
11151
11152 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11153
11154 * gdb.opt/inline-markers.c: Make z int.
11155
11156 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11157
11158 * gdb.opt/inline-markers.c: Make z volatile.
11159
11160 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11161
11162 * gdb.opt/inline-bt.c: New volatile global z.
11163 * gdb.opt/inline-cmds.c: Likewise.
11164 * gdb.opt/inline-locals.c: Likewise.
11165 * gdb.opt/inline-markers.c: New extern global z.
11166 (marker): Use z.
11167 (inline_fn): Likewise.
11168
11169 2015-08-24 Pedro Alves <palves@redhat.com>
11170
11171 * config/m32r-stub.exp: Remove file.
11172 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11173 * gdb.base/call-rt-st.exp: Likewise.
11174 * gdb.base/call-strs.exp: Likewise.
11175 * gdb.base/default.exp: Remove references to h8300-*-hms and
11176 *-*-udi*.
11177 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11178
11179 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11180
11181 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11182 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11183 and "return" use KFAIL when GDB can not read/write the vector
11184 return value.
11185
11186 2015-08-21 Gary Benson <gbenson@redhat.com>
11187
11188 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11189
11190 2015-08-20 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.server/solib-list.exp: No longer expect an interior stop in
11193 non-stop mode.
11194
11195 2015-08-20 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.server/connect-stopped-target.c: New file.
11198 * gdb.server/connect-stopped-target.exp: New file.
11199
11200 2015-08-20 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.dwarf2/comp-unit-lang.exp: New file.
11203 * gdb.dwarf2/comp-unit-lang.c: New file.
11204
11205 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11206
11207 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11208 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11209
11210 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11211
11212 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11213 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11214
11215 2015-08-18 Doug Evans <dje@google.com>
11216 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11217
11218 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11219 skip_python_tests. New arg prompt_regexp.
11220 (skip_python_tests): New function.
11221 * lib/mi-support.exp (mi_skip_python_tests): New function.
11222 * gdb.python/py-mi-objfile-gdb.py: New file.
11223 * gdb.python/py-mi-objfile.c: New file.
11224 * gdb.python/py-mi-objfile.exp: New file.
11225
11226 2015-08-17 Keith Seitz <keiths@redhat.com>
11227
11228 * gdb.linespec/explicit.exp: Move strace test from here ...
11229 * gdb.trace/strace.exp: ... to here.
11230
11231 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11232
11233 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11234 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11235
11236 2015-08-14 Doug Evans <xdje42@gmail.com>
11237
11238 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11239 inferior before selecting a new file.
11240
11241 2015-08-14 Doug Evans <xdje42@gmail.com>
11242
11243 * gdb.mi/mi-disassemble.exp: Update.
11244 * gdb.base/disasm-optim.S: New file.
11245 * gdb.base/disasm-optim.c: New file.
11246 * gdb.base/disasm-optim.h: New file.
11247 * gdb.base/disasm-optim.exp: New file.
11248
11249 2015-08-14 Keith Seitz <keiths@redhat.com>
11250
11251 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11252 "evaluated-by".
11253
11254 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11255
11256 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11257
11258 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11259
11260 * gdb.ada/fun_renaming.exp: New testcase.
11261 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11262 * gdb.ada/fun_renaming/pack.adb: New file.
11263 * gdb.ada/fun_renaming/pack.ads: New file.
11264
11265 2015-08-12 Keith Seitz <keiths@redhat.com>
11266
11267 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11268 gdb_get_line_number.
11269
11270 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11271
11272 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11273 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11274 gdb.base/dso2dso.exp: New files.
11275
11276 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11277 Pedro Alves <palves@redhat.com>
11278 Keith Seitz <keiths@redhat.com>
11279
11280 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11281 GDBFLAGS.
11282
11283 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11284
11285 * gdb.base/gdbhistsize-history.exp
11286 (test_histsize_history_setting): Use save_vars.
11287 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11288 Use save_vars.
11289 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11290 * gdb.base/readline.exp: Use save_vars.
11291
11292 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11293
11294 * lib/gdb.exp (save_vars): New proc.
11295
11296 2015-08-11 Keith Seitz <keiths@redhat.com>
11297
11298 * gdb.base/help.exp: Update help_breakpoint_text.
11299
11300 2015-08-11 Keith Seitz <keiths@redhat.com>
11301
11302 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11303 (at toplevel): Call test_explicit_breakpoints.
11304 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11305 breakpoints.
11306 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11307 breakpoint conditions, "-cond".
11308
11309 2015-08-11 Keith Seitz <keiths@redhat.com>
11310
11311 * gdb.linespec/3explicit.c: New file.
11312 * gdb.linespec/cpexplicit.cc: New file.
11313 * gdb.linespec/cpexplicit.exp: New file.
11314 * gdb.linespec/explicit.c: New file.
11315 * gdb.linespec/explicit.exp: New file.
11316 * gdb.linespec/explicit2.c: New file.
11317 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11318 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11319 before using in the matching pattern.
11320 Clarify that `prefix' is a regular expression.
11321
11322 2015-08-11 Keith Seitz <keiths@redhat.com>
11323
11324 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11325 test.
11326 Add tests for missing ",FMT" and ",".
11327
11328 2015-08-10 Doug Evans <dje@google.com>
11329 Keith Seitz <keiths@redhat.com>
11330
11331 PR gdb/17960
11332 * gdb.base/completion.exp: Add location completer tests.
11333
11334 2015-08-07 Pedro Alves <palves@redhat.com>
11335
11336 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11337 tests here.
11338 (top level): Run do_test with and without displaced stepping.
11339
11340 2015-08-07 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.base/valgrind-disp-step.c: New file.
11343 * gdb.base/valgrind-disp-step.exp: New file.
11344
11345 2015-08-07 Pedro Alves <palves@redhat.com>
11346
11347 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11348 Delete function.
11349 (main): Add alarm. Run an infinite loop instead of calling
11350 wait_threads.
11351 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11352 comment.
11353 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11354 Delete function.
11355 (main): Add alarm. Run an infinite loop instead of calling
11356 wait_threads.
11357 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11358 comment.
11359
11360 2015-08-07 Pedro Alves <palves@redhat.com>
11361
11362 * gdb.base/checkpoint-ns.exp: New file.
11363 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11364 standard_testfile.
11365
11366 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11367
11368 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11369 * gdb.btrace/instruction_history.exp: Update.
11370 * gdb.btrace/tsx.exp: New.
11371 * gdb.btrace/tsx.c: New.
11372
11373 2015-08-06 Pedro Alves <palves@redhat.com>
11374
11375 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11376 increase timeout.
11377 * gdb.reverse/until-precsave.exp: Bump timeouts.
11378
11379 2015-08-06 Pedro Alves <palves@redhat.com>
11380
11381 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11382
11383 2015-08-06 Pedro Alves <palves@redhat.com>
11384
11385 PR gdb/18749
11386 * gdb.threads/process-dies-while-handling-bp.c: New file.
11387 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11388
11389 2015-08-06 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11392 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11393
11394 2015-08-05 Pedro Alves <palves@redhat.com>
11395
11396 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11397 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11398
11399 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11400
11401 * gdb.base/bp-permanent.exp: Report test as unsupported if
11402 the target cannot stop at the permanent breakpoint.
11403
11404 2015-08-03 Doug Evans <dje@google.com>
11405
11406 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11407 10000.
11408
11409 2015-08-03 Doug Evans <dje@google.com>
11410
11411 * Makefile.in (workers/%.worker, build-perf): New rule.
11412 (GDB_PERFTEST_MODE): New variable.
11413 (check-perf): Use it.
11414 (clean): Clean up gdb.perf parallel build subdirs.
11415 * lib/build-piece.exp: New file.
11416 * lib/gdb.exp (make_gdb_parallel_path): New function
11417 (standard_output_file, standard_temp_file): Call it.
11418 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11419 of $GDB_PARALLEL.
11420 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11421
11422 2015-08-03 Doug Evans <dje@google.com>
11423
11424 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11425 (LOG_FILE_NAME): New global.
11426 (TextReporter.__init__): Initialize self.txt_sum.
11427 (TextReporter.report): Add support for multiple data-points.
11428 Move report to perftest.sum, put raw data in perftest.log.
11429 (TextReporter.start): Open sum and log files.
11430 (TextReporter.end): Close sum and log files.
11431 * gdb.perf/lib/perftest/testresult.py
11432 (SingleStatisticTestResult.record): Handle multiple data-points.
11433
11434 2015-07-31 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11437 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11438 kill_wait_spawned_process instead of explicit "kill -9".
11439 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11440 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11441 kill_wait_spawned_process.
11442 * gdb.base/attach-twice.exp: Likewise.
11443 * gdb.base/attach.exp: Likewise.
11444 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11445 gdb_test_multiple.
11446 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11447 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11448 kill_wait_spawned_process.
11449 * gdb.base/valgrind-infcall.exp: Likewise.
11450 * gdb.multi/multi-attach.exp: Likewise.
11451 * gdb.python/py-prompt.exp: Likewise.
11452 * gdb.python/py-sync-interp.exp: Likewise.
11453 * gdb.server/ext-attach.exp: Likewise.
11454 * gdb.threads/attach-into-signal.exp (corefunc): Use
11455 spawn_wait_for_attach, spawn_id_get_pid and
11456 kill_wait_spawned_process.
11457 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11458 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11459 spawn_id_get_pid and kill_wait_spawned_process.
11460 * gdb.threads/attach-stopped.exp (corefunc): Use
11461 spawn_wait_for_attach, spawn_id_get_pid and
11462 kill_wait_spawned_process.
11463 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11464 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11465 kill_wait_spawned_process instead of explicit "kill -9".
11466 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11467 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11468 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11469 processes. Don't map cygwin/windows pids here. Now returns a
11470 spawn id list.
11471
11472 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11473
11474 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11475 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11476 correct patch.
11477
11478 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11479
11480 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11481
11482 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11483
11484 Reapply:
11485 2014-05-21 Mark Wielaard <mjw@redhat.com>
11486
11487 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11488
11489 2015-07-30 Pedro Alves <palves@redhat.com>
11490
11491 * linux-low.c (handle_extended_wait): Set the child's last
11492 reported status to TARGET_WAITKIND_STOPPED.
11493
11494 2015-07-30 Pedro Alves <palves@redhat.com>
11495
11496 PR threads/18600
11497 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11498 only shows inferior 1.
11499
11500 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11501 Pedro Alves <palves@redhat.com>
11502
11503 PR threads/18600
11504 * gdb.threads/fork-plus-threads.c: New file.
11505 * gdb.threads/fork-plus-threads.exp: New file.
11506
11507 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11508
11509 * gdb.base/batch-preserve-term-settings.exp
11510 (test_terminal_settings_preserved_after_cli_exit): Use
11511 send_quit_command.
11512
11513 2015-07-29 Pedro Alves <palves@redhat.com>
11514 Don Breazeal <donb@codesourcery.com>
11515
11516 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11517 output from both inferior_spawn_id and gdb_spawn_id.
11518
11519 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11520
11521 * gdb.threads/attach-into-signal.exp (corefunc): Use
11522 with_test_prefix on nested loops, uniquefying the test messages.
11523
11524 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11525
11526 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11527 commit.
11528
11529 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11530
11531 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11532 New proc.
11533 (test_terminal_settings_preserved_after_sigterm): New test.
11534
11535 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11536
11537 * gdb.base/batch-preserve-term-settings.exp
11538 (test_terminal_settings_preserved_after_cli_exit): New test.
11539
11540 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11541
11542 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11543 manipulation of saved_gdbflags.
11544 (test_terminal_settings_preserved): Remove global declaration of
11545 the unused variable pagination_prompt. Remove manipulation of
11546 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11547 GDBFLAGS.
11548
11549 2015-07-29 Pedro Alves <palves@redhat.com>
11550
11551 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11552
11553 2015-07-29 Pedro Alves <palves@redhat.com>
11554
11555 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11556 at the top.
11557
11558 2015-07-29 Pedro Alves <palves@redhat.com>
11559
11560 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11561 (main): Call gdb_unbuffer_output.
11562 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11563 (main): Call gdb_unbuffer_output.
11564 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11565 (main): Call gdb_unbuffer_output.
11566 * gdb.base/call-strs.exp: Adjust to step over the
11567 gdb_unbuffer_output call.
11568 * gdb.base/catch-gdb-caused-signals.c: Include
11569 "../lib/unbuffer_output.c".
11570 (main): Call gdb_unbuffer_output.
11571 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11572 (main): Call gdb_unbuffer_output.
11573 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11574 (main): Call gdb_unbuffer_output.
11575 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11576 (main): Call gdb_unbuffer_output.
11577 * gdb.base/shlib-call.exp: Adjust to step over the
11578 gdb_unbuffer_output call.
11579 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11580 (main): Call gdb_unbuffer_output.
11581 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11582 (main): Call gdb_unbuffer_output.
11583 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11584 (main): Rename to ...
11585 (test): ... this.
11586 (main): Reimplement.
11587 * gdb.base/varargs.exp: Run to test instead of to main.
11588 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11589 (main): Call gdb_unbuffer_output.
11590
11591 2015-07-29 Pedro Alves <palves@redhat.com>
11592
11593 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11594 factore out from mi_continue_dprintf. For call-style dprintfs,
11595 expect dprintf output out of $inferior_spawn_id.
11596 (mi_continue_dprintf): Use mi_expect_dprintf.
11597 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11598 (main): Call gdb_unbuffer_output.
11599
11600 2015-07-29 Pedro Alves <palves@redhat.com>
11601
11602 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11603 (default_mi_gdb_start): Set inferior_spawn_id instead of
11604 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11605 gdb_spawn_id.
11606 (mi_gdb_test): Always expect inferior output from both
11607 $inferior_spawn_id and $gdb_spawn_id.
11608
11609 2015-07-29 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11612 send_inferior and $inferior_spawn_id.
11613
11614 2015-07-29 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.gdb/complaints.exp (test_initial_complaints)
11617 (test_serial_complaints, test_short_complaints): Use
11618 gdb_test_stdio.
11619 (test_empty_complaint): Handle $inferior_spawn_id !=
11620 $gdb_spawn_id.
11621
11622 2015-07-29 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.base/varargs.exp: Use gdb_test_stdio.
11625
11626 2015-07-29 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11629
11630 2015-07-29 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11633
11634 2015-07-29 Pedro Alves <palves@redhat.com>
11635
11636 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11637 parameter into two new parameters, "inf_result" and "gdb_result".
11638 Expect inferior output and gdb output from $inferior_spawn_id and
11639 $gdb_spawn_id, respectively. Adjust all callers.
11640
11641 2015-07-29 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11644 of gdb_test_sequence.
11645
11646 2015-07-29 Pedro Alves <palves@redhat.com>
11647
11648 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11649 (saw_spurious_output): Expect inferior output from
11650 $inferior_spawn_id. Use gdb_test_stdio.
11651
11652 2015-07-29 Pedro Alves <palves@redhat.com>
11653
11654 * gdb.base/dprintf.exp: Use standard_testfile. Change
11655 prepare_for_testing call.
11656 (srcfile): Don't set.
11657 (restart): New procedure.
11658 (test_dprintf): New procecure, use to continue over dprintfs.
11659 (test_call, test_agent): New procedures, tests moved here.
11660 Restart gdb and recreate dprintfs. Adjust expected output.
11661
11662 2015-07-29 Pedro Alves <palves@redhat.com>
11663
11664 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11665
11666 2015-07-29 Pedro Alves <palves@redhat.com>
11667
11668 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11669
11670 2015-07-29 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11673 gdb_test_stdio.
11674
11675 2015-07-29 Pedro Alves <palves@redhat.com>
11676
11677 * lib/gdb.exp (gdb_test_stdio): New procedure.
11678
11679 2015-07-29 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11682
11683 2015-07-29 Pedro Alves <palves@redhat.com>
11684
11685 * gdb.base/call-signal-resume.exp: Remove check for
11686 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11687 * gdb.base/unwindonsignal.exp: Likewise.
11688 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11689 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11690
11691 2015-07-29 Pedro Alves <palves@redhat.com>
11692
11693 * gdb.base/siginfo-addr.c (pass): New function.
11694 (handler): Call it iff si_addr is correct.
11695 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11696 Set a breakpoint at "pass" and continue to it.
11697
11698 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11699
11700 * gdb.python/py-objfile.exp: Make some tests have unique names.
11701 * gdb.python/py-pp-registration.exp: Likewise.
11702
11703 2015-07-28 Pedro Alves <palves@redhat.com>
11704
11705 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11706
11707 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11708
11709 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11710
11711 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11712
11713 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11714
11715 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11716
11717 * gdb.base/gdb-sigterm-2.exp: New test.
11718
11719 2015-07-25 Doug Evans <xdje42@gmail.com>
11720
11721 Revert:
11722 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11723 (workers/%.worker, build-perf): New rule.
11724 (GDB_PERFTEST_MODE): New variable.
11725 (check-perf): Use it.
11726 (clean): Clean up gdb.perf parallel build subdirs.
11727 * lib/build-piece.exp: New file.
11728 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11729 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11730 name.
11731 (standard_temp_file): Ditto.
11732 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11733 of $GDB_PARALLEL.
11734
11735 2015-07-24 Doug Evans <dje@google.com>
11736
11737 * gdb.perf/lib/perftest/utils.py: New file.
11738 * gdb.perf/gm-hello.cc: New file.
11739 * gdb.perf/gm-pervasive-typedef.cc: New file.
11740 * gdb.perf/gm-pervasive-typedef.h: New file.
11741 * gdb.perf/gm-std.cc: New file.
11742 * gdb.perf/gm-std.h: New file.
11743 * gdb.perf/gm-use-cerr.cc: New file.
11744 * gdb.perf/gm-utils.h: New file.
11745 * gdb.perf/gmonster-null-lookup.py: New file.
11746 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11747 * gdb.perf/gmonster-print-cerr.py: New file.
11748 * gdb.perf/gmonster-ptype-string.py: New file.
11749 * gdb.perf/gmonster-runto-main.py: New file.
11750 * gdb.perf/gmonster-select-file.py: New file.
11751 * gdb.perf/gmonster1-null-lookup.exp: New file.
11752 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11753 * gdb.perf/gmonster1-print-cerr.exp: New file.
11754 * gdb.perf/gmonster1-ptype-string.exp: New file.
11755 * gdb.perf/gmonster1-runto-main.exp: New file.
11756 * gdb.perf/gmonster1-select-file.exp: New file.
11757 * gdb.perf/gmonster1.cc: New file.
11758 * gdb.perf/gmonster1.exp: New file.
11759 * gdb.perf/gmonster2-null-lookup.exp: New file.
11760 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11761 * gdb.perf/gmonster2-print-cerr.exp: New file.
11762 * gdb.perf/gmonster2-ptype-string.exp: New file.
11763 * gdb.perf/gmonster2-runto-main.exp: New file.
11764 * gdb.perf/gmonster2-select-file.exp: New file.
11765 * gdb.perf/gmonster2.cc: New file.
11766 * gdb.perf/gmonster2.exp: New file.
11767
11768 2015-07-24 Doug Evans <dje@google.com>
11769
11770 * gdb.perf/README: New file.
11771 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11772 * lib/gen-perf-test.exp: New file.
11773
11774 2015-07-24 Doug Evans <dje@google.com>
11775
11776 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11777 (PerfTest::startup): New function.
11778 (PerfTest::run): Return result of calling body.
11779 (PerfTest::assemble): Rewrite.
11780 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11781 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11782 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11783 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11784 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11785
11786 2015-07-24 Doug Evans <dje@google.com>
11787
11788 * lib/gdb.exp (clean_restart): Make executable optional.
11789
11790 2015-07-24 Doug Evans <dje@google.com>
11791
11792 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11793 compiler_info references.
11794 * gdb.cp/temargs.exp: Ditto.
11795 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11796 (get_compiler_info): Early exit if already computed. Set compiler_info
11797 to "unknown" if there was a problem.
11798 (test_compiler_info): Add function comment. Call get_compiler_info.
11799
11800 2015-07-24 Doug Evans <dje@google.com>
11801
11802 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11803 (workers/%.worker, build-perf): New rule.
11804 (GDB_PERFTEST_MODE): New variable.
11805 (check-perf): Use it.
11806 (clean): Clean up gdb.perf parallel build subdirs.
11807 * lib/build-piece.exp: New file.
11808 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11809 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11810 name.
11811 (standard_temp_file): Ditto.
11812 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11813 of $GDB_PARALLEL.
11814
11815 2015-07-24 Doug Evans <dje@google.com>
11816
11817 * lib/future.exp (gdb_default_target_compile): New option
11818 "early_flags".
11819 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11820 --as-needed.
11821
11822 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11823
11824 * gdb.base/catch-syscall.exp: Call gdb_exit before
11825 gdb_skip_xml_test.
11826
11827 2015-07-24 Pedro Alves <palves@redhat.com>
11828
11829 * gdb.python/py-events.exp: Accept output between the stop event
11830 and the prompt.
11831 * gdb.python/py-evsignal.exp: Likewise.
11832 * gdb.python/py-evthreads.exp: Likewise.
11833
11834 2015-07-24 Pedro Alves <palves@redhat.com>
11835
11836 PR gdb/18717
11837 * gdb.threads/non-ldr-exit.c: New file.
11838 * gdb.threads/non-ldr-exit.exp: New file.
11839
11840 2015-07-24 Yao Qi <yao.qi@linaro.org>
11841
11842 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11843 restarting process.
11844
11845 2015-07-24 Yao Qi <yao.qi@linaro.org>
11846
11847 * gdb.server/ext-restart.exp: New file.
11848
11849 2015-07-24 Yao Qi <yao.qi@linaro.org>
11850
11851 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11852 argument options.
11853 * gdb.server/ext-wrapper.exp: New file.
11854
11855 2015-07-23 Doug Evans <dje@google.com>
11856
11857 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11858 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11859
11860 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11861
11862 * gdb.ada/var_arr_typedef.exp: New testcase.
11863 * gdb.ada/var_arr_typedef/pack.adb: New file.
11864 * gdb.ada/var_arr_typedef/pack.ads: New file.
11865 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11866
11867 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11868
11869 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11870
11871 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11872
11873 * gdb.arch/i386-biarch-core.exp: Replace istarget
11874 by "complete set gnutarget". Remove expectation for the "core-file"
11875 command.
11876
11877 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11878
11879 Revert the previous commit:
11880 Tests for validate symbol file using build-id.
11881
11882 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11883
11884 Tests for validate symbol file using build-id.
11885 * gdb.base/solib-mismatch-lib.c: New file.
11886 * gdb.base/solib-mismatch-libmod.c: New file.
11887 * gdb.base/solib-mismatch.c: New file.
11888 * gdb.base/solib-mismatch.exp: New file.
11889
11890 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11891
11892 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11893 nios2-*-linux*.
11894 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11895 * gdb.base/siginfo.exp: Likewise.
11896 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11897
11898 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11899
11900 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11901 Move it to ...
11902 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11903 ... here.
11904 * gdb.trace/range-stepping.exp: Check that the target supports
11905 range stepping.
11906
11907 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11908
11909 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11910
11911 2015-07-14 Pedro Alves <palves@redhat.com>
11912
11913 * gdb.base/killed-outside.exp: New file.
11914 * gdb.base/killed-outside.c: New file.
11915
11916 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11917
11918 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11919 (n at main): New.
11920 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11921
11922 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11923
11924 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11925 infcall tests instead of setting up for KFAIL.
11926
11927 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11928
11929 * gdb.btrace/record_goto-step.exp: New.
11930
11931 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11932
11933 PR compile/18484
11934 * gdb.compile/compile.c (struct struct_type): Add volatile to
11935 selffield's type.
11936 * gdb.compile/compile.exp
11937 (compile code struct_object.selffield = &struct_object): Skip further
11938 struct_object tests if this one xfails.
11939
11940 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11941
11942 PR exp/18617
11943 * gdb.trace/ax.exp: Add test.
11944
11945 2015-07-07 Yao Qi <yao.qi@linaro.org>
11946
11947 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11948 instead of istarget "aarch64*-*-*".
11949 * gdb.arch/aarch64-fp.exp: Likewise.
11950 * gdb.base/float.exp: Likewise.
11951 * gdb.reverse/aarch64.exp: Likewise.
11952 * lib/gdb.exp (is_aarch64_target): New proc.
11953
11954 2015-07-07 Yao Qi <yao.qi@linaro.org>
11955
11956 * lib/gdb.exp (is_aarch32_target): New proc.
11957 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11958 instead of "istarget "arm*-*-*"".
11959 * gdb.arch/arm-disp-step.exp: Likewise.
11960 * gdb.arch/thumb-bx-pc.exp: Likewise.
11961 * gdb.arch/thumb-prologue.exp: Likewise.
11962 * gdb.arch/thumb-singlestep.exp: Likewise.
11963 * gdb.base/disp-step-syscall.exp: Likewise.
11964 * gdb.base/float.exp: Likewise.
11965
11966 2015-07-07 Yao Qi <yao.qi@linaro.org>
11967
11968 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11969 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11970
11971 2015-07-07 Yao Qi <yao.qi@linaro.org>
11972
11973 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11974 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11975 if it exists.
11976 * gdb.multi/multi-arch.exp: Likewise.
11977
11978 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11979
11980 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11981 print.
11982
11983 2015-07-07 Yao Qi <yao.qi@linaro.org>
11984
11985 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11986
11987 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11988
11989 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11990 '[' and ']' characters.
11991
11992 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11993
11994 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11995
11996 2015-06-29 Pedro Alves <palves@redhat.com>
11997
11998 PR threads/18127
11999 * gdb.threads/hand-call-new-thread.c: New file.
12000 * gdb.threads/hand-call-new-thread.c: New file.
12001
12002 2015-06-26 Keith Seitz <keiths@redhat.com>
12003 Doug Evans <dje@google.com>
12004
12005 PR 16253
12006 * gdb.cp/var-tag-2.cc: New file.
12007 * gdb.cp/var-tag-3.cc: New file.
12008 * gdb.cp/var-tag-4.cc: New file.
12009 * gdb.cp/var-tag.cc: New file.
12010 * gdb.cp/var-tag.exp: New file.
12011
12012 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12013
12014 * gdb.base/history-duplicates.exp: New test.
12015
12016 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12017
12018 * gdb.base/completion.exp: Test the completion of the "focus"
12019 command.
12020
12021 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12022
12023 * gdb.arch/amd64-prologue-skip.S: New file.
12024 * gdb.arch/amd64-prologue-skip.exp: New file.
12025
12026 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12027
12028 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12029 is_address_zero_readable check.
12030
12031 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12032
12033 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12034 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12035
12036 2015-06-24 Yao Qi <yao.qi@linaro.org>
12037
12038 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12039 linux targets.
12040
12041 2015-06-24 Yao Qi <yao.qi@linaro.org>
12042
12043 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12044 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12045 * gdb.base/siginfo-thread.exp: Likewise.
12046
12047 2015-06-22 Yao Qi <yao.qi@linaro.org>
12048
12049 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12050
12051 2015-06-22 Yao Qi <yao.qi@linaro.org>
12052
12053 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12054 aarch64*-*-*.
12055 (skip_hw_watchpoint_tests): Likewise.
12056
12057 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12058
12059 * gdb.base/gdbinit-history.exp: Test the interaction between
12060 setting GDBHISTSIZE and setting the history size via .gdbinit.
12061
12062 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12063
12064 PR gdb/16999
12065 * gdb.base/gdbhistsize-history.exp: New test.
12066
12067 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12068
12069 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12070 with GDBHISTSIZE.
12071 * gdb.base/readline.exp: Likewise.
12072
12073 2015-06-17 Yao Qi <yao.qi@linaro.org>
12074
12075 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12076 line.
12077
12078 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12079
12080 * gdb.base/gdbinit-history.exp: Add test case to check that
12081 an unlimited history file does not get truncated on exit.
12082
12083 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12084
12085 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12086 (VECTOR): New macro. Use it...
12087 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12088 ...for these typedefs.
12089 (int8, char1, int1, double1): New typedefs.
12090 (struct just_int2, struct two_int2): New structures.
12091 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12092 (add_structvecs, add_singlevecs): New functions.
12093 (main): Call add_some_intvecs twice.
12094 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12095 the compile and exit upon failure. Try compiling for the "native"
12096 architecture. Test inferior function calls with vector arguments
12097 and vector return value handling with "finish" and "return".
12098
12099 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12100
12101 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12102 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12103 PE file.
12104 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12105
12106 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12107
12108 PR breakpoints/16465
12109 * gdb.mi/mi-dprintf-pending.c: New file.
12110 * gdb.mi/mi-dprintf-pending.exp: New test.
12111 * gdb.mi/mi-dprintf-pendshr.c: New file.
12112
12113 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12114 Mircea Gherzan <mircea.gherzan@intel.com>
12115
12116 * gdb.arch/i386-mpx-map.c: New file.
12117 * gdb.arch/i386-mpx-map.exp: New File.
12118
12119 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12120
12121 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12122 * gdb.arch/i386-mpx.exp: Indentation fixed.
12123
12124 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12125
12126 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12127 function and improved indentation.
12128 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12129 gdb_test_multiple. Added additional tests to skip the test.
12130
12131 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12132
12133 * gdb.arch/i386-avx512.c: Change path in include file.
12134 * gdb.arch/i386-avx512.exp: Change include dir path
12135 compilation flag.
12136 * gdb.arch/i386-mpx.c: Change path in include file.
12137 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12138 flag.
12139
12140 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * gdb.compile/compile-print.exp (compile print *vararray@3)
12143 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12144
12145 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12146
12147 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12148 (do not keep jit in memory): ... this.
12149 (expect 5): Change it to ...
12150 (expect no 5): ... this.
12151
12152 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12153
12154 PR gdb/15564
12155 * gdb.mi/mi-detach.exp: New file.
12156
12157 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12158
12159 PR symtab/18392
12160 * gdb.arch/amd64-tailcall-self.S: New file.
12161 * gdb.arch/amd64-tailcall-self.c: New file.
12162 * gdb.arch/amd64-tailcall-self.exp: New file.
12163
12164 2015-05-28 Don Breazeal <donb@codesourcery.com>
12165
12166 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12167 tests for remote targets by checking is_target_gdbserver.
12168
12169 2015-05-27 Doug Evans <dje@google.com>
12170
12171 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12172 * gdb.dwarf2/opaque-type-lookup.c: New file.
12173 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12174
12175 2015-05-26 Doug Evans <dje@google.com>
12176
12177 * gdb.cp/iostream.cc: New file.
12178 * gdb.cp/iostream.exp: New file.
12179
12180 2015-05-26 Doug Evans <dje@google.com>
12181
12182 * gdb.dwarf2/dw2-op-call.exp: Update.
12183 * gdb.dwarf2/dw4-sig-types.exp: Update.
12184 * gdb.dwarf2/implptr.exp: Update.
12185 * gdb.mi/mi-cmd-param-changed.exp: Update.
12186
12187 2015-05-26 Doug Evans <dje@google.com>
12188
12189 * gdb.python/py-lazy-string.c: New file.
12190 * gdb.python/py-lazy-string.exp: New file.
12191 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12192 (main): Update. Add estring3.
12193 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12194 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12195
12196 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12197 Yao Qi <yao.qi@linaro.org>
12198
12199 * gdb.reverse/aarch64.c: New.
12200 * gdb.reverse/aarch64.exp: New.
12201
12202 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12203
12204 * lib/gdb.exp (supports_process_record): Return true for
12205 aarch64*-linux*.
12206 (supports_reverse): Likewise.
12207
12208 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12209
12210 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12211 Use with_test_prefix.
12212
12213 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12214
12215 * gdb.base/completion.exp: Add test for completion of layout
12216 names.
12217
12218 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12219
12220 * lib/gdb.exp (skip_tui_tests): New proc.
12221 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12222
12223 2015-05-19 Pedro Alves <palves@redhat.com>
12224
12225 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12226 Save the whole env array instead of just HOME. Unset HISTSIZE in
12227 the environment while testing. Restore whole environment
12228 afterwards.
12229
12230 2015-05-16 Doug Evans <xdje42@gmail.com>
12231
12232 * gdb.guile/scm-ports.c: New file.
12233 * gdb.guile/scm-ports.exp: Add memory port tests.
12234
12235 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 * gdb.compile/compile-print.c: New file.
12238 * gdb.compile/compile-print.exp: New file.
12239
12240 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 * gdb.compile/compile-ops.exp: Cast param to void.
12243 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12244 (compile code struct_object.selffield = &struct_object): Add xfail.
12245
12246 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12247
12248 * gdb.ada/arr_enum_with_gap: New testcase.
12249
12250 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12251
12252 * gdb.ada/byte_packed_arr: New testcase.
12253
12254 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12255
12256 * gdb.ada/pckd_neg: New testcase.
12257
12258 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12259
12260 PR gdb/17820
12261 * gdb.base/gdbinit-history.exp: New test.
12262 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12263 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12264
12265 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12266
12267 * gdb.python/py-xmethods.cc: Enhance test case.
12268 * gdb.python/py-xmethods.exp: New tests.
12269 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12270 function.
12271 (B_indexoper): Likewise.
12272 (global_dm_list) : Add new xmethod worker functions.
12273
12274 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12275
12276 * gdb.base/coredump-filter.exp: Correctly unset
12277 "coredump_var_addr" array.
12278
12279 2015-05-08 Pedro Alves <palves@redhat.com>
12280
12281 * gdb.server/non-existing-program.exp: Unset spawn_id.
12282
12283 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12284
12285 PR python/18291
12286 * gdb.python/py-xmethods.exp: Add tests.
12287
12288 2015-05-08 Yao Qi <yao.qi@linaro.org>
12289
12290 PR gdb/18208
12291 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12292 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12293 function set_coredump_filter, and remove remote_exec call.
12294 Remove argument ipid. Callers update.
12295 (top level): Don't get inferior's PID.
12296
12297 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12298
12299 * gdb.base/watch_thread_num.exp: Skip test on targets without
12300 access watchpoints.
12301
12302 2015-05-06 Pedro Alves <palves@redhat.com>
12303
12304 PR server/18081
12305 * gdb.server/non-existing-program.exp: New file.
12306
12307 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12308
12309 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12310
12311 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12312
12313 * gdb.ada/out_of_line_in_inlined: New testcase.
12314
12315 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12316
12317 * gdb.ada/var_rec_arr: New testcase.
12318
12319 2015-04-30 Yao Qi <yao.qi@linaro.org>
12320
12321 * gdb.base/break-idempotent.exp: If
12322 skip_hw_watchpoint_multi_tests returns true, skip the tests
12323 on "rwatch" and "awatch".
12324
12325 2015-04-30 Yao Qi <yao.qi@linaro.org>
12326
12327 * gdb.base/relativedebug.exp: Invoke gdb command
12328 "info sharedlibrary", and if libc.so doesn't have debug info,
12329 skip the test.
12330
12331 2015-04-29 Doug Evans <dje@google.com>
12332
12333 * gdb.python/py-xmethods.exp: Add ptype tests.
12334 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12335 get_result_type method.
12336
12337 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12338
12339 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12340 the target does not support hardware watchpoints.
12341
12342 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12343
12344 * gdb.base/break-always.exp: Abort testing if writing to memory
12345 causes an error.
12346
12347 2015-04-28 Doug Evans <dje@google.com>
12348
12349 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12350 * gdb.python/py-pp-registration.exp: ... here. New file.
12351 * gdb.python/py-pp-registration.c: New file.
12352 * gdb.python/py-pp-registration.py: New file.
12353
12354 2015-04-28 Doug Evans <dje@google.com>
12355
12356 * gdb.python/py-bad-printers.c: New file.
12357 * gdb.python/py-bad-printers.py: New file.
12358 * gdb.python/py-bad-printers.exp: New file.
12359
12360 2015-04-28 Sasha Smundak <asmundak@google.com>
12361
12362 * gdb.python/py-type.exp: New test.
12363
12364 2015-04-28 Andy Wingo <wingo@igalia.com>
12365
12366 * gdb.python/py-parameter.exp:
12367 * gdb.guile/scm-parameter.exp: Escape the path that we are
12368 matching against, as it might contain characters that are special
12369 to regular expressions.
12370
12371 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12372
12373 * gdb.ada/rec_comp: New testcase.
12374
12375 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12376
12377 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12378 before using it.
12379
12380 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12381
12382 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12383 new tests for verilog output.
12384
12385 2015-04-24 Yao Qi <yao.qi@linaro.org>
12386
12387 * boards/remote-gdbserver-on-localhost.exp: New file.
12388
12389 2015-04-23 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12392 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12393 "end of file", remove $inferior_spawn_id from the indirect list.
12394
12395 2015-04-23 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12398
12399 2015-04-23 Pedro Alves <palves@redhat.com>
12400
12401 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12402 on $any_spawn_id instead of only on $gdb_spawn_id.
12403
12404 2015-04-21 Pierre Muller <muller@sourceware.org>
12405
12406 PR pascal/17815
12407 * lib/pascal.exp (gpc_compile): Add new option "class".
12408 (fpc_compile): Likewise.
12409 * gdb.pascal/case-insensitive-symbols.pas: New file.
12410 * gdb.pascal/case-insensitive-symbols.exp: New file.
12411
12412 2015-04-20 Gary Benson <gbenson@redhat.com>
12413
12414 * gdb.base/attach.exp: Fix three extended remote failures.
12415
12416 2015-04-17 Gary Benson <gbenson@redhat.com>
12417
12418 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12419 the main executable over the remote protocol.
12420
12421 2015-04-16 Pedro Alves <palves@redhat.com>
12422
12423 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12424 a new gdbserver if gdbserver_reconnect_p is set.
12425
12426 2015-04-16 Pedro Alves <palves@redhat.com>
12427
12428 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12429 is set, don't exit gdbserver.
12430
12431 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12432
12433 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12434 appropriate .insn, such that an older assembler can be used.
12435 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12436 the z/Architecture instruction set on 31-bit targets as well.
12437
12438 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12439
12440 * gdb.go/handcall.exp: Remove all logic related to the first
12441 breakpoint and rely on go_runto_main instead.
12442 * gdb.go/strings.exp: Likewise.
12443 * gdb.go/unsafe.exp: Likewise.
12444 * gdb.go/hello.exp: Likewise. Also rename the remaining
12445 breakpoint marker to "breakpoint 1".
12446 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12447 * gdb.go/strings.go: Likewise.
12448 * gdb.go/unsafe.go: Likewise.
12449 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12450 "set breakpoint 2 here" and rename the remaining breakpoint marker
12451 to "breakpoint 1".
12452
12453 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12454
12455 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12456 if itertools.imap is not present.
12457 * gdb.python/py-objfile.exp: Add parentheses.
12458 * gdb.python/py-type.exp: Same.
12459 * gdb.python/py-unwind-maint.py: Same.
12460
12461 2015-04-15 Yao Qi <yao.qi@linaro.org>
12462
12463 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12464 of ":$ptr_size" and set its form explicitly.
12465
12466 2015-04-15 Pedro Alves <palves@redhat.com>
12467 Yao Qi <yao.qi@linaro.org>
12468
12469 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12470 timeout by factor of 4.
12471 (test_regular_watch): Likewise.
12472 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12473 * gdb.reverse/sigall-reverse.exp: Likewise.
12474 * gdb.reverse/until-precsave.exp: Likewise.
12475 * lib/gdb.exp (with_timeout_factor): New proc.
12476 (gdb_expect): Move some code to ...
12477 (get_largest_timeout): ... here. New procedure.
12478
12479 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12480
12481 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12482
12483 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12484
12485 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12486 to write to the .text section.
12487
12488 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12489
12490 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12491 Handle the case of targets that do not provide PID information.
12492
12493 2015-04-13 Yao Qi <yao.qi@linaro.org>
12494
12495 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12496 and use expect instead of gdb_expect.
12497
12498 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12499
12500 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12501 "coredump_var_addr" to avoid naming conflict with other testcases.
12502
12503 2015-04-10 Pedro Alves <palves@redhat.com>
12504
12505 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12506 gdb_test_sequence and gdb_assert.
12507
12508 2015-04-10 Pedro Alves <palves@redhat.com>
12509
12510 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12511 test messages that don't include the breakpoint address.
12512
12513 2015-04-10 Yao Qi <yao.qi@linaro.org>
12514
12515 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12516 false for some offset and width combinations which aren't
12517 supported by linux kernel.
12518
12519 2015-04-10 Pedro Alves <palves@redhat.com>
12520
12521 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12522 procedure, factored out from ...
12523 (top level): ... here. Add "set displaced-stepping" testing axis.
12524 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12525 parameter "displaced". Use it.
12526 (top level): Use foreach and add "set displaced-stepping" testing
12527 axis.
12528
12529 2015-04-10 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12532 Remove comment.
12533 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12534 both the address of the instruction that triggers the watchpoint
12535 and the address of the instruction immediately after, and use
12536 those addresses for the test. Fix comment.
12537
12538 2015-04-10 Pedro Alves <palves@redhat.com>
12539
12540 * gdb.base/sigstep.exp (breakpoint_to_handler)
12541 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12542 Test "backtrace" in handler.
12543 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12544 (top level): Add new "displaced" test axis to
12545 breakpoint_to_handler, breakpoint_to_handler_entry and
12546 breakpoint_over_handler.
12547
12548 2015-04-10 Pedro Alves <palves@redhat.com>
12549
12550 PR gdb/18216
12551 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12552
12553 2015-04-10 Yao Qi <yao.qi@linaro.org>
12554
12555 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12556 (test_add_rn_pc): New function.
12557 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12558 (top level): Invoke test_add_rn_pc.
12559
12560 2015-04-10 Pedro Alves <palves@redhat.com>
12561
12562 PR gdb/13858
12563 * gdb.base/step-over-no-symbols.exp: New file.
12564
12565 2015-04-09 Andy Wingo <wingo@igalia.com>
12566
12567 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12568 after the Python tests.
12569
12570 2015-04-08 Keith Seitz <keiths@redhat.com>
12571
12572 PR python/16699
12573 * gdb.python/py-completion.exp: New tests for completion.
12574 * gdb.python/py-completion.py (CompleteLimit1): New class.
12575 (CompleteLimit2): Likewise.
12576 (CompleteLimit3): Likewise.
12577 (CompleteLimit4): Likewise.
12578 (CompleteLimit5): Likewise.
12579 (CompleteLimit6): Likewise.
12580 (CompleteLimit7): Likewise.
12581
12582 2015-04-08 Pedro Alves <palves@redhat.com>
12583
12584 PR gdb/18214
12585 PR gdb/18216
12586 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12587 function.
12588 (main): Install it as SIGUSR1 handler.
12589 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12590 parameter. Always use "setup" as prefix. Toggle "set
12591 displaced-stepping" off/on depending on global. Don't switch to
12592 thread 1 here.
12593 (top level): Add displaced stepping "off/on" test axis. Update
12594 "setup" calls. Wrap each subtest with with_test_prefix. Test
12595 continuing with a queued signal in each thread.
12596
12597 2015-04-08 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12600 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12601 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12602 Return early if running to main fails.
12603 * gdb.trace/while-stepping.exp: Likewise.
12604
12605 2015-04-07 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12608 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12609 interact with inferior program.
12610
12611 2015-04-07 Pedro Alves <palves@redhat.com>
12612
12613 * lib/gdb.exp (inferior_spawn_id): New global.
12614 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12615 spawn id after processing the user code.
12616 (default_gdb_start): Set inferior_spawn_id.
12617 (send_inferior): New procedure.
12618 * lib/gdbserver-support.exp (gdbserver_start): Set
12619 inferior_spawn_id.
12620 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12621
12622 2015-04-07 Pedro Alves <palves@redhat.com>
12623
12624 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12625 * lib/gdbserver-support.exp (gdbserver_start): Make
12626 $server_spawn_id global.
12627 (gdbserver_start): Don't wait for gdbserver's spawn id with
12628 expect_background.
12629 (close_gdbserver): New procedure.
12630 (gdb_exit): Rename the default version and reimplement.
12631
12632 2015-04-07 Pedro Alves <palves@redhat.com>
12633
12634 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12635 append the substituted item, not the original item.
12636
12637 2015-04-07 Pedro Alves <palves@redhat.com>
12638
12639 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12640 gdb_expect.
12641
12642 2015-04-07 Pedro Alves <palves@redhat.com>
12643
12644 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12645 output appearing once only.
12646
12647 2015-04-07 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12650 that doesn't expect anything. Return early if running to main
12651 fails.
12652
12653 2015-04-07 Yao Qi <yao.qi@linaro.org>
12654
12655 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12656 (child_function): Call alarm.
12657 (main): Move call to alarm into the loop.
12658 * gdb.threads/non-stop-fair-events.exp: Build program with
12659 -DTIMEOUT=$timeout.
12660
12661 2015-04-06 Doug Evans <xdje42@gmail.com>
12662
12663 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12664 Fix dest parameter to board_info.
12665 (fpc_compile): Ditto.
12666 (gdb_compile_pascal): Rename dest arg to destfile.
12667
12668 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12669
12670 * gdb.ada/funcall_ref.exp: New file.
12671 * gdb.ada/funcall_ref/foo.adb: New file.
12672
12673 2015-04-02 Yao Qi <yao.qi@linaro.org>
12674
12675 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12676 is remote.
12677
12678 2015-04-02 Gary Benson <gbenson@redhat.com>
12679
12680 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12681
12682 2015-04-01 Sasha Smundak <asmundak@google.com>
12683
12684 * gdb.python/py-unwind-maint.c: New file.
12685 * gdb.python/py-unwind-maint.exp: New test.
12686 * gdb.python/py-unwind-maint.py: New file.
12687 * gdb.python/py-unwind.c: New file.
12688 * gdb.python/py-unwind.exp: New test.
12689 * gdb.python/py-unwind.py: New test.
12690
12691 2015-04-01 Pedro Alves <palves@redhat.com>
12692
12693 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12694 to fail instead of non-existent $test.
12695
12696 2015-04-01 Pedro Alves <palves@redhat.com>
12697
12698 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12699 GDBFLAGS if not empty.
12700
12701 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12702
12703 * gdb.ada/complete.exp: Remove "multi_line".
12704 * gdb.ada/info_exc.exp: Remove "multi_line".
12705 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12706 * gdb.ada/ptype_field.exp: Remove "multi_line".
12707 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12708 * gdb.ada/tagged.exp: Remove "multi_line".
12709 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12710 [multi_line ...]
12711 * gdb.btrace/delta.exp: Likewise.
12712 * gdb.btrace/exception.exp: Likewise.
12713 * gdb.btrace/function_call_history.exp: Likewise.
12714 * gdb.btrace/instruction_history.exp: Likewise.
12715 * gdb.btrace/nohist.exp: Likewise.
12716 * gdb.btrace/record_goto.exp: Likewise.
12717 * gdb.btrace/segv.exp: Likewise.
12718 * gdb.btrace/stepi.exp: Likewise.
12719 * gdb.btrace/tailcall.exp: Likewise.
12720 * gdb.btrace/unknown_functions.exp: Likewise.
12721 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12722 * lib/gdb.exp: Add the "multi_line" helper.
12723
12724 2015-04-01 Pedro Alves <palves@redhat.com>
12725
12726 * gdb.threads/tid-reuse.c: New file.
12727 * gdb.threads/tid-reuse.exp: New file.
12728
12729 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12730
12731 PR corefiles/16092
12732 * gdb.base/coredump-filter.c: New file.
12733 * gdb.base/coredump-filter.exp: Likewise.
12734
12735 2015-03-27 Petr Machata <pmachata@redhat.com>
12736
12737 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12738 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12739 (Dwarf::assemble): Initialize them.
12740 (Dwarf::lines): New function.
12741
12742 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12743
12744 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12745 SYMBOL_PREFIX for x86_64-*-cygwin.
12746
12747 2015-03-26 Andy Wingo <wingo@igalia.com>
12748
12749 PR symtab/18148
12750 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12751 const_value but not a location.
12752 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12753 location defined in non-main CUs are visible.
12754
12755 2015-03-26 Yao Qi <yao.qi@linaro.org>
12756
12757 PR testsuite/18139
12758 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12759 Add a line number entry for the same line.
12760 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12761 Add a line number entry for the same line.
12762
12763 2015-03-26 Yao Qi <yao.qi@linaro.org>
12764
12765 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12766 .int 0.
12767 (func): Likewise. Add .Lfunc_1 label.
12768 Use .Lfunc_1 label.
12769 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12770 .int 0.
12771 (func): Likewise.
12772 Use .Lfunc_1 label.
12773
12774 2015-03-26 Yao Qi <yao.qi@linaro.org>
12775
12776 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12777 Call gdb_compile instead to compile each .s files without debug
12778 information.
12779
12780 2015-03-26 Yao Qi <yao.qi@linaro.org>
12781
12782 * gdb.base/savedregs.exp (process_saved_regs): Make
12783 "Saved registers:" optional in the pattern.
12784
12785 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12786
12787 * gdb.btrace/next.exp: Merged into step.exp.
12788 * gdb.btrace/finish.exp: Merged into step.exp.
12789 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12790 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12791 "record goto" and checking the exact replay position.
12792 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12793 check for "Recording format" in "info record" output.
12794 * gdb.btrace/record_goto.exp: Choose test file based on target.
12795 * gdb.btrace/x86-record_goto.S: Renamed into ...
12796 * gdb.btrace/x86_64-record_goto.S: ... this.
12797 * gdb.btrace/i686-record_goto.S: New.
12798 * gdb.btrace/x86-tailcall.S: Renamed into ...
12799 * gdb.btrace/x86_64-tailcall.S: ... this.
12800 * gdb.btrace/i686-tailcall.S: New.
12801 * gdb.btrace/x86-tailcall.c: Renamed into ...
12802 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12803 separate statements. Update test.
12804 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12805 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12806 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12807 * gdb.btrace/tailcall.exp: Choose test file based on target.
12808 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12809
12810 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12811
12812 * gdb.btrace/exception.exp: Increase BTS buffer size.
12813
12814 2015-03-24 Pedro Alves <palves@redhat.com>
12815
12816 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12817
12818 2015-03-24 Pedro Alves <palves@redhat.com>
12819
12820 * gdb.threads/schedlock.exp (test_step): No longer expect that
12821 "set scheduler-locking step" with "next" over a function call runs
12822 threads unlocked.
12823
12824 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12825
12826 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12827
12828 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12829
12830 PR breakpoints/16466
12831 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12832 * gdb.mi/mi-pending.c (thread_func): New function.
12833 (int main): Add threading support required.
12834 * gdb.mi/mi-pending.exp: Add tests for this issue.
12835 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12836 (pendfunc2): Remove stdio dependency.
12837 * gdb.mi/mi-pendshr2.c: New file.
12838
12839 2015-03-23 Keith Seitz <keiths@redhat.com>
12840
12841 * gdb.linespec/keywords.c: New file.
12842 * gdb.linespec/keywords.exp: New file.
12843
12844 2015-03-23 Keith Seitz <keiths@redhat.com>
12845
12846 PR gdb/18021
12847 * gdb.dwarf2/staticvirtual.exp: New test.
12848
12849 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12850
12851 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12852 * README: Remove HP-UX and gdb.hp.
12853 (configuration):
12854 * configure: Regenerate.
12855 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12856 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12857 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12858 gdb.hp/gdb.defects/Makefile.
12859 * gdb.hp/Makefile.in: File deleted.
12860 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12861 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12862 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12863 * gdb.hp/gdb.aCC/run.c: File deleted.
12864 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12865 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12866 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12867 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12868 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12869 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12870 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12871 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12872 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12873 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12874 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12875 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12876 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12877 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12878 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12879 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12880 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12881 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12882 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12883 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12884 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12885 * gdb.hp/gdb.compat/average.c: File deleted.
12886 * gdb.hp/gdb.compat/sum.c: File deleted.
12887 * gdb.hp/gdb.compat/xdb.c: File deleted.
12888 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12889 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12890 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12891 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12892 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12893 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12894 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12895 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12896 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12897 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12898 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12899 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12900 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12901 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12902 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12903 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12904 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12905 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12906 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12907 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12908 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12909 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12910 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12911 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12912 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12913 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12914 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12915 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12916 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12917 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12918 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12919 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12920 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12921 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12922 * gdb.hp/tools/odump: File deleted.
12923
12924 2015-03-19 Pedro Alves <palves@redhat.com>
12925
12926 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12927 (saw_thread_3): New globals.
12928 (top level): Increment them when an event for the corresponding
12929 thread is seen.
12930 (no thread starvation): New test.
12931
12932 2015-03-19 Pedro Alves <palves@redhat.com>
12933
12934 * gdb.threads/continue-pending-status.c: New file.
12935 * gdb.threads/continue-pending-status.exp: New file.
12936
12937 2015-03-18 Pedro Alves <palves@redhat.com>
12938
12939 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12940 Use gdb_is_target_remote instead of is_remote. Use
12941 gdb_test_multiple instead of gdb_expect. Exit early if
12942 gdb_test_multiple hits its internal matches. Tighten stepi tests
12943 expected output. Fail on exit with any signal, instead of just
12944 SIGILL.
12945
12946 2015-03-18 Yao Qi <yao.qi@linaro.org>
12947
12948 PR tdep/18107
12949 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12950 variable.
12951 * gdb.base/catch-syscall.exp: Don't skip it on
12952 aarch64*-*-linux* target. Remove elements in all_syscalls.
12953 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12954 target.
12955 (setup_all_syscalls): New proc.
12956
12957 2015-03-16 Yao Qi <yao.qi@linaro.org>
12958
12959 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12960 (top level): Skip tests if valid_addr_p returns false for
12961 $cmd1 or $cmd2.
12962
12963 2015-03-11 Andy Wingo <wingo@igalia.com>
12964
12965 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12966
12967 2015-03-11 Yao Qi <yao.qi@linaro.org>
12968
12969 * gdb.base/catch-syscall.exp: Fix typo in comments.
12970
12971 2015-03-11 Yao Qi <yao.qi@linaro.org>
12972
12973 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12974
12975 2015-03-09 Pedro Alves <palves@redhat.com>
12976
12977 * dg-extract-results.py: Delete.
12978
12979 2015-03-09 Pedro Alves <palves@redhat.com>
12980
12981 Merge dg-extract-results.sh from GCC upstream (r218843).
12982
12983 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12984 * dg-extract-results.sh: Use --text with grep to avoid issues with
12985 binary files. Fall back to cat -v, if that doesn't work.
12986
12987 2015-03-05 Pedro Alves <palves@redhat.com>
12988
12989 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12990
12991 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12992
12993 * lib/mi-support.exp (mi_expect_interrupt): Accept
12994 alternative event for when in all-stop mode.
12995
12996 2015-03-04 Pedro Alves <palves@redhat.com>
12997
12998 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12999
13000 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13001
13002 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13003
13004 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13005
13006 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13007 regexps for GDB's current line display, accept a hex address
13008 preceding the line number.
13009
13010 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13011
13012 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13013 the 'arch1' variable for "s390*-linux*" targets.
13014
13015 2015-03-04 Pedro Alves <palves@redhat.com>
13016
13017 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13018 (main): Pass missing retval argument to pthread_join call.
13019
13020 2015-03-02 Pedro Alves <palves@redhat.com>
13021
13022 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13023 (top level): Call do_test with non-stop as well.
13024
13025 2015-03-02 Pedro Alves <palves@redhat.com>
13026
13027 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13028 -1.
13029
13030 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13031
13032 * gdb.arch/s390-vregs.exp: New test.
13033 * gdb.arch/s390-vregs.S: New file.
13034
13035 2015-02-27 Pedro Alves <palves@redhat.com>
13036
13037 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13038 call to catch_command_errors.
13039 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13040 catch_command_errors.
13041
13042 2015-02-27 Pedro Alves <palves@redhat.com>
13043
13044 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13045 "true" for boolean result.
13046 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13047 prototype of main.
13048
13049 2015-02-27 Pedro Alves <palves@redhat.com>
13050
13051 * lib/unbuffer_output.c: New file.
13052 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13053 (main): Call gdb_unbuffer_output.
13054
13055 2015-02-27 Yao Qi <yao.qi@linaro.org>
13056
13057 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13058 target.
13059
13060 2015-02-26 Doug Evans <dje@google.com>
13061
13062 * gdb.cp/class2.cc (Dbase, D): New classes.
13063 (main): New local delta.
13064 * gdb.cp/class2.exp: Test printing delta.
13065 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13066 (dynbar): New global.
13067 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13068
13069 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13070
13071 * gdb.compile/compile-ifunc.c: New file.
13072 * gdb.compile/compile-ifunc.exp: New file.
13073
13074 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13075
13076 * gdb.base/structs.exp: Check for correct struct on finish.
13077
13078 2015-02-26 Yao Qi <yao.qi@linaro.org>
13079
13080 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13081 is zero.
13082
13083 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13084
13085 * gdb.arch/cordic.ko.bz2: New file.
13086 * gdb.arch/cordic.ko.debug.bz2: New file.
13087 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13088
13089 2015-02-25 Yao Qi <yao.qi@linaro.org>
13090
13091 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13092 aarch64*-*-* target.
13093
13094 2015-02-23 Pedro Alves <palves@redhat.com>
13095
13096 * lib/gdb.exp (delete_breakpoints): Rewrite using
13097 gdb_test_multiple.
13098
13099 2015-02-23 Pedro Alves <palves@redhat.com>
13100
13101 * gdb.base/info-os.c: Include stdlib.h.
13102
13103 2015-02-22 Doug Evans <xdje42@gmail.com>
13104
13105 PR symtab/17855
13106 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13107 is read after symbols have been re-read.
13108 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13109 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13110
13111 2015-02-21 Doug Evans <dje@google.com>
13112
13113 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13114
13115 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13116
13117 PR corefiles/17808
13118 * gdb.arch/i386-biarch-core.core.bz2: New file.
13119 * gdb.arch/i386-biarch-core.exp: New file.
13120
13121 2015-02-21 Pedro Alves <palves@redhat.com>
13122
13123 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13124 runto_main fails.
13125
13126 2015-02-20 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13129 info probes.
13130
13131 2015-02-20 Pedro Alves <palves@redhat.com>
13132
13133 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13134
13135 2015-02-20 Pedro Alves <palves@redhat.com>
13136
13137 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13138 clean_restart before gdb_target_supports_trace.
13139
13140 2015-02-20 Pedro Alves <palves@redhat.com>
13141
13142 PR threads/18006
13143 * gdb.threads/clone-thread_db.c: New file.
13144 * gdb.threads/clone-thread_db.exp: New file.
13145
13146 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13147
13148 PR breakpoints/16812
13149 * gdb.base/catch-gdb-caused-signals.c: New file.
13150 * gdb.base/catch-gdb-caused-signals.exp: New file.
13151
13152 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13153
13154 * configure: Regenerated.
13155 * configure.ac: Use GDB_AC_TRANSFORM.
13156 * aclocal.m4: sinclude ../transform.m4.
13157
13158 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13159
13160 * lib/dtrace.exp: New file.
13161 * gdb.base/dtrace-probe.exp: Likewise.
13162 * gdb.base/dtrace-probe.d: Likewise.
13163 * gdb.base/dtrace-probe.c: Likewise.
13164 * lib/pdtrace.in: Likewise.
13165 * configure.ac: Output variables with the transformed names of
13166 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13167 * configure: Regenerated.
13168
13169 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13170
13171 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13172 expected message when trying to access $_probe_* convenience
13173 variables while not on a probe.
13174
13175 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13178
13179 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13180
13181 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13182 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13183
13184 2015-02-10 Doug Evans <xdje42@gmail.com>
13185
13186 * lib/gdb.exp (gdb_load): Always return a result.
13187
13188 2015-02-10 Pedro Alves <palves@redhat.com>
13189
13190 * gdb.threads/signal-sigtrap.c: New file.
13191 * gdb.threads/signal-sigtrap.exp: New file.
13192
13193 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13194
13195 * gdb.trace/no-attach-trace.c: New file.
13196 * gdb.trace/no-attach-trace.exp: New file.
13197
13198 2015-02-09 Mark Wielaard <mjw@redhat.com>
13199
13200 * gdb.dwarf2/atomic.c: New file.
13201 * gdb.dwarf2/atomic-type.exp: Likewise.
13202
13203 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13204
13205 * gdb.btrace/buffer-size.exp: Update "info record" output.
13206 * gdb.btrace/delta.exp: Update "info record" output.
13207 * gdb.btrace/enable.exp: Update "info record" output.
13208 * gdb.btrace/finish.exp: Update "info record" output.
13209 * gdb.btrace/instruction_history.exp: Update "info record" output.
13210 * gdb.btrace/next.exp: Update "info record" output.
13211 * gdb.btrace/nexti.exp: Update "info record" output.
13212 * gdb.btrace/step.exp: Update "info record" output.
13213 * gdb.btrace/stepi.exp: Update "info record" output.
13214 * gdb.btrace/nohist.exp: Update "info record" output.
13215
13216 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13217
13218 * gdb.btrace/buffer-size: New.
13219
13220 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13221
13222 * gdb.btrace/delta.exp: Update "info record" output.
13223 * gdb.btrace/enable.exp: Update "info record" output.
13224 * gdb.btrace/finish.exp: Update "info record" output.
13225 * gdb.btrace/instruction_history.exp: Update "info record" output.
13226 * gdb.btrace/next.exp: Update "info record" output.
13227 * gdb.btrace/nexti.exp: Update "info record" output.
13228 * gdb.btrace/step.exp: Update "info record" output.
13229 * gdb.btrace/stepi.exp: Update "info record" output.
13230 * gdb.btrace/nohist.exp: Update "info record" output.
13231
13232 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13233
13234 PR gdb/15678
13235 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13236
13237 2015-02-06 Pedro Alves <palves@redhat.com>
13238
13239 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13240 macro.
13241 (seconds_left, again): New globals.
13242 (main): Wait seconds_left in a 1-second sleep loop instead of
13243 sleeping 180 seconds. If 'again' is set, reset the seconds
13244 counter.
13245 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13246 'again' in the inferior before detaching. Print the seconds left.
13247 (options): New global.
13248 (top level): Build program with -DTIMEOUT=$timeout.
13249
13250 2015-02-06 Pedro Alves <palves@redhat.com>
13251
13252 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13253 determine how many seconds to pass to 'alarm'.
13254 * gdb.base/gdb-sigterm.exp (top level): Build program with
13255 -DTIMEOUT=$timeout.
13256 (do_test): Return success/failure indication. Add more verbose
13257 logging. Don't fail if 200 single steps are seen. Instead, fail
13258 when the test times out.
13259 (passes): New global.
13260 (top level): Break the testing loop if testing fails on any
13261 iteration. Use gdb_assert.
13262
13263 2015-02-04 Don Breazeal <donb@codesourcery.com>
13264
13265 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13266 and initialize them.
13267 (ipc_cleanup): New function.
13268 (main): Don't declare shmid, semid, and msqid. Add a call to
13269 atexit so that we call ipc_cleanup on exit.
13270
13271 2015-02-04 Pedro Alves <palves@redhat.com>
13272
13273 * boards/native-extended-gdbserver.exp: Remove any target variant
13274 specifications from the board name before clearing the isremote
13275 flag from board_info.
13276
13277 2015-01-31 Doug Evans <xdje42@gmail.com>
13278
13279 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13280
13281 2015-01-31 Gary Benson <gbenson@redhat.com>
13282
13283 * gdb.base/completion.exp: Disable completion limiting for
13284 existing tests. Add new tests to check completion limiting.
13285 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13286
13287 2015-01-31 Doug Evans <xdje42@gmail.com>
13288
13289 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13290
13291 2015-01-31 Doug Evans <xdje42@gmail.com>
13292
13293 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13294 entries. Duplicate file section script entries.
13295 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13296 inlined entries. Add test for safe-path rejection.
13297 * gdb.python/py-section-script.c: Add duplicate inlined section script
13298 entries. Duplicate file section script entries.
13299 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13300 inlined entries. Add test for safe-path rejection.
13301
13302 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13303
13304 * gdb.ada/disc_arr_bound: New testcase.
13305
13306 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13307
13308 * gdb.ada/mi_var_array: New testcase.
13309
13310 2015-01-27 Doug Evans <dje@google.com>
13311
13312 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13313 Add test for objfile.filename, objfile.username after objfile
13314 has been unloaded.
13315
13316 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13317
13318 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13319 the second test to print the name attribute of value
13320 returned by the call to gdb.lookup_type, and adjust
13321 the expected output accordingly.
13322
13323 2015-01-25 Mark Wielaard <mjw@redhat.com>
13324
13325 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13326 * gdb.base/disp-step-fork.c: Include unistd.h.
13327 * gdb.base/siginfo-obj.c: Include stdio.h.
13328 * gdb.base/siginfo-thread.c: Likewise.
13329 * gdb.mi/non-stop.c: Include unistd.h.
13330 * gdb.mi/nsthrexec.c: Include stdio.h.
13331 * gdb.mi/pthreads.c: Include unistd.h.
13332 * gdb.modula2/unbounded1.c (main): Declare returns int.
13333 * gdb.reverse/consecutive-reverse.c: Likewise.
13334 * gdb.threads/create-fail.c: Include unistd.h.
13335 * gdb.threads/killed.c: Likewise.
13336 * gdb.threads/linux-dp.c: Likewise.
13337 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13338 * gdb.threads/non-ldr-exc-2.c: Likewise.
13339 * gdb.threads/non-ldr-exc-3.c: Likewise.
13340 * gdb.threads/non-ldr-exc-4.c: Likewise.
13341 * gdb.threads/pthreads.c: Include unistd.h.
13342 (main): Declare returns int.
13343 * gdb.threads/tls-main.c (foo): New declaration.
13344 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13345
13346 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13347
13348 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13349 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13350
13351 2015-01-15 Mark Wielaard <mjw@redhat.com>
13352
13353 * gdb.base/noreturn-return.c: New file.
13354 * gdb.base/noreturn-return.exp: New file.
13355 * gdb.base/noreturn-finish.c: New file.
13356 * gdb.base/noreturn-finish.exp: New file.
13357
13358 2015-01-23 Pedro Alves <palves@redhat.com>
13359
13360 * gdb.threads/continue-pending-after-query.c: New file.
13361 * gdb.threads/continue-pending-after-query.exp: New file.
13362
13363 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13364 Simon Marchi <simon.marchi@ericsson.com>
13365
13366 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13367 * gdb.base/valgrind-db-attach.exp: Same.
13368 * gdb.base/valgrind-infcall.exp: Same.
13369 * lib/mi-support.exp (default_mi_gdb_start): Same.
13370 * lib/prompt.exp (default_prompt_gdb_start): Same.
13371 * lib/gdb.exp (default_gdb_spawn): Same.
13372 (gdb_interact): New.
13373
13374
13375 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13376
13377 * gdb.compile/compile.exp (pointer to jit function): New test.
13378
13379 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13380
13381 * lib/gdb.exp (supports_process_record): Return true for
13382 powerpc*-*-linux*.
13383 (supports_reverse): Likewise.
13384
13385 2015-01-15 Don Breazeal <donb@codesourcery.com>
13386
13387 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13388 instead of checking whether the target board is remote and
13389 use spawn_wait_for_attach instead of exec/sleep.
13390 * gdb.base/attach-twice.exp: Likewise.
13391
13392 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13393
13394 * gdb.ada/var_arr_attrs: New testcase.
13395
13396 2015-01-14 Pedro Alves <palves@redhat.com>
13397 Joel Brobecker <brobecker@adacore.com>
13398
13399 PR gdb/17525
13400 * gdb.base/bp-cmds-execution-x-script.c: New file.
13401 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13402 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13403
13404 2015-01-14 Pedro Alves <palves@redhat.com>
13405
13406 PR cli/17828
13407 * gdb.base/batch-preserve-term-settings.c: New file.
13408 * gdb.base/batch-preserve-term-settings.exp: New file.
13409
13410 2015-01-13 Doug Evans <dje@google.com>
13411
13412 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13413 binary.
13414
13415 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13416
13417 * Makefile.in (clean mostlyclean): Do not delete *.py.
13418
13419 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13420
13421 * gdb.python/py-lookup-type.exp: New file.
13422
13423 2015-01-12 Pedro Alves <palves@redhat.com>
13424
13425 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13426 restore GDBFLAGS before returning.
13427
13428 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13429
13430 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13431 is_amd64_regs_target and is_x86_like_target.
13432
13433 2015-01-11 Doug Evans <xdje42@gmail.com>
13434
13435 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13436 is given without an explicit form.
13437 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13438 attributes.
13439 * gdb.dwarf/corrupt.exp: Ditto.
13440 * gdb.dwarf2/enum-type.exp: Ditto.
13441 * gdb.trace/entry-values.exp: Ditto.
13442 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13443
13444 2015-01-11 Doug Evans <xdje42@gmail.com>
13445
13446 PR gdb/15830
13447 * gdb.base/maint.exp: Remove references to "maint demangle".
13448 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13449 Add tests for explicitly specifying language to demangle.
13450 * gdb.dlang/demangle.exp: Ditto.
13451
13452 2015-01-09 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.threads/non-stop-fair-events.c: New file.
13455 * gdb.threads/non-stop-fair-events.exp: New file.
13456
13457 2015-01-09 Pedro Alves <palves@redhat.com>
13458
13459 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13460 the global scope. Set a breakpoint after all threads are started
13461 rather than stepping over two source lines. Expect the prompt.
13462 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13463 global.
13464 (NUM): Now 15.
13465 (main): Use threads_started_barrier to wait for all threads to
13466 start. Main thread no longer calls thread_function. Exit after
13467 180 seconds.
13468 (loop): New function.
13469 (thread_function): Wait on threads_started_barrier barrier. Call
13470 'loop' at each iteration.
13471 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13472 threads have started, instead of hardcoding number of "next"
13473 steps. Use an access watchpoint instead of a write watchpoint.
13474
13475 2015-01-09 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13478 (thread_func): Wait on barrier.
13479 (main): Wait for all threads to start before stopping GDB.
13480 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13481 global.
13482 (thread1_func, thread2_func): Wait on barrier.
13483 (main): Wait for all threads to start before stopping GDB.
13484 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13485 New global.
13486 (thread1_func, thread2_func): Wait on barrier.
13487 (main): Wait for all threads to start before stopping GDB.
13488
13489 2015-01-09 Pedro Alves <palves@redhat.com>
13490
13491 * gdb.threads/attach-many-short-lived-threads.c: New file.
13492 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13493
13494 2014-01-09 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13497 instead of to thread 2.
13498 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13499 Add barrier around each pthread_create call instead of around all
13500 calls.
13501 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13502 Set a break on thread_function and have the child threads hit it
13503 one at at a time.
13504
13505 2015-01-09 Pedro Alves <palves@redhat.com>
13506
13507 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13508 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13509 false.
13510 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13511 checking whether the target board is remote.
13512 * gdb.multi/multi-attach.exp: Likewise.
13513 * gdb.python/py-sync-interp.exp: Likewise.
13514 * gdb.server/ext-attach.exp: Likewise.
13515 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13516 tests that need to attach, instead of checking whether the target
13517 board is remote at the top of the file.
13518
13519 2015-01-08 Yao Qi <yao@codesourcery.com>
13520
13521 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13522
13523 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13524
13525 Fix testcase compilation.
13526 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13527
13528 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13529
13530 * gdb.python/py-type.exp: Add a couple test about empty
13531 array creation, and negative-length array creation.
13532
13533 2015-01-02 Doug Evans <xdje42@gmail.com>
13534
13535 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13536
13537 2015-01-02 Doug Evans <dje@google.com>
13538
13539 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13540
13541 2014-12-29 Yao Qi <yao@codesourcery.com>
13542
13543 * gdb.trace/entry-values.exp: Update comments. Rename variable
13544 bar_call_foo to returned_from_foo.
13545
13546 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13547
13548 PR gdb/17394
13549 * gdb.linespec/break-asm-file.c: New file.
13550 * gdb.linespec/break-asm-file.exp: New file.
13551 * gdb.linespec/break-asm-file0.s: New file.
13552 * gdb.linespec/break-asm-file1.s: New file.
13553
13554 2014-12-18 Nigel Stephens <nigel@mips.com>
13555 Maciej W. Rozycki <macro@codesourcery.com>
13556
13557 * gdb.base/float.exp: Handle the new output from "info float" on
13558 MIPS targets.
13559
13560 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13561
13562 Fix MinGW compilation.
13563 * gdb.compile/compile-ops.exp: Update untested message if
13564 !skip_compile_feature_tests.
13565 * gdb.compile/compile-setjmp.exp: Likewise.
13566 * gdb.compile/compile-tls.exp: Likewise.
13567 * gdb.compile/compile.exp: Likewise.
13568 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13569 supported on this host".
13570
13571 2014-12-16 Doug Evans <xdje42@gmail.com>
13572
13573 * boards/stabs.exp: New file.
13574
13575 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13576
13577 * gdb.base/completion.exp: Adjust to format changes of "maint
13578 print user-registers".
13579
13580 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13581
13582 PR server/17457
13583 * gdb.arch/aarch64-fp.c: New file.
13584 * gdb.arch/aarch64-fp.exp: New file.
13585
13586 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13587
13588 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13589 r210637, r210913, r211666, r215400, r215817).
13590
13591 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13592 * dg-extract-results.py: New file.
13593 * dg-extract-results.sh: Use it if the environment seems
13594 suitable.
13595
13596 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13597
13598 * dg-extract-results.py (parse_run): Handle warnings that
13599 are printed before a test harness is run.
13600
13601 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13602
13603 * dg-extract-results.py (Named): Remove __cmp__ method.
13604 (output_variation): Use a key to sort variation.harnesses.
13605
13606 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13607
13608 * dg-extract-results.py: For Python 3, force sys.stdout to
13609 handle surrogate escape sequences.
13610 (safe_open): New function.
13611 (output_segment, main): Use it.
13612
13613 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13614
13615 * dg-extract-results.py (Prog.result_re): Include options
13616 in test name.
13617
13618 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13619
13620 * dg-extract-results.py (output_variation): Always sort if
13621 do_sum.
13622
13623 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13624
13625 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13626 as long as we get pagination notifications.
13627
13628 2014-12-15 Jason Merrill <jason@redhat.com>
13629
13630 * Makefile.in (check-gdb.%): Restore.
13631 * README: Mention it.
13632
13633 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13634
13635 * gdb.ada/str_uninit: New testcase.
13636
13637 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13638
13639 PR symtab/17642
13640 * gdb.base/vla-stub-define.c: New file.
13641 * gdb.base/vla-stub.c: New file.
13642 * gdb.base/vla-stub.exp: New file.
13643
13644 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13645 Jan Kratochvil <jan.kratochvil@redhat.com>
13646 Tom Tromey <tromey@redhat.com>
13647
13648 * configure.ac: Add gdb.compile/.
13649 * configure: Regenerate.
13650 * gdb.compile/Makefile.in: New file.
13651 * gdb.compile/compile-ops.exp: New file.
13652 * gdb.compile/compile-ops.c: New file.
13653 * gdb.compile/compile-tls.c: New file.
13654 * gdb.compile/compile-tls.exp: New file.
13655 * gdb.compile/compile-constvar.S: New file.
13656 * gdb.compile/compile-constvar.c: New file.
13657 * gdb.compile/compile-mod.c: New file.
13658 * gdb.compile/compile-nodebug.c: New file.
13659 * gdb.compile/compile-setjmp-mod.c: New file.
13660 * gdb.compile/compile-setjmp.c: New file.
13661 * gdb.compile/compile-setjmp.exp: New file.
13662 * gdb.compile/compile-shlib.c: New file.
13663 * gdb.compile/compile.c: New file.
13664 * gdb.compile/compile.exp: New file.
13665 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13666
13667 2014-12-12 Tom Tromey <tromey@redhat.com>
13668
13669 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13670 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13671
13672 2014-12-12 Doug Evans <dje@google.com>
13673
13674 * lib/gdb-python.exp (get_python_valueof): New function.
13675 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13676
13677 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13678
13679 * gdb.base/completion.exp: Add test for completion of "info
13680 registers ".
13681
13682 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13683
13684 * gdb.base/func-ptrs.c: New file.
13685 * gdb.base/func-ptrs.exp: New file.
13686
13687 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13688
13689 PR breakpoints/17012
13690 * gdb.base/dprintf-detach.c: New file.
13691 * gdb.base/dprintf-detach.exp: New file.
13692
13693 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13694
13695 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13696 * lib/gdb.exp (target_is_gdbserver): New procedure.
13697
13698 2014-12-08 Doug Evans <dje@google.com>
13699
13700 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13701
13702 2014-12-05 Yao Qi <yao@codesourcery.com>
13703
13704 * gdb.guile/scm-error.exp: Remove the third argument to
13705 gdb_remote_download.
13706 * gdb.guile/scm-frame-args.exp: Likewise.
13707 * gdb.guile/scm-section-script.exp: Likewise.
13708
13709 2014-12-05 Yao Qi <yao@codesourcery.com>
13710
13711 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13712
13713 2014-12-04 Doug Evans <dje@google.com>
13714
13715 * gdb.python/py-objfile.exp: Add tests for
13716 objfile.add_separate_debug_file.
13717
13718 2014-12-04 Doug Evans <dje@google.com>
13719
13720 * lib/gdb.exp (get_build_id): New function.
13721 (build_id_debug_filename_get): Rewrite to use it.
13722 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13723
13724 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13725
13726 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13727 `method(long)', not just 0x0.
13728 * gdb.cp/nsalias.exp: Align code labels to 4.
13729 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13730 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13731 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13732 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13733 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13734 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13735
13736 2014-12-02 Doug Evans <dje@google.com>
13737
13738 PR symtab/17602
13739 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13740 * gdb.cp/anon-ns2.cc: ... here. New file.
13741 * gdb.cp/anon-ns.exp: Update.
13742
13743 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13744
13745 * gdb.python/py-events.py (inferior_call_handler): New.
13746 (register_changed_handler, memory_changed_handler): New.
13747 (test_events.invoke): Register new handlers.
13748 * gdb.python/py-events.exp: Add tests for inferior call,
13749 memory_changed and register_changed events.
13750
13751 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13752
13753 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13754 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13755 if the linker doesn't understand this.
13756
13757 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13758
13759 * gdb.python/python.exp: Change expected reply to help().
13760
13761 2014-12-01 Yao Qi <yao@codesourcery.com>
13762
13763 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13764 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13765 * configure: Re-generated.
13766
13767 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13768
13769 * gdb.cp/chained-calls.cc: New file.
13770 * gdb.cp/chained-calls.exp: New file.
13771 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13772
13773 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13774
13775 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13776 * gdb.dwarf2/symtab-producer.exp: Same.
13777 * gdb.gdb/python-interrupts.exp: Same.
13778 * gdb.gdb/python-selftest.exp: Same.
13779 * gdb.python/py-linetable.exp: Same.
13780 * gdb.python/py-type.exp: Same.
13781 * gdb.python/py-value-cc.exp: Same.
13782 * gdb.python/py-value.exp: Same.
13783
13784 2014-11-28 Yao Qi <yao@codesourcery.com>
13785
13786 * gdb.base/break-probes.exp: Match library name prefixed with
13787 sysroot.
13788
13789 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13790
13791 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13792 test expected output. Add parentheses for the call to print.
13793 Remove L suffix from integers.
13794
13795 2014-11-26 Doug Evans <dje@google.com>
13796
13797 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13798
13799 2014-11-22 Yao Qi <yao@codesourcery.com>
13800
13801 * gdb.trace/entry-values.c: Remove asms.
13802 (foo): Add foo_label.
13803 (bar): Add bar_label.
13804 * gdb.trace/entry-values.exp: Remove code computing foo's
13805 length and bar's length.
13806 (Dwarf::assemble): Invoke function_range for bar and use
13807 MACRO_AT_func for foo.
13808
13809 2014-11-22 Yao Qi <yao@codesourcery.com>
13810
13811 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13812 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13813 Use .Lgcc43_procstart instead of gcc43.
13814
13815 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13816
13817 * gdb.ada/n_arr_bound: New testcase.
13818
13819 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13820
13821 PR breakpoints/10737
13822 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13823 test_catch_syscall_multi_arch.
13824 (test_catch_syscall_multi_arch): New function.
13825
13826 2014-11-20 Doug Evans <xdje42@gmail.com>
13827
13828 * gdb.base/maint.exp: Update expected output.
13829
13830 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13831
13832 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13833 4-byte instruction on S390.
13834
13835 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13836
13837 * gdb.ada/arr_arr: New testcase.
13838
13839 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13840
13841 * gdb.ada/pkd_arr_elem: New Testcase.
13842
13843 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13844
13845 * gdb.reverse/break-precsave: Expect completion message for
13846 core file reads.
13847 * gdb.reverse/consecutive-precsave.exp: Likewise.
13848 * gdb.reverse/finish-precsave.exp: Likewise.
13849 * gdb.reverse/i386-precsave.exp: Likewise.
13850 * gdb.reverse/machinestate-precsave.exp: Likewise.
13851 * gdb.reverse/sigall-precsave.exp: Likewise.
13852 * gdb.reverse/solib-precsave.exp: Likewise.
13853 * gdb.reverse/step-precsave.exp: Likewise.
13854 * gdb.reverse/until-precsave.exp: Likewise.
13855 * gdb.reverse/watch-precsave.exp: Likewise.
13856
13857 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13858
13859 * gdb.base/bp-permanent.c: Include unistd.h.
13860 * gdb.python/py-framefilter-mi.c (main): Add return type.
13861 * gdb.python/py-framefilter.c (main): Likewise.
13862 * gdb.trace/actions-changed.c (main): Likewise.
13863
13864 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13865
13866 * gdb.mi/until.c: Add eye-catchers.
13867 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13868 line numbers.
13869
13870 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13871
13872 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13873 function header variants in break1.c.
13874 * gdb.base/ena-dis-br.exp: Likewise.
13875 * gdb.base/hbreak2.exp: Likewise.
13876 * gdb.reverse/until-precsave.exp: Drop references to removed
13877 non-prototype function header variants in ur1.c.
13878 * gdb.reverse/until-reverse.exp: Likewise.
13879
13880 2014-11-17 Petr Machata <pmachata@redhat.com>
13881
13882 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13883 ${_cu_offset_size} bytes abbrev offset.
13884
13885 2014-11-15 Doug Evans <xdje42@gmail.com>
13886
13887 PR symtab/17559
13888 * gdb.base/line-symtabs.exp: New file.
13889 * gdb.base/line-symtabs.c: New file.
13890 * gdb.base/line-symtabs.h: New file.
13891
13892 2014-11-14 Yao Qi <yao@codesourcery.com>
13893
13894 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13895 (func): Add label func_label.
13896 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13897 Replace low_pc and high_pc with MACRO_AT_range.
13898 Replace name, low_pc and high_pc with MACRO_AT_func.
13899
13900 2014-11-14 Yao Qi <yao@codesourcery.com>
13901
13902 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13903 Replace name, low_pc and high_pc with MACRO_AT_func.
13904
13905 2014-11-14 Yao Qi <yao@codesourcery.com>
13906
13907 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13908 produce debug information.
13909 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13910
13911 2014-11-14 Yao Qi <yao@codesourcery.com>
13912
13913 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13914 object and get function length.
13915 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13916 with MACRO_AT_func.
13917 (top-level): Replace gdb_compile and clean_restart with
13918 prepare_for_testing.
13919 * gdb.dwarf2/main.c (main): Add label main_label.
13920
13921 2014-11-14 Yao Qi <yao@codesourcery.com>
13922
13923 * lib/dwarf.exp (function_range): New procedure.
13924 (Dwarf::_handle_macro_at_func): New procedure.
13925 (Dwarf::_handle_macro_at_range): New procedure.
13926 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13927
13928 2014-11-14 Yao Qi <yao@codesourcery.com>
13929
13930 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13931 (_handle_attribute): New procedure.
13932
13933 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13934
13935 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13936 * gdb.base/call-sc.c (zed): Likewise.
13937 * gdb.base/checkpoint.c (main): Likewise.
13938 * gdb.base/dump.c (main): Likewise.
13939 * gdb.base/gcore.c (main): Likewise.
13940 * gdb.base/huge.c (main): Likewise.
13941 * gdb.base/multi-forks.c (main): Likewise.
13942 * gdb.base/pr10179-a.c (main): Likewise.
13943 * gdb.base/savedregs.c (main): Likewise.
13944 * gdb.base/sigaltstack.c (main): Likewise.
13945 * gdb.base/siginfo.c (main): Likewise.
13946 * gdb.base/structs.c (zed): Likewise.
13947 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13948 * gdb.mi/mi-syn-frame.c (main): Likewise.
13949 * gdb.mi/until.c (foo, main): Likewise.
13950 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13951 * gdb.base/solib-weak.c (foo): Declare.
13952 * gdb.base/attach-twice.c: Include stdio.h.
13953 * gdb.base/weaklib1.c: Likewise.
13954 * gdb.base/weaklib2.c: Likewise.
13955 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13956 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13957 unistd.h.
13958 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13959 * gdb.mi/mi-exit-code.c: Likewise.
13960 * gdb.base/break-interp-lib.c: Include string.h.
13961 * gdb.base/coremaker.c: Likewise.
13962 * gdb.base/testenv.c: Likewise.
13963 * gdb.python/py-finish-breakpoint.c: Likewise.
13964 * gdb.base/inferior-died.c: Include sys/wait.h.
13965 * gdb.base/fileio.c: Include time.h.
13966 * gdb.base/async-shell.c: Include unistd.h.
13967 * gdb.base/dprintf-non-stop.c: Likewise.
13968 * gdb.base/info-os.c: Likewise.
13969 * gdb.mi/mi-console.c: Likewise.
13970 * gdb.mi/watch-nonstop.c: Likewise.
13971 * gdb.python/py-events.c: Likewise.
13972 * gdb.base/async.c (baz): Move up before its invocation.
13973 * gdb.base/code_elim2.c (my_global_func): Likewise.
13974 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13975 * gdb.base/advance.c (func2): Likewise.
13976
13977 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13978
13979 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13980 variant.
13981 * gdb.base/annota3.c: Likewise.
13982 * gdb.base/async.c: Likewise.
13983 * gdb.base/average.c: Likewise.
13984 * gdb.base/call-ar-st.c: Likewise.
13985 * gdb.base/call-rt-st.c: Likewise.
13986 * gdb.base/call-sc.c: Likewise.
13987 * gdb.base/call-strs.c: Likewise.
13988 * gdb.base/ending-run.c: Likewise.
13989 * gdb.base/execd-prog.c: Likewise.
13990 * gdb.base/exprs.c: Likewise.
13991 * gdb.base/foll-exec.c: Likewise.
13992 * gdb.base/foll-fork.c: Likewise.
13993 * gdb.base/foll-vfork.c: Likewise.
13994 * gdb.base/funcargs.c: Likewise.
13995 * gdb.base/gcore.c: Likewise.
13996 * gdb.base/jump.c: Likewise.
13997 * gdb.base/langs0.c: Likewise.
13998 * gdb.base/langs1.c: Likewise.
13999 * gdb.base/langs2.c: Likewise.
14000 * gdb.base/mips_pro.c: Likewise.
14001 * gdb.base/nodebug.c: Likewise.
14002 * gdb.base/opaque0.c: Likewise.
14003 * gdb.base/opaque1.c: Likewise.
14004 * gdb.base/recurse.c: Likewise.
14005 * gdb.base/run.c: Likewise.
14006 * gdb.base/scope0.c: Likewise.
14007 * gdb.base/scope1.c: Likewise.
14008 * gdb.base/setshow.c: Likewise.
14009 * gdb.base/setvar.c: Likewise.
14010 * gdb.base/shmain.c: Likewise.
14011 * gdb.base/shr1.c: Likewise.
14012 * gdb.base/shr2.c: Likewise.
14013 * gdb.base/sigall.c: Likewise.
14014 * gdb.base/signals.c: Likewise.
14015 * gdb.base/so-indr-cl.c: Likewise.
14016 * gdb.base/solib2.c: Likewise.
14017 * gdb.base/structs.c: Likewise.
14018 * gdb.base/sum.c: Likewise.
14019 * gdb.base/vforked-prog.c: Likewise.
14020 * gdb.base/watchpoint.c: Likewise.
14021 * gdb.reverse/shr2.c: Likewise.
14022 * gdb.reverse/until-reverse.c: Likewise.
14023 * gdb.reverse/ur1.c: Likewise.
14024 * gdb.reverse/watch-reverse.c: Likewise.
14025
14026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14027
14028 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14029 variant.
14030 * gdb.base/sepdebug.exp: Drop references to removed code.
14031
14032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14033
14034 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14035 variant. Preserve original line numbering.
14036 * gdb.base/list1.c: Likewise.
14037
14038 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14039
14040 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14041 variant.
14042 * gdb.base/break1.c: Likewise.
14043 * gdb.base/break.exp: Drop references to removed code.
14044
14045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14046
14047 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14048 variant.
14049
14050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14051
14052 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14053
14054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14055
14056 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14057 logic into perform_all_tests() and invoke it with and without
14058 function header prototypes.
14059 (do_function_calls): Remove conditional XFAIL for PR 5318.
14060 (rerun_and_prepare): Remove duplicate code.
14061 (perform_all_tests): New. Main logic moved here.
14062
14063 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14064
14065 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14066 code guarded by #ifdef NO_PROTOTYPES.
14067 (t_double_many_args): Likewise.
14068 (DEF_FUNC_MANY_ARGS_1): Likewise.
14069 (DEF_FUNC_VALUES_1): Likewise.
14070 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14071 guarded by #ifdef PROTOTYPES.
14072
14073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14074
14075 * gdb.mi/mi-console.c: Add eye-catcher.
14076 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14077 instead of literal line number.
14078
14079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14080
14081 * gdb.base/shr2.c: Add eye-catcher.
14082 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14083 line number.
14084
14085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14086
14087 * gdb.base/jump.c: Add eye-catchers.
14088 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14089 numbers.
14090
14091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14092
14093 * gdb.base/execd-prog.c: Add eye-catchers.
14094 * gdb.base/foll-exec.c: Likewise.
14095 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14096 line numbers.
14097
14098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14099
14100 * gdb.base/ending-run.c: Add eye-catchers.
14101 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14102 literal line numbers.
14103
14104 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14105
14106 * gdb.base/call-rt-st.c: Add eye-catchers.
14107 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14108 literal line numbers.
14109
14110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14111
14112 * gdb.base/call-ar-st.c: Add eye-catchers.
14113 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14114 literal line numbers.
14115
14116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14117
14118 * gdb.base/average.c: Add eye-catchers.
14119 * gdb.base/sum.c: Likewise.
14120 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14121 regexps dynamically.
14122
14123 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14124
14125 * gdb.base/solib1.c: Add eye-catchers.
14126 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14127 literal line numbers.
14128
14129 2014-11-12 Pedro Alves <palves@redhat.com>
14130
14131 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14132 leader has exited.
14133
14134 2014-11-12 Pedro Alves <palves@redhat.com>
14135
14136 * gdb.arch/i386-bp_permanent.c: New file.
14137 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14138 (srcfile): Set to i386-bp_permanent.c.
14139 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14140 that stepi does not execute the 'leave' instruction, instead of
14141 testing it does execute.
14142 * gdb.base/bp-permanent.c: New file.
14143 * gdb.base/bp-permanent.exp: New file.
14144
14145 2014-11-10 Doug Evans <xdje42@gmail.com>
14146
14147 PR symtab/17564
14148 * gdb.base/symtab-search-order.exp: New file.
14149 * gdb.base/symtab-search-order.c: New file.
14150 * gdb.base/symtab-search-order-1.c: New file.
14151 * gdb.base/symtab-search-order-shlib-1.c: New file.
14152
14153 2014-11-07 Pedro Alves <palves@redhat.com>
14154
14155 PR gdb/17511
14156 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14157 i?86-*-linux*.
14158
14159 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14160
14161 PR c++/17494
14162 * gdb.cp/pr17494.cc: New file.
14163 * gdb.cp/pr17494.exp: New file.
14164
14165 2014-11-02 Yao Qi <yao@codesourcery.com>
14166
14167 * gdb.python/python.exp: Get working directory and match the
14168 output of "set extended-prompt \\w " with it.
14169
14170 2014-10-30 Doug Evans <dje@google.com>
14171
14172 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14173 in objfiles.
14174 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14175 in progspaces.
14176
14177 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14178
14179 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14180 * gdb.base/realname-expand.exp: Likewise.
14181 * gdb.linespec/macro-relative.exp: Likewise.
14182
14183 2014-10-29 Pedro Alves <palves@redhat.com>
14184
14185 PR gdb/17408
14186 * gdb.threads/schedlock.c (some_function): New function.
14187 (call_function): New global.
14188 (MAYBE_CALL_SOME_FUNCTION): New macro.
14189 (thread_function): Call it.
14190 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14191 and use it instead of a global counter. Adjust all callers.
14192 (get_current_thread): Use "find current thread" for test message
14193 here rather than having all callers pass down the same string.
14194 (goto_loop): New procedure, factored out from ...
14195 (my_continue): ... this.
14196 (step_ten_loops): Change parameter from test message to command to
14197 use. Adjust.
14198 (list_count): Delete global.
14199 (check_result): New procedure, factored out from duplicate top
14200 level code.
14201 (continue tests): Wrap in with_test_prefix.
14202 (test_step): New procedure, factored out from duplicate top level
14203 code.
14204 (top level): Test "step" in combination with all scheduler-locking
14205 modes. Test "next" in combination with all scheduler-locking
14206 modes, and in combination with stepping over a function call or
14207 not.
14208 * gdb.threads/next-bp-other-thread.c: New file.
14209 * gdb.threads/next-bp-other-thread.exp: New file.
14210
14211 2014-10-29 Pedro Alves <palves@redhat.com>
14212
14213 PR python/17372
14214 * gdb.python/python.exp: Test a multi-line command that spawns
14215 interactive Python.
14216 * gdb.base/multi-line-starts-subshell.exp: New file.
14217
14218 2014-10-29 Yao Qi <yao@codesourcery.com>
14219
14220 * gdb.base/fileio.exp: Make directories on host.
14221
14222 2014-10-29 Yao Qi <yao@codesourcery.com>
14223
14224 * gdb.base/fileio.c (test_write): Close the file.
14225
14226 2014-10-28 Pedro Alves <palves@redhat.com>
14227
14228 PR gdb/12623
14229 * gdb.base/sigstep.c (no_handler): New global.
14230 (main): If 'no_handler is true, set the signal handlers to
14231 SIG_IGN.
14232 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14233 with_sw_watch and no_handler parameters. Handle them.
14234 (top level) <stepping over handler when stopped at a breakpoint
14235 test>: Add a test axis for testing with a software watchpoint, and
14236 another for testing with the signal handler set to SIG_IGN.
14237 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14238 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14239
14240 2014-10-28 Pedro Alves <palves@redhat.com>
14241
14242 PR gdb/17511
14243 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14244 * gdb.base/sigstep.exp (other_handler_location): New global.
14245 (advance): Support stepping into the signal handler, and running
14246 commands while in the handler.
14247 (in_handler_map): New global.
14248 (top level): In the advance test, add combinations for getting
14249 into the handler with stepping commands, and for running commands
14250 in the handler. Add comment descripting the advancei tests.
14251
14252 2014-10-28 Pedro Alves <palves@redhat.com>
14253
14254 * gdb.base/sigstep.exp: Use build_executable instead of
14255 prepare_for_testing.
14256 (top level): Move code that starts GDB, runs to main and creates a
14257 display to ...
14258 (restart): ... this new procedure.
14259 (top level): Move backtrace from signal handler test to ...
14260 (validate_backtrace): ... this new procedure.
14261 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14262 with_test_prefix. Always restart GDB.
14263 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14264 with_test_prefix. Always restart GDB. No need to delete
14265 breakpoints after the test.
14266 (test_skip_handler): Remove prefix parameter.
14267 (skip_over_handler, breakpoint_to_handler)
14268 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14269 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14270 restart GDB. No need to delete breakpoints after the test.
14271 (top level): Use foreach to call the test procedures with
14272 different commands.
14273
14274 2014-10-28 Pedro Alves <palves@redhat.com>
14275
14276 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14277 instead of GNATS numbers.
14278 * gdb.base/sigbpt.exp: Likewise.
14279 * gdb.base/siginfo.exp: Likewise.
14280 * gdb.base/sigstep.exp: Likewise.
14281
14282 2014-10-27 Pedro Alves <palves@redhat.com>
14283
14284 * gdb.base/sigstep.c (dummy): New global.
14285 (main): Issue a couple writes to the new global.
14286 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14287 procedures.
14288 (skip_over_handler): Use test_skip_handler.
14289 (top level): Call skip_over_handler for stepi and nexti too.
14290 (breakpoint_over_handler): Use test_skip_handler.
14291 (top level): Call breakpoint_over_handler for stepi and nexti too.
14292
14293 2014-10-27 Yao Qi <yao@codesourcery.com>
14294
14295 * gdb.trace/tfile.c (adjust_function_address)
14296 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14297 function descriptor.
14298
14299 2014-10-24 Don Breazeal <donb@codesourcery.com>
14300
14301 * gdb.base/foll-fork.exp (test_follow_fork,
14302 catch_fork_child_follow): Check for updated fork messages emitted
14303 from infrun.c.
14304 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14305 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14306 vfork_and_exec_child_follow_through_step): Check for updated vfork
14307 messages emitted from infrun.c.
14308
14309 2014-10-24 Pedro Alves <palves@redhat.com>
14310
14311 * gdb.base/corefile.exp: Remove references to ultrix.
14312 * gdb.base/interrupt.exp: Likewise.
14313 * gdb.base/whatis.exp: Likewise.
14314 * gdb.gdb/selftest.exp: Likewise.
14315 * gdb.threads/manythreads.exp: Likewise.
14316 * gdb.threads/print-threads.exp: Likewise.
14317 * gdb.threads/pthreads.exp:: Likewise.
14318 * gdb.threads/schedlock.exp: Likewise.
14319
14320 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14321
14322 * gdb.cp/non-trivial-retval.cc: Add a test case.
14323 * gdb.cp/non-trivial-retval.exp: Add a test.
14324
14325 2014-10-20 Yao Qi <yao@codesourcery.com>
14326
14327 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14328 * gdb.python/py-objfile-script-gdb.py: New file.
14329 * gdb.python/py-objfile-script.exp: Update reference to
14330 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14331 of remote_download. Remove the dest file.
14332
14333 2014-10-20 Yao Qi <yao@codesourcery.com>
14334
14335 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14336 * gdb.base/step-line.exp: Likewise.
14337 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14338 * gdb.dwarf2/dw2-basic.exp: Likewise.
14339 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14340 * gdb.dwarf2/dw2-filename.exp: Likewise.
14341 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14342 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14343 * gdb.dwarf2/dw2-producer.exp: Likewise.
14344 * gdb.dwarf2/mac-fileno.exp: Likewise.
14345 * gdb.python/py-frame-args.exp: Likewise.
14346 * gdb.python/py-framefilter.exp: Likewise.
14347 * gdb.python/py-mi.exp: Likewise.
14348 * gdb.python/py-objfile-script.exp: Likewise
14349 * gdb.python/py-pp-integral.exp: Likewise.
14350 * gdb.python/py-pp-re-notag.exp: Likewise.
14351 * gdb.python/py-prettyprint.exp: Likewise.
14352 * gdb.python/py-section-script.exp: Likewise.
14353 * gdb.python/py-typeprint.exp: Likewise.
14354 * gdb.python/py-xmethods.exp: Likewise.
14355 * gdb.stabs/weird.exp: Likewise.
14356 * gdb.xml/tdesc-regs.exp: Likewise.
14357
14358 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14359
14360 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14361 (out_cu): Use addr_len for the size of addresses.
14362 (out_line): Likewise. Size DW_LNE_set_address instruction
14363 according to addr_len.
14364 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14365 (FUNC): Add START_INSNS to definition.
14366
14367 2014-10-18 Yao Qi <yao@codesourcery.com>
14368
14369 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14370 gdb_has_argv0 return true.
14371 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14372 check [target_info exists noargs], check [gdb_has_argv0]
14373 instead.
14374 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14375 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14376 procedures.
14377
14378 2014-10-17 Doug Evans <dje@google.com>
14379
14380 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14381 event.
14382 * gdb.python/py-events.py: Add clear_objfiles event.
14383
14384 2014-10-17 Doug Evans <dje@google.com>
14385
14386 * gdb.python/py-objfile.exp: Test progspace attribute.
14387
14388 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14389
14390 * gdb.guile/scm-breakpoint.exp: Do not assume any
14391 directory separators when matching source file paths.
14392 * gdb.python/py-breakpoint.exp: Likewise.
14393 * gdb.reverse/break-precsave.exp: Likewise.
14394 * gdb.reverse/break-reverse.exp: Likewise.
14395 * gdb.reverse/consecutive-precsave.exp: Likewise.
14396 * gdb.reverse/finish-precsave.exp: Likewise.
14397 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14398 * gdb.reverse/finish-reverse.exp: Likewise.
14399 * gdb.reverse/i386-precsave.exp: Likewise.
14400 * gdb.reverse/i387-env-reverse.exp: Likewise.
14401 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14402 * gdb.reverse/machinestate-precsave.exp: Likewise.
14403 * gdb.reverse/machinestate.exp: Likewise.
14404 * gdb.reverse/sigall-precsave.exp: Likewise.
14405 * gdb.reverse/solib-precsave.exp: Likewise.
14406 * gdb.reverse/step-precsave.exp: Likewise.
14407 * gdb.reverse/until-precsave.exp: Likewise.
14408 * gdb.reverse/watch-precsave.exp: Likewise.
14409 * gdb.reverse/watch-reverse.exp: Likewise.
14410
14411 2014-10-17 Yao Qi <yao@codesourcery.com>
14412
14413 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14414 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14415
14416 2014-10-17 Pedro Alves <palves@redhat.com>
14417
14418 PR gdb/17471
14419 * gdb.base/bg-execution-repeat.c: New file.
14420 * gdb.base/bg-execution-repeat.exp: New file.
14421
14422 2014-10-17 Pedro Alves <palves@redhat.com>
14423
14424 PR gdb/17300
14425 * gdb.base/continue-all-already-running.c: New file.
14426 * gdb.base/continue-all-already-running.exp: New file.
14427
14428 2014-10-17 Pedro Alves <palves@redhat.com>
14429
14430 PR gdb/17472
14431 * gdb.base/annota-input-while-running.c: New file.
14432 * gdb.base/annota-input-while-running.exp: New file.
14433
14434 2014-10-17 Pedro Alves <palves@redhat.com>
14435
14436 * gdb.base/callfuncs.exp: emove references to osf.
14437 * gdb.base/sigall.exp: Likewise.
14438 * gdb.gdb/selftest.exp: Likewise.
14439 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14440 * gdb.mi/non-stop.c: Likewise.
14441 * gdb.mi/pthreads.c: Likewise.
14442 * gdb.reverse/sigall-precsave.exp: Likewise.
14443 * gdb.reverse/sigall-reverse.exp: Likewise.
14444 * gdb.threads/pthreads.c: Likewise.
14445 * gdb.threads/pthreads.exp: Likewise.
14446
14447 2014-10-17 Yao Qi <yao@codesourcery.com>
14448
14449 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14450 check 'target_info exists noargs'.
14451 (test_command_prompt_position): Likewise.
14452 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14453 Remove "set args".
14454 (progvar_simple_while_test): Likewise.
14455 (progvar_complex_if_while_test): Likewise.
14456 (if_while_breakpoint_command_test): Likewise.
14457 (infrun_breakpoint_command_test): Likewise.
14458 (breakpoint_command_test): Likewise.
14459 (watchpoint_command_test): Likewise.
14460 (bp_deleted_in_command_test): Likewise.
14461 (temporary_breakpoint_commands): Likewise.
14462
14463 2014-10-16 Yao Qi <yao@codesourcery.com>
14464
14465 * gdb.base/remotetimeout.exp: Remove noargs checking.
14466
14467 2014-10-15 Pedro Alves <palves@redhat.com>
14468
14469 PR breakpoints/9649
14470 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14471 * gdb.base/breakpoint-in-ro-region.exp
14472 (probe_target_hardware_step): New procedure.
14473 (top level): Probe hardware stepping and hardware breakpoint
14474 support. Test stepping through a read-only region, with both
14475 "breakpoint auto-hw" on and off and both "always-inserted" on and
14476 off.
14477
14478 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14479
14480 * gdb.dlang/demangle.exp: Update for demangling changes.
14481
14482 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14483
14484 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14485 * gdb.cp/non-trivial-retval.exp: Add new tests.
14486
14487 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14488
14489 PR c++/13403
14490 PR c++/15154
14491 * gdb.cp/non-trivial-retval.cc: New file.
14492 * gdb.cp/non-trivial-retval.exp: New file.
14493
14494 2014-10-15 Yao Qi <yao@codesourcery.com>
14495
14496 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14497 remote host.
14498
14499 2014-10-15 Yao Qi <yao@codesourcery.com>
14500
14501 * gdb.python/py-symbol.exp: Match file base name if host is
14502 remote, otherwise match file name with dir name.
14503 * gdb.python/py-symtab.exp: Likewise.
14504 * gdb.python/python.exp: Likewise.
14505
14506 2014-10-15 Yao Qi <yao@codesourcery.com>
14507
14508 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14509 pattern.
14510 * gdb.python/py-symtab.exp: Likewise.
14511 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14512 locationn.
14513
14514 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14515
14516 * gdb.ada/addr_arith: New testcase.
14517
14518 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14519
14520 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14521 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14522 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14523 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14524
14525 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14526
14527 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14528 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14529 * gdb.arch/stap-eval-lang-ada.exp: New file.
14530
14531 2014-10-14 Yao Qi <yao@codesourcery.com>
14532
14533 * gdb.mi/mi-var-child.c (nothing1): New function.
14534 (nothing2): New function.
14535 (do_children_tests): Set function pointers by nothing1 and
14536 nothing2.
14537 * gdb.mi/mi-var-child.exp: Step over new added statements.
14538 Update test to match the new output.
14539 * gdb.mi/var-cmd.c (nothing1): New function.
14540 (nothing2): New function.
14541 (do_children_tests): Set function pointers by nothing1 and
14542 nothing2.
14543 * gdb.mi/mi-var-display.exp: Update test to match output.
14544 Step to the line specified by $line_dct_nothing.
14545 Increase the number of lines to step.
14546
14547 2014-10-14 Yao Qi <yao@codesourcery.com>
14548
14549 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14550 tests.
14551 * gdb.mi/mi2-var-child.exp: Likewise.
14552
14553 2014-10-13 Doug Evans <dje@google.com>
14554
14555 * gdb.python/py-objfile.exp: Change name of file name test.
14556
14557 2014-10-13 Doug Evans <dje@google.com>
14558
14559 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14560 from the start of the CU.
14561
14562 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14563 Yao Qi <yao@codesourcery.com>
14564
14565 Fix "save breakpoints" for "catch" command.
14566 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14567 Remove -nonewline. Match also the added "main" line.
14568
14569 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14570
14571 Fix "save breakpoints" for "disable $bpnum" command.
14572 * gdb.base/save-bp.c (main): Add label.
14573 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14574
14575 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14576
14577 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14578
14579 2014-10-11 Yao Qi <yao@codesourcery.com>
14580
14581 * gdb.server/server-kill.exp: Execute command
14582 "set remote trace-status-packet on" before "tstatus".
14583
14584 2014-10-11 Yao Qi <yao@codesourcery.com>
14585
14586 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14587 (main): Call getppid.
14588 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14589 and continue to it. Read variable "server_pid".
14590
14591 2014-10-11 Yao Qi <yao@codesourcery.com>
14592
14593 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14594
14595 2014-10-11 Yao Qi <yao@codesourcery.com>
14596
14597 * gdb.threads/thread-find.exp: Don't execute command
14598 "info threads".
14599 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14600 * gdb.threads/linux-dp.exp: Don't check the condition
14601 $threads_created equals to zero.
14602
14603 2014-10-10 Pedro Alves <palves@redhat.com>
14604
14605 * gdb.base/bigcore.exp: Remove references to IRIX.
14606 * gdb.base/funcargs.exp: Likewise.
14607 * gdb.base/interrupt.exp: Likewise.
14608 * gdb.base/mips_pro.exp: Likewise.
14609 * gdb.base/nodebug.exp: Likewise.
14610 * gdb.base/setvar.exp: Likewise.
14611 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14612
14613 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14614 Pedro Alves <palves@redhat.com>
14615
14616 PR symtab/14466
14617 * gdb.base/vdso-warning.c: New file.
14618 * gdb.base/vdso-warning.exp: New file.
14619
14620 2014-10-02 Doug Evans <dje@google.com>
14621
14622 * gdb.base/structs.c (main): Don't run forever.
14623
14624 2014-10-02 Pedro Alves <palves@redhat.com>
14625
14626 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14627 (top level) <stop threads 1, stop threads 2>: Use it.
14628
14629 2014-10-02 Pedro Alves <palves@redhat.com>
14630
14631 * gdb.threads/break-while-running.exp (test): Add new
14632 'update_thread_list' argument. Skip "info threads" if false.
14633 (top level): Add new 'update_thread_list' axis.
14634
14635 2014-10-02 Pedro Alves <palves@redhat.com>
14636
14637 PR breakpoints/17431
14638 * gdb.base/execl-update-breakpoints.c: New file.
14639 * gdb.base/execl-update-breakpoints.exp: New file.
14640
14641 2014-10-01 Pedro Alves <palves@redhat.com>
14642
14643 * gdb.base/breakpoint-in-ro-region.c: New file.
14644 * gdb.base/breakpoint-in-ro-region.exp: New file.
14645
14646 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14647
14648 * gdb.mi/mi-exit-code.exp: New file.
14649 * gdb.mi/mi-exit-code.c: New file.
14650
14651 2014-09-30 Yao Qi <yao@codesourcery.com>
14652
14653 * lib/prelink-support.exp (build_executable_own_libs): Error if
14654 the target isn't native.
14655
14656 2014-09-30 Yao Qi <yao@codesourcery.com>
14657
14658 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14659 false.
14660
14661 2014-09-22 Pedro Alves <palves@redhat.com>
14662
14663 * gdb.threads/break-while-running.exp: New file.
14664 * gdb.threads/break-while-running.c: New file.
14665
14666 2014-09-19 Yao Qi <yao@codesourcery.com>
14667
14668 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14669 Invoke test. Restart GDB with --readnow and invoke test again.
14670
14671 2014-09-19 Yao Qi <yao@codesourcery.com>
14672
14673 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14674 proc set_breakpoint_on_gcd_function. Invoke
14675 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14676 invoke set_breakpoint_on_gcd_function again.
14677
14678 2014-09-18 Doug Evans <dje@google.com>
14679
14680 * gdb.dwarf2/symtab-producer.exp: New file.
14681
14682 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14683
14684 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14685 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14686 * gdb.base/global-var-nested-by-dso.c: Likewise.
14687 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14688
14689 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14690 Pedro Alves <palves@redhat.com>
14691
14692 * gdb.base/watch-bitfields.exp: Pass string other than test file
14693 name to prepare_for_testing.
14694 (watch): New procedure.
14695 (expect_watchpoint): Use with_test_prefix.
14696 (top level): Factor out tests to ...
14697 (test_watch_location, test_regular_watch): ... these new
14698 procedures, and use with_test_prefix and gdb_continue_to_end.
14699
14700 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14701
14702 PR breakpoints/12526
14703 * gdb.base/watch-bitfields.exp: New file.
14704 * gdb.base/watch-bitfields.c: New file.
14705
14706 2014-09-16 Pedro Alves <palves@redhat.com>
14707
14708 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14709 software and hardware addresses, not software address against
14710 itself.
14711
14712 2014-09-16 Pedro Alves <palves@redhat.com>
14713
14714 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14715 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14716
14717 2014-09-16 Pedro Alves <palves@redhat.com>
14718
14719 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14720 files.
14721 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14722 "*-*-vxworks*" throughout.
14723 * gdb.base/break.exp: Likewise.
14724 * gdb.base/default.exp: Likewise.
14725 * gdb.base/scope.exp: Likewise.
14726 * gdb.base/sepdebug.exp: Likewise.
14727 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14728 throughout.
14729 * gdb.base/run.c: Likewise.
14730 * gdb.base/sepdebug.c: Likewise.
14731 * gdb.hp/gdb.aCC/run.c: Likewise.
14732 * gdb.reverse/until-reverse.c: Likewise.
14733 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14734
14735 2014-09-16 Yao Qi <yao@codesourcery.com>
14736
14737 * boards/local-remote-host-native.exp: New file.
14738
14739 2014-09-14 Doug Evans <xdje42@gmail.com>
14740
14741 * gdb.threads/queue-signal.c (thread_count): New variable.
14742 (thread_count_mutex, thread_count_condvar): New variables.
14743 (incr_thread_count, wait_all_threads_running): New functions.
14744 (main): Wait for all threads to be in their thread functions.
14745
14746 2014-09-13 Doug Evans <xdje42@gmail.com>
14747
14748 * gdb.threads/queue-signal.c: New file.
14749 * gdb.threads/queue-signal.exp: New file.
14750
14751 2014-09-13 Doug Evans <xdje42@gmail.com>
14752
14753 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14754 be consistent with what default_gdb_init uses.
14755 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14756 the plain text of the prompt. Add some logging printfs.
14757 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14758
14759 2014-09-12 Pedro Alves <palves@redhat.com>
14760
14761 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14762 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14763 * gdb.arch/i386-size-overlap.exp: Likewise.
14764 * gdb.arch/i386-size.exp: Likewise.
14765 * gdb.arch/i386-unwind.exp: Likewise.
14766 * gdb.base/a2-run.exp: Likewise.
14767 * gdb.base/break.exp: Likewise.
14768 * gdb.base/charset.exp: Likewise.
14769 * gdb.base/chng-syms.exp: Likewise.
14770 * gdb.base/commands.exp: Likewise.
14771 * gdb.base/dbx.exp: Likewise.
14772 * gdb.base/find.exp: Likewise.
14773 * gdb.base/funcargs.exp: Likewise.
14774 * gdb.base/jit-simple.exp: Likewise.
14775 * gdb.base/reread.exp: Likewise.
14776 * gdb.base/sepdebug.exp: Likewise.
14777 * gdb.base/step-bt.exp: Likewise.
14778 * gdb.cp/mb-inline.exp: Likewise.
14779 * gdb.cp/mb-templates.exp: Likewise.
14780 * gdb.objc/basicclass.exp: Likewise.
14781 * gdb.threads/killed.exp: Likewise.
14782
14783 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14784
14785 PR tdep/17379
14786 * gdb.arch/powerpc-stackless.S: New file.
14787 * gdb.arch/powerpc-stackless.exp: New file.
14788
14789 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14790
14791 * gdb.base/attach.c: Include unistd.h.
14792 (main): Call alarm. Add label postloop.
14793 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14794 gdb_breakpoint, gdb_continue_to_breakpoint.
14795 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14796
14797 2014-09-11 Pedro Alves <palves@redhat.com>
14798
14799 PR gdb/17347
14800 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14801 * gdb.base/attach.exp (test_command_line_attach_run): New
14802 procedure.
14803 (top level): Call it.
14804
14805 2014-09-11 Pedro Alves <palves@redhat.com>
14806
14807 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14808 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14809 (do_command_attach_tests): Use spawn_wait_for_attach.
14810 * gdb.base/solib-overlap.exp: Likewise.
14811 * gdb.multi/multi-attach.exp: Likewise.
14812 * gdb.python/py-prompt.exp: Likewise.
14813 * gdb.python/py-sync-interp.exp: Likewise.
14814 * gdb.server/ext-attach.exp: Likewise.
14815
14816 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14817
14818 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14819 command in testcase. Simplify testcase.
14820
14821 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14822
14823 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14824
14825 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14826
14827 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14828
14829 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14830
14831 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14832
14833 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14834
14835 * gdb.dwarf2/dynarr-ptr.c: New file.
14836 * gdb.dwarf2/dynarr-ptr.exp: New file.
14837
14838 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14839
14840 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14841 of 30 rather than hardcoding 120 for a slow test case. Take the
14842 `gdb,timeout' target setting into account for this calculation.
14843 Don't extend the timeout for the test cases that don't need it.
14844
14845 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14846
14847 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14848 a factor of 2 for a slow test case. Take the `gdb,timeout'
14849 target setting into account for this calculation.
14850 * gdb.reverse/until-precsave.exp: Increase the timeout by
14851 a factor of 15 and 3 respectively rather than adding 120
14852 for a pair of slow test cases. Take the `gdb,timeout'
14853 target setting into account for this calculation.
14854
14855 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14856
14857 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14858 timeout, don't pass one down to gdb_expect.
14859 (gdb_expect): Rework timeout selection.
14860
14861 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14862
14863 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14864 exception on timeout.
14865 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14866 (gdbserver_start_extended): Catch any `gdbserver_start' error
14867 exceptions.
14868 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14869 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14870 `gdbserver_gdb_load' error exceptions.
14871
14872 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14873
14874 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14875 120 on waiting for the TCP socket to open.
14876
14877 2014-09-09 Doug Evans <xdje42@gmail.com>
14878
14879 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14880 _caller_matches, _any_caller_is, _any_caller_matches.
14881
14882 2014-09-09 Doug Evans <xdje42@gmail.com>
14883
14884 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14885
14886 2014-09-09 Yao Qi <yao@codesourcery.com>
14887
14888 * gdb.mi/mi-var-display.exp: Set print symbol off.
14889
14890 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14891
14892 PR gdb/17035
14893 * gdb.base/commands.exp: Add tests to verify user-defined
14894 commands with empty bodies.
14895 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14896 python commands in `show user command`.
14897 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14898 scheme commands in `show user command`.
14899
14900 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14901
14902 PR python/17355
14903 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14904 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14905 * gdb.python/py-framefilter-invalidarg.exp: New file.
14906 * gdb.python/py-framefilter-invalidarg.py: New file.
14907
14908 2014-09-06 Doug Evans <xdje42@gmail.com>
14909
14910 PR 15276
14911 * gdb.python/py-caller-is.c: New file.
14912 * gdb.python/py-caller-is.exp: New file.
14913
14914 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14915
14916 PR gdb/17235
14917 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14918 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14919
14920 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14921
14922 PR fortran/17237
14923 * gdb.fortran/print-formatted.exp: New file.
14924 * gdb.fortran/print-formatted.f90: Likewise.
14925
14926 2014-09-03 Sasha Smundak <asmundak@google.com>
14927
14928 * gdb.python/py-frame.exp: Test Frame.read_register.
14929
14930 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14931
14932 PR python/16699
14933 * gdb.python/py-completion.exp: New file.
14934 * gdb.python/py-completion.py: Likewise.
14935
14936 2014-08-28 Doug Evans <dje@google.com>
14937
14938 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14939 eax,etc. are live with values set by gdb and thus the compiler can't
14940 use them.
14941 * gdb.arch/i386-pseudo.c (main): Ditto.
14942
14943 2014-08-27 Doug Evans <dje@google.com>
14944
14945 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14946
14947 2014-08-25 Doug Evans <dje@google.com>
14948
14949 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14950 (main): Ditto.
14951
14952 2014-08-25 Doug Evans <dje@google.com>
14953
14954 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14955
14956 2014-08-24 Yao Qi <yao@codesourcery.com>
14957
14958 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14959 symbol off.
14960 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14961
14962 2014-08-22 Doug Evans <dje@google.com>
14963
14964 PR 17276
14965 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14966 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14967 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14968
14969 2014-08-22 Yao Qi <yao@codesourcery.com>
14970
14971 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14972 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14973 * gdb.python/python.exp: Likewise. Use .py file on the host
14974 instead of the build.
14975
14976 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14977
14978 * gdb.threads/gcore-stale-thread.c: New file.
14979 * gdb.threads/gcore-stale-thread.exp: New file.
14980
14981 2014-08-21 Pedro Alves <palves@redhat.com>
14982
14983 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14984 * gdb.base/gcore-relro-pie.exp: Likewise.
14985 * gdb.base/gcore-relro.exp: Likewise.
14986 * gdb.base/gcore.exp: Likewise.
14987 * gdb.base/print-symbol-loading.exp: Likewise.
14988 * gdb.threads/gcore-thread.exp: Likewise.
14989 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14990
14991 2014-08-20 Pedro Alves <palves@redhat.com>
14992 Jan Kratochvil <jan.kratochvil@redhat.com>
14993
14994 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14995 configure.
14996 (EXPECT): Handle READ1 being set.
14997 (all): Depend on EXTRA_RULES.
14998 (check-read1, expect-read1, read1.so, read1): New rules.
14999 * README (Testsuite Parameters): Document the READ1 make variable.
15000 (Race detection): New section.
15001 * configure: Regenerate.
15002 * configure.ac: If build==host==target, and running under a
15003 GNU/glibc system, add read1 to the extra Makefile rules.
15004 (EXTRA_RULES): AC_SUBST it.
15005 * lib/read1.c: New file.
15006
15007 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15008
15009 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15010 the handling of variables declared as a typedef to an array
15011 which a DW_AT_data_location attribute.
15012
15013 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15014 Pedro Alves <palves@redhat.com>
15015
15016 PR symtab/14604
15017 PR symtab/14605
15018 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15019 gdb_test.
15020
15021 2014-08-19 Pedro Alves <palves@redhat.com>
15022
15023 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15024
15025 2014-08-19 Yao Qi <yao@codesourcery.com>
15026
15027 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15028 right line.
15029
15030 2014-08-18 David Blaikie <dblaikie@gmail.com>
15031
15032 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15033
15034 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15035
15036 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15037 attribute in array range.
15038
15039 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15042
15043 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15044
15045 PR c++/17132
15046 * gdb.cp/pr17132.cc: New file.
15047 * gdb.cp/pr17132.exp: New file.
15048
15049 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15050
15051 * gdb.python/py-xmethods.py (A_getarrayind)
15052 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15053 Use 'print' with function call syntax.
15054 (E_method_matcher.match): Fix tab vs space indentation mixup.
15055
15056 2014-08-15 Yao Qi <yao@codesourcery.com>
15057
15058 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15059 false.
15060
15061 2014-08-15 Yao Qi <yao@codesourcery.com>
15062
15063 * gdb.cp/casts.exp: Set print symbol off.
15064 * gdb.cp/class2.exp: Likewise.
15065 * gdb.cp/overload.exp: Likewise.
15066 * gdb.cp/templates.exp: Likewise.
15067
15068 2014-08-11 Doug Evans <dje@google.com>
15069
15070 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15071 (test_load_shlib): Update.
15072
15073 2014-08-09 Yao Qi <yao@codesourcery.com>
15074
15075 * gdb.base/display.exp: Invoke is_address_zero_readable.
15076 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15077 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15078 * gdb.base/hbreak-unmapped.exp: Return if
15079 is_address_zero_readable returns true.
15080 * gdb.base/signest.exp: Likewise.
15081 * gdb.base/signull.exp: Likewise.
15082 * gdb.base/sigbpt.exp: Likewise.
15083 * gdb.guile/scm-disasm.exp: Do the test if
15084 is_address_zero_readable returns false.
15085 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15086 * gdb.python/py-arch.exp: Likewise.
15087 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15088 * lib/gdb.exp (is_address_zero_readable): New proc.
15089
15090 2014-08-09 Yao Qi <yao@codesourcery.com>
15091
15092 PR testsuite/13443
15093 * gdb.mi/mi-var-display.exp: Make test messages unique.
15094
15095 2014-08-04 Tom Tromey <tromey@redhat.com>
15096
15097 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15098 target 0".
15099
15100 2014-08-04 Tom Tromey <tromey@redhat.com>
15101
15102 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15103 "target_resume".
15104
15105 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15106
15107 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15108 inner_vla_struct_object_size.
15109 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15110 as xfail.
15111
15112 2014-07-30 Pedro Alves <palves@redhat.com>
15113
15114 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15115 comment.
15116
15117 2014-07-29 Yao Qi <yao@codesourcery.com>
15118
15119 PR gdb/17206
15120 * gdb.base/until-nodebug.exp: New.
15121
15122 2014-07-28 Doug Evans <xdje42@gmail.com>
15123
15124 PR guile/17203
15125 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15126 previously existing parameter, and previously ambiguously spelled
15127 parameter.
15128
15129 2014-07-28 Will Newton <will.newton@linaro.org>
15130
15131 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15132
15133 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15134 Doug Evans <xdje42@gmail.com>
15135
15136 PR guile/17146
15137 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15138
15139 2014-07-25 Pedro Alves <palves@redhat.com>
15140
15141 * gdb.threads/signal-command-handle-nopass.c: New file.
15142 * gdb.threads/signal-command-handle-nopass.exp: New file.
15143 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15144 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15145 * gdb.threads/signal-delivered-right-thread.c: New file.
15146 * gdb.threads/signal-delivered-right-thread.exp: New file.
15147
15148 2014-07-25 Pedro Alves <palves@redhat.com>
15149
15150 * gdb.base/double-prompt-target-event-error.exp
15151 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15152 match.
15153 (cancel_pagination_in_target_event): Rework double prompt
15154 detection.
15155 * gdb.base/paginate-after-ctrl-c-running.exp
15156 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15157 <return>' match.
15158 * gdb.base/paginate-bg-execution.exp
15159 (test_bg_execution_pagination_return)
15160 (test_bg_execution_pagination_cancel): Remove '-notransfer
15161 <return>' matches.
15162 * gdb.base/paginate-execution-startup.exp
15163 (test_fg_execution_pagination_return)
15164 (test_fg_execution_pagination_cancel): Remove '-notransfer
15165 <return>' matches.
15166 * gdb.base/paginate-inferior-exit.exp
15167 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15168 match.
15169 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15170 * lib/gdb.exp (pagination_prompt): Run text through
15171 string_to_regexp.
15172 (gdb_test_multiple): Match $pagination_prompt instead of
15173 "<return>".
15174 (string_to_regexp): Move to lib/gdb-utils.exp.
15175
15176 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15177
15178 * gdb.arch/amd64-entry-value-paramref.S: New file.
15179 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15180 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15181 * gdb.arch/amd64-optimout-repeat.S: New file.
15182 * gdb.arch/amd64-optimout-repeat.c: New file.
15183 * gdb.arch/amd64-optimout-repeat.exp: New file.
15184
15185 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15186
15187 PR gdb/17170
15188 * gdb.base/statistics.exp: New file.
15189
15190 2014-07-17 Doug Evans <dje@google.com>
15191
15192 PR gdb/17170
15193 * gdb.base/maint.exp: Update testing of per-command stats.
15194
15195 2014-07-16 Pedro Alves <palves@redhat.com>
15196
15197 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15198 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15199 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15200 (tfile_write_buf): New functions.
15201 (add_memory_block): Rewrite using the above.
15202 (adjust_function_address): New function.
15203 (FUNCTION_ADDRESS): New macro.
15204 (write_basic_trace_file): Remove short_x local, and use
15205 tfile_write_16. Change type of func_addr local to unsigned long
15206 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15207 here. Cast argument of add_memory_block to char pointer.
15208 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15209 (main): Remove parameters.
15210 * gdb.trace/tfile.exp: Remove nowarnings.
15211
15212 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15213
15214 * gdb.base/debug-expr.exp: Test string evaluation with
15215 "debug expression" on.
15216
15217 2014-07-15 Pedro Alves <palves@redhat.com>
15218
15219 * gdb.base/reread.exp: Use clean_restart.
15220
15221 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15222
15223 * gdb.arch/avr-flash-qualifer.c: New.
15224 * gdb.arch/avr-flash-qualifer.exp: New.
15225
15226 2014-07-14 Pedro Alves <palves@redhat.com>
15227
15228 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15229 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15230
15231 2014-07-14 Pedro Alves <palves@redhat.com>
15232
15233 * gdb.base/double-prompt-target-event-error.c: New file.
15234 * gdb.base/double-prompt-target-event-error.exp: New file.
15235
15236 2014-07-14 Pedro Alves <palves@redhat.com>
15237
15238 PR gdb/17072
15239 * gdb.base/paginate-inferior-exit.c: New file.
15240 * gdb.base/paginate-inferior-exit.exp: New file.
15241
15242 2014-07-14 Pedro Alves <palves@redhat.com>
15243
15244 PR gdb/17072
15245 * gdb.base/paginate-bg-execution.c: New file.
15246 * gdb.base/paginate-bg-execution.exp: New file.
15247
15248 2014-07-14 Pedro Alves <palves@redhat.com>
15249
15250 PR gdb/17072
15251 * gdb.base/paginate-execution-startup.c: New file.
15252 * gdb.base/paginate-execution-startup.exp: New file.
15253 * lib/gdb.exp (pagination_prompt): New global.
15254 (default_gdb_spawn): New procedure, factored out from
15255 default_gdb_spawn.
15256 (default_gdb_start): Adjust to call default_gdb_spawn.
15257 (gdb_spawn): New procedure.
15258
15259 2014-07-14 Pedro Alves <palves@redhat.com>
15260
15261 * lib/gdb.exp (gdb_assert): New procedure.
15262 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15263
15264 2014-07-14 Pedro Alves <palves@redhat.com>
15265
15266 * gdb.base/execution-termios.c: New file.
15267 * gdb.base/execution-termios.exp: New file.
15268
15269 2014-07-14 Tom Tromey <tromey@redhat.com>
15270
15271 * gdb.cp/vla-cxx.cc: New file.
15272 * gdb.cp/vla-cxx.exp: New file.
15273
15274 2014-07-14 Tom Tromey <tromey@redhat.com>
15275
15276 * gdb.reverse/rerun-prec.c: New file.
15277 * gdb.reverse/rerun-prec.exp: New file.
15278
15279 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15280 Maciej W. Rozycki <macro@codesourcery.com>
15281
15282 * lib/gdb-utils.exp: New file.
15283 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15284 inline `gdb_init_command' processing.
15285 (gdb_start_cmd): Likewise.
15286 * lib/mi-support.exp (mi_run_cmd): Likewise.
15287 * README: Document `gdb_init_command' and `gdb_init_commands'.
15288
15289 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15290
15291 Fix false FAIL running under a very long directory name.
15292 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15293 and "set print elements 10000". Twice.
15294
15295 2014-07-11 Yao Qi <yao@codesourcery.com>
15296
15297 * gdb.base/exprs.exp: "set print symbol off".
15298
15299 2014-07-11 Pedro Alves <palves@redhat.com>
15300
15301 * gdb.threads/kill.c: New file.
15302 * gdb.threads/kill.exp: New file.
15303
15304 2014-07-10 Yao Qi <yao@codesourcery.com>
15305
15306 * gdb.trace/tfile.c (write_basic_trace_file)
15307 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15308 address written to trace file.
15309
15310 2014-07-09 Pedro Alves <palves@redhat.com>
15311
15312 * gdb.base/attach-wait-input.exp: New file.
15313 * gdb.base/attach-wait-input.c: New file.
15314
15315 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15316
15317 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15318 setting up test structures.
15319 (main): Call new test function.
15320 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15321 test function, continue into test function and walk test
15322 structures.
15323
15324 2014-07-02 Yao Qi <yao@codesourcery.com>
15325
15326 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15327 'bar_start' at the beginning of functions 'foo' and 'bar'
15328 respectively.
15329 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15330 instead of 'foo' and 'bar'.
15331
15332 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15333
15334 * gdb.btrace/segv.exp: New.
15335 * gdb.btrace/segv.c: New.
15336
15337 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15338
15339 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15340 instruction.
15341
15342 2014-06-30 Mark Wielaard <mjw@redhat.com>
15343
15344 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15345 vulture, vilify, villar): New volatile array constants.
15346 (vindictive, vegetation): New const volatile array constants.
15347 * gdb.base/volatile.exp: Test volatile and const volatile array
15348 types.
15349
15350 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15351
15352 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15353 target lacks support for awatch, rwatch, or hbreak.
15354
15355 2014-06-27 Yao Qi <yao@codesourcery.com>
15356
15357 * gdb.multi/dummy-frame-restore.exp: New.
15358 * gdb.multi/dummy-frame-restore.c: New.
15359
15360 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15361
15362 * gdb.btrace/gcore.exp: New.
15363
15364 2014-06-23 Pedro Alves <palves@redhat.com>
15365
15366 * gdb.base/watchpoint-reuse-slot.c: New file.
15367 * gdb.base/watchpoint-reuse-slot.exp: New file.
15368
15369 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15370
15371 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15372 progspace's filename in 'info', 'enable' and 'disable' command
15373 tests.
15374
15375 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15378 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15379 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15380
15381 2014-06-20 Gary Benson <gbenson@redhat.com>
15382
15383 * gdb.arch/i386-avx.exp: Fix include file location.
15384 * gdb.arch/i386-sse.exp: Likewise.
15385
15386 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15387
15388 * gdb.dlang/expression.exp: New file.
15389
15390 2014-06-19 Pedro Alves <palves@redhat.com>
15391
15392 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15393 out from ...
15394 (top level): ... here. Iterate running tests under different
15395 scheduler-locking settings.
15396
15397 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15398
15399 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15400 to DW_FORM_addr and use non-zero addresses.
15401
15402 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15403
15404 PR gdb/17017
15405 * gdb.python/py-xmethods.cc: Add global function call counters and
15406 increment them in their respective functions. Remove "cout"
15407 statements.
15408 * gdb.python/py-xmethods.exp: Make tests check the global function
15409 call counters instead of depending on inferior IO.
15410
15411 2014-06-18 Don Breazeal <donb@codesourcery.com>
15412
15413 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15414 Deleted procedure.
15415 (explicit_fork_parent_follow): Deleted procedure.
15416 (explicit_fork_child_follow): Deleted procedure.
15417 (test_follow_fork): New procedure.
15418 (do_fork_tests): Replace calls to deleted procedures with
15419 calls to test_follow_fork and reset GDB for subsequent
15420 procedure calls.
15421
15422 2014-06-17 Yao Qi <yao@codesourcery.com>
15423
15424 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15425 CP1252.
15426
15427 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15428
15429 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15430 Initialize ptr and S explicitly.
15431 (skip_type_update_when_not_use_rtti_test): Likewise.
15432
15433 2014-06-16 Keith Seitz <keiths@redhat.com>
15434
15435 PR mi/15863
15436 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15437 the inferior is started.
15438
15439 2014-06-16 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.base/break-main-file-remove-fail.c: New file.
15442 * gdb.base/break-main-file-remove-fail.exp: New file.
15443 * gdb.base/break-unload-file.exp: Use build_executable instead of
15444 prepare_for_testing.
15445 (test_break): New parameter "initial_load". Handle it.
15446 (top level): Add initial_load cmdline/file axis.
15447
15448 2014-06-12 Tom Tromey <tromey@redhat.com>
15449
15450 * gdb.base/completion.exp: Don't use directory name in test.
15451
15452 2014-06-09 Gary Benson <gbenson@redhat.com>
15453
15454 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15455 separate the always-available ANSI-standard signals from the
15456 signals that require checking.
15457 (main): Likewise.
15458 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15459 Likewise.
15460 (main): Likewise.
15461
15462 2014-06-07 Keith Seitz <keiths@redhat.com>
15463
15464 Revert:
15465 PR c++/16253
15466 * gdb.cp/var-tag.cc: New file.
15467 * gdb.cp/var-tag.exp: New file.
15468 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15469 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15470 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15471 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15472
15473 2014-06-06 Doug Evans <xdje42@gmail.com>
15474
15475 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15476
15477 2014-06-06 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15480 in target debug output instead of looking at RSP packets,
15481 disabling the test on any target that uses hardware stepping.
15482 Update comments.
15483
15484 2014-06-06 Pedro Alves <palves@redhat.com>
15485
15486 * gdb.base/break-unload-file.exp: Fix typo.
15487
15488 2014-06-06 Yao Qi <yao@codesourcery.com>
15489
15490 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15491 from "jit_function" to "^jit_function".
15492
15493 2014-06-06 Yao Qi <yao@codesourcery.com>
15494
15495 * gdb.base/async.c (foo): Add one statement.
15496 * gdb.base/async.exp: Get the next instruction address and
15497 match the output of "nexti" by instruction address. Match
15498 the hex address in the output of "finish".
15499
15500 2014-06-06 Gary Benson <gbenson@redhat.com>
15501
15502 * gdb.base/call-signals.c: Remove preprocessor conditionals
15503 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15504 SIGSEGV and SIGTERM.
15505 * gdb.base/sigall.c: Likewise.
15506 * gdb.base/unwindonsignal.c: Likewise.
15507 * gdb.reverse/sigall-reverse.c: Likewise.
15508
15509 2014-06-06 Yao Qi <yao@codesourcery.com>
15510
15511 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15512 readable, skip the test.
15513
15514 2014-06-06 Yao Qi <yao@codesourcery.com>
15515
15516 * gdb.threads/staticthreads.c (thread_function): Move the line
15517 setting breakpoint on forward.
15518 * gdb.threads/staticthreads.exp: Update comments.
15519
15520 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15521
15522 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15523 "history-append! type error".
15524
15525 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15526
15527 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15528 erroneous dprintf expected input.
15529
15530 2014-06-04 Doug Evans <xdje42@gmail.com>
15531
15532 * gdb.guile/scm-generics.exp: Delete.
15533
15534 2014-06-04 Doug Evans <xdje42@gmail.com>
15535
15536 * gdb.guile/scm-breakpoint.exp: Update.
15537 Add tests for breakpoint registration.
15538
15539 2014-06-04 Tom Tromey <tromey@redhat.com>
15540
15541 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15542 VLA-in-union.
15543 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15544 inner_vla_struct, vla_union types. Initialize objects of those
15545 types and compute their sizes.
15546
15547 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15548 Hui Zhu <hui@codesourcery.com>
15549
15550 * gdb.base/fileio.exp: Add test for shell not available as well as
15551 available.
15552 * gdb.base/fileio.c (test_system): Check for shell twice.
15553
15554 2014-06-04 Yao Qi <yao@codesourcery.com>
15555
15556 * gdb.base/auto-connect-native-target.exp: Remove redundant
15557 space from the regexp pattern.
15558
15559 2014-06-04 Yao Qi <yao@codesourcery.com>
15560
15561 * gdb.base/default.exp: Replace "child" with "native" in
15562 regexp pattern.
15563
15564 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15565
15566 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15567 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15568 * gdb.python/py-xmethods.py: Python script supporting the
15569 new testcase and tests.
15570
15571 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15572 Pedro Alves <palves@redhat.com>
15573
15574 PR breakpoints/17000
15575 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15576 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15577
15578 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15579
15580 * gdb.base/subst.exp: Add tests to verify partial path matching
15581 output.
15582
15583 2014-06-03 Pedro Alves <palves@redhat.com>
15584
15585 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15586 target that doesn't use software single-stepping.
15587
15588 2014-06-03 Pedro Alves <palves@redhat.com>
15589
15590 PR breakpoints/17000
15591 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15592 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15593
15594 2014-06-02 Doug Evans <xdje42@gmail.com>
15595
15596 * gdb.guile/scm-parameter.exp: New file.
15597
15598 2014-06-02 Doug Evans <xdje42@gmail.com>
15599
15600 * gdb.guile/scm-cmd.c: New file.
15601 * gdb.guile/scm-cmd.exp: New file.
15602
15603 2014-06-02 Doug Evans <xdje42@gmail.com>
15604
15605 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15606 pretty-printer lookup.
15607 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15608 (make-pp_s-printer): Call it.
15609 (make-pretty-printer-from-dict): New function.
15610 (lookup-pretty-printer-maker-from-dict): New function.
15611 (*pretty-printer*): Simplify.
15612 (make-objfile-pp_s-printer): New function.
15613 (install-objfile-pretty-printers!): New function.
15614 (make-progspace-pp_s-printer): New function.
15615 (install-progspace-pretty-printers!): New function.
15616 * gdb.guile/scm-progspace.c: New file.
15617 * gdb.guile/scm-progspace.exp: New file.
15618
15619 2014-06-02 Pedro Alves <palves@redhat.com>
15620
15621 * gdb.base/dprintf-bp-same-addr.c: New file.
15622 * gdb.base/dprintf-bp-same-addr.exp: New file.
15623
15624 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15625
15626 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15627 * gdb.arch/powerpc-power.s: Likewise.
15628
15629 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15630
15631 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15632
15633 2014-06-01 Yao Qi <yao@codesourcery.com>
15634
15635 * gdb.base/watchpoint.exp (test_watch_location): Check null
15636 pointer can be dereferenced. If not, do the test, otherwise
15637 skip it.
15638
15639 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15640
15641 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15642 results.
15643 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15644
15645 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15646
15647 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15648 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15649 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15650 * gdb.arch/amd64-invalid-stack-top.c: New file.
15651 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15652
15653 2014-05-30 Pedro Alves <palves@redhat.com>
15654
15655 PR breakpoints/17000
15656 * gdb.base/sss-bp-on-user-bp.c: New file.
15657 * gdb.base/sss-bp-on-user-bp.exp: New file.
15658
15659 2014-05-30 David Blaikie <dblaikie@gmail.com>
15660
15661 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15662 gnu_inline semantics via attribute.
15663 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15664 source explicitly specifies the required semantics.
15665
15666 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15667
15668 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15669
15670 2014-05-29 Pedro Alves <palves@redhat.com>
15671 Tom Tromey <tromey@redhat.com>
15672
15673 * gdb.base/async-shell.exp: Don't enable target-async.
15674 * gdb.base/async.exp
15675 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15676 parameter. Adjust.
15677 (top level): Don't test with "target-async".
15678 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15679 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15680 * gdb.base/inferior-died.exp: Don't enable target-async.
15681 * gdb.base/interrupt-noterm.exp: Likewise.
15682 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15683 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15684 * gdb.mi/mi-nonstop.exp: Likewise.
15685 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15686 * gdb.mi/mi-nsintrall.exp: Likewise.
15687 * gdb.mi/mi-nsmoribund.exp: Likewise.
15688 * gdb.mi/mi-nsthrexec.exp: Likewise.
15689 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15690 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15691 * gdb.python/py-evsignal.exp: Don't enable target-async.
15692 * gdb.python/py-evthreads.exp: Likewise.
15693 * gdb.python/py-prompt.exp: Likewise.
15694 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15695 * gdb.server/solib-list.exp: Don't enable target-async.
15696 * gdb.threads/thread-specific-bp.exp: Likewise.
15697 * lib/mi-support.exp: Adjust to use mi-async.
15698
15699 2014-05-29 Pedro Alves <palves@redhat.com>
15700
15701 PR gdb/13860
15702 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15703 reason, even in sync mode.
15704
15705 2014-05-29 Pedro Alves <palves@redhat.com>
15706 Hui Zhu <hui@codesourcery.com>
15707
15708 PR PR15693
15709 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15710 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15711 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15712 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15713
15714 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15715
15716 * config/monitor.exp (gdb_target_monitor): Replace use of
15717 "set remotebaud" by "set serial baud".
15718
15719 2014-05-26 Andy Wingo <wingo@igalia.com>
15720
15721 * gdb.guile/scm-breakpoint.exp:
15722 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15723 properties instead of gdb-object-properties.
15724
15725 2014-05-26 Yao Qi <yao@codesourcery.com>
15726
15727 * gdb.server/no-thread-db.exp: Specify source file name
15728 explicitly when setting a breakpoint.
15729
15730 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15731
15732 * gdb.btrace/vdso.c: New.
15733 * gdb.btrace/vdso.exp: New.
15734
15735 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15736
15737 * gdb.base/gcore.exp (capture_command_output): Move ...
15738 * lib/gdb.exp (capture_command_output): ... here.
15739
15740 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15741
15742 * gdb.btrace/data.exp: Test memory access during btrace replay.
15743
15744 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15745
15746 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15747
15748 2014-05-21 Pedro Alves <palves@redhat.com>
15749
15750 PR gdb/13860
15751 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15752 (top level): Test that output related to execution commands is
15753 sent to the console with CLI commands, but not with MI commands.
15754 Test that breakpoint events are always mirrored to the console.
15755 Also expect the new source line to be output after a "next" in
15756 async mode too. Make it a pass/fail test.
15757 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15758 output.
15759 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15760
15761 2014-05-21 Pedro Alves <palves@redhat.com>
15762
15763 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15764 Use them to test variations of "list" after reaching a breakpoint.
15765 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15766 Test "list" with listsize 10 after reaching a breakpoint.
15767 * gdb.python/python.exp (decode_line current location line
15768 number): Adjust expected line number.
15769
15770 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15771
15772 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15773 behavior for $args, pass it directly to "run".
15774
15775 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15776
15777 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15778 30000 to 65536.
15779
15780 2014-05-21 Pedro Alves <palves@redhat.com>
15781
15782 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15783 auto-connect-native-target off".
15784 * gdb.base/auto-connect-native-target.c: New file.
15785 * gdb.base/auto-connect-native-target.exp: New file.
15786
15787 2014-05-21 Pedro Alves <palves@redhat.com>
15788
15789 * gdb.base/default.exp: Test "target native" instead of "target
15790 child".
15791
15792 2014-05-21 Mark Wielaard <mjw@redhat.com>
15793
15794 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15795
15796 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15797
15798 Fix TLS access for -static -pthread.
15799 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15800 <HAVE_TLS> (thread_function, main): Initialize it.
15801 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15802 Add clean_restart.
15803 <$have_tls != "">: Check TLSVAR.
15804
15805 2014-05-21 Pedro Alves <palves@redhat.com>
15806
15807 * gdb.base/dcache-line-read-error.c: New.
15808 * gdb.base/dcache-line-read-error.exp: New.
15809
15810 2014-05-20 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.base/compare-sections.c: New file.
15813 * gdb.base/compare-sections.exp: New file.
15814
15815 2014-05-20 Pedro Alves <palves@redhat.com>
15816
15817 * gdb.base/break-idempotent.c: New file.
15818 * gdb.base/break-idempotent.exp: New file.
15819
15820 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15821
15822 * gdb.btrace/nohist.exp: New.
15823
15824 2014-05-20 Yao Qi <yao@codesourcery.com>
15825
15826 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15827 gdb.reverse directory and gdb_reverse_timeout exists in board
15828 setting.
15829 * README: Document gdb_reverse_timeout.
15830
15831 2014-05-20 Yao Qi <yao@codesourcery.com>
15832
15833 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15834 'test_file_name'. Treat args as a string instead of a list.
15835 (gdb_init): Rename argument 'args' by 'test_file_name'.
15836
15837 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15838
15839 * gdb.arch/powerpc-power.exp: New file.
15840 * gdb.arch/powerpc-power.s: New file.
15841
15842 2014-05-16 Doug Evans <dje@google.com>
15843
15844 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15845 * gdb.base/completion.exp: Check that all expected files exist
15846 before doing file completion.
15847
15848 2014-05-16 Doug Evans <dje@google.com>
15849
15850 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15851 Update.
15852 (do_syscall_tests_without_xml): Update.
15853
15854 2014-05-16 Pedro Alves <palves@redhat.com>
15855
15856 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15857 instead of "unknown output after running".
15858
15859 2014-05-16 Yao Qi <yao@codesourcery.com>
15860
15861 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15862 file1.txt from host at the end.
15863 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15864
15865 2014-05-15 Doug Evans <dje@google.com>
15866
15867 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15868 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15869 loading file. Add test for TU lookup.
15870
15871 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15872
15873 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15874 calling "-exec-arguments" or "set args" before running the
15875 inferior.
15876
15877 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15878
15879 * lib/mi-support.exp (mi_expect_stop): Expect message for
15880 inferiors that exit with non-zero exit code.
15881
15882 2014-05-14 Yao Qi <yao@codesourcery.com>
15883
15884 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15885 match absolute path on remote host.
15886 (test_file_list_exec_source_files): Remove "/" from the
15887 pattern.
15888
15889 2014-05-14 Yao Qi <yao@codesourcery.com>
15890
15891 * boards/local-remote-host-notty.exp (${board}_file): New
15892 proc.
15893
15894 2014-05-07 Kyle McMartin <kyle@redhat.com>
15895
15896 Pushed by Joel Brobecker <brobecker@adacore.com>.
15897 * gdb.arch/aarch64-atomic-inst.c: New file.
15898 * gdb.arch/aarch64-atomic-inst.exp: New file.
15899
15900 2014-05-07 Yao Qi <yao@codesourcery.com>
15901
15902 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15903 in current context" too.
15904
15905 2014-05-05 Keith Seitz <keiths@redhat.com>
15906
15907 * gdb.linespec/ls-dollar.exp: Add test for linespec
15908 file:convenience_variable.
15909
15910 2014-05-05 Yao Qi <yao@codesourcery.com>
15911
15912 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15913 traceframes into tfile and ctf trace files. Read data from
15914 trace file and test collected data.
15915 (gdb_collect_locals_test): Likewise.
15916 (gdb_unavailable_registers_test): Likewise.
15917 (gdb_unavailable_floats): Likewise.
15918 (gdb_collect_globals_test): Likewise.
15919 (top-level): Append "ctf" to trace_file_targets if GDB
15920 supports.
15921
15922 2014-05-05 Yao Qi <yao@codesourcery.com>
15923
15924 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15925 code to ...
15926 (gdb_collect_args_test_1): ... it. New proc.
15927 (gdb_collect_locals_test): Move some code to ...
15928 (gdb_collect_locals_test_1): ... it. New proc.
15929 (gdb_unavailable_registers_test): Move some code to ...
15930 (gdb_unavailable_registers_test_1): ... it. New proc.
15931 (gdb_unavailable_floats): Move some code to ...
15932 (gdb_unavailable_floats_1): ... it. New proc.
15933
15934 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15935
15936 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15937 probes to test for bitness recognition.
15938 * gdb.arch/amd64-stap-optional-prefix.exp
15939 (test_probe_value_without_reg): New procedure.
15940 Add code to test for different kinds of bitness.
15941
15942 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15943
15944 PR breakpoints/16889
15945 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15946 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15947
15948 2014-05-01 Pedro Alves <palves@redhat.com>
15949
15950 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15951 gdb_file_cmd if no file is specified.
15952 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15953 last_loaded_file to set the remote exec-file.
15954
15955 2014-05-01 Pedro Alves <palves@redhat.com>
15956
15957 * boards/local-remote-host.exp: New file.
15958
15959 2014-05-01 Pedro Alves <palves@redhat.com>
15960
15961 * boards/local-remote-host.exp: Rename to ...
15962 * boards/local-remote-host-notty.exp: ... this.
15963
15964 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15965
15966 * gdb.ada/dyn_arrayidx: New testcase.
15967
15968 2014-04-26 Yao Qi <yao@codesourcery.com>
15969
15970 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15971 and compute the length of function main. Save it in
15972 $main_length.
15973 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15974 (top-level): Use gdb_compile to compile objects into
15975 executable and restart GDB. Remove invocation to
15976 prepare_for_testing.
15977
15978 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15979 Pedro Alves <palves@redhat.com>
15980
15981 PR server/16255
15982 * gdb.multi/multi-attach.c: New file.
15983 * gdb.multi/multi-attach.exp: New file.
15984
15985 2014-04-25 Pedro Alves <palves@redhat.com>
15986
15987 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15988 user.
15989 (top level): Test that "set remote conditional-breakpoints-packet
15990 off" works as intended.
15991 * gdb.base/dprintf.exp: Test that "set remote
15992 breakpoint-commands-packet off" works as intended.
15993 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15994 New function.
15995 (top level): Call it.
15996 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15997 remote fast-tracepoints-packet off" works as intended.
15998 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15999 * lib/gdb.exp (gdb_is_target_remote): ... here.
16000
16001 2014-04-24 David Blaikie <dblaikie@gmail.com>
16002
16003 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16004 ensure clang would not discard them.
16005 * gdb.base/gdbvars.c: Ditto.
16006 * gdb.base/memattr.c: Ditto.
16007 * gdb.base/whatis.c: Ditto.
16008 * gdb.python/py-prettyprint.c: Ditto.
16009 * gdb.trace/actions.c: Ditto.
16010 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16011 ensure clang would not discard it.
16012
16013 2014-04-24 David Blaikie <dblaikie@gmail.com>
16014
16015 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16016 clang to emit the full definition of type required by the test
16017 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16018
16019 2014-04-24 David Blaikie <dblaikie@gmail.com>
16020
16021 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16022 coax Clang into emitting the definition of the type.
16023 * gdb.cp/pr10728-x.h (y): Ditto.
16024 * gdb.cp/pr10728-y.cc (y): Ditto.
16025
16026 2014-04-24 David Blaikie <dblaikie@gmail.com>
16027
16028 * gdb.base/label.exp: XFAIL label related tests under Clang.
16029 * gdb.cp/cplabel.exp: Ditto.
16030 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16031 under Clang those using labels.
16032
16033 2014-04-25 Yao Qi <yao@codesourcery.com>
16034
16035 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16036 double_label.
16037 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16038 partial_label and double_label.
16039
16040 2014-04-24 David Blaikie <dblaikie@gmail.com>
16041
16042 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16043
16044 2014-04-24 David Blaikie <dblaikie@gmail.com>
16045
16046 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16047 of the function to work across GCC and Clang.
16048 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16049 pointer types (const void ** const V void **).
16050
16051 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16052 Walfred Tedeschi <walfred.tedeschi@intel.com>
16053
16054 * Makefile.in (EXECUTABLES): Added i386-avx512.
16055 * gdb.arch/i386-avx512.c: New file.
16056 * gdb.arch/i386-avx512.exp: Likewise.
16057
16058 2014-04-23 Keith Seitz <keiths@redhat.com>
16059
16060 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16061 (mi_make_breakpoint_table): New procedure.
16062 (mi_create_breakpoint): Use mi_make_breakpoint
16063 and return the result.
16064 (mi_make_breakpoint): New procedure.
16065 (mi_build_kv_pairs): New procedure.
16066
16067 * gdb.mi/mi-break.exp: Remove unused globals,
16068 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16069 All callers updated.
16070 * gdb.mi/mi-dprintf.exp: Use variable to track command
16071 number.
16072 Update all callers of mi_create_breakpoint and use
16073 mi_make_breakpoint_table.
16074 Remove any unused global variables.
16075 * gdb.mi/mi-nonstop.exp: Likewise.
16076 * gdb.mi/mi-nsintrall.exp: Likewise.
16077 * gdb.mi/mi-nsmoribund.exp: Likewise.
16078 * gdb.mi/mi-nsthrexec.exp: Likewise.
16079 * gdb.mi/mi-reverse.exp: Likewise.
16080 * gdb.mi/mi-simplerun.exp: Likewise.
16081 * gdb.mi/mi-stepn.exp: Likewise.
16082 * gdb.mi/mi-syn-frame.exp: Likewise.
16083 * gdb.mi/mi-until.exp: Likewise.
16084 * gdb.mi/mi-var-cp.exp: Likewise.
16085 * gdb.mi/mi-var-display.exp: Likewise.
16086 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16087 * gdb.mi/mi2-var-child.exp: Likewise.
16088 * gdb.mi/mi-vla-c99.exp: Likewise.
16089 * lib/mi-support.exp: Likewise.
16090
16091 From Ian Lance Taylor <iant@cygnus.com>:
16092 * lib/gdb.exp (parse_args): New procedure.
16093
16094 2014-04-23 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.base/break-unload-file.c: New file.
16097 * gdb.base/break-unload-file.exp: New file.
16098 * gdb.base/sym-file-lib.c (baz): New function.
16099 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16100 field.
16101 (load): Store the segment's mapped size.
16102 (unload): New function.
16103 (unload_shlib): New function.
16104 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16105 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16106 set a breakpoint at baz, and call it.
16107 * gdb.base/sym-file.exp: New tests for stale breakpoint
16108 instructions.
16109
16110 2014-04-23 Pedro Alves <palves@redhat.com>
16111
16112 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16113 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16114 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16115 * gdb.base/hbreak-unmapped.c: New file.
16116 * gdb.base/hbreak-unmapped.exp: New file.
16117 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16118 * lib/gdb.exp (gdb_is_target_remote): ... here.
16119
16120 2014-04-22 Pedro Alves <palves@redhat.com>
16121
16122 * gdb.base/consecutive-step-over.c: New file.
16123 * gdb.base/consecutive-step-over.exp: New file.
16124
16125 2014-04-22 Pedro Alves <palves@redhat.com>
16126
16127 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16128 instead of send_gdb/gdb_expect.
16129
16130 2014-04-22 Yao Qi <yao@codesourcery.com>
16131
16132 * lib/trace-support.exp (generate_tracefile): New procedure.
16133 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16134 return 0.
16135 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16136 if generate_tracefile returns 1.
16137
16138 2014-04-18 Tom Tromey <palves@redhat.com>
16139 Pedro alves <tromey@redhat.com>
16140
16141 PR backtrace/15558
16142 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16143 with a backtrace limit.
16144 * gdb.python/py-frame-inline.exp: Test running to an inline
16145 function with a backtrace limit, and printing the newest frame.
16146 * gdb.python/py-frame-inline.c (main): Call f.
16147
16148 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16149
16150 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16151
16152 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16153
16154 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16155 Drop prefix from unsupported source file path.
16156
16157 2014-04-17 Yao Qi <yao@codesourcery.com>
16158
16159 * lib/gdb.exp (with_target_charset): New proc.
16160 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16161 with_target_charset.
16162 (test_print_strings): Likewise.
16163 (test_repeat_bytes): Likewise.
16164 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16165 for some tests.
16166
16167 2014-04-16 Keith Seitz <keiths@redhat.com>
16168
16169 PR gdb/15827
16170 * gdb.dwarf2/corrupt.c: New file.
16171 * gdb.dwarf2/corrupt.exp: New file.
16172
16173 2014-04-16 Keith Seitz <keiths@redhat.com>
16174
16175 PR c++/16597
16176 * gdb.cp/namelessclass.cc: New file.
16177 * gdb.cp/namelessclass.exp: New file.
16178 * gdb.cp/namelessclass.S: New file.
16179
16180 2014-04-16 Doug Evans <dje@google.com>
16181
16182 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16183 Add comment.
16184 (gdbserver_default_get_comm_port): New function.
16185 (gdbserver_start): Check if board file provided
16186 "gdbserver,get_comm_port" and use it if so.
16187 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16188 (gdb,socketport): Set to "stdio".
16189 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16190 (stdio_gdbserver_template): Delete.
16191 (${board}_get_remote_address): Update.
16192 (${board}_build_remote_cmd): Delete.
16193 (${board}_get_comm_port): New function.
16194 (${board}_spawn): Update.
16195 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16196 Delete.
16197 (${board}_get_remote_address): Update.
16198 (${board}_get_comm_port): New function.
16199
16200 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16201
16202 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16203 appearing in any order.
16204
16205 2014-04-15 Doug Evans <dje@google.com>
16206
16207 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16208 uninitialized value of "description".
16209
16210 2014-04-15 Keith Seitz <keiths@redhat.com>
16211
16212 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16213 Remove unused globals.
16214 (test_running_the_program): Likewise.
16215 (test_controlled_execution): Likewise.
16216 (test_controlling_breakpoints): Likewise.
16217 (test_program_termination): Likewise.
16218
16219 2014-04-15 Keith Seitz <keiths@redhat.com>
16220
16221 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16222 unused globals.
16223 (test_rbreak_creation_and_listing): Likewise.
16224 (test_ignore_count): Likewise.
16225 (test_error): Likewise.
16226
16227 2014-04-15 Pedro Alves <palves@redhat.com>
16228
16229 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16230 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16231 sym-file-loader.c.
16232 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16233 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16234 to sym-file-loader.c.
16235 (struct library): Forward declare.
16236 (load_shlib, lookup_function): Change prototypes.
16237 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16238 (translate_offset): Remove declarations.
16239 (get_text_addr): New declaration.
16240 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16241 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16242 sym-file-loader.h.
16243 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16244 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16245 here from sym-file-loader.h.
16246 (struct library): New structure.
16247 (load_shlib, lookup_function): Change prototypes and adjust to
16248 work with a struct library.
16249 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16250 (translate_offset): Make static.
16251 (get_text_addr): New function.
16252 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16253
16254 2014-04-15 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16257
16258 2014-04-15 Pedro Alves <palves@redhat.com>
16259
16260 * gdb.base/sym-file-loader.c: Include <limits.h>.
16261 (SELF_LINK): New define.
16262 (get_origin): New function.
16263 (load_shlib): Use it.
16264 * gdb.base/sym-file.exp: Don't early return if the target is
16265 remote. Use runto_main, and issue fail is that fails. Use
16266 gdb_load_shlibs.
16267 (shlib_name): Delete.
16268 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16269
16270 2014-04-15 Pedro Alves <palves@redhat.com>
16271
16272 * gdb.base/sym-file.exp: Remove regex characters from test
16273 message. Don't refer to breakpoint numbers in test messages.
16274
16275 2014-04-14 Keith Seitz <keiths@redhat.com>
16276
16277 PR c++/16253
16278 * gdb.cp/var-tag.cc: New file.
16279 * gdb.cp/var-tag.exp: New file.
16280 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16281 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16282 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16283 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16284
16285 2014-04-14 Tom Tromey <tromey@redhat.com>
16286
16287 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16288 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16289 type.
16290 * gdb.cp/enum-class.exp: New file.
16291 * gdb.cp/enum-class.cc: New file.
16292
16293 2014-04-14 Tom Tromey <tromey@redhat.com>
16294
16295 * gdb.dwarf2/enum-type.exp: New file.
16296
16297 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16298
16299 * gdb.mi/mi-vla-c99.exp: New file.
16300 * gdb.mi/vla.c: New file.
16301
16302 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16303
16304 * gdb.base/vla-datatypes.c: New file.
16305 * gdb.base/vla-datatypes.exp: New file.
16306
16307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16308
16309 * gdb.base/vla-ptr.c: New file.
16310 * gdb.base/vla-ptr.exp: New file.
16311
16312 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16313
16314 * gdb.dwarf2/count.exp: New file.
16315
16316 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16317
16318 * gdb.base/vla-sideeffect.c: New file.
16319 * gdb.base/vla-sideeffect.exp: New file.
16320
16321 2014-04-14 David Blaikie <dblaikie@gmail.com>
16322
16323 * gdb.mi/non-stop.c: Add return value for non-void function return
16324 statement.
16325 * gdb.threads/staticthreads.c: Ditto.
16326
16327 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16328 Doug Evans <xdje42@gmail.com>
16329
16330 * gdb.guile/scm-value.c: Improve test case.
16331 * gdb.guile/scm-value.exp: Add new test.
16332
16333 2014-04-11 David Blaikie <dblaikie@gmail.com>
16334
16335 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16336 override Clang's default.
16337
16338 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16339
16340 Revert the following changes (regressions):
16341
16342 * gdb.base/vla-sideeffect.c: New file.
16343 * gdb.base/vla-sideeffect.exp: New file.
16344
16345 * gdb.dwarf2/count.exp: New file.
16346
16347 * gdb.base/vla-multi.c: New file.
16348 * gdb.base/vla-multi.exp: New file.
16349
16350 * gdb.base/vla-ptr.c: New file.
16351 * gdb.base/vla-ptr.exp: New file.
16352
16353 * gdb.base/vla-datatypes.c: New file.
16354 * gdb.base/vla-datatypes.exp: New file.
16355
16356 * gdb.mi/mi-vla-c99.exp: New file.
16357 * gdb.mi/vla.c: New file.
16358
16359 2014-04-11 Keith Seitz <keiths@redhat.com>
16360
16361 PR c++/16675
16362 * gdb.cp/cpsizeof.exp: New file.
16363 * gdb.cp/cpsizeof.cc: New file.
16364
16365 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16366
16367 * gdb.mi/mi-vla-c99.exp: New file.
16368 * gdb.mi/vla.c: New file.
16369
16370 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16371
16372 * gdb.base/vla-datatypes.c: New file.
16373 * gdb.base/vla-datatypes.exp: New file.
16374
16375 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16376
16377 * gdb.base/vla-ptr.c: New file.
16378 * gdb.base/vla-ptr.exp: New file.
16379
16380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16381
16382 * gdb.base/vla-multi.c: New file.
16383 * gdb.base/vla-multi.exp: New file.
16384
16385 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16386
16387 * gdb.dwarf2/count.exp: New file.
16388
16389 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16390
16391 * gdb.base/vla-sideeffect.c: New file.
16392 * gdb.base/vla-sideeffect.exp: New file.
16393
16394 2014-04-11 Yao Qi <yao@codesourcery.com>
16395
16396 * gdb.base/completion.exp: Check file exists before running tests
16397 on file completion.
16398
16399 2014-04-10 Pedro Alves <palves@redhat.com>
16400
16401 * gdb.base/cond-eval-mode.c: New file.
16402 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16403 prepare_for_testing to build the new file. Check result of
16404 runto_main.
16405 (test_break, test_watch): New procedures.
16406 (top level): Use them.
16407
16408 2014-04-08 Pierre Muller <muller@sourceware.org>
16409
16410 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16411 Ctrl-V use for mingw hosts.
16412
16413 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16414
16415 * gdb.python/py-value.c: Improve test case.
16416 * gdb.python/py-value.exp: Add new test.
16417
16418 2014-04-07 David Blaikie <dblaikie@gmail.com>
16419
16420 * lib/compiler.c: Identify the clang compiler.
16421 * lib/compiler.cc: Ditto.
16422
16423 2014-04-03 Yao Qi <yao@codesourcery.com>
16424
16425 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16426
16427 2014-04-01 Anton Blanchard <anton@samba.org>
16428
16429 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16430 messages unique.
16431
16432 2014-04-01 Anton Blanchard <anton@samba.org>
16433
16434 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16435 prepare_for_testing.
16436
16437 2014-04-01 Anton Blanchard <anton@samba.org>
16438
16439 * gdb.arch/ppc64-atomic-inst.c: Remove.
16440 * gdb.arch/ppc64-atomic-inst.S: New file.
16441 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16442
16443 2014-03-31 Doug Evans <dje@google.com>
16444
16445 * gdb.base/print-symbol-loading-lib.c: New file.
16446 * gdb.base/print-symbol-loading-main.c: New file.
16447 * gdb.base/print-symbol-loading.exp: New file.
16448
16449 2014-03-31 Yao Qi <yao@codesourcery.com>
16450
16451 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16452
16453 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16454
16455 * gdb.ada/mi_dyn_arr: New testcase.
16456
16457 2014-03-27 Doug Evans <dje@google.com>
16458
16459 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16460
16461 2014-03-27 Yao Qi <yao@codesourcery.com>
16462
16463 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16464 if target is nios2-*-*.
16465
16466 2014-03-26 Yao Qi <yao@codesourcery.com>
16467
16468 * lib/gdb.exp (readline_is_used): New proc.
16469 * gdb.base/completion.exp: Move tests on command complete up.
16470 Skip the rest of tests if readline is not used.
16471 * gdb.ada/complete.exp: Skp the test if readline is not
16472 used.
16473 * gdb.base/filesym.exp: Likewise.
16474 * gdb.base/macscp.exp: Likewise.
16475 * gdb.base/readline-ask.exp: Likewise.
16476 * gdb.base/readline.exp: Likewise.
16477 * gdb.python/py-cmd.exp: Likewise.
16478 * gdb.trace/tfile.exp: Likewise.
16479
16480 2014-03-26 Yao Qi <yao@codesourcery.com>
16481
16482 * gdb.base/macscp.exp: Fix code format issues.
16483
16484 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16485
16486 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16487 * gdb.asm/powerpc64le.inc: New file.
16488
16489 2014-03-25 Pedro Alves <palves@redhat.com>
16490 Doug Evans <dje@google.com>
16491
16492 * gdb.base/source-execution.c: New file.
16493 * gdb.base/source-execution.exp: New file.
16494 * gdb.base/source-execution.gdb: New file.
16495
16496 2014-03-24 Doug Evans <dje@google.com>
16497
16498 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16499 using fission.
16500
16501 2014-03-24 Hui Zhu <hui@codesourcery.com>
16502 Pedro Alves <palves@redhat.com>
16503
16504 PR breakpoints/16101
16505 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16506 test pass/fail messages. Detect missing support for dprintf when
16507 breakpoints are actually inserted.
16508 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16509 breakpoints are actually inserted.
16510 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16511 fails.
16512
16513 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16514
16515 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16516
16517 2014-03-22 Doug Evans <xdje42@gmail.com>
16518
16519 * gdb.python/python.exp (python not supported): Verify multi-line
16520 python command issues an error.
16521 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16522 guile command issues an error.
16523
16524 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16525
16526 * gdb.threads/thread-specific.exp: Handle the lack of usable
16527 $this_breakpoint and $this_thread.
16528
16529 2014-03-21 Hui Zhu <hui@codesourcery.com>
16530
16531 * gdb.base/attach.exp (do_command_attach_tests): New.
16532
16533 2014-03-20 Tom Tromey <tromey@redhat.com>
16534 Pedro Alves <palves@redhat.com>
16535
16536 PR cli/15718
16537 * gdb.base/condbreak-call-false.c: New file.
16538 * gdb.base/condbreak-call-false.exp: New file.
16539
16540 2014-03-20 Pedro Alves <palves@redhat.com>
16541
16542 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16543 Delete.
16544 (block_signals, unblock_signals): Delete.
16545 (child_function_2, main): Remove references to deleted variable
16546 and functions.
16547
16548 2014-03-20 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16551 Use pthread_kill to signal thread 2.
16552 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16553 Adjust to make the test send itself a signal rather than using the
16554 host's "kill" command.
16555
16556 2014-03-20 Pedro Alves <palves@redhat.com>
16557
16558 * gdb.threads/multiple-step-overs.c: New file.
16559 * gdb.threads/multiple-step-overs.exp: New file.
16560 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16561 Adjust expected infrun debug output.
16562
16563 2014-03-20 Pedro Alves <palves@redhat.com>
16564
16565 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16566 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16567
16568 2014-03-20 Pedro Alves <palves@redhat.com>
16569
16570 PR breakpoints/7143
16571 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16572 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16573 of gdb_test_multiple.
16574 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16575 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16576
16577 2014-03-20 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16580 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16581
16582 2014-03-19 Pedro Alves <palves@redhat.com>
16583
16584 * gdb.base/async.exp: Remove early return.
16585
16586 2014-03-19 Pedro Alves <palves@redhat.com>
16587
16588 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16589
16590 2014-03-19 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.base/async.exp (test_background): Expect \r\n after
16593 "completed." in the fail pattern.
16594
16595 2014-03-19 Pedro Alves <palves@redhat.com>
16596
16597 * gdb.base/async.exp (test_background): New procedure.
16598 Use it for all background execution command tests.
16599
16600 2014-03-19 Pedro Alves <palves@redhat.com>
16601
16602 * gdb.base/async.exp: Use prepare_for_testing.
16603
16604 2014-03-19 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16607 the same line.
16608
16609 2014-03-19 Pedro Alves <palves@redhat.com>
16610
16611 * gdb.base/async.c (main): Add "jump here" and "until here" line
16612 marker comments.
16613 * gdb.base/async.exp (jump_here): New global.
16614 (jump& test): Use it.
16615 (until_here): New global.
16616 (until& test): Use it.
16617
16618 2014-03-19 Pedro Alves <palves@redhat.com>
16619
16620 * gdb.base/async.exp: Don't frob gdb_protocol.
16621
16622 2014-03-18 Doug Evans <xdje42@gmail.com>
16623
16624 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16625 Fix spelling of exec-done-display.
16626
16627 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16628
16629 PR gdb/15358
16630 * gdb.base/gdb-sigterm.c: New file.
16631 * gdb.base/gdb-sigterm.exp: New file.
16632
16633 2014-03-18 Pedro Alves <palves@redhat.com>
16634
16635 PR gdb/13860
16636 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16637 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16638 solib-event.
16639
16640 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16641
16642 * gdb.ada/pckd_arr_ren: New testcase.
16643
16644 2014-03-13 Doug Evans <xdje42@gmail.com>
16645
16646 PR guile/16612
16647 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16648 collect after discarding symbols.
16649
16650 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16651 Doug Evans <xdje42@gmail.com>
16652
16653 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16654 to history survives a gc.
16655
16656 2014-03-13 Pedro Alves <palves@redhat.com>
16657
16658 * gdb.base/default.exp: Don't test "target procfs".
16659
16660 2014-03-13 Pedro Alves <palves@redhat.com>
16661
16662 * gdb.base/default.exp: Update "target child" and "target procfs"
16663 tests to not expect "Unix".
16664
16665 2014-03-12 Tom Tromey <tromey@redhat.com>
16666
16667 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16668 New procs. Add target-async tests.
16669 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16670 Add target-async tests.
16671
16672 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16673
16674 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16675 'func_start' and 'func_end' for the beginning and end of the
16676 function code, respectively.
16677 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16678 'func_end' instead of 'func' and 'main'.
16679
16680 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16681
16682 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16683 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16684 generate the debug info assembler source.
16685
16686 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16687
16688 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16689 * gdb.dwarf2/arr-subrange.exp: Likewise.
16690 * gdb.dwarf2/dwz.exp: Likewise.
16691 * gdb.dwarf2/method-ptr.exp: Likewise.
16692 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16693 * gdb.dwarf2/subrange.exp: Likewise.
16694 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16695 * gdb.dwarf2/implptrpiece.exp: Likewise.
16696 * gdb.dwarf2/nostaticblock.exp: Likewise.
16697
16698 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16699
16700 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16701 directory to absolute path name arguments.
16702
16703 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16704
16705 * gdb.ada/tagged_access: New testcase.
16706
16707 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16708
16709 * gdb.btrace/data.exp: Update expected output.
16710
16711 2014-03-06 Yao Qi <yao@codesourcery.com>
16712
16713 * gdb.trace/pr16508.exp: New file.
16714
16715 2014-03-05 Pedro Alves <palves@redhat.com>
16716
16717 PR gdb/16575
16718 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16719 procedure.
16720 (top level): Adjust to use it. Add tests that exercise breakpoint
16721 interaction with the code-cache.
16722
16723 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16724
16725 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16726 test for 'history-append!'.
16727
16728 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16729
16730 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16731 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16732 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16733 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16734 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16735 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16736
16737 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16738
16739 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16740 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16741 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16742
16743 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16744
16745 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16746
16747 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16748
16749 * gdb.dwarf2/arr-stride.c: New file.
16750 * gdb.dwarf2/arr-stride.exp: New file.
16751
16752 2014-02-26 Pedro Alves <palves@redhat.com>
16753
16754 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16755 that won't ever trigger. Make sure that GDB reports the correct
16756 breakpoint that caused the stop.
16757
16758 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16759
16760 PR gdb/16626
16761 * gdb.base/auto-load-script: New file.
16762 * gdb.base/auto-load.c: New file.
16763 * gdb.base/auto-load.exp: New file.
16764
16765 PR gdb/16626
16766 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16767
16768 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16769
16770 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16771 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16772
16773 2014-02-24 Doug Evans <dje@google.com>
16774
16775 * lib/gdb.exp (run_on_host): Log error output if program fails.
16776
16777 2014-02-21 Pedro Alves <palves@redhat.com>
16778
16779 * gdb.threads/step-after-sr-lock.c: Rename to ...
16780 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16781 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16782 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16783 ... this.
16784
16785 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16786
16787 PR tdep/16397
16788 * gdb.arch/amd64-stap-special-operands.exp: New file.
16789 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16790 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16791 * gdb.arch/amd64-stap-triplet.S: Likewise.
16792 * gdb.arch/amd64-stap-triplet.c: Likewise.
16793
16794 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16795
16796 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16797 in .section pseudo-op.
16798
16799 2014-02-20 lin zuojian <manjian2006@gmail.com>
16800 Joel Brobecker <brobecker@adacore.com>
16801 Doug Evans <xdje42@gmail.com>
16802
16803 PR symtab/16581
16804 * gdb.dwarf2/dw2-icycle.S: New file.
16805 * gdb.dwarf2/dw2-icycle.c: New file.
16806 * gdb.dwarf2/dw2-icycle.exp: New file.
16807
16808 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16809
16810 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16811 operations on gdb.Value objects.
16812 * gdb.python/py-value-cc.exp: Add new test to test operations on
16813 gdb.Value objects.
16814
16815 2014-02-18 Doug Evans <dje@google.com>
16816
16817 * Makefile.in (TESTS): New variable.
16818 (expanded_tests, expanded_tests_or_none): New variables
16819 (check-single): Pass $(expanded_tests_or_none) to runtest.
16820 (check-parallel): Only run tests in $(TESTS) if non-empty.
16821 (check/no-matching-tests-found): New rule.
16822 * README: Document TESTS makefile variable.
16823
16824 2014-02-18 Doug Evans <dje@google.com>
16825
16826 * Makefile.in (check-parallel): rm -rf outputs temp.
16827
16828 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16829
16830 Fix "ERROR: no fileid for" in the testsuite.
16831 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16832
16833 2014-02-12 Doug Evans <dje@google.com>
16834
16835 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16836 (MISCELLANEOUS): New variable.
16837 (clean): rm -rf $(MISCELLANEOUS).
16838 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16839 dwp live in the same directory as symlinks, with each symlink pointed
16840 to a differently named file in a different directory.
16841
16842 2014-02-11 Doug Evans <dje@google.com>
16843
16844 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16845 of Tcl file commands.
16846
16847 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16848
16849 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16850 "kill -SIGUSR1 -1".
16851
16852 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16853
16854 * gdb.ada/tick_length_array_enum_idx: New testcase.
16855
16856 2014-02-10 Doug Evans <xdje42@gmail.com>
16857
16858 * configure.ac (AC_OUTPUT): Add gdb.guile.
16859 * configure: Regenerate.
16860 * lib/gdb-guile.exp: New file.
16861 * lib/gdb.exp (get_target_charset): New function.
16862 * gdb.base/help.exp: Update expected output from "apropos apropos".
16863 * gdb.guile/Makefile.in: New file.
16864 * gdb.guile/guile.exp: New file.
16865 * gdb.guile/scm-arch.c: New file.
16866 * gdb.guile/scm-arch.exp: New file.
16867 * gdb.guile/scm-block.c: New file.
16868 * gdb.guile/scm-block.exp: New file.
16869 * gdb.guile/scm-breakpoint.c: New file.
16870 * gdb.guile/scm-breakpoint.exp: New file.
16871 * gdb.guile/scm-disasm.c: New file.
16872 * gdb.guile/scm-disasm.exp: New file.
16873 * gdb.guile/scm-equal.c: New file.
16874 * gdb.guile/scm-equal.exp: New file.
16875 * gdb.guile/scm-error.exp: New file.
16876 * gdb.guile/scm-error.scm: New file.
16877 * gdb.guile/scm-frame-args.c: New file.
16878 * gdb.guile/scm-frame-args.exp: New file.
16879 * gdb.guile/scm-frame-args.scm: New file.
16880 * gdb.guile/scm-frame-inline.c: New file.
16881 * gdb.guile/scm-frame-inline.exp: New file.
16882 * gdb.guile/scm-frame.c: New file.
16883 * gdb.guile/scm-frame.exp: New file.
16884 * gdb.guile/scm-generics.exp: New file.
16885 * gdb.guile/scm-gsmob.exp: New file.
16886 * gdb.guile/scm-iterator.c: New file.
16887 * gdb.guile/scm-iterator.exp: New file.
16888 * gdb.guile/scm-math.c: New file.
16889 * gdb.guile/scm-math.exp: New file.
16890 * gdb.guile/scm-objfile-script-gdb.in: New file.
16891 * gdb.guile/scm-objfile-script.c: New file.
16892 * gdb.guile/scm-objfile-script.exp: New file.
16893 * gdb.guile/scm-objfile.c: New file.
16894 * gdb.guile/scm-objfile.exp: New file.
16895 * gdb.guile/scm-ports.exp: New file.
16896 * gdb.guile/scm-pretty-print.c: New file.
16897 * gdb.guile/scm-pretty-print.exp: New file.
16898 * gdb.guile/scm-pretty-print.scm: New file.
16899 * gdb.guile/scm-section-script.c: New file.
16900 * gdb.guile/scm-section-script.exp: New file.
16901 * gdb.guile/scm-section-script.scm: New file.
16902 * gdb.guile/scm-symbol.c: New file.
16903 * gdb.guile/scm-symbol.exp: New file.
16904 * gdb.guile/scm-symtab-2.c: New file.
16905 * gdb.guile/scm-symtab.c: New file.
16906 * gdb.guile/scm-symtab.exp: New file.
16907 * gdb.guile/scm-type.c: New file.
16908 * gdb.guile/scm-type.exp: New file.
16909 * gdb.guile/scm-value-cc.cc: New file.
16910 * gdb.guile/scm-value-cc.exp: New file.
16911 * gdb.guile/scm-value.c: New file.
16912 * gdb.guile/scm-value.exp: New file.
16913 * gdb.guile/source2.scm: New file.
16914 * gdb.guile/types-module.cc: New file.
16915 * gdb.guile/types-module.exp: New file.
16916
16917 2014-02-10 Yao Qi <yao@codesourcery.com>
16918
16919 PR testsuite/16543
16920 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16921 * configure: Regenerated.
16922 * Makefile.in: New file.
16923
16924 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16925
16926 * gdb.python/py-framefilter.exp: Fix typo.
16927
16928 2014-02-08 Yao Qi <yao@codesourcery.com>
16929
16930 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16931 that no =breakpoint-modified is emitted when breakpoints are
16932 modified through MI commands.
16933
16934 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16935 Pedro Alves <palves@redhat.com>
16936
16937 * gdb.threads/step-after-sr-lock.c: New file.
16938 * gdb.threads/step-after-sr-lock.exp: New file.
16939
16940 2014-02-07 Pedro Alves <palves@redhat.com>
16941
16942 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16943
16944 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16945
16946 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16947 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16948
16949 2014-02-06 Doug Evans <xdje42@gmail.com>
16950
16951 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16952 output.
16953
16954 * gdb.gdb/python-interrupts.exp: New file.
16955
16956 2014-02-05 Yao Qi <yao@codesourcery.com>
16957
16958 * gdb.trace/report.exp (use_collected_data): Test the output
16959 of "info threads" and "info inferiors".
16960
16961 2014-02-05 Yao Qi <yao@codesourcery.com>
16962
16963 Revert this patch:
16964
16965 2013-05-24 Yao Qi <yao@codesourcery.com>
16966
16967 * gdb.trace/tfile.exp: Test inferior and thread.
16968
16969 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16970
16971 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16972 on a function.
16973 * gdb.base/step-bt.c: Call hello via function pointer to make
16974 sure its first instruction is executed on powerpc64le-linux.
16975
16976 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16977
16978 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16979
16980 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16981
16982 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16983 of the test patterns for use on little-endian systems.
16984
16985 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16986
16987 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16988 (decimal_vector): Fix for little-endian.
16989
16990 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16991
16992 * gdb.arch/sparc-sysstep.exp: New file.
16993 * gdb.arch/sparc-sysstep.c: Likewise.
16994
16995 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16996
16997 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16998
16999 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17000
17001 2014-01-23 Tom Tromey <tromey@redhat.com>
17002
17003 * gdb.ada/array_char_idx: New testcase.
17004
17005 2014-01-23 Tom Tromey <tromey@redhat.com>
17006
17007 PR python/16487:
17008 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17009 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17010 classes.
17011
17012 2014-01-23 Tom Tromey <tromey@redhat.com>
17013
17014 PR python/16491:
17015 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17016 string from an inferior frame.
17017 * gdb.python/py-framefilter-mi.exp: Update.
17018
17019 2014-01-22 Doug Evans <dje@google.com>
17020
17021 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17022
17023 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17024
17025 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17026
17027 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17028
17029 * gdb.trace/entry-values.exp: Remove excess space character from
17030 regex patterns. Handle s390 call instruction.
17031
17032 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17033
17034 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17035 define "*_start" label. Make "name" static.
17036 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17037 ${name} by references to ${name}_start.
17038
17039 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17040
17041 * gdb.base/info-macros.exp: Remove "debug" from the compile
17042 options.
17043
17044 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17045
17046 * gdb.dlang/demangle.exp: New file.
17047
17048 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17049
17050 * gdb.dlang/primitive-types.exp: New file.
17051
17052 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17053
17054 * configure.ac: Create gdb.dlang/Makefile.
17055 * configure: Regenerate.
17056 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17057 * gdb.dlang/Makefile.in: New file.
17058 * lib/d-support.exp: New file.
17059 * lib/gdb.exp (skip_d_tests): New proc.
17060
17061 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17062
17063 * gdb.btrace/delta.exp: Check reverse stepi.
17064 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17065 * gdb.btrace/finish.exp: New.
17066 * gdb.btrace/next.exp: New.
17067 * gdb.btrace/nexti.exp: New.
17068 * gdb.btrace/record_goto.c: Add comments.
17069 * gdb.btrace/step.exp: New.
17070 * gdb.btrace/stepi.exp: New.
17071 * gdb.btrace/multi-thread-step.c: New.
17072 * gdb.btrace/multi-thread-step.exp: New.
17073 * gdb.btrace/rn-dl-bind.c: New.
17074 * gdb.btrace/rn-dl-bind.exp: New.
17075 * gdb.btrace/data.c: New.
17076 * gdb.btrace/data.exp: New.
17077 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17078
17079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17080
17081 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17082 * gdb.btrace/exception.exp: Update.
17083 * gdb.btrace/instruction_history.exp: Update.
17084 * gdb.btrace/record_goto.exp: Update.
17085 * gdb.btrace/tailcall.exp: Update.
17086 * gdb.btrace/unknown_functions.exp: Update.
17087 * gdb.btrace/delta.exp: New.
17088
17089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17090
17091 * gdb.btrace/record_goto.exp: Add backtrace test.
17092 * gdb.btrace/tailcall.exp: Add backtrace test.
17093
17094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17095
17096 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17097 * gdb.btrace/record_goto.c: New.
17098 * gdb.btrace/record_goto.exp: New.
17099 * gdb.btrace/x86-record_goto.S: New.
17100
17101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17102
17103 * gdb.btrace/function_call_history.exp: Update tests.
17104 * gdb.btrace/instruction_history.exp: Update tests.
17105
17106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17107
17108 * gdb.btrace/function_call_history.exp: Fix expected field
17109 order for "record function-call-history".
17110 Add new tests for "record function-call-history /c".
17111 * gdb.btrace/exception.cc: New.
17112 * gdb.btrace/exception.exp: New.
17113 * gdb.btrace/tailcall.exp: New.
17114 * gdb.btrace/x86-tailcall.S: New.
17115 * gdb.btrace/x86-tailcall.c: New.
17116 * gdb.btrace/unknown_functions.c: New.
17117 * gdb.btrace/unknown_functions.exp: New.
17118 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17119
17120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17121
17122 * gdb.btrace/instruction_history.exp: Update.
17123 * gdb.btrace/function_call_history.exp: Update.
17124
17125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17126
17127 * gdb.btrace/function_call_history.exp: Fix expected function
17128 trace.
17129 * gdb.btrace/instruction_history.exp: Initialize traced.
17130 Remove traced_functions.
17131
17132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17133
17134 * gdb.btrace/function_call_history.exp: Update
17135 * gdb.btrace/instruction_history.exp: Update.
17136
17137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17138
17139 * gdb.btrace/enable.exp: Update expected text.
17140
17141 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17142
17143 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17144 bytes.
17145
17146 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17147
17148 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17149
17150 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17151
17152 * lib/gdb.exp (supports_process_record): Return true for
17153 arm*-linux*. (supports_reverse): Likewise.
17154
17155 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17156
17157 PR python/15464
17158 PR python/16113
17159 * gdb.python/py-type.c: Enhance test case.
17160 * gdb.python/py-value-cc.cc: Likewise
17161 * gdb.python/py-type.exp: Add new tests.
17162 * gdb.python/py-value-cc.exp: Likewise
17163
17164 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17165 Pedro Alves <palves@redhat.com>
17166
17167 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17168 Make "name" extern.
17169 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17170 references to ${name}_start by references to ${name}.
17171
17172 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17173
17174 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17175
17176 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17177
17178 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17179
17180 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17181 Pedro Alves <palves@redhat.com>
17182
17183 * gdb.mi/mi-info-os.exp: Connect to the target with
17184 mi_gdb_target_load.
17185
17186 2014-01-08 Pedro Alves <palves@redhat.com>
17187
17188 * gdb.threads/reconnect-signal.c: New file.
17189 * gdb.threads/reconnect-signal.exp: New file.
17190
17191 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17192
17193 * gdb.base/source-dir.exp: New file.
17194
17195 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17196
17197 * gdb.ada/mi_interface: New testcase.
17198
17199 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17200
17201 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17202 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17203 gdb.ada/pp-rec-component/pck.ads: New files.
17204
17205 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17206
17207 * gdb.python/py-pp-integral.c: New file.
17208 * gdb.python/py-pp-integral.py: New file.
17209 * gdb.python/py-pp-integral.exp: New file.
17210
17211 For older changes see ChangeLog-1993-2013.
17212 \f
17213 ;; Local Variables:
17214 ;; mode: change-log
17215 ;; left-margin: 8
17216 ;; fill-column: 74
17217 ;; version-control: never
17218 ;; End:
17219
17220 Copyright 2014-2019 Free Software Foundation, Inc.
17221 Copying and distribution of this file, with or without modification,
17222 are permitted provided the copyright notice and this notice are preserved.
This page took 0.456864 seconds and 4 git commands to generate.